@aws-sdk/client-redshift-data 3.33.0 → 3.36.1
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/CHANGELOG.md +47 -0
- package/{dist/cjs → dist-cjs}/RedshiftData.js +1 -9
- package/{dist/cjs → dist-cjs}/RedshiftDataClient.js +8 -21
- package/dist-cjs/commands/BatchExecuteStatementCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/CancelStatementCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeStatementCommand.js +2 -29
- package/dist-cjs/commands/DescribeTableCommand.js +36 -0
- package/dist-cjs/commands/ExecuteStatementCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/GetStatementResultCommand.js +2 -28
- package/dist-cjs/commands/ListDatabasesCommand.js +36 -0
- package/dist-cjs/commands/ListSchemasCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/ListStatementsCommand.js +2 -28
- package/dist-cjs/commands/ListTablesCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -97
- package/{dist/cjs → dist-cjs}/pagination/DescribeTablePaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/GetStatementResultPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListDatabasesPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListSchemasPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListStatementsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListTablesPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -6
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
- package/{dist/es → dist-es}/RedshiftData.js +2 -10
- package/{dist/es → dist-es}/RedshiftDataClient.js +2 -15
- package/dist-es/commands/BatchExecuteStatementCommand.js +39 -0
- package/{dist/es → dist-es}/commands/CancelStatementCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DescribeStatementCommand.js +4 -32
- package/dist-es/commands/DescribeTableCommand.js +39 -0
- package/dist-es/commands/ExecuteStatementCommand.js +39 -0
- package/{dist/es → dist-es}/commands/GetStatementResultCommand.js +4 -31
- package/dist-es/commands/ListDatabasesCommand.js +39 -0
- package/dist-es/commands/ListSchemasCommand.js +39 -0
- package/{dist/es → dist-es}/commands/ListStatementsCommand.js +4 -31
- package/dist-es/commands/ListTablesCommand.js +39 -0
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -97
- package/{dist/es → dist-es}/pagination/DescribeTablePaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/GetStatementResultPaginator.js +17 -30
- package/dist-es/pagination/Interfaces.js +1 -0
- package/{dist/es → dist-es}/pagination/ListDatabasesPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListSchemasPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListStatementsPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListTablesPaginator.js +17 -30
- package/{dist/es → dist-es}/protocols/Aws_json1_1.js +178 -184
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
- package/{dist/types → dist-types}/RedshiftData.d.ts +2 -2
- package/{dist/types → dist-types}/RedshiftDataClient.d.ts +8 -8
- package/{dist/types → dist-types}/commands/BatchExecuteStatementCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/CancelStatementCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DescribeStatementCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DescribeTableCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ExecuteStatementCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetStatementResultCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListDatabasesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListSchemasCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListStatementsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListTablesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/pagination/DescribeTablePaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/GetStatementResultPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListDatabasesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListSchemasPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListStatementsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListTablesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +2 -2
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/dist-types/ts3.4/RedshiftData.d.ts +55 -0
- package/{dist/types → dist-types}/ts3.4/RedshiftDataClient.d.ts +32 -101
- package/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CancelStatementCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeStatementCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeTableCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetStatementResultCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListDatabasesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListSchemasCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListStatementsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTablesCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/dist-types/ts3.4/models/models_0.d.ts +613 -0
- package/{dist/types → dist-types}/ts3.4/pagination/DescribeTablePaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/GetStatementResultPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListDatabasesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListSchemasPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListStatementsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListTablesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +52 -49
- package/RedshiftData.ts +0 -451
- package/RedshiftDataClient.ts +0 -272
- package/commands/BatchExecuteStatementCommand.ts +0 -108
- package/commands/CancelStatementCommand.ts +0 -94
- package/commands/DescribeStatementCommand.ts +0 -96
- package/commands/DescribeTableCommand.ts +0 -109
- package/commands/ExecuteStatementCommand.ts +0 -108
- package/commands/GetStatementResultCommand.ts +0 -95
- package/commands/ListDatabasesCommand.ts +0 -108
- package/commands/ListSchemasCommand.ts +0 -108
- package/commands/ListStatementsCommand.ts +0 -95
- package/commands/ListTablesCommand.ts +0 -109
- package/dist/cjs/RedshiftData.js.map +0 -1
- package/dist/cjs/RedshiftDataClient.js.map +0 -1
- package/dist/cjs/commands/BatchExecuteStatementCommand.js +0 -75
- package/dist/cjs/commands/BatchExecuteStatementCommand.js.map +0 -1
- package/dist/cjs/commands/CancelStatementCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeStatementCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeTableCommand.js +0 -76
- package/dist/cjs/commands/DescribeTableCommand.js.map +0 -1
- package/dist/cjs/commands/ExecuteStatementCommand.js +0 -75
- package/dist/cjs/commands/ExecuteStatementCommand.js.map +0 -1
- package/dist/cjs/commands/GetStatementResultCommand.js.map +0 -1
- package/dist/cjs/commands/ListDatabasesCommand.js +0 -75
- package/dist/cjs/commands/ListDatabasesCommand.js.map +0 -1
- package/dist/cjs/commands/ListSchemasCommand.js +0 -75
- package/dist/cjs/commands/ListSchemasCommand.js.map +0 -1
- package/dist/cjs/commands/ListStatementsCommand.js.map +0 -1
- package/dist/cjs/commands/ListTablesCommand.js +0 -76
- package/dist/cjs/commands/ListTablesCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -91
- package/dist/cjs/pagination/DescribeTablePaginator.js.map +0 -1
- package/dist/cjs/pagination/GetStatementResultPaginator.js.map +0 -1
- package/dist/cjs/pagination/Interfaces.js.map +0 -1
- package/dist/cjs/pagination/ListDatabasesPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListSchemasPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListStatementsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListTablesPaginator.js.map +0 -1
- package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/RedshiftData.js.map +0 -1
- package/dist/es/RedshiftDataClient.js.map +0 -1
- package/dist/es/commands/BatchExecuteStatementCommand.js +0 -79
- package/dist/es/commands/BatchExecuteStatementCommand.js.map +0 -1
- package/dist/es/commands/CancelStatementCommand.js.map +0 -1
- package/dist/es/commands/DescribeStatementCommand.js.map +0 -1
- package/dist/es/commands/DescribeTableCommand.js +0 -80
- package/dist/es/commands/DescribeTableCommand.js.map +0 -1
- package/dist/es/commands/ExecuteStatementCommand.js +0 -79
- package/dist/es/commands/ExecuteStatementCommand.js.map +0 -1
- package/dist/es/commands/GetStatementResultCommand.js.map +0 -1
- package/dist/es/commands/ListDatabasesCommand.js +0 -79
- package/dist/es/commands/ListDatabasesCommand.js.map +0 -1
- package/dist/es/commands/ListSchemasCommand.js +0 -79
- package/dist/es/commands/ListSchemasCommand.js.map +0 -1
- package/dist/es/commands/ListStatementsCommand.js.map +0 -1
- package/dist/es/commands/ListTablesCommand.js +0 -80
- package/dist/es/commands/ListTablesCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -21
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -91
- package/dist/es/pagination/DescribeTablePaginator.js.map +0 -1
- package/dist/es/pagination/GetStatementResultPaginator.js.map +0 -1
- package/dist/es/pagination/Interfaces.js +0 -2
- package/dist/es/pagination/Interfaces.js.map +0 -1
- package/dist/es/pagination/ListDatabasesPaginator.js.map +0 -1
- package/dist/es/pagination/ListSchemasPaginator.js.map +0 -1
- package/dist/es/pagination/ListStatementsPaginator.js.map +0 -1
- package/dist/es/pagination/ListTablesPaginator.js.map +0 -1
- package/dist/es/protocols/Aws_json1_1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/dist/types/ts3.4/RedshiftData.d.ts +0 -171
- package/dist/types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +0 -49
- package/dist/types/ts3.4/commands/CancelStatementCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DescribeStatementCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/DescribeTableCommand.d.ts +0 -50
- package/dist/types/ts3.4/commands/ExecuteStatementCommand.d.ts +0 -49
- package/dist/types/ts3.4/commands/GetStatementResultCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/ListDatabasesCommand.d.ts +0 -49
- package/dist/types/ts3.4/commands/ListSchemasCommand.d.ts +0 -49
- package/dist/types/ts3.4/commands/ListStatementsCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/ListTablesCommand.d.ts +0 -50
- package/dist/types/ts3.4/models/models_0.d.ts +0 -1103
- package/endpoints.ts +0 -57
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -1379
- package/pagination/DescribeTablePaginator.ts +0 -58
- package/pagination/GetStatementResultPaginator.ts +0 -57
- package/pagination/Interfaces.ts +0 -7
- package/pagination/ListDatabasesPaginator.ts +0 -58
- package/pagination/ListSchemasPaginator.ts +0 -54
- package/pagination/ListStatementsPaginator.ts +0 -58
- package/pagination/ListTablesPaginator.ts +0 -54
- package/protocols/Aws_json1_1.ts +0 -1614
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -12
- package/tsconfig.json +0 -32
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
3
2
|
import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
|
|
4
3
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
5
4
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
@@ -8,14 +7,8 @@ import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
|
|
|
8
7
|
import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
|
|
9
8
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
10
9
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
* can run SQL statements, which are committed if the statement succeeds. </p>
|
|
14
|
-
* <p>For more information about the Amazon Redshift Data API, see
|
|
15
|
-
* <a href="https://docs.aws.amazon.com/redshift/latest/mgmt/data-api.html">Using the Amazon Redshift Data API</a> in the
|
|
16
|
-
* <i>Amazon Redshift Cluster Management Guide</i>. </p>
|
|
17
|
-
*/
|
|
18
|
-
var RedshiftDataClient = /** @class */ (function (_super) {
|
|
10
|
+
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
11
|
+
var RedshiftDataClient = (function (_super) {
|
|
19
12
|
__extends(RedshiftDataClient, _super);
|
|
20
13
|
function RedshiftDataClient(configuration) {
|
|
21
14
|
var _this = this;
|
|
@@ -36,15 +29,9 @@ var RedshiftDataClient = /** @class */ (function (_super) {
|
|
|
36
29
|
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
37
30
|
return _this;
|
|
38
31
|
}
|
|
39
|
-
/**
|
|
40
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
41
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
42
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
43
|
-
*/
|
|
44
32
|
RedshiftDataClient.prototype.destroy = function () {
|
|
45
33
|
_super.prototype.destroy.call(this);
|
|
46
34
|
};
|
|
47
35
|
return RedshiftDataClient;
|
|
48
36
|
}(__Client));
|
|
49
37
|
export { RedshiftDataClient };
|
|
50
|
-
//# sourceMappingURL=RedshiftDataClient.js.map
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { BatchExecuteStatementInput, BatchExecuteStatementOutput } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1BatchExecuteStatementCommand, serializeAws_json1_1BatchExecuteStatementCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var BatchExecuteStatementCommand = (function (_super) {
|
|
7
|
+
__extends(BatchExecuteStatementCommand, _super);
|
|
8
|
+
function BatchExecuteStatementCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
BatchExecuteStatementCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "RedshiftDataClient";
|
|
18
|
+
var commandName = "BatchExecuteStatementCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: BatchExecuteStatementInput.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: BatchExecuteStatementOutput.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
BatchExecuteStatementCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1BatchExecuteStatementCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
BatchExecuteStatementCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1BatchExecuteStatementCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return BatchExecuteStatementCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { BatchExecuteStatementCommand };
|
|
@@ -1,40 +1,15 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { CancelStatementRequest, CancelStatementResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1CancelStatementCommand, serializeAws_json1_1CancelStatementCommand, } from "../protocols/Aws_json1_1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { RedshiftDataClient, CancelStatementCommand } from "@aws-sdk/client-redshift-data"; // ES Modules import
|
|
12
|
-
* // const { RedshiftDataClient, CancelStatementCommand } = require("@aws-sdk/client-redshift-data"); // CommonJS import
|
|
13
|
-
* const client = new RedshiftDataClient(config);
|
|
14
|
-
* const command = new CancelStatementCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link CancelStatementCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link CancelStatementCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link RedshiftDataClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var CancelStatementCommand = /** @class */ (function (_super) {
|
|
4
|
+
import { CancelStatementRequest, CancelStatementResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1CancelStatementCommand, serializeAws_json1_1CancelStatementCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var CancelStatementCommand = (function (_super) {
|
|
24
7
|
__extends(CancelStatementCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function CancelStatementCommand(input) {
|
|
28
|
-
var _this =
|
|
29
|
-
// Start section: command_constructor
|
|
30
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
31
10
|
_this.input = input;
|
|
32
11
|
return _this;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
CancelStatementCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -62,4 +37,3 @@ var CancelStatementCommand = /** @class */ (function (_super) {
|
|
|
62
37
|
return CancelStatementCommand;
|
|
63
38
|
}($Command));
|
|
64
39
|
export { CancelStatementCommand };
|
|
65
|
-
//# sourceMappingURL=CancelStatementCommand.js.map
|
|
@@ -1,42 +1,15 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { DescribeStatementRequest, DescribeStatementResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1DescribeStatementCommand, serializeAws_json1_1DescribeStatementCommand, } from "../protocols/Aws_json1_1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
* statement. </p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { RedshiftDataClient, DescribeStatementCommand } from "@aws-sdk/client-redshift-data"; // ES Modules import
|
|
14
|
-
* // const { RedshiftDataClient, DescribeStatementCommand } = require("@aws-sdk/client-redshift-data"); // CommonJS import
|
|
15
|
-
* const client = new RedshiftDataClient(config);
|
|
16
|
-
* const command = new DescribeStatementCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DescribeStatementCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DescribeStatementCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link RedshiftDataClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
|
-
var DescribeStatementCommand = /** @class */ (function (_super) {
|
|
4
|
+
import { DescribeStatementRequest, DescribeStatementResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1DescribeStatementCommand, serializeAws_json1_1DescribeStatementCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var DescribeStatementCommand = (function (_super) {
|
|
26
7
|
__extends(DescribeStatementCommand, _super);
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
8
|
function DescribeStatementCommand(input) {
|
|
30
|
-
var _this =
|
|
31
|
-
// Start section: command_constructor
|
|
32
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
33
10
|
_this.input = input;
|
|
34
11
|
return _this;
|
|
35
|
-
// End section: command_constructor
|
|
36
12
|
}
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
40
13
|
DescribeStatementCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
41
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
42
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -64,4 +37,3 @@ var DescribeStatementCommand = /** @class */ (function (_super) {
|
|
|
64
37
|
return DescribeStatementCommand;
|
|
65
38
|
}($Command));
|
|
66
39
|
export { DescribeStatementCommand };
|
|
67
|
-
//# sourceMappingURL=DescribeStatementCommand.js.map
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DescribeTableRequest, DescribeTableResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1DescribeTableCommand, serializeAws_json1_1DescribeTableCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var DescribeTableCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeTableCommand, _super);
|
|
8
|
+
function DescribeTableCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
DescribeTableCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "RedshiftDataClient";
|
|
18
|
+
var commandName = "DescribeTableCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: DescribeTableRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DescribeTableResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DescribeTableCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1DescribeTableCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
DescribeTableCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1DescribeTableCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return DescribeTableCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeTableCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { ExecuteStatementInput, ExecuteStatementOutput } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1ExecuteStatementCommand, serializeAws_json1_1ExecuteStatementCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var ExecuteStatementCommand = (function (_super) {
|
|
7
|
+
__extends(ExecuteStatementCommand, _super);
|
|
8
|
+
function ExecuteStatementCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
ExecuteStatementCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "RedshiftDataClient";
|
|
18
|
+
var commandName = "ExecuteStatementCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: ExecuteStatementInput.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: ExecuteStatementOutput.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ExecuteStatementCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1ExecuteStatementCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
ExecuteStatementCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1ExecuteStatementCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return ExecuteStatementCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ExecuteStatementCommand };
|
|
@@ -1,41 +1,15 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { GetStatementResultRequest, GetStatementResultResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1GetStatementResultCommand, serializeAws_json1_1GetStatementResultCommand, } from "../protocols/Aws_json1_1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
* @example
|
|
10
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
11
|
-
* ```javascript
|
|
12
|
-
* import { RedshiftDataClient, GetStatementResultCommand } from "@aws-sdk/client-redshift-data"; // ES Modules import
|
|
13
|
-
* // const { RedshiftDataClient, GetStatementResultCommand } = require("@aws-sdk/client-redshift-data"); // CommonJS import
|
|
14
|
-
* const client = new RedshiftDataClient(config);
|
|
15
|
-
* const command = new GetStatementResultCommand(input);
|
|
16
|
-
* const response = await client.send(command);
|
|
17
|
-
* ```
|
|
18
|
-
*
|
|
19
|
-
* @see {@link GetStatementResultCommandInput} for command's `input` shape.
|
|
20
|
-
* @see {@link GetStatementResultCommandOutput} for command's `response` shape.
|
|
21
|
-
* @see {@link RedshiftDataClientResolvedConfig | config} for command's `input` shape.
|
|
22
|
-
*
|
|
23
|
-
*/
|
|
24
|
-
var GetStatementResultCommand = /** @class */ (function (_super) {
|
|
4
|
+
import { GetStatementResultRequest, GetStatementResultResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1GetStatementResultCommand, serializeAws_json1_1GetStatementResultCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var GetStatementResultCommand = (function (_super) {
|
|
25
7
|
__extends(GetStatementResultCommand, _super);
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
8
|
function GetStatementResultCommand(input) {
|
|
29
|
-
var _this =
|
|
30
|
-
// Start section: command_constructor
|
|
31
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
32
10
|
_this.input = input;
|
|
33
11
|
return _this;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
GetStatementResultCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -63,4 +37,3 @@ var GetStatementResultCommand = /** @class */ (function (_super) {
|
|
|
63
37
|
return GetStatementResultCommand;
|
|
64
38
|
}($Command));
|
|
65
39
|
export { GetStatementResultCommand };
|
|
66
|
-
//# sourceMappingURL=GetStatementResultCommand.js.map
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { ListDatabasesRequest, ListDatabasesResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1ListDatabasesCommand, serializeAws_json1_1ListDatabasesCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var ListDatabasesCommand = (function (_super) {
|
|
7
|
+
__extends(ListDatabasesCommand, _super);
|
|
8
|
+
function ListDatabasesCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
ListDatabasesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "RedshiftDataClient";
|
|
18
|
+
var commandName = "ListDatabasesCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: ListDatabasesRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: ListDatabasesResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListDatabasesCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1ListDatabasesCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
ListDatabasesCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1ListDatabasesCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return ListDatabasesCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListDatabasesCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { ListSchemasRequest, ListSchemasResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1ListSchemasCommand, serializeAws_json1_1ListSchemasCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var ListSchemasCommand = (function (_super) {
|
|
7
|
+
__extends(ListSchemasCommand, _super);
|
|
8
|
+
function ListSchemasCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
ListSchemasCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "RedshiftDataClient";
|
|
18
|
+
var commandName = "ListSchemasCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: ListSchemasRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: ListSchemasResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListSchemasCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1ListSchemasCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
ListSchemasCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1ListSchemasCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return ListSchemasCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListSchemasCommand };
|
|
@@ -1,41 +1,15 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { ListStatementsRequest, ListStatementsResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1ListStatementsCommand, serializeAws_json1_1ListStatementsCommand, } from "../protocols/Aws_json1_1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
* @example
|
|
10
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
11
|
-
* ```javascript
|
|
12
|
-
* import { RedshiftDataClient, ListStatementsCommand } from "@aws-sdk/client-redshift-data"; // ES Modules import
|
|
13
|
-
* // const { RedshiftDataClient, ListStatementsCommand } = require("@aws-sdk/client-redshift-data"); // CommonJS import
|
|
14
|
-
* const client = new RedshiftDataClient(config);
|
|
15
|
-
* const command = new ListStatementsCommand(input);
|
|
16
|
-
* const response = await client.send(command);
|
|
17
|
-
* ```
|
|
18
|
-
*
|
|
19
|
-
* @see {@link ListStatementsCommandInput} for command's `input` shape.
|
|
20
|
-
* @see {@link ListStatementsCommandOutput} for command's `response` shape.
|
|
21
|
-
* @see {@link RedshiftDataClientResolvedConfig | config} for command's `input` shape.
|
|
22
|
-
*
|
|
23
|
-
*/
|
|
24
|
-
var ListStatementsCommand = /** @class */ (function (_super) {
|
|
4
|
+
import { ListStatementsRequest, ListStatementsResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1ListStatementsCommand, serializeAws_json1_1ListStatementsCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var ListStatementsCommand = (function (_super) {
|
|
25
7
|
__extends(ListStatementsCommand, _super);
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
8
|
function ListStatementsCommand(input) {
|
|
29
|
-
var _this =
|
|
30
|
-
// Start section: command_constructor
|
|
31
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
32
10
|
_this.input = input;
|
|
33
11
|
return _this;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
ListStatementsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -63,4 +37,3 @@ var ListStatementsCommand = /** @class */ (function (_super) {
|
|
|
63
37
|
return ListStatementsCommand;
|
|
64
38
|
}($Command));
|
|
65
39
|
export { ListStatementsCommand };
|
|
66
|
-
//# sourceMappingURL=ListStatementsCommand.js.map
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { ListTablesRequest, ListTablesResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1ListTablesCommand, serializeAws_json1_1ListTablesCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var ListTablesCommand = (function (_super) {
|
|
7
|
+
__extends(ListTablesCommand, _super);
|
|
8
|
+
function ListTablesCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
ListTablesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "RedshiftDataClient";
|
|
18
|
+
var commandName = "ListTablesCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: ListTablesRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: ListTablesResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListTablesCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1ListTablesCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
ListTablesCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1ListTablesCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return ListTablesCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListTablesCommand };
|
|
@@ -47,7 +47,6 @@ var partitionHash = {
|
|
|
47
47
|
};
|
|
48
48
|
export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
|
|
49
49
|
return __generator(this, function (_a) {
|
|
50
|
-
return [2
|
|
50
|
+
return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "redshift-data", regionHash: regionHash, partitionHash: partitionHash }))];
|
|
51
51
|
});
|
|
52
52
|
}); };
|
|
53
|
-
//# sourceMappingURL=endpoints.js.map
|
|
File without changes
|
|
File without changes
|