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 |
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.
UpdateACL' | |
|
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:
$sel:userNamesToAdd:UpdateACL'
, updateACL_userNamesToAdd
- The list of users to add to the Access Control List
$sel:userNamesToRemove:UpdateACL'
, updateACL_userNamesToRemove
- The list of users to remove from the Access Control List
$sel:aCLName: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.
UpdateACLResponse' | |
|
Instances
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.