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(InstanceArn, AccountId,
  PermissionSetArn, MaxResults, NextToken)

Arguments

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.

AccountId

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

PermissionSetArn

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

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.

Value

A list with the following syntax:

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

Request syntax

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