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