import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient"; import type { GetJobRunsRequest, GetJobRunsResponse } from "../models/models_1"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link GetJobRunsCommand}. */ export interface GetJobRunsCommandInput extends GetJobRunsRequest { } /** * @public * * The output of {@link GetJobRunsCommand}. */ export interface GetJobRunsCommandOutput extends GetJobRunsResponse, __MetadataBearer { } declare const GetJobRunsCommand_base: { new (input: GetJobRunsCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetJobRunsCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Retrieves metadata for all runs of a given job definition.

*

* GetJobRuns returns the job runs in chronological order, with the newest jobs returned first.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { GlueClient, GetJobRunsCommand } from "@aws-sdk/client-glue"; // ES Modules import * // const { GlueClient, GetJobRunsCommand } = require("@aws-sdk/client-glue"); // CommonJS import * // import type { GlueClientConfig } from "@aws-sdk/client-glue"; * const config = {}; // type is GlueClientConfig * const client = new GlueClient(config); * const input = { // GetJobRunsRequest * JobName: "STRING_VALUE", // required * NextToken: "STRING_VALUE", * MaxResults: Number("int"), * }; * const command = new GetJobRunsCommand(input); * const response = await client.send(command); * // { // GetJobRunsResponse * // JobRuns: [ // JobRunList * // { // JobRun * // Id: "STRING_VALUE", * // Attempt: Number("int"), * // PreviousRunId: "STRING_VALUE", * // TriggerName: "STRING_VALUE", * // JobName: "STRING_VALUE", * // JobMode: "SCRIPT" || "VISUAL" || "NOTEBOOK", * // JobRunQueuingEnabled: true || false, * // StartedOn: new Date("TIMESTAMP"), * // LastModifiedOn: new Date("TIMESTAMP"), * // CompletedOn: new Date("TIMESTAMP"), * // JobRunState: "STARTING" || "RUNNING" || "STOPPING" || "STOPPED" || "SUCCEEDED" || "FAILED" || "TIMEOUT" || "ERROR" || "WAITING" || "EXPIRED", * // Arguments: { // GenericMap * // "": "STRING_VALUE", * // }, * // ErrorMessage: "STRING_VALUE", * // PredecessorRuns: [ // PredecessorList * // { // Predecessor * // JobName: "STRING_VALUE", * // RunId: "STRING_VALUE", * // }, * // ], * // AllocatedCapacity: Number("int"), * // ExecutionTime: Number("int"), * // Timeout: Number("int"), * // MaxCapacity: Number("double"), * // WorkerType: "Standard" || "G.1X" || "G.2X" || "G.025X" || "G.4X" || "G.8X" || "Z.2X", * // NumberOfWorkers: Number("int"), * // SecurityConfiguration: "STRING_VALUE", * // LogGroupName: "STRING_VALUE", * // NotificationProperty: { // NotificationProperty * // NotifyDelayAfter: Number("int"), * // }, * // GlueVersion: "STRING_VALUE", * // DPUSeconds: Number("double"), * // ExecutionClass: "FLEX" || "STANDARD", * // MaintenanceWindow: "STRING_VALUE", * // ProfileName: "STRING_VALUE", * // StateDetail: "STRING_VALUE", * // ExecutionRoleSessionPolicy: "STRING_VALUE", * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param GetJobRunsCommandInput - {@link GetJobRunsCommandInput} * @returns {@link GetJobRunsCommandOutput} * @see {@link GetJobRunsCommandInput} for command's `input` shape. * @see {@link GetJobRunsCommandOutput} for command's `response` shape. * @see {@link GlueClientResolvedConfig | config} for GlueClient's `config` shape. * * @throws {@link EntityNotFoundException} (client fault) *

A specified entity does not exist

* * @throws {@link InternalServiceException} (server fault) *

An internal service error occurred.

* * @throws {@link InvalidInputException} (client fault) *

The input provided was not valid.

* * @throws {@link OperationTimeoutException} (client fault) *

The operation timed out.

* * @throws {@link GlueServiceException} *

Base exception class for all service exceptions from Glue service.

* * * @public */ export declare class GetJobRunsCommand extends GetJobRunsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetJobRunsRequest; output: GetJobRunsResponse; }; sdk: { input: GetJobRunsCommandInput; output: GetJobRunsCommandOutput; }; }; }