Skip to content

Lists all of the IAM policy assignments, including the Amazon Resource Names (ARNs), for the IAM policies assigned to the specified user and group, or groups that the user belongs to

Description

Lists all of the IAM policy assignments, including the Amazon Resource Names (ARNs), for the IAM policies assigned to the specified user and group, or groups that the user belongs to.

Usage

quicksight_list_iam_policy_assignments_for_user(AwsAccountId, UserName,
  NextToken, MaxResults, Namespace)

Arguments

  • AwsAccountId

    [required] The ID of the Amazon Web Services account that contains the assignments.

  • UserName

    [required] The name of the user.

  • NextToken

    The token for the next set of results, or null if there are no more results.

  • MaxResults

    The maximum number of results to be returned per request.

  • Namespace

    [required] The namespace of the assignment.

Value

A list with the following syntax:

list(
  ActiveAssignments = list(
    list(
      AssignmentName = "string",
      PolicyArn = "string"
    )
  ),
  RequestId = "string",
  NextToken = "string",
  Status = 123
)

Request syntax

svc$list_iam_policy_assignments_for_user(
  AwsAccountId = "string",
  UserName = "string",
  NextToken = "string",
  MaxResults = 123,
  Namespace = "string"
)