delete_invitations
(**kwargs)¶Deletes invitations sent to the current member account by Amazon Web Services accounts specified by their account IDs.
See also: AWS API Documentation
Request Syntax
response = client.delete_invitations(
AccountIds=[
'string',
]
)
[REQUIRED]
A list of account IDs of the Amazon Web Services accounts that sent invitations to the current member account that you want to delete invitations from.
{
'UnprocessedAccounts': [
{
'AccountId': 'string',
'Result': 'string'
},
]
}
Response Structure
A list of objects that contain the unprocessed account and a result string that explains why it was unprocessed.
Contains information about the accounts that weren't processed.
The Amazon Web Services account ID.
A reason why the account hasn't been processed.
Exceptions
GuardDuty.Client.exceptions.BadRequestException
GuardDuty.Client.exceptions.InternalServerErrorException