| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.WorkSpaces.RevokeIpRules
Description
Removes one or more rules from the specified IP access control group.
Synopsis
- data RevokeIpRules = RevokeIpRules' {}
- newRevokeIpRules :: Text -> RevokeIpRules
- revokeIpRules_groupId :: Lens' RevokeIpRules Text
- revokeIpRules_userRules :: Lens' RevokeIpRules [Text]
- data RevokeIpRulesResponse = RevokeIpRulesResponse' {
- httpStatus :: Int
- newRevokeIpRulesResponse :: Int -> RevokeIpRulesResponse
- revokeIpRulesResponse_httpStatus :: Lens' RevokeIpRulesResponse Int
Creating a Request
data RevokeIpRules Source #
See: newRevokeIpRules smart constructor.
Constructors
| RevokeIpRules' | |
Instances
Arguments
| :: Text | |
| -> RevokeIpRules |
Create a value of RevokeIpRules 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:
RevokeIpRules, revokeIpRules_groupId - The identifier of the group.
RevokeIpRules, revokeIpRules_userRules - The rules to remove from the group.
Request Lenses
revokeIpRules_groupId :: Lens' RevokeIpRules Text Source #
The identifier of the group.
revokeIpRules_userRules :: Lens' RevokeIpRules [Text] Source #
The rules to remove from the group.
Destructuring the Response
data RevokeIpRulesResponse Source #
See: newRevokeIpRulesResponse smart constructor.
Constructors
| RevokeIpRulesResponse' | |
Fields
| |
Instances
newRevokeIpRulesResponse Source #
Create a value of RevokeIpRulesResponse 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:RevokeIpRulesResponse', revokeIpRulesResponse_httpStatus - The response's http status code.
Response Lenses
revokeIpRulesResponse_httpStatus :: Lens' RevokeIpRulesResponse Int Source #
The response's http status code.