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

ScteUnionTypeDef#

# ScteUnionTypeDef definition

ScteUnionTypeDef = Union[
    ScteTypeDef,  # (1)
    ScteOutputTypeDef,  # (2)
]
  1. See ScteTypeDef
  2. See ScteOutputTypeDef

SpekeKeyProviderUnionTypeDef#

# SpekeKeyProviderUnionTypeDef definition

SpekeKeyProviderUnionTypeDef = Union[
    SpekeKeyProviderTypeDef,  # (1)
    SpekeKeyProviderOutputTypeDef,  # (2)
]
  1. See SpekeKeyProviderTypeDef
  2. See SpekeKeyProviderOutputTypeDef

FilterConfigurationUnionTypeDef#

# FilterConfigurationUnionTypeDef definition

FilterConfigurationUnionTypeDef = Union[
    FilterConfigurationTypeDef,  # (1)
    FilterConfigurationOutputTypeDef,  # (2)
]
  1. See FilterConfigurationTypeDef
  2. See FilterConfigurationOutputTypeDef

EncryptionUnionTypeDef#

# EncryptionUnionTypeDef definition

EncryptionUnionTypeDef = Union[
    EncryptionTypeDef,  # (1)
    EncryptionOutputTypeDef,  # (2)
]
  1. See EncryptionTypeDef
  2. See EncryptionOutputTypeDef

CancelHarvestJobRequestRequestTypeDef#

# CancelHarvestJobRequestRequestTypeDef definition

class CancelHarvestJobRequestRequestTypeDef(TypedDict):
    ChannelGroupName: str,
    ChannelName: str,
    OriginEndpointName: str,
    HarvestJobName: str,
    ETag: NotRequired[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],
    InputType: NotRequired[InputTypeType],  # (1)
  1. See InputTypeType

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

InputSwitchConfigurationTypeDef#

# InputSwitchConfigurationTypeDef definition

class InputSwitchConfigurationTypeDef(TypedDict):
    MQCSInputSwitching: NotRequired[bool],

OutputHeaderConfigurationTypeDef#

# OutputHeaderConfigurationTypeDef definition

class OutputHeaderConfigurationTypeDef(TypedDict):
    PublishMQCS: NotRequired[bool],

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

HarvesterScheduleConfigurationOutputTypeDef#

# HarvesterScheduleConfigurationOutputTypeDef definition

class HarvesterScheduleConfigurationOutputTypeDef(TypedDict):
    StartTime: datetime,
    EndTime: datetime,

ScteHlsTypeDef#

# ScteHlsTypeDef definition

class ScteHlsTypeDef(TypedDict):
    AdMarkerHls: NotRequired[AdMarkerHlsType],  # (1)
  1. See AdMarkerHlsType

StartTagTypeDef#

# StartTagTypeDef definition

class StartTagTypeDef(TypedDict):
    TimeOffset: float,
    Precise: NotRequired[bool],

ForceEndpointErrorConfigurationTypeDef#

# ForceEndpointErrorConfigurationTypeDef definition

class ForceEndpointErrorConfigurationTypeDef(TypedDict):
    EndpointErrorConditions: NotRequired[Sequence[EndpointErrorConditionType]],  # (1)
  1. See EndpointErrorConditionType

ForceEndpointErrorConfigurationOutputTypeDef#

# ForceEndpointErrorConfigurationOutputTypeDef definition

class ForceEndpointErrorConfigurationOutputTypeDef(TypedDict):
    EndpointErrorConditions: NotRequired[list[EndpointErrorConditionType]],  # (1)
  1. See EndpointErrorConditionType

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,

S3DestinationConfigTypeDef#

# S3DestinationConfigTypeDef definition

class S3DestinationConfigTypeDef(TypedDict):
    BucketName: str,
    DestinationPath: 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

FilterConfigurationOutputTypeDef#

# FilterConfigurationOutputTypeDef definition

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

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,

GetHarvestJobRequestRequestTypeDef#

# GetHarvestJobRequestRequestTypeDef definition

class GetHarvestJobRequestRequestTypeDef(TypedDict):
    ChannelGroupName: str,
    ChannelName: str,
    OriginEndpointName: str,
    HarvestJobName: str,

WaiterConfigTypeDef#

# WaiterConfigTypeDef definition

class WaiterConfigTypeDef(TypedDict):
    Delay: NotRequired[int],
    MaxAttempts: NotRequired[int],

GetOriginEndpointPolicyRequestRequestTypeDef#

# GetOriginEndpointPolicyRequestRequestTypeDef definition

class GetOriginEndpointPolicyRequestRequestTypeDef(TypedDict):
    ChannelGroupName: str,
    ChannelName: str,
    OriginEndpointName: str,

GetOriginEndpointRequestRequestTypeDef#

# GetOriginEndpointRequestRequestTypeDef definition

class GetOriginEndpointRequestRequestTypeDef(TypedDict):
    ChannelGroupName: str,
    ChannelName: str,
    OriginEndpointName: str,

HarvestedDashManifestTypeDef#

# HarvestedDashManifestTypeDef definition

class HarvestedDashManifestTypeDef(TypedDict):
    ManifestName: str,

HarvestedHlsManifestTypeDef#

# HarvestedHlsManifestTypeDef definition

class HarvestedHlsManifestTypeDef(TypedDict):
    ManifestName: str,

HarvestedLowLatencyHlsManifestTypeDef#

# HarvestedLowLatencyHlsManifestTypeDef definition

class HarvestedLowLatencyHlsManifestTypeDef(TypedDict):
    ManifestName: 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],

ListHarvestJobsRequestRequestTypeDef#

# ListHarvestJobsRequestRequestTypeDef definition

class ListHarvestJobsRequestRequestTypeDef(TypedDict):
    ChannelGroupName: str,
    ChannelName: NotRequired[str],
    OriginEndpointName: NotRequired[str],
    Status: NotRequired[HarvestJobStatusType],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See HarvestJobStatusType

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,

ScteOutputTypeDef#

# ScteOutputTypeDef definition

class ScteOutputTypeDef(TypedDict):
    ScteFilter: NotRequired[list[ScteFilterType]],  # (1)
  1. See ScteFilterType

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

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

ListChannelsResponseTypeDef#

# ListChannelsResponseTypeDef definition

class ListChannelsResponseTypeDef(TypedDict):
    Items: list[ChannelListConfigurationTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  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

CreateChannelRequestRequestTypeDef#

# CreateChannelRequestRequestTypeDef definition

class CreateChannelRequestRequestTypeDef(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]],
  1. See InputTypeType
  2. See InputSwitchConfigurationTypeDef
  3. See OutputHeaderConfigurationTypeDef

UpdateChannelRequestRequestTypeDef#

# UpdateChannelRequestRequestTypeDef definition

class UpdateChannelRequestRequestTypeDef(TypedDict):
    ChannelGroupName: str,
    ChannelName: str,
    ETag: NotRequired[str],
    Description: NotRequired[str],
    InputSwitchConfiguration: NotRequired[InputSwitchConfigurationTypeDef],  # (1)
    OutputHeaderConfiguration: NotRequired[OutputHeaderConfigurationTypeDef],  # (2)
  1. See InputSwitchConfigurationTypeDef
  2. See OutputHeaderConfigurationTypeDef

CreateChannelResponseTypeDef#

# 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)
  1. See IngestEndpointTypeDef
  2. See InputTypeType
  3. See InputSwitchConfigurationTypeDef
  4. See OutputHeaderConfigurationTypeDef
  5. See ResponseMetadataTypeDef

GetChannelResponseTypeDef#

# 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)
  1. See IngestEndpointTypeDef
  2. See InputTypeType
  3. See InputSwitchConfigurationTypeDef
  4. See OutputHeaderConfigurationTypeDef
  5. See ResponseMetadataTypeDef

UpdateChannelResponseTypeDef#

# 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)
  1. See IngestEndpointTypeDef
  2. See InputTypeType
  3. See InputSwitchConfigurationTypeDef
  4. See OutputHeaderConfigurationTypeDef
  5. See ResponseMetadataTypeDef

DestinationTypeDef#

# DestinationTypeDef definition

class DestinationTypeDef(TypedDict):
    S3Destination: S3DestinationConfigTypeDef,  # (1)
  1. See S3DestinationConfigTypeDef

SpekeKeyProviderOutputTypeDef#

# SpekeKeyProviderOutputTypeDef definition

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

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

GetDashManifestConfigurationTypeDef#

# 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)
  1. See FilterConfigurationOutputTypeDef
  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[FilterConfigurationOutputTypeDef],  # (2)
    StartTag: NotRequired[StartTagTypeDef],  # (3)
  1. See ScteHlsTypeDef
  2. See FilterConfigurationOutputTypeDef
  3. See StartTagTypeDef

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[FilterConfigurationOutputTypeDef],  # (2)
    StartTag: NotRequired[StartTagTypeDef],  # (3)
  1. See ScteHlsTypeDef
  2. See FilterConfigurationOutputTypeDef
  3. See StartTagTypeDef

FilterConfigurationTypeDef#

# FilterConfigurationTypeDef definition

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

HarvesterScheduleConfigurationTypeDef#

# HarvesterScheduleConfigurationTypeDef definition

class HarvesterScheduleConfigurationTypeDef(TypedDict):
    StartTime: TimestampTypeDef,
    EndTime: TimestampTypeDef,

GetHarvestJobRequestWaitTypeDef#

# GetHarvestJobRequestWaitTypeDef definition

class GetHarvestJobRequestWaitTypeDef(TypedDict):
    ChannelGroupName: str,
    ChannelName: str,
    OriginEndpointName: str,
    HarvestJobName: str,
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (1)
  1. See WaiterConfigTypeDef

HarvestedManifestsOutputTypeDef#

# HarvestedManifestsOutputTypeDef definition

class HarvestedManifestsOutputTypeDef(TypedDict):
    HlsManifests: NotRequired[list[HarvestedHlsManifestTypeDef]],  # (1)
    DashManifests: NotRequired[list[HarvestedDashManifestTypeDef]],  # (2)
    LowLatencyHlsManifests: NotRequired[list[HarvestedLowLatencyHlsManifestTypeDef]],  # (3)
  1. See HarvestedHlsManifestTypeDef
  2. See HarvestedDashManifestTypeDef
  3. See HarvestedLowLatencyHlsManifestTypeDef

HarvestedManifestsTypeDef#

# HarvestedManifestsTypeDef definition

class HarvestedManifestsTypeDef(TypedDict):
    HlsManifests: NotRequired[Sequence[HarvestedHlsManifestTypeDef]],  # (1)
    DashManifests: NotRequired[Sequence[HarvestedDashManifestTypeDef]],  # (2)
    LowLatencyHlsManifests: NotRequired[Sequence[HarvestedLowLatencyHlsManifestTypeDef]],  # (3)
  1. See HarvestedHlsManifestTypeDef
  2. See HarvestedDashManifestTypeDef
  3. See HarvestedLowLatencyHlsManifestTypeDef

ListChannelGroupsRequestPaginateTypeDef#

# ListChannelGroupsRequestPaginateTypeDef definition

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

ListChannelsRequestPaginateTypeDef#

# ListChannelsRequestPaginateTypeDef definition

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

ListHarvestJobsRequestPaginateTypeDef#

# ListHarvestJobsRequestPaginateTypeDef definition

class ListHarvestJobsRequestPaginateTypeDef(TypedDict):
    ChannelGroupName: str,
    ChannelName: NotRequired[str],
    OriginEndpointName: NotRequired[str],
    Status: NotRequired[HarvestJobStatusType],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See HarvestJobStatusType
  2. See PaginatorConfigTypeDef

ListOriginEndpointsRequestPaginateTypeDef#

# ListOriginEndpointsRequestPaginateTypeDef definition

class ListOriginEndpointsRequestPaginateTypeDef(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)
    ForceEndpointErrorConfiguration: NotRequired[ForceEndpointErrorConfigurationOutputTypeDef],  # (5)
  1. See ContainerTypeType
  2. See ListHlsManifestConfigurationTypeDef
  3. See ListLowLatencyHlsManifestConfigurationTypeDef
  4. See ListDashManifestConfigurationTypeDef
  5. See ForceEndpointErrorConfigurationOutputTypeDef

EncryptionOutputTypeDef#

# EncryptionOutputTypeDef definition

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

CreateHarvestJobResponseTypeDef#

# 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)
  1. See DestinationTypeDef
  2. See HarvestedManifestsOutputTypeDef
  3. See HarvesterScheduleConfigurationOutputTypeDef
  4. See HarvestJobStatusType
  5. See ResponseMetadataTypeDef

GetHarvestJobResponseTypeDef#

# 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)
  1. See DestinationTypeDef
  2. See HarvestedManifestsOutputTypeDef
  3. See HarvesterScheduleConfigurationOutputTypeDef
  4. See HarvestJobStatusType
  5. See ResponseMetadataTypeDef

HarvestJobTypeDef#

# 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],
  1. See DestinationTypeDef
  2. See HarvestedManifestsOutputTypeDef
  3. See HarvesterScheduleConfigurationOutputTypeDef
  4. See HarvestJobStatusType

CreateHarvestJobRequestRequestTypeDef#

# CreateHarvestJobRequestRequestTypeDef definition

class CreateHarvestJobRequestRequestTypeDef(TypedDict):
    ChannelGroupName: str,
    ChannelName: str,
    OriginEndpointName: str,
    HarvestedManifests: HarvestedManifestsTypeDef,  # (1)
    ScheduleConfiguration: HarvesterScheduleConfigurationTypeDef,  # (2)
    Destination: DestinationTypeDef,  # (3)
    Description: NotRequired[str],
    ClientToken: NotRequired[str],
    HarvestJobName: NotRequired[str],
    Tags: NotRequired[Mapping[str, str]],
  1. See HarvestedManifestsTypeDef
  2. See HarvesterScheduleConfigurationTypeDef
  3. See DestinationTypeDef

ListOriginEndpointsResponseTypeDef#

# ListOriginEndpointsResponseTypeDef definition

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

SegmentOutputTypeDef#

# 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)
  1. See ScteOutputTypeDef
  2. See EncryptionOutputTypeDef

EncryptionTypeDef#

# EncryptionTypeDef definition

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

CreateDashManifestConfigurationTypeDef#

# 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)
  1. See FilterConfigurationTypeDef FilterConfigurationOutputTypeDef
  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)
    StartTag: NotRequired[StartTagTypeDef],  # (2)
    ManifestWindowSeconds: NotRequired[int],
    ProgramDateTimeIntervalSeconds: NotRequired[int],
    FilterConfiguration: NotRequired[FilterConfigurationUnionTypeDef],  # (3)
  1. See ScteHlsTypeDef
  2. See StartTagTypeDef
  3. See FilterConfigurationTypeDef FilterConfigurationOutputTypeDef

CreateLowLatencyHlsManifestConfigurationTypeDef#

# 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)
  1. See ScteHlsTypeDef
  2. See StartTagTypeDef
  3. See FilterConfigurationTypeDef FilterConfigurationOutputTypeDef

ListHarvestJobsResponseTypeDef#

# ListHarvestJobsResponseTypeDef definition

class ListHarvestJobsResponseTypeDef(TypedDict):
    Items: list[HarvestJobTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See HarvestJobTypeDef
  2. See ResponseMetadataTypeDef

CreateOriginEndpointResponseTypeDef#

# 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)
  1. See ContainerTypeType
  2. See SegmentOutputTypeDef
  3. See GetHlsManifestConfigurationTypeDef
  4. See GetLowLatencyHlsManifestConfigurationTypeDef
  5. See GetDashManifestConfigurationTypeDef
  6. See ForceEndpointErrorConfigurationOutputTypeDef
  7. See ResponseMetadataTypeDef

GetOriginEndpointResponseTypeDef#

# 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)
  1. See ContainerTypeType
  2. See SegmentOutputTypeDef
  3. See GetHlsManifestConfigurationTypeDef
  4. See GetLowLatencyHlsManifestConfigurationTypeDef
  5. See GetDashManifestConfigurationTypeDef
  6. See ForceEndpointErrorConfigurationOutputTypeDef
  7. See ResponseMetadataTypeDef

UpdateOriginEndpointResponseTypeDef#

# 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)
  1. See ContainerTypeType
  2. See SegmentOutputTypeDef
  3. See GetHlsManifestConfigurationTypeDef
  4. See GetLowLatencyHlsManifestConfigurationTypeDef
  5. See ForceEndpointErrorConfigurationOutputTypeDef
  6. See GetDashManifestConfigurationTypeDef
  7. 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[ScteUnionTypeDef],  # (1)
    Encryption: NotRequired[EncryptionUnionTypeDef],  # (2)
  1. See ScteTypeDef ScteOutputTypeDef
  2. See EncryptionTypeDef EncryptionOutputTypeDef

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

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)
    ForceEndpointErrorConfiguration: NotRequired[ForceEndpointErrorConfigurationTypeDef],  # (6)
    ETag: NotRequired[str],
  1. See ContainerTypeType
  2. See SegmentTypeDef
  3. See CreateHlsManifestConfigurationTypeDef
  4. See CreateLowLatencyHlsManifestConfigurationTypeDef
  5. See CreateDashManifestConfigurationTypeDef
  6. See ForceEndpointErrorConfigurationTypeDef