amazonka-redshift-1.2.0.2: 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.ModifyClusterParameterGroup

Contents

Description

Modifies the parameters of a parameter group.

For more information about parameters and parameter groups, go to Amazon Redshift Parameter Groups in the Amazon Redshift Cluster Management Guide.

See: AWS API Reference for ModifyClusterParameterGroup.

Synopsis

Creating a Request

modifyClusterParameterGroup Source

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

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

Request Lenses

mcpgParameterGroupName :: Lens' ModifyClusterParameterGroup Text Source

The name of the parameter group to be modified.

mcpgParameters :: Lens' ModifyClusterParameterGroup [Parameter] Source

An array of parameters to be modified. A maximum of 20 parameters can be modified in a single request.

For each parameter to be modified, you must supply at least the parameter name and parameter value; other name-value pairs of the parameter are optional.

For the workload management (WLM) configuration, you must supply all the name-value pairs in the wlm_json_configuration parameter.

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.