Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ExecuteSqlCommand

deprecated

Runs one or more SQL statements.

This operation is deprecated. Use the BatchExecuteStatement or ExecuteStatement operation.

example

Use a bare-bones client and the command you need to make an API call.

import { RDSDataClient, ExecuteSqlCommand } from "@aws-sdk/client-rds-data"; // ES Modules import
// const { RDSDataClient, ExecuteSqlCommand } = require("@aws-sdk/client-rds-data"); // CommonJS import
const client = new RDSDataClient(config);
const command = new ExecuteSqlCommand(input);
const response = await client.send(command);
see

ExecuteSqlCommandInput for command's input shape.

see

ExecuteSqlCommandOutput for command's response shape.

see

config for RDSDataClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: ExecuteSqlCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<ExecuteSqlCommandInput, ExecuteSqlCommandOutput>

Methods

Static getEndpointParameterInstructions