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 { GetJobRunRequest, GetJobRunResponse } from "../models/models_1"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link GetJobRunCommand}. */ export interface GetJobRunCommandInput extends GetJobRunRequest { } /** * @public * * The output of {@link GetJobRunCommand}. */ export interface GetJobRunCommandOutput extends GetJobRunResponse, __MetadataBearer { } declare const GetJobRunCommand_base: { new (input: GetJobRunCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetJobRunCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Retrieves the metadata for a given job run. Job run history is accessible for 365 days for your workflow and job run.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { GlueClient, GetJobRunCommand } from "@aws-sdk/client-glue"; // ES Modules import * // const { GlueClient, GetJobRunCommand } = 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 = { // GetJobRunRequest * JobName: "STRING_VALUE", // required * RunId: "STRING_VALUE", // required * PredecessorsIncluded: true || false, * }; * const command = new GetJobRunCommand(input); * const response = await client.send(command); * // { // GetJobRunResponse * // JobRun: { // 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", * // }, * // }; * * ``` * * @param GetJobRunCommandInput - {@link GetJobRunCommandInput} * @returns {@link GetJobRunCommandOutput} * @see {@link GetJobRunCommandInput} for command's `input` shape. * @see {@link GetJobRunCommandOutput} 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 GetJobRunCommand extends GetJobRunCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetJobRunRequest; output: GetJobRunResponse; }; sdk: { input: GetJobRunCommandInput; output: GetJobRunCommandOutput; }; }; }