@aws-sdk/client-rds-data 3.337.0 → 3.341.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/RDSDataClient.js +2 -1
- package/dist-cjs/commands/BatchExecuteStatementCommand.js +2 -1
- package/dist-cjs/commands/BeginTransactionCommand.js +2 -1
- package/dist-cjs/commands/CommitTransactionCommand.js +2 -1
- package/dist-cjs/commands/ExecuteSqlCommand.js +2 -1
- package/dist-cjs/commands/ExecuteStatementCommand.js +2 -1
- package/dist-cjs/commands/RollbackTransactionCommand.js +2 -1
- package/dist-cjs/index.js +1 -1
- package/dist-cjs/models/RDSDataServiceException.js +2 -1
- package/dist-es/RDSDataClient.js +1 -0
- package/dist-es/commands/BatchExecuteStatementCommand.js +1 -0
- package/dist-es/commands/BeginTransactionCommand.js +1 -0
- package/dist-es/commands/CommitTransactionCommand.js +1 -0
- package/dist-es/commands/ExecuteSqlCommand.js +1 -0
- package/dist-es/commands/ExecuteStatementCommand.js +1 -0
- package/dist-es/commands/RollbackTransactionCommand.js +1 -0
- package/dist-es/index.js +1 -1
- package/dist-es/models/RDSDataServiceException.js +1 -0
- package/dist-types/RDSDataClient.d.ts +3 -3
- package/dist-types/commands/BatchExecuteStatementCommand.d.ts +4 -0
- package/dist-types/commands/BeginTransactionCommand.d.ts +4 -0
- package/dist-types/commands/CommitTransactionCommand.d.ts +4 -0
- package/dist-types/commands/ExecuteSqlCommand.d.ts +4 -0
- package/dist-types/commands/ExecuteStatementCommand.d.ts +4 -0
- package/dist-types/commands/RollbackTransactionCommand.d.ts +4 -0
- package/dist-types/index.d.ts +14 -1
- package/dist-types/models/RDSDataServiceException.d.ts +1 -0
- package/dist-types/ts3.4/RDSDataClient.d.ts +3 -3
- package/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/BeginTransactionCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/CommitTransactionCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/ExecuteSqlCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/RollbackTransactionCommand.d.ts +1 -0
- package/dist-types/ts3.4/index.d.ts +1 -1
- package/dist-types/ts3.4/models/RDSDataServiceException.d.ts +1 -0
- package/package.json +28 -28
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RDSDataClient = void 0;
|
|
3
|
+
exports.RDSDataClient = exports.__Client = void 0;
|
|
4
4
|
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
5
5
|
const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
|
|
6
6
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
@@ -11,6 +11,7 @@ const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
|
11
11
|
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
12
12
|
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
13
13
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
14
|
+
Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return smithy_client_1.Client; } });
|
|
14
15
|
const EndpointParameters_1 = require("./endpoint/EndpointParameters");
|
|
15
16
|
const runtimeConfig_1 = require("./runtimeConfig");
|
|
16
17
|
class RDSDataClient extends smithy_client_1.Client {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BatchExecuteStatementCommand = void 0;
|
|
3
|
+
exports.BatchExecuteStatementCommand = exports.$Command = void 0;
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
7
8
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
9
|
class BatchExecuteStatementCommand extends smithy_client_1.Command {
|
|
9
10
|
static getEndpointParameterInstructions() {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BeginTransactionCommand = void 0;
|
|
3
|
+
exports.BeginTransactionCommand = exports.$Command = void 0;
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
7
8
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
9
|
class BeginTransactionCommand extends smithy_client_1.Command {
|
|
9
10
|
static getEndpointParameterInstructions() {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CommitTransactionCommand = void 0;
|
|
3
|
+
exports.CommitTransactionCommand = exports.$Command = void 0;
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
7
8
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
9
|
class CommitTransactionCommand extends smithy_client_1.Command {
|
|
9
10
|
static getEndpointParameterInstructions() {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ExecuteSqlCommand = void 0;
|
|
3
|
+
exports.ExecuteSqlCommand = exports.$Command = void 0;
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
7
8
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
9
|
class ExecuteSqlCommand extends smithy_client_1.Command {
|
|
9
10
|
static getEndpointParameterInstructions() {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ExecuteStatementCommand = void 0;
|
|
3
|
+
exports.ExecuteStatementCommand = exports.$Command = void 0;
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
7
8
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
9
|
class ExecuteStatementCommand extends smithy_client_1.Command {
|
|
9
10
|
static getEndpointParameterInstructions() {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RollbackTransactionCommand = void 0;
|
|
3
|
+
exports.RollbackTransactionCommand = exports.$Command = void 0;
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
7
8
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
9
|
class RollbackTransactionCommand extends smithy_client_1.Command {
|
|
9
10
|
static getEndpointParameterInstructions() {
|
package/dist-cjs/index.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RDSDataServiceException = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
tslib_1.__exportStar(require("./RDSData"), exports);
|
|
6
5
|
tslib_1.__exportStar(require("./RDSDataClient"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./RDSData"), exports);
|
|
7
7
|
tslib_1.__exportStar(require("./commands"), exports);
|
|
8
8
|
tslib_1.__exportStar(require("./models"), exports);
|
|
9
9
|
var RDSDataServiceException_1 = require("./models/RDSDataServiceException");
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RDSDataServiceException = void 0;
|
|
3
|
+
exports.RDSDataServiceException = exports.__ServiceException = void 0;
|
|
4
4
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
5
6
|
class RDSDataServiceException extends smithy_client_1.ServiceException {
|
|
6
7
|
constructor(options) {
|
|
7
8
|
super(options);
|
package/dist-es/RDSDataClient.js
CHANGED
|
@@ -10,6 +10,7 @@ import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware
|
|
|
10
10
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
11
11
|
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
|
|
12
12
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
13
|
+
export { __Client };
|
|
13
14
|
export class RDSDataClient extends __Client {
|
|
14
15
|
constructor(configuration) {
|
|
15
16
|
const _config_0 = __getRuntimeConfig(configuration);
|
|
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { de_BatchExecuteStatementCommand, se_BatchExecuteStatementCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
5
6
|
export class BatchExecuteStatementCommand extends $Command {
|
|
6
7
|
static getEndpointParameterInstructions() {
|
|
7
8
|
return {
|
|
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { de_BeginTransactionCommand, se_BeginTransactionCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
5
6
|
export class BeginTransactionCommand extends $Command {
|
|
6
7
|
static getEndpointParameterInstructions() {
|
|
7
8
|
return {
|
|
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { de_CommitTransactionCommand, se_CommitTransactionCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
5
6
|
export class CommitTransactionCommand extends $Command {
|
|
6
7
|
static getEndpointParameterInstructions() {
|
|
7
8
|
return {
|
|
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { de_ExecuteSqlCommand, se_ExecuteSqlCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
5
6
|
export class ExecuteSqlCommand extends $Command {
|
|
6
7
|
static getEndpointParameterInstructions() {
|
|
7
8
|
return {
|
|
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { de_ExecuteStatementCommand, se_ExecuteStatementCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
5
6
|
export class ExecuteStatementCommand extends $Command {
|
|
6
7
|
static getEndpointParameterInstructions() {
|
|
7
8
|
return {
|
|
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { de_RollbackTransactionCommand, se_RollbackTransactionCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
5
6
|
export class RollbackTransactionCommand extends $Command {
|
|
6
7
|
static getEndpointParameterInstructions() {
|
|
7
8
|
return {
|
package/dist-es/index.js
CHANGED
|
@@ -15,6 +15,7 @@ import { ExecuteSqlCommandInput, ExecuteSqlCommandOutput } from "./commands/Exec
|
|
|
15
15
|
import { ExecuteStatementCommandInput, ExecuteStatementCommandOutput } from "./commands/ExecuteStatementCommand";
|
|
16
16
|
import { RollbackTransactionCommandInput, RollbackTransactionCommandOutput } from "./commands/RollbackTransactionCommand";
|
|
17
17
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
18
|
+
export { __Client };
|
|
18
19
|
/**
|
|
19
20
|
* @public
|
|
20
21
|
*/
|
|
@@ -129,7 +130,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
129
130
|
/**
|
|
130
131
|
* @public
|
|
131
132
|
*/
|
|
132
|
-
type RDSDataClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
133
|
+
export type RDSDataClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
133
134
|
/**
|
|
134
135
|
* @public
|
|
135
136
|
*
|
|
@@ -140,7 +141,7 @@ export interface RDSDataClientConfig extends RDSDataClientConfigType {
|
|
|
140
141
|
/**
|
|
141
142
|
* @public
|
|
142
143
|
*/
|
|
143
|
-
type RDSDataClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
144
|
+
export type RDSDataClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
144
145
|
/**
|
|
145
146
|
* @public
|
|
146
147
|
*
|
|
@@ -173,4 +174,3 @@ export declare class RDSDataClient extends __Client<__HttpHandlerOptions, Servic
|
|
|
173
174
|
*/
|
|
174
175
|
destroy(): void;
|
|
175
176
|
}
|
|
176
|
-
export {};
|
|
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { BatchExecuteStatementRequest, BatchExecuteStatementResponse } from "../models/models_0";
|
|
5
5
|
import { RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSDataClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
6
10
|
/**
|
|
7
11
|
* @public
|
|
8
12
|
*
|
|
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { BeginTransactionRequest, BeginTransactionResponse } from "../models/models_0";
|
|
5
5
|
import { RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSDataClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
6
10
|
/**
|
|
7
11
|
* @public
|
|
8
12
|
*
|
|
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { CommitTransactionRequest, CommitTransactionResponse } from "../models/models_0";
|
|
5
5
|
import { RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSDataClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
6
10
|
/**
|
|
7
11
|
* @public
|
|
8
12
|
*
|
|
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { ExecuteSqlRequest, ExecuteSqlResponse } from "../models/models_0";
|
|
5
5
|
import { RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSDataClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
6
10
|
/**
|
|
7
11
|
* @public
|
|
8
12
|
*
|
|
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { ExecuteStatementRequest, ExecuteStatementResponse } from "../models/models_0";
|
|
5
5
|
import { RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSDataClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
6
10
|
/**
|
|
7
11
|
* @public
|
|
8
12
|
*
|
|
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { RollbackTransactionRequest, RollbackTransactionResponse } from "../models/models_0";
|
|
5
5
|
import { RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSDataClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
6
10
|
/**
|
|
7
11
|
* @public
|
|
8
12
|
*
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* <fullname>Amazon RDS Data Service</fullname>
|
|
3
|
+
* <p>Amazon RDS provides an HTTP endpoint to run SQL statements on an Amazon Aurora Serverless v1 DB cluster. To run these
|
|
4
|
+
* statements, you work with the Data Service API.</p>
|
|
5
|
+
* <note>
|
|
6
|
+
* <p>The Data Service API isn't supported on Amazon Aurora Serverless v2 DB clusters.</p>
|
|
7
|
+
* </note>
|
|
8
|
+
* <p>For more information about the Data Service API, see
|
|
9
|
+
* <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/data-api.html">Using the Data API</a>
|
|
10
|
+
* in the <i>Amazon Aurora User Guide</i>.</p>
|
|
11
|
+
*
|
|
12
|
+
* @packageDocumentation
|
|
13
|
+
*/
|
|
2
14
|
export * from "./RDSDataClient";
|
|
15
|
+
export * from "./RDSData";
|
|
3
16
|
export * from "./commands";
|
|
4
17
|
export * from "./models";
|
|
5
18
|
export { RDSDataServiceException } from "./models/RDSDataServiceException";
|
|
@@ -75,6 +75,7 @@ import {
|
|
|
75
75
|
ClientResolvedEndpointParameters,
|
|
76
76
|
EndpointParameters,
|
|
77
77
|
} from "./endpoint/EndpointParameters";
|
|
78
|
+
export { __Client };
|
|
78
79
|
export type ServiceInputTypes =
|
|
79
80
|
| BatchExecuteStatementCommandInput
|
|
80
81
|
| BeginTransactionCommandInput
|
|
@@ -113,7 +114,7 @@ export interface ClientDefaults
|
|
|
113
114
|
logger?: __Logger;
|
|
114
115
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
115
116
|
}
|
|
116
|
-
type RDSDataClientConfigType = Partial<
|
|
117
|
+
export type RDSDataClientConfigType = Partial<
|
|
117
118
|
__SmithyConfiguration<__HttpHandlerOptions>
|
|
118
119
|
> &
|
|
119
120
|
ClientDefaults &
|
|
@@ -125,7 +126,7 @@ type RDSDataClientConfigType = Partial<
|
|
|
125
126
|
UserAgentInputConfig &
|
|
126
127
|
ClientInputEndpointParameters;
|
|
127
128
|
export interface RDSDataClientConfig extends RDSDataClientConfigType {}
|
|
128
|
-
type RDSDataClientResolvedConfigType =
|
|
129
|
+
export type RDSDataClientResolvedConfigType =
|
|
129
130
|
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
130
131
|
Required<ClientDefaults> &
|
|
131
132
|
RegionResolvedConfig &
|
|
@@ -147,4 +148,3 @@ export declare class RDSDataClient extends __Client<
|
|
|
147
148
|
constructor(configuration: RDSDataClientConfig);
|
|
148
149
|
destroy(): void;
|
|
149
150
|
}
|
|
150
|
-
export {};
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
ServiceInputTypes,
|
|
16
16
|
ServiceOutputTypes,
|
|
17
17
|
} from "../RDSDataClient";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
18
19
|
export interface BatchExecuteStatementCommandInput
|
|
19
20
|
extends BatchExecuteStatementRequest {}
|
|
20
21
|
export interface BatchExecuteStatementCommandOutput
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
ServiceInputTypes,
|
|
16
16
|
ServiceOutputTypes,
|
|
17
17
|
} from "../RDSDataClient";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
18
19
|
export interface BeginTransactionCommandInput extends BeginTransactionRequest {}
|
|
19
20
|
export interface BeginTransactionCommandOutput
|
|
20
21
|
extends BeginTransactionResponse,
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
ServiceInputTypes,
|
|
16
16
|
ServiceOutputTypes,
|
|
17
17
|
} from "../RDSDataClient";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
18
19
|
export interface CommitTransactionCommandInput
|
|
19
20
|
extends CommitTransactionRequest {}
|
|
20
21
|
export interface CommitTransactionCommandOutput
|
|
@@ -12,6 +12,7 @@ import {
|
|
|
12
12
|
ServiceInputTypes,
|
|
13
13
|
ServiceOutputTypes,
|
|
14
14
|
} from "../RDSDataClient";
|
|
15
|
+
export { __MetadataBearer, $Command };
|
|
15
16
|
export interface ExecuteSqlCommandInput extends ExecuteSqlRequest {}
|
|
16
17
|
export interface ExecuteSqlCommandOutput
|
|
17
18
|
extends ExecuteSqlResponse,
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
ServiceInputTypes,
|
|
16
16
|
ServiceOutputTypes,
|
|
17
17
|
} from "../RDSDataClient";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
18
19
|
export interface ExecuteStatementCommandInput extends ExecuteStatementRequest {}
|
|
19
20
|
export interface ExecuteStatementCommandOutput
|
|
20
21
|
extends ExecuteStatementResponse,
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
ServiceInputTypes,
|
|
16
16
|
ServiceOutputTypes,
|
|
17
17
|
} from "../RDSDataClient";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
18
19
|
export interface RollbackTransactionCommandInput
|
|
19
20
|
extends RollbackTransactionRequest {}
|
|
20
21
|
export interface RollbackTransactionCommandOutput
|
|
@@ -2,6 +2,7 @@ import {
|
|
|
2
2
|
ServiceException as __ServiceException,
|
|
3
3
|
ServiceExceptionOptions as __ServiceExceptionOptions,
|
|
4
4
|
} from "@aws-sdk/smithy-client";
|
|
5
|
+
export { __ServiceException, __ServiceExceptionOptions };
|
|
5
6
|
export declare class RDSDataServiceException extends __ServiceException {
|
|
6
7
|
constructor(options: __ServiceExceptionOptions);
|
|
7
8
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-rds-data",
|
|
3
3
|
"description": "AWS SDK for JavaScript Rds Data Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.341.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,36 +21,36 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.341.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.341.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.341.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.341.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.341.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.341.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.341.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.341.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.341.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.341.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.341.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.341.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.341.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.341.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.341.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.341.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.341.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.341.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.341.0",
|
|
43
|
+
"@aws-sdk/types": "3.341.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.341.0",
|
|
45
45
|
"@aws-sdk/util-base64": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-retry": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.341.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.341.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.341.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.341.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.341.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.341.0",
|
|
54
54
|
"@aws-sdk/util-utf8": "3.310.0",
|
|
55
55
|
"@smithy/protocol-http": "^1.0.1",
|
|
56
56
|
"@smithy/types": "^1.0.0",
|