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

Executes the statement.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { GlueClient, RunStatementCommand } from "@aws-sdk/client-glue"; // ES Modules import * // const { GlueClient, RunStatementCommand } = 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 = { // RunStatementRequest * SessionId: "STRING_VALUE", // required * Code: "STRING_VALUE", // required * RequestOrigin: "STRING_VALUE", * }; * const command = new RunStatementCommand(input); * const response = await client.send(command); * // { // RunStatementResponse * // Id: Number("int"), * // }; * * ``` * * @param RunStatementCommandInput - {@link RunStatementCommandInput} * @returns {@link RunStatementCommandOutput} * @see {@link RunStatementCommandInput} for command's `input` shape. * @see {@link RunStatementCommandOutput} for command's `response` shape. * @see {@link GlueClientResolvedConfig | config} for GlueClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

Access to a resource was denied.

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

A specified entity does not exist

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

The session is in an invalid state to perform a requested operation.

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

A value could not be validated.

* * @throws {@link GlueServiceException} *

Base exception class for all service exceptions from Glue service.

* * * @public */ export declare class RunStatementCommand extends RunStatementCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: RunStatementRequest; output: RunStatementResponse; }; sdk: { input: RunStatementCommandInput; output: RunStatementCommandOutput; }; }; }