| 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.MemoryDb.UpdateACL
Description
Changes the list of users that belong to the Access Control List.
Synopsis
- data UpdateACL = UpdateACL' {
- userNamesToAdd :: Maybe (NonEmpty Text)
- userNamesToRemove :: Maybe (NonEmpty Text)
- aCLName :: Text
- newUpdateACL :: Text -> UpdateACL
- updateACL_userNamesToAdd :: Lens' UpdateACL (Maybe (NonEmpty Text))
- updateACL_userNamesToRemove :: Lens' UpdateACL (Maybe (NonEmpty Text))
- updateACL_aCLName :: Lens' UpdateACL Text
- data UpdateACLResponse = UpdateACLResponse' {
- acl :: Maybe ACL
- httpStatus :: Int
- newUpdateACLResponse :: Int -> UpdateACLResponse
- updateACLResponse_acl :: Lens' UpdateACLResponse (Maybe ACL)
- updateACLResponse_httpStatus :: Lens' UpdateACLResponse Int
Creating a Request
See: newUpdateACL smart constructor.
Constructors
| UpdateACL' | |
Fields
| |
Instances
Create a value of UpdateACL 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:
UpdateACL, updateACL_userNamesToAdd - The list of users to add to the Access Control List
UpdateACL, updateACL_userNamesToRemove - The list of users to remove from the Access Control List
UpdateACL, updateACL_aCLName - The name of the Access Control List
Request Lenses
updateACL_userNamesToAdd :: Lens' UpdateACL (Maybe (NonEmpty Text)) Source #
The list of users to add to the Access Control List
updateACL_userNamesToRemove :: Lens' UpdateACL (Maybe (NonEmpty Text)) Source #
The list of users to remove from the Access Control List
Destructuring the Response
data UpdateACLResponse Source #
See: newUpdateACLResponse smart constructor.
Constructors
| UpdateACLResponse' | |
Fields
| |
Instances
Arguments
| :: Int | |
| -> UpdateACLResponse |
Create a value of UpdateACLResponse 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:acl:UpdateACLResponse', updateACLResponse_acl - The updated Access Control List
$sel:httpStatus:UpdateACLResponse', updateACLResponse_httpStatus - The response's http status code.
Response Lenses
updateACLResponse_acl :: Lens' UpdateACLResponse (Maybe ACL) Source #
The updated Access Control List
updateACLResponse_httpStatus :: Lens' UpdateACLResponse Int Source #
The response's http status code.