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

Defined in Network.AWS.Redshift.ModifyClusterSubnetGroup

Data ModifyClusterSubnetGroup Source # 
Instance details

Defined in Network.AWS.Redshift.ModifyClusterSubnetGroup

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

Defined in Network.AWS.Redshift.ModifyClusterSubnetGroup

Show ModifyClusterSubnetGroup Source # 
Instance details

Defined in Network.AWS.Redshift.ModifyClusterSubnetGroup

Generic ModifyClusterSubnetGroup Source # 
Instance details

Defined in Network.AWS.Redshift.ModifyClusterSubnetGroup

Associated Types

type Rep ModifyClusterSubnetGroup :: Type -> Type #

Hashable ModifyClusterSubnetGroup Source # 
Instance details

Defined in Network.AWS.Redshift.ModifyClusterSubnetGroup

AWSRequest ModifyClusterSubnetGroup Source # 
Instance details

Defined in Network.AWS.Redshift.ModifyClusterSubnetGroup

Associated Types

type Rs ModifyClusterSubnetGroup :: Type #

ToHeaders ModifyClusterSubnetGroup Source # 
Instance details

Defined in Network.AWS.Redshift.ModifyClusterSubnetGroup

ToPath ModifyClusterSubnetGroup Source # 
Instance details

Defined in Network.AWS.Redshift.ModifyClusterSubnetGroup

ToQuery ModifyClusterSubnetGroup Source # 
Instance details

Defined in Network.AWS.Redshift.ModifyClusterSubnetGroup

NFData ModifyClusterSubnetGroup Source # 
Instance details

Defined in Network.AWS.Redshift.ModifyClusterSubnetGroup

type Rep ModifyClusterSubnetGroup Source # 
Instance details

Defined in Network.AWS.Redshift.ModifyClusterSubnetGroup

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

Defined in Network.AWS.Redshift.ModifyClusterSubnetGroup

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

Defined in Network.AWS.Redshift.ModifyClusterSubnetGroup

Data ModifyClusterSubnetGroupResponse Source # 
Instance details

Defined in Network.AWS.Redshift.ModifyClusterSubnetGroup

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

Defined in Network.AWS.Redshift.ModifyClusterSubnetGroup

Show ModifyClusterSubnetGroupResponse Source # 
Instance details

Defined in Network.AWS.Redshift.ModifyClusterSubnetGroup

Generic ModifyClusterSubnetGroupResponse Source # 
Instance details

Defined in Network.AWS.Redshift.ModifyClusterSubnetGroup

Associated Types

type Rep ModifyClusterSubnetGroupResponse :: Type -> Type #

NFData ModifyClusterSubnetGroupResponse Source # 
Instance details

Defined in Network.AWS.Redshift.ModifyClusterSubnetGroup

type Rep ModifyClusterSubnetGroupResponse Source # 
Instance details

Defined in Network.AWS.Redshift.ModifyClusterSubnetGroup

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

Response Lenses