Skip to content

List Account Assignments

ssoadmin_list_account_assignments R Documentation

Lists the assignee of the specified Amazon Web Services account with the specified permission set

Description

Lists the assignee of the specified Amazon Web Services account with the specified permission set.

Usage

ssoadmin_list_account_assignments(AccountId, InstanceArn, MaxResults,
  NextToken, PermissionSetArn)

Arguments

AccountId

[required] The identifier of the Amazon Web Services account from which to list the assignments.

InstanceArn

[required] The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.

MaxResults

The maximum number of results to display for the assignment.

NextToken

The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.

PermissionSetArn

[required] The ARN of the permission set from which to list assignments.

Value

A list with the following syntax:

list(
  AccountAssignments = list(
    list(
      AccountId = "string",
      PermissionSetArn = "string",
      PrincipalId = "string",
      PrincipalType = "USER"|"GROUP"
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_account_assignments(
  AccountId = "string",
  InstanceArn = "string",
  MaxResults = 123,
  NextToken = "string",
  PermissionSetArn = "string"
)