Amplify / Paginator / ListJobs
ListJobs#
- class Amplify.Paginator.ListJobs#
- paginator = client.get_paginator('list_jobs') - paginate(**kwargs)#
- Creates an iterator that will paginate through responses from - Amplify.Client.list_jobs().- See also: AWS API Documentation - Request Syntax- response_iterator = paginator.paginate( appId='string', branchName='string', PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } ) - Parameters:
- appId (string) – - [REQUIRED] - The unique ID for an Amplify app. 
- branchName (string) – - [REQUIRED] - The name of the branch to use for the request. 
- 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- { 'jobSummaries': [ { 'jobArn': 'string', 'jobId': 'string', 'commitId': 'string', 'commitMessage': 'string', 'commitTime': datetime(2015, 1, 1), 'startTime': datetime(2015, 1, 1), 'status': 'PENDING'|'PROVISIONING'|'RUNNING'|'FAILED'|'SUCCEED'|'CANCELLING'|'CANCELLED', 'endTime': datetime(2015, 1, 1), 'jobType': 'RELEASE'|'RETRY'|'MANUAL'|'WEB_HOOK' }, ], 'NextToken': 'string' } - Response Structure- (dict) – - The maximum number of records to list in a single response. - jobSummaries (list) – - The result structure for the list job result request. - (dict) – - Describes the summary for an execution job for an Amplify app. - jobArn (string) – - The Amazon Resource Name (ARN) for the job. 
- jobId (string) – - The unique ID for the job. 
- commitId (string) – - The commit ID from a third-party repository provider for the job. 
- commitMessage (string) – - The commit message from a third-party repository provider for the job. 
- commitTime (datetime) – - The commit date and time for the job. 
- startTime (datetime) – - The start date and time for the job. 
- status (string) – - The current status for the job. 
- endTime (datetime) – - The end date and time for the job. 
- jobType (string) – - The type for the job. If the value is - RELEASE, the job was manually released from its source by using the- StartJobAPI. If the value is- RETRY, the job was manually retried using the- StartJobAPI. If the value is- WEB_HOOK, the job was automatically triggered by webhooks.
 
 
- NextToken (string) – - A token to resume pagination.