AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Class: Aws::ManagedGrafana::Types::UpdateInstruction

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-managedgrafana/lib/aws-sdk-managedgrafana/types.rb

Overview

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
    },
  ],
}

Contains the instructions for one Grafana role permission update in a UpdatePermissions operation.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#actionString

Specifies whether this update is to add or revoke role permissions.

Returns:

  • (String)


967
968
969
970
971
972
973
# File 'gems/aws-sdk-managedgrafana/lib/aws-sdk-managedgrafana/types.rb', line 967

class UpdateInstruction < Struct.new(
  :action,
  :role,
  :users)
  SENSITIVE = []
  include Aws::Structure
end

#roleString

The role to add or revoke for the user or the group specified in users.

Returns:

  • (String)


967
968
969
970
971
972
973
# File 'gems/aws-sdk-managedgrafana/lib/aws-sdk-managedgrafana/types.rb', line 967

class UpdateInstruction < Struct.new(
  :action,
  :role,
  :users)
  SENSITIVE = []
  include Aws::Structure
end

#usersArray<Types::User>

A structure that specifies the user or group to add or revoke the role for.

Returns:



967
968
969
970
971
972
973
# File 'gems/aws-sdk-managedgrafana/lib/aws-sdk-managedgrafana/types.rb', line 967

class UpdateInstruction < Struct.new(
  :action,
  :role,
  :users)
  SENSITIVE = []
  include Aws::Structure
end