Skip to content

get_account

Operation

get_account

get_account(request: GetAccountInput | GetAccountInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[GetAccountInputDict]) -> GetAccountOutput

Gets information about the current Account resource.

Parameters:

Name Type Description Default
request GetAccountInput | GetAccountInputDict | 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[GetAccountInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
GetAccountOutput

An instance of GetAccountOutput.

get_account async

get_account(request: GetAccountInput | GetAccountInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[GetAccountInputDict]) -> GetAccountOutput

Gets information about the current Account resource.

Parameters:

Name Type Description Default
request GetAccountInput | GetAccountInputDict | 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[GetAccountInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
GetAccountOutput

An instance of GetAccountOutput.

Input

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

GetAccountInputDict

Bases: TypedDict

Dictionary form of GetAccountInput.

GetAccountInput dataclass

Bases: _SerdeShape

Requests API Gateway to get information about the current Account resource.

Output

GetAccountOutput dataclass

Bases: _SerdeShape

Represents an AWS account that is associated with API Gateway.

Attributes

api_key_version class-attribute instance-attribute
api_key_version: str | None = ...

The version of the API keys used for the account.

cloudwatch_role_arn class-attribute instance-attribute
cloudwatch_role_arn: str | None = ...

The ARN of an Amazon CloudWatch role for the current Account.

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

A list of features supported for the account. When usage plans are enabled, the features list will include an entry of "UsagePlans".

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.

throttle_settings class-attribute instance-attribute
throttle_settings: ThrottleSettings | None = ...

Specifies the API request limits configured for the current Account.