Skip to content

Type definitions#

Index > MediaPackageVod > Type definitions

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

CmafPackageUnionTypeDef#

# CmafPackageUnionTypeDef definition

CmafPackageUnionTypeDef = Union[
    CmafPackageTypeDef,  # (1)
    CmafPackageExtraOutputTypeDef,  # (2)
]
  1. See CmafPackageTypeDef
  2. See CmafPackageExtraOutputTypeDef

DashPackageUnionTypeDef#

# DashPackageUnionTypeDef definition

DashPackageUnionTypeDef = Union[
    DashPackageTypeDef,  # (1)
    DashPackageExtraOutputTypeDef,  # (2)
]
  1. See DashPackageTypeDef
  2. See DashPackageExtraOutputTypeDef

HlsPackageUnionTypeDef#

# HlsPackageUnionTypeDef definition

HlsPackageUnionTypeDef = Union[
    HlsPackageTypeDef,  # (1)
    HlsPackageExtraOutputTypeDef,  # (2)
]
  1. See HlsPackageTypeDef
  2. See HlsPackageExtraOutputTypeDef

MssPackageUnionTypeDef#

# MssPackageUnionTypeDef definition

MssPackageUnionTypeDef = Union[
    MssPackageTypeDef,  # (1)
    MssPackageExtraOutputTypeDef,  # (2)
]
  1. See MssPackageTypeDef
  2. See MssPackageExtraOutputTypeDef

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)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  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#