CloudFront / Client / update_key_value_store

update_key_value_store#

CloudFront.Client.update_key_value_store(**kwargs)#

Specifies the key value store to update.

See also: AWS API Documentation

Request Syntax

response = client.update_key_value_store(
    Name='string',
    Comment='string',
    IfMatch='string'
)
Parameters:
  • Name (string) –

    [REQUIRED]

    The name of the key value store to update.

  • Comment (string) –

    [REQUIRED]

    The comment of the key value store to update.

  • IfMatch (string) –

    [REQUIRED]

    The key value store to update, if a match occurs.

Return type:

dict

Returns:

Response Syntax

{
    'KeyValueStore': {
        'Name': 'string',
        'Id': 'string',
        'Comment': 'string',
        'ARN': 'string',
        'Status': 'string',
        'LastModifiedTime': datetime(2015, 1, 1)
    },
    'ETag': 'string'
}

Response Structure

  • (dict) –

    • KeyValueStore (dict) –

      The resulting key value store to update.

      • Name (string) –

        The name of the key value store.

      • Id (string) –

        The unique Id for the key value store.

      • Comment (string) –

        A comment for the key value store.

      • ARN (string) –

        The Amazon Resource Name (ARN) of the key value store.

      • Status (string) –

        The status of the key value store.

      • LastModifiedTime (datetime) –

        The last-modified time of the key value store.

    • ETag (string) –

      The ETag of the resulting key value store.

Exceptions

  • CloudFront.Client.exceptions.PreconditionFailed

  • CloudFront.Client.exceptions.EntityNotFound

  • CloudFront.Client.exceptions.AccessDenied

  • CloudFront.Client.exceptions.UnsupportedOperation

  • CloudFront.Client.exceptions.InvalidArgument

  • CloudFront.Client.exceptions.InvalidIfMatchVersion