NAME

Paws::Quicksight::UpdateIAMPolicyAssignment - Arguments for method UpdateIAMPolicyAssignment on Paws::Quicksight

DESCRIPTION

This class represents the parameters used for calling the method UpdateIAMPolicyAssignment on the Amazon QuickSight service. Use the attributes of this class as arguments to method UpdateIAMPolicyAssignment.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateIAMPolicyAssignment.

SYNOPSIS

my $quicksight = Paws->service('Quicksight');
my $UpdateIAMPolicyAssignmentResponse =
  $quicksight->UpdateIAMPolicyAssignment(
  AssignmentName   => 'MyIAMPolicyAssignmentName',
  AwsAccountId     => 'MyAwsAccountId',
  Namespace        => 'MyNamespace',
  AssignmentStatus => 'ENABLED',                     # OPTIONAL
  Identities       => {
    'MyString' => [
      'MyIdentityName', ...                          # min: 1
    ],
  },    # OPTIONAL
  PolicyArn => 'MyArn',    # OPTIONAL
  );

# Results:
my $AssignmentId     = $UpdateIAMPolicyAssignmentResponse->AssignmentId;
my $AssignmentName   = $UpdateIAMPolicyAssignmentResponse->AssignmentName;
my $AssignmentStatus = $UpdateIAMPolicyAssignmentResponse->AssignmentStatus;
my $Identities       = $UpdateIAMPolicyAssignmentResponse->Identities;
my $PolicyArn        = $UpdateIAMPolicyAssignmentResponse->PolicyArn;
my $RequestId        = $UpdateIAMPolicyAssignmentResponse->RequestId;
my $Status           = $UpdateIAMPolicyAssignmentResponse->Status;

# Returns a L<Paws::Quicksight::UpdateIAMPolicyAssignmentResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/quicksight/UpdateIAMPolicyAssignment

ATTRIBUTES

REQUIRED AssignmentName => Str

The name of the assignment, also called a rule. This name must be unique within an AWS account.

AssignmentStatus => Str

The status of the assignment. Possible values are as follows:

  • ENABLED - Anything specified in this assignment is used when creating the data source.

  • DISABLED - This assignment isn't used when creating the data source.

  • DRAFT - This assignment is an unfinished draft and isn't used when creating the data source.

Valid values are: "ENABLED", "DRAFT", "DISABLED"

REQUIRED AwsAccountId => Str

The ID of the AWS account that contains the IAM policy assignment.

Identities => Paws::Quicksight::IdentityMap

The QuickSight users, groups, or both that you want to assign the policy to.

REQUIRED Namespace => Str

The namespace of the assignment.

PolicyArn => Str

The ARN for the IAM policy to apply to the QuickSight users and groups specified in this assignment.

SEE ALSO

This class forms part of Paws, documenting arguments for method UpdateIAMPolicyAssignment in Paws::Quicksight

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues