Skip to content

Guardduty  >  Operations  >  delete_invitations

delete_invitations

Operation

delete_invitations async

delete_invitations(input: DeleteInvitationsInput, plugins: list[Plugin] | None = None) -> DeleteInvitationsOutput

Deletes invitations sent to the current member account by Amazon Web Services accounts specified by their account IDs.

Parameters:

Name Type Description Default
input DeleteInvitationsInput

An instance of DeleteInvitationsInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
DeleteInvitationsOutput

An instance of DeleteInvitationsOutput.

Input

DeleteInvitationsInput dataclass

Dataclass for DeleteInvitationsInput structure.

Attributes

account_ids class-attribute instance-attribute
account_ids: list[str] | None = None

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.

Output

DeleteInvitationsOutput dataclass

Dataclass for DeleteInvitationsOutput structure.

Attributes

unprocessed_accounts class-attribute instance-attribute
unprocessed_accounts: list[UnprocessedAccount] | None = None

A list of objects that contain the unprocessed account and a result string that explains why it was unprocessed.