Skip to content

Guardduty  >  Operations  >  decline_invitations

decline_invitations

Operation

decline_invitations async

decline_invitations(input: DeclineInvitationsInput, plugins: list[Plugin] | None = None) -> DeclineInvitationsOutput

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

Parameters:

Name Type Description Default
input DeclineInvitationsInput

An instance of DeclineInvitationsInput.

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
DeclineInvitationsOutput

An instance of DeclineInvitationsOutput.

Input

DeclineInvitationsInput dataclass

Dataclass for DeclineInvitationsInput 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 decline invitations from.

Output

DeclineInvitationsOutput dataclass

Dataclass for DeclineInvitationsOutput 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.