MainframeModernization / Paginator / ListBatchJobExecutions
ListBatchJobExecutions#
- class MainframeModernization.Paginator.ListBatchJobExecutions#
paginator = client.get_paginator('list_batch_job_executions')
- paginate(**kwargs)#
Creates an iterator that will paginate through responses from
MainframeModernization.Client.list_batch_job_executions()
.See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate( applicationId='string', executionIds=[ 'string', ], jobName='string', startedAfter=datetime(2015, 1, 1), startedBefore=datetime(2015, 1, 1), status='Submitting'|'Holding'|'Dispatching'|'Running'|'Cancelling'|'Cancelled'|'Succeeded'|'Failed'|'Succeeded With Warning', PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } )
- Parameters:
applicationId (string) –
[REQUIRED]
The unique identifier of the application.
executionIds (list) –
The unique identifier of each batch job execution.
(string) –
jobName (string) – The name of each batch job execution.
startedAfter (datetime) – The time after which the batch job executions started.
startedBefore (datetime) – The time before the batch job executions started.
status (string) – The status of the batch job executions.
PaginationConfig (dict) –
A dictionary that provides parameters to control pagination.
MaxItems (integer) –
The total number of items to return. If the total number of items available is more than the value specified in max-items then a
NextToken
will be provided in the output that you can use to resume pagination.PageSize (integer) –
The size of each page.
StartingToken (string) –
A token to specify where to start paginating. This is the
NextToken
from a previous response.
- Return type:
dict
- Returns:
Response Syntax
{ 'batchJobExecutions': [ { 'applicationId': 'string', 'batchJobIdentifier': { 'fileBatchJobIdentifier': { 'fileName': 'string', 'folderPath': 'string' }, 'scriptBatchJobIdentifier': { 'scriptName': 'string' } }, 'endTime': datetime(2015, 1, 1), 'executionId': 'string', 'jobId': 'string', 'jobName': 'string', 'jobType': 'VSE'|'JES2'|'JES3', 'returnCode': 'string', 'startTime': datetime(2015, 1, 1), 'status': 'Submitting'|'Holding'|'Dispatching'|'Running'|'Cancelling'|'Cancelled'|'Succeeded'|'Failed'|'Succeeded With Warning' }, ], 'NextToken': 'string' }
Response Structure
(dict) –
batchJobExecutions (list) –
Returns a list of batch job executions for an application.
(dict) –
A subset of the possible batch job attributes. Used in the batch job list.
applicationId (string) –
The unique identifier of the application that hosts this batch job.
batchJobIdentifier (dict) –
Identifies a specific batch job.
Note
This is a Tagged Union structure. Only one of the following top level keys will be set:
fileBatchJobIdentifier
,scriptBatchJobIdentifier
. If a client receives an unknown member it will setSDK_UNKNOWN_MEMBER
as the top level key, which maps to the name or tag of the unknown member. The structure ofSDK_UNKNOWN_MEMBER
is as follows:'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
fileBatchJobIdentifier (dict) –
Specifies a file associated with a specific batch job.
fileName (string) –
The file name for the batch job identifier.
folderPath (string) –
The relative path to the file name for the batch job identifier.
scriptBatchJobIdentifier (dict) –
A batch job identifier in which the batch job to run is identified by the script name.
scriptName (string) –
The name of the script containing the batch job definition.
endTime (datetime) –
The timestamp when this batch job execution ended.
executionId (string) –
The unique identifier of this execution of the batch job.
jobId (string) –
The unique identifier of a particular batch job.
jobName (string) –
The name of a particular batch job.
jobType (string) –
The type of a particular batch job execution.
returnCode (string) –
startTime (datetime) –
The timestamp when a particular batch job execution started.
status (string) –
The status of a particular batch job execution.
NextToken (string) –
A token to resume pagination.