Skip to content

List Account Links

workspaces_list_account_links R Documentation

Description

Lists all account links.

Usage

workspaces_list_account_links(LinkStatusFilter, NextToken, MaxResults)

Arguments

LinkStatusFilter

Filters the account based on their link status.

NextToken

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

MaxResults

The maximum number of accounts to return.

Value

A list with the following syntax:

list(
  AccountLinks = list(
    list(
      AccountLinkId = "string",
      AccountLinkStatus = "LINKED"|"LINKING_FAILED"|"LINK_NOT_FOUND"|"PENDING_ACCEPTANCE_BY_TARGET_ACCOUNT"|"REJECTED",
      SourceAccountId = "string",
      TargetAccountId = "string"
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_account_links(
  LinkStatusFilter = list(
    "LINKED"|"LINKING_FAILED"|"LINK_NOT_FOUND"|"PENDING_ACCEPTANCE_BY_TARGET_ACCOUNT"|"REJECTED"
  ),
  NextToken = "string",
  MaxResults = 123
)