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

Creates mappings.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { GlueClient, GetMappingCommand } from "@aws-sdk/client-glue"; // ES Modules import * // const { GlueClient, GetMappingCommand } = 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 = { // GetMappingRequest * Source: { // CatalogEntry * DatabaseName: "STRING_VALUE", // required * TableName: "STRING_VALUE", // required * }, * Sinks: [ // CatalogEntries * { * DatabaseName: "STRING_VALUE", // required * TableName: "STRING_VALUE", // required * }, * ], * Location: { // Location * Jdbc: [ // CodeGenNodeArgs * { // CodeGenNodeArg * Name: "STRING_VALUE", // required * Value: "STRING_VALUE", // required * Param: true || false, * }, * ], * S3: [ * { * Name: "STRING_VALUE", // required * Value: "STRING_VALUE", // required * Param: true || false, * }, * ], * DynamoDB: [ * { * Name: "STRING_VALUE", // required * Value: "STRING_VALUE", // required * Param: true || false, * }, * ], * }, * }; * const command = new GetMappingCommand(input); * const response = await client.send(command); * // { // GetMappingResponse * // Mapping: [ // MappingList // required * // { // MappingEntry * // SourceTable: "STRING_VALUE", * // SourcePath: "STRING_VALUE", * // SourceType: "STRING_VALUE", * // TargetTable: "STRING_VALUE", * // TargetPath: "STRING_VALUE", * // TargetType: "STRING_VALUE", * // }, * // ], * // }; * * ``` * * @param GetMappingCommandInput - {@link GetMappingCommandInput} * @returns {@link GetMappingCommandOutput} * @see {@link GetMappingCommandInput} for command's `input` shape. * @see {@link GetMappingCommandOutput} 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 GetMappingCommand extends GetMappingCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetMappingRequest; output: GetMappingResponse; }; sdk: { input: GetMappingCommandInput; output: GetMappingCommandOutput; }; }; }