amazonka-redshift-1.5.0: Amazon Redshift SDK.

Copyright(c) 2013-2017 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@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 .

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:

  • mcpgParameterGroupName - The name of the parameter group to be modified.
  • mcpgParameters - 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.

data ModifyClusterParameterGroup Source #

See: modifyClusterParameterGroup smart constructor.

Instances

Eq ModifyClusterParameterGroup Source # 
Data ModifyClusterParameterGroup Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ModifyClusterParameterGroup -> c ModifyClusterParameterGroup #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ModifyClusterParameterGroup #

toConstr :: ModifyClusterParameterGroup -> Constr #

dataTypeOf :: ModifyClusterParameterGroup -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ModifyClusterParameterGroup) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ModifyClusterParameterGroup) #

gmapT :: (forall b. Data b => b -> b) -> ModifyClusterParameterGroup -> ModifyClusterParameterGroup #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ModifyClusterParameterGroup -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ModifyClusterParameterGroup -> r #

gmapQ :: (forall d. Data d => d -> u) -> ModifyClusterParameterGroup -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ModifyClusterParameterGroup -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ModifyClusterParameterGroup -> m ModifyClusterParameterGroup #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ModifyClusterParameterGroup -> m ModifyClusterParameterGroup #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ModifyClusterParameterGroup -> m ModifyClusterParameterGroup #

Read ModifyClusterParameterGroup Source # 
Show ModifyClusterParameterGroup Source # 
Generic ModifyClusterParameterGroup Source # 
Hashable ModifyClusterParameterGroup Source # 
NFData ModifyClusterParameterGroup Source # 
AWSRequest ModifyClusterParameterGroup Source # 
ToQuery ModifyClusterParameterGroup Source # 
ToPath ModifyClusterParameterGroup Source # 
ToHeaders ModifyClusterParameterGroup Source # 
type Rep ModifyClusterParameterGroup Source # 
type Rep ModifyClusterParameterGroup = D1 (MetaData "ModifyClusterParameterGroup" "Network.AWS.Redshift.ModifyClusterParameterGroup" "amazonka-redshift-1.5.0-Dab3rZV2tPBCgimwpoJly0" False) (C1 (MetaCons "ModifyClusterParameterGroup'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_mcpgParameterGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_mcpgParameters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Parameter]))))
type Rs ModifyClusterParameterGroup Source # 

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:

  • cpgnmParameterGroupStatus - 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 - The name of the cluster parameter group.

data ClusterParameterGroupNameMessage Source #

See: clusterParameterGroupNameMessage smart constructor.

Instances

Eq ClusterParameterGroupNameMessage Source # 
Data ClusterParameterGroupNameMessage Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ClusterParameterGroupNameMessage -> c ClusterParameterGroupNameMessage #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ClusterParameterGroupNameMessage #

toConstr :: ClusterParameterGroupNameMessage -> Constr #

dataTypeOf :: ClusterParameterGroupNameMessage -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ClusterParameterGroupNameMessage) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ClusterParameterGroupNameMessage) #

gmapT :: (forall b. Data b => b -> b) -> ClusterParameterGroupNameMessage -> ClusterParameterGroupNameMessage #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ClusterParameterGroupNameMessage -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ClusterParameterGroupNameMessage -> r #

gmapQ :: (forall d. Data d => d -> u) -> ClusterParameterGroupNameMessage -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ClusterParameterGroupNameMessage -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ClusterParameterGroupNameMessage -> m ClusterParameterGroupNameMessage #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ClusterParameterGroupNameMessage -> m ClusterParameterGroupNameMessage #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ClusterParameterGroupNameMessage -> m ClusterParameterGroupNameMessage #

Read ClusterParameterGroupNameMessage Source # 
Show ClusterParameterGroupNameMessage Source # 
Generic ClusterParameterGroupNameMessage Source # 
Hashable ClusterParameterGroupNameMessage Source # 
NFData ClusterParameterGroupNameMessage Source # 
FromXML ClusterParameterGroupNameMessage Source # 
type Rep ClusterParameterGroupNameMessage Source # 
type Rep ClusterParameterGroupNameMessage = D1 (MetaData "ClusterParameterGroupNameMessage" "Network.AWS.Redshift.Types.Product" "amazonka-redshift-1.5.0-Dab3rZV2tPBCgimwpoJly0" False) (C1 (MetaCons "ClusterParameterGroupNameMessage'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_cpgnmParameterGroupStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_cpgnmParameterGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

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.