Skip to content

Typed dictionaries

Index > KinesisVideoArchivedMedia > Typed dictionaries

Auto-generated documentation for KinesisVideoArchivedMedia type annotations stubs module mypy-boto3-kinesis-video-archived-media.

ClipTimestampRangeTypeDef

Usage Example
from mypy_boto3_kinesis_video_archived_media.type_defs import ClipTimestampRangeTypeDef

def get_value() -> ClipTimestampRangeTypeDef:
    return {
        "StartTimestamp": ...,
        "EndTimestamp": ...,
    }
Definition
class ClipTimestampRangeTypeDef(TypedDict):
    StartTimestamp: Union[datetime, str],
    EndTimestamp: Union[datetime, str],

DASHTimestampRangeTypeDef

Usage Example
from mypy_boto3_kinesis_video_archived_media.type_defs import DASHTimestampRangeTypeDef

def get_value() -> DASHTimestampRangeTypeDef:
    return {
        "StartTimestamp": ...,
    }
Definition
class DASHTimestampRangeTypeDef(TypedDict):
    StartTimestamp: NotRequired[Union[datetime, str]],
    EndTimestamp: NotRequired[Union[datetime, str]],

TimestampRangeTypeDef

Usage Example
from mypy_boto3_kinesis_video_archived_media.type_defs import TimestampRangeTypeDef

def get_value() -> TimestampRangeTypeDef:
    return {
        "StartTimestamp": ...,
        "EndTimestamp": ...,
    }
Definition
class TimestampRangeTypeDef(TypedDict):
    StartTimestamp: Union[datetime, str],
    EndTimestamp: Union[datetime, str],

FragmentTypeDef

Usage Example
from mypy_boto3_kinesis_video_archived_media.type_defs import FragmentTypeDef

def get_value() -> FragmentTypeDef:
    return {
        "FragmentNumber": ...,
    }
Definition
class FragmentTypeDef(TypedDict):
    FragmentNumber: NotRequired[str],
    FragmentSizeInBytes: NotRequired[int],
    ProducerTimestamp: NotRequired[datetime],
    ServerTimestamp: NotRequired[datetime],
    FragmentLengthInMilliseconds: NotRequired[int],

ResponseMetadataTypeDef

Usage Example
from mypy_boto3_kinesis_video_archived_media.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,

PaginatorConfigTypeDef

Usage Example
from mypy_boto3_kinesis_video_archived_media.type_defs import PaginatorConfigTypeDef

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

GetImagesInputRequestTypeDef

Usage Example
from mypy_boto3_kinesis_video_archived_media.type_defs import GetImagesInputRequestTypeDef

def get_value() -> GetImagesInputRequestTypeDef:
    return {
        "ImageSelectorType": ...,
        "StartTimestamp": ...,
        "EndTimestamp": ...,
        "SamplingInterval": ...,
        "Format": ...,
    }
Definition
class GetImagesInputRequestTypeDef(TypedDict):
    ImageSelectorType: ImageSelectorTypeType,  # (1)
    StartTimestamp: Union[datetime, str],
    EndTimestamp: Union[datetime, str],
    SamplingInterval: int,
    Format: FormatType,  # (2)
    StreamName: NotRequired[str],
    StreamARN: NotRequired[str],
    FormatConfig: NotRequired[Mapping[FormatConfigKeyType, str]],  # (3)
    WidthPixels: NotRequired[int],
    HeightPixels: NotRequired[int],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See ImageSelectorTypeType
  2. See FormatType
  3. See FormatConfigKeyType

ImageTypeDef

Usage Example
from mypy_boto3_kinesis_video_archived_media.type_defs import ImageTypeDef

def get_value() -> ImageTypeDef:
    return {
        "TimeStamp": ...,
    }
Definition
class ImageTypeDef(TypedDict):
    TimeStamp: NotRequired[datetime],
    Error: NotRequired[ImageErrorType],  # (1)
    ImageContent: NotRequired[str],
  1. See ImageErrorType

GetMediaForFragmentListInputRequestTypeDef

Usage Example
from mypy_boto3_kinesis_video_archived_media.type_defs import GetMediaForFragmentListInputRequestTypeDef

def get_value() -> GetMediaForFragmentListInputRequestTypeDef:
    return {
        "Fragments": ...,
    }
Definition
class GetMediaForFragmentListInputRequestTypeDef(TypedDict):
    Fragments: Sequence[str],
    StreamName: NotRequired[str],
    StreamARN: NotRequired[str],

HLSTimestampRangeTypeDef

Usage Example
from mypy_boto3_kinesis_video_archived_media.type_defs import HLSTimestampRangeTypeDef

def get_value() -> HLSTimestampRangeTypeDef:
    return {
        "StartTimestamp": ...,
    }
Definition
class HLSTimestampRangeTypeDef(TypedDict):
    StartTimestamp: NotRequired[Union[datetime, str]],
    EndTimestamp: NotRequired[Union[datetime, str]],

ClipFragmentSelectorTypeDef

Usage Example
from mypy_boto3_kinesis_video_archived_media.type_defs import ClipFragmentSelectorTypeDef

def get_value() -> ClipFragmentSelectorTypeDef:
    return {
        "FragmentSelectorType": ...,
        "TimestampRange": ...,
    }
Definition
class ClipFragmentSelectorTypeDef(TypedDict):
    FragmentSelectorType: ClipFragmentSelectorTypeType,  # (1)
    TimestampRange: ClipTimestampRangeTypeDef,  # (2)
  1. See ClipFragmentSelectorTypeType
  2. See ClipTimestampRangeTypeDef

DASHFragmentSelectorTypeDef

Usage Example
from mypy_boto3_kinesis_video_archived_media.type_defs import DASHFragmentSelectorTypeDef

def get_value() -> DASHFragmentSelectorTypeDef:
    return {
        "FragmentSelectorType": ...,
    }
Definition
class DASHFragmentSelectorTypeDef(TypedDict):
    FragmentSelectorType: NotRequired[DASHFragmentSelectorTypeType],  # (1)
    TimestampRange: NotRequired[DASHTimestampRangeTypeDef],  # (2)
  1. See DASHFragmentSelectorTypeType
  2. See DASHTimestampRangeTypeDef

FragmentSelectorTypeDef

Usage Example
from mypy_boto3_kinesis_video_archived_media.type_defs import FragmentSelectorTypeDef

def get_value() -> FragmentSelectorTypeDef:
    return {
        "FragmentSelectorType": ...,
        "TimestampRange": ...,
    }
Definition
class FragmentSelectorTypeDef(TypedDict):
    FragmentSelectorType: FragmentSelectorTypeType,  # (1)
    TimestampRange: TimestampRangeTypeDef,  # (2)
  1. See FragmentSelectorTypeType
  2. See TimestampRangeTypeDef

GetClipOutputTypeDef

Usage Example
from mypy_boto3_kinesis_video_archived_media.type_defs import GetClipOutputTypeDef

def get_value() -> GetClipOutputTypeDef:
    return {
        "ContentType": ...,
        "Payload": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetClipOutputTypeDef(TypedDict):
    ContentType: str,
    Payload: StreamingBody,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetDASHStreamingSessionURLOutputTypeDef

Usage Example
from mypy_boto3_kinesis_video_archived_media.type_defs import GetDASHStreamingSessionURLOutputTypeDef

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

GetHLSStreamingSessionURLOutputTypeDef

Usage Example
from mypy_boto3_kinesis_video_archived_media.type_defs import GetHLSStreamingSessionURLOutputTypeDef

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

GetMediaForFragmentListOutputTypeDef

Usage Example
from mypy_boto3_kinesis_video_archived_media.type_defs import GetMediaForFragmentListOutputTypeDef

def get_value() -> GetMediaForFragmentListOutputTypeDef:
    return {
        "ContentType": ...,
        "Payload": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetMediaForFragmentListOutputTypeDef(TypedDict):
    ContentType: str,
    Payload: StreamingBody,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListFragmentsOutputTypeDef

Usage Example
from mypy_boto3_kinesis_video_archived_media.type_defs import ListFragmentsOutputTypeDef

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

GetImagesInputGetImagesPaginateTypeDef

Usage Example
from mypy_boto3_kinesis_video_archived_media.type_defs import GetImagesInputGetImagesPaginateTypeDef

def get_value() -> GetImagesInputGetImagesPaginateTypeDef:
    return {
        "ImageSelectorType": ...,
        "StartTimestamp": ...,
        "EndTimestamp": ...,
        "SamplingInterval": ...,
        "Format": ...,
    }
Definition
class GetImagesInputGetImagesPaginateTypeDef(TypedDict):
    ImageSelectorType: ImageSelectorTypeType,  # (1)
    StartTimestamp: Union[datetime, str],
    EndTimestamp: Union[datetime, str],
    SamplingInterval: int,
    Format: FormatType,  # (2)
    StreamName: NotRequired[str],
    StreamARN: NotRequired[str],
    FormatConfig: NotRequired[Mapping[FormatConfigKeyType, str]],  # (3)
    WidthPixels: NotRequired[int],
    HeightPixels: NotRequired[int],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (4)
  1. See ImageSelectorTypeType
  2. See FormatType
  3. See FormatConfigKeyType
  4. See PaginatorConfigTypeDef

GetImagesOutputTypeDef

Usage Example
from mypy_boto3_kinesis_video_archived_media.type_defs import GetImagesOutputTypeDef

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

HLSFragmentSelectorTypeDef

Usage Example
from mypy_boto3_kinesis_video_archived_media.type_defs import HLSFragmentSelectorTypeDef

def get_value() -> HLSFragmentSelectorTypeDef:
    return {
        "FragmentSelectorType": ...,
    }
Definition
class HLSFragmentSelectorTypeDef(TypedDict):
    FragmentSelectorType: NotRequired[HLSFragmentSelectorTypeType],  # (1)
    TimestampRange: NotRequired[HLSTimestampRangeTypeDef],  # (2)
  1. See HLSFragmentSelectorTypeType
  2. See HLSTimestampRangeTypeDef

GetClipInputRequestTypeDef

Usage Example
from mypy_boto3_kinesis_video_archived_media.type_defs import GetClipInputRequestTypeDef

def get_value() -> GetClipInputRequestTypeDef:
    return {
        "ClipFragmentSelector": ...,
    }
Definition
class GetClipInputRequestTypeDef(TypedDict):
    ClipFragmentSelector: ClipFragmentSelectorTypeDef,  # (1)
    StreamName: NotRequired[str],
    StreamARN: NotRequired[str],
  1. See ClipFragmentSelectorTypeDef

GetDASHStreamingSessionURLInputRequestTypeDef

Usage Example
from mypy_boto3_kinesis_video_archived_media.type_defs import GetDASHStreamingSessionURLInputRequestTypeDef

def get_value() -> GetDASHStreamingSessionURLInputRequestTypeDef:
    return {
        "StreamName": ...,
    }
Definition
class GetDASHStreamingSessionURLInputRequestTypeDef(TypedDict):
    StreamName: NotRequired[str],
    StreamARN: NotRequired[str],
    PlaybackMode: NotRequired[DASHPlaybackModeType],  # (1)
    DisplayFragmentTimestamp: NotRequired[DASHDisplayFragmentTimestampType],  # (2)
    DisplayFragmentNumber: NotRequired[DASHDisplayFragmentNumberType],  # (3)
    DASHFragmentSelector: NotRequired[DASHFragmentSelectorTypeDef],  # (4)
    Expires: NotRequired[int],
    MaxManifestFragmentResults: NotRequired[int],
  1. See DASHPlaybackModeType
  2. See DASHDisplayFragmentTimestampType
  3. See DASHDisplayFragmentNumberType
  4. See DASHFragmentSelectorTypeDef

ListFragmentsInputListFragmentsPaginateTypeDef

Usage Example
from mypy_boto3_kinesis_video_archived_media.type_defs import ListFragmentsInputListFragmentsPaginateTypeDef

def get_value() -> ListFragmentsInputListFragmentsPaginateTypeDef:
    return {
        "StreamName": ...,
    }
Definition
class ListFragmentsInputListFragmentsPaginateTypeDef(TypedDict):
    StreamName: NotRequired[str],
    StreamARN: NotRequired[str],
    FragmentSelector: NotRequired[FragmentSelectorTypeDef],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FragmentSelectorTypeDef
  2. See PaginatorConfigTypeDef

ListFragmentsInputRequestTypeDef

Usage Example
from mypy_boto3_kinesis_video_archived_media.type_defs import ListFragmentsInputRequestTypeDef

def get_value() -> ListFragmentsInputRequestTypeDef:
    return {
        "StreamName": ...,
    }
Definition
class ListFragmentsInputRequestTypeDef(TypedDict):
    StreamName: NotRequired[str],
    StreamARN: NotRequired[str],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    FragmentSelector: NotRequired[FragmentSelectorTypeDef],  # (1)
  1. See FragmentSelectorTypeDef

GetHLSStreamingSessionURLInputRequestTypeDef

Usage Example
from mypy_boto3_kinesis_video_archived_media.type_defs import GetHLSStreamingSessionURLInputRequestTypeDef

def get_value() -> GetHLSStreamingSessionURLInputRequestTypeDef:
    return {
        "StreamName": ...,
    }
Definition
class GetHLSStreamingSessionURLInputRequestTypeDef(TypedDict):
    StreamName: NotRequired[str],
    StreamARN: NotRequired[str],
    PlaybackMode: NotRequired[HLSPlaybackModeType],  # (1)
    HLSFragmentSelector: NotRequired[HLSFragmentSelectorTypeDef],  # (2)
    ContainerFormat: NotRequired[ContainerFormatType],  # (3)
    DiscontinuityMode: NotRequired[HLSDiscontinuityModeType],  # (4)
    DisplayFragmentTimestamp: NotRequired[HLSDisplayFragmentTimestampType],  # (5)
    Expires: NotRequired[int],
    MaxMediaPlaylistFragmentResults: NotRequired[int],
  1. See HLSPlaybackModeType
  2. See HLSFragmentSelectorTypeDef
  3. See ContainerFormatType
  4. See HLSDiscontinuityModeType
  5. See HLSDisplayFragmentTimestampType