| 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.Grafana.Types.UpdateInstruction
Description
Documentation
data UpdateInstruction Source #
Contains the instructions for one Grafana role permission update in a UpdatePermissions operation.
See: newUpdateInstruction smart constructor.
Constructors
| UpdateInstruction' | |
Instances
Arguments
| :: 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.