Skip to main content

savings_plans_purchase_recommendation_generations

Creates, updates, deletes, gets or lists a savings_plans_purchase_recommendation_generations resource.

Overview

Namesavings_plans_purchase_recommendation_generations
TypeResource
Idaws.ce.savings_plans_purchase_recommendation_generations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
estimated_completion_timestringThe 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_timestringThe 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_timestringThe 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_statusstringIndicates whether the recommendation generation succeeded, is processing, or failed. (SUCCEEDED, PROCESSING, FAILED)
recommendation_idstringIndicates 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:

NameAccessible byRequired ParamsOptional ParamsDescription
list_savings_plans_purchase_recommendation_generationselectregionRetrieves 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.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

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
;