amazonka-redshift-1.4.1: 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 Source #

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:

data CreateClusterParameterGroup Source #

See: createClusterParameterGroup smart constructor.

Instances

Eq CreateClusterParameterGroup Source # 
Data CreateClusterParameterGroup Source # 

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 Source # 
Show CreateClusterParameterGroup Source # 
Generic CreateClusterParameterGroup Source # 
Hashable CreateClusterParameterGroup Source # 
NFData CreateClusterParameterGroup Source # 
AWSRequest CreateClusterParameterGroup Source # 
ToQuery CreateClusterParameterGroup Source # 
ToPath CreateClusterParameterGroup Source # 
ToHeaders CreateClusterParameterGroup Source # 
type Rep CreateClusterParameterGroup Source # 
type Rep CreateClusterParameterGroup = D1 (MetaData "CreateClusterParameterGroup" "Network.AWS.Redshift.CreateClusterParameterGroup" "amazonka-redshift-1.4.1-6kPkaOfgvaC7rEqhDOralh" 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 Source # 

Request Lenses

ccpgTags :: Lens' CreateClusterParameterGroup [Tag] Source #

A list of tag instances.

ccpgParameterGroupName :: Lens' CreateClusterParameterGroup Text Source #

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.

This value is stored as a lower-case string.

ccpgParameterGroupFamily :: Lens' CreateClusterParameterGroup Text Source #

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 Source #

A description of the parameter group.

Destructuring the Response

createClusterParameterGroupResponse Source #

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 Source #

See: createClusterParameterGroupResponse smart constructor.

Instances

Eq CreateClusterParameterGroupResponse Source # 
Data CreateClusterParameterGroupResponse Source # 

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 Source # 
Show CreateClusterParameterGroupResponse Source # 
Generic CreateClusterParameterGroupResponse Source # 
NFData CreateClusterParameterGroupResponse Source # 
type Rep CreateClusterParameterGroupResponse Source # 
type Rep CreateClusterParameterGroupResponse = D1 (MetaData "CreateClusterParameterGroupResponse" "Network.AWS.Redshift.CreateClusterParameterGroup" "amazonka-redshift-1.4.1-6kPkaOfgvaC7rEqhDOralh" False) (C1 (MetaCons "CreateClusterParameterGroupResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ccpgrsClusterParameterGroup") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ClusterParameterGroup))) (S1 (MetaSel (Just Symbol "_ccpgrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses