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¶
sso_list_accounts(nextToken, maxResults, accessToken)
Arguments¶
nextToken |
(Optional) When requesting subsequent pages, this is the page token from the previous response output. |
maxResults |
This is the number of items clients can request per page. |
accessToken |
[required] The token issued by the |
Value¶
A list with the following syntax:
list(
nextToken = "string",
accountList = list(
list(
accountId = "string",
accountName = "string",
emailAddress = "string"
)
)
)
Request syntax¶
svc$list_accounts(
nextToken = "string",
maxResults = 123,
accessToken = "string"
)