recommendation_export_jobs
Creates, updates, deletes, gets or lists a recommendation_export_jobs resource.
Overview
| Name | recommendation_export_jobs |
| Type | Resource |
| Id | aws.compute_optimizer.recommendation_export_jobs |
Fields
The following fields are returned by SELECT queries:
- describe_recommendation_export_jobs
| Name | Datatype | Description |
|---|---|---|
creation_timestamp | string (date-time) | The timestamp of when the export job was created. |
destination | object | An object that describes the destination of the export file. |
failure_reason | string | The reason for an export job failure. |
job_id | string | The identification number of the export job. |
last_updated_timestamp | string (date-time) | The timestamp of when the export job was last updated. |
resource_type | string | The resource type of the exported recommendations. (Ec2Instance, AutoScalingGroup, EbsVolume, LambdaFunction, NotApplicable, EcsService, License, RdsDBInstance, AuroraDBClusterStorage, Idle) |
status | string | The status of the export job. (Queued, InProgress, Complete, Failed) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
describe_recommendation_export_jobs | select | region | Describes recommendation export jobs created in the last seven days. Use the ExportAutoScalingGroupRecommendations or ExportEC2InstanceRecommendations actions to request an export of your recommendations. Then use the DescribeRecommendationExportJobs action to view your export jobs. |
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
- describe_recommendation_export_jobs
Describes recommendation export jobs created in the last seven days. Use the ExportAutoScalingGroupRecommendations or ExportEC2InstanceRecommendations actions to request an export of your recommendations. Then use the DescribeRecommendationExportJobs action to view your export jobs.
SELECT
creation_timestamp,
destination,
failure_reason,
job_id,
last_updated_timestamp,
resource_type,
status
FROM aws.compute_optimizer.recommendation_export_jobs
WHERE region = '{{ region }}' -- required
;