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

Contents

Description

Creates a new Amazon Redshift subnet group. You must provide a list of one or more subnets in your existing Amazon Virtual Private Cloud (Amazon VPC) when creating Amazon Redshift subnet group.

For information about subnet groups, go to Amazon Redshift Cluster Subnet Groups in the Amazon Redshift Cluster Management Guide .

Synopsis

Creating a Request

createClusterSubnetGroup #

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

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

  • ccsgTags - A list of tag instances.
  • ccsgClusterSubnetGroupName - The name for the subnet group. Amazon Redshift stores the value as a lowercase string. Constraints: * Must contain no more than 255 alphanumeric characters or hyphens. * Must not be Default. * Must be unique for all subnet groups that are created by your AWS account. Example: examplesubnetgroup
  • ccsgDescription - A description for the subnet group.
  • ccsgSubnetIds - An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.

data CreateClusterSubnetGroup #

See: createClusterSubnetGroup smart constructor.

Instances

Eq CreateClusterSubnetGroup # 
Data CreateClusterSubnetGroup # 

Methods

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

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

toConstr :: CreateClusterSubnetGroup -> Constr #

dataTypeOf :: CreateClusterSubnetGroup -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Request Lenses

ccsgTags :: Lens' CreateClusterSubnetGroup [Tag] #

A list of tag instances.

ccsgClusterSubnetGroupName :: Lens' CreateClusterSubnetGroup Text #

The name for the subnet group. Amazon Redshift stores the value as a lowercase string. Constraints: * Must contain no more than 255 alphanumeric characters or hyphens. * Must not be Default. * Must be unique for all subnet groups that are created by your AWS account. Example: examplesubnetgroup

ccsgDescription :: Lens' CreateClusterSubnetGroup Text #

A description for the subnet group.

ccsgSubnetIds :: Lens' CreateClusterSubnetGroup [Text] #

An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.

Destructuring the Response

createClusterSubnetGroupResponse #

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

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

data CreateClusterSubnetGroupResponse #

See: createClusterSubnetGroupResponse smart constructor.

Instances

Eq CreateClusterSubnetGroupResponse # 
Data CreateClusterSubnetGroupResponse # 

Methods

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

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

toConstr :: CreateClusterSubnetGroupResponse -> Constr #

dataTypeOf :: CreateClusterSubnetGroupResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Response Lenses