Skip to content

ListJobRunAttempts

Source: src/AWS/EMRServerless/ListJobRunAttempts.ts

Runtime binding for emr-serverless:ListJobRunAttempts.

Enumerates the attempts of a retried job run on the bound Application — how many times the retry policy re-ran the job and how each attempt ended. Provide the implementation with Effect.provide(AWS.EMRServerless.ListJobRunAttemptsHttp).

// init
const listJobRunAttempts = yield* AWS.EMRServerless.ListJobRunAttempts(app);
// runtime
const { jobRunAttempts } = yield* listJobRunAttempts({ jobRunId });