Skip to content

delete_invitations

Operation

delete_invitations

delete_invitations(request: DeleteInvitationsInput | DeleteInvitationsInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[DeleteInvitationsInputDict]) -> DeleteInvitationsOutput

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

Parameters:

Name Type Description Default
request DeleteInvitationsInput | DeleteInvitationsInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
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
**kwargs Unpack[DeleteInvitationsInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
DeleteInvitationsOutput

An instance of DeleteInvitationsOutput.

delete_invitations async

delete_invitations(request: DeleteInvitationsInput | DeleteInvitationsInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[DeleteInvitationsInputDict]) -> DeleteInvitationsOutput

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

Parameters:

Name Type Description Default
request DeleteInvitationsInput | DeleteInvitationsInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
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
**kwargs Unpack[DeleteInvitationsInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
DeleteInvitationsOutput

An instance of DeleteInvitationsOutput.

Input

Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.

DeleteInvitationsInputDict

Bases: TypedDict

Dictionary form of DeleteInvitationsInput.

Attributes

account_ids instance-attribute
account_ids: Required[Sequence[str]]

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.

DeleteInvitationsInput dataclass

Bases: _SerdeShape

Dataclass for DeleteInvitationsInput structure.

Attributes

account_ids class-attribute instance-attribute
account_ids: list[str] | 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

Bases: _SerdeShape

Dataclass for DeleteInvitationsOutput structure.

Attributes

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.

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

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