NAME
Paws::Quicksight::CreateIAMPolicyAssignment - Arguments for method CreateIAMPolicyAssignment on Paws::Quicksight
DESCRIPTION
This class represents the parameters used for calling the method CreateIAMPolicyAssignment on the Amazon QuickSight service. Use the attributes of this class as arguments to method CreateIAMPolicyAssignment.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateIAMPolicyAssignment.
SYNOPSIS
my $quicksight = Paws->service('Quicksight');
my $CreateIAMPolicyAssignmentResponse =
$quicksight->CreateIAMPolicyAssignment(
AssignmentName => 'MyIAMPolicyAssignmentName',
AssignmentStatus => 'ENABLED',
AwsAccountId => 'MyAwsAccountId',
Namespace => 'MyNamespace',
Identities => {
'MyString' => [
'MyIdentityName', ... # min: 1
],
}, # OPTIONAL
PolicyArn => 'MyArn', # OPTIONAL
);
# Results:
my $AssignmentId = $CreateIAMPolicyAssignmentResponse->AssignmentId;
my $AssignmentName = $CreateIAMPolicyAssignmentResponse->AssignmentName;
my $AssignmentStatus = $CreateIAMPolicyAssignmentResponse->AssignmentStatus;
my $Identities = $CreateIAMPolicyAssignmentResponse->Identities;
my $PolicyArn = $CreateIAMPolicyAssignmentResponse->PolicyArn;
my $RequestId = $CreateIAMPolicyAssignmentResponse->RequestId;
my $Status = $CreateIAMPolicyAssignmentResponse->Status;
# Returns a L<Paws::Quicksight::CreateIAMPolicyAssignmentResponse> 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/CreateIAMPolicyAssignment
ATTRIBUTES
REQUIRED AssignmentName => Str
The name of the assignment, also called a rule. It must be unique within an AWS account.
REQUIRED 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 where you want to assign an IAM policy to QuickSight users or groups.
Identities => Paws::Quicksight::IdentityMap
The QuickSight users, groups, or both that you want to assign the policy to.
REQUIRED Namespace => Str
The namespace that contains 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 CreateIAMPolicyAssignment 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