amazonka-workspaces-1.6.0: Amazon WorkSpaces 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.WorkSpaces.AssociateIPGroups

Contents

Description

Associates the specified IP access control group with the specified directory.

Synopsis

Creating a Request

associateIPGroups Source #

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

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

data AssociateIPGroups Source #

See: associateIPGroups smart constructor.

Instances

Eq AssociateIPGroups Source # 
Data AssociateIPGroups Source # 

Methods

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

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

toConstr :: AssociateIPGroups -> Constr #

dataTypeOf :: AssociateIPGroups -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AssociateIPGroups Source # 
Show AssociateIPGroups Source # 
Generic AssociateIPGroups Source # 
Hashable AssociateIPGroups Source # 
ToJSON AssociateIPGroups Source # 
NFData AssociateIPGroups Source # 

Methods

rnf :: AssociateIPGroups -> () #

AWSRequest AssociateIPGroups Source # 
ToHeaders AssociateIPGroups Source # 
ToPath AssociateIPGroups Source # 
ToQuery AssociateIPGroups Source # 
type Rep AssociateIPGroups Source # 
type Rep AssociateIPGroups = D1 * (MetaData "AssociateIPGroups" "Network.AWS.WorkSpaces.AssociateIPGroups" "amazonka-workspaces-1.6.0-AwHYwyt6ovyA3XlaTDhfeV" False) (C1 * (MetaCons "AssociateIPGroups'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_aigDirectoryId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_aigGroupIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * [Text]))))
type Rs AssociateIPGroups Source # 

Request Lenses

aigDirectoryId :: Lens' AssociateIPGroups Text Source #

The ID of the directory.

aigGroupIds :: Lens' AssociateIPGroups [Text] Source #

The IDs of one or more IP access control groups.

Destructuring the Response

associateIPGroupsResponse Source #

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

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

data AssociateIPGroupsResponse Source #

See: associateIPGroupsResponse smart constructor.

Instances

Eq AssociateIPGroupsResponse Source # 
Data AssociateIPGroupsResponse Source # 

Methods

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

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

toConstr :: AssociateIPGroupsResponse -> Constr #

dataTypeOf :: AssociateIPGroupsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AssociateIPGroupsResponse Source # 
Show AssociateIPGroupsResponse Source # 
Generic AssociateIPGroupsResponse Source # 
NFData AssociateIPGroupsResponse Source # 
type Rep AssociateIPGroupsResponse Source # 
type Rep AssociateIPGroupsResponse = D1 * (MetaData "AssociateIPGroupsResponse" "Network.AWS.WorkSpaces.AssociateIPGroups" "amazonka-workspaces-1.6.0-AwHYwyt6ovyA3XlaTDhfeV" True) (C1 * (MetaCons "AssociateIPGroupsResponse'" PrefixI True) (S1 * (MetaSel (Just Symbol "_aigrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)))

Response Lenses