describe_account_attributes¶
Operation¶
describe_account_attributes
async
¶
describe_account_attributes(request: DescribeAccountAttributesInput | DescribeAccountAttributesInputDict, /, *, plugins: list[Plugin] | None = None) -> DescribeAccountAttributesOutput
describe_account_attributes(*, plugins: list[Plugin] | None = None, **kwargs: Unpack[DescribeAccountAttributesInputDict]) -> DescribeAccountAttributesOutput
Describes attributes of your Amazon Web Services account. The following are the supported account attributes:
-
default-vpc: The ID of the default VPC for your account, ornone. -
max-instances: This attribute is no longer supported. The returned value does not reflect your actual vCPU limit for running On-Demand Instances. For more information, see On-Demand Instance Limits in the Amazon Elastic Compute Cloud User Guide. -
max-elastic-ips: The maximum number of Elastic IP addresses that you can allocate. -
supported-platforms: This attribute is deprecated. -
vpc-max-elastic-ips: The maximum number of Elastic IP addresses that you can allocate. -
vpc-max-security-groups-per-interface: The maximum number of security groups that you can assign to a network interface.
Note
The order of the elements in the response, including those within nested structures, might vary. Applications should not assume the elements appear in a particular order.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
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 |
|---|---|
DescribeAccountAttributesOutput
|
An instance of |
Input¶
Pass the input fields as keyword arguments, or pass a model or dictionary as the first positional argument. Pass plugins separately as a keyword argument.
Model¶
DescribeAccountAttributesInput
dataclass
¶
Bases: _SerdeShape
Dataclass for DescribeAccountAttributesInput structure.
Attributes¶
attribute_names
class-attribute
instance-attribute
¶
The account attribute names.
dry_run
class-attribute
instance-attribute
¶
dry_run: bool | None = ...
Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation.
Otherwise, it is UnauthorizedOperation.
Dictionaries¶
DescribeAccountAttributesInputDict
¶
Bases: TypedDict
Dictionary form of DescribeAccountAttributesInput.
Attributes¶
attribute_names
instance-attribute
¶
The account attribute names.
dry_run
instance-attribute
¶
dry_run: bool | None
Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation.
Otherwise, it is UnauthorizedOperation.
Output¶
DescribeAccountAttributesOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for DescribeAccountAttributesOutput structure.
Attributes¶
account_attributes
class-attribute
instance-attribute
¶
account_attributes: list[AccountAttribute] | None = ...
Information about the account attributes.
response_metadata
class-attribute
instance-attribute
¶
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.