Assurance / Client / delete_invitation
delete_invitation¶
- Assurance.Client.delete_invitation(**kwargs)¶
Deletes an invitation or unlinks a connected account for an environment. Call this operation from the environment owner account. This operation is idempotent—deleting an already-removed invitation or connection has no effect.
Withdraws a pending invitation or removes an active connection, in any state. After you remove the connection, AWS Assurance no longer evaluates that account.
See also: AWS API Documentation
Request Syntax
response = client.delete_invitation( environmentArn='string', inviteeAccountId='string' )
- Parameters:
environmentArn (string) –
[REQUIRED]
The ARN of this governance environment.
inviteeAccountId (string) –
[REQUIRED]
The invited or connected account whose invitation or connection to delete.
- Return type:
dict
- Returns:
Response Syntax
{}Response Structure
(dict) –
Exceptions