aws_sdk_elasticache/client/reset_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 [`ResetCacheParameterGroup`](crate::operation::reset_cache_parameter_group::builders::ResetCacheParameterGroupFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`cache_parameter_group_name(impl Into<String>)`](crate::operation::reset_cache_parameter_group::builders::ResetCacheParameterGroupFluentBuilder::cache_parameter_group_name) / [`set_cache_parameter_group_name(Option<String>)`](crate::operation::reset_cache_parameter_group::builders::ResetCacheParameterGroupFluentBuilder::set_cache_parameter_group_name):<br>required: **true**<br><p>The name of the cache parameter group to reset.</p><br>
7 /// - [`reset_all_parameters(bool)`](crate::operation::reset_cache_parameter_group::builders::ResetCacheParameterGroupFluentBuilder::reset_all_parameters) / [`set_reset_all_parameters(Option<bool>)`](crate::operation::reset_cache_parameter_group::builders::ResetCacheParameterGroupFluentBuilder::set_reset_all_parameters):<br>required: **false**<br><p>If <code>true</code>, all parameters in the cache parameter group are reset to their default values. If <code>false</code>, only the parameters listed by <code>ParameterNameValues</code> are reset to their default values.</p> <p>Valid values: <code>true</code> | <code>false</code></p><br>
8 /// - [`parameter_name_values(ParameterNameValue)`](crate::operation::reset_cache_parameter_group::builders::ResetCacheParameterGroupFluentBuilder::parameter_name_values) / [`set_parameter_name_values(Option<Vec::<ParameterNameValue>>)`](crate::operation::reset_cache_parameter_group::builders::ResetCacheParameterGroupFluentBuilder::set_parameter_name_values):<br>required: **false**<br><p>An array of parameter names to reset to their default values. If <code>ResetAllParameters</code> is <code>true</code>, do not use <code>ParameterNameValues</code>. If <code>ResetAllParameters</code> is <code>false</code>, you must specify the name of at least one parameter to reset.</p><br>
9 /// - On success, responds with [`ResetCacheParameterGroupOutput`](crate::operation::reset_cache_parameter_group::ResetCacheParameterGroupOutput) with field(s):
10 /// - [`cache_parameter_group_name(Option<String>)`](crate::operation::reset_cache_parameter_group::ResetCacheParameterGroupOutput::cache_parameter_group_name): <p>The name of the cache parameter group.</p>
11 /// - On failure, responds with [`SdkError<ResetCacheParameterGroupError>`](crate::operation::reset_cache_parameter_group::ResetCacheParameterGroupError)
12 pub fn reset_cache_parameter_group(&self) -> crate::operation::reset_cache_parameter_group::builders::ResetCacheParameterGroupFluentBuilder {
13 crate::operation::reset_cache_parameter_group::builders::ResetCacheParameterGroupFluentBuilder::new(self.handle.clone())
14 }
15}