Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
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.
- createIPGroup :: Text -> CreateIPGroup
- data CreateIPGroup
- cigGroupDesc :: Lens' CreateIPGroup (Maybe Text)
- cigUserRules :: Lens' CreateIPGroup [IPRuleItem]
- cigGroupName :: Lens' CreateIPGroup Text
- createIPGroupResponse :: Int -> CreateIPGroupResponse
- data CreateIPGroupResponse
- cigrsGroupId :: Lens' CreateIPGroupResponse (Maybe Text)
- cigrsResponseStatus :: Lens' CreateIPGroupResponse Int
Creating a Request
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:
cigGroupDesc
- The description of the group.cigUserRules
- The rules to add to the group.cigGroupName
- The name of the group.
data CreateIPGroup Source #
See: createIPGroup
smart constructor.
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:
cigrsGroupId
- The ID of the group.cigrsResponseStatus
- -- | The response status code.
data CreateIPGroupResponse Source #
See: createIPGroupResponse
smart constructor.
Response Lenses
cigrsGroupId :: Lens' CreateIPGroupResponse (Maybe Text) Source #
The ID of the group.
cigrsResponseStatus :: Lens' CreateIPGroupResponse Int Source #
- - | The response status code.