Class: Aws::QuickSight::Types::PutAssignmentEntry

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

Overview

A principal to assign a policy to in a BatchPutPolicyAssignmentByPolicy request.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#existing_policy_arn ⇒ String

The ARN of the policy that you expect the principal to have before this request. If the principal has a different policy of the same type, or no policy of that type, this entry fails with a ConflictException error code and makes no change.

Returns:

  • (String)


40854
40855
40856
40857
40858
40859
40860
# File 'gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/types.rb', line 40854

class PutAssignmentEntry < Struct.new(
  :principal_arn,
  :existing_policy_arn,
  :revision)
  SENSITIVE = []
  include Aws::Structure
end

#principal_arn ⇒ String

The ARN of the user, group, or account to assign the policy to.

Returns:

  • (String)


40854
40855
40856
40857
40858
40859
40860
# File 'gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/types.rb', line 40854

class PutAssignmentEntry < Struct.new(
  :principal_arn,
  :existing_policy_arn,
  :revision)
  SENSITIVE = []
  include Aws::Structure
end

#revision ⇒ Integer

The revision of the assignment from your most recent read. If the assignment has changed since that revision, this entry fails with a ConflictException error code.

Returns:

  • (Integer)


40854
40855
40856
40857
40858
40859
40860
# File 'gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/types.rb', line 40854

class PutAssignmentEntry < Struct.new(
  :principal_arn,
  :existing_policy_arn,
  :revision)
  SENSITIVE = []
  include Aws::Structure
end