Skip to content

Type definitions#

Index > mediapackagev2 > Type definitions

Auto-generated documentation for mediapackagev2 type annotations stubs module mypy-boto3-mediapackagev2.

TimestampTypeDef#

# TimestampTypeDef definition

TimestampTypeDef = Union[
    datetime,
    str,
]

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,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,
    HostId: NotRequired[str],

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],

DashUtcTimingTypeDef#

# DashUtcTimingTypeDef definition

class DashUtcTimingTypeDef(TypedDict):
    TimingMode: NotRequired[DashUtcTimingModeType],  # (1)
    TimingSource: NotRequired[str],
  1. See DashUtcTimingModeType

ScteDashTypeDef#

# ScteDashTypeDef definition

class ScteDashTypeDef(TypedDict):
    AdMarkerDash: NotRequired[AdMarkerDashType],  # (1)
  1. See AdMarkerDashType

ScteHlsTypeDef#

# ScteHlsTypeDef definition

class ScteHlsTypeDef(TypedDict):
    AdMarkerHls: NotRequired[AdMarkerHlsType],  # (1)
  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)
  1. See PresetSpeke20AudioType
  2. See PresetSpeke20VideoType

EncryptionMethodTypeDef#

# EncryptionMethodTypeDef definition

class EncryptionMethodTypeDef(TypedDict):
    TsEncryptionMethod: NotRequired[TsEncryptionMethodType],  # (1)
    CmafEncryptionMethod: NotRequired[CmafEncryptionMethodType],  # (2)
  1. See TsEncryptionMethodType
  2. See CmafEncryptionMethodType

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],

ListDashManifestConfigurationTypeDef#

# ListDashManifestConfigurationTypeDef definition

class ListDashManifestConfigurationTypeDef(TypedDict):
    ManifestName: str,
    Url: 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)
  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,
    ETag: NotRequired[str],
    Description: NotRequired[str],

UpdateChannelRequestRequestTypeDef#

# UpdateChannelRequestRequestTypeDef definition

class UpdateChannelRequestRequestTypeDef(TypedDict):
    ChannelGroupName: str,
    ChannelName: str,
    ETag: NotRequired[str],
    Description: NotRequired[str],

CreateChannelGroupResponseTypeDef#

# 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)
  1. See ResponseMetadataTypeDef

EmptyResponseMetadataTypeDef#

# EmptyResponseMetadataTypeDef definition

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

GetChannelGroupResponseTypeDef#

# 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)
  1. See ResponseMetadataTypeDef

GetChannelPolicyResponseTypeDef#

# GetChannelPolicyResponseTypeDef definition

class GetChannelPolicyResponseTypeDef(TypedDict):
    ChannelGroupName: str,
    ChannelName: str,
    Policy: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetOriginEndpointPolicyResponseTypeDef#

# GetOriginEndpointPolicyResponseTypeDef definition

class GetOriginEndpointPolicyResponseTypeDef(TypedDict):
    ChannelGroupName: str,
    ChannelName: str,
    OriginEndpointName: str,
    Policy: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListChannelGroupsResponseTypeDef#

# ListChannelGroupsResponseTypeDef definition

class ListChannelGroupsResponseTypeDef(TypedDict):
    Items: List[ChannelGroupListConfigurationTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ChannelGroupListConfigurationTypeDef
  2. See ResponseMetadataTypeDef

ListChannelsResponseTypeDef#

# ListChannelsResponseTypeDef definition

class ListChannelsResponseTypeDef(TypedDict):
    Items: List[ChannelListConfigurationTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ChannelListConfigurationTypeDef
  2. See ResponseMetadataTypeDef

ListTagsForResourceResponseTypeDef#

# ListTagsForResourceResponseTypeDef definition

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

UpdateChannelGroupResponseTypeDef#

# 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)
  1. See ResponseMetadataTypeDef

CreateChannelResponseTypeDef#

# CreateChannelResponseTypeDef definition

class CreateChannelResponseTypeDef(TypedDict):
    Arn: str,
    ChannelName: str,
    ChannelGroupName: str,
    CreatedAt: datetime,
    ModifiedAt: datetime,
    Description: str,
    IngestEndpoints: List[IngestEndpointTypeDef],  # (1)
    ETag: str,
    Tags: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See IngestEndpointTypeDef
  2. See ResponseMetadataTypeDef

GetChannelResponseTypeDef#

# GetChannelResponseTypeDef definition

class GetChannelResponseTypeDef(TypedDict):
    Arn: str,
    ChannelName: str,
    ChannelGroupName: str,
    CreatedAt: datetime,
    ModifiedAt: datetime,
    Description: str,
    IngestEndpoints: List[IngestEndpointTypeDef],  # (1)
    ETag: str,
    Tags: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See IngestEndpointTypeDef
  2. See ResponseMetadataTypeDef

UpdateChannelResponseTypeDef#

# UpdateChannelResponseTypeDef definition

class UpdateChannelResponseTypeDef(TypedDict):
    Arn: str,
    ChannelName: str,
    ChannelGroupName: str,
    CreatedAt: datetime,
    ModifiedAt: datetime,
    Description: str,
    IngestEndpoints: List[IngestEndpointTypeDef],  # (1)
    ETag: str,
    Tags: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See IngestEndpointTypeDef
  2. See ResponseMetadataTypeDef

SpekeKeyProviderTypeDef#

# SpekeKeyProviderTypeDef definition

class SpekeKeyProviderTypeDef(TypedDict):
    EncryptionContractConfiguration: EncryptionContractConfigurationTypeDef,  # (1)
    ResourceId: str,
    DrmSystems: Sequence[DrmSystemType],  # (2)
    RoleArn: str,
    Url: str,
  1. See EncryptionContractConfigurationTypeDef
  2. See DrmSystemType

FilterConfigurationTypeDef#

# FilterConfigurationTypeDef definition

class FilterConfigurationTypeDef(TypedDict):
    ManifestFilter: NotRequired[str],
    Start: NotRequired[Union[datetime, str]],
    End: NotRequired[Union[datetime, str]],
    TimeDelaySeconds: NotRequired[int],

ListChannelGroupsRequestListChannelGroupsPaginateTypeDef#

# ListChannelGroupsRequestListChannelGroupsPaginateTypeDef definition

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

ListChannelsRequestListChannelsPaginateTypeDef#

# ListChannelsRequestListChannelsPaginateTypeDef definition

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

ListOriginEndpointsRequestListOriginEndpointsPaginateTypeDef#

# ListOriginEndpointsRequestListOriginEndpointsPaginateTypeDef definition

class ListOriginEndpointsRequestListOriginEndpointsPaginateTypeDef(TypedDict):
    ChannelGroupName: str,
    ChannelName: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

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)
    DashManifests: NotRequired[List[ListDashManifestConfigurationTypeDef]],  # (4)
  1. See ContainerTypeType
  2. See ListHlsManifestConfigurationTypeDef
  3. See ListLowLatencyHlsManifestConfigurationTypeDef
  4. See ListDashManifestConfigurationTypeDef

EncryptionTypeDef#

# EncryptionTypeDef definition

class EncryptionTypeDef(TypedDict):
    EncryptionMethod: EncryptionMethodTypeDef,  # (1)
    SpekeKeyProvider: SpekeKeyProviderTypeDef,  # (2)
    ConstantInitializationVector: NotRequired[str],
    KeyRotationIntervalSeconds: NotRequired[int],
  1. See EncryptionMethodTypeDef
  2. See SpekeKeyProviderTypeDef

CreateDashManifestConfigurationTypeDef#

# CreateDashManifestConfigurationTypeDef definition

class CreateDashManifestConfigurationTypeDef(TypedDict):
    ManifestName: str,
    ManifestWindowSeconds: NotRequired[int],
    FilterConfiguration: NotRequired[FilterConfigurationTypeDef],  # (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)
  1. See FilterConfigurationTypeDef
  2. See DashSegmentTemplateFormatType
  3. See DashPeriodTriggerType
  4. See ScteDashTypeDef
  5. See DashDrmSignalingType
  6. See DashUtcTimingTypeDef

CreateHlsManifestConfigurationTypeDef#

# CreateHlsManifestConfigurationTypeDef definition

class CreateHlsManifestConfigurationTypeDef(TypedDict):
    ManifestName: str,
    ChildManifestName: NotRequired[str],
    ScteHls: NotRequired[ScteHlsTypeDef],  # (1)
    ManifestWindowSeconds: NotRequired[int],
    ProgramDateTimeIntervalSeconds: NotRequired[int],
    FilterConfiguration: NotRequired[FilterConfigurationTypeDef],  # (2)
  1. See ScteHlsTypeDef
  2. See FilterConfigurationTypeDef

CreateLowLatencyHlsManifestConfigurationTypeDef#

# CreateLowLatencyHlsManifestConfigurationTypeDef definition

class CreateLowLatencyHlsManifestConfigurationTypeDef(TypedDict):
    ManifestName: str,
    ChildManifestName: NotRequired[str],
    ScteHls: NotRequired[ScteHlsTypeDef],  # (1)
    ManifestWindowSeconds: NotRequired[int],
    ProgramDateTimeIntervalSeconds: NotRequired[int],
    FilterConfiguration: NotRequired[FilterConfigurationTypeDef],  # (2)
  1. See ScteHlsTypeDef
  2. See FilterConfigurationTypeDef

GetDashManifestConfigurationTypeDef#

# GetDashManifestConfigurationTypeDef definition

class GetDashManifestConfigurationTypeDef(TypedDict):
    ManifestName: str,
    Url: str,
    ManifestWindowSeconds: NotRequired[int],
    FilterConfiguration: NotRequired[FilterConfigurationTypeDef],  # (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)
  1. See FilterConfigurationTypeDef
  2. See DashSegmentTemplateFormatType
  3. See DashPeriodTriggerType
  4. See ScteDashTypeDef
  5. See DashDrmSignalingType
  6. See DashUtcTimingTypeDef

GetHlsManifestConfigurationTypeDef#

# GetHlsManifestConfigurationTypeDef definition

class GetHlsManifestConfigurationTypeDef(TypedDict):
    ManifestName: str,
    Url: str,
    ChildManifestName: NotRequired[str],
    ManifestWindowSeconds: NotRequired[int],
    ProgramDateTimeIntervalSeconds: NotRequired[int],
    ScteHls: NotRequired[ScteHlsTypeDef],  # (1)
    FilterConfiguration: NotRequired[FilterConfigurationTypeDef],  # (2)
  1. See ScteHlsTypeDef
  2. See FilterConfigurationTypeDef

GetLowLatencyHlsManifestConfigurationTypeDef#

# GetLowLatencyHlsManifestConfigurationTypeDef definition

class GetLowLatencyHlsManifestConfigurationTypeDef(TypedDict):
    ManifestName: str,
    Url: str,
    ChildManifestName: NotRequired[str],
    ManifestWindowSeconds: NotRequired[int],
    ProgramDateTimeIntervalSeconds: NotRequired[int],
    ScteHls: NotRequired[ScteHlsTypeDef],  # (1)
    FilterConfiguration: NotRequired[FilterConfigurationTypeDef],  # (2)
  1. See ScteHlsTypeDef
  2. See FilterConfigurationTypeDef

ListOriginEndpointsResponseTypeDef#

# ListOriginEndpointsResponseTypeDef definition

class ListOriginEndpointsResponseTypeDef(TypedDict):
    Items: List[OriginEndpointListConfigurationTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See OriginEndpointListConfigurationTypeDef
  2. See ResponseMetadataTypeDef

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)
  1. See ScteTypeDef
  2. 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)
    DashManifests: NotRequired[Sequence[CreateDashManifestConfigurationTypeDef]],  # (5)
    Tags: NotRequired[Mapping[str, str]],
  1. See ContainerTypeType
  2. See SegmentTypeDef
  3. See CreateHlsManifestConfigurationTypeDef
  4. See CreateLowLatencyHlsManifestConfigurationTypeDef
  5. See CreateDashManifestConfigurationTypeDef

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)
    DashManifests: List[GetDashManifestConfigurationTypeDef],  # (5)
    ETag: str,
    Tags: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (6)
  1. See ContainerTypeType
  2. See SegmentTypeDef
  3. See GetHlsManifestConfigurationTypeDef
  4. See GetLowLatencyHlsManifestConfigurationTypeDef
  5. See GetDashManifestConfigurationTypeDef
  6. 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)
    ETag: str,
    Tags: Dict[str, str],
    DashManifests: List[GetDashManifestConfigurationTypeDef],  # (5)
    ResponseMetadata: ResponseMetadataTypeDef,  # (6)
  1. See ContainerTypeType
  2. See SegmentTypeDef
  3. See GetHlsManifestConfigurationTypeDef
  4. See GetLowLatencyHlsManifestConfigurationTypeDef
  5. See GetDashManifestConfigurationTypeDef
  6. 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)
    DashManifests: NotRequired[Sequence[CreateDashManifestConfigurationTypeDef]],  # (5)
    ETag: NotRequired[str],
  1. See ContainerTypeType
  2. See SegmentTypeDef
  3. See CreateHlsManifestConfigurationTypeDef
  4. See CreateLowLatencyHlsManifestConfigurationTypeDef
  5. See CreateDashManifestConfigurationTypeDef

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)
    ETag: str,
    Tags: Dict[str, str],
    DashManifests: List[GetDashManifestConfigurationTypeDef],  # (5)
    ResponseMetadata: ResponseMetadataTypeDef,  # (6)
  1. See ContainerTypeType
  2. See SegmentTypeDef
  3. See GetHlsManifestConfigurationTypeDef
  4. See GetLowLatencyHlsManifestConfigurationTypeDef
  5. See GetDashManifestConfigurationTypeDef
  6. See ResponseMetadataTypeDef