Struct aws_sdk_elasticache::client::fluent_builders::ResetCacheParameterGroup [−][src]
pub struct ResetCacheParameterGroup<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to ResetCacheParameterGroup
.
Modifies the parameters of a cache
parameter group to the engine or system default value. You can reset specific parameters
by submitting a list of parameter names. To reset the entire cache parameter group,
specify the ResetAllParameters
and CacheParameterGroupName
parameters.
Implementations
impl<C, M, R> ResetCacheParameterGroup<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> ResetCacheParameterGroup<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<ResetCacheParameterGroupOutput, SdkError<ResetCacheParameterGroupError>> where
R::Policy: SmithyRetryPolicy<ResetCacheParameterGroupInputOperationOutputAlias, ResetCacheParameterGroupOutput, ResetCacheParameterGroupError, ResetCacheParameterGroupInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<ResetCacheParameterGroupOutput, SdkError<ResetCacheParameterGroupError>> where
R::Policy: SmithyRetryPolicy<ResetCacheParameterGroupInputOperationOutputAlias, ResetCacheParameterGroupOutput, ResetCacheParameterGroupError, ResetCacheParameterGroupInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The name of the cache parameter group to reset.
The name of the cache parameter group to reset.
If true
,
all parameters in the cache parameter group are reset to their default values.
If false
, only the parameters listed by ParameterNameValues
are reset to their default values.
Valid values: true
| false
If true
,
all parameters in the cache parameter group are reset to their default values.
If false
, only the parameters listed by ParameterNameValues
are reset to their default values.
Valid values: true
| false
Appends an item to ParameterNameValues
.
To override the contents of this collection use set_parameter_name_values
.
An array of parameter names to reset to their default values.
If ResetAllParameters
is true
,
do not use ParameterNameValues
.
If ResetAllParameters
is false
,
you must specify the name of at least one parameter to reset.
An array of parameter names to reset to their default values.
If ResetAllParameters
is true
,
do not use ParameterNameValues
.
If ResetAllParameters
is false
,
you must specify the name of at least one parameter to reset.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for ResetCacheParameterGroup<C, M, R>
impl<C, M, R> Send for ResetCacheParameterGroup<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for ResetCacheParameterGroup<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for ResetCacheParameterGroup<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for ResetCacheParameterGroup<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more