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.AuthorizeIPRules

Contents

Description

Adds one or more rules to the specified IP access control group.

This action gives users permission to access their WorkSpaces from the CIDR address ranges specified in the rules.

Synopsis

Creating a Request

authorizeIPRules Source #

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

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

data AuthorizeIPRules Source #

See: authorizeIPRules smart constructor.

Instances

Eq AuthorizeIPRules Source # 
Data AuthorizeIPRules Source # 

Methods

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

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

toConstr :: AuthorizeIPRules -> Constr #

dataTypeOf :: AuthorizeIPRules -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: AuthorizeIPRules -> () #

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

Request Lenses

airGroupId :: Lens' AuthorizeIPRules Text Source #

The ID of the group.

airUserRules :: Lens' AuthorizeIPRules [IPRuleItem] Source #

The rules to add to the group.

Destructuring the Response

authorizeIPRulesResponse Source #

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

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

data AuthorizeIPRulesResponse Source #

See: authorizeIPRulesResponse smart constructor.

Instances

Eq AuthorizeIPRulesResponse Source # 
Data AuthorizeIPRulesResponse Source # 

Methods

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

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

toConstr :: AuthorizeIPRulesResponse -> Constr #

dataTypeOf :: AuthorizeIPRulesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Response Lenses