Type definitions#
Index > Mediapackagev2 > Type definitions
Auto-generated documentation for Mediapackagev2 type annotations stubs module types-boto3-mediapackagev2.
TimestampTypeDef#
# TimestampTypeDef Union usage example
from types_boto3_mediapackagev2.type_defs import TimestampTypeDef
def get_value() -> TimestampTypeDef:
return ...
# TimestampTypeDef definition
TimestampTypeDef = Union[
datetime,
str,
]
ForceEndpointErrorConfigurationUnionTypeDef#
# ForceEndpointErrorConfigurationUnionTypeDef Union usage example
from types_boto3_mediapackagev2.type_defs import ForceEndpointErrorConfigurationUnionTypeDef
def get_value() -> ForceEndpointErrorConfigurationUnionTypeDef:
return ...
# ForceEndpointErrorConfigurationUnionTypeDef definition
ForceEndpointErrorConfigurationUnionTypeDef = Union[
ForceEndpointErrorConfigurationTypeDef, # (1)
ForceEndpointErrorConfigurationOutputTypeDef, # (2)
]
FilterConfigurationUnionTypeDef#
# FilterConfigurationUnionTypeDef Union usage example
from types_boto3_mediapackagev2.type_defs import FilterConfigurationUnionTypeDef
def get_value() -> FilterConfigurationUnionTypeDef:
return ...
# FilterConfigurationUnionTypeDef definition
FilterConfigurationUnionTypeDef = Union[
FilterConfigurationTypeDef, # (1)
FilterConfigurationOutputTypeDef, # (2)
]
HarvesterScheduleConfigurationUnionTypeDef#
# HarvesterScheduleConfigurationUnionTypeDef Union usage example
from types_boto3_mediapackagev2.type_defs import HarvesterScheduleConfigurationUnionTypeDef
def get_value() -> HarvesterScheduleConfigurationUnionTypeDef:
return ...
# HarvesterScheduleConfigurationUnionTypeDef definition
HarvesterScheduleConfigurationUnionTypeDef = Union[
HarvesterScheduleConfigurationTypeDef, # (1)
HarvesterScheduleConfigurationOutputTypeDef, # (2)
]
HarvestedManifestsUnionTypeDef#
# HarvestedManifestsUnionTypeDef Union usage example
from types_boto3_mediapackagev2.type_defs import HarvestedManifestsUnionTypeDef
def get_value() -> HarvestedManifestsUnionTypeDef:
return ...
# HarvestedManifestsUnionTypeDef definition
HarvestedManifestsUnionTypeDef = Union[
HarvestedManifestsTypeDef, # (1)
HarvestedManifestsOutputTypeDef, # (2)
]
SegmentUnionTypeDef#
# SegmentUnionTypeDef Union usage example
from types_boto3_mediapackagev2.type_defs import SegmentUnionTypeDef
def get_value() -> SegmentUnionTypeDef:
return ...
# SegmentUnionTypeDef definition
SegmentUnionTypeDef = Union[
SegmentTypeDef, # (1)
SegmentOutputTypeDef, # (2)
]
- See SegmentTypeDef
- See SegmentOutputTypeDef
CancelHarvestJobRequestTypeDef#
# CancelHarvestJobRequestTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import CancelHarvestJobRequestTypeDef
def get_value() -> CancelHarvestJobRequestTypeDef:
return {
"ChannelGroupName": ...,
}
# CancelHarvestJobRequestTypeDef definition
class CancelHarvestJobRequestTypeDef(TypedDict):
ChannelGroupName: str,
ChannelName: str,
OriginEndpointName: str,
HarvestJobName: str,
ETag: NotRequired[str],
ChannelGroupListConfigurationTypeDef#
# ChannelGroupListConfigurationTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import ChannelGroupListConfigurationTypeDef
def get_value() -> ChannelGroupListConfigurationTypeDef:
return {
"ChannelGroupName": ...,
}
# ChannelGroupListConfigurationTypeDef definition
class ChannelGroupListConfigurationTypeDef(TypedDict):
ChannelGroupName: str,
Arn: str,
CreatedAt: datetime,
ModifiedAt: datetime,
Description: NotRequired[str],
ChannelListConfigurationTypeDef#
# ChannelListConfigurationTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import ChannelListConfigurationTypeDef
def get_value() -> ChannelListConfigurationTypeDef:
return {
"Arn": ...,
}
# ChannelListConfigurationTypeDef definition
class ChannelListConfigurationTypeDef(TypedDict):
Arn: str,
ChannelName: str,
ChannelGroupName: str,
CreatedAt: datetime,
ModifiedAt: datetime,
Description: NotRequired[str],
InputType: NotRequired[InputTypeType], # (1)
- See InputTypeType
CreateChannelGroupRequestTypeDef#
# CreateChannelGroupRequestTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import CreateChannelGroupRequestTypeDef
def get_value() -> CreateChannelGroupRequestTypeDef:
return {
"ChannelGroupName": ...,
}
# CreateChannelGroupRequestTypeDef definition
class CreateChannelGroupRequestTypeDef(TypedDict):
ChannelGroupName: str,
ClientToken: NotRequired[str],
Description: NotRequired[str],
Tags: NotRequired[Mapping[str, str]],
ResponseMetadataTypeDef#
# ResponseMetadataTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import ResponseMetadataTypeDef
def get_value() -> ResponseMetadataTypeDef:
return {
"RequestId": ...,
}
# ResponseMetadataTypeDef definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HTTPStatusCode: int,
HTTPHeaders: Dict[str, str],
RetryAttempts: int,
HostId: NotRequired[str],
InputSwitchConfigurationTypeDef#
# InputSwitchConfigurationTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import InputSwitchConfigurationTypeDef
def get_value() -> InputSwitchConfigurationTypeDef:
return {
"MQCSInputSwitching": ...,
}
# InputSwitchConfigurationTypeDef definition
class InputSwitchConfigurationTypeDef(TypedDict):
MQCSInputSwitching: NotRequired[bool],
OutputHeaderConfigurationTypeDef#
# OutputHeaderConfigurationTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import OutputHeaderConfigurationTypeDef
def get_value() -> OutputHeaderConfigurationTypeDef:
return {
"PublishMQCS": ...,
}
# OutputHeaderConfigurationTypeDef definition
class OutputHeaderConfigurationTypeDef(TypedDict):
PublishMQCS: NotRequired[bool],
IngestEndpointTypeDef#
# IngestEndpointTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import IngestEndpointTypeDef
def get_value() -> IngestEndpointTypeDef:
return {
"Id": ...,
}
# IngestEndpointTypeDef definition
class IngestEndpointTypeDef(TypedDict):
Id: NotRequired[str],
Url: NotRequired[str],
DashUtcTimingTypeDef#
# DashUtcTimingTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import DashUtcTimingTypeDef
def get_value() -> DashUtcTimingTypeDef:
return {
"TimingMode": ...,
}
# DashUtcTimingTypeDef definition
class DashUtcTimingTypeDef(TypedDict):
TimingMode: NotRequired[DashUtcTimingModeType], # (1)
TimingSource: NotRequired[str],
ScteDashTypeDef#
# ScteDashTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import ScteDashTypeDef
def get_value() -> ScteDashTypeDef:
return {
"AdMarkerDash": ...,
}
# ScteDashTypeDef definition
class ScteDashTypeDef(TypedDict):
AdMarkerDash: NotRequired[AdMarkerDashType], # (1)
- See AdMarkerDashType
HarvesterScheduleConfigurationOutputTypeDef#
# HarvesterScheduleConfigurationOutputTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import HarvesterScheduleConfigurationOutputTypeDef
def get_value() -> HarvesterScheduleConfigurationOutputTypeDef:
return {
"StartTime": ...,
}
# HarvesterScheduleConfigurationOutputTypeDef definition
class HarvesterScheduleConfigurationOutputTypeDef(TypedDict):
StartTime: datetime,
EndTime: datetime,
ScteHlsTypeDef#
# ScteHlsTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import ScteHlsTypeDef
def get_value() -> ScteHlsTypeDef:
return {
"AdMarkerHls": ...,
}
# ScteHlsTypeDef definition
class ScteHlsTypeDef(TypedDict):
AdMarkerHls: NotRequired[AdMarkerHlsType], # (1)
- See AdMarkerHlsType
StartTagTypeDef#
# StartTagTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import StartTagTypeDef
def get_value() -> StartTagTypeDef:
return {
"TimeOffset": ...,
}
# StartTagTypeDef definition
class StartTagTypeDef(TypedDict):
TimeOffset: float,
Precise: NotRequired[bool],
ForceEndpointErrorConfigurationOutputTypeDef#
# ForceEndpointErrorConfigurationOutputTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import ForceEndpointErrorConfigurationOutputTypeDef
def get_value() -> ForceEndpointErrorConfigurationOutputTypeDef:
return {
"EndpointErrorConditions": ...,
}
# ForceEndpointErrorConfigurationOutputTypeDef definition
class ForceEndpointErrorConfigurationOutputTypeDef(TypedDict):
EndpointErrorConditions: NotRequired[List[EndpointErrorConditionType]], # (1)
DeleteChannelGroupRequestTypeDef#
# DeleteChannelGroupRequestTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import DeleteChannelGroupRequestTypeDef
def get_value() -> DeleteChannelGroupRequestTypeDef:
return {
"ChannelGroupName": ...,
}
# DeleteChannelGroupRequestTypeDef definition
class DeleteChannelGroupRequestTypeDef(TypedDict):
ChannelGroupName: str,
DeleteChannelPolicyRequestTypeDef#
# DeleteChannelPolicyRequestTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import DeleteChannelPolicyRequestTypeDef
def get_value() -> DeleteChannelPolicyRequestTypeDef:
return {
"ChannelGroupName": ...,
}
# DeleteChannelPolicyRequestTypeDef definition
class DeleteChannelPolicyRequestTypeDef(TypedDict):
ChannelGroupName: str,
ChannelName: str,
DeleteChannelRequestTypeDef#
# DeleteChannelRequestTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import DeleteChannelRequestTypeDef
def get_value() -> DeleteChannelRequestTypeDef:
return {
"ChannelGroupName": ...,
}
# DeleteChannelRequestTypeDef definition
class DeleteChannelRequestTypeDef(TypedDict):
ChannelGroupName: str,
ChannelName: str,
DeleteOriginEndpointPolicyRequestTypeDef#
# DeleteOriginEndpointPolicyRequestTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import DeleteOriginEndpointPolicyRequestTypeDef
def get_value() -> DeleteOriginEndpointPolicyRequestTypeDef:
return {
"ChannelGroupName": ...,
}
# DeleteOriginEndpointPolicyRequestTypeDef definition
class DeleteOriginEndpointPolicyRequestTypeDef(TypedDict):
ChannelGroupName: str,
ChannelName: str,
OriginEndpointName: str,
DeleteOriginEndpointRequestTypeDef#
# DeleteOriginEndpointRequestTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import DeleteOriginEndpointRequestTypeDef
def get_value() -> DeleteOriginEndpointRequestTypeDef:
return {
"ChannelGroupName": ...,
}
# DeleteOriginEndpointRequestTypeDef definition
class DeleteOriginEndpointRequestTypeDef(TypedDict):
ChannelGroupName: str,
ChannelName: str,
OriginEndpointName: str,
S3DestinationConfigTypeDef#
# S3DestinationConfigTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import S3DestinationConfigTypeDef
def get_value() -> S3DestinationConfigTypeDef:
return {
"BucketName": ...,
}
# S3DestinationConfigTypeDef definition
class S3DestinationConfigTypeDef(TypedDict):
BucketName: str,
DestinationPath: str,
EncryptionContractConfigurationTypeDef#
# EncryptionContractConfigurationTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import EncryptionContractConfigurationTypeDef
def get_value() -> EncryptionContractConfigurationTypeDef:
return {
"PresetSpeke20Audio": ...,
}
# EncryptionContractConfigurationTypeDef definition
class EncryptionContractConfigurationTypeDef(TypedDict):
PresetSpeke20Audio: PresetSpeke20AudioType, # (1)
PresetSpeke20Video: PresetSpeke20VideoType, # (2)
EncryptionMethodTypeDef#
# EncryptionMethodTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import EncryptionMethodTypeDef
def get_value() -> EncryptionMethodTypeDef:
return {
"TsEncryptionMethod": ...,
}
# EncryptionMethodTypeDef definition
class EncryptionMethodTypeDef(TypedDict):
TsEncryptionMethod: NotRequired[TsEncryptionMethodType], # (1)
CmafEncryptionMethod: NotRequired[CmafEncryptionMethodType], # (2)
FilterConfigurationOutputTypeDef#
# FilterConfigurationOutputTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import FilterConfigurationOutputTypeDef
def get_value() -> FilterConfigurationOutputTypeDef:
return {
"ManifestFilter": ...,
}
# FilterConfigurationOutputTypeDef definition
class FilterConfigurationOutputTypeDef(TypedDict):
ManifestFilter: NotRequired[str],
Start: NotRequired[datetime],
End: NotRequired[datetime],
TimeDelaySeconds: NotRequired[int],
ClipStartTime: NotRequired[datetime],
ForceEndpointErrorConfigurationTypeDef#
# ForceEndpointErrorConfigurationTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import ForceEndpointErrorConfigurationTypeDef
def get_value() -> ForceEndpointErrorConfigurationTypeDef:
return {
"EndpointErrorConditions": ...,
}
# ForceEndpointErrorConfigurationTypeDef definition
class ForceEndpointErrorConfigurationTypeDef(TypedDict):
EndpointErrorConditions: NotRequired[Sequence[EndpointErrorConditionType]], # (1)
GetChannelGroupRequestTypeDef#
# GetChannelGroupRequestTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import GetChannelGroupRequestTypeDef
def get_value() -> GetChannelGroupRequestTypeDef:
return {
"ChannelGroupName": ...,
}
# GetChannelGroupRequestTypeDef definition
class GetChannelGroupRequestTypeDef(TypedDict):
ChannelGroupName: str,
GetChannelPolicyRequestTypeDef#
# GetChannelPolicyRequestTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import GetChannelPolicyRequestTypeDef
def get_value() -> GetChannelPolicyRequestTypeDef:
return {
"ChannelGroupName": ...,
}
# GetChannelPolicyRequestTypeDef definition
class GetChannelPolicyRequestTypeDef(TypedDict):
ChannelGroupName: str,
ChannelName: str,
GetChannelRequestTypeDef#
# GetChannelRequestTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import GetChannelRequestTypeDef
def get_value() -> GetChannelRequestTypeDef:
return {
"ChannelGroupName": ...,
}
# GetChannelRequestTypeDef definition
class GetChannelRequestTypeDef(TypedDict):
ChannelGroupName: str,
ChannelName: str,
GetHarvestJobRequestTypeDef#
# GetHarvestJobRequestTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import GetHarvestJobRequestTypeDef
def get_value() -> GetHarvestJobRequestTypeDef:
return {
"ChannelGroupName": ...,
}
# GetHarvestJobRequestTypeDef definition
class GetHarvestJobRequestTypeDef(TypedDict):
ChannelGroupName: str,
ChannelName: str,
OriginEndpointName: str,
HarvestJobName: str,
WaiterConfigTypeDef#
# WaiterConfigTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import WaiterConfigTypeDef
def get_value() -> WaiterConfigTypeDef:
return {
"Delay": ...,
}
# WaiterConfigTypeDef definition
class WaiterConfigTypeDef(TypedDict):
Delay: NotRequired[int],
MaxAttempts: NotRequired[int],
GetOriginEndpointPolicyRequestTypeDef#
# GetOriginEndpointPolicyRequestTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import GetOriginEndpointPolicyRequestTypeDef
def get_value() -> GetOriginEndpointPolicyRequestTypeDef:
return {
"ChannelGroupName": ...,
}
# GetOriginEndpointPolicyRequestTypeDef definition
class GetOriginEndpointPolicyRequestTypeDef(TypedDict):
ChannelGroupName: str,
ChannelName: str,
OriginEndpointName: str,
GetOriginEndpointRequestTypeDef#
# GetOriginEndpointRequestTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import GetOriginEndpointRequestTypeDef
def get_value() -> GetOriginEndpointRequestTypeDef:
return {
"ChannelGroupName": ...,
}
# GetOriginEndpointRequestTypeDef definition
class GetOriginEndpointRequestTypeDef(TypedDict):
ChannelGroupName: str,
ChannelName: str,
OriginEndpointName: str,
HarvestedDashManifestTypeDef#
# HarvestedDashManifestTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import HarvestedDashManifestTypeDef
def get_value() -> HarvestedDashManifestTypeDef:
return {
"ManifestName": ...,
}
# HarvestedDashManifestTypeDef definition
class HarvestedDashManifestTypeDef(TypedDict):
ManifestName: str,
HarvestedHlsManifestTypeDef#
# HarvestedHlsManifestTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import HarvestedHlsManifestTypeDef
def get_value() -> HarvestedHlsManifestTypeDef:
return {
"ManifestName": ...,
}
# HarvestedHlsManifestTypeDef definition
class HarvestedHlsManifestTypeDef(TypedDict):
ManifestName: str,
HarvestedLowLatencyHlsManifestTypeDef#
# HarvestedLowLatencyHlsManifestTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import HarvestedLowLatencyHlsManifestTypeDef
def get_value() -> HarvestedLowLatencyHlsManifestTypeDef:
return {
"ManifestName": ...,
}
# HarvestedLowLatencyHlsManifestTypeDef definition
class HarvestedLowLatencyHlsManifestTypeDef(TypedDict):
ManifestName: str,
PaginatorConfigTypeDef#
# PaginatorConfigTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import PaginatorConfigTypeDef
def get_value() -> PaginatorConfigTypeDef:
return {
"MaxItems": ...,
}
# PaginatorConfigTypeDef definition
class PaginatorConfigTypeDef(TypedDict):
MaxItems: NotRequired[int],
PageSize: NotRequired[int],
StartingToken: NotRequired[str],
ListChannelGroupsRequestTypeDef#
# ListChannelGroupsRequestTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import ListChannelGroupsRequestTypeDef
def get_value() -> ListChannelGroupsRequestTypeDef:
return {
"MaxResults": ...,
}
# ListChannelGroupsRequestTypeDef definition
class ListChannelGroupsRequestTypeDef(TypedDict):
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
ListChannelsRequestTypeDef#
# ListChannelsRequestTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import ListChannelsRequestTypeDef
def get_value() -> ListChannelsRequestTypeDef:
return {
"ChannelGroupName": ...,
}
# ListChannelsRequestTypeDef definition
class ListChannelsRequestTypeDef(TypedDict):
ChannelGroupName: str,
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
ListDashManifestConfigurationTypeDef#
# ListDashManifestConfigurationTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import ListDashManifestConfigurationTypeDef
def get_value() -> ListDashManifestConfigurationTypeDef:
return {
"ManifestName": ...,
}
# ListDashManifestConfigurationTypeDef definition
class ListDashManifestConfigurationTypeDef(TypedDict):
ManifestName: str,
Url: NotRequired[str],
ListHarvestJobsRequestTypeDef#
# ListHarvestJobsRequestTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import ListHarvestJobsRequestTypeDef
def get_value() -> ListHarvestJobsRequestTypeDef:
return {
"ChannelGroupName": ...,
}
# ListHarvestJobsRequestTypeDef definition
class ListHarvestJobsRequestTypeDef(TypedDict):
ChannelGroupName: str,
ChannelName: NotRequired[str],
OriginEndpointName: NotRequired[str],
Status: NotRequired[HarvestJobStatusType], # (1)
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
ListHlsManifestConfigurationTypeDef#
# ListHlsManifestConfigurationTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import ListHlsManifestConfigurationTypeDef
def get_value() -> ListHlsManifestConfigurationTypeDef:
return {
"ManifestName": ...,
}
# ListHlsManifestConfigurationTypeDef definition
class ListHlsManifestConfigurationTypeDef(TypedDict):
ManifestName: str,
ChildManifestName: NotRequired[str],
Url: NotRequired[str],
ListLowLatencyHlsManifestConfigurationTypeDef#
# ListLowLatencyHlsManifestConfigurationTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import ListLowLatencyHlsManifestConfigurationTypeDef
def get_value() -> ListLowLatencyHlsManifestConfigurationTypeDef:
return {
"ManifestName": ...,
}
# ListLowLatencyHlsManifestConfigurationTypeDef definition
class ListLowLatencyHlsManifestConfigurationTypeDef(TypedDict):
ManifestName: str,
ChildManifestName: NotRequired[str],
Url: NotRequired[str],
ListOriginEndpointsRequestTypeDef#
# ListOriginEndpointsRequestTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import ListOriginEndpointsRequestTypeDef
def get_value() -> ListOriginEndpointsRequestTypeDef:
return {
"ChannelGroupName": ...,
}
# ListOriginEndpointsRequestTypeDef definition
class ListOriginEndpointsRequestTypeDef(TypedDict):
ChannelGroupName: str,
ChannelName: str,
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
ListTagsForResourceRequestTypeDef#
# ListTagsForResourceRequestTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import ListTagsForResourceRequestTypeDef
def get_value() -> ListTagsForResourceRequestTypeDef:
return {
"ResourceArn": ...,
}
# ListTagsForResourceRequestTypeDef definition
class ListTagsForResourceRequestTypeDef(TypedDict):
ResourceArn: str,
PutChannelPolicyRequestTypeDef#
# PutChannelPolicyRequestTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import PutChannelPolicyRequestTypeDef
def get_value() -> PutChannelPolicyRequestTypeDef:
return {
"ChannelGroupName": ...,
}
# PutChannelPolicyRequestTypeDef definition
class PutChannelPolicyRequestTypeDef(TypedDict):
ChannelGroupName: str,
ChannelName: str,
Policy: str,
PutOriginEndpointPolicyRequestTypeDef#
# PutOriginEndpointPolicyRequestTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import PutOriginEndpointPolicyRequestTypeDef
def get_value() -> PutOriginEndpointPolicyRequestTypeDef:
return {
"ChannelGroupName": ...,
}
# PutOriginEndpointPolicyRequestTypeDef definition
class PutOriginEndpointPolicyRequestTypeDef(TypedDict):
ChannelGroupName: str,
ChannelName: str,
OriginEndpointName: str,
Policy: str,
ScteOutputTypeDef#
# ScteOutputTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import ScteOutputTypeDef
def get_value() -> ScteOutputTypeDef:
return {
"ScteFilter": ...,
}
# ScteOutputTypeDef definition
class ScteOutputTypeDef(TypedDict):
ScteFilter: NotRequired[List[ScteFilterType]], # (1)
- See ScteFilterType
ScteTypeDef#
# ScteTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import ScteTypeDef
def get_value() -> ScteTypeDef:
return {
"ScteFilter": ...,
}
# ScteTypeDef definition
class ScteTypeDef(TypedDict):
ScteFilter: NotRequired[Sequence[ScteFilterType]], # (1)
- See ScteFilterType
TagResourceRequestTypeDef#
# TagResourceRequestTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import TagResourceRequestTypeDef
def get_value() -> TagResourceRequestTypeDef:
return {
"ResourceArn": ...,
}
# TagResourceRequestTypeDef definition
class TagResourceRequestTypeDef(TypedDict):
ResourceArn: str,
Tags: Mapping[str, str],
UntagResourceRequestTypeDef#
# UntagResourceRequestTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import UntagResourceRequestTypeDef
def get_value() -> UntagResourceRequestTypeDef:
return {
"ResourceArn": ...,
}
# UntagResourceRequestTypeDef definition
class UntagResourceRequestTypeDef(TypedDict):
ResourceArn: str,
TagKeys: Sequence[str],
UpdateChannelGroupRequestTypeDef#
# UpdateChannelGroupRequestTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import UpdateChannelGroupRequestTypeDef
def get_value() -> UpdateChannelGroupRequestTypeDef:
return {
"ChannelGroupName": ...,
}
# UpdateChannelGroupRequestTypeDef definition
class UpdateChannelGroupRequestTypeDef(TypedDict):
ChannelGroupName: str,
ETag: NotRequired[str],
Description: NotRequired[str],
CreateChannelGroupResponseTypeDef#
# CreateChannelGroupResponseTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import CreateChannelGroupResponseTypeDef
def get_value() -> CreateChannelGroupResponseTypeDef:
return {
"ChannelGroupName": ...,
}
# CreateChannelGroupResponseTypeDef definition
class CreateChannelGroupResponseTypeDef(TypedDict):
ChannelGroupName: str,
Arn: str,
EgressDomain: str,
CreatedAt: datetime,
ModifiedAt: datetime,
ETag: str,
Description: str,
Tags: Dict[str, str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
EmptyResponseMetadataTypeDef#
# EmptyResponseMetadataTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import EmptyResponseMetadataTypeDef
def get_value() -> EmptyResponseMetadataTypeDef:
return {
"ResponseMetadata": ...,
}
# EmptyResponseMetadataTypeDef definition
class EmptyResponseMetadataTypeDef(TypedDict):
ResponseMetadata: ResponseMetadataTypeDef, # (1)
GetChannelGroupResponseTypeDef#
# GetChannelGroupResponseTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import GetChannelGroupResponseTypeDef
def get_value() -> GetChannelGroupResponseTypeDef:
return {
"ChannelGroupName": ...,
}
# GetChannelGroupResponseTypeDef definition
class GetChannelGroupResponseTypeDef(TypedDict):
ChannelGroupName: str,
Arn: str,
EgressDomain: str,
CreatedAt: datetime,
ModifiedAt: datetime,
Description: str,
ETag: str,
Tags: Dict[str, str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
GetChannelPolicyResponseTypeDef#
# GetChannelPolicyResponseTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import GetChannelPolicyResponseTypeDef
def get_value() -> GetChannelPolicyResponseTypeDef:
return {
"ChannelGroupName": ...,
}
# GetChannelPolicyResponseTypeDef definition
class GetChannelPolicyResponseTypeDef(TypedDict):
ChannelGroupName: str,
ChannelName: str,
Policy: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
GetOriginEndpointPolicyResponseTypeDef#
# GetOriginEndpointPolicyResponseTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import GetOriginEndpointPolicyResponseTypeDef
def get_value() -> GetOriginEndpointPolicyResponseTypeDef:
return {
"ChannelGroupName": ...,
}
# GetOriginEndpointPolicyResponseTypeDef definition
class GetOriginEndpointPolicyResponseTypeDef(TypedDict):
ChannelGroupName: str,
ChannelName: str,
OriginEndpointName: str,
Policy: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
ListChannelGroupsResponseTypeDef#
# ListChannelGroupsResponseTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import ListChannelGroupsResponseTypeDef
def get_value() -> ListChannelGroupsResponseTypeDef:
return {
"Items": ...,
}
# ListChannelGroupsResponseTypeDef definition
class ListChannelGroupsResponseTypeDef(TypedDict):
Items: List[ChannelGroupListConfigurationTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
ListChannelsResponseTypeDef#
# ListChannelsResponseTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import ListChannelsResponseTypeDef
def get_value() -> ListChannelsResponseTypeDef:
return {
"Items": ...,
}
# ListChannelsResponseTypeDef definition
class ListChannelsResponseTypeDef(TypedDict):
Items: List[ChannelListConfigurationTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
ListTagsForResourceResponseTypeDef#
# ListTagsForResourceResponseTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import ListTagsForResourceResponseTypeDef
def get_value() -> ListTagsForResourceResponseTypeDef:
return {
"Tags": ...,
}
# ListTagsForResourceResponseTypeDef definition
class ListTagsForResourceResponseTypeDef(TypedDict):
Tags: Dict[str, str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
UpdateChannelGroupResponseTypeDef#
# UpdateChannelGroupResponseTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import UpdateChannelGroupResponseTypeDef
def get_value() -> UpdateChannelGroupResponseTypeDef:
return {
"ChannelGroupName": ...,
}
# UpdateChannelGroupResponseTypeDef definition
class UpdateChannelGroupResponseTypeDef(TypedDict):
ChannelGroupName: str,
Arn: str,
EgressDomain: str,
CreatedAt: datetime,
ModifiedAt: datetime,
Description: str,
ETag: str,
Tags: Dict[str, str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
CreateChannelRequestTypeDef#
# CreateChannelRequestTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import CreateChannelRequestTypeDef
def get_value() -> CreateChannelRequestTypeDef:
return {
"ChannelGroupName": ...,
}
# CreateChannelRequestTypeDef definition
class CreateChannelRequestTypeDef(TypedDict):
ChannelGroupName: str,
ChannelName: str,
ClientToken: NotRequired[str],
InputType: NotRequired[InputTypeType], # (1)
Description: NotRequired[str],
InputSwitchConfiguration: NotRequired[InputSwitchConfigurationTypeDef], # (2)
OutputHeaderConfiguration: NotRequired[OutputHeaderConfigurationTypeDef], # (3)
Tags: NotRequired[Mapping[str, str]],
UpdateChannelRequestTypeDef#
# UpdateChannelRequestTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import UpdateChannelRequestTypeDef
def get_value() -> UpdateChannelRequestTypeDef:
return {
"ChannelGroupName": ...,
}
# UpdateChannelRequestTypeDef definition
class UpdateChannelRequestTypeDef(TypedDict):
ChannelGroupName: str,
ChannelName: str,
ETag: NotRequired[str],
Description: NotRequired[str],
InputSwitchConfiguration: NotRequired[InputSwitchConfigurationTypeDef], # (1)
OutputHeaderConfiguration: NotRequired[OutputHeaderConfigurationTypeDef], # (2)
CreateChannelResponseTypeDef#
# CreateChannelResponseTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import CreateChannelResponseTypeDef
def get_value() -> CreateChannelResponseTypeDef:
return {
"Arn": ...,
}
# CreateChannelResponseTypeDef definition
class CreateChannelResponseTypeDef(TypedDict):
Arn: str,
ChannelName: str,
ChannelGroupName: str,
CreatedAt: datetime,
ModifiedAt: datetime,
Description: str,
IngestEndpoints: List[IngestEndpointTypeDef], # (1)
InputType: InputTypeType, # (2)
ETag: str,
Tags: Dict[str, str],
InputSwitchConfiguration: InputSwitchConfigurationTypeDef, # (3)
OutputHeaderConfiguration: OutputHeaderConfigurationTypeDef, # (4)
ResponseMetadata: ResponseMetadataTypeDef, # (5)
- See IngestEndpointTypeDef
- See InputTypeType
- See InputSwitchConfigurationTypeDef
- See OutputHeaderConfigurationTypeDef
- See ResponseMetadataTypeDef
GetChannelResponseTypeDef#
# GetChannelResponseTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import GetChannelResponseTypeDef
def get_value() -> GetChannelResponseTypeDef:
return {
"Arn": ...,
}
# GetChannelResponseTypeDef definition
class GetChannelResponseTypeDef(TypedDict):
Arn: str,
ChannelName: str,
ChannelGroupName: str,
CreatedAt: datetime,
ModifiedAt: datetime,
Description: str,
IngestEndpoints: List[IngestEndpointTypeDef], # (1)
InputType: InputTypeType, # (2)
ETag: str,
Tags: Dict[str, str],
InputSwitchConfiguration: InputSwitchConfigurationTypeDef, # (3)
OutputHeaderConfiguration: OutputHeaderConfigurationTypeDef, # (4)
ResponseMetadata: ResponseMetadataTypeDef, # (5)
- See IngestEndpointTypeDef
- See InputTypeType
- See InputSwitchConfigurationTypeDef
- See OutputHeaderConfigurationTypeDef
- See ResponseMetadataTypeDef
UpdateChannelResponseTypeDef#
# UpdateChannelResponseTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import UpdateChannelResponseTypeDef
def get_value() -> UpdateChannelResponseTypeDef:
return {
"Arn": ...,
}
# UpdateChannelResponseTypeDef definition
class UpdateChannelResponseTypeDef(TypedDict):
Arn: str,
ChannelName: str,
ChannelGroupName: str,
CreatedAt: datetime,
ModifiedAt: datetime,
Description: str,
IngestEndpoints: List[IngestEndpointTypeDef], # (1)
InputType: InputTypeType, # (2)
ETag: str,
Tags: Dict[str, str],
InputSwitchConfiguration: InputSwitchConfigurationTypeDef, # (3)
OutputHeaderConfiguration: OutputHeaderConfigurationTypeDef, # (4)
ResponseMetadata: ResponseMetadataTypeDef, # (5)
- See IngestEndpointTypeDef
- See InputTypeType
- See InputSwitchConfigurationTypeDef
- See OutputHeaderConfigurationTypeDef
- See ResponseMetadataTypeDef
DestinationTypeDef#
# DestinationTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import DestinationTypeDef
def get_value() -> DestinationTypeDef:
return {
"S3Destination": ...,
}
# DestinationTypeDef definition
class DestinationTypeDef(TypedDict):
S3Destination: S3DestinationConfigTypeDef, # (1)
SpekeKeyProviderOutputTypeDef#
# SpekeKeyProviderOutputTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import SpekeKeyProviderOutputTypeDef
def get_value() -> SpekeKeyProviderOutputTypeDef:
return {
"EncryptionContractConfiguration": ...,
}
# SpekeKeyProviderOutputTypeDef definition
class SpekeKeyProviderOutputTypeDef(TypedDict):
EncryptionContractConfiguration: EncryptionContractConfigurationTypeDef, # (1)
ResourceId: str,
DrmSystems: List[DrmSystemType], # (2)
RoleArn: str,
Url: str,
SpekeKeyProviderTypeDef#
# SpekeKeyProviderTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import SpekeKeyProviderTypeDef
def get_value() -> SpekeKeyProviderTypeDef:
return {
"EncryptionContractConfiguration": ...,
}
# SpekeKeyProviderTypeDef definition
class SpekeKeyProviderTypeDef(TypedDict):
EncryptionContractConfiguration: EncryptionContractConfigurationTypeDef, # (1)
ResourceId: str,
DrmSystems: Sequence[DrmSystemType], # (2)
RoleArn: str,
Url: str,
GetDashManifestConfigurationTypeDef#
# GetDashManifestConfigurationTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import GetDashManifestConfigurationTypeDef
def get_value() -> GetDashManifestConfigurationTypeDef:
return {
"ManifestName": ...,
}
# GetDashManifestConfigurationTypeDef definition
class GetDashManifestConfigurationTypeDef(TypedDict):
ManifestName: str,
Url: str,
ManifestWindowSeconds: NotRequired[int],
FilterConfiguration: NotRequired[FilterConfigurationOutputTypeDef], # (1)
MinUpdatePeriodSeconds: NotRequired[int],
MinBufferTimeSeconds: NotRequired[int],
SuggestedPresentationDelaySeconds: NotRequired[int],
SegmentTemplateFormat: NotRequired[DashSegmentTemplateFormatType], # (2)
PeriodTriggers: NotRequired[List[DashPeriodTriggerType]], # (3)
ScteDash: NotRequired[ScteDashTypeDef], # (4)
DrmSignaling: NotRequired[DashDrmSignalingType], # (5)
UtcTiming: NotRequired[DashUtcTimingTypeDef], # (6)
- See FilterConfigurationOutputTypeDef
- See DashSegmentTemplateFormatType
- See DashPeriodTriggerType
- See ScteDashTypeDef
- See DashDrmSignalingType
- See DashUtcTimingTypeDef
GetHlsManifestConfigurationTypeDef#
# GetHlsManifestConfigurationTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import GetHlsManifestConfigurationTypeDef
def get_value() -> GetHlsManifestConfigurationTypeDef:
return {
"ManifestName": ...,
}
# GetHlsManifestConfigurationTypeDef definition
class GetHlsManifestConfigurationTypeDef(TypedDict):
ManifestName: str,
Url: str,
ChildManifestName: NotRequired[str],
ManifestWindowSeconds: NotRequired[int],
ProgramDateTimeIntervalSeconds: NotRequired[int],
ScteHls: NotRequired[ScteHlsTypeDef], # (1)
FilterConfiguration: NotRequired[FilterConfigurationOutputTypeDef], # (2)
StartTag: NotRequired[StartTagTypeDef], # (3)
GetLowLatencyHlsManifestConfigurationTypeDef#
# GetLowLatencyHlsManifestConfigurationTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import GetLowLatencyHlsManifestConfigurationTypeDef
def get_value() -> GetLowLatencyHlsManifestConfigurationTypeDef:
return {
"ManifestName": ...,
}
# GetLowLatencyHlsManifestConfigurationTypeDef definition
class GetLowLatencyHlsManifestConfigurationTypeDef(TypedDict):
ManifestName: str,
Url: str,
ChildManifestName: NotRequired[str],
ManifestWindowSeconds: NotRequired[int],
ProgramDateTimeIntervalSeconds: NotRequired[int],
ScteHls: NotRequired[ScteHlsTypeDef], # (1)
FilterConfiguration: NotRequired[FilterConfigurationOutputTypeDef], # (2)
StartTag: NotRequired[StartTagTypeDef], # (3)
FilterConfigurationTypeDef#
# FilterConfigurationTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import FilterConfigurationTypeDef
def get_value() -> FilterConfigurationTypeDef:
return {
"ManifestFilter": ...,
}
# FilterConfigurationTypeDef definition
class FilterConfigurationTypeDef(TypedDict):
ManifestFilter: NotRequired[str],
Start: NotRequired[TimestampTypeDef],
End: NotRequired[TimestampTypeDef],
TimeDelaySeconds: NotRequired[int],
ClipStartTime: NotRequired[TimestampTypeDef],
HarvesterScheduleConfigurationTypeDef#
# HarvesterScheduleConfigurationTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import HarvesterScheduleConfigurationTypeDef
def get_value() -> HarvesterScheduleConfigurationTypeDef:
return {
"StartTime": ...,
}
# HarvesterScheduleConfigurationTypeDef definition
class HarvesterScheduleConfigurationTypeDef(TypedDict):
StartTime: TimestampTypeDef,
EndTime: TimestampTypeDef,
GetHarvestJobRequestWaitTypeDef#
# GetHarvestJobRequestWaitTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import GetHarvestJobRequestWaitTypeDef
def get_value() -> GetHarvestJobRequestWaitTypeDef:
return {
"ChannelGroupName": ...,
}
# GetHarvestJobRequestWaitTypeDef definition
class GetHarvestJobRequestWaitTypeDef(TypedDict):
ChannelGroupName: str,
ChannelName: str,
OriginEndpointName: str,
HarvestJobName: str,
WaiterConfig: NotRequired[WaiterConfigTypeDef], # (1)
HarvestedManifestsOutputTypeDef#
# HarvestedManifestsOutputTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import HarvestedManifestsOutputTypeDef
def get_value() -> HarvestedManifestsOutputTypeDef:
return {
"HlsManifests": ...,
}
# HarvestedManifestsOutputTypeDef definition
class HarvestedManifestsOutputTypeDef(TypedDict):
HlsManifests: NotRequired[List[HarvestedHlsManifestTypeDef]], # (1)
DashManifests: NotRequired[List[HarvestedDashManifestTypeDef]], # (2)
LowLatencyHlsManifests: NotRequired[List[HarvestedLowLatencyHlsManifestTypeDef]], # (3)
- See HarvestedHlsManifestTypeDef
- See HarvestedDashManifestTypeDef
- See HarvestedLowLatencyHlsManifestTypeDef
HarvestedManifestsTypeDef#
# HarvestedManifestsTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import HarvestedManifestsTypeDef
def get_value() -> HarvestedManifestsTypeDef:
return {
"HlsManifests": ...,
}
# HarvestedManifestsTypeDef definition
class HarvestedManifestsTypeDef(TypedDict):
HlsManifests: NotRequired[Sequence[HarvestedHlsManifestTypeDef]], # (1)
DashManifests: NotRequired[Sequence[HarvestedDashManifestTypeDef]], # (2)
LowLatencyHlsManifests: NotRequired[Sequence[HarvestedLowLatencyHlsManifestTypeDef]], # (3)
- See HarvestedHlsManifestTypeDef
- See HarvestedDashManifestTypeDef
- See HarvestedLowLatencyHlsManifestTypeDef
ListChannelGroupsRequestPaginateTypeDef#
# ListChannelGroupsRequestPaginateTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import ListChannelGroupsRequestPaginateTypeDef
def get_value() -> ListChannelGroupsRequestPaginateTypeDef:
return {
"PaginationConfig": ...,
}
# ListChannelGroupsRequestPaginateTypeDef definition
class ListChannelGroupsRequestPaginateTypeDef(TypedDict):
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListChannelsRequestPaginateTypeDef#
# ListChannelsRequestPaginateTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import ListChannelsRequestPaginateTypeDef
def get_value() -> ListChannelsRequestPaginateTypeDef:
return {
"ChannelGroupName": ...,
}
# ListChannelsRequestPaginateTypeDef definition
class ListChannelsRequestPaginateTypeDef(TypedDict):
ChannelGroupName: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListHarvestJobsRequestPaginateTypeDef#
# ListHarvestJobsRequestPaginateTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import ListHarvestJobsRequestPaginateTypeDef
def get_value() -> ListHarvestJobsRequestPaginateTypeDef:
return {
"ChannelGroupName": ...,
}
# ListHarvestJobsRequestPaginateTypeDef definition
class ListHarvestJobsRequestPaginateTypeDef(TypedDict):
ChannelGroupName: str,
ChannelName: NotRequired[str],
OriginEndpointName: NotRequired[str],
Status: NotRequired[HarvestJobStatusType], # (1)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
ListOriginEndpointsRequestPaginateTypeDef#
# ListOriginEndpointsRequestPaginateTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import ListOriginEndpointsRequestPaginateTypeDef
def get_value() -> ListOriginEndpointsRequestPaginateTypeDef:
return {
"ChannelGroupName": ...,
}
# ListOriginEndpointsRequestPaginateTypeDef definition
class ListOriginEndpointsRequestPaginateTypeDef(TypedDict):
ChannelGroupName: str,
ChannelName: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
OriginEndpointListConfigurationTypeDef#
# OriginEndpointListConfigurationTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import OriginEndpointListConfigurationTypeDef
def get_value() -> OriginEndpointListConfigurationTypeDef:
return {
"Arn": ...,
}
# 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)
DashManifests: NotRequired[List[ListDashManifestConfigurationTypeDef]], # (4)
ForceEndpointErrorConfiguration: NotRequired[ForceEndpointErrorConfigurationOutputTypeDef], # (5)
- See ContainerTypeType
- See ListHlsManifestConfigurationTypeDef
- See ListLowLatencyHlsManifestConfigurationTypeDef
- See ListDashManifestConfigurationTypeDef
- See ForceEndpointErrorConfigurationOutputTypeDef
EncryptionOutputTypeDef#
# EncryptionOutputTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import EncryptionOutputTypeDef
def get_value() -> EncryptionOutputTypeDef:
return {
"ConstantInitializationVector": ...,
}
# EncryptionOutputTypeDef definition
class EncryptionOutputTypeDef(TypedDict):
EncryptionMethod: EncryptionMethodTypeDef, # (1)
SpekeKeyProvider: SpekeKeyProviderOutputTypeDef, # (2)
ConstantInitializationVector: NotRequired[str],
KeyRotationIntervalSeconds: NotRequired[int],
EncryptionTypeDef#
# EncryptionTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import EncryptionTypeDef
def get_value() -> EncryptionTypeDef:
return {
"ConstantInitializationVector": ...,
}
# EncryptionTypeDef definition
class EncryptionTypeDef(TypedDict):
EncryptionMethod: EncryptionMethodTypeDef, # (1)
SpekeKeyProvider: SpekeKeyProviderTypeDef, # (2)
ConstantInitializationVector: NotRequired[str],
KeyRotationIntervalSeconds: NotRequired[int],
CreateHarvestJobResponseTypeDef#
# CreateHarvestJobResponseTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import CreateHarvestJobResponseTypeDef
def get_value() -> CreateHarvestJobResponseTypeDef:
return {
"ChannelGroupName": ...,
}
# CreateHarvestJobResponseTypeDef definition
class CreateHarvestJobResponseTypeDef(TypedDict):
ChannelGroupName: str,
ChannelName: str,
OriginEndpointName: str,
Destination: DestinationTypeDef, # (1)
HarvestJobName: str,
HarvestedManifests: HarvestedManifestsOutputTypeDef, # (2)
Description: str,
ScheduleConfiguration: HarvesterScheduleConfigurationOutputTypeDef, # (3)
Arn: str,
CreatedAt: datetime,
ModifiedAt: datetime,
Status: HarvestJobStatusType, # (4)
ErrorMessage: str,
ETag: str,
Tags: Dict[str, str],
ResponseMetadata: ResponseMetadataTypeDef, # (5)
- See DestinationTypeDef
- See HarvestedManifestsOutputTypeDef
- See HarvesterScheduleConfigurationOutputTypeDef
- See HarvestJobStatusType
- See ResponseMetadataTypeDef
GetHarvestJobResponseTypeDef#
# GetHarvestJobResponseTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import GetHarvestJobResponseTypeDef
def get_value() -> GetHarvestJobResponseTypeDef:
return {
"ChannelGroupName": ...,
}
# GetHarvestJobResponseTypeDef definition
class GetHarvestJobResponseTypeDef(TypedDict):
ChannelGroupName: str,
ChannelName: str,
OriginEndpointName: str,
Destination: DestinationTypeDef, # (1)
HarvestJobName: str,
HarvestedManifests: HarvestedManifestsOutputTypeDef, # (2)
Description: str,
ScheduleConfiguration: HarvesterScheduleConfigurationOutputTypeDef, # (3)
Arn: str,
CreatedAt: datetime,
ModifiedAt: datetime,
Status: HarvestJobStatusType, # (4)
ErrorMessage: str,
ETag: str,
Tags: Dict[str, str],
ResponseMetadata: ResponseMetadataTypeDef, # (5)
- See DestinationTypeDef
- See HarvestedManifestsOutputTypeDef
- See HarvesterScheduleConfigurationOutputTypeDef
- See HarvestJobStatusType
- See ResponseMetadataTypeDef
HarvestJobTypeDef#
# HarvestJobTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import HarvestJobTypeDef
def get_value() -> HarvestJobTypeDef:
return {
"ChannelGroupName": ...,
}
# HarvestJobTypeDef definition
class HarvestJobTypeDef(TypedDict):
ChannelGroupName: str,
ChannelName: str,
OriginEndpointName: str,
Destination: DestinationTypeDef, # (1)
HarvestJobName: str,
HarvestedManifests: HarvestedManifestsOutputTypeDef, # (2)
ScheduleConfiguration: HarvesterScheduleConfigurationOutputTypeDef, # (3)
Arn: str,
CreatedAt: datetime,
ModifiedAt: datetime,
Status: HarvestJobStatusType, # (4)
Description: NotRequired[str],
ErrorMessage: NotRequired[str],
ETag: NotRequired[str],
- See DestinationTypeDef
- See HarvestedManifestsOutputTypeDef
- See HarvesterScheduleConfigurationOutputTypeDef
- See HarvestJobStatusType
ListOriginEndpointsResponseTypeDef#
# ListOriginEndpointsResponseTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import ListOriginEndpointsResponseTypeDef
def get_value() -> ListOriginEndpointsResponseTypeDef:
return {
"Items": ...,
}
# ListOriginEndpointsResponseTypeDef definition
class ListOriginEndpointsResponseTypeDef(TypedDict):
Items: List[OriginEndpointListConfigurationTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
SegmentOutputTypeDef#
# SegmentOutputTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import SegmentOutputTypeDef
def get_value() -> SegmentOutputTypeDef:
return {
"SegmentDurationSeconds": ...,
}
# SegmentOutputTypeDef definition
class SegmentOutputTypeDef(TypedDict):
SegmentDurationSeconds: NotRequired[int],
SegmentName: NotRequired[str],
TsUseAudioRenditionGroup: NotRequired[bool],
IncludeIframeOnlyStreams: NotRequired[bool],
TsIncludeDvbSubtitles: NotRequired[bool],
Scte: NotRequired[ScteOutputTypeDef], # (1)
Encryption: NotRequired[EncryptionOutputTypeDef], # (2)
SegmentTypeDef#
# SegmentTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import SegmentTypeDef
def get_value() -> SegmentTypeDef:
return {
"SegmentDurationSeconds": ...,
}
# 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
CreateDashManifestConfigurationTypeDef#
# CreateDashManifestConfigurationTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import CreateDashManifestConfigurationTypeDef
def get_value() -> CreateDashManifestConfigurationTypeDef:
return {
"ManifestName": ...,
}
# CreateDashManifestConfigurationTypeDef definition
class CreateDashManifestConfigurationTypeDef(TypedDict):
ManifestName: str,
ManifestWindowSeconds: NotRequired[int],
FilterConfiguration: NotRequired[FilterConfigurationUnionTypeDef], # (1)
MinUpdatePeriodSeconds: NotRequired[int],
MinBufferTimeSeconds: NotRequired[int],
SuggestedPresentationDelaySeconds: NotRequired[int],
SegmentTemplateFormat: NotRequired[DashSegmentTemplateFormatType], # (2)
PeriodTriggers: NotRequired[Sequence[DashPeriodTriggerType]], # (3)
ScteDash: NotRequired[ScteDashTypeDef], # (4)
DrmSignaling: NotRequired[DashDrmSignalingType], # (5)
UtcTiming: NotRequired[DashUtcTimingTypeDef], # (6)
- See FilterConfigurationTypeDef FilterConfigurationOutputTypeDef
- See DashSegmentTemplateFormatType
- See DashPeriodTriggerType
- See ScteDashTypeDef
- See DashDrmSignalingType
- See DashUtcTimingTypeDef
CreateHlsManifestConfigurationTypeDef#
# CreateHlsManifestConfigurationTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import CreateHlsManifestConfigurationTypeDef
def get_value() -> CreateHlsManifestConfigurationTypeDef:
return {
"ManifestName": ...,
}
# CreateHlsManifestConfigurationTypeDef definition
class CreateHlsManifestConfigurationTypeDef(TypedDict):
ManifestName: str,
ChildManifestName: NotRequired[str],
ScteHls: NotRequired[ScteHlsTypeDef], # (1)
StartTag: NotRequired[StartTagTypeDef], # (2)
ManifestWindowSeconds: NotRequired[int],
ProgramDateTimeIntervalSeconds: NotRequired[int],
FilterConfiguration: NotRequired[FilterConfigurationUnionTypeDef], # (3)
- See ScteHlsTypeDef
- See StartTagTypeDef
- See FilterConfigurationTypeDef FilterConfigurationOutputTypeDef
CreateLowLatencyHlsManifestConfigurationTypeDef#
# CreateLowLatencyHlsManifestConfigurationTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import CreateLowLatencyHlsManifestConfigurationTypeDef
def get_value() -> CreateLowLatencyHlsManifestConfigurationTypeDef:
return {
"ManifestName": ...,
}
# CreateLowLatencyHlsManifestConfigurationTypeDef definition
class CreateLowLatencyHlsManifestConfigurationTypeDef(TypedDict):
ManifestName: str,
ChildManifestName: NotRequired[str],
ScteHls: NotRequired[ScteHlsTypeDef], # (1)
StartTag: NotRequired[StartTagTypeDef], # (2)
ManifestWindowSeconds: NotRequired[int],
ProgramDateTimeIntervalSeconds: NotRequired[int],
FilterConfiguration: NotRequired[FilterConfigurationUnionTypeDef], # (3)
- See ScteHlsTypeDef
- See StartTagTypeDef
- See FilterConfigurationTypeDef FilterConfigurationOutputTypeDef
ListHarvestJobsResponseTypeDef#
# ListHarvestJobsResponseTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import ListHarvestJobsResponseTypeDef
def get_value() -> ListHarvestJobsResponseTypeDef:
return {
"Items": ...,
}
# ListHarvestJobsResponseTypeDef definition
class ListHarvestJobsResponseTypeDef(TypedDict):
Items: List[HarvestJobTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
CreateHarvestJobRequestTypeDef#
# CreateHarvestJobRequestTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import CreateHarvestJobRequestTypeDef
def get_value() -> CreateHarvestJobRequestTypeDef:
return {
"ChannelGroupName": ...,
}
# CreateHarvestJobRequestTypeDef definition
class CreateHarvestJobRequestTypeDef(TypedDict):
ChannelGroupName: str,
ChannelName: str,
OriginEndpointName: str,
HarvestedManifests: HarvestedManifestsUnionTypeDef, # (1)
ScheduleConfiguration: HarvesterScheduleConfigurationUnionTypeDef, # (2)
Destination: DestinationTypeDef, # (3)
Description: NotRequired[str],
ClientToken: NotRequired[str],
HarvestJobName: NotRequired[str],
Tags: NotRequired[Mapping[str, str]],
- See HarvestedManifestsTypeDef HarvestedManifestsOutputTypeDef
- See HarvesterScheduleConfigurationTypeDef HarvesterScheduleConfigurationOutputTypeDef
- See DestinationTypeDef
CreateOriginEndpointResponseTypeDef#
# CreateOriginEndpointResponseTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import CreateOriginEndpointResponseTypeDef
def get_value() -> CreateOriginEndpointResponseTypeDef:
return {
"Arn": ...,
}
# CreateOriginEndpointResponseTypeDef definition
class CreateOriginEndpointResponseTypeDef(TypedDict):
Arn: str,
ChannelGroupName: str,
ChannelName: str,
OriginEndpointName: str,
ContainerType: ContainerTypeType, # (1)
Segment: SegmentOutputTypeDef, # (2)
CreatedAt: datetime,
ModifiedAt: datetime,
Description: str,
StartoverWindowSeconds: int,
HlsManifests: List[GetHlsManifestConfigurationTypeDef], # (3)
LowLatencyHlsManifests: List[GetLowLatencyHlsManifestConfigurationTypeDef], # (4)
DashManifests: List[GetDashManifestConfigurationTypeDef], # (5)
ForceEndpointErrorConfiguration: ForceEndpointErrorConfigurationOutputTypeDef, # (6)
ETag: str,
Tags: Dict[str, str],
ResponseMetadata: ResponseMetadataTypeDef, # (7)
- See ContainerTypeType
- See SegmentOutputTypeDef
- See GetHlsManifestConfigurationTypeDef
- See GetLowLatencyHlsManifestConfigurationTypeDef
- See GetDashManifestConfigurationTypeDef
- See ForceEndpointErrorConfigurationOutputTypeDef
- See ResponseMetadataTypeDef
GetOriginEndpointResponseTypeDef#
# GetOriginEndpointResponseTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import GetOriginEndpointResponseTypeDef
def get_value() -> GetOriginEndpointResponseTypeDef:
return {
"Arn": ...,
}
# GetOriginEndpointResponseTypeDef definition
class GetOriginEndpointResponseTypeDef(TypedDict):
Arn: str,
ChannelGroupName: str,
ChannelName: str,
OriginEndpointName: str,
ContainerType: ContainerTypeType, # (1)
Segment: SegmentOutputTypeDef, # (2)
CreatedAt: datetime,
ModifiedAt: datetime,
Description: str,
StartoverWindowSeconds: int,
HlsManifests: List[GetHlsManifestConfigurationTypeDef], # (3)
LowLatencyHlsManifests: List[GetLowLatencyHlsManifestConfigurationTypeDef], # (4)
DashManifests: List[GetDashManifestConfigurationTypeDef], # (5)
ForceEndpointErrorConfiguration: ForceEndpointErrorConfigurationOutputTypeDef, # (6)
ETag: str,
Tags: Dict[str, str],
ResponseMetadata: ResponseMetadataTypeDef, # (7)
- See ContainerTypeType
- See SegmentOutputTypeDef
- See GetHlsManifestConfigurationTypeDef
- See GetLowLatencyHlsManifestConfigurationTypeDef
- See GetDashManifestConfigurationTypeDef
- See ForceEndpointErrorConfigurationOutputTypeDef
- See ResponseMetadataTypeDef
UpdateOriginEndpointResponseTypeDef#
# UpdateOriginEndpointResponseTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import UpdateOriginEndpointResponseTypeDef
def get_value() -> UpdateOriginEndpointResponseTypeDef:
return {
"Arn": ...,
}
# UpdateOriginEndpointResponseTypeDef definition
class UpdateOriginEndpointResponseTypeDef(TypedDict):
Arn: str,
ChannelGroupName: str,
ChannelName: str,
OriginEndpointName: str,
ContainerType: ContainerTypeType, # (1)
Segment: SegmentOutputTypeDef, # (2)
CreatedAt: datetime,
ModifiedAt: datetime,
Description: str,
StartoverWindowSeconds: int,
HlsManifests: List[GetHlsManifestConfigurationTypeDef], # (3)
LowLatencyHlsManifests: List[GetLowLatencyHlsManifestConfigurationTypeDef], # (4)
ForceEndpointErrorConfiguration: ForceEndpointErrorConfigurationOutputTypeDef, # (5)
ETag: str,
Tags: Dict[str, str],
DashManifests: List[GetDashManifestConfigurationTypeDef], # (6)
ResponseMetadata: ResponseMetadataTypeDef, # (7)
- See ContainerTypeType
- See SegmentOutputTypeDef
- See GetHlsManifestConfigurationTypeDef
- See GetLowLatencyHlsManifestConfigurationTypeDef
- See ForceEndpointErrorConfigurationOutputTypeDef
- See GetDashManifestConfigurationTypeDef
- See ResponseMetadataTypeDef
CreateOriginEndpointRequestTypeDef#
# CreateOriginEndpointRequestTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import CreateOriginEndpointRequestTypeDef
def get_value() -> CreateOriginEndpointRequestTypeDef:
return {
"ChannelGroupName": ...,
}
# CreateOriginEndpointRequestTypeDef definition
class CreateOriginEndpointRequestTypeDef(TypedDict):
ChannelGroupName: str,
ChannelName: str,
OriginEndpointName: str,
ContainerType: ContainerTypeType, # (1)
Segment: NotRequired[SegmentUnionTypeDef], # (2)
ClientToken: NotRequired[str],
Description: NotRequired[str],
StartoverWindowSeconds: NotRequired[int],
HlsManifests: NotRequired[Sequence[CreateHlsManifestConfigurationTypeDef]], # (3)
LowLatencyHlsManifests: NotRequired[Sequence[CreateLowLatencyHlsManifestConfigurationTypeDef]], # (4)
DashManifests: NotRequired[Sequence[CreateDashManifestConfigurationTypeDef]], # (5)
ForceEndpointErrorConfiguration: NotRequired[ForceEndpointErrorConfigurationUnionTypeDef], # (6)
Tags: NotRequired[Mapping[str, str]],
- See ContainerTypeType
- See SegmentTypeDef SegmentOutputTypeDef
- See CreateHlsManifestConfigurationTypeDef
- See CreateLowLatencyHlsManifestConfigurationTypeDef
- See CreateDashManifestConfigurationTypeDef
- See ForceEndpointErrorConfigurationTypeDef ForceEndpointErrorConfigurationOutputTypeDef
UpdateOriginEndpointRequestTypeDef#
# UpdateOriginEndpointRequestTypeDef TypedDict usage example
from types_boto3_mediapackagev2.type_defs import UpdateOriginEndpointRequestTypeDef
def get_value() -> UpdateOriginEndpointRequestTypeDef:
return {
"ChannelGroupName": ...,
}
# UpdateOriginEndpointRequestTypeDef definition
class UpdateOriginEndpointRequestTypeDef(TypedDict):
ChannelGroupName: str,
ChannelName: str,
OriginEndpointName: str,
ContainerType: ContainerTypeType, # (1)
Segment: NotRequired[SegmentUnionTypeDef], # (2)
Description: NotRequired[str],
StartoverWindowSeconds: NotRequired[int],
HlsManifests: NotRequired[Sequence[CreateHlsManifestConfigurationTypeDef]], # (3)
LowLatencyHlsManifests: NotRequired[Sequence[CreateLowLatencyHlsManifestConfigurationTypeDef]], # (4)
DashManifests: NotRequired[Sequence[CreateDashManifestConfigurationTypeDef]], # (5)
ForceEndpointErrorConfiguration: NotRequired[ForceEndpointErrorConfigurationUnionTypeDef], # (6)
ETag: NotRequired[str],