List Accounts
| sso_list_accounts | R Documentation |
Lists all AWS accounts assigned to the user¶
Description¶
Lists all AWS accounts assigned to the user. These AWS accounts are assigned by the administrator of the account. For more information, see Assign User Access in the IAM Identity Center User Guide. This operation returns a paginated response.
Usage¶
Arguments¶
nextToken(Optional) When requesting subsequent pages, this is the page token from the previous response output.
maxResultsThis is the number of items clients can request per page.
accessToken[required] The token issued by the
CreateTokenAPI call. For more information, see CreateToken in the IAM Identity Center OIDC API Reference Guide.
Value¶
A list with the following syntax:
list(
nextToken = "string",
accountList = list(
list(
accountId = "string",
accountName = "string",
emailAddress = "string"
)
)
)