Skip to main content

batch_import_jobs

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

Overview

Namebatch_import_jobs
TypeResource
Idaws.frauddetector.batch_import_jobs

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
batch_importsarrayAn array containing the details of each batch import job.
next_tokenstringThe next token for the subsequent resquest.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_batch_import_jobsselectregionGets all batch import jobs or a specific job of the specified 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 GetBatchImportJobsResponse as part of your request. A null pagination token fetches the records from the beginning.
create_batch_import_jobinsertregion, jobId, inputPath, outputPath, eventTypeName, iamRoleArnCreates a batch import job.
delete_batch_import_jobdeleteregionDeletes the specified batch import job ID record. This action does not delete the data that was batch imported.

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 import jobs or a specific job of the specified 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 GetBatchImportJobsResponse as part of your request. A null pagination token fetches the records from the beginning.

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

INSERT examples

Creates a batch import job.

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

DELETE examples

Deletes the specified batch import job ID record. This action does not delete the data that was batch imported.

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