import type * as emr from "@distilled.cloud/aws/emr-serverless"; import type * as Effect from "effect/Effect"; import * as Binding from "../../Binding.ts"; import type { Application } from "./Application.ts"; /** * Request accepted by the {@link ListJobRunAttempts} runtime callable. The * `applicationId` is injected from the bound {@link Application}. */ export type ListJobRunAttemptsInput = Omit; /** * Runtime binding for `emr-serverless:ListJobRunAttempts`. * * Enumerates the attempts of a retried job run on the bound * {@link 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)`. * ### Running Jobs * **Example:** Inspect A Job's Attempts * ```typescript * // init * const listJobRunAttempts = yield* AWS.EMRServerless.ListJobRunAttempts(app); * * // runtime * const { jobRunAttempts } = yield* listJobRunAttempts({ jobRunId }); * ``` * * @binding */ export interface ListJobRunAttempts extends Binding.Service Effect.Effect<(request: ListJobRunAttemptsInput) => Effect.Effect>> { } export declare const ListJobRunAttempts: ListJobRunAttempts; //# sourceMappingURL=ListJobRunAttempts.d.ts.map