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.AccessDenied

  • CloudFront.Client.exceptions.InvalidArgument

  • CloudFront.Client.exceptions.EntityNotFound

  • CloudFront.Client.exceptions.InvalidIfMatchVersion

  • CloudFront.Client.exceptions.PreconditionFailed