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::QuickSight::Types::ResourcePermission

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

Overview

Note:

When making an API call, you may pass ResourcePermission data as a hash:

{
  principal: "Principal", # required
  actions: ["String"], # required
}

Permission for the resource.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#actionsArray<String>

The IAMaction to grant or revoke permissions on.

Returns:

  • (Array<String>)


10524
10525
10526
10527
10528
10529
# File 'gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/types.rb', line 10524

class ResourcePermission < Struct.new(
  :principal,
  :actions)
  SENSITIVE = []
  include Aws::Structure
end

#principalString

The Amazon Resource Name (ARN) of the principal. This can be one of the following:

  • The ARN of an Amazon QuickSight user or group associated with a data source or dataset. (This is common.)

  • The ARN of an Amazon QuickSight user, group, or namespace associated with an analysis, dashboard, template, or theme. (This is common.)

  • The ARN of an Amazon Web Services account root: This is an IAMARN rather than a Amazon QuickSight ARN. Use this option only to share resources (templates) across Amazon Web Services accounts. (This is less common.)

Returns:

  • (String)


10524
10525
10526
10527
10528
10529
# File 'gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/types.rb', line 10524

class ResourcePermission < Struct.new(
  :principal,
  :actions)
  SENSITIVE = []
  include Aws::Structure
end