consultar_costes_aws
Retrieve AWS cost and usage data with consent approval. Define filters by service, region, or resource, then approve to execute a single Cost Explorer query.
Instructions
Prepare or execute one exact, potentially billable Cost Explorer query.
The first call performs no AWS operation. It returns an expiring,
single-use request that states the exact period, filters, operation,
maximum request count, and estimated API charge. Calling again with the
request id and ``consent_action="approve"`` executes at most one
GetCostAndUsage page. A continuation page always needs a new consent.
``cancel`` performs no AWS call. Approval never authorizes another
operation, period, filter, identity, forecast, or resource-level query.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| regions | No | ||
| end_date | No | ||
| services | No | ||
| max_pages | No | ||
| start_date | No | ||
| granularity | No | MONTHLY | |
| resource_ids | No | ||
| consent_action | No | ||
| group_by_service | No | ||
| include_forecast | No | ||
| consent_request_id | No | ||
| include_resource_level | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||