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 |
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
- data AuthorizeIpRules = AuthorizeIpRules' {
- groupId :: Text
- userRules :: [IpRuleItem]
- newAuthorizeIpRules :: Text -> AuthorizeIpRules
- authorizeIpRules_groupId :: Lens' AuthorizeIpRules Text
- authorizeIpRules_userRules :: Lens' AuthorizeIpRules [IpRuleItem]
- data AuthorizeIpRulesResponse = AuthorizeIpRulesResponse' {
- httpStatus :: Int
- newAuthorizeIpRulesResponse :: Int -> AuthorizeIpRulesResponse
- authorizeIpRulesResponse_httpStatus :: Lens' AuthorizeIpRulesResponse Int
Creating a Request
data AuthorizeIpRules Source #
See: newAuthorizeIpRules
smart constructor.
AuthorizeIpRules' | |
|
Instances
Create a value of AuthorizeIpRules
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:AuthorizeIpRules'
, authorizeIpRules_groupId
- The identifier of the group.
$sel:userRules:AuthorizeIpRules'
, authorizeIpRules_userRules
- The rules to add to the group.
Request Lenses
authorizeIpRules_groupId :: Lens' AuthorizeIpRules Text Source #
The identifier of the group.
authorizeIpRules_userRules :: Lens' AuthorizeIpRules [IpRuleItem] Source #
The rules to add to the group.
Destructuring the Response
data AuthorizeIpRulesResponse Source #
See: newAuthorizeIpRulesResponse
smart constructor.
AuthorizeIpRulesResponse' | |
|
Instances
newAuthorizeIpRulesResponse Source #
Create a value of AuthorizeIpRulesResponse
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:httpStatus:AuthorizeIpRulesResponse'
, authorizeIpRulesResponse_httpStatus
- The response's http status code.
Response Lenses
authorizeIpRulesResponse_httpStatus :: Lens' AuthorizeIpRulesResponse Int Source #
The response's http status code.