create_key_value_store¶
Operation¶
create_key_value_store
async
¶
create_key_value_store(input: CreateKeyValueStoreInput, plugins: list[Plugin] | None = None) -> 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 |
|---|---|---|---|
input
|
CreateKeyValueStoreInput
|
An instance of |
required |
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 |
|---|---|
CreateKeyValueStoreOutput
|
An instance of |
Input¶
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
¶
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
¶
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
¶
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
¶
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.