1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ResetEbsDefaultKmsKeyId`](crate::operation::reset_ebs_default_kms_key_id::builders::ResetEbsDefaultKmsKeyIdFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`dry_run(bool)`](crate::operation::reset_ebs_default_kms_key_id::builders::ResetEbsDefaultKmsKeyIdFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::reset_ebs_default_kms_key_id::builders::ResetEbsDefaultKmsKeyIdFluentBuilder::set_dry_run):<br>required: **false**<br><p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p><br>
    /// - On success, responds with [`ResetEbsDefaultKmsKeyIdOutput`](crate::operation::reset_ebs_default_kms_key_id::ResetEbsDefaultKmsKeyIdOutput) with field(s):
    ///   - [`kms_key_id(Option<String>)`](crate::operation::reset_ebs_default_kms_key_id::ResetEbsDefaultKmsKeyIdOutput::kms_key_id): <p>The Amazon Resource Name (ARN) of the default KMS key for EBS encryption by default.</p>
    /// - On failure, responds with [`SdkError<ResetEbsDefaultKmsKeyIdError>`](crate::operation::reset_ebs_default_kms_key_id::ResetEbsDefaultKmsKeyIdError)
    pub fn reset_ebs_default_kms_key_id(&self) -> crate::operation::reset_ebs_default_kms_key_id::builders::ResetEbsDefaultKmsKeyIdFluentBuilder {
        crate::operation::reset_ebs_default_kms_key_id::builders::ResetEbsDefaultKmsKeyIdFluentBuilder::new(self.handle.clone())
    }
}