WorkSpaces / Client / reject_account_link_invitation
reject_account_link_invitation#
- WorkSpaces.Client.reject_account_link_invitation(**kwargs)#
Rejects the account link invitation.
See also: AWS API Documentation
Request Syntax
response = client.reject_account_link_invitation( LinkId='string', ClientToken='string' )
- Parameters:
LinkId (string) –
[REQUIRED]
The identifier of the account link
ClientToken (string) – The client token of the account link invitation to reject.
- 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) –
Information about the account link.
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
WorkSpaces.Client.exceptions.AccessDeniedException
WorkSpaces.Client.exceptions.ValidationException
WorkSpaces.Client.exceptions.ResourceNotFoundException
WorkSpaces.Client.exceptions.ConflictException
WorkSpaces.Client.exceptions.InternalServerException