amazonka-redshift-1.3.1: Amazon Redshift SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Redshift.ResetClusterParameterGroup

Contents

Description

Sets one or more parameters of the specified parameter group to their default values and sets the source values of the parameters to "engine-default". To reset the entire parameter group specify the ResetAllParameters parameter. For parameter changes to take effect you must reboot any associated clusters.

See: AWS API Reference for ResetClusterParameterGroup.

Synopsis

Creating a Request

resetClusterParameterGroup Source

Creates a value of ResetClusterParameterGroup with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

rcpgResetAllParameters :: Lens' ResetClusterParameterGroup (Maybe Bool) Source

If true, all parameters in the specified parameter group will be reset to their default values.

Default: true

rcpgParameters :: Lens' ResetClusterParameterGroup [Parameter] Source

An array of names of parameters to be reset. If ResetAllParameters option is not used, then at least one parameter name must be supplied.

Constraints: A maximum of 20 parameters can be reset in a single request.

rcpgParameterGroupName :: Lens' ResetClusterParameterGroup Text Source

The name of the cluster parameter group to be reset.

Destructuring the Response

clusterParameterGroupNameMessage :: ClusterParameterGroupNameMessage Source

Creates a value of ClusterParameterGroupNameMessage with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data ClusterParameterGroupNameMessage Source

Contains the output from the ModifyClusterParameterGroup and ResetClusterParameterGroup actions and indicate the parameter group involved and the status of the operation on the parameter group.

See: clusterParameterGroupNameMessage smart constructor.

Response Lenses

cpgnmParameterGroupStatus :: Lens' ClusterParameterGroupNameMessage (Maybe Text) Source

The status of the parameter group. For example, if you made a change to a parameter group name-value pair, then the change could be pending a reboot of an associated cluster.

cpgnmParameterGroupName :: Lens' ClusterParameterGroupNameMessage (Maybe Text) Source

The name of the cluster parameter group.