amazonka-redshift-1.4.4: 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.ModifyClusterSubnetGroup

Contents

Description

Modifies a cluster subnet group to include the specified list of VPC subnets. The operation replaces the existing list of subnets with the new list of subnets.

Synopsis

Creating a Request

modifyClusterSubnetGroup Source #

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

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

data ModifyClusterSubnetGroup Source #

See: modifyClusterSubnetGroup smart constructor.

Instances

Eq ModifyClusterSubnetGroup Source # 
Data ModifyClusterSubnetGroup Source # 

Methods

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

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

toConstr :: ModifyClusterSubnetGroup -> Constr #

dataTypeOf :: ModifyClusterSubnetGroup -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ModifyClusterSubnetGroup Source # 
Show ModifyClusterSubnetGroup Source # 
Generic ModifyClusterSubnetGroup Source # 
Hashable ModifyClusterSubnetGroup Source # 
NFData ModifyClusterSubnetGroup Source # 
AWSRequest ModifyClusterSubnetGroup Source # 
ToPath ModifyClusterSubnetGroup Source # 
ToHeaders ModifyClusterSubnetGroup Source # 
ToQuery ModifyClusterSubnetGroup Source # 
type Rep ModifyClusterSubnetGroup Source # 
type Rep ModifyClusterSubnetGroup = D1 (MetaData "ModifyClusterSubnetGroup" "Network.AWS.Redshift.ModifyClusterSubnetGroup" "amazonka-redshift-1.4.4-K7Zv0fZMBDVCZxQG2hoQg4" False) (C1 (MetaCons "ModifyClusterSubnetGroup'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_mcsgDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_mcsgClusterSubnetGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_mcsgSubnetIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Text])))))
type Rs ModifyClusterSubnetGroup Source # 

Request Lenses

mcsgDescription :: Lens' ModifyClusterSubnetGroup (Maybe Text) Source #

A text description of the subnet group to be modified.

mcsgClusterSubnetGroupName :: Lens' ModifyClusterSubnetGroup Text Source #

The name of the subnet group to be modified.

mcsgSubnetIds :: Lens' ModifyClusterSubnetGroup [Text] Source #

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

Destructuring the Response

modifyClusterSubnetGroupResponse Source #

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

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

data ModifyClusterSubnetGroupResponse Source #

See: modifyClusterSubnetGroupResponse smart constructor.

Instances

Eq ModifyClusterSubnetGroupResponse Source # 
Data ModifyClusterSubnetGroupResponse Source # 

Methods

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

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

toConstr :: ModifyClusterSubnetGroupResponse -> Constr #

dataTypeOf :: ModifyClusterSubnetGroupResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ModifyClusterSubnetGroupResponse Source # 
Show ModifyClusterSubnetGroupResponse Source # 
Generic ModifyClusterSubnetGroupResponse Source # 
NFData ModifyClusterSubnetGroupResponse Source # 
type Rep ModifyClusterSubnetGroupResponse Source # 
type Rep ModifyClusterSubnetGroupResponse = D1 (MetaData "ModifyClusterSubnetGroupResponse" "Network.AWS.Redshift.ModifyClusterSubnetGroup" "amazonka-redshift-1.4.4-K7Zv0fZMBDVCZxQG2hoQg4" False) (C1 (MetaCons "ModifyClusterSubnetGroupResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_mcsgrsClusterSubnetGroup") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ClusterSubnetGroup))) (S1 (MetaSel (Just Symbol "_mcsgrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses