Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
- data CreateIpGroup = CreateIpGroup' {}
- newCreateIpGroup :: Text -> CreateIpGroup
- createIpGroup_groupDesc :: Lens' CreateIpGroup (Maybe Text)
- createIpGroup_userRules :: Lens' CreateIpGroup (Maybe [IpRuleItem])
- createIpGroup_tags :: Lens' CreateIpGroup (Maybe [Tag])
- createIpGroup_groupName :: Lens' CreateIpGroup Text
- data CreateIpGroupResponse = CreateIpGroupResponse' {
- groupId :: Maybe Text
- httpStatus :: Int
- newCreateIpGroupResponse :: Int -> CreateIpGroupResponse
- createIpGroupResponse_groupId :: Lens' CreateIpGroupResponse (Maybe Text)
- createIpGroupResponse_httpStatus :: Lens' CreateIpGroupResponse Int
Creating a Request
data CreateIpGroup Source #
See: newCreateIpGroup
smart constructor.
Instances
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.
createIpGroup_groupName :: Lens' CreateIpGroup Text Source #
The name of the group.
Destructuring the Response
data CreateIpGroupResponse Source #
See: newCreateIpGroupResponse
smart constructor.
CreateIpGroupResponse' | |
|
Instances
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
createIpGroupResponse_groupId :: Lens' CreateIpGroupResponse (Maybe Text) Source #
The identifier of the group.
createIpGroupResponse_httpStatus :: Lens' CreateIpGroupResponse Int Source #
The response's http status code.