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

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

See: createClusterSubnetGroup smart constructor.

Instances
Eq CreateClusterSubnetGroup Source # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterSubnetGroup

Data CreateClusterSubnetGroup Source # 
Instance details

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

Defined in Network.AWS.Redshift.CreateClusterSubnetGroup

Show CreateClusterSubnetGroup Source # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterSubnetGroup

Generic CreateClusterSubnetGroup Source # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterSubnetGroup

Associated Types

type Rep CreateClusterSubnetGroup :: Type -> Type #

Hashable CreateClusterSubnetGroup Source # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterSubnetGroup

AWSRequest CreateClusterSubnetGroup Source # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterSubnetGroup

Associated Types

type Rs CreateClusterSubnetGroup :: Type #

ToHeaders CreateClusterSubnetGroup Source # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterSubnetGroup

ToPath CreateClusterSubnetGroup Source # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterSubnetGroup

ToQuery CreateClusterSubnetGroup Source # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterSubnetGroup

NFData CreateClusterSubnetGroup Source # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterSubnetGroup

type Rep CreateClusterSubnetGroup Source # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterSubnetGroup

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

Defined in Network.AWS.Redshift.CreateClusterSubnetGroup

Request Lenses

ccsgTags :: Lens' CreateClusterSubnetGroup [Tag] Source #

A list of tag instances.

ccsgClusterSubnetGroupName :: Lens' CreateClusterSubnetGroup Text Source #

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

A description for the subnet group.

ccsgSubnetIds :: Lens' CreateClusterSubnetGroup [Text] Source #

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

Destructuring the Response

createClusterSubnetGroupResponse Source #

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

See: createClusterSubnetGroupResponse smart constructor.

Instances
Eq CreateClusterSubnetGroupResponse Source # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterSubnetGroup

Data CreateClusterSubnetGroupResponse Source # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterSubnetGroup

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

Defined in Network.AWS.Redshift.CreateClusterSubnetGroup

Show CreateClusterSubnetGroupResponse Source # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterSubnetGroup

Generic CreateClusterSubnetGroupResponse Source # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterSubnetGroup

Associated Types

type Rep CreateClusterSubnetGroupResponse :: Type -> Type #

NFData CreateClusterSubnetGroupResponse Source # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterSubnetGroup

type Rep CreateClusterSubnetGroupResponse Source # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterSubnetGroup

type Rep CreateClusterSubnetGroupResponse = D1 (MetaData "CreateClusterSubnetGroupResponse" "Network.AWS.Redshift.CreateClusterSubnetGroup" "amazonka-redshift-1.6.1-5k9dueihUQf2a2gxNGkSPi" False) (C1 (MetaCons "CreateClusterSubnetGroupResponse'" PrefixI True) (S1 (MetaSel (Just "_ccsgrsClusterSubnetGroup") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ClusterSubnetGroup)) :*: S1 (MetaSel (Just "_ccsgrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses