aws_sdk_iotsitewise/client/
describe_default_encryption_configuration.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 [`DescribeDefaultEncryptionConfiguration`](crate::operation::describe_default_encryption_configuration::builders::DescribeDefaultEncryptionConfigurationFluentBuilder) operation.
4    ///
5    /// - The fluent builder takes no input, just [`send`](crate::operation::describe_default_encryption_configuration::builders::DescribeDefaultEncryptionConfigurationFluentBuilder::send) it.
6    /// - On success, responds with [`DescribeDefaultEncryptionConfigurationOutput`](crate::operation::describe_default_encryption_configuration::DescribeDefaultEncryptionConfigurationOutput) with field(s):
7    ///   - [`encryption_type(EncryptionType)`](crate::operation::describe_default_encryption_configuration::DescribeDefaultEncryptionConfigurationOutput::encryption_type): <p>The type of encryption used for the encryption configuration.</p>
8    ///   - [`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>
9    ///   - [`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>
10    /// - On failure, responds with [`SdkError<DescribeDefaultEncryptionConfigurationError>`](crate::operation::describe_default_encryption_configuration::DescribeDefaultEncryptionConfigurationError)
11    pub fn describe_default_encryption_configuration(
12        &self,
13    ) -> crate::operation::describe_default_encryption_configuration::builders::DescribeDefaultEncryptionConfigurationFluentBuilder {
14        crate::operation::describe_default_encryption_configuration::builders::DescribeDefaultEncryptionConfigurationFluentBuilder::new(
15            self.handle.clone(),
16        )
17    }
18}