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 { StartJobRunRequest, StartJobRunResponse } from "../models/models_2"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link StartJobRunCommand}. */ export interface StartJobRunCommandInput extends StartJobRunRequest { } /** * @public * * The output of {@link StartJobRunCommand}. */ export interface StartJobRunCommandOutput extends StartJobRunResponse, __MetadataBearer { } declare const StartJobRunCommand_base: { new (input: StartJobRunCommandInput): import("@smithy/core/client").CommandImpl; new (input: StartJobRunCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Starts a job run using a job definition.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { GlueClient, StartJobRunCommand } from "@aws-sdk/client-glue"; // ES Modules import * // const { GlueClient, StartJobRunCommand } = 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 = { // StartJobRunRequest * JobName: "STRING_VALUE", // required * JobRunQueuingEnabled: true || false, * JobRunId: "STRING_VALUE", * Arguments: { // GenericMap * "": "STRING_VALUE", * }, * AllocatedCapacity: Number("int"), * Timeout: Number("int"), * MaxCapacity: Number("double"), * SecurityConfiguration: "STRING_VALUE", * NotificationProperty: { // NotificationProperty * NotifyDelayAfter: Number("int"), * }, * WorkerType: "Standard" || "G.1X" || "G.2X" || "G.025X" || "G.4X" || "G.8X" || "Z.2X", * NumberOfWorkers: Number("int"), * ExecutionClass: "FLEX" || "STANDARD", * ExecutionRoleSessionPolicy: "STRING_VALUE", * }; * const command = new StartJobRunCommand(input); * const response = await client.send(command); * // { // StartJobRunResponse * // JobRunId: "STRING_VALUE", * // }; * * ``` * * @param StartJobRunCommandInput - {@link StartJobRunCommandInput} * @returns {@link StartJobRunCommandOutput} * @see {@link StartJobRunCommandInput} for command's `input` shape. * @see {@link StartJobRunCommandOutput} for command's `response` shape. * @see {@link GlueClientResolvedConfig | config} for GlueClient's `config` shape. * * @throws {@link ConcurrentRunsExceededException} (client fault) *

Too many jobs are being run concurrently.

* * @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 ResourceNumberLimitExceededException} (client fault) *

A resource numerical limit was exceeded.

* * @throws {@link GlueServiceException} *

Base exception class for all service exceptions from Glue service.

* * * @public */ export declare class StartJobRunCommand extends StartJobRunCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: StartJobRunRequest; output: StartJobRunResponse; }; sdk: { input: StartJobRunCommandInput; output: StartJobRunCommandOutput; }; }; }