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

ForceEndpointErrorConfigurationUnionTypeDef#

# ForceEndpointErrorConfigurationUnionTypeDef definition

ForceEndpointErrorConfigurationUnionTypeDef = Union[
    ForceEndpointErrorConfigurationTypeDef,  # (1)
    ForceEndpointErrorConfigurationExtraOutputTypeDef,  # (2)
]
  1. See ForceEndpointErrorConfigurationTypeDef
  2. See ForceEndpointErrorConfigurationExtraOutputTypeDef

SegmentUnionTypeDef#

# SegmentUnionTypeDef definition

SegmentUnionTypeDef = Union[
    SegmentTypeDef,  # (1)
    SegmentOutputTypeDef,  # (2)
]
  1. See SegmentTypeDef
  2. See SegmentOutputTypeDef

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

CreateChannelRequestRequestTypeDef#

# CreateChannelRequestRequestTypeDef definition

class CreateChannelRequestRequestTypeDef(TypedDict):
    ChannelGroupName: str,
    ChannelName: str,
    ClientToken: NotRequired[str],
    InputType: NotRequired[InputTypeType],  # (1)
    Description: NotRequired[str],
    Tags: NotRequired[Mapping[str, str]],
  1. See InputTypeType

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

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,

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

ForceEndpointErrorConfigurationExtraOutputTypeDef#

# ForceEndpointErrorConfigurationExtraOutputTypeDef definition

class ForceEndpointErrorConfigurationExtraOutputTypeDef(TypedDict):
    EndpointErrorConditions: NotRequired[List[EndpointErrorConditionType]],  # (1)
  1. See EndpointErrorConditionType

GetChannelGroupRequestRequestTypeDef#

# GetChannelGroupRequestRequestTypeDef definition

class GetChannelGroupRequestRequestTypeDef(TypedDict):
    ChannelGroupName: str,

GetChannelPolicyRequestRequestTypeDef#

# GetChannelPolicyRequestRequestTypeDef definition

class GetChannelPolicyRequestRequestTypeDef(TypedDict):
    ChannelGroupName: str,
    ChannelName: str,

GetChannelRequestRequestTypeDef#<