Skip to main content

batch_prediction_jobs

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

Overview

Namebatch_prediction_jobs
TypeResource
Idaws.frauddetector.batch_prediction_jobs

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
batch_predictionsarrayAn array containing the details of each batch prediction job.
next_tokenstringThe next token for the subsequent request.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_batch_prediction_jobsselectregionGets all batch prediction jobs or a specific job if you specify a job ID. This is a paginated API. If you provide a null maxResults, this action retrieves a maximum of 50 records per page. If you provide a maxResults, the value must be between 1 and 50. To get the next page results, provide the pagination token from the GetBatchPredictionJobsResponse as part of your request. A null pagination token fetches the records from the beginning.
create_batch_prediction_jobinsertregion, jobId, inputPath, outputPath, eventTypeName, detectorName, iamRoleArnCreates a batch prediction job.
delete_batch_prediction_jobdeleteregionDeletes a batch prediction job.

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 all batch prediction jobs or a specific job if you specify a job ID. This is a paginated API. If you provide a null maxResults, this action retrieves a maximum of 50 records per page. If you provide a maxResults, the value must be between 1 and 50. To get the next page results, provide the pagination token from the GetBatchPredictionJobsResponse as part of your request. A null pagination token fetches the records from the beginning.

SELECT
batch_predictions,
next_token
FROM aws.frauddetector.batch_prediction_jobs
WHERE region = '{{ region }}' -- required
;

INSERT examples

Creates a batch prediction job.

INSERT INTO aws.frauddetector.batch_prediction_jobs (
jobId,
inputPath,
outputPath,
eventTypeName,
detectorName,
detectorVersion,
iamRoleArn,
tags,
region
)
SELECT
'{{ jobId }}' /* required */,
'{{ inputPath }}' /* required */,
'{{ outputPath }}' /* required */,
'{{ eventTypeName }}' /* required */,
'{{ detectorName }}' /* required */,
'{{ detectorVersion }}',
'{{ iamRoleArn }}' /* required */,
'{{ tags }}',
'{{ region }}'
;

DELETE examples

Deletes a batch prediction job.

DELETE FROM aws.frauddetector.batch_prediction_jobs
WHERE region = '{{ region }}' --required
;