aws_sdk_cloudfront/client/
update_key_value_store.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 [`UpdateKeyValueStore`](crate::operation::update_key_value_store::builders::UpdateKeyValueStoreFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`name(impl Into<String>)`](crate::operation::update_key_value_store::builders::UpdateKeyValueStoreFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_key_value_store::builders::UpdateKeyValueStoreFluentBuilder::set_name):<br>required: **true**<br><p>The name of the key value store to update.</p><br>
7    ///   - [`comment(impl Into<String>)`](crate::operation::update_key_value_store::builders::UpdateKeyValueStoreFluentBuilder::comment) / [`set_comment(Option<String>)`](crate::operation::update_key_value_store::builders::UpdateKeyValueStoreFluentBuilder::set_comment):<br>required: **true**<br><p>The comment of the key value store to update.</p><br>
8    ///   - [`if_match(impl Into<String>)`](crate::operation::update_key_value_store::builders::UpdateKeyValueStoreFluentBuilder::if_match) / [`set_if_match(Option<String>)`](crate::operation::update_key_value_store::builders::UpdateKeyValueStoreFluentBuilder::set_if_match):<br>required: **true**<br><p>The key value store to update, if a match occurs.</p><br>
9    /// - On success, responds with [`UpdateKeyValueStoreOutput`](crate::operation::update_key_value_store::UpdateKeyValueStoreOutput) with field(s):
10    ///   - [`key_value_store(Option<KeyValueStore>)`](crate::operation::update_key_value_store::UpdateKeyValueStoreOutput::key_value_store): <p>The resulting key value store to update.</p>
11    ///   - [`e_tag(Option<String>)`](crate::operation::update_key_value_store::UpdateKeyValueStoreOutput::e_tag): <p>The <code>ETag</code> of the resulting key value store.</p>
12    /// - On failure, responds with [`SdkError<UpdateKeyValueStoreError>`](crate::operation::update_key_value_store::UpdateKeyValueStoreError)
13    pub fn update_key_value_store(&self) -> crate::operation::update_key_value_store::builders::UpdateKeyValueStoreFluentBuilder {
14        crate::operation::update_key_value_store::builders::UpdateKeyValueStoreFluentBuilder::new(self.handle.clone())
15    }
16}