Skip to content

Api Gateway  >  Operations  >  get_account

get_account

Operation

get_account async

get_account(input: GetAccountInput, plugins: list[Plugin] | None = None) -> GetAccountOutput

Gets information about the current Account resource.

Parameters:

Name Type Description Default
input GetAccountInput

An instance of GetAccountInput.

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
GetAccountOutput

An instance of GetAccountOutput.

Input

GetAccountInput dataclass

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

Output

GetAccountOutput dataclass

Represents an AWS account that is associated with API Gateway.

Attributes

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

The version of the API keys used for the account.

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

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

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

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

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

Specifies the API request limits configured for the current Account.