Skip to content

update_account

Operation

update_account

update_account(request: UpdateAccountInput | UpdateAccountInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[UpdateAccountInputDict]) -> UpdateAccountOutput

Changes information about the current Account resource.

Parameters:

Name Type Description Default
request UpdateAccountInput | UpdateAccountInputDict | 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[UpdateAccountInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
UpdateAccountOutput

An instance of UpdateAccountOutput.

update_account async

update_account(request: UpdateAccountInput | UpdateAccountInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[UpdateAccountInputDict]) -> UpdateAccountOutput

Changes information about the current Account resource.

Parameters:

Name Type Description Default
request UpdateAccountInput | UpdateAccountInputDict | 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[UpdateAccountInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
UpdateAccountOutput

An instance of UpdateAccountOutput.

Input

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

UpdateAccountInputDict

Bases: TypedDict

Dictionary form of UpdateAccountInput.

Attributes

patch_operations instance-attribute
patch_operations: Sequence[PatchOperation | PatchOperationDict] | None

For more information about supported patch operations, see Patch Operations.

UpdateAccountInput dataclass

Bases: _SerdeShape

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

Attributes

patch_operations class-attribute instance-attribute
patch_operations: list[PatchOperation] | None = ...

For more information about supported patch operations, see Patch Operations.

Output

UpdateAccountOutput 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.