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

Contents

Description

Modifies an existing DB subnet group. DB subnet groups must contain at least one subnet in at least two AZs in the region.

Synopsis

Creating a Request

modifyDBSubnetGroup #

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

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

  • mdsgDBSubnetGroupDescription - The description for the DB subnet group.
  • mdsgDBSubnetGroupName - The name for the DB subnet group. This value is stored as a lowercase string. Constraints: Must contain no more than 255 alphanumeric characters, periods, underscores, spaces, or hyphens. Must not be default. Example: mySubnetgroup
  • mdsgSubnetIds - The EC2 subnet IDs for the DB subnet group.

data ModifyDBSubnetGroup #

See: modifyDBSubnetGroup smart constructor.

Instances

Eq ModifyDBSubnetGroup # 
Data ModifyDBSubnetGroup # 

Methods

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

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

toConstr :: ModifyDBSubnetGroup -> Constr #

dataTypeOf :: ModifyDBSubnetGroup -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ModifyDBSubnetGroup # 
Show ModifyDBSubnetGroup # 
Generic ModifyDBSubnetGroup # 
Hashable ModifyDBSubnetGroup # 
NFData ModifyDBSubnetGroup # 

Methods

rnf :: ModifyDBSubnetGroup -> () #

AWSRequest ModifyDBSubnetGroup # 
ToQuery ModifyDBSubnetGroup # 
ToPath ModifyDBSubnetGroup # 
ToHeaders ModifyDBSubnetGroup # 
type Rep ModifyDBSubnetGroup # 
type Rep ModifyDBSubnetGroup = D1 (MetaData "ModifyDBSubnetGroup" "Network.AWS.RDS.ModifyDBSubnetGroup" "amazonka-rds-1.4.5-I79yxZdjKNFFGn6ti49zKn" False) (C1 (MetaCons "ModifyDBSubnetGroup'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_mdsgDBSubnetGroupDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_mdsgDBSubnetGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_mdsgSubnetIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Text])))))
type Rs ModifyDBSubnetGroup # 

Request Lenses

mdsgDBSubnetGroupDescription :: Lens' ModifyDBSubnetGroup (Maybe Text) #

The description for the DB subnet group.

mdsgDBSubnetGroupName :: Lens' ModifyDBSubnetGroup Text #

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

mdsgSubnetIds :: Lens' ModifyDBSubnetGroup [Text] #

The EC2 subnet IDs for the DB subnet group.

Destructuring the Response

modifyDBSubnetGroupResponse #

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

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

data ModifyDBSubnetGroupResponse #

See: modifyDBSubnetGroupResponse smart constructor.

Instances

Eq ModifyDBSubnetGroupResponse # 
Data ModifyDBSubnetGroupResponse # 

Methods

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

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

toConstr :: ModifyDBSubnetGroupResponse -> Constr #

dataTypeOf :: ModifyDBSubnetGroupResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ModifyDBSubnetGroupResponse # 
Show ModifyDBSubnetGroupResponse # 
Generic ModifyDBSubnetGroupResponse # 
NFData ModifyDBSubnetGroupResponse # 
type Rep ModifyDBSubnetGroupResponse # 
type Rep ModifyDBSubnetGroupResponse = D1 (MetaData "ModifyDBSubnetGroupResponse" "Network.AWS.RDS.ModifyDBSubnetGroup" "amazonka-rds-1.4.5-I79yxZdjKNFFGn6ti49zKn" False) (C1 (MetaCons "ModifyDBSubnetGroupResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_mdsgrsDBSubnetGroup") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DBSubnetGroup))) (S1 (MetaSel (Just Symbol "_mdsgrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses