start_batch_job
(**kwargs)¶Starts a batch job and returns the unique identifier of this execution of the batch job. The associated application must be running in order to start the batch job.
See also: AWS API Documentation
Request Syntax
response = client.start_batch_job(
applicationId='string',
batchJobIdentifier={
'fileBatchJobIdentifier': {
'fileName': 'string',
'folderPath': 'string'
},
'scriptBatchJobIdentifier': {
'scriptName': 'string'
}
},
jobParams={
'string': 'string'
}
)
[REQUIRED]
The unique identifier of the application associated with this batch job.
[REQUIRED]
The unique identifier of the batch job.
Note
This is a Tagged Union structure. Only one of the following top level keys can be set: fileBatchJobIdentifier
, scriptBatchJobIdentifier
.
Specifies a file associated with a specific batch job.
The file name for the batch job identifier.
The relative path to the file name for the batch job identifier.
A batch job identifier in which the batch job to run is identified by the script name.
The name of the script containing the batch job definition.
The collection of batch job parameters. For details about limits for keys and values, see Coding variables in JCL.
Parameter key: the first character must be alphabetic. Can be of up to 8 alphanumeric characters.
Parameter value can be of up to 44 alphanumeric characters.
dict
Response Syntax
{
'executionId': 'string'
}
Response Structure
(dict) --
executionId (string) --
The unique identifier of this execution of the batch job.
Exceptions
MainframeModernization.Client.exceptions.ValidationException
MainframeModernization.Client.exceptions.ConflictException
MainframeModernization.Client.exceptions.InternalServerException
MainframeModernization.Client.exceptions.AccessDeniedException
MainframeModernization.Client.exceptions.ThrottlingException
MainframeModernization.Client.exceptions.ResourceNotFoundException