Skip to content

Typed dictionaries

Index > MediaPackage > Typed dictionaries

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

AuthorizationTypeDef

Usage Example
from mypy_boto3_mediapackage.type_defs import AuthorizationTypeDef

def get_value() -> AuthorizationTypeDef:
    return {
        "CdnIdentifierSecret": ...,
        "SecretsRoleArn": ...,
    }
Definition
class AuthorizationTypeDef(TypedDict):
    CdnIdentifierSecret: str,
    SecretsRoleArn: str,

EgressAccessLogsTypeDef

Usage Example
from mypy_boto3_mediapackage.type_defs import EgressAccessLogsTypeDef

def get_value() -> EgressAccessLogsTypeDef:
    return {
        "LogGroupName": ...,
    }
Definition
class EgressAccessLogsTypeDef(TypedDict):
    LogGroupName: NotRequired[str],

IngressAccessLogsTypeDef

Usage Example
from mypy_boto3_mediapackage.type_defs import IngressAccessLogsTypeDef

def get_value() -> IngressAccessLogsTypeDef:
    return {
        "LogGroupName": ...,
    }
Definition
class IngressAccessLogsTypeDef(TypedDict):
    LogGroupName: NotRequired[str],

HlsManifestCreateOrUpdateParametersTypeDef

Usage Example
from mypy_boto3_mediapackage.type_defs import HlsManifestCreateOrUpdateParametersTypeDef

def get_value() -> HlsManifestCreateOrUpdateParametersTypeDef:
    return {
        "Id": ...,
    }
Definition
class HlsManifestCreateOrUpdateParametersTypeDef(TypedDict):
    Id: str,
    AdMarkers: NotRequired[AdMarkersType],  # (1)
    AdTriggers: NotRequired[Sequence[AdTriggersElementType]],  # (2)
    AdsOnDeliveryRestrictions: NotRequired[AdsOnDeliveryRestrictionsType],  # (3)
    IncludeIframeOnlyStream: NotRequired[bool],
    ManifestName: NotRequired[str],
    PlaylistType: NotRequired[PlaylistTypeType],  # (4)
    PlaylistWindowSeconds: NotRequired[int],
    ProgramDateTimeIntervalSeconds: NotRequired[int],
  1. See AdMarkersType
  2. See AdTriggersElementType
  3. See AdsOnDeliveryRestrictionsType
  4. See PlaylistTypeType

StreamSelectionTypeDef

Usage Example
from mypy_boto3_mediapackage.type_defs import StreamSelectionTypeDef

def get_value() -> StreamSelectionTypeDef:
    return {
        "MaxVideoBitsPerSecond": ...,
    }
Definition
class StreamSelectionTypeDef(TypedDict):
    MaxVideoBitsPerSecond: NotRequired[int],
    MinVideoBitsPerSecond: NotRequired[int],
    StreamOrder: NotRequired[StreamOrderType],  # (1)
  1. See StreamOrderType

HlsManifestTypeDef

Usage Example
from mypy_boto3_mediapackage.type_defs import HlsManifestTypeDef

def get_value() -> HlsManifestTypeDef:
    return {
        "Id": ...,
    }
Definition
class HlsManifestTypeDef(TypedDict):
    Id: str,
    AdMarkers: NotRequired[AdMarkersType],  # (1)
    IncludeIframeOnlyStream: NotRequired[bool],
    ManifestName: NotRequired[str],
    PlaylistType: NotRequired[PlaylistTypeType],  # (2)
    PlaylistWindowSeconds: NotRequired[int],
    ProgramDateTimeIntervalSeconds: NotRequired[int],
    Url: NotRequired[str],
    AdTriggers: NotRequired[List[AdTriggersElementType]],  # (3)
    AdsOnDeliveryRestrictions: NotRequired[AdsOnDeliveryRestrictionsType],  # (4)
  1. See AdMarkersType
  2. See PlaylistTypeType
  3. See AdTriggersElementType
  4. See AdsOnDeliveryRestrictionsType

ResponseMetadataTypeDef

Usage Example
from mypy_boto3_mediapackage.type_defs import ResponseMetadataTypeDef

def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
        "HostId": ...,
        "HTTPStatusCode": ...,
        "HTTPHeaders": ...,
        "RetryAttempts": ...,
    }
Definition
class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HostId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,

CreateChannelRequestRequestTypeDef

Usage Example
from mypy_boto3_mediapackage.type_defs import CreateChannelRequestRequestTypeDef

def get_value() -> CreateChannelRequestRequestTypeDef:
    return {
        "Id": ...,
    }
Definition
class CreateChannelRequestRequestTypeDef(TypedDict):
    Id: str,
    Description: NotRequired[str],
    Tags: NotRequired[Mapping[str, str]],

S3DestinationTypeDef

Usage Example
from mypy_boto3_mediapackage.type_defs import S3DestinationTypeDef

def get_value() -> S3DestinationTypeDef:
    return {
        "BucketName": ...,
        "ManifestKey": ...,
        "RoleArn": ...,
    }
Definition
class S3DestinationTypeDef(TypedDict):
    BucketName: str,
    ManifestKey: str,
    RoleArn: str,

DeleteChannelRequestRequestTypeDef

Usage Example
from mypy_boto3_mediapackage.type_defs import DeleteChannelRequestRequestTypeDef

def get_value() -> DeleteChannelRequestRequestTypeDef:
    return {
        "Id": ...,
    }
Definition
class DeleteChannelRequestRequestTypeDef(TypedDict):
    Id: str,

DeleteOriginEndpointRequestRequestTypeDef

Usage Example
from mypy_boto3_mediapackage.type_defs import DeleteOriginEndpointRequestRequestTypeDef

def get_value() -> DeleteOriginEndpointRequestRequestTypeDef:
    return {
        "Id": ...,
    }
Definition
class DeleteOriginEndpointRequestRequestTypeDef(TypedDict):
    Id: str,

DescribeChannelRequestRequestTypeDef

Usage Example
from mypy_boto3_mediapackage.type_defs import DescribeChannelRequestRequestTypeDef

def get_value() -> DescribeChannelRequestRequestTypeDef:
    return {
        "Id": ...,
    }
Definition
class DescribeChannelRequestRequestTypeDef(TypedDict):
    Id: str,

DescribeHarvestJobRequestRequestTypeDef

Usage Example
from mypy_boto3_mediapackage.type_defs import DescribeHarvestJobRequestRequestTypeDef

def get_value() -> DescribeHarvestJobRequestRequestTypeDef:
    return {
        "Id": ...,
    }
Definition
class DescribeHarvestJobRequestRequestTypeDef(TypedDict):
    Id: str,

DescribeOriginEndpointRequestRequestTypeDef

Usage Example
from mypy_boto3_mediapackage.type_defs import DescribeOriginEndpointRequestRequestTypeDef

def get_value() -> DescribeOriginEndpointRequestRequestTypeDef:
    return {
        "Id": ...,
    }
Definition
class DescribeOriginEndpointRequestRequestTypeDef(TypedDict):
    Id: str,

EncryptionContractConfigurationTypeDef

Usage Example
from mypy_boto3_mediapackage.type_defs import EncryptionContractConfigurationTypeDef

def get_value() -> EncryptionContractConfigurationTypeDef:
    return {
        "PresetSpeke20Audio": ...,
        "PresetSpeke20Video": ...,
    }
Definition
class EncryptionContractConfigurationTypeDef(TypedDict):
    PresetSpeke20Audio: PresetSpeke20AudioType,  # (1)
    PresetSpeke20Video: PresetSpeke20VideoType,  # (2)
  1. See PresetSpeke20AudioType
  2. See PresetSpeke20VideoType

IngestEndpointTypeDef

Usage Example
from mypy_boto3_mediapackage.type_defs import IngestEndpointTypeDef

def get_value() -> IngestEndpointTypeDef:
    return {
        "Id": ...,
    }
Definition
class IngestEndpointTypeDef(TypedDict):
    Id: NotRequired[str],
    Password: NotRequired[str],
    Url: NotRequired[str],
    Username: NotRequired[str],

PaginatorConfigTypeDef

Usage Example
from mypy_boto3_mediapackage.type_defs import PaginatorConfigTypeDef

def get_value() -> PaginatorConfigTypeDef:
    return {
        "MaxItems": ...,
    }
Definition
class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

ListChannelsRequestRequestTypeDef

Usage Example
from mypy_boto3_mediapackage.type_defs import ListChannelsRequestRequestTypeDef

def get_value() -> ListChannelsRequestRequestTypeDef:
    return {
        "MaxResults": ...,
    }
Definition
class ListChannelsRequestRequestTypeDef(TypedDict):
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ListHarvestJobsRequestRequestTypeDef

Usage Example
from mypy_boto3_mediapackage.type_defs import ListHarvestJobsRequestRequestTypeDef

def get_value() -> ListHarvestJobsRequestRequestTypeDef:
    return {
        "IncludeChannelId": ...,
    }
Definition
class ListHarvestJobsRequestRequestTypeDef(TypedDict):
    IncludeChannelId: NotRequired[str],
    IncludeStatus: NotRequired[str],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ListOriginEndpointsRequestRequestTypeDef

Usage Example
from mypy_boto3_mediapackage.type_defs import ListOriginEndpointsRequestRequestTypeDef

def get_value() -> ListOriginEndpointsRequestRequestTypeDef:
    return {
        "ChannelId": ...,
    }
Definition
class ListOriginEndpointsRequestRequestTypeDef(TypedDict):
    ChannelId: NotRequired[str],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ListTagsForResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_mediapackage.type_defs import ListTagsForResourceRequestRequestTypeDef

def get_value() -> ListTagsForResourceRequestRequestTypeDef:
    return {
        "ResourceArn": ...,
    }
Definition
class ListTagsForResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,

RotateChannelCredentialsRequestRequestTypeDef

Usage Example
from mypy_boto3_mediapackage.type_defs import RotateChannelCredentialsRequestRequestTypeDef

def get_value() -> RotateChannelCredentialsRequestRequestTypeDef:
    return {
        "Id": ...,
    }
Definition
class RotateChannelCredentialsRequestRequestTypeDef(TypedDict):
    Id: str,

RotateIngestEndpointCredentialsRequestRequestTypeDef

Usage Example
from mypy_boto3_mediapackage.type_defs import RotateIngestEndpointCredentialsRequestRequestTypeDef

def get_value() -> RotateIngestEndpointCredentialsRequestRequestTypeDef:
    return {
        "Id": ...,
        "IngestEndpointId": ...,
    }
Definition
class RotateIngestEndpointCredentialsRequestRequestTypeDef(TypedDict):
    Id: str,
    IngestEndpointId: str,

TagResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_mediapackage.type_defs import TagResourceRequestRequestTypeDef

def get_value() -> TagResourceRequestRequestTypeDef:
    return {
        "ResourceArn": ...,
        "Tags": ...,
    }
Definition
class TagResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,
    Tags: Mapping[str, str],

UntagResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_mediapackage.type_defs import UntagResourceRequestRequestTypeDef

def get_value() -> UntagResourceRequestRequestTypeDef:
    return {
        "ResourceArn": ...,
        "TagKeys": ...,
    }
Definition
class UntagResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,
    TagKeys: Sequence[str],

UpdateChannelRequestRequestTypeDef

Usage Example
from mypy_boto3_mediapackage.type_defs import UpdateChannelRequestRequestTypeDef

def get_value() -> UpdateChannelRequestRequestTypeDef:
    return {
        "Id": ...,
    }
Definition
class UpdateChannelRequestRequestTypeDef(TypedDict):
    Id: str,
    Description: NotRequired[str],

ConfigureLogsRequestRequestTypeDef

Usage Example
from mypy_boto3_mediapackage.type_defs import ConfigureLogsRequestRequestTypeDef

def get_value() -> ConfigureLogsRequestRequestTypeDef:
    return {
        "Id": ...,
    }
Definition
class ConfigureLogsRequestRequestTypeDef(TypedDict):
    Id: str,
    EgressAccessLogs: NotRequired[EgressAccessLogsTypeDef],  # (1)
    IngressAccessLogs: NotRequired[IngressAccessLogsTypeDef],  # (2)
  1. See EgressAccessLogsTypeDef
  2. See IngressAccessLogsTypeDef

EmptyResponseMetadataTypeDef

Usage Example
from mypy_boto3_mediapackage.type_defs import EmptyResponseMetadataTypeDef

def get_value() -> EmptyResponseMetadataTypeDef:
    return {
        "ResponseMetadata": ...,
    }
Definition
class EmptyResponseMetadataTypeDef(TypedDict):
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListTagsForResourceResponseTypeDef

Usage Example
from mypy_boto3_mediapackage.type_defs import ListTagsForResourceResponseTypeDef

def get_value() -> ListTagsForResourceResponseTypeDef:
    return {
        "Tags": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListTagsForResourceResponseTypeDef(TypedDict):
    Tags: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateHarvestJobRequestRequestTypeDef

Usage Example
from mypy_boto3_mediapackage.type_defs import CreateHarvestJobRequestRequestTypeDef

def get_value() -> CreateHarvestJobRequestRequestTypeDef:
    return {
        "EndTime": ...,
        "Id": ...,
        "OriginEndpointId": ...,
        "S3Destination": ...,
        "StartTime": ...,
    }
Definition
class CreateHarvestJobRequestRequestTypeDef(TypedDict):
    EndTime: str,
    Id: str,
    OriginEndpointId: str,
    S3Destination: S3DestinationTypeDef,  # (1)
    StartTime: str,
  1. See S3DestinationTypeDef

CreateHarvestJobResponseTypeDef

Usage Example
from mypy_boto3_mediapackage.type_defs import CreateHarvestJobResponseTypeDef

def get_value() -> CreateHarvestJobResponseTypeDef:
    return {
        "Arn": ...,
        "ChannelId": ...,
        "CreatedAt": ...,
        "EndTime": ...,
        "Id": ...,
        "OriginEndpointId": ...,
        "S3Destination": ...,
        "StartTime": ...,
        "Status": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateHarvestJobResponseTypeDef(TypedDict):
    Arn: str,
    ChannelId: str,
    CreatedAt: str,
    EndTime: str,
    Id: str,
    OriginEndpointId: str,
    S3Destination: S3DestinationTypeDef,  # (1)
    StartTime: str,
    Status: StatusType,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See S3DestinationTypeDef
  2. See StatusType
  3. See ResponseMetadataTypeDef

DescribeHarvestJobResponseTypeDef

Usage Example
from mypy_boto3_mediapackage.type_defs import DescribeHarvestJobResponseTypeDef

def get_value() -> DescribeHarvestJobResponseTypeDef:
    return {
        "Arn": ...,
        "ChannelId": ...,
        "CreatedAt": ...,
        "EndTime": ...,
        "Id": ...,
        "OriginEndpointId": ...,
        "S3Destination": ...,
        "StartTime": ...,
        "Status": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeHarvestJobResponseTypeDef(TypedDict):
    Arn: str,
    ChannelId: str,
    CreatedAt: str,
    EndTime: str,
    Id: str,
    OriginEndpointId: str,
    S3Destination: S3DestinationTypeDef,  # (1)
    StartTime: str,
    Status: StatusType,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See S3DestinationTypeDef
  2. See StatusType
  3. See ResponseMetadataTypeDef

HarvestJobTypeDef

Usage Example
from mypy_boto3_mediapackage.type_defs import HarvestJobTypeDef

def get_value() -> HarvestJobTypeDef:
    return {
        "Arn": ...,
    }
Definition
class HarvestJobTypeDef(TypedDict):
    Arn: NotRequired[str],
    ChannelId: NotRequired[str],
    CreatedAt: NotRequired[str],
    EndTime: NotRequired[str],
    Id: NotRequired[str],
    OriginEndpointId: NotRequired[str],
    S3Destination: NotRequired[S3DestinationTypeDef],  # (1)
    StartTime: NotRequired[str],
    Status: NotRequired[StatusType],  # (2)
  1. See S3DestinationTypeDef
  2. See StatusType

SpekeKeyProviderTypeDef

Usage Example
from mypy_boto3_mediapackage.type_defs import SpekeKeyProviderTypeDef

def get_value() -> SpekeKeyProviderTypeDef:
    return {
        "ResourceId": ...,
        "RoleArn": ...,
        "SystemIds": ...,
        "Url": ...,
    }
Definition
class SpekeKeyProviderTypeDef(TypedDict):
    ResourceId: str,
    RoleArn: str,
    SystemIds: Sequence[str],
    Url: str,
    CertificateArn: NotRequired[str],
    EncryptionContractConfiguration: NotRequired[EncryptionContractConfigurationTypeDef],  # (1)
  1. See EncryptionContractConfigurationTypeDef

HlsIngestTypeDef

Usage Example
from mypy_boto3_mediapackage.type_defs import HlsIngestTypeDef

def get_value() -> HlsIngestTypeDef:
    return {
        "IngestEndpoints": ...,
    }
Definition
class HlsIngestTypeDef(TypedDict):
    IngestEndpoints: NotRequired[List[IngestEndpointTypeDef]],  # (1)
  1. See IngestEndpointTypeDef

ListChannelsRequestListChannelsPaginateTypeDef

Usage Example
from mypy_boto3_mediapackage.type_defs import ListChannelsRequestListChannelsPaginateTypeDef

def get_value() -> ListChannelsRequestListChannelsPaginateTypeDef:
    return {
        "PaginationConfig": ...,
    }
Definition
class ListChannelsRequestListChannelsPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListHarvestJobsRequestListHarvestJobsPaginateTypeDef

Usage Example
from mypy_boto3_mediapackage.type_defs import ListHarvestJobsRequestListHarvestJobsPaginateTypeDef

def get_value() -> ListHarvestJobsRequestListHarvestJobsPaginateTypeDef:
    return {
        "IncludeChannelId": ...,
    }
Definition
class ListHarvestJobsRequestListHarvestJobsPaginateTypeDef(TypedDict):
    IncludeChannelId: NotRequired[str],
    IncludeStatus: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListOriginEndpointsRequestListOriginEndpointsPaginateTypeDef

Usage Example
from mypy_boto3_mediapackage.type_defs import ListOriginEndpointsRequestListOriginEndpointsPaginateTypeDef

def get_value() -> ListOriginEndpointsRequestListOriginEndpointsPaginateTypeDef:
    return {
        "ChannelId": ...,
    }
Definition
class ListOriginEndpointsRequestListOriginEndpointsPaginateTypeDef(TypedDict):
    ChannelId: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListHarvestJobsResponseTypeDef

Usage Example
from mypy_boto3_mediapackage.type_defs import ListHarvestJobsResponseTypeDef

def get_value() -> ListHarvestJobsResponseTypeDef:
    return {
        "HarvestJobs": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListHarvestJobsResponseTypeDef(TypedDict):
    HarvestJobs: List[HarvestJobTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See HarvestJobTypeDef
  2. See ResponseMetadataTypeDef

CmafEncryptionTypeDef

Usage Example
from mypy_boto3_mediapackage.type_defs import CmafEncryptionTypeDef

def get_value() -> CmafEncryptionTypeDef:
    return {
        "SpekeKeyProvider": ...,
    }
Definition
class CmafEncryptionTypeDef(TypedDict):
    SpekeKeyProvider: SpekeKeyProviderTypeDef,  # (2)
    ConstantInitializationVector: NotRequired[str],
    EncryptionMethod: NotRequired[CmafEncryptionMethodType],  # (1)
    KeyRotationIntervalSeconds: NotRequired[int],
  1. See CmafEncryptionMethodType
  2. See SpekeKeyProviderTypeDef

DashEncryptionTypeDef

Usage Example
from mypy_boto3_mediapackage.type_defs import DashEncryptionTypeDef

def get_value() -> DashEncryptionTypeDef:
    return {
        "SpekeKeyProvider": ...,
    }
Definition
class DashEncryptionTypeDef(TypedDict):
    SpekeKeyProvider: SpekeKeyProviderTypeDef,  # (1)
    KeyRotationIntervalSeconds: NotRequired[int],
  1. See SpekeKeyProviderTypeDef

HlsEncryptionTypeDef

Usage Example
from mypy_boto3_mediapackage.type_defs import HlsEncryptionTypeDef

def get_value() -> HlsEncryptionTypeDef:
    return {
        "SpekeKeyProvider": ...,
    }
Definition
class HlsEncryptionTypeDef(TypedDict):
    SpekeKeyProvider: SpekeKeyProviderTypeDef,  # (2)
    ConstantInitializationVector: NotRequired[str],
    EncryptionMethod: NotRequired[EncryptionMethodType],  # (1)
    KeyRotationIntervalSeconds: NotRequired[int],
    RepeatExtXKey: NotRequired[bool],
  1. See EncryptionMethodType
  2. See SpekeKeyProviderTypeDef

MssEncryptionTypeDef

Usage Example
from mypy_boto3_mediapackage.type_defs import MssEncryptionTypeDef

def get_value() -> MssEncryptionTypeDef:
    return {
        "SpekeKeyProvider": ...,
    }
Definition
class MssEncryptionTypeDef(TypedDict):
    SpekeKeyProvider: SpekeKeyProviderTypeDef,  # (1)
  1. See SpekeKeyProviderTypeDef

ChannelTypeDef

Usage Example
from mypy_boto3_mediapackage.type_defs import ChannelTypeDef

def get_value() -> ChannelTypeDef:
    return {
        "Arn": ...,
    }
Definition
class ChannelTypeDef(TypedDict):
    Arn: NotRequired[str],
    Description: NotRequired[str],
    EgressAccessLogs: NotRequired[EgressAccessLogsTypeDef],  # (1)
    HlsIngest: NotRequired[HlsIngestTypeDef],  # (2)
    Id: NotRequired[str],
    IngressAccessLogs: NotRequired[IngressAccessLogsTypeDef],  # (3)
    Tags: NotRequired[Dict[str, str]],
  1. See EgressAccessLogsTypeDef
  2. See HlsIngestTypeDef
  3. See IngressAccessLogsTypeDef

ConfigureLogsResponseTypeDef

Usage Example
from mypy_boto3_mediapackage.type_defs import ConfigureLogsResponseTypeDef

def get_value() -> ConfigureLogsResponseTypeDef:
    return {
        "Arn": ...,
        "Description": ...,
        "EgressAccessLogs": ...,
        "HlsIngest": ...,
        "Id": ...,
        "IngressAccessLogs": ...,
        "Tags": ...,
        "ResponseMetadata": ...,
    }
Definition
class ConfigureLogsResponseTypeDef(TypedDict):
    Arn: str,
    Description: str,
    EgressAccessLogs: EgressAccessLogsTypeDef,  # (1)
    HlsIngest: HlsIngestTypeDef,  # (2)
    Id: str,
    IngressAccessLogs: IngressAccessLogsTypeDef,  # (3)
    Tags: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See EgressAccessLogsTypeDef
  2. See HlsIngestTypeDef
  3. See IngressAccessLogsTypeDef
  4. See ResponseMetadataTypeDef

CreateChannelResponseTypeDef

Usage Example
from mypy_boto3_mediapackage.type_defs import CreateChannelResponseTypeDef

def get_value() -> CreateChannelResponseTypeDef:
    return {
        "Arn": ...,
        "Description": ...,
        "EgressAccessLogs": ...,
        "HlsIngest": ...,
        "Id": ...,
        "IngressAccessLogs": ...,
        "Tags": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateChannelResponseTypeDef(TypedDict):
    Arn: str,
    Description: str,
    EgressAccessLogs: EgressAccessLogsTypeDef,  # (1)
    HlsIngest: HlsIngestTypeDef,  # (2)
    Id: str,
    IngressAccessLogs: IngressAccessLogsTypeDef,  # (3)
    Tags: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See EgressAccessLogsTypeDef
  2. See HlsIngestTypeDef
  3. See IngressAccessLogsTypeDef
  4. See ResponseMetadataTypeDef

DescribeChannelResponseTypeDef

Usage Example
from mypy_boto3_mediapackage.type_defs import DescribeChannelResponseTypeDef

def get_value() -> DescribeChannelResponseTypeDef:
    return {
        "Arn": ...,
        "Description": ...,
        "EgressAccessLogs": ...,
        "HlsIngest": ...,
        "Id": ...,
        "IngressAccessLogs": ...,
        "Tags": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeChannelResponseTypeDef(TypedDict):
    Arn: str,
    Description: str,
    EgressAccessLogs: EgressAccessLogsTypeDef,  # (1)
    HlsIngest: HlsIngestTypeDef,  # (2)
    Id: str,
    IngressAccessLogs: IngressAccessLogsTypeDef,  # (3)
    Tags: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See EgressAccessLogsTypeDef
  2. See HlsIngestTypeDef
  3. See IngressAccessLogsTypeDef
  4. See ResponseMetadataTypeDef

RotateChannelCredentialsResponseTypeDef

Usage Example
from mypy_boto3_mediapackage.type_defs import RotateChannelCredentialsResponseTypeDef

def get_value() -> RotateChannelCredentialsResponseTypeDef:
    return {
        "Arn": ...,
        "Description": ...,
        "EgressAccessLogs": ...,
        "HlsIngest": ...,
        "Id": ...,
        "IngressAccessLogs": ...,
        "Tags": ...,
        "ResponseMetadata": ...,
    }
Definition
class RotateChannelCredentialsResponseTypeDef(TypedDict):
    Arn: str,
    Description: str,
    EgressAccessLogs: EgressAccessLogsTypeDef,  # (1)
    HlsIngest: HlsIngestTypeDef,  # (2)
    Id: str,
    IngressAccessLogs: IngressAccessLogsTypeDef,  # (3)
    Tags: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See EgressAccessLogsTypeDef
  2. See HlsIngestTypeDef
  3. See IngressAccessLogsTypeDef
  4. See ResponseMetadataTypeDef

RotateIngestEndpointCredentialsResponseTypeDef

Usage Example
from mypy_boto3_mediapackage.type_defs import RotateIngestEndpointCredentialsResponseTypeDef

def get_value() -> RotateIngestEndpointCredentialsResponseTypeDef:
    return {
        "Arn": ...,
        "Description": ...,
        "EgressAccessLogs": ...,
        "HlsIngest": ...,
        "Id": ...,
        "IngressAccessLogs": ...,
        "Tags": ...,
        "ResponseMetadata": ...,
    }
Definition
class RotateIngestEndpointCredentialsResponseTypeDef(TypedDict):
    Arn: str,
    Description: str,
    EgressAccessLogs: EgressAccessLogsTypeDef,  # (1)
    HlsIngest: HlsIngestTypeDef,  # (2)
    Id: str,
    IngressAccessLogs: IngressAccessLogsTypeDef,  # (3)
    Tags: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See EgressAccessLogsTypeDef
  2. See HlsIngestTypeDef
  3. See IngressAccessLogsTypeDef
  4. See ResponseMetadataTypeDef

UpdateChannelResponseTypeDef

Usage Example
from mypy_boto3_mediapackage.type_defs import UpdateChannelResponseTypeDef

def get_value() -> UpdateChannelResponseTypeDef:
    return {
        "Arn": ...,
        "Description": ...,
        "EgressAccessLogs": ...,
        "HlsIngest": ...,
        "Id": ...,
        "IngressAccessLogs": ...,
        "Tags": ...,
        "ResponseMetadata": ...,
    }
Definition
class UpdateChannelResponseTypeDef(TypedDict):
    Arn: str,
    Description: str,
    EgressAccessLogs: EgressAccessLogsTypeDef,  # (1)
    HlsIngest: HlsIngestTypeDef,  # (2)
    Id: str,
    IngressAccessLogs: IngressAccessLogsTypeDef,  # (3)
    Tags: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See EgressAccessLogsTypeDef
  2. See HlsIngestTypeDef
  3. See IngressAccessLogsTypeDef
  4. See ResponseMetadataTypeDef

CmafPackageCreateOrUpdateParametersTypeDef

Usage Example
from mypy_boto3_mediapackage.type_defs import CmafPackageCreateOrUpdateParametersTypeDef

def get_value() -> CmafPackageCreateOrUpdateParametersTypeDef:
    return {
        "Encryption": ...,
    }
Definition
class CmafPackageCreateOrUpdateParametersTypeDef(TypedDict):
    Encryption: NotRequired[CmafEncryptionTypeDef],  # (1)
    HlsManifests: NotRequired[Sequence[HlsManifestCreateOrUpdateParametersTypeDef]],  # (2)
    SegmentDurationSeconds: NotRequired[int],
    SegmentPrefix: NotRequired[str],
    StreamSelection: NotRequired[StreamSelectionTypeDef],  # (3)
  1. See CmafEncryptionTypeDef
  2. See HlsManifestCreateOrUpdateParametersTypeDef
  3. See StreamSelectionTypeDef

CmafPackageTypeDef

Usage Example
from mypy_boto3_mediapackage.type_defs import CmafPackageTypeDef

def get_value() -> CmafPackageTypeDef:
    return {
        "Encryption": ...,
    }
Definition
class CmafPackageTypeDef(TypedDict):
    Encryption: NotRequired[CmafEncryptionTypeDef],  # (1)
    HlsManifests: NotRequired[List[HlsManifestTypeDef]],  # (2)
    SegmentDurationSeconds: NotRequired[int],
    SegmentPrefix: NotRequired[str],
    StreamSelection: NotRequired[StreamSelectionTypeDef],  # (3)
  1. See CmafEncryptionTypeDef
  2. See HlsManifestTypeDef
  3. See StreamSelectionTypeDef

DashPackageTypeDef

Usage Example
from mypy_boto3_mediapackage.type_defs import DashPackageTypeDef

def get_value() -> DashPackageTypeDef:
    return {
        "AdTriggers": ...,
    }
Definition
class DashPackageTypeDef(TypedDict):
    AdTriggers: NotRequired[Sequence[AdTriggersElementType]],  # (1)
    AdsOnDeliveryRestrictions: NotRequired[AdsOnDeliveryRestrictionsType],  # (2)
    Encryption: NotRequired[DashEncryptionTypeDef],  # (3)
    IncludeIframeOnlyStream: NotRequired[bool],
    ManifestLayout: NotRequired[ManifestLayoutType],  # (4)
    ManifestWindowSeconds: NotRequired[int],
    MinBufferTimeSeconds: NotRequired[int],
    MinUpdatePeriodSeconds: NotRequired[int],
    PeriodTriggers: NotRequired[Sequence[PeriodTriggersElementType]],  # (5)
    Profile: NotRequired[ProfileType],  # (6)
    SegmentDurationSeconds: NotRequired[int],
    SegmentTemplateFormat: NotRequired[SegmentTemplateFormatType],  # (7)
    StreamSelection: NotRequired[StreamSelectionTypeDef],  # (8)
    SuggestedPresentationDelaySeconds: NotRequired[int],
    UtcTiming: NotRequired[UtcTimingType],  # (9)
    UtcTimingUri: NotRequired[str],
  1. See AdTriggersElementType
  2. See AdsOnDeliveryRestrictionsType
  3. See DashEncryptionTypeDef
  4. See ManifestLayoutType
  5. See PeriodTriggersElementType
  6. See ProfileType
  7. See SegmentTemplateFormatType
  8. See StreamSelectionTypeDef
  9. See UtcTimingType

HlsPackageTypeDef

Usage Example
from mypy_boto3_mediapackage.type_defs import HlsPackageTypeDef

def get_value() -> HlsPackageTypeDef:
    return {
        "AdMarkers": ...,
    }
Definition
class HlsPackageTypeDef(TypedDict):
    AdMarkers: NotRequired[AdMarkersType],  # (1)
    AdTriggers: NotRequired[Sequence[AdTriggersElementType]],  # (2)
    AdsOnDeliveryRestrictions: NotRequired[AdsOnDeliveryRestrictionsType],  # (3)
    Encryption: NotRequired[HlsEncryptionTypeDef],  # (4)
    IncludeDvbSubtitles: NotRequired[bool],
    IncludeIframeOnlyStream: NotRequired[bool],
    PlaylistType: NotRequired[PlaylistTypeType],  # (5)
    PlaylistWindowSeconds: NotRequired[int],
    ProgramDateTimeIntervalSeconds: NotRequired[int],
    SegmentDurationSeconds: NotRequired[int],
    StreamSelection: NotRequired[StreamSelectionTypeDef],  # (6)
    UseAudioRenditionGroup: NotRequired[bool],
  1. See AdMarkersType
  2. See AdTriggersElementType
  3. See AdsOnDeliveryRestrictionsType
  4. See HlsEncryptionTypeDef
  5. See PlaylistTypeType
  6. See StreamSelectionTypeDef

MssPackageTypeDef

Usage Example
from mypy_boto3_mediapackage.type_defs import MssPackageTypeDef

def get_value() -> MssPackageTypeDef:
    return {
        "Encryption": ...,
    }
Definition
class MssPackageTypeDef(TypedDict):
    Encryption: NotRequired[MssEncryptionTypeDef],  # (1)
    ManifestWindowSeconds: NotRequired[int],
    SegmentDurationSeconds: NotRequired[int],
    StreamSelection: NotRequired[StreamSelectionTypeDef],  # (2)
  1. See MssEncryptionTypeDef
  2. See StreamSelectionTypeDef

ListChannelsResponseTypeDef

Usage Example
from mypy_boto3_mediapackage.type_defs import ListChannelsResponseTypeDef

def get_value() -> ListChannelsResponseTypeDef:
    return {
        "Channels": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListChannelsResponseTypeDef(TypedDict):
    Channels: List[ChannelTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ChannelTypeDef
  2. See ResponseMetadataTypeDef

CreateOriginEndpointRequestRequestTypeDef

Usage Example
from mypy_boto3_mediapackage.type_defs import CreateOriginEndpointRequestRequestTypeDef

def get_value() -> CreateOriginEndpointRequestRequestTypeDef:
    return {
        "ChannelId": ...,
        "Id": ...,
    }
Definition
class CreateOriginEndpointRequestRequestTypeDef(TypedDict):
    ChannelId: str,
    Id: str,
    Authorization: NotRequired[AuthorizationTypeDef],  # (1)
    CmafPackage: NotRequired[CmafPackageCreateOrUpdateParametersTypeDef],  # (2)
    DashPackage: NotRequired[DashPackageTypeDef],  # (3)
    Description: NotRequired[str],
    HlsPackage: NotRequired[HlsPackageTypeDef],  # (4)
    ManifestName: NotRequired[str],
    MssPackage: NotRequired[MssPackageTypeDef],  # (5)
    Origination: NotRequired[OriginationType],  # (6)
    StartoverWindowSeconds: NotRequired[int],
    Tags: NotRequired[Mapping[str, str]],
    TimeDelaySeconds: NotRequired[int],
    Whitelist: NotRequired[Sequence[str]],
  1. See AuthorizationTypeDef
  2. See CmafPackageCreateOrUpdateParametersTypeDef
  3. See DashPackageTypeDef
  4. See HlsPackageTypeDef
  5. See MssPackageTypeDef
  6. See OriginationType

CreateOriginEndpointResponseTypeDef

Usage Example
from mypy_boto3_mediapackage.type_defs import CreateOriginEndpointResponseTypeDef

def get_value() -> CreateOriginEndpointResponseTypeDef:
    return {
        "Arn": ...,
        "Authorization": ...,
        "ChannelId": ...,
        "CmafPackage": ...,
        "DashPackage": ...,
        "Description": ...,
        "HlsPackage": ...,
        "Id": ...,
        "ManifestName": ...,
        "MssPackage": ...,
        "Origination": ...,
        "StartoverWindowSeconds": ...,
        "Tags": ...,
        "TimeDelaySeconds": ...,
        "Url": ...,
        "Whitelist": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateOriginEndpointResponseTypeDef(TypedDict):
    Arn: str,
    Authorization: AuthorizationTypeDef,  # (1)
    ChannelId: str,
    CmafPackage: CmafPackageTypeDef,  # (2)
    DashPackage: DashPackageTypeDef,  # (3)
    Description: str,
    HlsPackage: HlsPackageTypeDef,  # (4)
    Id: str,
    ManifestName: str,
    MssPackage: MssPackageTypeDef,  # (5)
    Origination: OriginationType,  # (6)
    StartoverWindowSeconds: int,
    Tags: Dict[str, str],
    TimeDelaySeconds: int,
    Url: str,
    Whitelist: List[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (7)
  1. See AuthorizationTypeDef
  2. See CmafPackageTypeDef
  3. See DashPackageTypeDef
  4. See HlsPackageTypeDef
  5. See MssPackageTypeDef
  6. See OriginationType
  7. See ResponseMetadataTypeDef

DescribeOriginEndpointResponseTypeDef

Usage Example
from mypy_boto3_mediapackage.type_defs import DescribeOriginEndpointResponseTypeDef

def get_value() -> DescribeOriginEndpointResponseTypeDef:
    return {
        "Arn": ...,
        "Authorization": ...,
        "ChannelId": ...,
        "CmafPackage": ...,
        "DashPackage": ...,
        "Description": ...,
        "HlsPackage": ...,
        "Id": ...,
        "ManifestName": ...,
        "MssPackage": ...,
        "Origination": ...,
        "StartoverWindowSeconds": ...,
        "Tags": ...,
        "TimeDelaySeconds": ...,
        "Url": ...,
        "Whitelist": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeOriginEndpointResponseTypeDef(TypedDict):
    Arn: str,
    Authorization: AuthorizationTypeDef,  # (1)
    ChannelId: str,
    CmafPackage: CmafPackageTypeDef,  # (2)
    DashPackage: DashPackageTypeDef,  # (3)
    Description: str,
    HlsPackage: HlsPackageTypeDef,  # (4)
    Id: str,
    ManifestName: str,
    MssPackage: MssPackageTypeDef,  # (5)
    Origination: OriginationType,  # (6)
    StartoverWindowSeconds: int,
    Tags: Dict[str, str],
    TimeDelaySeconds: int,
    Url: str,
    Whitelist: List[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (7)
  1. See AuthorizationTypeDef
  2. See CmafPackageTypeDef
  3. See DashPackageTypeDef
  4. See HlsPackageTypeDef
  5. See MssPackageTypeDef
  6. See OriginationType
  7. See ResponseMetadataTypeDef

OriginEndpointTypeDef

Usage Example
from mypy_boto3_mediapackage.type_defs import OriginEndpointTypeDef

def get_value() -> OriginEndpointTypeDef:
    return {
        "Arn": ...,
    }
Definition
class OriginEndpointTypeDef(TypedDict):
    Arn: NotRequired[str],
    Authorization: NotRequired[AuthorizationTypeDef],  # (1)
    ChannelId: NotRequired[str],
    CmafPackage: NotRequired[CmafPackageTypeDef],  # (2)
    DashPackage: NotRequired[DashPackageTypeDef],  # (3)
    Description: NotRequired[str],
    HlsPackage: NotRequired[HlsPackageTypeDef],  # (4)
    Id: NotRequired[str],
    ManifestName: NotRequired[str],
    MssPackage: NotRequired[MssPackageTypeDef],  # (5)
    Origination: NotRequired[OriginationType],  # (6)
    StartoverWindowSeconds: NotRequired[int],
    Tags: NotRequired[Dict[str, str]],
    TimeDelaySeconds: NotRequired[int],
    Url: NotRequired[str],
    Whitelist: NotRequired[List[str]],
  1. See AuthorizationTypeDef
  2. See CmafPackageTypeDef
  3. See DashPackageTypeDef
  4. See HlsPackageTypeDef
  5. See MssPackageTypeDef
  6. See OriginationType

UpdateOriginEndpointRequestRequestTypeDef

Usage Example
from mypy_boto3_mediapackage.type_defs import UpdateOriginEndpointRequestRequestTypeDef

def get_value() -> UpdateOriginEndpointRequestRequestTypeDef:
    return {
        "Id": ...,
    }
Definition
class UpdateOriginEndpointRequestRequestTypeDef(TypedDict):
    Id: str,
    Authorization: NotRequired[AuthorizationTypeDef],  # (1)
    CmafPackage: NotRequired[CmafPackageCreateOrUpdateParametersTypeDef],  # (2)
    DashPackage: NotRequired[DashPackageTypeDef],  # (3)
    Description: NotRequired[str],
    HlsPackage: NotRequired[HlsPackageTypeDef],  # (4)
    ManifestName: NotRequired[str],
    MssPackage: NotRequired[MssPackageTypeDef],  # (5)
    Origination: NotRequired[OriginationType],  # (6)
    StartoverWindowSeconds: NotRequired[int],
    TimeDelaySeconds: NotRequired[int],
    Whitelist: NotRequired[Sequence[str]],
  1. See AuthorizationTypeDef
  2. See CmafPackageCreateOrUpdateParametersTypeDef
  3. See DashPackageTypeDef
  4. See HlsPackageTypeDef
  5. See MssPackageTypeDef
  6. See OriginationType

UpdateOriginEndpointResponseTypeDef

Usage Example
from mypy_boto3_mediapackage.type_defs import UpdateOriginEndpointResponseTypeDef

def get_value() -> UpdateOriginEndpointResponseTypeDef:
    return {
        "Arn": ...,
        "Authorization": ...,
        "ChannelId": ...,
        "CmafPackage": ...,
        "DashPackage": ...,
        "Description": ...,
        "HlsPackage": ...,
        "Id": ...,
        "ManifestName": ...,
        "MssPackage": ...,
        "Origination": ...,
        "StartoverWindowSeconds": ...,
        "Tags": ...,
        "TimeDelaySeconds": ...,
        "Url": ...,
        "Whitelist": ...,
        "ResponseMetadata": ...,
    }
Definition
class UpdateOriginEndpointResponseTypeDef(TypedDict):
    Arn: str,
    Authorization: AuthorizationTypeDef,  # (1)
    ChannelId: str,
    CmafPackage: CmafPackageTypeDef,  # (2)
    DashPackage: DashPackageTypeDef,  # (3)
    Description: str,
    HlsPackage: HlsPackageTypeDef,  # (4)
    Id: str,
    ManifestName: str,
    MssPackage: MssPackageTypeDef,  # (5)
    Origination: OriginationType,  # (6)
    StartoverWindowSeconds: int,
    Tags: Dict[str, str],
    TimeDelaySeconds: int,
    Url: str,
    Whitelist: List[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (7)
  1. See AuthorizationTypeDef
  2. See CmafPackageTypeDef
  3. See DashPackageTypeDef
  4. See HlsPackageTypeDef
  5. See MssPackageTypeDef
  6. See OriginationType
  7. See ResponseMetadataTypeDef

ListOriginEndpointsResponseTypeDef

Usage Example
from mypy_boto3_mediapackage.type_defs import ListOriginEndpointsResponseTypeDef

def get_value() -> ListOriginEndpointsResponseTypeDef:
    return {
        "NextToken": ...,
        "OriginEndpoints": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListOriginEndpointsResponseTypeDef(TypedDict):
    NextToken: str,
    OriginEndpoints: List[OriginEndpointTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See OriginEndpointTypeDef
  2. See ResponseMetadataTypeDef