aws_sdk_cloudfront/client/
update_field_level_encryption_config.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 [`UpdateFieldLevelEncryptionConfig`](crate::operation::update_field_level_encryption_config::builders::UpdateFieldLevelEncryptionConfigFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`field_level_encryption_config(FieldLevelEncryptionConfig)`](crate::operation::update_field_level_encryption_config::builders::UpdateFieldLevelEncryptionConfigFluentBuilder::field_level_encryption_config) / [`set_field_level_encryption_config(Option<FieldLevelEncryptionConfig>)`](crate::operation::update_field_level_encryption_config::builders::UpdateFieldLevelEncryptionConfigFluentBuilder::set_field_level_encryption_config):<br>required: **true**<br><p>Request to update a field-level encryption configuration.</p><br>
7    ///   - [`id(impl Into<String>)`](crate::operation::update_field_level_encryption_config::builders::UpdateFieldLevelEncryptionConfigFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::update_field_level_encryption_config::builders::UpdateFieldLevelEncryptionConfigFluentBuilder::set_id):<br>required: **true**<br><p>The ID of the configuration you want to update.</p><br>
8    ///   - [`if_match(impl Into<String>)`](crate::operation::update_field_level_encryption_config::builders::UpdateFieldLevelEncryptionConfigFluentBuilder::if_match) / [`set_if_match(Option<String>)`](crate::operation::update_field_level_encryption_config::builders::UpdateFieldLevelEncryptionConfigFluentBuilder::set_if_match):<br>required: **false**<br><p>The value of the <code>ETag</code> header that you received when retrieving the configuration identity to update. For example: <code>E2QWRUHAPOMQZL</code>.</p><br>
9    /// - On success, responds with [`UpdateFieldLevelEncryptionConfigOutput`](crate::operation::update_field_level_encryption_config::UpdateFieldLevelEncryptionConfigOutput) with field(s):
10    ///   - [`field_level_encryption(Option<FieldLevelEncryption>)`](crate::operation::update_field_level_encryption_config::UpdateFieldLevelEncryptionConfigOutput::field_level_encryption): <p>Return the results of updating the configuration.</p>
11    ///   - [`e_tag(Option<String>)`](crate::operation::update_field_level_encryption_config::UpdateFieldLevelEncryptionConfigOutput::e_tag): <p>The value of the <code>ETag</code> header that you received when updating the configuration. For example: <code>E2QWRUHAPOMQZL</code>.</p>
12    /// - On failure, responds with [`SdkError<UpdateFieldLevelEncryptionConfigError>`](crate::operation::update_field_level_encryption_config::UpdateFieldLevelEncryptionConfigError)
13    pub fn update_field_level_encryption_config(
14        &self,
15    ) -> crate::operation::update_field_level_encryption_config::builders::UpdateFieldLevelEncryptionConfigFluentBuilder {
16        crate::operation::update_field_level_encryption_config::builders::UpdateFieldLevelEncryptionConfigFluentBuilder::new(self.handle.clone())
17    }
18}