aws_sdk_cloudfront/client/
get_field_level_encryption.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 [`GetFieldLevelEncryption`](crate::operation::get_field_level_encryption::builders::GetFieldLevelEncryptionFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`id(impl Into<String>)`](crate::operation::get_field_level_encryption::builders::GetFieldLevelEncryptionFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::get_field_level_encryption::builders::GetFieldLevelEncryptionFluentBuilder::set_id):<br>required: **true**<br><p>Request the ID for the field-level encryption configuration information.</p><br>
7    /// - On success, responds with [`GetFieldLevelEncryptionOutput`](crate::operation::get_field_level_encryption::GetFieldLevelEncryptionOutput) with field(s):
8    ///   - [`field_level_encryption(Option<FieldLevelEncryption>)`](crate::operation::get_field_level_encryption::GetFieldLevelEncryptionOutput::field_level_encryption): <p>Return the field-level encryption configuration information.</p>
9    ///   - [`e_tag(Option<String>)`](crate::operation::get_field_level_encryption::GetFieldLevelEncryptionOutput::e_tag): <p>The current version of the field level encryption configuration. For example: <code>E2QWRUHAPOMQZL</code>.</p>
10    /// - On failure, responds with [`SdkError<GetFieldLevelEncryptionError>`](crate::operation::get_field_level_encryption::GetFieldLevelEncryptionError)
11    pub fn get_field_level_encryption(&self) -> crate::operation::get_field_level_encryption::builders::GetFieldLevelEncryptionFluentBuilder {
12        crate::operation::get_field_level_encryption::builders::GetFieldLevelEncryptionFluentBuilder::new(self.handle.clone())
13    }
14}