Class: Aws::QuickSight::Types::PutPolicyAssignmentRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#account_id ⇒ String

The ID of the Amazon Web Services account that contains the policy and the principal.

Returns:

  • (String)


40931
40932
40933
40934
40935
40936
40937
40938
40939
# File 'gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/types.rb', line 40931

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

#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, the request fails with a ConflictException and makes no change. If you don't specify a value, the operation doesn't check the existing assignment.

Returns:

  • (String)


40931
40932
40933
40934
40935
40936
40937
40938
40939
# File 'gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/types.rb', line 40931

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

#policy_arn ⇒ String

The Amazon Resource Name (ARN) of the policy to assign.

Returns:

  • (String)


40931
40932
40933
40934
40935
40936
40937
40938
40939
# File 'gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/types.rb', line 40931

class PutPolicyAssignmentRequest < Struct.new(
  :account_id,
  :policy_arn,
  :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)


40931
40932
40933
40934
40935
40936
40937
40938
40939
# File 'gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/types.rb', line 40931

class PutPolicyAssignmentRequest < Struct.new(
  :account_id,
  :policy_arn,
  :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, the request fails with a ConflictException. If you don't specify a value, the operation doesn't check the revision.

Returns:

  • (Integer)


40931
40932
40933
40934
40935
40936
40937
40938
40939
# File 'gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/types.rb', line 40931

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