amazonka-redshift-1.6.1: Amazon Redshift SDK.

Copyright(c) 2013-2018 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.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.

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:

  • rcpgResetAllParameters - If true , all parameters in the specified parameter group will be reset to their default values. Default: true
  • rcpgParameters - 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 - The name of the cluster parameter group to be reset.

data ResetClusterParameterGroup Source #

See: resetClusterParameterGroup smart constructor.

Instances
Eq ResetClusterParameterGroup Source # 
Instance details

Defined in Network.AWS.Redshift.ResetClusterParameterGroup

Data ResetClusterParameterGroup Source # 
Instance details

Defined in Network.AWS.Redshift.ResetClusterParameterGroup

Methods

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

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

toConstr :: ResetClusterParameterGroup -> Constr #

dataTypeOf :: ResetClusterParameterGroup -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ResetClusterParameterGroup Source # 
Instance details

Defined in Network.AWS.Redshift.ResetClusterParameterGroup

Show ResetClusterParameterGroup Source # 
Instance details

Defined in Network.AWS.Redshift.ResetClusterParameterGroup

Generic ResetClusterParameterGroup Source # 
Instance details

Defined in Network.AWS.Redshift.ResetClusterParameterGroup

Associated Types

type Rep ResetClusterParameterGroup :: Type -> Type #

Hashable ResetClusterParameterGroup Source # 
Instance details

Defined in Network.AWS.Redshift.ResetClusterParameterGroup

AWSRequest ResetClusterParameterGroup Source # 
Instance details

Defined in Network.AWS.Redshift.ResetClusterParameterGroup

Associated Types

type Rs ResetClusterParameterGroup :: Type #

ToHeaders ResetClusterParameterGroup Source # 
Instance details

Defined in Network.AWS.Redshift.ResetClusterParameterGroup

ToPath ResetClusterParameterGroup Source # 
Instance details

Defined in Network.AWS.Redshift.ResetClusterParameterGroup

ToQuery ResetClusterParameterGroup Source # 
Instance details

Defined in Network.AWS.Redshift.ResetClusterParameterGroup

NFData ResetClusterParameterGroup Source # 
Instance details

Defined in Network.AWS.Redshift.ResetClusterParameterGroup

type Rep ResetClusterParameterGroup Source # 
Instance details

Defined in Network.AWS.Redshift.ResetClusterParameterGroup

type Rep ResetClusterParameterGroup = D1 (MetaData "ResetClusterParameterGroup" "Network.AWS.Redshift.ResetClusterParameterGroup" "amazonka-redshift-1.6.1-5k9dueihUQf2a2gxNGkSPi" False) (C1 (MetaCons "ResetClusterParameterGroup'" PrefixI True) (S1 (MetaSel (Just "_rcpgResetAllParameters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "_rcpgParameters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Parameter])) :*: S1 (MetaSel (Just "_rcpgParameterGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs ResetClusterParameterGroup Source # 
Instance details

Defined in Network.AWS.Redshift.ResetClusterParameterGroup

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:

  • 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 # 
Instance details

Defined in Network.AWS.Redshift.Types.Product

Data ClusterParameterGroupNameMessage Source # 
Instance details

Defined in Network.AWS.Redshift.Types.Product

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 # 
Instance details

Defined in Network.AWS.Redshift.Types.Product

Show ClusterParameterGroupNameMessage Source # 
Instance details

Defined in Network.AWS.Redshift.Types.Product

Generic ClusterParameterGroupNameMessage Source # 
Instance details

Defined in Network.AWS.Redshift.Types.Product

Associated Types

type Rep ClusterParameterGroupNameMessage :: Type -> Type #

Hashable ClusterParameterGroupNameMessage Source # 
Instance details

Defined in Network.AWS.Redshift.Types.Product

FromXML ClusterParameterGroupNameMessage Source # 
Instance details

Defined in Network.AWS.Redshift.Types.Product

NFData ClusterParameterGroupNameMessage Source # 
Instance details

Defined in Network.AWS.Redshift.Types.Product

type Rep ClusterParameterGroupNameMessage Source # 
Instance details

Defined in Network.AWS.Redshift.Types.Product

type Rep ClusterParameterGroupNameMessage = D1 (MetaData "ClusterParameterGroupNameMessage" "Network.AWS.Redshift.Types.Product" "amazonka-redshift-1.6.1-5k9dueihUQf2a2gxNGkSPi" False) (C1 (MetaCons "ClusterParameterGroupNameMessage'" PrefixI True) (S1 (MetaSel (Just "_cpgnmParameterGroupStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_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.