savings_plans_purchase_recommendation_generations
Creates, updates, deletes, gets or lists a savings_plans_purchase_recommendation_generations resource.
Overview
| Name | savings_plans_purchase_recommendation_generations |
| Type | Resource |
| Id | aws.ce.savings_plans_purchase_recommendation_generations |
Fields
The following fields are returned by SELECT queries:
- list_savings_plans_purchase_recommendation_generation
| Name | Datatype | Description |
|---|---|---|
estimated_completion_time | string | The period of time that you want the usage and costs for. (pattern: <code>^\d{4}-\d\d-\d\dT\d\d:\d\d:\d\d(([+-]\d\d:\d\d)|Z)$</code>) |
generation_completion_time | string | The period of time that you want the usage and costs for. (pattern: <code>^\d{4}-\d\d-\d\dT\d\d:\d\d:\d\d(([+-]\d\d:\d\d)|Z)$</code>) |
generation_started_time | string | The period of time that you want the usage and costs for. (pattern: <code>^\d{4}-\d\d-\d\dT\d\d:\d\d:\d\d(([+-]\d\d:\d\d)|Z)$</code>) |
generation_status | string | Indicates whether the recommendation generation succeeded, is processing, or failed. (SUCCEEDED, PROCESSING, FAILED) |
recommendation_id | string | Indicates the ID for this specific recommendation. (pattern: <code>^[\S\s]{8}-[\S\s]{4}-[\S\s]{4}-[\S\s]{4}-[\S\s]{12}$</code>) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_savings_plans_purchase_recommendation_generation | select | region | Retrieves a list of your historical recommendation generations within the past 30 days. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- list_savings_plans_purchase_recommendation_generation
Retrieves a list of your historical recommendation generations within the past 30 days.
SELECT
estimated_completion_time,
generation_completion_time,
generation_started_time,
generation_status,
recommendation_id
FROM aws.ce.savings_plans_purchase_recommendation_generations
WHERE region = '{{ region }}' -- required
;