Type definitions#
Index > KinesisVideoMedia > Type definitions
Auto-generated documentation for KinesisVideoMedia type annotations stubs module mypy-boto3-kinesis-video-media.
TimestampTypeDef#
# TimestampTypeDef definition
TimestampTypeDef = Union[
datetime,
str,
]
ResponseMetadataTypeDef#
# ResponseMetadataTypeDef definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HTTPStatusCode: int,
HTTPHeaders: Dict[str, str],
RetryAttempts: int,
HostId: NotRequired[str],
GetMediaOutputTypeDef#
# GetMediaOutputTypeDef definition
class GetMediaOutputTypeDef(TypedDict):
ContentType: str,
Payload: StreamingBody,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
StartSelectorTypeDef#
# StartSelectorTypeDef definition
class StartSelectorTypeDef(TypedDict):
StartSelectorType: StartSelectorTypeType, # (1)
AfterFragmentNumber: NotRequired[str],
StartTimestamp: NotRequired[Union[datetime, str]],
ContinuationToken: NotRequired[str],
GetMediaInputRequestTypeDef#
# GetMediaInputRequestTypeDef definition
class GetMediaInputRequestTypeDef(TypedDict):
StartSelector: StartSelectorTypeDef, # (1)
StreamName: NotRequired[str],
StreamARN: NotRequired[str],