aws_sdk_kms/client/
disconnect_custom_key_store.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`DisconnectCustomKeyStore`](crate::operation::disconnect_custom_key_store::builders::DisconnectCustomKeyStoreFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`custom_key_store_id(impl Into<String>)`](crate::operation::disconnect_custom_key_store::builders::DisconnectCustomKeyStoreFluentBuilder::custom_key_store_id) / [`set_custom_key_store_id(Option<String>)`](crate::operation::disconnect_custom_key_store::builders::DisconnectCustomKeyStoreFluentBuilder::set_custom_key_store_id):<br>required: **true**<br><p>Enter the ID of the custom key store you want to disconnect. To find the ID of a custom key store, use the <code>DescribeCustomKeyStores</code> operation.</p><br>
7    /// - On success, responds with [`DisconnectCustomKeyStoreOutput`](crate::operation::disconnect_custom_key_store::DisconnectCustomKeyStoreOutput)
8    /// - On failure, responds with [`SdkError<DisconnectCustomKeyStoreError>`](crate::operation::disconnect_custom_key_store::DisconnectCustomKeyStoreError)
9    pub fn disconnect_custom_key_store(&self) -> crate::operation::disconnect_custom_key_store::builders::DisconnectCustomKeyStoreFluentBuilder {
10        crate::operation::disconnect_custom_key_store::builders::DisconnectCustomKeyStoreFluentBuilder::new(self.handle.clone())
11    }
12}