1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeDefaultEncryptionConfiguration`](crate::operation::describe_default_encryption_configuration::builders::DescribeDefaultEncryptionConfigurationFluentBuilder) operation.
    ///
    /// - The fluent builder takes no input, just [`send`](crate::operation::describe_default_encryption_configuration::builders::DescribeDefaultEncryptionConfigurationFluentBuilder::send) it.
    /// - On success, responds with [`DescribeDefaultEncryptionConfigurationOutput`](crate::operation::describe_default_encryption_configuration::DescribeDefaultEncryptionConfigurationOutput) with field(s):
    ///   - [`encryption_type(EncryptionType)`](crate::operation::describe_default_encryption_configuration::DescribeDefaultEncryptionConfigurationOutput::encryption_type): <p>The type of encryption used for the encryption configuration.</p>
    ///   - [`kms_key_arn(Option<String>)`](crate::operation::describe_default_encryption_configuration::DescribeDefaultEncryptionConfigurationOutput::kms_key_arn): <p>The key ARN of the customer managed key used for KMS encryption if you use <code>KMS_BASED_ENCRYPTION</code>.</p>
    ///   - [`configuration_status(Option<ConfigurationStatus>)`](crate::operation::describe_default_encryption_configuration::DescribeDefaultEncryptionConfigurationOutput::configuration_status): <p>The status of the account configuration. This contains the <code>ConfigurationState</code>. If there's an error, it also contains the <code>ErrorDetails</code>.</p>
    /// - On failure, responds with [`SdkError<DescribeDefaultEncryptionConfigurationError>`](crate::operation::describe_default_encryption_configuration::DescribeDefaultEncryptionConfigurationError)
    pub fn describe_default_encryption_configuration(
        &self,
    ) -> crate::operation::describe_default_encryption_configuration::builders::DescribeDefaultEncryptionConfigurationFluentBuilder {
        crate::operation::describe_default_encryption_configuration::builders::DescribeDefaultEncryptionConfigurationFluentBuilder::new(
            self.handle.clone(),
        )
    }
}