list_jobs
async
¶
list_jobs(
app_id: AppId,
branch_name: BranchName,
*,
config_overrides: Optional[AsyncAmplifyClientConfig] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
) -> ListJobsResult
Lists the jobs for a branch of an Amplify app.
Parameters:
-
app_id(AppId) –The unique ID for an Amplify app.
-
branch_name(BranchName) –The name of the branch to use for the request.
-
next_token(Optional[NextToken], default:None) –A pagination token. Set to null to start listing steps from the start. If a non-null pagination token is returned in a result, pass its value in here to list more steps.
-
max_results(Optional[MaxResults], default:None) –The maximum number of records to list in a single response.
Raises:
-
BadRequestException–A request contains unexpected data.
-
InternalFailureException–The service failed to perform an operation due to an internal issue.
-
LimitExceededException–A resource could not be created because service quotas were exceeded.
-
UnauthorizedException–An operation failed due to a lack of access.
-
UnknownServiceError–The service returned an error code this client does not model.