amazonka-rds-1.6.0: Amazon Relational Database Service 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.RDS.CreateDBSubnetGroup

Contents

Description

Creates a new DB subnet group. DB subnet groups must contain at least one subnet in at least two AZs in the AWS Region.

Synopsis

Creating a Request

createDBSubnetGroup Source #

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

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

  • cdbsgTags - Undocumented member.
  • cdbsgDBSubnetGroupName - The name for the DB subnet group. This value is stored as a lowercase string. Constraints: Must contain no more than 255 letters, numbers, periods, underscores, spaces, or hyphens. Must not be default. Example: mySubnetgroup
  • cdbsgDBSubnetGroupDescription - The description for the DB subnet group.
  • cdbsgSubnetIds - The EC2 Subnet IDs for the DB subnet group.

data CreateDBSubnetGroup Source #

See: createDBSubnetGroup smart constructor.

Instances

Eq CreateDBSubnetGroup Source # 
Data CreateDBSubnetGroup Source # 

Methods

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

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

toConstr :: CreateDBSubnetGroup -> Constr #

dataTypeOf :: CreateDBSubnetGroup -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateDBSubnetGroup Source # 
Show CreateDBSubnetGroup Source # 
Generic CreateDBSubnetGroup Source # 
Hashable CreateDBSubnetGroup Source # 
NFData CreateDBSubnetGroup Source # 

Methods

rnf :: CreateDBSubnetGroup -> () #

AWSRequest CreateDBSubnetGroup Source # 
ToHeaders CreateDBSubnetGroup Source # 
ToPath CreateDBSubnetGroup Source # 
ToQuery CreateDBSubnetGroup Source # 
type Rep CreateDBSubnetGroup Source # 
type Rep CreateDBSubnetGroup = D1 * (MetaData "CreateDBSubnetGroup" "Network.AWS.RDS.CreateDBSubnetGroup" "amazonka-rds-1.6.0-1gpCa37cwlvAUzWljvprAs" False) (C1 * (MetaCons "CreateDBSubnetGroup'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_cdbsgTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Tag]))) (S1 * (MetaSel (Just Symbol "_cdbsgDBSubnetGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_cdbsgDBSubnetGroupDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_cdbsgSubnetIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * [Text])))))
type Rs CreateDBSubnetGroup Source # 

Request Lenses

cdbsgTags :: Lens' CreateDBSubnetGroup [Tag] Source #

Undocumented member.

cdbsgDBSubnetGroupName :: Lens' CreateDBSubnetGroup Text Source #

The name for the DB subnet group. This value is stored as a lowercase string. Constraints: Must contain no more than 255 letters, numbers, periods, underscores, spaces, or hyphens. Must not be default. Example: mySubnetgroup

cdbsgDBSubnetGroupDescription :: Lens' CreateDBSubnetGroup Text Source #

The description for the DB subnet group.

cdbsgSubnetIds :: Lens' CreateDBSubnetGroup [Text] Source #

The EC2 Subnet IDs for the DB subnet group.

Destructuring the Response

createDBSubnetGroupResponse Source #

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

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

data CreateDBSubnetGroupResponse Source #

See: createDBSubnetGroupResponse smart constructor.

Instances

Eq CreateDBSubnetGroupResponse Source # 
Data CreateDBSubnetGroupResponse Source # 

Methods

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

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

toConstr :: CreateDBSubnetGroupResponse -> Constr #

dataTypeOf :: CreateDBSubnetGroupResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateDBSubnetGroupResponse Source # 
Show CreateDBSubnetGroupResponse Source # 
Generic CreateDBSubnetGroupResponse Source # 
NFData CreateDBSubnetGroupResponse Source # 
type Rep CreateDBSubnetGroupResponse Source # 
type Rep CreateDBSubnetGroupResponse = D1 * (MetaData "CreateDBSubnetGroupResponse" "Network.AWS.RDS.CreateDBSubnetGroup" "amazonka-rds-1.6.0-1gpCa37cwlvAUzWljvprAs" False) (C1 * (MetaCons "CreateDBSubnetGroupResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_cdsgrsDBSubnetGroup") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe DBSubnetGroup))) (S1 * (MetaSel (Just Symbol "_cdsgrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses