// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetEncryptionConfiguration`](crate::operation::get_encryption_configuration::builders::GetEncryptionConfigurationFluentBuilder) operation.
///
/// - The fluent builder takes no input, just [`send`](crate::operation::get_encryption_configuration::builders::GetEncryptionConfigurationFluentBuilder::send) it.
/// - On success, responds with [`GetEncryptionConfigurationOutput`](crate::operation::get_encryption_configuration::GetEncryptionConfigurationOutput) with field(s):
/// - [`kms_key_id(Option<String>)`](crate::operation::get_encryption_configuration::GetEncryptionConfigurationOutput::kms_key_id): <p>The ID of the KMS key that is used for encryption.</p>
/// - [`encryption_status(EncryptionStatus)`](crate::operation::get_encryption_configuration::GetEncryptionConfigurationOutput::encryption_status): <p>The encryption status.</p>
/// - [`encryption_type(EncryptionType)`](crate::operation::get_encryption_configuration::GetEncryptionConfigurationOutput::encryption_type): <p>The type of encryption. Set to <code>KMS_BASED_ENCRYPTION</code> to use an KMS key that you own and manage. Set to <code>FLEETWISE_DEFAULT_ENCRYPTION</code> to use an Amazon Web Services managed key that is owned by the Amazon Web Services IoT FleetWise service account.</p>
/// - [`error_message(Option<String>)`](crate::operation::get_encryption_configuration::GetEncryptionConfigurationOutput::error_message): <p>The error message that describes why encryption settings couldn't be configured, if applicable.</p>
/// - [`creation_time(Option<DateTime>)`](crate::operation::get_encryption_configuration::GetEncryptionConfigurationOutput::creation_time): <p>The time when encryption was configured in seconds since epoch (January 1, 1970 at midnight UTC time).</p>
/// - [`last_modification_time(Option<DateTime>)`](crate::operation::get_encryption_configuration::GetEncryptionConfigurationOutput::last_modification_time): <p>The time when encryption was last updated in seconds since epoch (January 1, 1970 at midnight UTC time).</p>
/// - On failure, responds with [`SdkError<GetEncryptionConfigurationError>`](crate::operation::get_encryption_configuration::GetEncryptionConfigurationError)
pub fn get_encryption_configuration(&self) -> crate::operation::get_encryption_configuration::builders::GetEncryptionConfigurationFluentBuilder {
crate::operation::get_encryption_configuration::builders::GetEncryptionConfigurationFluentBuilder::new(self.handle.clone())
}
}