EMRServerless / Paginator / ListJobRunAttempts
ListJobRunAttempts#
- class EMRServerless.Paginator.ListJobRunAttempts#
paginator = client.get_paginator('list_job_run_attempts')
- paginate(**kwargs)#
Creates an iterator that will paginate through responses from
EMRServerless.Client.list_job_run_attempts()
.See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate( applicationId='string', jobRunId='string', PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } )
- Parameters:
applicationId (string) –
[REQUIRED]
The ID of the application for which to list job runs.
jobRunId (string) –
[REQUIRED]
The ID of the job run to list.
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
{ 'jobRunAttempts': [ { 'applicationId': 'string', 'id': 'string', 'name': 'string', 'mode': 'BATCH'|'STREAMING', 'arn': 'string', 'createdBy': 'string', 'jobCreatedAt': datetime(2015, 1, 1), 'createdAt': datetime(2015, 1, 1), 'updatedAt': datetime(2015, 1, 1), 'executionRole': 'string', 'state': 'SUBMITTED'|'PENDING'|'SCHEDULED'|'RUNNING'|'SUCCESS'|'FAILED'|'CANCELLING'|'CANCELLED', 'stateDetails': 'string', 'releaseLabel': 'string', 'type': 'string', 'attempt': 123 }, ], 'NextToken': 'string' }
Response Structure
(dict) –
jobRunAttempts (list) –
The array of the listed job run attempt objects.
(dict) –
The summary of attributes associated with a job run attempt.
applicationId (string) –
The ID of the application the job is running on.
id (string) –
The ID of the job run attempt.
name (string) –
The name of the job run attempt.
mode (string) –
The mode of the job run attempt.
arn (string) –
The Amazon Resource Name (ARN) of the job run.
createdBy (string) –
The user who created the job run.
jobCreatedAt (datetime) –
The date and time of when the job run was created.
createdAt (datetime) –
The date and time when the job run attempt was created.
updatedAt (datetime) –
The date and time of when the job run attempt was last updated.
executionRole (string) –
The Amazon Resource Name (ARN) of the execution role of the job run..
state (string) –
The state of the job run attempt.
stateDetails (string) –
The state details of the job run attempt.
releaseLabel (string) –
The Amazon EMR release label of the job run attempt.
type (string) –
The type of the job run, such as Spark or Hive.
attempt (integer) –
The attempt number of the job run execution.
NextToken (string) –
A token to resume pagination.