Skip to content

Type definitions#

Index > MediaPackageVod > Type definitions

Auto-generated documentation for MediaPackageVod type annotations stubs module mypy-boto3-mediapackage-vod.

AssetShallowTypeDef#

# AssetShallowTypeDef definition

class AssetShallowTypeDef(TypedDict):
    Arn: NotRequired[str],
    CreatedAt: NotRequired[str],
    Id: NotRequired[str],
    PackagingGroupId: NotRequired[str],
    ResourceId: NotRequired[str],
    SourceArn: NotRequired[str],
    SourceRoleArn: NotRequired[str],
    Tags: NotRequired[Dict[str, str]],

AuthorizationTypeDef#

# AuthorizationTypeDef definition

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

EgressAccessLogsTypeDef#

# EgressAccessLogsTypeDef definition

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

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

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

CreateAssetRequestRequestTypeDef#

# CreateAssetRequestRequestTypeDef definition

class CreateAssetRequestRequestTypeDef(TypedDict):
    Id: str,
    PackagingGroupId: str,
    SourceArn: str,
    SourceRoleArn: str,
    ResourceId: NotRequired[str],
    Tags: NotRequired[Mapping[str, str]],

EgressEndpointTypeDef#

# EgressEndpointTypeDef definition

class EgressEndpointTypeDef(TypedDict):
    PackagingConfigurationId: NotRequired[str],
    Status: NotRequired[str],
    Url: NotRequired[str],

StreamSelectionTypeDef#

# StreamSelectionTypeDef definition

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

DeleteAssetRequestRequestTypeDef#

# DeleteAssetRequestRequestTypeDef definition

class DeleteAssetRequestRequestTypeDef(TypedDict):
    Id: str,

DeletePackagingConfigurationRequestRequestTypeDef#

# DeletePackagingConfigurationRequestRequestTypeDef definition

class DeletePackagingConfigurationRequestRequestTypeDef(TypedDict):
    Id: str,

DeletePackagingGroupRequestRequestTypeDef#

# DeletePackagingGroupRequestRequestTypeDef definition

class DeletePackagingGroupRequestRequestTypeDef(TypedDict):
    Id: str,

DescribeAssetRequestRequestTypeDef#

# DescribeAssetRequestRequestTypeDef definition

class DescribeAssetRequestRequestTypeDef(TypedDict):
    Id: str,

DescribePackagingConfigurationRequestRequestTypeDef#

# DescribePackagingConfigurationRequestRequestTypeDef definition

class DescribePackagingConfigurationRequestRequestTypeDef(TypedDict):
    Id: str,

DescribePackagingGroupRequestRequestTypeDef#

# DescribePackagingGroupRequestRequestTypeDef definition

class DescribePackagingGroupRequestRequestTypeDef(TypedDict):
    Id: str,

EncryptionContractConfigurationTypeDef#

# EncryptionContractConfigurationTypeDef definition

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

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef definition

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

ListAssetsRequestRequestTypeDef#

# ListAssetsRequestRequestTypeDef definition

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

ListPackagingConfigurationsRequestRequestTypeDef#

# ListPackagingConfigurationsRequestRequestTypeDef definition

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

ListPackagingGroupsRequestRequestTypeDef#

# ListPackagingGroupsRequestRequestTypeDef definition

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

ListTagsForResourceRequestRequestTypeDef#

# ListTagsForResourceRequestRequestTypeDef definition

class ListTagsForResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,

TagResourceRequestRequestTypeDef#

# TagResourceRequestRequestTypeDef definition

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

UntagResourceRequestRequestTypeDef#

# UntagResourceRequestRequestTypeDef definition

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

UpdatePackagingGroupRequestRequestTypeDef#

# UpdatePackagingGroupRequestRequestTypeDef definition

class UpdatePackagingGroupRequestRequestTypeDef(TypedDict):
    Id: str,
    Authorization: NotRequired[AuthorizationTypeDef],  # (1)
  1. See AuthorizationTypeDef

ConfigureLogsRequestRequestTypeDef#

# ConfigureLogsRequestRequestTypeDef definition

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

CreatePackagingGroupRequestRequestTypeDef#

# CreatePackagingGroupRequestRequestTypeDef definition

class CreatePackagingGroupRequestRequestTypeDef(TypedDict):
    Id: str,
    Authorization: NotRequired[AuthorizationTypeDef],  # (1)
    EgressAccessLogs: NotRequired[EgressAccessLogsTypeDef],  # (2)
    Tags: NotRequired[Mapping[str, str]],
  1. See AuthorizationTypeDef
  2. See EgressAccessLogsTypeDef

PackagingGroupTypeDef#

# PackagingGroupTypeDef definition

class PackagingGroupTypeDef(TypedDict):
    ApproximateAssetCount: NotRequired[int],
    Arn: NotRequired[str],
    Authorization: NotRequired[AuthorizationTypeDef],  # (1)
    CreatedAt: NotRequired[str],
    DomainName: NotRequired[str],
    EgressAccessLogs: NotRequired[EgressAccessLogsTypeDef],  # (2)
    Id: NotRequired[str],
    Tags: NotRequired[Dict[str, str]],
  1. See AuthorizationTypeDef
  2. See EgressAccessLogsTypeDef

ConfigureLogsResponseTypeDef#

# ConfigureLogsResponseTypeDef definition

class ConfigureLogsResponseTypeDef(TypedDict):
    Arn: str,
    Authorization: AuthorizationTypeDef,  # (1)
    CreatedAt: str,
    DomainName: str,
    EgressAccessLogs: EgressAccessLogsTypeDef,  # (2)
    Id: str,
    Tags: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See AuthorizationTypeDef
  2. See EgressAccessLogsTypeDef
  3. See ResponseMetadataTypeDef

CreatePackagingGroupResponseTypeDef#

# CreatePackagingGroupResponseTypeDef definition

class CreatePackagingGroupResponseTypeDef(TypedDict):
    Arn: str,
    Authorization: AuthorizationTypeDef,  # (1)
    CreatedAt: str,
    DomainName: str,
    EgressAccessLogs: EgressAccessLogsTypeDef,  # (2)
    Id: str,
    Tags: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See AuthorizationTypeDef
  2. See EgressAccessLogsTypeDef
  3. See ResponseMetadataTypeDef

DescribePackagingGroupResponseTypeDef#

# DescribePackagingGroupResponseTypeDef definition

class DescribePackagingGroupResponseTypeDef(TypedDict):
    ApproximateAssetCount: int,
    Arn: str,
    Authorization: AuthorizationTypeDef,  # (1)
    CreatedAt: str,
    DomainName: str,
    EgressAccessLogs: EgressAccessLogsTypeDef,  # (2)
    Id: str,
    Tags: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See AuthorizationTypeDef
  2. See EgressAccessLogsTypeDef
  3. See ResponseMetadataTypeDef

EmptyResponseMetadataTypeDef#

# EmptyResponseMetadataTypeDef definition

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

ListAssetsResponseTypeDef#

# ListAssetsResponseTypeDef definition

class ListAssetsResponseTypeDef(TypedDict):
    Assets: List[AssetShallowTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AssetShallowTypeDef
  2. See ResponseMetadataTypeDef

ListTagsForResourceResponseTypeDef#

# ListTagsForResourceResponseTypeDef definition

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

UpdatePackagingGroupResponseTypeDef#

# UpdatePackagingGroupResponseTypeDef definition

class UpdatePackagingGroupResponseTypeDef(TypedDict):
    ApproximateAssetCount: int,
    Arn: str,
    Authorization: AuthorizationTypeDef,  # (1)
    CreatedAt: str,
    DomainName: str,
    EgressAccessLogs: EgressAccessLogsTypeDef,  # (2)
    Id: str,
    Tags: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See AuthorizationTypeDef
  2. See EgressAccessLogsTypeDef
  3. See ResponseMetadataTypeDef

CreateAssetResponseTypeDef#

# CreateAssetResponseTypeDef definition

class CreateAssetResponseTypeDef(TypedDict):
    Arn: str,
    CreatedAt: str,
    EgressEndpoints: List[EgressEndpointTypeDef],  # (1)
    Id: str,
    PackagingGroupId: str,
    ResourceId: str,
    SourceArn: str,
    SourceRoleArn: str,
    Tags: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See EgressEndpointTypeDef
  2. See ResponseMetadataTypeDef

DescribeAssetResponseTypeDef#

# DescribeAssetResponseTypeDef definition

class DescribeAssetResponseTypeDef(TypedDict):
    Arn: str,
    CreatedAt: str,
    EgressEndpoints: List[EgressEndpointTypeDef],  # (1)
    Id: str,
    PackagingGroupId: str,
    ResourceId: str,
    SourceArn: str,
    SourceRoleArn: str,
    Tags: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See EgressEndpointTypeDef
  2. See ResponseMetadataTypeDef

DashManifestTypeDef#

# DashManifestTypeDef definition

class DashManifestTypeDef(TypedDict):
    ManifestLayout: NotRequired[ManifestLayoutType],  # (1)
    ManifestName: NotRequired[str],
    MinBufferTimeSeconds: NotRequired[int],
    Profile: NotRequired[ProfileType],  # (2)
    ScteMarkersSource: NotRequired[ScteMarkersSourceType],  # (3)
    StreamSelection: NotRequired[StreamSelectionTypeDef],  # (4)
  1. See ManifestLayoutType
  2. See ProfileType
  3. See ScteMarkersSourceType
  4. See StreamSelectionTypeDef

HlsManifestTypeDef#

# HlsManifestTypeDef definition

class HlsManifestTypeDef(TypedDict):
    AdMarkers: NotRequired[AdMarkersType],  # (1)
    IncludeIframeOnlyStream: NotRequired[bool],
    ManifestName: NotRequired[str],
    ProgramDateTimeIntervalSeconds: NotRequired[int],
    RepeatExtXKey: NotRequired[bool],
    StreamSelection: NotRequired[StreamSelectionTypeDef],  # (2)
  1. See AdMarkersType
  2. See StreamSelectionTypeDef

MssManifestTypeDef#

# MssManifestTypeDef definition

class MssManifestTypeDef(TypedDict):
    ManifestName: NotRequired[str],
    StreamSelection: NotRequired[StreamSelectionTypeDef],  # (1)
  1. See StreamSelectionTypeDef

SpekeKeyProviderPaginatorTypeDef#

# SpekeKeyProviderPaginatorTypeDef definition

class SpekeKeyProviderPaginatorTypeDef(TypedDict):
    RoleArn: str,
    SystemIds: List[str],
    Url: str,
    EncryptionContractConfiguration: NotRequired[EncryptionContractConfigurationTypeDef],  # (1)
  1. See EncryptionContractConfigurationTypeDef

SpekeKeyProviderTypeDef#

# SpekeKeyProviderTypeDef definition

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

ListAssetsRequestListAssetsPaginateTypeDef#

# ListAssetsRequestListAssetsPaginateTypeDef definition

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

ListPackagingConfigurationsRequestListPackagingConfigurationsPaginateTypeDef#

# ListPackagingConfigurationsRequestListPackagingConfigurationsPaginateTypeDef definition

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

ListPackagingGroupsRequestListPackagingGroupsPaginateTypeDef#

# ListPackagingGroupsRequestListPackagingGroupsPaginateTypeDef definition

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

ListPackagingGroupsResponseTypeDef#

# ListPackagingGroupsResponseTypeDef definition

class ListPackagingGroupsResponseTypeDef(TypedDict):
    NextToken: str,
    PackagingGroups: List[PackagingGroupTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See PackagingGroupTypeDef
  2. See ResponseMetadataTypeDef

CmafEncryptionPaginatorTypeDef#

# CmafEncryptionPaginatorTypeDef definition

class CmafEncryptionPaginatorTypeDef(TypedDict):
    SpekeKeyProvider: SpekeKeyProviderPaginatorTypeDef,  # (1)
    ConstantInitializationVector: NotRequired[str],
  1. See SpekeKeyProviderPaginatorTypeDef

DashEncryptionPaginatorTypeDef#

# DashEncryptionPaginatorTypeDef definition

class DashEncryptionPaginatorTypeDef(TypedDict):
    SpekeKeyProvider: SpekeKeyProviderPaginatorTypeDef,  # (1)
  1. See SpekeKeyProviderPaginatorTypeDef

HlsEncryptionPaginatorTypeDef#

# HlsEncryptionPaginatorTypeDef definition

class HlsEncryptionPaginatorTypeDef(TypedDict):
    SpekeKeyProvider: SpekeKeyProviderPaginatorTypeDef,  # (2)
    ConstantInitializationVector: NotRequired[str],
    EncryptionMethod: NotRequired[EncryptionMethodType],  # (1)
  1. See EncryptionMethodType
  2. See SpekeKeyProviderPaginatorTypeDef

MssEncryptionPaginatorTypeDef#

# MssEncryptionPaginatorTypeDef definition

class MssEncryptionPaginatorTypeDef(TypedDict):
    SpekeKeyProvider: SpekeKeyProviderPaginatorTypeDef,  # (1)
  1. See SpekeKeyProviderPaginatorTypeDef

CmafEncryptionTypeDef#

# CmafEncryptionTypeDef definition

class CmafEncryptionTypeDef(TypedDict):
    SpekeKeyProvider: SpekeKeyProviderTypeDef,  # (1)
    ConstantInitializationVector: NotRequired[str],
  1. See SpekeKeyProviderTypeDef

DashEncryptionTypeDef#

# DashEncryptionTypeDef definition

class DashEncryptionTypeDef(TypedDict):
    SpekeKeyProvider: SpekeKeyProviderTypeDef,  # (1)
  1. See SpekeKeyProviderTypeDef

HlsEncryptionTypeDef#

# HlsEncryptionTypeDef definition

class HlsEncryptionTypeDef(TypedDict):
    SpekeKeyProvider: SpekeKeyProviderTypeDef,  # (2)
    ConstantInitializationVector: NotRequired[str],
    EncryptionMethod: NotRequired[EncryptionMethodType],  # (1)
  1. See EncryptionMethodType
  2. See SpekeKeyProviderTypeDef

MssEncryptionTypeDef#

# MssEncryptionTypeDef definition

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

CmafPackagePaginatorTypeDef#

# CmafPackagePaginatorTypeDef definition

class CmafPackagePaginatorTypeDef(TypedDict):
    HlsManifests: List[HlsManifestTypeDef],  # (2)
    Encryption: NotRequired[CmafEncryptionPaginatorTypeDef],  # (1)
    IncludeEncoderConfigurationInSegments: NotRequired[bool],
    SegmentDurationSeconds: NotRequired[int],
  1. See CmafEncryptionPaginatorTypeDef
  2. See HlsManifestTypeDef

DashPackagePaginatorTypeDef#

# DashPackagePaginatorTypeDef definition

class DashPackagePaginatorTypeDef(TypedDict):
    DashManifests: List[DashManifestTypeDef],  # (1)
    Encryption: NotRequired[DashEncryptionPaginatorTypeDef],  # (2)
    IncludeEncoderConfigurationInSegments: NotRequired[bool],
    IncludeIframeOnlyStream: NotRequired[bool],
    PeriodTriggers: NotRequired[List[PeriodTriggersElementType]],  # (3)
    SegmentDurationSeconds: NotRequired[int],
    SegmentTemplateFormat: NotRequired[SegmentTemplateFormatType],  # (4)
  1. See DashManifestTypeDef
  2. See DashEncryptionPaginatorTypeDef
  3. See PeriodTriggersElementType
  4. See SegmentTemplateFormatType

HlsPackagePaginatorTypeDef#

# HlsPackagePaginatorTypeDef definition

class HlsPackagePaginatorTypeDef(TypedDict):
    HlsManifests: List[HlsManifestTypeDef],  # (2)
    Encryption: NotRequired[HlsEncryptionPaginatorTypeDef],  # (1)
    IncludeDvbSubtitles: NotRequired[bool],
    SegmentDurationSeconds: NotRequired[int],
    UseAudioRenditionGroup: NotRequired[bool],
  1. See HlsEncryptionPaginatorTypeDef
  2. See HlsManifestTypeDef

MssPackagePaginatorTypeDef#

# MssPackagePaginatorTypeDef definition

class MssPackagePaginatorTypeDef(TypedDict):
    MssManifests: List[MssManifestTypeDef],  # (2)
    Encryption: NotRequired[MssEncryptionPaginatorTypeDef],  # (1)
    SegmentDurationSeconds: NotRequired[int],
  1. See MssEncryptionPaginatorTypeDef
  2. See