aws-sdk-cloudwatch 1.116.0

AWS SDK for Amazon CloudWatch
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DisassociateDatasetKmsKey`](crate::operation::disassociate_dataset_kms_key::builders::DisassociateDatasetKmsKeyFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    /// - On success, responds with [`DisassociateDatasetKmsKeyOutput`](crate::operation::disassociate_dataset_kms_key::DisassociateDatasetKmsKeyOutput)
    /// - On failure, responds with [`SdkError<DisassociateDatasetKmsKeyError>`](crate::operation::disassociate_dataset_kms_key::DisassociateDatasetKmsKeyError)
    pub fn disassociate_dataset_kms_key(&self) -> crate::operation::disassociate_dataset_kms_key::builders::DisassociateDatasetKmsKeyFluentBuilder {
        crate::operation::disassociate_dataset_kms_key::builders::DisassociateDatasetKmsKeyFluentBuilder::new(self.handle.clone())
    }
}