@aws-sdk/client-rds-data 3.479.0 → 3.484.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.
Files changed (29) hide show
  1. package/dist-cjs/commands/BatchExecuteStatementCommand.js +18 -41
  2. package/dist-cjs/commands/BeginTransactionCommand.js +18 -41
  3. package/dist-cjs/commands/CommitTransactionCommand.js +18 -41
  4. package/dist-cjs/commands/ExecuteSqlCommand.js +18 -41
  5. package/dist-cjs/commands/ExecuteStatementCommand.js +18 -41
  6. package/dist-cjs/commands/RollbackTransactionCommand.js +18 -41
  7. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  8. package/dist-es/commands/BatchExecuteStatementCommand.js +18 -41
  9. package/dist-es/commands/BeginTransactionCommand.js +18 -41
  10. package/dist-es/commands/CommitTransactionCommand.js +18 -41
  11. package/dist-es/commands/ExecuteSqlCommand.js +18 -41
  12. package/dist-es/commands/ExecuteStatementCommand.js +18 -41
  13. package/dist-es/commands/RollbackTransactionCommand.js +18 -41
  14. package/dist-es/endpoint/EndpointParameters.js +6 -0
  15. package/dist-types/commands/BatchExecuteStatementCommand.d.ts +6 -21
  16. package/dist-types/commands/BeginTransactionCommand.d.ts +6 -21
  17. package/dist-types/commands/CommitTransactionCommand.d.ts +6 -21
  18. package/dist-types/commands/ExecuteSqlCommand.d.ts +6 -21
  19. package/dist-types/commands/ExecuteStatementCommand.d.ts +6 -21
  20. package/dist-types/commands/RollbackTransactionCommand.d.ts +6 -21
  21. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  22. package/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +12 -24
  23. package/dist-types/ts3.4/commands/BeginTransactionCommand.d.ts +14 -23
  24. package/dist-types/ts3.4/commands/CommitTransactionCommand.d.ts +14 -23
  25. package/dist-types/ts3.4/commands/ExecuteSqlCommand.d.ts +14 -23
  26. package/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts +14 -23
  27. package/dist-types/ts3.4/commands/RollbackTransactionCommand.d.ts +14 -23
  28. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  29. package/package.json +11 -11
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ExecuteSqlCommand, se_ExecuteSqlCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ExecuteSqlCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, ExecuteSqlCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "RDSDataClient";
26
- const commandName = "ExecuteSqlCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "RdsDataService",
35
- operation: "ExecuteSql",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_ExecuteSqlCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ExecuteSqlCommand(output, context);
46
- }
7
+ export class ExecuteSqlCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("RdsDataService", "ExecuteSql", {})
19
+ .n("RDSDataClient", "ExecuteSqlCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ExecuteSqlCommand)
22
+ .de(de_ExecuteSqlCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ExecuteStatementCommand, se_ExecuteStatementCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ExecuteStatementCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, ExecuteStatementCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "RDSDataClient";
26
- const commandName = "ExecuteStatementCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "RdsDataService",
35
- operation: "ExecuteStatement",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_ExecuteStatementCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ExecuteStatementCommand(output, context);
46
- }
7
+ export class ExecuteStatementCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("RdsDataService", "ExecuteStatement", {})
19
+ .n("RDSDataClient", "ExecuteStatementCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ExecuteStatementCommand)
22
+ .de(de_ExecuteStatementCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_RollbackTransactionCommand, se_RollbackTransactionCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class RollbackTransactionCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, RollbackTransactionCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "RDSDataClient";
26
- const commandName = "RollbackTransactionCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "RdsDataService",
35
- operation: "RollbackTransaction",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_RollbackTransactionCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_RollbackTransactionCommand(output, context);
46
- }
7
+ export class RollbackTransactionCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("RdsDataService", "RollbackTransaction", {})
19
+ .n("RDSDataClient", "RollbackTransactionCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_RollbackTransactionCommand)
22
+ .de(de_RollbackTransactionCommand)
23
+ .build() {
47
24
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "rds-data",
7
7
  };
8
8
  };
9
+ export const commonParams = {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { BatchExecuteStatementRequest, BatchExecuteStatementResponse } from "../models/models_0";
5
4
  import { RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSDataClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface BatchExecuteStatementCommandInput extends BatchExecuteStatement
21
20
  */
22
21
  export interface BatchExecuteStatementCommandOutput extends BatchExecuteStatementResponse, __MetadataBearer {
23
22
  }
23
+ declare const BatchExecuteStatementCommand_base: {
24
+ new (input: BatchExecuteStatementCommandInput): import("@smithy/smithy-client").CommandImpl<BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput, RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Runs a batch SQL statement over an array of data.</p>
@@ -215,23 +218,5 @@ export interface BatchExecuteStatementCommandOutput extends BatchExecuteStatemen
215
218
  * <p>Base exception class for all service exceptions from RDSData service.</p>
216
219
  *
217
220
  */
218
- export declare class BatchExecuteStatementCommand extends $Command<BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput, RDSDataClientResolvedConfig> {
219
- readonly input: BatchExecuteStatementCommandInput;
220
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
221
- /**
222
- * @public
223
- */
224
- constructor(input: BatchExecuteStatementCommandInput);
225
- /**
226
- * @internal
227
- */
228
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RDSDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput>;
229
- /**
230
- * @internal
231
- */
232
- private serialize;
233
- /**
234
- * @internal
235
- */
236
- private deserialize;
221
+ export declare class BatchExecuteStatementCommand extends BatchExecuteStatementCommand_base {
237
222
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { BeginTransactionRequest, BeginTransactionResponse } from "../models/models_0";
5
4
  import { RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSDataClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface BeginTransactionCommandInput extends BeginTransactionRequest {
21
20
  */
22
21
  export interface BeginTransactionCommandOutput extends BeginTransactionResponse, __MetadataBearer {
23
22
  }
23
+ declare const BeginTransactionCommand_base: {
24
+ new (input: BeginTransactionCommandInput): import("@smithy/smithy-client").CommandImpl<BeginTransactionCommandInput, BeginTransactionCommandOutput, RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Starts a SQL transaction.</p>
@@ -113,23 +116,5 @@ export interface BeginTransactionCommandOutput extends BeginTransactionResponse,
113
116
  * <p>Base exception class for all service exceptions from RDSData service.</p>
114
117
  *
115
118
  */
116
- export declare class BeginTransactionCommand extends $Command<BeginTransactionCommandInput, BeginTransactionCommandOutput, RDSDataClientResolvedConfig> {
117
- readonly input: BeginTransactionCommandInput;
118
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
119
- /**
120
- * @public
121
- */
122
- constructor(input: BeginTransactionCommandInput);
123
- /**
124
- * @internal
125
- */
126
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RDSDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BeginTransactionCommandInput, BeginTransactionCommandOutput>;
127
- /**
128
- * @internal
129
- */
130
- private serialize;
131
- /**
132
- * @internal
133
- */
134
- private deserialize;
119
+ export declare class BeginTransactionCommand extends BeginTransactionCommand_base {
135
120
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CommitTransactionRequest, CommitTransactionResponse } from "../models/models_0";
5
4
  import { RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSDataClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CommitTransactionCommandInput extends CommitTransactionRequest
21
20
  */
22
21
  export interface CommitTransactionCommandOutput extends CommitTransactionResponse, __MetadataBearer {
23
22
  }
23
+ declare const CommitTransactionCommand_base: {
24
+ new (input: CommitTransactionCommandInput): import("@smithy/smithy-client").CommandImpl<CommitTransactionCommandInput, CommitTransactionCommandOutput, RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Ends a SQL transaction started with the <code>BeginTransaction</code> operation and
@@ -108,23 +111,5 @@ export interface CommitTransactionCommandOutput extends CommitTransactionRespons
108
111
  * <p>Base exception class for all service exceptions from RDSData service.</p>
109
112
  *
110
113
  */
111
- export declare class CommitTransactionCommand extends $Command<CommitTransactionCommandInput, CommitTransactionCommandOutput, RDSDataClientResolvedConfig> {
112
- readonly input: CommitTransactionCommandInput;
113
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
114
- /**
115
- * @public
116
- */
117
- constructor(input: CommitTransactionCommandInput);
118
- /**
119
- * @internal
120
- */
121
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RDSDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CommitTransactionCommandInput, CommitTransactionCommandOutput>;
122
- /**
123
- * @internal
124
- */
125
- private serialize;
126
- /**
127
- * @internal
128
- */
129
- private deserialize;
114
+ export declare class CommitTransactionCommand extends CommitTransactionCommand_base {
130
115
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { ExecuteSqlRequest, ExecuteSqlResponse } from "../models/models_0";
5
4
  import { RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSDataClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ExecuteSqlCommandInput extends ExecuteSqlRequest {
21
20
  */
22
21
  export interface ExecuteSqlCommandOutput extends ExecuteSqlResponse, __MetadataBearer {
23
22
  }
23
+ declare const ExecuteSqlCommand_base: {
24
+ new (input: ExecuteSqlCommandInput): import("@smithy/smithy-client").CommandImpl<ExecuteSqlCommandInput, ExecuteSqlCommandOutput, RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * @deprecated
@@ -141,23 +144,5 @@ export interface ExecuteSqlCommandOutput extends ExecuteSqlResponse, __MetadataB
141
144
  * <p>Base exception class for all service exceptions from RDSData service.</p>
142
145
  *
143
146
  */
144
- export declare class ExecuteSqlCommand extends $Command<ExecuteSqlCommandInput, ExecuteSqlCommandOutput, RDSDataClientResolvedConfig> {
145
- readonly input: ExecuteSqlCommandInput;
146
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
147
- /**
148
- * @public
149
- */
150
- constructor(input: ExecuteSqlCommandInput);
151
- /**
152
- * @internal
153
- */
154
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RDSDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ExecuteSqlCommandInput, ExecuteSqlCommandOutput>;
155
- /**
156
- * @internal
157
- */
158
- private serialize;
159
- /**
160
- * @internal
161
- */
162
- private deserialize;
147
+ export declare class ExecuteSqlCommand extends ExecuteSqlCommand_base {
163
148
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { ExecuteStatementRequest, ExecuteStatementResponse } from "../models/models_0";
5
4
  import { RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSDataClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ExecuteStatementCommandInput extends ExecuteStatementRequest {
21
20
  */
22
21
  export interface ExecuteStatementCommandOutput extends ExecuteStatementResponse, __MetadataBearer {
23
22
  }
23
+ declare const ExecuteStatementCommand_base: {
24
+ new (input: ExecuteStatementCommandInput): import("@smithy/smithy-client").CommandImpl<ExecuteStatementCommandInput, ExecuteStatementCommandOutput, RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Runs a SQL statement against a database.</p>
@@ -256,23 +259,5 @@ export interface ExecuteStatementCommandOutput extends ExecuteStatementResponse,
256
259
  * <p>Base exception class for all service exceptions from RDSData service.</p>
257
260
  *
258
261
  */
259
- export declare class ExecuteStatementCommand extends $Command<ExecuteStatementCommandInput, ExecuteStatementCommandOutput, RDSDataClientResolvedConfig> {
260
- readonly input: ExecuteStatementCommandInput;
261
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
262
- /**
263
- * @public
264
- */
265
- constructor(input: ExecuteStatementCommandInput);
266
- /**
267
- * @internal
268
- */
269
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RDSDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ExecuteStatementCommandInput, ExecuteStatementCommandOutput>;
270
- /**
271
- * @internal
272
- */
273
- private serialize;
274
- /**
275
- * @internal
276
- */
277
- private deserialize;
262
+ export declare class ExecuteStatementCommand extends ExecuteStatementCommand_base {
278
263
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { RollbackTransactionRequest, RollbackTransactionResponse } from "../models/models_0";
5
4
  import { RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSDataClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface RollbackTransactionCommandInput extends RollbackTransactionRequ
21
20
  */
22
21
  export interface RollbackTransactionCommandOutput extends RollbackTransactionResponse, __MetadataBearer {
23
22
  }
23
+ declare const RollbackTransactionCommand_base: {
24
+ new (input: RollbackTransactionCommandInput): import("@smithy/smithy-client").CommandImpl<RollbackTransactionCommandInput, RollbackTransactionCommandOutput, RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Performs a rollback of a transaction. Rolling back a transaction cancels its changes.</p>
@@ -107,23 +110,5 @@ export interface RollbackTransactionCommandOutput extends RollbackTransactionRes
107
110
  * <p>Base exception class for all service exceptions from RDSData service.</p>
108
111
  *
109
112
  */
110
- export declare class RollbackTransactionCommand extends $Command<RollbackTransactionCommandInput, RollbackTransactionCommandOutput, RDSDataClientResolvedConfig> {
111
- readonly input: RollbackTransactionCommandInput;
112
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
113
- /**
114
- * @public
115
- */
116
- constructor(input: RollbackTransactionCommandInput);
117
- /**
118
- * @internal
119
- */
120
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RDSDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RollbackTransactionCommandInput, RollbackTransactionCommandOutput>;
121
- /**
122
- * @internal
123
- */
124
- private serialize;
125
- /**
126
- * @internal
127
- */
128
- private deserialize;
113
+ export declare class RollbackTransactionCommand extends RollbackTransactionCommand_base {
129
114
  }
@@ -14,6 +14,24 @@ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
14
14
  export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
15
15
  defaultSigningName: string;
16
16
  };
17
+ export declare const commonParams: {
18
+ readonly UseFIPS: {
19
+ readonly type: "builtInParams";
20
+ readonly name: "useFipsEndpoint";
21
+ };
22
+ readonly Endpoint: {
23
+ readonly type: "builtInParams";
24
+ readonly name: "endpoint";
25
+ };
26
+ readonly Region: {
27
+ readonly type: "builtInParams";
28
+ readonly name: "region";
29
+ };
30
+ readonly UseDualStack: {
31
+ readonly type: "builtInParams";
32
+ readonly name: "useDualstackEndpoint";
33
+ };
34
+ };
17
35
  export interface EndpointParameters extends __EndpointParameters {
18
36
  Region?: string;
19
37
  UseDualStack?: boolean;
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  BatchExecuteStatementRequest,
11
5
  BatchExecuteStatementResponse,
@@ -21,22 +15,16 @@ export interface BatchExecuteStatementCommandInput
21
15
  export interface BatchExecuteStatementCommandOutput
22
16
  extends BatchExecuteStatementResponse,
23
17
  __MetadataBearer {}
24
- export declare class BatchExecuteStatementCommand extends $Command<
25
- BatchExecuteStatementCommandInput,
26
- BatchExecuteStatementCommandOutput,
27
- RDSDataClientResolvedConfig
28
- > {
29
- readonly input: BatchExecuteStatementCommandInput;
30
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
- constructor(input: BatchExecuteStatementCommandInput);
32
- resolveMiddleware(
33
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
- configuration: RDSDataClientResolvedConfig,
35
- options?: __HttpHandlerOptions
36
- ): Handler<
18
+ declare const BatchExecuteStatementCommand_base: {
19
+ new (
20
+ input: BatchExecuteStatementCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
37
22
  BatchExecuteStatementCommandInput,
38
- BatchExecuteStatementCommandOutput
23
+ BatchExecuteStatementCommandOutput,
24
+ RDSDataClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
39
27
  >;
40
- private serialize;
41
- private deserialize;
42
- }
28
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
+ };
30
+ export declare class BatchExecuteStatementCommand extends BatchExecuteStatementCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  BeginTransactionRequest,
11
5
  BeginTransactionResponse,
@@ -20,19 +14,16 @@ export interface BeginTransactionCommandInput extends BeginTransactionRequest {}
20
14
  export interface BeginTransactionCommandOutput
21
15
  extends BeginTransactionResponse,
22
16
  __MetadataBearer {}
23
- export declare class BeginTransactionCommand extends $Command<
24
- BeginTransactionCommandInput,
25
- BeginTransactionCommandOutput,
26
- RDSDataClientResolvedConfig
27
- > {
28
- readonly input: BeginTransactionCommandInput;
29
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
- constructor(input: BeginTransactionCommandInput);
31
- resolveMiddleware(
32
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
- configuration: RDSDataClientResolvedConfig,
34
- options?: __HttpHandlerOptions
35
- ): Handler<BeginTransactionCommandInput, BeginTransactionCommandOutput>;
36
- private serialize;
37
- private deserialize;
38
- }
17
+ declare const BeginTransactionCommand_base: {
18
+ new (
19
+ input: BeginTransactionCommandInput
20
+ ): import("@smithy/smithy-client").CommandImpl<
21
+ BeginTransactionCommandInput,
22
+ BeginTransactionCommandOutput,
23
+ RDSDataClientResolvedConfig,
24
+ ServiceInputTypes,
25
+ ServiceOutputTypes
26
+ >;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ export declare class BeginTransactionCommand extends BeginTransactionCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  CommitTransactionRequest,
11
5
  CommitTransactionResponse,
@@ -21,19 +15,16 @@ export interface CommitTransactionCommandInput
21
15
  export interface CommitTransactionCommandOutput
22
16
  extends CommitTransactionResponse,
23
17
  __MetadataBearer {}
24
- export declare class CommitTransactionCommand extends $Command<
25
- CommitTransactionCommandInput,
26
- CommitTransactionCommandOutput,
27
- RDSDataClientResolvedConfig
28
- > {
29
- readonly input: CommitTransactionCommandInput;
30
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
- constructor(input: CommitTransactionCommandInput);
32
- resolveMiddleware(
33
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
- configuration: RDSDataClientResolvedConfig,
35
- options?: __HttpHandlerOptions
36
- ): Handler<CommitTransactionCommandInput, CommitTransactionCommandOutput>;
37
- private serialize;
38
- private deserialize;
39
- }
18
+ declare const CommitTransactionCommand_base: {
19
+ new (
20
+ input: CommitTransactionCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ CommitTransactionCommandInput,
23
+ CommitTransactionCommandOutput,
24
+ RDSDataClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
+ };
30
+ export declare class CommitTransactionCommand extends CommitTransactionCommand_base {}