Skip to main content

batch_job_restart_points

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

Overview

Namebatch_job_restart_points
TypeResource
Idaws.m2.batch_job_restart_points

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
batch_job_stepsarrayReturns all the batch job steps and related information for a batch job that previously ran.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_batch_job_restart_pointsselectapplication_id, execution_id, regionauthSecretsManagerArnLists all the job steps for a JCL file to restart a batch job. This is only applicable for Micro Focus engine with versions 8.0.6 and above.

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
application_idstringThe unique identifier of the application.
execution_idstringThe unique identifier of the batch job execution.
regionstringAWS region (default: us-east-1)
authSecretsManagerArnstringThe Amazon Web Services Secrets Manager containing user's credentials for authentication and authorization for List Batch Job Restart Points operation.

SELECT examples

Lists all the job steps for a JCL file to restart a batch job. This is only applicable for Micro Focus engine with versions 8.0.6 and above.

SELECT
batch_job_steps
FROM aws.m2.batch_job_restart_points
WHERE application_id = '{{ application_id }}' -- required
AND execution_id = '{{ execution_id }}' -- required
AND region = '{{ region }}' -- required
AND authSecretsManagerArn = '{{ authSecretsManagerArn }}'
;