class Aws::ManagedGrafana::Types::UpdateInstruction

Contains the instructions for one Grafana role permission update in a

UpdatePermissions][1

operation.

[1]: docs.aws.amazon.com/grafana/latest/APIReference/API_UpdatePermissions.html

@note When making an API call, you may pass UpdateInstruction

data as a hash:

    {
      action: "ADD", # required, accepts ADD, REVOKE
      role: "ADMIN", # required, accepts ADMIN, EDITOR
      users: [ # required
        {
          id: "SsoId", # required
          type: "SSO_USER", # required, accepts SSO_USER, SSO_GROUP
        },
      ],
    }

@!attribute [rw] action

Specifies whether this update is to add or revoke role permissions.
@return [String]

@!attribute [rw] role

The role to add or revoke for the user or the group specified in
`users`.
@return [String]

@!attribute [rw] users

A structure that specifies the user or group to add or revoke the
role for.
@return [Array<Types::User>]

@see docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/UpdateInstruction AWS API Documentation

Constants

SENSITIVE