CloudFrontKeyValueStore / Client / get_key

get_key#

CloudFrontKeyValueStore.Client.get_key(**kwargs)#

Returns a key value pair.

See also: AWS API Documentation

Request Syntax

response = client.get_key(
    KvsARN='string',
    Key='string'
)
Parameters:
  • KvsARN (string) –

    [REQUIRED]

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

  • Key (string) –

    [REQUIRED]

    The key to get.

Return type:

dict

Returns:

Response Syntax

{
    'Key': 'string',
    'Value': 'string',
    'ItemCount': 123,
    'TotalSizeInBytes': 123
}

Response Structure

  • (dict) –

    A key value pair.

    • Key (string) –

      The key of the key value pair.

    • Value (string) –

      The value of the key value pair.

    • ItemCount (integer) –

      Number of key value pairs in the Key Value Store.

    • TotalSizeInBytes (integer) –

      Total size of the Key Value Store in bytes.

Exceptions