Struct aws_sdk_kms::input::UpdateCustomKeyStoreInput
source · #[non_exhaustive]pub struct UpdateCustomKeyStoreInput { /* private fields */ }
Implementations§
source§impl UpdateCustomKeyStoreInput
impl UpdateCustomKeyStoreInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateCustomKeyStore, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateCustomKeyStore, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateCustomKeyStore
>
Examples found in repository?
7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::UpdateCustomKeyStore,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::UpdateCustomKeyStoreError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// Sends the request and returns the response.
///
/// If an error occurs, an `SdkError` will be returned with additional details that
/// can be matched against.
///
/// By default, any retryable failures will be retried twice. Retry behavior
/// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::UpdateCustomKeyStoreOutput,
aws_smithy_http::result::SdkError<crate::error::UpdateCustomKeyStoreError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpdateCustomKeyStoreInput
.
source§impl UpdateCustomKeyStoreInput
impl UpdateCustomKeyStoreInput
sourcepub fn custom_key_store_id(&self) -> Option<&str>
pub fn custom_key_store_id(&self) -> Option<&str>
Identifies the custom key store that you want to update. Enter the ID of the custom key store. To find the ID of a custom key store, use the DescribeCustomKeyStores
operation.
sourcepub fn new_custom_key_store_name(&self) -> Option<&str>
pub fn new_custom_key_store_name(&self) -> Option<&str>
Changes the friendly name of the custom key store to the value that you specify. The custom key store name must be unique in the Amazon Web Services account.
sourcepub fn key_store_password(&self) -> Option<&str>
pub fn key_store_password(&self) -> Option<&str>
Enter the current password of the kmsuser
crypto user (CU) in the CloudHSM cluster that is associated with the custom key store.
This parameter tells KMS the current password of the kmsuser
crypto user (CU). It does not set or change the password of any users in the CloudHSM cluster.
sourcepub fn cloud_hsm_cluster_id(&self) -> Option<&str>
pub fn cloud_hsm_cluster_id(&self) -> Option<&str>
Associates the custom key store with a related CloudHSM cluster.
Enter the cluster ID of the cluster that you used to create the custom key store or a cluster that shares a backup history and has the same cluster certificate as the original cluster. You cannot use this parameter to associate a custom key store with an unrelated cluster. In addition, the replacement cluster must fulfill the requirements for a cluster associated with a custom key store. To view the cluster certificate of a cluster, use the DescribeClusters operation.
Trait Implementations§
source§impl Clone for UpdateCustomKeyStoreInput
impl Clone for UpdateCustomKeyStoreInput
source§fn clone(&self) -> UpdateCustomKeyStoreInput
fn clone(&self) -> UpdateCustomKeyStoreInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more