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

Transforms a directed acyclic graph (DAG) into code.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { GlueClient, CreateScriptCommand } from "@aws-sdk/client-glue"; // ES Modules import * // const { GlueClient, CreateScriptCommand } = 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 = { // CreateScriptRequest * DagNodes: [ // DagNodes * { // CodeGenNode * Id: "STRING_VALUE", // required * NodeType: "STRING_VALUE", // required * Args: [ // CodeGenNodeArgs // required * { // CodeGenNodeArg * Name: "STRING_VALUE", // required * Value: "STRING_VALUE", // required * Param: true || false, * }, * ], * LineNumber: Number("int"), * }, * ], * DagEdges: [ // DagEdges * { // CodeGenEdge * Source: "STRING_VALUE", // required * Target: "STRING_VALUE", // required * TargetParameter: "STRING_VALUE", * }, * ], * Language: "PYTHON" || "SCALA", * }; * const command = new CreateScriptCommand(input); * const response = await client.send(command); * // { // CreateScriptResponse * // PythonScript: "STRING_VALUE", * // ScalaCode: "STRING_VALUE", * // }; * * ``` * * @param CreateScriptCommandInput - {@link CreateScriptCommandInput} * @returns {@link CreateScriptCommandOutput} * @see {@link CreateScriptCommandInput} for command's `input` shape. * @see {@link CreateScriptCommandOutput} for command's `response` shape. * @see {@link GlueClientResolvedConfig | config} for GlueClient's `config` shape. * * @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 CreateScriptCommand extends CreateScriptCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateScriptRequest; output: CreateScriptResponse; }; sdk: { input: CreateScriptCommandInput; output: CreateScriptCommandOutput; }; }; }