list_account_links
async
¶
list_account_links(
*,
config_overrides: Optional[AsyncWorkSpacesClientConfig] = None,
link_status_filter: Optional[LinkStatusFilterList] = None,
next_token: Optional[PaginationToken] = None,
max_results: Optional[Limit] = None,
) -> ListAccountLinksResult
Lists all account links.
Parameters:
-
link_status_filter(Optional[LinkStatusFilterList], default:None) –Filters the account based on their link status.
-
next_token(Optional[PaginationToken], default:None) –The token to use to retrieve the next page of results. This value is null when there are no more results to return.
-
max_results(Optional[Limit], default:None) –The maximum number of accounts to return.
Raises:
-
AccessDeniedException–The user is not authorized to access a resource.
-
InternalServerException–Unexpected server error occured.
-
ValidationException–You either haven't provided a
TargetAccountIdor are using the same value forTargetAccountIdandSourceAccountId. -
UnknownServiceError–The service returned an error code this client does not model.