// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetEncryptionKey`](crate::operation::get_encryption_key::builders::GetEncryptionKeyFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`scan_type(ScanType)`](crate::operation::get_encryption_key::builders::GetEncryptionKeyFluentBuilder::scan_type) / [`set_scan_type(Option<ScanType>)`](crate::operation::get_encryption_key::builders::GetEncryptionKeyFluentBuilder::set_scan_type):<br>required: **true**<br><p>The scan type the key encrypts.</p><br>
/// - [`resource_type(ResourceType)`](crate::operation::get_encryption_key::builders::GetEncryptionKeyFluentBuilder::resource_type) / [`set_resource_type(Option<ResourceType>)`](crate::operation::get_encryption_key::builders::GetEncryptionKeyFluentBuilder::set_resource_type):<br>required: **true**<br><p>The resource type the key encrypts.</p><br>
/// - On success, responds with [`GetEncryptionKeyOutput`](crate::operation::get_encryption_key::GetEncryptionKeyOutput) with field(s):
/// - [`kms_key_id(String)`](crate::operation::get_encryption_key::GetEncryptionKeyOutput::kms_key_id): <p>A kms key ID.</p>
/// - On failure, responds with [`SdkError<GetEncryptionKeyError>`](crate::operation::get_encryption_key::GetEncryptionKeyError)
pub fn get_encryption_key(&self) -> crate::operation::get_encryption_key::builders::GetEncryptionKeyFluentBuilder {
crate::operation::get_encryption_key::builders::GetEncryptionKeyFluentBuilder::new(self.handle.clone())
}
}