set_token_vault_cmk¶
Operation¶
set_token_vault_cmk
¶
set_token_vault_cmk(request: SetTokenVaultCMKInput | SetTokenVaultCMKInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[SetTokenVaultCMKInputDict]) -> SetTokenVaultCMKOutput
Sets the customer master key (CMK) for a token vault.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
SetTokenVaultCMKInput | SetTokenVaultCMKInputDict | 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[SetTokenVaultCMKInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
SetTokenVaultCMKOutput
|
An instance of |
set_token_vault_cmk
async
¶
set_token_vault_cmk(request: SetTokenVaultCMKInput | SetTokenVaultCMKInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[SetTokenVaultCMKInputDict]) -> SetTokenVaultCMKOutput
Sets the customer master key (CMK) for a token vault.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
SetTokenVaultCMKInput | SetTokenVaultCMKInputDict | 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[SetTokenVaultCMKInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
SetTokenVaultCMKOutput
|
An instance of |
Input¶
Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.
SetTokenVaultCMKInputDict
¶
Bases: TypedDict
Dictionary form of SetTokenVaultCMKInput.
Attributes¶
kms_configuration
instance-attribute
¶
kms_configuration: Required[KmsConfiguration | KmsConfigurationDict]
The KMS configuration for the token vault, including the key type and KMS key ARN.
SetTokenVaultCMKInput
dataclass
¶
Bases: _SerdeShape
Dataclass for SetTokenVaultCMKInput structure.
Attributes¶
kms_configuration
class-attribute
instance-attribute
¶
kms_configuration: KmsConfiguration | None = ...
The KMS configuration for the token vault, including the key type and KMS key ARN.
Output¶
SetTokenVaultCMKOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for SetTokenVaultCMKOutput structure.
Attributes¶
kms_configuration
instance-attribute
¶
kms_configuration: KmsConfiguration
The KMS configuration for the token vault.
last_modified_date
instance-attribute
¶
last_modified_date: datetime
The timestamp when the token vault was last modified.
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.