aws ec2 get-capacity-manager-metric-data
Retrieves capacity usage metrics for your EC2 resources. AWS CLI reference
9 options Its page in the AWS CLI reference
Options
--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.--end-timeThe end time for the metric data query, in ISO 8601 format.--filter-byConditions to filter the metric data.--group-byThe dimensions by which to group the metric data.--max-resultsThe maximum number of data points to return.--metric-namesThe names of the metrics to retrieve.--next-tokenThe token for the next page of results.--periodThe granularity, in seconds, of the returned data points.--start-timeThe start time for the metric data query, in ISO 8601 format.