Skip to main content

recommendation_export_jobs

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

Overview

Namerecommendation_export_jobs
TypeResource
Idaws.compute_optimizer.recommendation_export_jobs

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
creation_timestampstring (date-time)The timestamp of when the export job was created.
destinationobjectAn object that describes the destination of the export file.
failure_reasonstringThe reason for an export job failure.
job_idstringThe identification number of the export job.
last_updated_timestampstring (date-time)The timestamp of when the export job was last updated.
resource_typestringThe resource type of the exported recommendations. (Ec2Instance, AutoScalingGroup, EbsVolume, LambdaFunction, NotApplicable, EcsService, License, RdsDBInstance, AuroraDBClusterStorage, Idle)
statusstringThe status of the export job. (Queued, InProgress, Complete, Failed)

Methods

The following methods are available for this resource:

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

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

SELECT examples

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
;