WorkSpaces / Client / get_account_link
get_account_link#
- WorkSpaces.Client.get_account_link(**kwargs)#
Retrieves account link information.
See also: AWS API Documentation
Request Syntax
response = client.get_account_link( LinkId='string', LinkedAccountId='string' )
- Parameters:
LinkId (string) – The identifier of the account to link.
LinkedAccountId (string) – The identifier of the account link
- Return type:
dict
- Returns:
Response Syntax
{ 'AccountLink': { 'AccountLinkId': 'string', 'AccountLinkStatus': 'LINKED'|'LINKING_FAILED'|'LINK_NOT_FOUND'|'PENDING_ACCEPTANCE_BY_TARGET_ACCOUNT'|'REJECTED', 'SourceAccountId': 'string', 'TargetAccountId': 'string' } }
Response Structure
(dict) –
AccountLink (dict) –
The account link of the account link to retrieve.
AccountLinkId (string) –
The identifier of the account link.
AccountLinkStatus (string) –
The status of the account link.
SourceAccountId (string) –
The identifier of the source account.
TargetAccountId (string) –
The identifier of the target account.
Exceptions