Skip to content

Type definitions#

Index > MediaPackage > Type definitions

Auto-generated documentation for MediaPackage type annotations stubs module types-boto3-mediapackage.

SpekeKeyProviderUnionTypeDef#

# SpekeKeyProviderUnionTypeDef definition

SpekeKeyProviderUnionTypeDef = Union[
    SpekeKeyProviderTypeDef,  # (1)
    SpekeKeyProviderOutputTypeDef,  # (2)
]
  1. See SpekeKeyProviderTypeDef
  2. See SpekeKeyProviderOutputTypeDef

CmafEncryptionUnionTypeDef#

# CmafEncryptionUnionTypeDef definition

CmafEncryptionUnionTypeDef = Union[
    CmafEncryptionTypeDef,  # (1)
    CmafEncryptionOutputTypeDef,  # (2)
]
  1. See CmafEncryptionTypeDef
  2. See CmafEncryptionOutputTypeDef

DashEncryptionUnionTypeDef#

# DashEncryptionUnionTypeDef definition

DashEncryptionUnionTypeDef = Union[
    DashEncryptionTypeDef,  # (1)
    DashEncryptionOutputTypeDef,  # (2)
]
  1. See DashEncryptionTypeDef
  2. See DashEncryptionOutputTypeDef

HlsEncryptionUnionTypeDef#

# HlsEncryptionUnionTypeDef definition

HlsEncryptionUnionTypeDef = Union[
    HlsEncryptionTypeDef,  # (1)
    HlsEncryptionOutputTypeDef,  # (2)
]
  1. See HlsEncryptionTypeDef
  2. See HlsEncryptionOutputTypeDef

MssEncryptionUnionTypeDef#

# MssEncryptionUnionTypeDef definition

MssEncryptionUnionTypeDef = Union[
    MssEncryptionTypeDef,  # (1)
    MssEncryptionOutputTypeDef,  # (2)
]
  1. See MssEncryptionTypeDef
  2. See MssEncryptionOutputTypeDef

AuthorizationTypeDef#

# AuthorizationTypeDef definition

class AuthorizationTypeDef(TypedDict):
    CdnIdentifierSecret: str,
    SecretsRoleArn: str,

EgressAccessLogsTypeDef#

# EgressAccessLogsTypeDef definition

class EgressAccessLogsTypeDef(TypedDict):
    LogGroupName: NotRequired[str],

IngressAccessLogsTypeDef#

# IngressAccessLogsTypeDef definition

class IngressAccessLogsTypeDef(TypedDict):
    LogGroupName: NotRequired[str],

HlsManifestCreateOrUpdateParametersTypeDef#

# HlsManifestCreateOrUpdateParametersTypeDef definition

class HlsManifestCreateOrUpdateParametersTypeDef(TypedDict):
    Id: str,
    AdMarkers: NotRequired[AdMarkersType],  # (1)
    AdTriggers: NotRequired[Sequence[AdTriggersElementType]],  # (2)
    AdsOnDeliveryRestrictions: NotRequired[AdsOnDeliveryRestrictionsType],  # (3)
    IncludeIframeOnlyStream: NotRequired[bool],
    ManifestName: NotRequired[str],
    PlaylistType: NotRequired[PlaylistTypeType],  # (4)
    PlaylistWindowSeconds: NotRequired[int],
    ProgramDateTimeIntervalSeconds: NotRequired[int],
  1. See AdMarkersType
  2. See AdTriggersElementType
  3. See AdsOnDeliveryRestrictionsType
  4. See PlaylistTypeType

StreamSelectionTypeDef#

# StreamSelectionTypeDef definition

class StreamSelectionTypeDef(TypedDict):
    MaxVideoBitsPerSecond: NotRequired[int],
    MinVideoBitsPerSecond: NotRequired[int],
    StreamOrder: NotRequired[StreamOrderType],  # (1)
  1. See StreamOrderType

HlsManifestTypeDef#

# HlsManifestTypeDef definition

class HlsManifestTypeDef(TypedDict):
    Id: str,
    AdMarkers: NotRequired[AdMarkersType],  # (1)
    IncludeIframeOnlyStream: NotRequired[bool],
    ManifestName: NotRequired[str],
    PlaylistType: NotRequired[PlaylistTypeType],  # (2)
    PlaylistWindowSeconds: NotRequired[int],
    ProgramDateTimeIntervalSeconds: NotRequired[int],
    Url: NotRequired[str],
    AdTriggers: NotRequired[list[AdTriggersElementType]],  # (3)
    AdsOnDeliveryRestrictions: NotRequired[AdsOnDeliveryRestrictionsType],  # (4)
  1. See AdMarkersType
  2. See PlaylistTypeType
  3. See AdTriggersElementType
  4. See AdsOnDeliveryRestrictionsType

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

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

CreateChannelRequestRequestTypeDef#

# CreateChannelRequestRequestTypeDef definition

class CreateChannelRequestRequestTypeDef(TypedDict):
    Id: str,
    Description: NotRequired[str],
    Tags: NotRequired[Mapping[str, str]],

S3DestinationTypeDef#

# S3DestinationTypeDef definition

class S3DestinationTypeDef(TypedDict):
    BucketName: str,
    ManifestKey: str,
    RoleArn: str,

DeleteChannelRequestRequestTypeDef#

# DeleteChannelRequestRequestTypeDef definition

class DeleteChannelRequestRequestTypeDef(TypedDict):
    Id: str,

DeleteOriginEndpointRequestRequestTypeDef#

# DeleteOriginEndpointRequestRequestTypeDef definition

class DeleteOriginEndpointRequestRequestTypeDef(TypedDict):
    Id: str,

DescribeChannelRequestRequestTypeDef#

# DescribeChannelRequestRequestTypeDef definition

class DescribeChannelRequestRequestTypeDef(TypedDict):
    Id: str,

DescribeHarvestJobRequestRequestTypeDef#

# DescribeHarvestJobRequestRequestTypeDef definition

class DescribeHarvestJobRequestRequestTypeDef(TypedDict):
    Id: str,

DescribeOriginEndpointRequestRequestTypeDef#

# DescribeOriginEndpointRequestRequestTypeDef definition

class DescribeOriginEndpointRequestRequestTypeDef(TypedDict):
    Id: str,

EncryptionContractConfigurationTypeDef#

# EncryptionContractConfigurationTypeDef definition

class EncryptionContractConfigurationTypeDef(TypedDict):
    PresetSpeke20Audio: PresetSpeke20AudioType,  # (1)
    PresetSpeke20Video: PresetSpeke20VideoType,  # (2)
  1. See PresetSpeke20AudioType
  2. See PresetSpeke20VideoType

IngestEndpointTypeDef#

# IngestEndpointTypeDef definition

class IngestEndpointTypeDef(TypedDict):
    Id: NotRequired[str],
    Password: NotRequired[str],
    Url: NotRequired[str],
    Username: NotRequired[str],

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef definition

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

ListChannelsRequestRequestTypeDef#

# ListChannelsRequestRequestTypeDef definition

class ListChannelsRequestRequestTypeDef(TypedDict):
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ListHarvestJobsRequestRequestTypeDef#

# ListHarvestJobsRequestRequestTypeDef definition

class ListHarvestJobsRequestRequestTypeDef(TypedDict):
    IncludeChannelId: NotRequired[str],
    IncludeStatus: NotRequired[str],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ListOriginEndpointsRequestRequestTypeDef#

# ListOriginEndpointsRequestRequestTypeDef definition

class ListOriginEndpointsRequestRequestTypeDef(TypedDict):
    ChannelId: NotRequired[str],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ListTagsForResourceRequestRequestTypeDef#

# ListTagsForResourceRequestRequestTypeDef definition

class ListTagsForResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,

RotateChannelCredentialsRequestRequestTypeDef#

# RotateChannelCredentialsRequestRequestTypeDef definition

class RotateChannelCredentialsRequestRequestTypeDef(TypedDict):
    Id: str,

RotateIngestEndpointCredentialsRequestRequestTypeDef#

# RotateIngestEndpointCredentialsRequestRequestTypeDef definition

class RotateIngestEndpointCredentialsRequestRequestTypeDef(TypedDict):
    Id: str,
    IngestEndpointId: str,

TagResourceRequestRequestTypeDef#

# TagResourceRequestRequestTypeDef definition

class TagResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,
    Tags: Mapping[str, str],

UntagResourceRequestRequestTypeDef#

# UntagResourceRequestRequestTypeDef definition

class UntagResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,
    TagKeys: Sequence[str],

UpdateChannelRequestRequestTypeDef#

# UpdateChannelRequestRequestTypeDef definition

class UpdateChannelRequestRequestTypeDef(TypedDict):
    Id: str,
    Description: NotRequired[str],

ConfigureLogsRequestRequestTypeDef#

# ConfigureLogsRequestRequestTypeDef definition

class ConfigureLogsRequestRequestTypeDef(TypedDict):
    Id: str,
    EgressAccessLogs: NotRequired[EgressAccessLogsTypeDef],  # (1)
    IngressAccessLogs: NotRequired[IngressAccessLogsTypeDef],  # (2)
  1. See EgressAccessLogsTypeDef
  2. See IngressAccessLogsTypeDef

EmptyResponseMetadataTypeDef#

# EmptyResponseMetadataTypeDef definition

class EmptyResponseMetadataTypeDef(TypedDict):
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListTagsForResourceResponseTypeDef#

# ListTagsForResourceResponseTypeDef definition

class ListTagsForResourceResponseTypeDef(TypedDict):
    Tags: dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateHarvestJobRequestRequestTypeDef#

# CreateHarvestJobRequestRequestTypeDef definition

class CreateHarvestJobRequestRequestTypeDef(TypedDict):
    EndTime: str,
    Id: str,
    OriginEndpointId: str,
    S3Destination: S3DestinationTypeDef,  # (1)
    StartTime: str,
  1. See S3DestinationTypeDef

CreateHarvestJobResponseTypeDef#

# CreateHarvestJobResponseTypeDef definition

class CreateHarvestJobResponseTypeDef(TypedDict):
    Arn: str,
    ChannelId: str,
    CreatedAt: str,
    EndTime: str,
    Id: str,
    OriginEndpointId: str,
    S3Destination: S3DestinationTypeDef,  # (1)
    StartTime: str,
    Status: StatusType,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See S3DestinationTypeDef
  2. See StatusType
  3. See ResponseMetadataTypeDef

DescribeHarvestJobResponseTypeDef#

# DescribeHarvestJobResponseTypeDef definition

class DescribeHarvestJobResponseTypeDef(TypedDict):
    Arn: str,
    ChannelId: str,
    CreatedAt: str,
    EndTime: str,
    Id: str,
    OriginEndpointId: str,
    S3Destination: S3DestinationTypeDef,  # (1)
    StartTime: str,
    Status: StatusType,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See S3DestinationTypeDef
  2. See StatusType
  3. See ResponseMetadataTypeDef

HarvestJobTypeDef#

# HarvestJobTypeDef definition

class HarvestJobTypeDef(TypedDict):
    Arn: NotRequired[str],
    ChannelId: NotRequired[str],
    CreatedAt: NotRequired[str],
    EndTime: NotRequired[str],
    Id: NotRequired[str],
    OriginEndpointId: NotRequired[str],
    S3Destination: NotRequired[S3DestinationTypeDef],  # (1)
    StartTime: NotRequired[str],
    Status: NotRequired[StatusType],  # (2)
  1. See S3DestinationTypeDef
  2. See StatusType

SpekeKeyProviderOutputTypeDef#

# SpekeKeyProviderOutputTypeDef definition

class SpekeKeyProviderOutputTypeDef(TypedDict):
    ResourceId: str,
    RoleArn: str,
    SystemIds: list[str],
    Url: str,
    CertificateArn: NotRequired[str],
    EncryptionContractConfiguration: NotRequired[EncryptionContractConfigurationTypeDef],  # (1)
  1. See EncryptionContractConfigurationTypeDef

SpekeKeyProviderTypeDef#

# SpekeKeyProviderTypeDef definition

class SpekeKeyProviderTypeDef(TypedDict):
    ResourceId: str,
    RoleArn: str,
    SystemIds: Sequence[str],
    Url: str,
    CertificateArn: NotRequired[str],
    EncryptionContractConfiguration: NotRequired[EncryptionContractConfigurationTypeDef],  # (1)
  1. See EncryptionContractConfigurationTypeDef

HlsIngestTypeDef#

# HlsIngestTypeDef definition

class HlsIngestTypeDef(TypedDict):
    IngestEndpoints: NotRequired[list[IngestEndpointTypeDef]],  # (1)
  1. See IngestEndpointTypeDef

ListChannelsRequestPaginateTypeDef#

# ListChannelsRequestPaginateTypeDef definition

class ListChannelsRequestPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListHarvestJobsRequestPaginateTypeDef#

# ListHarvestJobsRequestPaginateTypeDef definition

class ListHarvestJobsRequestPaginateTypeDef(TypedDict):
    IncludeChannelId: NotRequired[str],
    IncludeStatus: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListOriginEndpointsRequestPaginateTypeDef#

# ListOriginEndpointsRequestPaginateTypeDef definition

class ListOriginEndpointsRequestPaginateTypeDef(TypedDict):
    ChannelId: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListHarvestJobsResponseTypeDef#

# ListHarvestJobsResponseTypeDef definition

class ListHarvestJobsResponseTypeDef(TypedDict):
    HarvestJobs: list[HarvestJobTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See HarvestJobTypeDef
  2. See ResponseMetadataTypeDef

CmafEncryptionOutputTypeDef#

# CmafEncryptionOutputTypeDef definition

class CmafEncryptionOutputTypeDef(TypedDict):
    SpekeKeyProvider: SpekeKeyProviderOutputTypeDef,  # (2)
    ConstantInitializationVector: NotRequired[str],
    EncryptionMethod: NotRequired[CmafEncryptionMethodType],  # (1)
    KeyRotationIntervalSeconds: NotRequired[int],
  1. See CmafEncryptionMethodType
  2. See SpekeKeyProviderOutputTypeDef

DashEncryptionOutputTypeDef#

# DashEncryptionOutputTypeDef definition

class DashEncryptionOutputTypeDef(TypedDict):
    SpekeKeyProvider: SpekeKeyProviderOutputTypeDef,  # (1)
    KeyRotationIntervalSeconds: NotRequired[int],
  1. See SpekeKeyProviderOutputTypeDef

HlsEncryptionOutputTypeDef#

# HlsEncryptionOutputTypeDef definition

class HlsEncryptionOutputTypeDef(TypedDict):
    SpekeKeyProvider: SpekeKeyProviderOutputTypeDef,  # (2)
    ConstantInitializationVector: NotRequired[str],
    EncryptionMethod: NotRequired[EncryptionMethodType],  # (1)
    KeyRotationIntervalSeconds: NotRequired[int],
    RepeatExtXKey: NotRequired[bool],
  1. See EncryptionMethodType
  2. See SpekeKeyProviderOutputTypeDef

MssEncryptionOutputTypeDef#

# MssEncryptionOutputTypeDef definition

class MssEncryptionOutputTypeDef(TypedDict):
    SpekeKeyProvider: SpekeKeyProviderOutputTypeDef,  # (1)
  1. See SpekeKeyProviderOutputTypeDef

ChannelTypeDef#

# ChannelTypeDef definition

class ChannelTypeDef(TypedDict):
    Arn: NotRequired[str],
    CreatedAt: NotRequired[str],
    Description: NotRequired[str],
    EgressAccessLogs: NotRequired[EgressAccessLogsTypeDef],  # (1)
    HlsIngest: NotRequired[HlsIngestTypeDef],  # (2)
    Id: NotRequired[str],
    IngressAccessLogs: NotRequired[IngressAccessLogsTypeDef],  # (3)
    Tags: NotRequired[dict[str, str]],
  1. See EgressAccessLogsTypeDef
  2. See HlsIngestTypeDef
  3. See IngressAccessLogsTypeDef

ConfigureLogsResponseTypeDef#

# ConfigureLogsResponseTypeDef definition

class ConfigureLogsResponseTypeDef(TypedDict):
    Arn: str,
    CreatedAt: str,
    Description: str,
    EgressAccessLogs: EgressAccessLogsTypeDef,  # (1)
    HlsIngest: HlsIngestTypeDef,  # (2)
    Id: str,
    IngressAccessLogs: IngressAccessLogsTypeDef,  # (3)
    Tags: dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See EgressAccessLogsTypeDef
  2. See HlsIngestTypeDef
  3. See IngressAccessLogsTypeDef
  4. See ResponseMetadataTypeDef

CreateChannelResponseTypeDef#

# CreateChannelResponseTypeDef definition

class CreateChannelResponseTypeDef(TypedDict):
    Arn: str,
    CreatedAt: str,
    Description: str,
    EgressAccessLogs: EgressAccessLogsTypeDef,  # (1)
    HlsIngest: HlsIngestTypeDef,  # (2)
    Id: str,
    IngressAccessLogs: IngressAccessLogsTypeDef,  # (3)
    Tags: dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See EgressAccessLogsTypeDef
  2. See HlsIngestTypeDef
  3. See IngressAccessLogsTypeDef
  4. See ResponseMetadataTypeDef

DescribeChannelResponseTypeDef#

# DescribeChannelResponseTypeDef definition

class DescribeChannelResponseTypeDef(TypedDict):
    Arn: str,
    CreatedAt: str,
    Description: str,
    EgressAccessLogs: EgressAccessLogsTypeDef,  # (1)
    HlsIngest: HlsIngestTypeDef,  # (2)
    Id: str,
    IngressAccessLogs: IngressAccessLogsTypeDef,  # (3)
    Tags: dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See EgressAccessLogsTypeDef
  2. See HlsIngestTypeDef
  3. See IngressAccessLogsTypeDef
  4. See ResponseMetadataTypeDef

RotateChannelCredentialsResponseTypeDef#

# RotateChannelCredentialsResponseTypeDef definition

class RotateChannelCredentialsResponseTypeDef(TypedDict):
    Arn: str,
    CreatedAt: str,
    Description: str,
    EgressAccessLogs: EgressAccessLogsTypeDef,  # (1)
    HlsIngest: HlsIngestTypeDef,  # (2)
    Id: str,
    IngressAccessLogs: IngressAccessLogsTypeDef,  # (3)
    Tags: dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See EgressAccessLogsTypeDef
  2. See HlsIngestTypeDef
  3. See IngressAccessLogsTypeDef
  4. See ResponseMetadataTypeDef

RotateIngestEndpointCredentialsResponseTypeDef#

# RotateIngestEndpointCredentialsResponseTypeDef definition

class RotateIngestEndpointCredentialsResponseTypeDef(TypedDict):
    Arn: str,
    CreatedAt: str,
    Description: str,
    EgressAccessLogs: EgressAccessLogsTypeDef,  # (1)
    HlsIngest: HlsIngestTypeDef,  # (2)
    Id: str,
    IngressAccessLogs: IngressAccessLogsTypeDef,  # (3)
    Tags: dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See EgressAccessLogsTypeDef
  2. See HlsIngestTypeDef
  3. See IngressAccessLogsTypeDef
  4. See ResponseMetadataTypeDef

UpdateChannelResponseTypeDef#

# UpdateChannelResponseTypeDef definition

class UpdateChannelResponseTypeDef(TypedDict):
    Arn: str,
    CreatedAt: str,
    Description: str,
    EgressAccessLogs: EgressAccessLogsTypeDef,  # (1)
    HlsIngest: HlsIngestTypeDef,  # (2)
    Id: str,
    IngressAccessLogs: IngressAccessLogsTypeDef,  # (3)
    Tags: dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See EgressAccessLogsTypeDef
  2. See HlsIngestTypeDef
  3. See IngressAccessLogsTypeDef
  4. See ResponseMetadataTypeDef

CmafPackageTypeDef#

# CmafPackageTypeDef definition

class CmafPackageTypeDef(TypedDict):
    Encryption: NotRequired[CmafEncryptionOutputTypeDef],  # (1)
    HlsManifests: NotRequired[list[HlsManifestTypeDef]],  # (2)
    SegmentDurationSeconds: NotRequired[int],
    SegmentPrefix: NotRequired[str],
    StreamSelection: NotRequired[StreamSelectionTypeDef],  # (3)
  1. See CmafEncryptionOutputTypeDef
  2. See HlsManifestTypeDef
  3. See StreamSelectionTypeDef

DashPackageOutputTypeDef#

# DashPackageOutputTypeDef definition

class DashPackageOutputTypeDef(TypedDict):
    AdTriggers: NotRequired[list[AdTriggersElementType]],  # (1)
    AdsOnDeliveryRestrictions: NotRequired[AdsOnDeliveryRestrictionsType],  # (2)
    Encryption: NotRequired[DashEncryptionOutputTypeDef],  # (3)
    IncludeIframeOnlyStream: NotRequired[bool],
    ManifestLayout: NotRequired[ManifestLayoutType],  # (4)
    ManifestWindowSeconds: NotRequired[int],
    MinBufferTimeSeconds: NotRequired[int],
    MinUpdatePeriodSeconds: NotRequired[int],
    PeriodTriggers: NotRequired[list[PeriodTriggersElementType]],  # (5)
    Profile: NotRequired[ProfileType],  # (6)
    SegmentDurationSeconds: NotRequired[int],
    SegmentTemplateFormat: NotRequired[SegmentTemplateFormatType],  # (7)
    StreamSelection: NotRequired[StreamSelectionTypeDef],  # (8)
    SuggestedPresentationDelaySeconds: NotRequired[int],
    UtcTiming: NotRequired[UtcTimingType],  # (9)
    UtcTimingUri: NotRequired[str],
  1. See AdTriggersElementType
  2. See AdsOnDeliveryRestrictionsType
  3. See DashEncryptionOutputTypeDef
  4. See ManifestLayoutType
  5. See PeriodTriggersElementType
  6. See ProfileType
  7. See SegmentTemplateFormatType
  8. See StreamSelectionTypeDef
  9. See UtcTimingType

HlsPackageOutputTypeDef#

# HlsPackageOutputTypeDef definition

class HlsPackageOutputTypeDef(TypedDict):
    AdMarkers: NotRequired[AdMarkersType],  # (1)
    AdTriggers: NotRequired[list[AdTriggersElementType]],  # (2)
    AdsOnDeliveryRestrictions: NotRequired[AdsOnDeliveryRestrictionsType],  # (3)
    Encryption: NotRequired[HlsEncryptionOutputTypeDef],  # (4)
    IncludeDvbSubtitles: NotRequired[bool],
    IncludeIframeOnlyStream: NotRequired[bool],
    PlaylistType: NotRequired[PlaylistTypeType],  # (5)
    PlaylistWindowSeconds: NotRequired[int],
    ProgramDateTimeIntervalSeconds: NotRequired[int],
    SegmentDurationSeconds: NotRequired[int],
    StreamSelection: NotRequired[StreamSelectionTypeDef],  # (6)
    UseAudioRenditionGroup: NotRequired[bool],
  1. See AdMarkersType
  2. See AdTriggersElementType
  3. See AdsOnDeliveryRestrictionsType
  4. See HlsEncryptionOutputTypeDef
  5. See PlaylistTypeType
  6. See StreamSelectionTypeDef

MssPackageOutputTypeDef#

# MssPackageOutputTypeDef definition

class MssPackageOutputTypeDef(TypedDict):
    Encryption: NotRequired[MssEncryptionOutputTypeDef],  # (1)
    ManifestWindowSeconds: NotRequired[int],
    SegmentDurationSeconds: NotRequired[int],
    StreamSelection: NotRequired[StreamSelectionTypeDef],  # (2)
  1. See MssEncryptionOutputTypeDef
  2. See StreamSelectionTypeDef

CmafEncryptionTypeDef#

# CmafEncryptionTypeDef definition

class CmafEncryptionTypeDef(TypedDict):
    SpekeKeyProvider: SpekeKeyProviderUnionTypeDef,  # (2)
    ConstantInitializationVector: NotRequired[str],
    EncryptionMethod: NotRequired[CmafEncryptionMethodType],  # (1)
    KeyRotationIntervalSeconds: NotRequired[int],
  1. See CmafEncryptionMethodType
  2. See SpekeKeyProviderTypeDef SpekeKeyProviderOutputTypeDef

DashEncryptionTypeDef#

# DashEncryptionTypeDef definition

class DashEncryptionTypeDef(TypedDict):
    SpekeKeyProvider: SpekeKeyProviderUnionTypeDef,  # (1)
    KeyRotationIntervalSeconds: NotRequired[int],
  1. See SpekeKeyProviderTypeDef SpekeKeyProviderOutputTypeDef

HlsEncryptionTypeDef#

# HlsEncryptionTypeDef definition

class HlsEncryptionTypeDef(TypedDict):
    SpekeKeyProvider: SpekeKeyProviderUnionTypeDef,  # (2)
    ConstantInitializationVector: NotRequired[str],
    EncryptionMethod: NotRequired[EncryptionMethodType],  # (1)
    KeyRotationIntervalSeconds: NotRequired[int],
    RepeatExtXKey: NotRequired[bool],
  1. See EncryptionMethodType
  2. See SpekeKeyProviderTypeDef SpekeKeyProviderOutputTypeDef

MssEncryptionTypeDef#

# MssEncryptionTypeDef definition

class MssEncryptionTypeDef(TypedDict):
    SpekeKeyProvider: SpekeKeyProviderUnionTypeDef,  # (1)
  1. See SpekeKeyProviderTypeDef SpekeKeyProviderOutputTypeDef

ListChannelsResponseTypeDef#

# ListChannelsResponseTypeDef definition

class ListChannelsResponseTypeDef(TypedDict):
    Channels: list[ChannelTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See ChannelTypeDef
  2. See ResponseMetadataTypeDef

CreateOriginEndpointResponseTypeDef#

# CreateOriginEndpointResponseTypeDef definition

class CreateOriginEndpointResponseTypeDef(TypedDict):
    Arn: str,
    Authorization: AuthorizationTypeDef,  # (1)
    ChannelId: str,
    CmafPackage: CmafPackageTypeDef,  # (2)
    CreatedAt: str,
    DashPackage: DashPackageOutputTypeDef,  # (3)
    Description: str,
    HlsPackage: HlsPackageOutputTypeDef,  # (4)
    Id: str,
    ManifestName: str,
    MssPackage: MssPackageOutputTypeDef,  # (5)
    Origination: OriginationType,  # (6)
    StartoverWindowSeconds: int,
    Tags: dict[str, str],
    TimeDelaySeconds: int,
    Url: str,
    Whitelist: list[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (7)
  1. See AuthorizationTypeDef
  2. See CmafPackageTypeDef
  3. See DashPackageOutputTypeDef
  4. See HlsPackageOutputTypeDef
  5. See MssPackageOutputTypeDef
  6. See OriginationType
  7. See ResponseMetadataTypeDef

DescribeOriginEndpointResponseTypeDef#

# DescribeOriginEndpointResponseTypeDef definition

class DescribeOriginEndpointResponseTypeDef(TypedDict):
    Arn: str,
    Authorization: AuthorizationTypeDef,  # (1)
    ChannelId: str,
    CmafPackage: CmafPackageTypeDef,  # (2)
    CreatedAt: str,
    DashPackage: DashPackageOutputTypeDef,  # (3)
    Description: str,
    HlsPackage: HlsPackageOutputTypeDef,  # (4)
    Id: str,
    ManifestName: str,
    MssPackage: MssPackageOutputTypeDef,  # (5)
    Origination: OriginationType,  # (6)
    StartoverWindowSeconds: int,
    Tags: dict[str, str],
    TimeDelaySeconds: int,
    Url: str,
    Whitelist: list[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (7)
  1. See AuthorizationTypeDef
  2. See CmafPackageTypeDef
  3. See DashPackageOutputTypeDef
  4. See HlsPackageOutputTypeDef
  5. See MssPackageOutputTypeDef
  6. See OriginationType
  7. See ResponseMetadataTypeDef

OriginEndpointTypeDef#

# OriginEndpointTypeDef definition

class OriginEndpointTypeDef(TypedDict):
    Arn: NotRequired[str],
    Authorization: NotRequired[AuthorizationTypeDef],  # (1)
    ChannelId: NotRequired[str],
    CmafPackage: NotRequired[CmafPackageTypeDef],  # (2)
    CreatedAt: NotRequired[str],
    DashPackage: NotRequired[DashPackageOutputTypeDef],  # (3)
    Description: NotRequired[str],
    HlsPackage: NotRequired[HlsPackageOutputTypeDef],  # (4)
    Id: NotRequired[str],
    ManifestName: NotRequired[str],
    MssPackage: NotRequired[MssPackageOutputTypeDef],  # (5)
    Origination: NotRequired[OriginationType],  # (6)
    StartoverWindowSeconds: NotRequired[int],
    Tags: NotRequired[dict[str, str]],
    TimeDelaySeconds: NotRequired[int],
    Url: NotRequired[str],
    Whitelist: NotRequired[list[str]],
  1. See AuthorizationTypeDef
  2. See CmafPackageTypeDef
  3. See DashPackageOutputTypeDef
  4. See HlsPackageOutputTypeDef
  5. See MssPackageOutputTypeDef
  6. See OriginationType

UpdateOriginEndpointResponseTypeDef#

# UpdateOriginEndpointResponseTypeDef definition

class UpdateOriginEndpointResponseTypeDef(TypedDict):
    Arn: str,
    Authorization: AuthorizationTypeDef,  # (1)
    ChannelId: str,
    CmafPackage: CmafPackageTypeDef,  # (2)
    CreatedAt: str,
    DashPackage: DashPackageOutputTypeDef,  # (3)
    Description: str,
    HlsPackage: HlsPackageOutputTypeDef,  # (4)
    Id: str,
    ManifestName: str,
    MssPackage: MssPackageOutputTypeDef,  # (5)
    Origination: OriginationType,  # (6)
    StartoverWindowSeconds: int,
    Tags: dict[str, str],
    TimeDelaySeconds: int,
    Url: str,
    Whitelist: list[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (7)
  1. See AuthorizationTypeDef
  2. See CmafPackageTypeDef
  3. See DashPackageOutputTypeDef
  4. See HlsPackageOutputTypeDef
  5. See MssPackageOutputTypeDef
  6. See OriginationType
  7. See ResponseMetadataTypeDef

ListOriginEndpointsResponseTypeDef#

# ListOriginEndpointsResponseTypeDef definition

class ListOriginEndpointsResponseTypeDef(TypedDict):
    OriginEndpoints: list[OriginEndpointTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See OriginEndpointTypeDef
  2. See ResponseMetadataTypeDef

CmafPackageCreateOrUpdateParametersTypeDef#

# CmafPackageCreateOrUpdateParametersTypeDef definition

class CmafPackageCreateOrUpdateParametersTypeDef(TypedDict):
    Encryption: NotRequired[CmafEncryptionUnionTypeDef],  # (1)
    HlsManifests: NotRequired[Sequence[HlsManifestCreateOrUpdateParametersTypeDef]],  # (2)
    SegmentDurationSeconds: NotRequired[int],
    SegmentPrefix: NotRequired[str],
    StreamSelection: NotRequired[StreamSelectionTypeDef],  # (3)
  1. See CmafEncryptionTypeDef CmafEncryptionOutputTypeDef
  2. See HlsManifestCreateOrUpdateParametersTypeDef
  3. See StreamSelectionTypeDef

DashPackageTypeDef#

# DashPackageTypeDef definition

class DashPackageTypeDef(TypedDict):
    AdTriggers: NotRequired[Sequence[AdTriggersElementType]],  # (1)
    AdsOnDeliveryRestrictions: NotRequired[AdsOnDeliveryRestrictionsType],  # (2)
    Encryption: NotRequired[DashEncryptionUnionTypeDef],  # (3)
    IncludeIframeOnlyStream: NotRequired[bool],
    ManifestLayout: NotRequired[ManifestLayoutType],  # (4)
    ManifestWindowSeconds: NotRequired[int],
    MinBufferTimeSeconds: NotRequired[int],
    MinUpdatePeriodSeconds: NotRequired[int],
    PeriodTriggers: NotRequired[Sequence[PeriodTriggersElementType]],  # (5)
    Profile: NotRequired[ProfileType],  # (6)
    SegmentDurationSeconds: NotRequired[int],
    SegmentTemplateFormat: NotRequired[SegmentTemplateFormatType],  # (7)
    StreamSelection: NotRequired[StreamSelectionTypeDef],  # (8)
    SuggestedPresentationDelaySeconds: NotRequired[int],
    UtcTiming: NotRequired[UtcTimingType],  # (9)
    UtcTimingUri: NotRequired[str],
  1. See AdTriggersElementType
  2. See AdsOnDeliveryRestrictionsType
  3. See DashEncryptionTypeDef DashEncryptionOutputTypeDef
  4. See ManifestLayoutType
  5. See PeriodTriggersElementType
  6. See ProfileType
  7. See SegmentTemplateFormatType
  8. See StreamSelectionTypeDef
  9. See UtcTimingType

HlsPackageTypeDef#

# HlsPackageTypeDef definition

class HlsPackageTypeDef(TypedDict):
    AdMarkers: NotRequired[AdMarkersType],  # (1)
    AdTriggers: NotRequired[Sequence[AdTriggersElementType]],  # (2)
    AdsOnDeliveryRestrictions: NotRequired[AdsOnDeliveryRestrictionsType],  # (3)
    Encryption: NotRequired[HlsEncryptionUnionTypeDef],  # (4)
    IncludeDvbSubtitles: NotRequired[bool],
    IncludeIframeOnlyStream: NotRequired[bool],
    PlaylistType: NotRequired[PlaylistTypeType],  # (5)
    PlaylistWindowSeconds: NotRequired[int],
    ProgramDateTimeIntervalSeconds: NotRequired[int],
    SegmentDurationSeconds: NotRequired[int],
    StreamSelection: NotRequired[StreamSelectionTypeDef],  # (6)
    UseAudioRenditionGroup: NotRequired[bool],
  1. See AdMarkersType
  2. See AdTriggersElementType
  3. See AdsOnDeliveryRestrictionsType
  4. See HlsEncryptionTypeDef HlsEncryptionOutputTypeDef
  5. See PlaylistTypeType
  6. See StreamSelectionTypeDef

MssPackageTypeDef#

# MssPackageTypeDef definition

class MssPackageTypeDef(TypedDict):
    Encryption: NotRequired[MssEncryptionUnionTypeDef],  # (1)
    ManifestWindowSeconds: NotRequired[int],
    SegmentDurationSeconds: NotRequired[int],
    StreamSelection: NotRequired[StreamSelectionTypeDef],  # (2)
  1. See MssEncryptionTypeDef MssEncryptionOutputTypeDef
  2. See StreamSelectionTypeDef

CreateOriginEndpointRequestRequestTypeDef#

# CreateOriginEndpointRequestRequestTypeDef definition

class CreateOriginEndpointRequestRequestTypeDef(TypedDict):
    ChannelId: str,
    Id: str,
    Authorization: NotRequired[AuthorizationTypeDef],  # (1)
    CmafPackage: NotRequired[CmafPackageCreateOrUpdateParametersTypeDef],  # (2)
    DashPackage: NotRequired[DashPackageTypeDef],  # (3)
    Description: NotRequired[str],
    HlsPackage: NotRequired[HlsPackageTypeDef],  # (4)
    ManifestName: NotRequired[str],
    MssPackage: NotRequired[MssPackageTypeDef],  # (5)
    Origination: NotRequired[OriginationType],  # (6)
    StartoverWindowSeconds: NotRequired[int],
    Tags: NotRequired[Mapping[str, str]],
    TimeDelaySeconds: NotRequired[int],
    Whitelist: NotRequired[Sequence[str]],
  1. See AuthorizationTypeDef
  2. See CmafPackageCreateOrUpdateParametersTypeDef
  3. See DashPackageTypeDef
  4. See HlsPackageTypeDef
  5. See MssPackageTypeDef
  6. See OriginationType

UpdateOriginEndpointRequestRequestTypeDef#

# UpdateOriginEndpointRequestRequestTypeDef definition

class UpdateOriginEndpointRequestRequestTypeDef(TypedDict):
    Id: str,
    Authorization: NotRequired[AuthorizationTypeDef],  # (1)
    CmafPackage: NotRequired[CmafPackageCreateOrUpdateParametersTypeDef],  # (2)
    DashPackage: NotRequired[DashPackageTypeDef],  # (3)
    Description: NotRequired[str],
    HlsPackage: NotRequired[HlsPackageTypeDef],  # (4)
    ManifestName: NotRequired[str],
    MssPackage: NotRequired[MssPackageTypeDef],  # (5)
    Origination: NotRequired[OriginationType],  # (6)
    StartoverWindowSeconds: NotRequired[int],
    TimeDelaySeconds: NotRequired[int],
    Whitelist: NotRequired[Sequence[str]],
  1. See AuthorizationTypeDef
  2. See CmafPackageCreateOrUpdateParametersTypeDef
  3. See DashPackageTypeDef
  4. See HlsPackageTypeDef
  5. See MssPackageTypeDef
  6. See OriginationType