Skip to content

Type definitions#

Index > MediaTailor > Type definitions

Auto-generated documentation for MediaTailor type annotations stubs module mypy-boto3-mediatailor.

TimestampTypeDef#

# TimestampTypeDef definition

TimestampTypeDef = Union[
    datetime,
    str,
]

SecretsManagerAccessTokenConfigurationTypeDef#

# SecretsManagerAccessTokenConfigurationTypeDef definition

class SecretsManagerAccessTokenConfigurationTypeDef(TypedDict):
    HeaderName: NotRequired[str],
    SecretArn: NotRequired[str],
    SecretStringKey: NotRequired[str],

AdBreakOpportunityTypeDef#

# AdBreakOpportunityTypeDef definition

class AdBreakOpportunityTypeDef(TypedDict):
    OffsetMillis: int,

KeyValuePairTypeDef#

# KeyValuePairTypeDef definition

class KeyValuePairTypeDef(TypedDict):
    Key: str,
    Value: str,

SlateSourceTypeDef#

# SlateSourceTypeDef definition

class SlateSourceTypeDef(TypedDict):
    SourceLocationName: NotRequired[str],
    VodSourceName: NotRequired[str],

SpliceInsertMessageTypeDef#

# SpliceInsertMessageTypeDef definition

class SpliceInsertMessageTypeDef(TypedDict):
    AvailNum: NotRequired[int],
    AvailsExpected: NotRequired[int],
    SpliceEventId: NotRequired[int],
    UniqueProgramId: NotRequired[int],

AdMarkerPassthroughTypeDef#

# AdMarkerPassthroughTypeDef definition

class AdMarkerPassthroughTypeDef(TypedDict):
    Enabled: NotRequired[bool],

AlertTypeDef#

# AlertTypeDef definition

class AlertTypeDef(TypedDict):
    AlertCode: str,
    AlertMessage: str,
    LastModifiedTime: datetime,
    RelatedResourceArns: List[str],
    ResourceArn: str,
    Category: NotRequired[AlertCategoryType],  # (1)
  1. See AlertCategoryType

ClipRangeTypeDef#

# ClipRangeTypeDef definition

class ClipRangeTypeDef(TypedDict):
    EndOffsetMillis: NotRequired[int],
    StartOffsetMillis: NotRequired[int],

AvailMatchingCriteriaTypeDef#

# AvailMatchingCriteriaTypeDef definition

class AvailMatchingCriteriaTypeDef(TypedDict):
    DynamicVariable: str,
    Operator: OperatorType,  # (1)
  1. See OperatorType

AvailSuppressionTypeDef#

# AvailSuppressionTypeDef definition

class AvailSuppressionTypeDef(TypedDict):
    FillPolicy: NotRequired[FillPolicyType],  # (1)
    Mode: NotRequired[ModeType],  # (2)
    Value: NotRequired[str],
  1. See FillPolicyType
  2. See ModeType

BumperTypeDef#

# BumperTypeDef definition

class BumperTypeDef(TypedDict):
    EndUrl: NotRequired[str],
    StartUrl: NotRequired[str],

CdnConfigurationTypeDef#

# CdnConfigurationTypeDef definition

class CdnConfigurationTypeDef(TypedDict):
    AdSegmentUrlPrefix: NotRequired[str],
    ContentSegmentUrlPrefix: NotRequired[str],

LogConfigurationForChannelTypeDef#

# LogConfigurationForChannelTypeDef definition

class LogConfigurationForChannelTypeDef(TypedDict):
    LogTypes: NotRequired[List[LogTypeType]],  # (1)
  1. See LogTypeType

ConfigureLogsForChannelRequestRequestTypeDef#

# ConfigureLogsForChannelRequestRequestTypeDef definition

class ConfigureLogsForChannelRequestRequestTypeDef(TypedDict):
    ChannelName: str,
    LogTypes: Sequence[LogTypeType],  # (1)
  1. See LogTypeType

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,
    HostId: NotRequired[str],

ConfigureLogsForPlaybackConfigurationRequestRequestTypeDef#

# ConfigureLogsForPlaybackConfigurationRequestRequestTypeDef definition

class ConfigureLogsForPlaybackConfigurationRequestRequestTypeDef(TypedDict):
    PercentEnabled: int,
    PlaybackConfigurationName: str,

TimeShiftConfigurationTypeDef#

# TimeShiftConfigurationTypeDef definition

class TimeShiftConfigurationTypeDef(TypedDict):
    MaxTimeDelaySeconds: int,

HttpPackageConfigurationTypeDef#

# HttpPackageConfigurationTypeDef definition

class HttpPackageConfigurationTypeDef(TypedDict):
    Path: str,
    SourceGroup: str,
    Type: TypeType,  # (1)
  1. See TypeType

DefaultSegmentDeliveryConfigurationTypeDef#

# DefaultSegmentDeliveryConfigurationTypeDef definition

class DefaultSegmentDeliveryConfigurationTypeDef(TypedDict):
    BaseUrl: NotRequired[str],

HttpConfigurationTypeDef#

# HttpConfigurationTypeDef definition

class HttpConfigurationTypeDef(TypedDict):
    BaseUrl: str,

SegmentDeliveryConfigurationTypeDef#

# SegmentDeliveryConfigurationTypeDef definition

class SegmentDeliveryConfigurationTypeDef(TypedDict):
    BaseUrl: NotRequired[str],
    Name: NotRequired[str],

DashConfigurationForPutTypeDef#

# DashConfigurationForPutTypeDef definition

class DashConfigurationForPutTypeDef(TypedDict):
    MpdLocation: NotRequired[str],
    OriginManifestType: NotRequired[OriginManifestTypeType],  # (1)
  1. See OriginManifestTypeType

DashConfigurationTypeDef#

# DashConfigurationTypeDef definition

class DashConfigurationTypeDef(TypedDict):
    ManifestEndpointPrefix: NotRequired[str],
    MpdLocation: NotRequired[str],
    OriginManifestType: NotRequired[OriginManifestTypeType],  # (1)
  1. See OriginManifestTypeType

DashPlaylistSettingsTypeDef#

# DashPlaylistSettingsTypeDef definition

class DashPlaylistSettingsTypeDef(TypedDict):
    ManifestWindowSeconds: NotRequired[int],
    MinBufferTimeSeconds: NotRequired[int],
    MinUpdatePeriodSeconds: NotRequired[int],
    SuggestedPresentationDelaySeconds: NotRequired[int],

DeleteChannelPolicyRequestRequestTypeDef#

# DeleteChannelPolicyRequestRequestTypeDef definition

class DeleteChannelPolicyRequestRequestTypeDef(TypedDict):
    ChannelName: str,

DeleteChannelRequestRequestTypeDef#

# DeleteChannelRequestRequestTypeDef definition

class DeleteChannelRequestRequestTypeDef(TypedDict):
    ChannelName: str,

DeleteLiveSourceRequestRequestTypeDef#

# DeleteLiveSourceRequestRequestTypeDef definition

class DeleteLiveSourceRequestRequestTypeDef(TypedDict):
    LiveSourceName: str,
    SourceLocationName: str,

DeletePlaybackConfigurationRequestRequestTypeDef#

# DeletePlaybackConfigurationRequestRequestTypeDef definition

class DeletePlaybackConfigurationRequestRequestTypeDef(TypedDict):
    Name: str,

DeletePrefetchScheduleRequestRequestTypeDef#

# DeletePrefetchScheduleRequestRequestTypeDef definition

class DeletePrefetchScheduleRequestRequestTypeDef(TypedDict):
    Name: str,
    PlaybackConfigurationName: str,

DeleteProgramRequestRequestTypeDef#

# DeleteProgramRequestRequestTypeDef definition

class DeleteProgramRequestRequestTypeDef(TypedDict):
    ChannelName: str,
    ProgramName: str,

DeleteSourceLocationRequestRequestTypeDef#

# DeleteSourceLocationRequestRequestTypeDef definition

class DeleteSourceLocationRequestRequestTypeDef(TypedDict):
    SourceLocationName: str,

DeleteVodSourceRequestRequestTypeDef#

# DeleteVodSourceRequestRequestTypeDef definition

class DeleteVodSourceRequestRequestTypeDef(TypedDict):
    SourceLocationName: str,
    VodSourceName: str,

DescribeChannelRequestRequestTypeDef#

# DescribeChannelRequestRequestTypeDef definition

class DescribeChannelRequestRequestTypeDef(TypedDict):
    ChannelName: str,

DescribeLiveSourceRequestRequestTypeDef#

# DescribeLiveSourceRequestRequestTypeDef definition

class DescribeLiveSourceRequestRequestTypeDef(TypedDict):
    LiveSourceName: str,
    SourceLocationName: str,

DescribeProgramRequestRequestTypeDef#

# DescribeProgramRequestRequestTypeDef definition

class DescribeProgramRequestRequestTypeDef(TypedDict):
    ChannelName: str,
    ProgramName: str,

DescribeSourceLocationRequestRequestTypeDef#

# DescribeSourceLocationRequestRequestTypeDef definition

class DescribeSourceLocationRequestRequestTypeDef(TypedDict):
    SourceLocationName: str,

DescribeVodSourceRequestRequestTypeDef#

# DescribeVodSourceRequestRequestTypeDef definition

class DescribeVodSourceRequestRequestTypeDef(TypedDict):
    SourceLocationName: str,
    VodSourceName: str,

GetChannelPolicyRequestRequestTypeDef#

# GetChannelPolicyRequestRequestTypeDef definition

class GetChannelPolicyRequestRequestTypeDef(TypedDict):
    ChannelName: str,

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef definition

class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

GetCha