amazonka-rds-1.4.5: Amazon Relational Database Service SDK.

Copyright(c) 2013-2016 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.RDS.ModifyDBParameterGroup

Contents

Description

Modifies the parameters of a DB parameter group. To modify more than one parameter, submit a list of the following: ParameterName , ParameterValue , and ApplyMethod . A maximum of 20 parameters can be modified in a single request.

Important: After you modify a DB parameter group, you should wait at least 5 minutes before creating your first DB instance that uses that DB parameter group as the default parameter group. This allows Amazon RDS to fully complete the modify action before the parameter group is used as the default for a new DB instance. This is especially important for parameters that are critical when creating the default database for a DB instance, such as the character set for the default database defined by the character_set_database parameter. You can use the Parameter Groups option of the Amazon RDS console or the DescribeDBParameters command to verify that your DB parameter group has been created or modified.

Synopsis

Creating a Request

modifyDBParameterGroup #

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

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

  • mdpgDBParameterGroupName - The name of the DB parameter group. Constraints: * Must be the name of an existing DB parameter group * Must be 1 to 255 alphanumeric characters * First character must be a letter * Cannot end with a hyphen or contain two consecutive hyphens
  • mdpgParameters - An array of parameter names, values, and the apply method for the parameter update. At least one parameter name, value, and apply method must be supplied; subsequent arguments are optional. A maximum of 20 parameters can be modified in a single request. Valid Values (for the application method): immediate | pending-reboot

data ModifyDBParameterGroup #

See: modifyDBParameterGroup smart constructor.

Instances

Eq ModifyDBParameterGroup # 
Data ModifyDBParameterGroup # 

Methods

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

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

toConstr :: ModifyDBParameterGroup -> Constr #

dataTypeOf :: ModifyDBParameterGroup -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ModifyDBParameterGroup # 
Show ModifyDBParameterGroup # 
Generic ModifyDBParameterGroup # 
Hashable ModifyDBParameterGroup # 
NFData ModifyDBParameterGroup # 

Methods

rnf :: ModifyDBParameterGroup -> () #

AWSRequest ModifyDBParameterGroup # 
ToQuery ModifyDBParameterGroup # 
ToPath ModifyDBParameterGroup # 
ToHeaders ModifyDBParameterGroup # 
type Rep ModifyDBParameterGroup # 
type Rep ModifyDBParameterGroup = D1 (MetaData "ModifyDBParameterGroup" "Network.AWS.RDS.ModifyDBParameterGroup" "amazonka-rds-1.4.5-I79yxZdjKNFFGn6ti49zKn" False) (C1 (MetaCons "ModifyDBParameterGroup'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_mdpgDBParameterGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_mdpgParameters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Parameter]))))
type Rs ModifyDBParameterGroup # 

Request Lenses

mdpgDBParameterGroupName :: Lens' ModifyDBParameterGroup Text #

The name of the DB parameter group. Constraints: * Must be the name of an existing DB parameter group * Must be 1 to 255 alphanumeric characters * First character must be a letter * Cannot end with a hyphen or contain two consecutive hyphens

mdpgParameters :: Lens' ModifyDBParameterGroup [Parameter] #

An array of parameter names, values, and the apply method for the parameter update. At least one parameter name, value, and apply method must be supplied; subsequent arguments are optional. A maximum of 20 parameters can be modified in a single request. Valid Values (for the application method): immediate | pending-reboot

Destructuring the Response

dbParameterGroupNameMessage :: DBParameterGroupNameMessage #

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

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

data DBParameterGroupNameMessage #

Contains the result of a successful invocation of the ModifyDBParameterGroup or ResetDBParameterGroup action.

See: dbParameterGroupNameMessage smart constructor.

Instances

Eq DBParameterGroupNameMessage # 
Data DBParameterGroupNameMessage # 

Methods

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

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

toConstr :: DBParameterGroupNameMessage -> Constr #

dataTypeOf :: DBParameterGroupNameMessage -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DBParameterGroupNameMessage # 
Show DBParameterGroupNameMessage # 
Generic DBParameterGroupNameMessage # 
Hashable DBParameterGroupNameMessage # 
NFData DBParameterGroupNameMessage # 
FromXML DBParameterGroupNameMessage # 
type Rep DBParameterGroupNameMessage # 
type Rep DBParameterGroupNameMessage = D1 (MetaData "DBParameterGroupNameMessage" "Network.AWS.RDS.Types.Product" "amazonka-rds-1.4.5-I79yxZdjKNFFGn6ti49zKn" True) (C1 (MetaCons "DBParameterGroupNameMessage'" PrefixI True) (S1 (MetaSel (Just Symbol "_dpgnmDBParameterGroupName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))

Response Lenses

dpgnmDBParameterGroupName :: Lens' DBParameterGroupNameMessage (Maybe Text) #

Provides the name of the DB parameter group.