Skip to content

Type definitions#

Index > CloudFrontKeyValueStore > Type definitions

Auto-generated documentation for CloudFrontKeyValueStore type annotations stubs module mypy-boto3-cloudfront-keyvaluestore.

DeleteKeyRequestListItemTypeDef#

# DeleteKeyRequestListItemTypeDef definition

class DeleteKeyRequestListItemTypeDef(TypedDict):
    Key: str,

DeleteKeyRequestRequestTypeDef#

# DeleteKeyRequestRequestTypeDef definition

class DeleteKeyRequestRequestTypeDef(TypedDict):
    KvsARN: str,
    Key: str,
    IfMatch: str,

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,
    HostId: NotRequired[str],

DescribeKeyValueStoreRequestRequestTypeDef#

# DescribeKeyValueStoreRequestRequestTypeDef definition

class DescribeKeyValueStoreRequestRequestTypeDef(TypedDict):
    KvsARN: str,

GetKeyRequestRequestTypeDef#

# GetKeyRequestRequestTypeDef definition

class GetKeyRequestRequestTypeDef(TypedDict):
    KvsARN: str,
    Key: str,

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef definition

class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

ListKeysRequestRequestTypeDef#

# ListKeysRequestRequestTypeDef definition

class ListKeysRequestRequestTypeDef(TypedDict):
    KvsARN: str,
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

ListKeysResponseListItemTypeDef#

# ListKeysResponseListItemTypeDef definition

class ListKeysResponseListItemTypeDef(TypedDict):
    Key: str,
    Value: str,

PutKeyRequestListItemTypeDef#

# PutKeyRequestListItemTypeDef definition

class PutKeyRequestListItemTypeDef(TypedDict):
    Key: str,
    Value: str,

PutKeyRequestRequestTypeDef#

# PutKeyRequestRequestTypeDef definition

class PutKeyRequestRequestTypeDef(TypedDict):
    Key: str,
    Value: str,
    KvsARN: str,
    IfMatch: str,

DeleteKeyResponseTypeDef#

# DeleteKeyResponseTypeDef definition

class DeleteKeyResponseTypeDef(TypedDict):
    ItemCount: int,
    TotalSizeInBytes: int,
    ETag: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DescribeKeyValueStoreResponseTypeDef#

# DescribeKeyValueStoreResponseTypeDef definition

class DescribeKeyValueStoreResponseTypeDef(TypedDict):
    ItemCount: int,
    TotalSizeInBytes: int,
    KvsARN: str,
    Created: datetime,
    ETag: str,
    LastModified: datetime,
    Status: str,
    FailureReason: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetKeyResponseTypeDef#

# GetKeyResponseTypeDef definition

class GetKeyResponseTypeDef(TypedDict):
    Key: str,
    Value: str,
    ItemCount: int,
    TotalSizeInBytes: int,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

PutKeyResponseTypeDef#

# PutKeyResponseTypeDef definition

class PutKeyResponseTypeDef(TypedDict):
    ItemCount: int,
    TotalSizeInBytes: int,
    ETag: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateKeysResponseTypeDef#

# UpdateKeysResponseTypeDef definition

class UpdateKeysResponseTypeDef(TypedDict):
    ItemCount: int,
    TotalSizeInBytes: int,
    ETag: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListKeysRequestListKeysPaginateTypeDef#

# ListKeysRequestListKeysPaginateTypeDef definition

class ListKeysRequestListKeysPaginateTypeDef(TypedDict):
    KvsARN: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListKeysResponseTypeDef#

# ListKeysResponseTypeDef definition

class ListKeysResponseTypeDef(TypedDict):
    Items: List[ListKeysResponseListItemTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See ListKeysResponseListItemTypeDef
  2. See ResponseMetadataTypeDef

UpdateKeysRequestRequestTypeDef#

# UpdateKeysRequestRequestTypeDef definition

class UpdateKeysRequestRequestTypeDef(TypedDict):
    KvsARN: str,
    IfMatch: str,
    Puts: NotRequired[Sequence[PutKeyRequestListItemTypeDef]],  # (1)
    Deletes: NotRequired[Sequence[DeleteKeyRequestListItemTypeDef]],  # (2)
  1. See PutKeyRequestListItemTypeDef
  2. See DeleteKeyRequestListItemTypeDef