Skip to content

CloudFront  >  Operations  >  update_key_value_store

update_key_value_store

Operation

update_key_value_store async

update_key_value_store(request: UpdateKeyValueStoreInput | UpdateKeyValueStoreInputDict, /, *, plugins: list[Plugin] | None = None) -> UpdateKeyValueStoreOutput
update_key_value_store(*, plugins: list[Plugin] | None = None, **kwargs: Unpack[UpdateKeyValueStoreInputDict]) -> UpdateKeyValueStoreOutput

Specifies the key value store to update.

Parameters:

Name Type Description Default
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
UpdateKeyValueStoreOutput

An instance of UpdateKeyValueStoreOutput.

Input

Pass the input fields as keyword arguments, or pass a model or dictionary as the first positional argument. Pass plugins separately as a keyword argument.

Model

UpdateKeyValueStoreInput dataclass

Bases: _SerdeShape

Dataclass for UpdateKeyValueStoreInput structure.

Attributes
comment class-attribute instance-attribute
comment: str | None = ...

The comment of the key value store to update.

if_match class-attribute instance-attribute
if_match: str | None = ...

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

name class-attribute instance-attribute
name: str | None = ...

The name of the key value store to update.

Dictionaries

UpdateKeyValueStoreInputDict

Bases: TypedDict

Dictionary form of UpdateKeyValueStoreInput.

Attributes
comment instance-attribute
comment: Required[str]

The comment of the key value store to update.

if_match instance-attribute
if_match: Required[str]

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

name instance-attribute
name: Required[str]

The name of the key value store to update.

Output

UpdateKeyValueStoreOutput dataclass

Bases: _SerdeShape

Dataclass for UpdateKeyValueStoreOutput structure.

Attributes

e_tag class-attribute instance-attribute
e_tag: str | None = ...

The ETag of the resulting key value store.

key_value_store class-attribute instance-attribute
key_value_store: KeyValueStore | None = ...

The resulting key value store to update.

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.