amazonka-redshift-1.4.5: Amazon Redshift 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.Redshift.CreateClusterParameterGroup

Contents

Description

Creates an Amazon Redshift parameter group.

Creating parameter groups is independent of creating clusters. You can associate a cluster with a parameter group when you create the cluster. You can also associate an existing cluster with a parameter group after the cluster is created by using ModifyCluster .

Parameters in the parameter group define specific behavior that applies to the databases you create on the cluster. 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

createClusterParameterGroup #

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

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

  • ccpgTags - A list of tag instances.
  • ccpgParameterGroupName - The name of the cluster parameter group. Constraints: * Must be 1 to 255 alphanumeric characters or hyphens * First character must be a letter. * Cannot end with a hyphen or contain two consecutive hyphens. * Must be unique withing your AWS account.
  • ccpgParameterGroupFamily - The Amazon Redshift engine version to which the cluster parameter group applies. The cluster engine version determines the set of parameters. To get a list of valid parameter group family names, you can call DescribeClusterParameterGroups . By default, Amazon Redshift returns a list of all the parameter groups that are owned by your AWS account, including the default parameter groups for each Amazon Redshift engine version. The parameter group family names associated with the default parameter groups provide you the valid values. For example, a valid family name is "redshift-1.0".
  • ccpgDescription - A description of the parameter group.

data CreateClusterParameterGroup #

See: createClusterParameterGroup smart constructor.

Instances

Eq CreateClusterParameterGroup # 
Data CreateClusterParameterGroup # 

Methods

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

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

toConstr :: CreateClusterParameterGroup -> Constr #

dataTypeOf :: CreateClusterParameterGroup -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateClusterParameterGroup # 
Show CreateClusterParameterGroup # 
Generic CreateClusterParameterGroup # 
Hashable CreateClusterParameterGroup # 
NFData CreateClusterParameterGroup # 
AWSRequest CreateClusterParameterGroup # 
ToQuery CreateClusterParameterGroup # 
ToPath CreateClusterParameterGroup # 
ToHeaders CreateClusterParameterGroup # 
type Rep CreateClusterParameterGroup # 
type Rep CreateClusterParameterGroup = D1 (MetaData "CreateClusterParameterGroup" "Network.AWS.Redshift.CreateClusterParameterGroup" "amazonka-redshift-1.4.5-5ygenDSSyjc71mxYPXWxi1" False) (C1 (MetaCons "CreateClusterParameterGroup'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_ccpgTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Tag]))) (S1 (MetaSel (Just Symbol "_ccpgParameterGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "_ccpgParameterGroupFamily") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_ccpgDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs CreateClusterParameterGroup # 

Request Lenses

ccpgTags :: Lens' CreateClusterParameterGroup [Tag] #

A list of tag instances.

ccpgParameterGroupName :: Lens' CreateClusterParameterGroup Text #

The name of the cluster parameter group. Constraints: * Must be 1 to 255 alphanumeric characters or hyphens * First character must be a letter. * Cannot end with a hyphen or contain two consecutive hyphens. * Must be unique withing your AWS account.

ccpgParameterGroupFamily :: Lens' CreateClusterParameterGroup Text #

The Amazon Redshift engine version to which the cluster parameter group applies. The cluster engine version determines the set of parameters. To get a list of valid parameter group family names, you can call DescribeClusterParameterGroups . By default, Amazon Redshift returns a list of all the parameter groups that are owned by your AWS account, including the default parameter groups for each Amazon Redshift engine version. The parameter group family names associated with the default parameter groups provide you the valid values. For example, a valid family name is "redshift-1.0".

ccpgDescription :: Lens' CreateClusterParameterGroup Text #

A description of the parameter group.

Destructuring the Response

createClusterParameterGroupResponse #

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

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

data CreateClusterParameterGroupResponse #

See: createClusterParameterGroupResponse smart constructor.

Instances

Eq CreateClusterParameterGroupResponse # 
Data CreateClusterParameterGroupResponse # 

Methods

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

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

toConstr :: CreateClusterParameterGroupResponse -> Constr #

dataTypeOf :: CreateClusterParameterGroupResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateClusterParameterGroupResponse # 
Show CreateClusterParameterGroupResponse # 
Generic CreateClusterParameterGroupResponse # 
NFData CreateClusterParameterGroupResponse # 
type Rep CreateClusterParameterGroupResponse # 
type Rep CreateClusterParameterGroupResponse = D1 (MetaData "CreateClusterParameterGroupResponse" "Network.AWS.Redshift.CreateClusterParameterGroup" "amazonka-redshift-1.4.5-5ygenDSSyjc71mxYPXWxi1" False) (C1 (MetaCons "CreateClusterParameterGroupResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ccpgrsClusterParameterGroup") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ClusterParameterGroup))) (S1 (MetaSel (Just Symbol "_ccpgrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses