Type definitions#
Index > MediaStoreData > Type definitions
Auto-generated documentation for MediaStoreData type annotations stubs module mypy-boto3-mediastore-data.
BlobTypeDef#
# BlobTypeDef definition
BlobTypeDef = Union[
str,
bytes,
IO[Any],
StreamingBody,
]
DeleteObjectRequestRequestTypeDef#
# DeleteObjectRequestRequestTypeDef definition
class DeleteObjectRequestRequestTypeDef(TypedDict):
Path: str,
DescribeObjectRequestRequestTypeDef#
# DescribeObjectRequestRequestTypeDef definition
class DescribeObjectRequestRequestTypeDef(TypedDict):
Path: str,
ResponseMetadataTypeDef#
# ResponseMetadataTypeDef definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HTTPStatusCode: int,
HTTPHeaders: Dict[str, str],
RetryAttempts: int,
HostId: NotRequired[str],
GetObjectRequestRequestTypeDef#
# GetObjectRequestRequestTypeDef definition
class GetObjectRequestRequestTypeDef(TypedDict):
Path: str,
Range: NotRequired[str],
ItemTypeDef#
# ItemTypeDef definition
class ItemTypeDef(TypedDict):
Name: NotRequired[str],
Type: NotRequired[ItemTypeType], # (1)
ETag: NotRequired[str],
LastModified: NotRequired[datetime],
ContentType: NotRequired[str],
ContentLength: NotRequired[int],
- See ItemTypeType
PaginatorConfigTypeDef#
# PaginatorConfigTypeDef definition
class PaginatorConfigTypeDef(TypedDict):
MaxItems: NotRequired[int],
PageSize: NotRequired[int],
StartingToken: NotRequired[str],
ListItemsRequestRequestTypeDef#
# ListItemsRequestRequestTypeDef definition
class ListItemsRequestRequestTypeDef(TypedDict):
Path: NotRequired[str],
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
PutObjectRequestRequestTypeDef#
# PutObjectRequestRequestTypeDef definition
class PutObjectRequestRequestTypeDef(TypedDict):
Body: BlobTypeDef,
Path: str,
ContentType: NotRequired[str],
CacheControl: NotRequired[str],
StorageClass: NotRequired[StorageClassType], # (1)
UploadAvailability: NotRequired[UploadAvailabilityType], # (2)
DescribeObjectResponseTypeDef#
# DescribeObjectResponseTypeDef definition
class DescribeObjectResponseTypeDef(TypedDict):
ETag: str,
ContentType: str,
ContentLength: int,
CacheControl: str,
LastModified: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
GetObjectResponseTypeDef#
# GetObjectResponseTypeDef definition
class GetObjectResponseTypeDef(TypedDict):
Body: StreamingBody,
CacheControl: str,
ContentRange: str,
ContentLength: int,
ContentType: str,
ETag: str,
LastModified: datetime,
StatusCode: int,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
PutObjectResponseTypeDef#
# PutObjectResponseTypeDef definition
class PutObjectResponseTypeDef(TypedDict):
ContentSHA256: str,
ETag: str,
StorageClass: StorageClassType, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See StorageClassType
- See