Skip to content

decline_invitations

Operation

decline_invitations

decline_invitations(request: DeclineInvitationsInput | DeclineInvitationsInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[DeclineInvitationsInputDict]) -> DeclineInvitationsOutput

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

Parameters:

Name Type Description Default
request DeclineInvitationsInput | DeclineInvitationsInputDict | 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[DeclineInvitationsInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
DeclineInvitationsOutput

An instance of DeclineInvitationsOutput.

decline_invitations async

decline_invitations(request: DeclineInvitationsInput | DeclineInvitationsInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[DeclineInvitationsInputDict]) -> DeclineInvitationsOutput

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

Parameters:

Name Type Description Default
request DeclineInvitationsInput | DeclineInvitationsInputDict | 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[DeclineInvitationsInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
DeclineInvitationsOutput

An instance of DeclineInvitationsOutput.

Input

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

DeclineInvitationsInputDict

Bases: TypedDict

Dictionary form of DeclineInvitationsInput.

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

DeclineInvitationsInput dataclass

Bases: _SerdeShape

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

Output

DeclineInvitationsOutput dataclass

Bases: _SerdeShape

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