amazonka-rds-1.6.0: Amazon Relational Database Service 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.RDS.CreateDBClusterParameterGroup

Contents

Description

Creates a new DB cluster parameter group.

Parameters in a DB cluster parameter group apply to all of the instances in a DB cluster.

A DB cluster parameter group is initially created with the default parameters for the database engine used by instances in the DB cluster. To provide custom values for any of the parameters, you must modify the group after creating it using ModifyDBClusterParameterGroup . Once you've created a DB cluster parameter group, you need to associate it with your DB cluster using ModifyDBCluster . When you associate a new DB cluster parameter group with a running DB cluster, you need to reboot the DB instances in the DB cluster without failover for the new DB cluster parameter group and associated settings to take effect.

Important: After you create a DB cluster parameter group, you should wait at least 5 minutes before creating your first DB cluster that uses that DB cluster parameter group as the default parameter group. This allows Amazon RDS to fully complete the create action before the DB cluster parameter group is used as the default for a new DB cluster. This is especially important for parameters that are critical when creating the default database for a DB cluster, 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 DescribeDBClusterParameters command to verify that your DB cluster parameter group has been created or modified.

For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide.

Synopsis

Creating a Request

createDBClusterParameterGroup Source #

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

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

  • cdcpgTags - Undocumented member.
  • cdcpgDBClusterParameterGroupName - The name of the DB cluster parameter group. Constraints: * Must match the name of an existing DBClusterParameterGroup.
  • cdcpgDBParameterGroupFamily - The DB cluster parameter group family name. A DB cluster parameter group can be associated with one and only one DB cluster parameter group family, and can be applied only to a DB cluster running a database engine and engine version compatible with that DB cluster parameter group family. Aurora MySQL Example: aurora5.6 , aurora-mysql5.7 Aurora PostgreSQL Example: aurora-postgresql9.6
  • cdcpgDescription - The description for the DB cluster parameter group.

data CreateDBClusterParameterGroup Source #

See: createDBClusterParameterGroup smart constructor.

Instances

Eq CreateDBClusterParameterGroup Source # 
Data CreateDBClusterParameterGroup Source # 

Methods

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

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

toConstr :: CreateDBClusterParameterGroup -> Constr #

dataTypeOf :: CreateDBClusterParameterGroup -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateDBClusterParameterGroup Source # 
Show CreateDBClusterParameterGroup Source # 
Generic CreateDBClusterParameterGroup Source # 
Hashable CreateDBClusterParameterGroup Source # 
NFData CreateDBClusterParameterGroup Source # 
AWSRequest CreateDBClusterParameterGroup Source # 
ToHeaders CreateDBClusterParameterGroup Source # 
ToPath CreateDBClusterParameterGroup Source # 
ToQuery CreateDBClusterParameterGroup Source # 
type Rep CreateDBClusterParameterGroup Source # 
type Rep CreateDBClusterParameterGroup = D1 * (MetaData "CreateDBClusterParameterGroup" "Network.AWS.RDS.CreateDBClusterParameterGroup" "amazonka-rds-1.6.0-1gpCa37cwlvAUzWljvprAs" False) (C1 * (MetaCons "CreateDBClusterParameterGroup'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_cdcpgTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Tag]))) (S1 * (MetaSel (Just Symbol "_cdcpgDBClusterParameterGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_cdcpgDBParameterGroupFamily") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_cdcpgDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))
type Rs CreateDBClusterParameterGroup Source # 

Request Lenses

cdcpgDBClusterParameterGroupName :: Lens' CreateDBClusterParameterGroup Text Source #

The name of the DB cluster parameter group. Constraints: * Must match the name of an existing DBClusterParameterGroup.

cdcpgDBParameterGroupFamily :: Lens' CreateDBClusterParameterGroup Text Source #

The DB cluster parameter group family name. A DB cluster parameter group can be associated with one and only one DB cluster parameter group family, and can be applied only to a DB cluster running a database engine and engine version compatible with that DB cluster parameter group family. Aurora MySQL Example: aurora5.6 , aurora-mysql5.7 Aurora PostgreSQL Example: aurora-postgresql9.6

cdcpgDescription :: Lens' CreateDBClusterParameterGroup Text Source #

The description for the DB cluster parameter group.

Destructuring the Response

createDBClusterParameterGroupResponse Source #

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

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

data CreateDBClusterParameterGroupResponse Source #

Instances

Eq CreateDBClusterParameterGroupResponse Source # 
Data CreateDBClusterParameterGroupResponse Source # 

Methods

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

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

toConstr :: CreateDBClusterParameterGroupResponse -> Constr #

dataTypeOf :: CreateDBClusterParameterGroupResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateDBClusterParameterGroupResponse Source # 
Show CreateDBClusterParameterGroupResponse Source # 
Generic CreateDBClusterParameterGroupResponse Source # 
NFData CreateDBClusterParameterGroupResponse Source # 
type Rep CreateDBClusterParameterGroupResponse Source # 
type Rep CreateDBClusterParameterGroupResponse = D1 * (MetaData "CreateDBClusterParameterGroupResponse" "Network.AWS.RDS.CreateDBClusterParameterGroup" "amazonka-rds-1.6.0-1gpCa37cwlvAUzWljvprAs" False) (C1 * (MetaCons "CreateDBClusterParameterGroupResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_cdbcpgrsDBClusterParameterGroup") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe DBClusterParameterGroup))) (S1 * (MetaSel (Just Symbol "_cdbcpgrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses