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

Contents

Description

Creates an IP access control group.

An IP access control group provides you with the ability to control the IP addresses from which users are allowed to access their WorkSpaces. To specify the CIDR address ranges, add rules to your IP access control group and then associate the group with your directory. You can add rules when you create the group or at any time using AuthorizeIpRules .

There is a default IP access control group associated with your directory. If you don't associate an IP access control group with your directory, the default group is used. The default group includes a default rule that allows users to access their WorkSpaces from anywhere. You cannot modify the default IP access control group for your directory.

Synopsis

Creating a Request

createIPGroup Source #

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

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

data CreateIPGroup Source #

See: createIPGroup smart constructor.

Instances

Eq CreateIPGroup Source # 
Data CreateIPGroup Source # 

Methods

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

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

toConstr :: CreateIPGroup -> Constr #

dataTypeOf :: CreateIPGroup -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateIPGroup Source # 
Show CreateIPGroup Source # 
Generic CreateIPGroup Source # 

Associated Types

type Rep CreateIPGroup :: * -> * #

Hashable CreateIPGroup Source # 
ToJSON CreateIPGroup Source # 
NFData CreateIPGroup Source # 

Methods

rnf :: CreateIPGroup -> () #

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

Request Lenses

cigGroupDesc :: Lens' CreateIPGroup (Maybe Text) Source #

The description of the group.

cigUserRules :: Lens' CreateIPGroup [IPRuleItem] Source #

The rules to add to the group.

cigGroupName :: Lens' CreateIPGroup Text Source #

The name of the group.

Destructuring the Response

createIPGroupResponse Source #

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

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

data CreateIPGroupResponse Source #

See: createIPGroupResponse smart constructor.

Instances

Eq CreateIPGroupResponse Source # 
Data CreateIPGroupResponse Source # 

Methods

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

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

toConstr :: CreateIPGroupResponse -> Constr #

dataTypeOf :: CreateIPGroupResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateIPGroupResponse Source # 
Show CreateIPGroupResponse Source # 
Generic CreateIPGroupResponse Source # 
NFData CreateIPGroupResponse Source # 

Methods

rnf :: CreateIPGroupResponse -> () #

type Rep CreateIPGroupResponse Source # 
type Rep CreateIPGroupResponse = D1 * (MetaData "CreateIPGroupResponse" "Network.AWS.WorkSpaces.CreateIPGroup" "amazonka-workspaces-1.6.0-AwHYwyt6ovyA3XlaTDhfeV" False) (C1 * (MetaCons "CreateIPGroupResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_cigrsGroupId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_cigrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

cigrsResponseStatus :: Lens' CreateIPGroupResponse Int Source #

  • - | The response status code.