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 |
Replaces the current rules of the specified IP access control group with the specified rules.
Synopsis
- data UpdateRulesOfIpGroup = UpdateRulesOfIpGroup' {
- groupId :: Text
- userRules :: [IpRuleItem]
- newUpdateRulesOfIpGroup :: Text -> UpdateRulesOfIpGroup
- updateRulesOfIpGroup_groupId :: Lens' UpdateRulesOfIpGroup Text
- updateRulesOfIpGroup_userRules :: Lens' UpdateRulesOfIpGroup [IpRuleItem]
- data UpdateRulesOfIpGroupResponse = UpdateRulesOfIpGroupResponse' {
- httpStatus :: Int
- newUpdateRulesOfIpGroupResponse :: Int -> UpdateRulesOfIpGroupResponse
- updateRulesOfIpGroupResponse_httpStatus :: Lens' UpdateRulesOfIpGroupResponse Int
Creating a Request
data UpdateRulesOfIpGroup Source #
See: newUpdateRulesOfIpGroup
smart constructor.
UpdateRulesOfIpGroup' | |
|
Instances
newUpdateRulesOfIpGroup Source #
Create a value of UpdateRulesOfIpGroup
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:UpdateRulesOfIpGroup'
, updateRulesOfIpGroup_groupId
- The identifier of the group.
$sel:userRules:UpdateRulesOfIpGroup'
, updateRulesOfIpGroup_userRules
- One or more rules.
Request Lenses
updateRulesOfIpGroup_groupId :: Lens' UpdateRulesOfIpGroup Text Source #
The identifier of the group.
updateRulesOfIpGroup_userRules :: Lens' UpdateRulesOfIpGroup [IpRuleItem] Source #
One or more rules.
Destructuring the Response
data UpdateRulesOfIpGroupResponse Source #
See: newUpdateRulesOfIpGroupResponse
smart constructor.
UpdateRulesOfIpGroupResponse' | |
|
Instances
newUpdateRulesOfIpGroupResponse Source #
Create a value of UpdateRulesOfIpGroupResponse
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:UpdateRulesOfIpGroupResponse'
, updateRulesOfIpGroupResponse_httpStatus
- The response's http status code.
Response Lenses
updateRulesOfIpGroupResponse_httpStatus :: Lens' UpdateRulesOfIpGroupResponse Int Source #
The response's http status code.