Skip to content

EC2  >  Operations  >  get_capacity_manager_attributes

get_capacity_manager_attributes

Operation

get_capacity_manager_attributes async

get_capacity_manager_attributes(input: GetCapacityManagerAttributesInput, plugins: list[Plugin] | None = None) -> GetCapacityManagerAttributesOutput

Retrieves the current configuration and status of EC2 Capacity Manager for your account, including enablement status, Organizations access settings, and data ingestion status.

Parameters:

Name Type Description Default
input GetCapacityManagerAttributesInput

An instance of GetCapacityManagerAttributesInput.

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
GetCapacityManagerAttributesOutput

An instance of GetCapacityManagerAttributesOutput.

Input

GetCapacityManagerAttributesInput dataclass

Bases: _SerdeShape

Dataclass for GetCapacityManagerAttributesInput structure.

Attributes

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.

Output

GetCapacityManagerAttributesOutput dataclass

Bases: _SerdeShape

Dataclass for GetCapacityManagerAttributesOutput structure.

Attributes

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

The current status of Capacity Manager.

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

The number of active data export configurations for this account. This count includes all data exports regardless of their current delivery status.

earliest_datapoint_timestamp class-attribute instance-attribute
earliest_datapoint_timestamp: datetime | None = ...

The timestamp of the earliest data point available in Capacity Manager, in milliseconds since epoch. This indicates how far back historical data is available for queries.

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

The current data ingestion status. Initial ingestion may take several hours after enabling Capacity Manager.

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

A descriptive message providing additional details about the current ingestion status. This may include error information if ingestion has failed or progress details during initial setup.

latest_datapoint_timestamp class-attribute instance-attribute
latest_datapoint_timestamp: datetime | None = ...

The timestamp of the most recent data point ingested by Capacity Manager, in milliseconds since epoch. This indicates how current your capacity data is.

organizations_access class-attribute instance-attribute
organizations_access: bool | None = ...

Indicates whether Organizations access is enabled for cross-account data aggregation.

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.