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.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:

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

See: createClusterParameterGroup smart constructor.

Instances
Eq CreateClusterParameterGroup Source # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterParameterGroup

Data CreateClusterParameterGroup Source # 
Instance details

Defined in Network.AWS.Redshift.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 Source # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterParameterGroup

Show CreateClusterParameterGroup Source # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterParameterGroup

Generic CreateClusterParameterGroup Source # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterParameterGroup

Associated Types

type Rep CreateClusterParameterGroup :: Type -> Type #

Hashable CreateClusterParameterGroup Source # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterParameterGroup

AWSRequest CreateClusterParameterGroup Source # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterParameterGroup

Associated Types

type Rs CreateClusterParameterGroup :: Type #

ToHeaders CreateClusterParameterGroup Source # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterParameterGroup

ToPath CreateClusterParameterGroup Source # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterParameterGroup

ToQuery CreateClusterParameterGroup Source # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterParameterGroup

NFData CreateClusterParameterGroup Source # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterParameterGroup

type Rep CreateClusterParameterGroup Source # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterParameterGroup

type Rep CreateClusterParameterGroup = D1 (MetaData "CreateClusterParameterGroup" "Network.AWS.Redshift.CreateClusterParameterGroup" "amazonka-redshift-1.6.1-5k9dueihUQf2a2gxNGkSPi" False) (C1 (MetaCons "CreateClusterParameterGroup'" PrefixI True) ((S1 (MetaSel (Just "_ccpgTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 (MetaSel (Just "_ccpgParameterGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_ccpgParameterGroupFamily") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ccpgDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs CreateClusterParameterGroup Source # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterParameterGroup

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.

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

Defined in Network.AWS.Redshift.CreateClusterParameterGroup

Data CreateClusterParameterGroupResponse Source # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterParameterGroup

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

Defined in Network.AWS.Redshift.CreateClusterParameterGroup

Show CreateClusterParameterGroupResponse Source # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterParameterGroup

Generic CreateClusterParameterGroupResponse Source # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterParameterGroup

NFData CreateClusterParameterGroupResponse Source # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterParameterGroup

type Rep CreateClusterParameterGroupResponse Source # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterParameterGroup

type Rep CreateClusterParameterGroupResponse = D1 (MetaData "CreateClusterParameterGroupResponse" "Network.AWS.Redshift.CreateClusterParameterGroup" "amazonka-redshift-1.6.1-5k9dueihUQf2a2gxNGkSPi" False) (C1 (MetaCons "CreateClusterParameterGroupResponse'" PrefixI True) (S1 (MetaSel (Just "_ccpgrsClusterParameterGroup") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ClusterParameterGroup)) :*: S1 (MetaSel (Just "_ccpgrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses