aws_sdk_cloudwatch/client/disassociate_dataset_kms_key.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 [`DisassociateDatasetKmsKey`](crate::operation::disassociate_dataset_kms_key::builders::DisassociateDatasetKmsKeyFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`dataset_identifier(impl Into<String>)`](crate::operation::disassociate_dataset_kms_key::builders::DisassociateDatasetKmsKeyFluentBuilder::dataset_identifier) / [`set_dataset_identifier(Option<String>)`](crate::operation::disassociate_dataset_kms_key::builders::DisassociateDatasetKmsKeyFluentBuilder::set_dataset_identifier):<br>required: **true**<br><p>Specifies the identifier of the dataset from which to remove the KMS key association. For the <code>default</code> dataset, you can specify either <code>default</code> or the full dataset Amazon Resource Name (ARN) in the format <code>arn:aws:cloudwatch:<i>Region</i>:<i>account-id</i>:dataset/default</code>.</p><br>
7 /// - On success, responds with [`DisassociateDatasetKmsKeyOutput`](crate::operation::disassociate_dataset_kms_key::DisassociateDatasetKmsKeyOutput)
8 /// - On failure, responds with [`SdkError<DisassociateDatasetKmsKeyError>`](crate::operation::disassociate_dataset_kms_key::DisassociateDatasetKmsKeyError)
9 pub fn disassociate_dataset_kms_key(&self) -> crate::operation::disassociate_dataset_kms_key::builders::DisassociateDatasetKmsKeyFluentBuilder {
10 crate::operation::disassociate_dataset_kms_key::builders::DisassociateDatasetKmsKeyFluentBuilder::new(self.handle.clone())
11 }
12}