1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DisableEbsEncryptionByDefault`](crate::operation::disable_ebs_encryption_by_default::builders::DisableEbsEncryptionByDefaultFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`dry_run(bool)`](crate::operation::disable_ebs_encryption_by_default::builders::DisableEbsEncryptionByDefaultFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::disable_ebs_encryption_by_default::builders::DisableEbsEncryptionByDefaultFluentBuilder::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 [`DisableEbsEncryptionByDefaultOutput`](crate::operation::disable_ebs_encryption_by_default::DisableEbsEncryptionByDefaultOutput) with field(s):
    ///   - [`ebs_encryption_by_default(Option<bool>)`](crate::operation::disable_ebs_encryption_by_default::DisableEbsEncryptionByDefaultOutput::ebs_encryption_by_default): <p>The updated status of encryption by default.</p>
    /// - On failure, responds with [`SdkError<DisableEbsEncryptionByDefaultError>`](crate::operation::disable_ebs_encryption_by_default::DisableEbsEncryptionByDefaultError)
    pub fn disable_ebs_encryption_by_default(
        &self,
    ) -> crate::operation::disable_ebs_encryption_by_default::builders::DisableEbsEncryptionByDefaultFluentBuilder {
        crate::operation::disable_ebs_encryption_by_default::builders::DisableEbsEncryptionByDefaultFluentBuilder::new(self.handle.clone())
    }
}