Amazon CloudFront KeyValueStore

2024/01/22 - Amazon CloudFront KeyValueStore - 1 updated api methods

Changes  This release improves upon the DescribeKeyValueStore API by returning two additional fields, Status of the KeyValueStore and the FailureReason in case of failures during creation of KeyValueStore.

DescribeKeyValueStore (updated) Link ΒΆ
Changes (response)
{'FailureReason': 'string', 'Status': 'string'}

Returns metadata information about Key Value Store.

See also: AWS API Documentation

Request Syntax

client.describe_key_value_store(
    KvsARN='string'
)
type KvsARN:

string

param KvsARN:

[REQUIRED]

The Amazon Resource Name (ARN) of the Key Value Store.

rtype:

dict

returns:

Response Syntax

{
    'ItemCount': 123,
    'TotalSizeInBytes': 123,
    'KvsARN': 'string',
    'Created': datetime(2015, 1, 1),
    'ETag': 'string',
    'LastModified': datetime(2015, 1, 1),
    'Status': 'string',
    'FailureReason': 'string'
}

Response Structure

  • (dict) --

    Metadata information about a Key Value Store.

    • ItemCount (integer) --

      Number of key value pairs in the Key Value Store.

    • TotalSizeInBytes (integer) --

      Total size of the Key Value Store in bytes.

    • KvsARN (string) --

      The Amazon Resource Name (ARN) of the Key Value Store.

    • Created (datetime) --

      Date and time when the Key Value Store was created.

    • ETag (string) --

      The version identifier for the current version of the Key Value Store.

    • LastModified (datetime) --

      Date and time when the key value pairs in the Key Value Store was last modified.

    • Status (string) --

      The current status of the Key Value Store.

    • FailureReason (string) --

      The reason for Key Value Store creation failure.