![]() |
![]()
| ![]() |
![]()
NAMEPaws::Quicksight::CreateIAMPolicyAssignment - Arguments for method CreateIAMPolicyAssignment on Paws::Quicksight DESCRIPTIONThis 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. SYNOPSISmy $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> ATTRIBUTESREQUIRED AssignmentName => StrThe name of the assignment, also called a rule. It must be unique within an AWS account. REQUIRED AssignmentStatus => StrThe status of the assignment. Possible values are as follows:
Valid values are: "ENABLED", "DRAFT", "DISABLED" REQUIRED AwsAccountId => StrThe ID of the AWS account where you want to assign an IAM policy to QuickSight users or groups. Identities => Paws::Quicksight::IdentityMapThe QuickSight users, groups, or both that you want to assign the policy to. REQUIRED Namespace => StrThe namespace that contains the assignment. PolicyArn => StrThe ARN for the IAM policy to apply to the QuickSight users and groups specified in this assignment. SEE ALSOThis class forms part of Paws, documenting arguments for method CreateIAMPolicyAssignment in Paws::Quicksight BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|