libZSservicesZSamazonka-workspacesZSamazonka-workspaces
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.WorkSpaces.CreateIpGroup

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

data CreateIpGroup Source #

See: newCreateIpGroup smart constructor.

Constructors

CreateIpGroup' 

Fields

Instances

Instances details
Eq CreateIpGroup Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateIpGroup

Read CreateIpGroup Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateIpGroup

Show CreateIpGroup Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateIpGroup

Generic CreateIpGroup Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateIpGroup

Associated Types

type Rep CreateIpGroup :: Type -> Type #

NFData CreateIpGroup Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateIpGroup

Methods

rnf :: CreateIpGroup -> () #

Hashable CreateIpGroup Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateIpGroup

ToJSON CreateIpGroup Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateIpGroup

AWSRequest CreateIpGroup Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateIpGroup

Associated Types

type AWSResponse CreateIpGroup #

ToHeaders CreateIpGroup Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateIpGroup

ToPath CreateIpGroup Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateIpGroup

ToQuery CreateIpGroup Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateIpGroup

type Rep CreateIpGroup Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateIpGroup

type Rep CreateIpGroup = D1 ('MetaData "CreateIpGroup" "Amazonka.WorkSpaces.CreateIpGroup" "libZSservicesZSamazonka-workspacesZSamazonka-workspaces" 'False) (C1 ('MetaCons "CreateIpGroup'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "groupDesc") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "userRules") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [IpRuleItem]))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "groupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse CreateIpGroup Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateIpGroup

newCreateIpGroup Source #

Create a value of CreateIpGroup with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:groupDesc:CreateIpGroup', createIpGroup_groupDesc - The description of the group.

$sel:userRules:CreateIpGroup', createIpGroup_userRules - The rules to add to the group.

$sel:tags:CreateIpGroup', createIpGroup_tags - The tags. Each WorkSpaces resource can have a maximum of 50 tags.

$sel:groupName:CreateIpGroup', createIpGroup_groupName - The name of the group.

Request Lenses

createIpGroup_groupDesc :: Lens' CreateIpGroup (Maybe Text) Source #

The description of the group.

createIpGroup_userRules :: Lens' CreateIpGroup (Maybe [IpRuleItem]) Source #

The rules to add to the group.

createIpGroup_tags :: Lens' CreateIpGroup (Maybe [Tag]) Source #

The tags. Each WorkSpaces resource can have a maximum of 50 tags.

Destructuring the Response

data CreateIpGroupResponse Source #

See: newCreateIpGroupResponse smart constructor.

Constructors

CreateIpGroupResponse' 

Fields

Instances

Instances details
Eq CreateIpGroupResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateIpGroup

Read CreateIpGroupResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateIpGroup

Show CreateIpGroupResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateIpGroup

Generic CreateIpGroupResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateIpGroup

Associated Types

type Rep CreateIpGroupResponse :: Type -> Type #

NFData CreateIpGroupResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateIpGroup

Methods

rnf :: CreateIpGroupResponse -> () #

type Rep CreateIpGroupResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateIpGroup

type Rep CreateIpGroupResponse = D1 ('MetaData "CreateIpGroupResponse" "Amazonka.WorkSpaces.CreateIpGroup" "libZSservicesZSamazonka-workspacesZSamazonka-workspaces" 'False) (C1 ('MetaCons "CreateIpGroupResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "groupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateIpGroupResponse Source #

Create a value of CreateIpGroupResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:groupId:CreateIpGroupResponse', createIpGroupResponse_groupId - The identifier of the group.

$sel:httpStatus:CreateIpGroupResponse', createIpGroupResponse_httpStatus - The response's http status code.

Response Lenses