commitment_purchase_analyses
Creates, updates, deletes, gets or lists a commitment_purchase_analyses resource.
Overview
| Name | commitment_purchase_analyses |
| Type | Resource |
| Id | aws.ce.commitment_purchase_analyses |
Fields
The following fields are returned by SELECT queries:
- list_commitment_purchase_analyses
| Name | Datatype | Description |
|---|---|---|
analysis_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>) |
analysis_id | string | The analysis ID that's associated with the commitment purchase analysis. (pattern: <code>^[\S\s]{8}-[\S\s]{4}-[\S\s]{4}-[\S\s]{4}-[\S\s]{12}$</code>) |
analysis_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>) |
analysis_status | string | The status of the analysis. (SUCCEEDED, PROCESSING, FAILED) |
commitment_purchase_analysis_configuration | object | The configuration for the commitment purchase analysis. |
error_code | string | The error code used for the analysis. (NO_USAGE_FOUND, INTERNAL_FAILURE, INVALID_SAVINGS_PLANS_TO_ADD, INVALID_SAVINGS_PLANS_TO_EXCLUDE, INVALID_ACCOUNT_ID) |
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>) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_commitment_purchase_analyses | select | region | Lists the commitment purchase analyses for your account. |
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_commitment_purchase_analyses
Lists the commitment purchase analyses for your account.
SELECT
analysis_completion_time,
analysis_id,
analysis_started_time,
analysis_status,
commitment_purchase_analysis_configuration,
error_code,
estimated_completion_time
FROM aws.ce.commitment_purchase_analyses
WHERE region = '{{ region }}' -- required
;