aws_sdk_elasticache/client/
modify_cache_parameter_group.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 [`ModifyCacheParameterGroup`](crate::operation::modify_cache_parameter_group::builders::ModifyCacheParameterGroupFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`cache_parameter_group_name(impl Into<String>)`](crate::operation::modify_cache_parameter_group::builders::ModifyCacheParameterGroupFluentBuilder::cache_parameter_group_name) / [`set_cache_parameter_group_name(Option<String>)`](crate::operation::modify_cache_parameter_group::builders::ModifyCacheParameterGroupFluentBuilder::set_cache_parameter_group_name):<br>required: **true**<br><p>The name of the cache parameter group to modify.</p><br>
7    ///   - [`parameter_name_values(ParameterNameValue)`](crate::operation::modify_cache_parameter_group::builders::ModifyCacheParameterGroupFluentBuilder::parameter_name_values) / [`set_parameter_name_values(Option<Vec::<ParameterNameValue>>)`](crate::operation::modify_cache_parameter_group::builders::ModifyCacheParameterGroupFluentBuilder::set_parameter_name_values):<br>required: **true**<br><p>An array of parameter names and values for the parameter update. You must supply at least one parameter name and value; subsequent arguments are optional. A maximum of 20 parameters may be modified per request.</p><br>
8    /// - On success, responds with [`ModifyCacheParameterGroupOutput`](crate::operation::modify_cache_parameter_group::ModifyCacheParameterGroupOutput) with field(s):
9    ///   - [`cache_parameter_group_name(Option<String>)`](crate::operation::modify_cache_parameter_group::ModifyCacheParameterGroupOutput::cache_parameter_group_name): <p>The name of the cache parameter group.</p>
10    /// - On failure, responds with [`SdkError<ModifyCacheParameterGroupError>`](crate::operation::modify_cache_parameter_group::ModifyCacheParameterGroupError)
11    pub fn modify_cache_parameter_group(&self) -> crate::operation::modify_cache_parameter_group::builders::ModifyCacheParameterGroupFluentBuilder {
12        crate::operation::modify_cache_parameter_group::builders::ModifyCacheParameterGroupFluentBuilder::new(self.handle.clone())
13    }
14}