Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
- modifyClusterParameterGroup :: Text -> ModifyClusterParameterGroup
- data ModifyClusterParameterGroup
- mcpgParameterGroupName :: Lens' ModifyClusterParameterGroup Text
- mcpgParameters :: Lens' ModifyClusterParameterGroup [Parameter]
- clusterParameterGroupNameMessage :: ClusterParameterGroupNameMessage
- data ClusterParameterGroupNameMessage
- cpgnmParameterGroupStatus :: Lens' ClusterParameterGroupNameMessage (Maybe Text)
- cpgnmParameterGroupName :: Lens' ClusterParameterGroupNameMessage (Maybe Text)
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:
data ModifyClusterParameterGroup Source
See: modifyClusterParameterGroup
smart constructor.
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.