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 |
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
- authorizeIPRules :: Text -> AuthorizeIPRules
- data AuthorizeIPRules
- airGroupId :: Lens' AuthorizeIPRules Text
- airUserRules :: Lens' AuthorizeIPRules [IPRuleItem]
- authorizeIPRulesResponse :: Int -> AuthorizeIPRulesResponse
- data AuthorizeIPRulesResponse
- airrsResponseStatus :: Lens' AuthorizeIPRulesResponse Int
Creating a Request
Creates a value of AuthorizeIPRules
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
airGroupId
- The ID of the group.airUserRules
- The rules to add to the group.
data AuthorizeIPRules Source #
See: authorizeIPRules
smart constructor.
Instances
Request Lenses
airGroupId :: Lens' AuthorizeIPRules Text Source #
The ID of the group.
airUserRules :: Lens' AuthorizeIPRules [IPRuleItem] Source #
The rules to add to the group.
Destructuring the Response
authorizeIPRulesResponse Source #
Creates a value of AuthorizeIPRulesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
airrsResponseStatus
- -- | The response status code.
data AuthorizeIPRulesResponse Source #
See: authorizeIPRulesResponse
smart constructor.
Instances
Response Lenses
airrsResponseStatus :: Lens' AuthorizeIPRulesResponse Int Source #
- - | The response status code.