Skip to main content

events_detection_jobs

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

Overview

Nameevents_detection_jobs
TypeResource
Idaws.comprehend.events_detection_jobs

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
data_access_role_arnstringThe Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input data. (pattern: <code>arn:aws(-[^:]+)?:iam::[0-9]{12}:role/.+</code>)
end_timestring (date-time)The time that the events detection job completed.
input_data_configobjectThe input data configuration that you supplied when you created the events detection job.
job_arnstringThe Amazon Resource Name (ARN) of the events detection job. It is a unique, fully qualified identifier for the job. It includes the Amazon Web Services account, Amazon Web Services Region, and the job ID. The format of the ARN is as follows: arn:<partition>:comprehend:<region>:<account-id>:events-detection-job/<job-id> The following is an example job ARN: arn:aws:comprehend:us-west-2:111122223333:events-detection-job/1234abcd12ab34cd56ef1234567890ab (pattern: <code>arn:aws(-[^:]+)?:comprehend:[a-zA-Z0-9-]:[0-9]{12}:[a-zA-Z0-9-]{1,64}/[a-zA-Z0-9](-[a-zA-Z0-9])((/dataset/[a-zA-Z0-9](-[a-zA-Z0-9]))|(/version/[a-zA-Z0-9](-[a-zA-Z0-9])*))?</code>)
job_idstringThe identifier assigned to the events detection job. (pattern: <code>^([\p{L}\p{Z}\p{N}_.:/=+-%@]*)$</code>)
job_namestringThe name you assigned the events detection job. (pattern: <code>^([\p{L}\p{Z}\p{N}_.:/=+-%@]*)$</code>)
job_statusstringThe current status of the events detection job. (SUBMITTED, IN_PROGRESS, COMPLETED, FAILED, STOP_REQUESTED, STOPPED)
language_codestringThe language code of the input documents. (en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW)
messagestringA description of the status of the events detection job.
output_data_configobjectThe output data configuration that you supplied when you created the events detection job.
submit_timestring (date-time)The time that the events detection job was submitted for processing.
target_event_typesarrayThe types of events that are detected by the job.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_events_detection_jobselectregionGets the status and details of an events detection job.
list_events_detection_jobsselectregionGets a list of the events detection jobs that you have submitted.

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

Gets the status and details of an events detection job.

SELECT
data_access_role_arn,
end_time,
input_data_config,
job_arn,
job_id,
job_name,
job_status,
language_code,
message,
output_data_config,
submit_time,
target_event_types
FROM aws.comprehend.events_detection_jobs
WHERE region = '{{ region }}' -- required
;