MainframeModernization / Paginator / ListBatchJobDefinitions
ListBatchJobDefinitions#
- class MainframeModernization.Paginator.ListBatchJobDefinitions#
- paginator = client.get_paginator('list_batch_job_definitions') - paginate(**kwargs)#
- Creates an iterator that will paginate through responses from - MainframeModernization.Client.list_batch_job_definitions().- See also: AWS API Documentation - Request Syntax - response_iterator = paginator.paginate( applicationId='string', prefix='string', PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } ) - Parameters:
- applicationId (string) – - [REQUIRED] - The identifier of the application. 
- prefix (string) – If the batch job definition is a FileBatchJobDefinition, the prefix allows you to search on the file names of FileBatchJobDefinitions. 
- 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 - NextTokenwill 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 - NextTokenfrom a previous response.
 
 
- Return type:
- dict 
- Returns:
- Response Syntax - { 'batchJobDefinitions': [ { 'fileBatchJobDefinition': { 'fileName': 'string', 'folderPath': 'string' }, 'scriptBatchJobDefinition': { 'scriptName': 'string' } }, ], 'NextToken': 'string' } - Response Structure - (dict) – - batchJobDefinitions (list) – - The list of batch job definitions. - (dict) – - Defines the details of a batch job. - Note - This is a Tagged Union structure. Only one of the following top level keys will be set: - fileBatchJobDefinition,- scriptBatchJobDefinition. If a client receives an unknown member it will set- SDK_UNKNOWN_MEMBERas the top level key, which maps to the name or tag of the unknown member. The structure of- SDK_UNKNOWN_MEMBERis as follows:- 'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'} - fileBatchJobDefinition (dict) – - Specifies a file containing a batch job definition. - fileName (string) – - The name of the file containing the batch job definition. 
- folderPath (string) – - The path to the file containing the batch job definition. 
 
- scriptBatchJobDefinition (dict) – - A script containing a batch job definition. - scriptName (string) – - The name of the script containing the batch job definition. 
 
 
 
- NextToken (string) – - A token to resume pagination.