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 |
Documentation
data UpdateInstruction Source #
Contains the instructions for one Grafana role permission update in a UpdatePermissions operation.
See: newUpdateInstruction
smart constructor.
Instances
:: UpdateAction | |
-> Role | |
-> UpdateInstruction |
Create a value of UpdateInstruction
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:action:UpdateInstruction'
, updateInstruction_action
- Specifies whether this update is to add or revoke role permissions.
$sel:role':UpdateInstruction'
, updateInstruction_role
- The role to add or revoke for the user or the group specified in
users
.
$sel:users:UpdateInstruction'
, updateInstruction_users
- A structure that specifies the user or group to add or revoke the role
for.
updateInstruction_action :: Lens' UpdateInstruction UpdateAction Source #
Specifies whether this update is to add or revoke role permissions.
updateInstruction_role :: Lens' UpdateInstruction Role Source #
The role to add or revoke for the user or the group specified in
users
.
updateInstruction_users :: Lens' UpdateInstruction [User] Source #
A structure that specifies the user or group to add or revoke the role for.