Skip to main content

automation_jobs

Creates, updates, deletes, gets or lists an automation_jobs resource.

Overview

Nameautomation_jobs
TypeResource
Idaws.quicksight.automation_jobs

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
arnstringThe Amazon Resource Name (ARN) of the automation job.
created_atstring (date-time)The time that the automation job was created.
ended_atstring (date-time)The time that the automation job finished running.
input_payloadstringThe input payload that was provided when the automation job was started. This field is only included when IncludeInputPayload is set to true in the request. (pattern: <code>[\s\S][{&#91;].[}&#93;]\s*</code>)
job_statusstringThe current status of the automation job. (FAILED, RUNNING, SUCCEEDED, QUEUED, STOPPED)
output_payloadstringThe output payload that was generated by the automation job. This field is only included when IncludeOutputPayload is set to true in the request. (pattern: <code>[\s\S][{&#91;].[}&#93;]\s*</code>)
request_idstringThe Amazon Web Services request ID for this operation.
started_atstring (date-time)The time that the automation job started running.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_automation_jobselectaws_account_id, automation_group_id, automation_id, job_id, regionincludeInputPayload, includeOutputPayloadRetrieves the status and details of a specified automation job, including its status and outputs.

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
automation_group_idstringThe ID of the automation group that contains the automation.
automation_idstringThe ID of the automation that the job belongs to.
aws_account_idstringThe ID of the Amazon Web Services account that contains the automation job.
job_idstringThe ID of the automation job to describe.
regionstringAWS region (default: us-east-1)
includeInputPayloadbooleanA Boolean value that indicates whether to include the input payload in the response. If set to true, the input payload will be included. If set to false, the input payload will be returned as null.
includeOutputPayloadbooleanA Boolean value that indicates whether to include the output payload in the response. If set to true, the output payload will be included. If set to false, the output payload will be returned as null.

SELECT examples

Retrieves the status and details of a specified automation job, including its status and outputs.

SELECT
arn,
created_at,
ended_at,
input_payload,
job_status,
output_payload,
request_id,
started_at
FROM aws.quicksight.automation_jobs
WHERE aws_account_id = '{{ aws_account_id }}' -- required
AND automation_group_id = '{{ automation_group_id }}' -- required
AND automation_id = '{{ automation_id }}' -- required
AND job_id = '{{ job_id }}' -- required
AND region = '{{ region }}' -- required
AND includeInputPayload = '{{ includeInputPayload }}'
AND includeOutputPayload = '{{ includeOutputPayload }}'
;