Skip to content

create_key_value_store

Operation

create_key_value_store

create_key_value_store(request: CreateKeyValueStoreInput | CreateKeyValueStoreInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[CreateKeyValueStoreInputDict]) -> CreateKeyValueStoreOutput

Specifies the key value store resource to add to your account. In your account, the key value store names must be unique. You can also import key value store data in JSON format from an S3 bucket by providing a valid ImportSource that you own.

Parameters:

Name Type Description Default
request CreateKeyValueStoreInput | CreateKeyValueStoreInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
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
**kwargs Unpack[CreateKeyValueStoreInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
CreateKeyValueStoreOutput

An instance of CreateKeyValueStoreOutput.

create_key_value_store async

create_key_value_store(request: CreateKeyValueStoreInput | CreateKeyValueStoreInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[CreateKeyValueStoreInputDict]) -> CreateKeyValueStoreOutput

Specifies the key value store resource to add to your account. In your account, the key value store names must be unique. You can also import key value store data in JSON format from an S3 bucket by providing a valid ImportSource that you own.

Parameters:

Name Type Description Default
request CreateKeyValueStoreInput | CreateKeyValueStoreInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
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
**kwargs Unpack[CreateKeyValueStoreInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
CreateKeyValueStoreOutput

An instance of CreateKeyValueStoreOutput.

Input

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

CreateKeyValueStoreInputDict

Bases: TypedDict

Dictionary form of CreateKeyValueStoreInput.

Attributes

comment instance-attribute
comment: str | None

The comment of the key value store.

import_source instance-attribute
import_source: ImportSource | ImportSourceDict | None

The S3 bucket that provides the source for the import. The source must be in a valid JSON format.

name instance-attribute
name: Required[str]

The name of the key value store. The minimum length is 1 character and the maximum length is 64 characters.

tags instance-attribute
tags: Tags | TagsDict | None

A complex type that contains zero or more Tag elements.

CreateKeyValueStoreInput dataclass

Bases: _SerdeShape

Dataclass for CreateKeyValueStoreInput structure.

Attributes

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

The comment of the key value store.

import_source class-attribute instance-attribute
import_source: ImportSource | None = ...

The S3 bucket that provides the source for the import. The source must be in a valid JSON format.

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

The name of the key value store. The minimum length is 1 character and the maximum length is 64 characters.

tags class-attribute instance-attribute
tags: Tags | None = ...

A complex type that contains zero or more Tag elements.

Output

CreateKeyValueStoreOutput dataclass

Bases: _SerdeShape

Dataclass for CreateKeyValueStoreOutput structure.

Attributes

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

The ETag in the resulting key value store.

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

The resulting key value store.

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

The location of the resulting key value store.

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.