Skip to content

get_invitations_count

Operation

get_invitations_count

get_invitations_count(request: GetInvitationsCountInput | GetInvitationsCountInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[GetInvitationsCountInputDict]) -> GetInvitationsCountOutput

Returns the count of all GuardDuty membership invitations that were sent to the current member account except the currently accepted invitation.

Parameters:

Name Type Description Default
request GetInvitationsCountInput | GetInvitationsCountInputDict | 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[GetInvitationsCountInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
GetInvitationsCountOutput

An instance of GetInvitationsCountOutput.

get_invitations_count async

get_invitations_count(request: GetInvitationsCountInput | GetInvitationsCountInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[GetInvitationsCountInputDict]) -> GetInvitationsCountOutput

Returns the count of all GuardDuty membership invitations that were sent to the current member account except the currently accepted invitation.

Parameters:

Name Type Description Default
request GetInvitationsCountInput | GetInvitationsCountInputDict | 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[GetInvitationsCountInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
GetInvitationsCountOutput

An instance of GetInvitationsCountOutput.

Input

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

GetInvitationsCountInputDict

Bases: TypedDict

Dictionary form of GetInvitationsCountInput.

GetInvitationsCountInput dataclass

Bases: _SerdeShape

Dataclass for GetInvitationsCountInput structure.

Output

GetInvitationsCountOutput dataclass

Bases: _SerdeShape

Dataclass for GetInvitationsCountOutput structure.

Attributes

invitations_count class-attribute instance-attribute
invitations_count: int | None = ...

The number of received invitations.

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.