@aws-sdk/client-redshift-data 3.478.0 → 3.481.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 (45) hide show
  1. package/dist-cjs/commands/BatchExecuteStatementCommand.js +18 -41
  2. package/dist-cjs/commands/CancelStatementCommand.js +18 -41
  3. package/dist-cjs/commands/DescribeStatementCommand.js +18 -41
  4. package/dist-cjs/commands/DescribeTableCommand.js +18 -41
  5. package/dist-cjs/commands/ExecuteStatementCommand.js +18 -41
  6. package/dist-cjs/commands/GetStatementResultCommand.js +18 -41
  7. package/dist-cjs/commands/ListDatabasesCommand.js +18 -41
  8. package/dist-cjs/commands/ListSchemasCommand.js +18 -41
  9. package/dist-cjs/commands/ListStatementsCommand.js +18 -41
  10. package/dist-cjs/commands/ListTablesCommand.js +18 -41
  11. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  12. package/dist-es/commands/BatchExecuteStatementCommand.js +18 -41
  13. package/dist-es/commands/CancelStatementCommand.js +18 -41
  14. package/dist-es/commands/DescribeStatementCommand.js +18 -41
  15. package/dist-es/commands/DescribeTableCommand.js +18 -41
  16. package/dist-es/commands/ExecuteStatementCommand.js +18 -41
  17. package/dist-es/commands/GetStatementResultCommand.js +18 -41
  18. package/dist-es/commands/ListDatabasesCommand.js +18 -41
  19. package/dist-es/commands/ListSchemasCommand.js +18 -41
  20. package/dist-es/commands/ListStatementsCommand.js +18 -41
  21. package/dist-es/commands/ListTablesCommand.js +18 -41
  22. package/dist-es/endpoint/EndpointParameters.js +6 -0
  23. package/dist-types/commands/BatchExecuteStatementCommand.d.ts +6 -21
  24. package/dist-types/commands/CancelStatementCommand.d.ts +6 -21
  25. package/dist-types/commands/DescribeStatementCommand.d.ts +6 -21
  26. package/dist-types/commands/DescribeTableCommand.d.ts +6 -21
  27. package/dist-types/commands/ExecuteStatementCommand.d.ts +6 -21
  28. package/dist-types/commands/GetStatementResultCommand.d.ts +6 -21
  29. package/dist-types/commands/ListDatabasesCommand.d.ts +6 -21
  30. package/dist-types/commands/ListSchemasCommand.d.ts +6 -21
  31. package/dist-types/commands/ListStatementsCommand.d.ts +6 -21
  32. package/dist-types/commands/ListTablesCommand.d.ts +6 -21
  33. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  34. package/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +12 -24
  35. package/dist-types/ts3.4/commands/CancelStatementCommand.d.ts +14 -23
  36. package/dist-types/ts3.4/commands/DescribeStatementCommand.d.ts +14 -23
  37. package/dist-types/ts3.4/commands/DescribeTableCommand.d.ts +14 -23
  38. package/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts +14 -23
  39. package/dist-types/ts3.4/commands/GetStatementResultCommand.d.ts +14 -23
  40. package/dist-types/ts3.4/commands/ListDatabasesCommand.d.ts +14 -23
  41. package/dist-types/ts3.4/commands/ListSchemasCommand.d.ts +14 -23
  42. package/dist-types/ts3.4/commands/ListStatementsCommand.d.ts +14 -23
  43. package/dist-types/ts3.4/commands/ListTablesCommand.d.ts +14 -23
  44. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  45. package/package.json +9 -9
@@ -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_ListStatementsCommand, se_ListStatementsCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class ListStatementsCommand 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, ListStatementsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "RedshiftDataClient";
26
- const commandName = "ListStatementsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "RedshiftData",
35
- operation: "ListStatements",
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_ListStatementsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListStatementsCommand(output, context);
46
- }
7
+ export class ListStatementsCommand 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("RedshiftData", "ListStatements", {})
19
+ .n("RedshiftDataClient", "ListStatementsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListStatementsCommand)
22
+ .de(de_ListStatementsCommand)
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_ListTablesCommand, se_ListTablesCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class ListTablesCommand 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, ListTablesCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "RedshiftDataClient";
26
- const commandName = "ListTablesCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "RedshiftData",
35
- operation: "ListTables",
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_ListTablesCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListTablesCommand(output, context);
46
- }
7
+ export class ListTablesCommand 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("RedshiftData", "ListTables", {})
19
+ .n("RedshiftDataClient", "ListTablesCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListTablesCommand)
22
+ .de(de_ListTablesCommand)
23
+ .build() {
47
24
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "redshift-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 { BatchExecuteStatementInput, BatchExecuteStatementOutput } from "../models/models_0";
5
4
  import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface BatchExecuteStatementCommandInput extends BatchExecuteStatement
21
20
  */
22
21
  export interface BatchExecuteStatementCommandOutput extends BatchExecuteStatementOutput, __MetadataBearer {
23
22
  }
23
+ declare const BatchExecuteStatementCommand_base: {
24
+ new (input: BatchExecuteStatementCommandInput): import("@smithy/smithy-client").CommandImpl<BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput, RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Runs one or more SQL statements, which can be data manipulation language (DML) or data definition
@@ -112,23 +115,5 @@ export interface BatchExecuteStatementCommandOutput extends BatchExecuteStatemen
112
115
  * <p>Base exception class for all service exceptions from RedshiftData service.</p>
113
116
  *
114
117
  */
115
- export declare class BatchExecuteStatementCommand extends $Command<BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput, RedshiftDataClientResolvedConfig> {
116
- readonly input: BatchExecuteStatementCommandInput;
117
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
118
- /**
119
- * @public
120
- */
121
- constructor(input: BatchExecuteStatementCommandInput);
122
- /**
123
- * @internal
124
- */
125
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput>;
126
- /**
127
- * @internal
128
- */
129
- private serialize;
130
- /**
131
- * @internal
132
- */
133
- private deserialize;
118
+ export declare class BatchExecuteStatementCommand extends BatchExecuteStatementCommand_base {
134
119
  }
@@ -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 { CancelStatementRequest, CancelStatementResponse } from "../models/models_0";
5
4
  import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CancelStatementCommandInput extends CancelStatementRequest {
21
20
  */
22
21
  export interface CancelStatementCommandOutput extends CancelStatementResponse, __MetadataBearer {
23
22
  }
23
+ declare const CancelStatementCommand_base: {
24
+ new (input: CancelStatementCommandInput): import("@smithy/smithy-client").CommandImpl<CancelStatementCommandInput, CancelStatementCommandOutput, RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Cancels a running query. To be canceled, a query must be running. </p>
@@ -66,23 +69,5 @@ export interface CancelStatementCommandOutput extends CancelStatementResponse, _
66
69
  * <p>Base exception class for all service exceptions from RedshiftData service.</p>
67
70
  *
68
71
  */
69
- export declare class CancelStatementCommand extends $Command<CancelStatementCommandInput, CancelStatementCommandOutput, RedshiftDataClientResolvedConfig> {
70
- readonly input: CancelStatementCommandInput;
71
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
72
- /**
73
- * @public
74
- */
75
- constructor(input: CancelStatementCommandInput);
76
- /**
77
- * @internal
78
- */
79
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CancelStatementCommandInput, CancelStatementCommandOutput>;
80
- /**
81
- * @internal
82
- */
83
- private serialize;
84
- /**
85
- * @internal
86
- */
87
- private deserialize;
72
+ export declare class CancelStatementCommand extends CancelStatementCommand_base {
88
73
  }
@@ -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 { DescribeStatementRequest, DescribeStatementResponse } from "../models/models_0";
5
4
  import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DescribeStatementCommandInput extends DescribeStatementRequest
21
20
  */
22
21
  export interface DescribeStatementCommandOutput extends DescribeStatementResponse, __MetadataBearer {
23
22
  }
23
+ declare const DescribeStatementCommand_base: {
24
+ new (input: DescribeStatementCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeStatementCommandInput, DescribeStatementCommandOutput, RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Describes the details about a specific instance when a query was run by the Amazon Redshift Data API. The information
@@ -102,23 +105,5 @@ export interface DescribeStatementCommandOutput extends DescribeStatementRespons
102
105
  * <p>Base exception class for all service exceptions from RedshiftData service.</p>
103
106
  *
104
107
  */
105
- export declare class DescribeStatementCommand extends $Command<DescribeStatementCommandInput, DescribeStatementCommandOutput, RedshiftDataClientResolvedConfig> {
106
- readonly input: DescribeStatementCommandInput;
107
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
108
- /**
109
- * @public
110
- */
111
- constructor(input: DescribeStatementCommandInput);
112
- /**
113
- * @internal
114
- */
115
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeStatementCommandInput, DescribeStatementCommandOutput>;
116
- /**
117
- * @internal
118
- */
119
- private serialize;
120
- /**
121
- * @internal
122
- */
123
- private deserialize;
108
+ export declare class DescribeStatementCommand extends DescribeStatementCommand_base {
124
109
  }
@@ -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 { DescribeTableRequest, DescribeTableResponse } from "../models/models_0";
5
4
  import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DescribeTableCommandInput extends DescribeTableRequest {
21
20
  */
22
21
  export interface DescribeTableCommandOutput extends DescribeTableResponse, __MetadataBearer {
23
22
  }
23
+ declare const DescribeTableCommand_base: {
24
+ new (input: DescribeTableCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeTableCommandInput, DescribeTableCommandOutput, RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Describes the detailed information about a table from metadata in the cluster. The
@@ -124,23 +127,5 @@ export interface DescribeTableCommandOutput extends DescribeTableResponse, __Met
124
127
  * <p>Base exception class for all service exceptions from RedshiftData service.</p>
125
128
  *
126
129
  */
127
- export declare class DescribeTableCommand extends $Command<DescribeTableCommandInput, DescribeTableCommandOutput, RedshiftDataClientResolvedConfig> {
128
- readonly input: DescribeTableCommandInput;
129
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
130
- /**
131
- * @public
132
- */
133
- constructor(input: DescribeTableCommandInput);
134
- /**
135
- * @internal
136
- */
137
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeTableCommandInput, DescribeTableCommandOutput>;
138
- /**
139
- * @internal
140
- */
141
- private serialize;
142
- /**
143
- * @internal
144
- */
145
- private deserialize;
130
+ export declare class DescribeTableCommand extends DescribeTableCommand_base {
146
131
  }
@@ -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 { ExecuteStatementInput, ExecuteStatementOutput } from "../models/models_0";
5
4
  import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ExecuteStatementCommandInput extends ExecuteStatementInput {
21
20
  */
22
21
  export interface ExecuteStatementCommandOutput extends ExecuteStatementOutput, __MetadataBearer {
23
22
  }
23
+ declare const ExecuteStatementCommand_base: {
24
+ new (input: ExecuteStatementCommandInput): import("@smithy/smithy-client").CommandImpl<ExecuteStatementCommandInput, ExecuteStatementCommandOutput, RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Runs an SQL statement, which can be data manipulation language (DML) or data definition
@@ -116,23 +119,5 @@ export interface ExecuteStatementCommandOutput extends ExecuteStatementOutput, _
116
119
  * <p>Base exception class for all service exceptions from RedshiftData service.</p>
117
120
  *
118
121
  */
119
- export declare class ExecuteStatementCommand extends $Command<ExecuteStatementCommandInput, ExecuteStatementCommandOutput, RedshiftDataClientResolvedConfig> {
120
- readonly input: ExecuteStatementCommandInput;
121
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
122
- /**
123
- * @public
124
- */
125
- constructor(input: ExecuteStatementCommandInput);
126
- /**
127
- * @internal
128
- */
129
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ExecuteStatementCommandInput, ExecuteStatementCommandOutput>;
130
- /**
131
- * @internal
132
- */
133
- private serialize;
134
- /**
135
- * @internal
136
- */
137
- private deserialize;
122
+ export declare class ExecuteStatementCommand extends ExecuteStatementCommand_base {
138
123
  }
@@ -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 { GetStatementResultRequest, GetStatementResultResponse } from "../models/models_0";
5
4
  import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetStatementResultCommandInput extends GetStatementResultReques
21
20
  */
22
21
  export interface GetStatementResultCommandOutput extends GetStatementResultResponse, __MetadataBearer {
23
22
  }
23
+ declare const GetStatementResultCommand_base: {
24
+ new (input: GetStatementResultCommandInput): import("@smithy/smithy-client").CommandImpl<GetStatementResultCommandInput, GetStatementResultCommandOutput, RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Fetches the temporarily cached result of an SQL statement.
@@ -95,23 +98,5 @@ export interface GetStatementResultCommandOutput extends GetStatementResultRespo
95
98
  * <p>Base exception class for all service exceptions from RedshiftData service.</p>
96
99
  *
97
100
  */
98
- export declare class GetStatementResultCommand extends $Command<GetStatementResultCommandInput, GetStatementResultCommandOutput, RedshiftDataClientResolvedConfig> {
99
- readonly input: GetStatementResultCommandInput;
100
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
101
- /**
102
- * @public
103
- */
104
- constructor(input: GetStatementResultCommandInput);
105
- /**
106
- * @internal
107
- */
108
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetStatementResultCommandInput, GetStatementResultCommandOutput>;
109
- /**
110
- * @internal
111
- */
112
- private serialize;
113
- /**
114
- * @internal
115
- */
116
- private deserialize;
101
+ export declare class GetStatementResultCommand extends GetStatementResultCommand_base {
117
102
  }
@@ -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 { ListDatabasesRequest, ListDatabasesResponse } from "../models/models_0";
5
4
  import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ListDatabasesCommandInput extends ListDatabasesRequest {
21
20
  */
22
21
  export interface ListDatabasesCommandOutput extends ListDatabasesResponse, __MetadataBearer {
23
22
  }
23
+ declare const ListDatabasesCommand_base: {
24
+ new (input: ListDatabasesCommandInput): import("@smithy/smithy-client").CommandImpl<ListDatabasesCommandInput, ListDatabasesCommandOutput, RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>List the databases in a cluster.
@@ -105,23 +108,5 @@ export interface ListDatabasesCommandOutput extends ListDatabasesResponse, __Met
105
108
  * <p>Base exception class for all service exceptions from RedshiftData service.</p>
106
109
  *
107
110
  */
108
- export declare class ListDatabasesCommand extends $Command<ListDatabasesCommandInput, ListDatabasesCommandOutput, RedshiftDataClientResolvedConfig> {
109
- readonly input: ListDatabasesCommandInput;
110
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
111
- /**
112
- * @public
113
- */
114
- constructor(input: ListDatabasesCommandInput);
115
- /**
116
- * @internal
117
- */
118
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListDatabasesCommandInput, ListDatabasesCommandOutput>;
119
- /**
120
- * @internal
121
- */
122
- private serialize;
123
- /**
124
- * @internal
125
- */
126
- private deserialize;
111
+ export declare class ListDatabasesCommand extends ListDatabasesCommand_base {
127
112
  }
@@ -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 { ListSchemasRequest, ListSchemasResponse } from "../models/models_0";
5
4
  import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ListSchemasCommandInput extends ListSchemasRequest {
21
20
  */
22
21
  export interface ListSchemasCommandOutput extends ListSchemasResponse, __MetadataBearer {
23
22
  }
23
+ declare const ListSchemasCommand_base: {
24
+ new (input: ListSchemasCommandInput): import("@smithy/smithy-client").CommandImpl<ListSchemasCommandInput, ListSchemasCommandOutput, RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Lists the schemas in a database.
@@ -107,23 +110,5 @@ export interface ListSchemasCommandOutput extends ListSchemasResponse, __Metadat
107
110
  * <p>Base exception class for all service exceptions from RedshiftData service.</p>
108
111
  *
109
112
  */
110
- export declare class ListSchemasCommand extends $Command<ListSchemasCommandInput, ListSchemasCommandOutput, RedshiftDataClientResolvedConfig> {
111
- readonly input: ListSchemasCommandInput;
112
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
113
- /**
114
- * @public
115
- */
116
- constructor(input: ListSchemasCommandInput);
117
- /**
118
- * @internal
119
- */
120
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListSchemasCommandInput, ListSchemasCommandOutput>;
121
- /**
122
- * @internal
123
- */
124
- private serialize;
125
- /**
126
- * @internal
127
- */
128
- private deserialize;
113
+ export declare class ListSchemasCommand extends ListSchemasCommand_base {
129
114
  }
@@ -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 { ListStatementsRequest, ListStatementsResponse } from "../models/models_0";
5
4
  import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ListStatementsCommandInput extends ListStatementsRequest {
21
20
  */
22
21
  export interface ListStatementsCommandOutput extends ListStatementsResponse, __MetadataBearer {
23
22
  }
23
+ declare const ListStatementsCommand_base: {
24
+ new (input: ListStatementsCommandInput): import("@smithy/smithy-client").CommandImpl<ListStatementsCommandInput, ListStatementsCommandOutput, RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>List of SQL statements. By default, only finished statements are shown.
@@ -86,23 +89,5 @@ export interface ListStatementsCommandOutput extends ListStatementsResponse, __M
86
89
  * <p>Base exception class for all service exceptions from RedshiftData service.</p>
87
90
  *
88
91
  */
89
- export declare class ListStatementsCommand extends $Command<ListStatementsCommandInput, ListStatementsCommandOutput, RedshiftDataClientResolvedConfig> {
90
- readonly input: ListStatementsCommandInput;
91
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
92
- /**
93
- * @public
94
- */
95
- constructor(input: ListStatementsCommandInput);
96
- /**
97
- * @internal
98
- */
99
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListStatementsCommandInput, ListStatementsCommandOutput>;
100
- /**
101
- * @internal
102
- */
103
- private serialize;
104
- /**
105
- * @internal
106
- */
107
- private deserialize;
92
+ export declare class ListStatementsCommand extends ListStatementsCommand_base {
108
93
  }
@@ -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 { ListTablesRequest, ListTablesResponse } from "../models/models_0";
5
4
  import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ListTablesCommandInput extends ListTablesRequest {
21
20
  */
22
21
  export interface ListTablesCommandOutput extends ListTablesResponse, __MetadataBearer {
23
22
  }
23
+ declare const ListTablesCommand_base: {
24
+ new (input: ListTablesCommandInput): import("@smithy/smithy-client").CommandImpl<ListTablesCommandInput, ListTablesCommandOutput, RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>List the tables in a database. If neither <code>SchemaPattern</code> nor <code>TablePattern</code> are specified, then
@@ -113,23 +116,5 @@ export interface ListTablesCommandOutput extends ListTablesResponse, __MetadataB
113
116
  * <p>Base exception class for all service exceptions from RedshiftData service.</p>
114
117
  *
115
118
  */
116
- export declare class ListTablesCommand extends $Command<ListTablesCommandInput, ListTablesCommandOutput, RedshiftDataClientResolvedConfig> {
117
- readonly input: ListTablesCommandInput;
118
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
119
- /**
120
- * @public
121
- */
122
- constructor(input: ListTablesCommandInput);
123
- /**
124
- * @internal
125
- */
126
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTablesCommandInput, ListTablesCommandOutput>;
127
- /**
128
- * @internal
129
- */
130
- private serialize;
131
- /**
132
- * @internal
133
- */
134
- private deserialize;
119
+ export declare class ListTablesCommand extends ListTablesCommand_base {
135
120
  }
@@ -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;