Type definitions#
Index > mediapackagev2 > Type definitions
Auto-generated documentation for mediapackagev2 type annotations stubs module mypy-boto3-mediapackagev2.
ChannelGroupListConfigurationTypeDef#
# ChannelGroupListConfigurationTypeDef definition
class ChannelGroupListConfigurationTypeDef(TypedDict):
ChannelGroupName: str,
Arn: str,
CreatedAt: datetime,
ModifiedAt: datetime,
Description: NotRequired[str],
ChannelListConfigurationTypeDef#
# ChannelListConfigurationTypeDef definition
class ChannelListConfigurationTypeDef(TypedDict):
Arn: str,
ChannelName: str,
ChannelGroupName: str,
CreatedAt: datetime,
ModifiedAt: datetime,
Description: NotRequired[str],
CreateChannelGroupRequestRequestTypeDef#
# CreateChannelGroupRequestRequestTypeDef definition
class CreateChannelGroupRequestRequestTypeDef(TypedDict):
ChannelGroupName: str,
ClientToken: NotRequired[str],
Description: NotRequired[str],
Tags: NotRequired[Mapping[str, str]],
ResponseMetadataTypeDef#
# ResponseMetadataTypeDef definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HostId: str,
HTTPStatusCode: int,
HTTPHeaders: Dict[str, str],
RetryAttempts: int,
CreateChannelRequestRequestTypeDef#
# CreateChannelRequestRequestTypeDef definition
class CreateChannelRequestRequestTypeDef(TypedDict):
ChannelGroupName: str,
ChannelName: str,
ClientToken: NotRequired[str],
Description: NotRequired[str],
Tags: NotRequired[Mapping[str, str]],
IngestEndpointTypeDef#
# IngestEndpointTypeDef definition
class IngestEndpointTypeDef(TypedDict):
Id: NotRequired[str],
Url: NotRequired[str],
ScteHlsTypeDef#
# ScteHlsTypeDef definition
class ScteHlsTypeDef(TypedDict):
AdMarkerHls: NotRequired[AdMarkerHlsType], # (1)
- See AdMarkerHlsType
DeleteChannelGroupRequestRequestTypeDef#
# DeleteChannelGroupRequestRequestTypeDef definition
class DeleteChannelGroupRequestRequestTypeDef(TypedDict):
ChannelGroupName: str,
DeleteChannelPolicyRequestRequestTypeDef#
# DeleteChannelPolicyRequestRequestTypeDef definition
class DeleteChannelPolicyRequestRequestTypeDef(TypedDict):
ChannelGroupName: str,
ChannelName: str,
DeleteChannelRequestRequestTypeDef#
# DeleteChannelRequestRequestTypeDef definition
class DeleteChannelRequestRequestTypeDef(TypedDict):
ChannelGroupName: str,
ChannelName: str,
DeleteOriginEndpointPolicyRequestRequestTypeDef#
# DeleteOriginEndpointPolicyRequestRequestTypeDef definition
class DeleteOriginEndpointPolicyRequestRequestTypeDef(TypedDict):
ChannelGroupName: str,
ChannelName: str,
OriginEndpointName: str,
DeleteOriginEndpointRequestRequestTypeDef#
# DeleteOriginEndpointRequestRequestTypeDef definition
class DeleteOriginEndpointRequestRequestTypeDef(TypedDict):
ChannelGroupName: str,
ChannelName: str,
OriginEndpointName: str,
EncryptionContractConfigurationTypeDef#
# EncryptionContractConfigurationTypeDef definition
class EncryptionContractConfigurationTypeDef(TypedDict):
PresetSpeke20Audio: PresetSpeke20AudioType, # (1)
PresetSpeke20Video: PresetSpeke20VideoType, # (2)
EncryptionMethodTypeDef#
# EncryptionMethodTypeDef definition
class EncryptionMethodTypeDef(TypedDict):
TsEncryptionMethod: NotRequired[TsEncryptionMethodType], # (1)
CmafEncryptionMethod: NotRequired[CmafEncryptionMethodType], # (2)
GetChannelGroupRequestRequestTypeDef#
# GetChannelGroupRequestRequestTypeDef definition
class GetChannelGroupRequestRequestTypeDef(TypedDict):
ChannelGroupName: str,
GetChannelPolicyRequestRequestTypeDef#
# GetChannelPolicyRequestRequestTypeDef definition
class GetChannelPolicyRequestRequestTypeDef(TypedDict):
ChannelGroupName: str,
ChannelName: str,
GetChannelRequestRequestTypeDef#
# GetChannelRequestRequestTypeDef definition
class GetChannelRequestRequestTypeDef(TypedDict):
ChannelGroupName: str,
ChannelName: str,
GetOriginEndpointPolicyRequestRequestTypeDef#
# GetOriginEndpointPolicyRequestRequestTypeDef definition
class GetOriginEndpointPolicyRequestRequestTypeDef(TypedDict):
ChannelGroupName: str,
ChannelName: str,
OriginEndpointName: str,
GetOriginEndpointRequestRequestTypeDef#
# GetOriginEndpointRequestRequestTypeDef definition
class GetOriginEndpointRequestRequestTypeDef(TypedDict):
ChannelGroupName: str,
ChannelName: str,
OriginEndpointName: str,
PaginatorConfigTypeDef#
# PaginatorConfigTypeDef definition
class PaginatorConfigTypeDef(TypedDict):
MaxItems: NotRequired[int],
PageSize: NotRequired[int],
StartingToken: NotRequired[str],
ListChannelGroupsRequestRequestTypeDef#
# ListChannelGroupsRequestRequestTypeDef definition
class ListChannelGroupsRequestRequestTypeDef(TypedDict):
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
ListChannelsRequestRequestTypeDef#
# ListChannelsRequestRequestTypeDef definition
class ListChannelsRequestRequestTypeDef(TypedDict):
ChannelGroupName: str,
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
ListHlsManifestConfigurationTypeDef#
# ListHlsManifestConfigurationTypeDef definition
class ListHlsManifestConfigurationTypeDef(TypedDict):
ManifestName: str,
ChildManifestName: NotRequired[str],
Url: NotRequired[str],
ListLowLatencyHlsManifestConfigurationTypeDef#
# ListLowLatencyHlsManifestConfigurationTypeDef definition
class ListLowLatencyHlsManifestConfigurationTypeDef(TypedDict):
ManifestName: str,
ChildManifestName: NotRequired[str],
Url: NotRequired[str],
ListOriginEndpointsRequestRequestTypeDef#
# ListOriginEndpointsRequestRequestTypeDef definition
class ListOriginEndpointsRequestRequestTypeDef(TypedDict):
ChannelGroupName: str,
ChannelName: str,
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
ListTagsForResourceRequestRequestTypeDef#
# ListTagsForResourceRequestRequestTypeDef definition
class ListTagsForResourceRequestRequestTypeDef(TypedDict):
ResourceArn: str,
PutChannelPolicyRequestRequestTypeDef#
# PutChannelPolicyRequestRequestTypeDef definition
class PutChannelPolicyRequestRequestTypeDef(TypedDict):
ChannelGroupName: str,
ChannelName: str,
Policy: str,
PutOriginEndpointPolicyRequestRequestTypeDef#
# PutOriginEndpointPolicyRequestRequestTypeDef definition
class PutOriginEndpointPolicyRequestRequestTypeDef(TypedDict):
ChannelGroupName: str,
ChannelName: str,
OriginEndpointName: str,
Policy: str,
ScteTypeDef#
# ScteTypeDef definition
class ScteTypeDef(TypedDict):
ScteFilter: NotRequired[Sequence[ScteFilterType]], # (1)
- See ScteFilterType
TagResourceRequestRequestTypeDef#
# TagResourceRequestRequestTypeDef definition
class TagResourceRequestRequestTypeDef(TypedDict):
ResourceArn: str,
Tags: Mapping[str, str],
UntagResourceRequestRequestTypeDef#
# UntagResourceRequestRequestTypeDef definition
class UntagResourceRequestRequestTypeDef(TypedDict):
ResourceArn: str,
TagKeys: Sequence[str],
UpdateChannelGroupRequestRequestTypeDef#
# UpdateChannelGroupRequestRequestTypeDef definition
class UpdateChannelGroupRequestRequestTypeDef(TypedDict):
ChannelGroupName: str,
Description: NotRequired[str],
UpdateChannelRequestRequestTypeDef#
# UpdateChannelRequestRequestTypeDef definition
class UpdateChannelRequestRequestTypeDef(TypedDict):
ChannelGroupName: str,
ChannelName: str,
Description: NotRequired[str],
CreateChannelGroupResponseTypeDef#
# CreateChannelGroupResponseTypeDef definition
class CreateChannelGroupResponseTypeDef(TypedDict):
ChannelGroupName: str,
Arn: str,
EgressDomain: str,
CreatedAt: datetime,
ModifiedAt: datetime,
Description: str,
Tags: Dict[str, str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
EmptyResponseMetadataTypeDef#
# EmptyResponseMetadataTypeDef definition
class EmptyResponseMetadataTypeDef(TypedDict):
ResponseMetadata: ResponseMetadataTypeDef, # (1)
GetChannelGroupResponseTypeDef#
# GetChannelGroupResponseTypeDef definition
class GetChannelGroupResponseTypeDef(TypedDict):
ChannelGroupName: str,
Arn: str,
EgressDomain: str,
CreatedAt: datetime,
ModifiedAt: datetime,
Description: str,
Tags: Dict[str, str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
GetChannelPolicyResponseTypeDef#
# GetChannelPolicyResponseTypeDef definition
class GetChannelPolicyResponseTypeDef(TypedDict):
ChannelGroupName: str,
ChannelName: str,
Policy: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
GetOriginEndpointPolicyResponseTypeDef#
# GetOriginEndpointPolicyResponseTypeDef definition
class GetOriginEndpointPolicyResponseTypeDef(TypedDict):
ChannelGroupName: str,
ChannelName: str,
OriginEndpointName: str,
Policy: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
ListChannelGroupsResponseTypeDef#
# ListChannelGroupsResponseTypeDef definition
class ListChannelGroupsResponseTypeDef(TypedDict):
Items: List[ChannelGroupListConfigurationTypeDef], # (1)
NextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListChannelsResponseTypeDef#
# ListChannelsResponseTypeDef definition
class ListChannelsResponseTypeDef(TypedDict):
Items: List[ChannelListConfigurationTypeDef], # (1)
NextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListTagsForResourceResponseTypeDef#
# ListTagsForResourceResponseTypeDef definition
class ListTagsForResourceResponseTypeDef(TypedDict):
Tags: Dict[str, str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
UpdateChannelGroupResponseTypeDef#
# UpdateChannelGroupResponseTypeDef definition
class UpdateChannelGroupResponseTypeDef(TypedDict):
ChannelGroupName: str,
Arn: str,
EgressDomain: str,
CreatedAt: datetime,
ModifiedAt: datetime,
Description: str,
Tags: Dict[str, str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
CreateChannelResponseTypeDef#
# CreateChannelResponseTypeDef definition
class CreateChannelResponseTypeDef(TypedDict):
Arn: str,
ChannelName: str,
ChannelGroupName: str,
CreatedAt: datetime,
ModifiedAt: datetime,
Description: str,
IngestEndpoints: List[IngestEndpointTypeDef], # (1)
Tags: Dict[str, str],
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetChannelResponseTypeDef#
# GetChannelResponseTypeDef definition
class GetChannelResponseTypeDef(TypedDict):
Arn: str,
ChannelName: str,
ChannelGroupName: str,
CreatedAt: datetime,
ModifiedAt: datetime,
Description: str,
IngestEndpoints: List[IngestEndpointTypeDef], # (1)
Tags: Dict[str, str],
ResponseMetadata: ResponseMetadataTypeDef, # (2)
UpdateChannelResponseTypeDef#
# UpdateChannelResponseTypeDef definition
class UpdateChannelResponseTypeDef(TypedDict):
Arn: str,
ChannelName: str,
ChannelGroupName: str,
CreatedAt: datetime,
ModifiedAt: datetime,
Description: str,
IngestEndpoints: List[IngestEndpointTypeDef], # (1)
Tags: Dict[str, str],
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CreateHlsManifestConfigurationTypeDef#
# CreateHlsManifestConfigurationTypeDef definition
class CreateHlsManifestConfigurationTypeDef(TypedDict):
ManifestName: str,
ChildManifestName: NotRequired[str],
ScteHls: NotRequired[ScteHlsTypeDef], # (1)
ManifestWindowSeconds: NotRequired[int],
ProgramDateTimeIntervalSeconds: NotRequired[int],
- See ScteHlsTypeDef
CreateLowLatencyHlsManifestConfigurationTypeDef#
# CreateLowLatencyHlsManifestConfigurationTypeDef definition
class CreateLowLatencyHlsManifestConfigurationTypeDef(TypedDict):
ManifestName: str,
ChildManifestName: NotRequired[str],
ScteHls: NotRequired[ScteHlsTypeDef], # (1)
ManifestWindowSeconds: NotRequired[int],
ProgramDateTimeIntervalSeconds: NotRequired[int],
- See ScteHlsTypeDef
GetHlsManifestConfigurationTypeDef#
# GetHlsManifestConfigurationTypeDef definition
class GetHlsManifestConfigurationTypeDef(TypedDict):
ManifestName: str,
Url: str,
ChildManifestName: NotRequired[str],
ManifestWindowSeconds: NotRequired[int],
ProgramDateTimeIntervalSeconds: NotRequired[int],
ScteHls: NotRequired[ScteHlsTypeDef], # (1)
- See ScteHlsTypeDef
GetLowLatencyHlsManifestConfigurationTypeDef#
# GetLowLatencyHlsManifestConfigurationTypeDef definition
class GetLowLatencyHlsManifestConfigurationTypeDef(TypedDict):
ManifestName: str,
Url: str,
ChildManifestName: NotRequired[str],
ManifestWindowSeconds: NotRequired[int],
ProgramDateTimeIntervalSeconds: NotRequired[int],
ScteHls: NotRequired[ScteHlsTypeDef], # (1)
- See ScteHlsTypeDef
SpekeKeyProviderTypeDef#
# SpekeKeyProviderTypeDef definition
class SpekeKeyProviderTypeDef(TypedDict):
EncryptionContractConfiguration: EncryptionContractConfigurationTypeDef, # (1)
ResourceId: str,
DrmSystems: Sequence[DrmSystemType], # (2)
RoleArn: str,
Url: str,
ListChannelGroupsRequestListChannelGroupsPaginateTypeDef#
# ListChannelGroupsRequestListChannelGroupsPaginateTypeDef definition
class ListChannelGroupsRequestListChannelGroupsPaginateTypeDef(TypedDict):
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListChannelsRequestListChannelsPaginateTypeDef#
# ListChannelsRequestListChannelsPaginateTypeDef definition
class ListChannelsRequestListChannelsPaginateTypeDef(TypedDict):
ChannelGroupName: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListOriginEndpointsRequestListOriginEndpointsPaginateTypeDef#
# ListOriginEndpointsRequestListOriginEndpointsPaginateTypeDef definition
class ListOriginEndpointsRequestListOriginEndpointsPaginateTypeDef(TypedDict):
ChannelGroupName: str,
ChannelName: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
OriginEndpointListConfigurationTypeDef#
# OriginEndpointListConfigurationTypeDef definition
class OriginEndpointListConfigurationTypeDef(TypedDict):
Arn: str,
ChannelGroupName: str,
ChannelName: str,
OriginEndpointName: str,
ContainerType: ContainerTypeType, # (1)
Description: NotRequired[str],
CreatedAt: NotRequired[datetime],
ModifiedAt: NotRequired[datetime],
HlsManifests: NotRequired[List[ListHlsManifestConfigurationTypeDef]], # (2)
LowLatencyHlsManifests: NotRequired[List[ListLowLatencyHlsManifestConfigurationTypeDef]], # (3)
- See ContainerTypeType
- See ListHlsManifestConfigurationTypeDef
- See ListLowLatencyHlsManifestConfigurationTypeDef
EncryptionTypeDef#
# EncryptionTypeDef definition
class EncryptionTypeDef(TypedDict):
EncryptionMethod: EncryptionMethodTypeDef, # (1)
SpekeKeyProvider: SpekeKeyProviderTypeDef, # (2)
ConstantInitializationVector: NotRequired[str],
KeyRotationIntervalSeconds: NotRequired[int],
ListOriginEndpointsResponseTypeDef#
# ListOriginEndpointsResponseTypeDef definition
class ListOriginEndpointsResponseTypeDef(TypedDict):
Items: List[OriginEndpointListConfigurationTypeDef], # (1)
NextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
SegmentTypeDef#
# SegmentTypeDef definition
class SegmentTypeDef(TypedDict):
SegmentDurationSeconds: NotRequired[int],
SegmentName: NotRequired[str],
TsUseAudioRenditionGroup: NotRequired[bool],
IncludeIframeOnlyStreams: NotRequired[bool],
TsIncludeDvbSubtitles: NotRequired[bool],
Scte: NotRequired[ScteTypeDef], # (1)
Encryption: NotRequired[EncryptionTypeDef], # (2)
- See ScteTypeDef
- See EncryptionTypeDef
CreateOriginEndpointRequestRequestTypeDef#
# CreateOriginEndpointRequestRequestTypeDef definition
class CreateOriginEndpointRequestRequestTypeDef(TypedDict):
ChannelGroupName: str,
ChannelName: str,
OriginEndpointName: str,
ContainerType: ContainerTypeType, # (1)
Segment: NotRequired[SegmentTypeDef], # (2)
ClientToken: NotRequired[str],
Description: NotRequired[str],
StartoverWindowSeconds: NotRequired[int],
HlsManifests: NotRequired[Sequence[CreateHlsManifestConfigurationTypeDef]], # (3)
LowLatencyHlsManifests: NotRequired[Sequence[CreateLowLatencyHlsManifestConfigurationTypeDef]], # (4)
Tags: NotRequired[Mapping[str, str]],
- See ContainerTypeType
- See SegmentTypeDef
- See CreateHlsManifestConfigurationTypeDef
- See CreateLowLatencyHlsManifestConfigurationTypeDef
CreateOriginEndpointResponseTypeDef#
# CreateOriginEndpointResponseTypeDef definition
class CreateOriginEndpointResponseTypeDef(TypedDict):
Arn: str,
ChannelGroupName: str,
ChannelName: str,
OriginEndpointName: str,
ContainerType: ContainerTypeType, # (1)
Segment: SegmentTypeDef, # (2)
CreatedAt: datetime,
ModifiedAt: datetime,
Description: str,
StartoverWindowSeconds: int,
HlsManifests: List[GetHlsManifestConfigurationTypeDef], # (3)
LowLatencyHlsManifests: List[GetLowLatencyHlsManifestConfigurationTypeDef], # (4)
Tags: Dict[str, str],
ResponseMetadata: ResponseMetadataTypeDef, # (5)
- See ContainerTypeType
- See SegmentTypeDef
- See GetHlsManifestConfigurationTypeDef
- See GetLowLatencyHlsManifestConfigurationTypeDef
- See ResponseMetadataTypeDef
GetOriginEndpointResponseTypeDef#
# GetOriginEndpointResponseTypeDef definition
class GetOriginEndpointResponseTypeDef(TypedDict):
Arn: str,
ChannelGroupName: str,
ChannelName: str,
OriginEndpointName: str,
ContainerType: ContainerTypeType, # (1)
Segment: SegmentTypeDef, # (2)
CreatedAt: datetime,
ModifiedAt: datetime,
Description: str,
StartoverWindowSeconds: int,
HlsManifests: List[GetHlsManifestConfigurationTypeDef], # (3)
LowLatencyHlsManifests: List[GetLowLatencyHlsManifestConfigurationTypeDef], # (4)
Tags: Dict[str, str],
ResponseMetadata: ResponseMetadataTypeDef, # (5)
- See ContainerTypeType
- See SegmentTypeDef
- See GetHlsManifestConfigurationTypeDef
- See GetLowLatencyHlsManifestConfigurationTypeDef
- See ResponseMetadataTypeDef
UpdateOriginEndpointRequestRequestTypeDef#
# UpdateOriginEndpointRequestRequestTypeDef definition
class UpdateOriginEndpointRequestRequestTypeDef(TypedDict):
ChannelGroupName: str,
ChannelName: str,
OriginEndpointName: str,
ContainerType: ContainerTypeType, # (1)
Segment: NotRequired[SegmentTypeDef], # (2)
Description: NotRequired[str],
StartoverWindowSeconds: NotRequired[int],
HlsManifests: NotRequired[Sequence[CreateHlsManifestConfigurationTypeDef]], # (3)
LowLatencyHlsManifests: NotRequired[Sequence[CreateLowLatencyHlsManifestConfigurationTypeDef]], # (4)
- See ContainerTypeType
- See SegmentTypeDef
- See CreateHlsManifestConfigurationTypeDef
- See CreateLowLatencyHlsManifestConfigurationTypeDef
UpdateOriginEndpointResponseTypeDef#
# UpdateOriginEndpointResponseTypeDef definition
class UpdateOriginEndpointResponseTypeDef(TypedDict):
Arn: str,
ChannelGroupName: str,
ChannelName: str,
OriginEndpointName: str,
ContainerType: ContainerTypeType, # (1)
Segment: SegmentTypeDef, # (2)
CreatedAt: datetime,
ModifiedAt: datetime,
Description: str,
StartoverWindowSeconds: int,
HlsManifests: List[GetHlsManifestConfigurationTypeDef], # (3)
LowLatencyHlsManifests: List[GetLowLatencyHlsManifestConfigurationTypeDef], # (4)
Tags: Dict[str, str],
ResponseMetadata: ResponseMetadataTypeDef, # (5)