@aws-sdk/client-redshift-data 3.31.0 → 3.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +39 -0
- package/{dist/cjs → dist-cjs}/RedshiftData.js +1 -1
- package/dist-cjs/RedshiftData.js.map +1 -0
- package/{dist/cjs → dist-cjs}/RedshiftDataClient.js +14 -14
- package/dist-cjs/RedshiftDataClient.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/BatchExecuteStatementCommand.js +5 -5
- package/dist-cjs/commands/BatchExecuteStatementCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/CancelStatementCommand.js +5 -5
- package/dist-cjs/commands/CancelStatementCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DescribeStatementCommand.js +5 -5
- package/dist-cjs/commands/DescribeStatementCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DescribeTableCommand.js +5 -5
- package/dist-cjs/commands/DescribeTableCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/ExecuteStatementCommand.js +5 -5
- package/dist-cjs/commands/ExecuteStatementCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/GetStatementResultCommand.js +5 -5
- package/dist-cjs/commands/GetStatementResultCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/ListDatabasesCommand.js +5 -5
- package/dist-cjs/commands/ListDatabasesCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/ListSchemasCommand.js +5 -5
- package/dist-cjs/commands/ListSchemasCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/ListStatementsCommand.js +5 -5
- package/dist-cjs/commands/ListStatementsCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/ListTablesCommand.js +5 -5
- package/dist-cjs/commands/ListTablesCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/endpoints.js +1 -1
- package/dist-cjs/endpoints.js.map +1 -0
- package/dist-cjs/index.js +24 -0
- package/dist-cjs/index.js.map +1 -0
- package/{dist/cjs → dist-cjs}/models/index.js +1 -1
- package/{dist/cjs → dist-cjs}/models/index.js.map +1 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -0
- package/dist-cjs/models/models_0.js.map +1 -0
- package/{dist/cjs → dist-cjs}/pagination/DescribeTablePaginator.js +1 -1
- package/dist-cjs/pagination/DescribeTablePaginator.js.map +1 -0
- package/{dist/cjs → dist-cjs}/pagination/GetStatementResultPaginator.js +1 -1
- package/dist-cjs/pagination/GetStatementResultPaginator.js.map +1 -0
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -0
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js.map +1 -1
- package/{dist/cjs → dist-cjs}/pagination/ListDatabasesPaginator.js +1 -1
- package/dist-cjs/pagination/ListDatabasesPaginator.js.map +1 -0
- package/{dist/cjs → dist-cjs}/pagination/ListSchemasPaginator.js +1 -1
- package/dist-cjs/pagination/ListSchemasPaginator.js.map +1 -0
- package/{dist/cjs → dist-cjs}/pagination/ListStatementsPaginator.js +1 -1
- package/dist-cjs/pagination/ListStatementsPaginator.js.map +1 -0
- package/{dist/cjs → dist-cjs}/pagination/ListTablesPaginator.js +1 -1
- package/dist-cjs/pagination/ListTablesPaginator.js.map +1 -0
- package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +97 -97
- package/dist-cjs/protocols/Aws_json1_1.js.map +1 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +5 -4
- package/dist-cjs/runtimeConfig.browser.js.map +1 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +10 -9
- package/dist-cjs/runtimeConfig.js.map +1 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +1 -1
- package/dist-cjs/runtimeConfig.native.js.map +1 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -1
- package/dist-cjs/runtimeConfig.shared.js.map +1 -0
- package/{dist/es → dist-es}/RedshiftData.js +2 -9
- package/dist-es/RedshiftData.js.map +1 -0
- package/{dist/es → dist-es}/RedshiftDataClient.js +2 -14
- package/dist-es/RedshiftDataClient.js.map +1 -0
- package/dist-es/commands/BatchExecuteStatementCommand.js +40 -0
- package/dist-es/commands/BatchExecuteStatementCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/CancelStatementCommand.js +4 -29
- package/dist-es/commands/CancelStatementCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DescribeStatementCommand.js +4 -31
- package/dist-es/commands/DescribeStatementCommand.js.map +1 -0
- package/dist-es/commands/DescribeTableCommand.js +40 -0
- package/dist-es/commands/DescribeTableCommand.js.map +1 -0
- package/dist-es/commands/ExecuteStatementCommand.js +40 -0
- package/dist-es/commands/ExecuteStatementCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/GetStatementResultCommand.js +4 -30
- package/dist-es/commands/GetStatementResultCommand.js.map +1 -0
- package/dist-es/commands/ListDatabasesCommand.js +40 -0
- package/dist-es/commands/ListDatabasesCommand.js.map +1 -0
- package/dist-es/commands/ListSchemasCommand.js +40 -0
- package/dist-es/commands/ListSchemasCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/ListStatementsCommand.js +4 -30
- package/dist-es/commands/ListStatementsCommand.js.map +1 -0
- package/dist-es/commands/ListTablesCommand.js +40 -0
- package/dist-es/commands/ListTablesCommand.js.map +1 -0
- package/{dist/es → dist-es}/endpoints.js +1 -1
- package/dist-es/endpoints.js.map +1 -0
- package/{dist/es → dist-es}/index.js +0 -0
- package/dist-es/index.js.map +1 -0
- package/{dist/es → dist-es}/models/index.js +0 -0
- package/dist-es/models/index.js.map +1 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -96
- package/dist-es/models/models_0.js.map +1 -0
- package/{dist/es → dist-es}/pagination/DescribeTablePaginator.js +17 -29
- package/dist-es/pagination/DescribeTablePaginator.js.map +1 -0
- package/{dist/es → dist-es}/pagination/GetStatementResultPaginator.js +17 -29
- package/dist-es/pagination/GetStatementResultPaginator.js.map +1 -0
- package/{dist/es → dist-es}/pagination/Interfaces.js +0 -0
- package/{dist/es → dist-es}/pagination/Interfaces.js.map +1 -1
- package/{dist/es → dist-es}/pagination/ListDatabasesPaginator.js +17 -29
- package/dist-es/pagination/ListDatabasesPaginator.js.map +1 -0
- package/{dist/es → dist-es}/pagination/ListSchemasPaginator.js +17 -29
- package/dist-es/pagination/ListSchemasPaginator.js.map +1 -0
- package/{dist/es → dist-es}/pagination/ListStatementsPaginator.js +17 -29
- package/dist-es/pagination/ListStatementsPaginator.js.map +1 -0
- package/{dist/es → dist-es}/pagination/ListTablesPaginator.js +17 -29
- package/dist-es/pagination/ListTablesPaginator.js.map +1 -0
- package/{dist/es → dist-es}/protocols/Aws_json1_1.js +178 -183
- package/dist-es/protocols/Aws_json1_1.js.map +1 -0
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -4
- package/dist-es/runtimeConfig.browser.js.map +1 -0
- package/{dist/es → dist-es}/runtimeConfig.js +2 -5
- package/dist-es/runtimeConfig.js.map +1 -0
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -3
- package/dist-es/runtimeConfig.native.js.map +1 -0
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -4
- package/dist-es/runtimeConfig.shared.js.map +1 -0
- 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/{dist/types → dist-types}/index.d.ts +0 -0
- package/{dist/types → 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 +1 -0
- package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +1 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/RedshiftData.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/RedshiftDataClient.d.ts +8 -8
- package/{dist/types → dist-types}/ts3.4/commands/BatchExecuteStatementCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/CancelStatementCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DescribeStatementCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DescribeTableCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ExecuteStatementCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/GetStatementResultCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ListDatabasesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ListSchemasCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ListStatementsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ListTablesCommand.d.ts +3 -3
- 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 → dist-types}/ts3.4/models/models_0.d.ts +0 -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 -0
- package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
- package/package.json +50 -50
- package/{RedshiftData.ts → src/RedshiftData.ts} +3 -2
- package/{RedshiftDataClient.ts → src/RedshiftDataClient.ts} +28 -27
- package/{commands → src/commands}/BatchExecuteStatementCommand.ts +8 -7
- package/{commands → src/commands}/CancelStatementCommand.ts +8 -7
- package/{commands → src/commands}/DescribeStatementCommand.ts +8 -7
- package/{commands → src/commands}/DescribeTableCommand.ts +8 -7
- package/{commands → src/commands}/ExecuteStatementCommand.ts +8 -7
- package/{commands → src/commands}/GetStatementResultCommand.ts +8 -7
- package/{commands → src/commands}/ListDatabasesCommand.ts +8 -7
- package/{commands → src/commands}/ListSchemasCommand.ts +8 -7
- package/{commands → src/commands}/ListStatementsCommand.ts +8 -7
- package/{commands → src/commands}/ListTablesCommand.ts +8 -7
- package/{endpoints.ts → src/endpoints.ts} +1 -1
- package/{index.ts → src/index.ts} +0 -0
- package/{models → src/models}/index.ts +0 -0
- package/{models → src/models}/models_0.ts +0 -0
- package/{pagination → src/pagination}/DescribeTablePaginator.ts +4 -3
- package/{pagination → src/pagination}/GetStatementResultPaginator.ts +4 -3
- package/{pagination → src/pagination}/Interfaces.ts +2 -1
- package/{pagination → src/pagination}/ListDatabasesPaginator.ts +4 -3
- package/{pagination → src/pagination}/ListSchemasPaginator.ts +3 -2
- package/{pagination → src/pagination}/ListStatementsPaginator.ts +4 -3
- package/{pagination → src/pagination}/ListTablesPaginator.ts +3 -2
- package/{protocols → src/protocols}/Aws_json1_1.ts +31 -30
- package/{runtimeConfig.browser.ts → src/runtimeConfig.browser.ts} +3 -2
- package/{runtimeConfig.native.ts → src/runtimeConfig.native.ts} +1 -0
- package/{runtimeConfig.shared.ts → src/runtimeConfig.shared.ts} +2 -1
- package/{runtimeConfig.ts → src/runtimeConfig.ts} +4 -3
- package/tsconfig.es.json +1 -3
- package/tsconfig.json +7 -7
- package/tsconfig.types.json +9 -0
- package/dist/cjs/RedshiftData.js.map +0 -1
- package/dist/cjs/RedshiftDataClient.js.map +0 -1
- 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.map +0 -1
- package/dist/cjs/commands/ExecuteStatementCommand.js.map +0 -1
- package/dist/cjs/commands/GetStatementResultCommand.js.map +0 -1
- package/dist/cjs/commands/ListDatabasesCommand.js.map +0 -1
- package/dist/cjs/commands/ListSchemasCommand.js.map +0 -1
- package/dist/cjs/commands/ListStatementsCommand.js.map +0 -1
- package/dist/cjs/commands/ListTablesCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js +0 -24
- package/dist/cjs/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/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.map +0 -1
- 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/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
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
2
|
-
import { BatchExecuteStatementInput, BatchExecuteStatementOutput } from "../models/models_0";
|
|
3
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler,
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { BatchExecuteStatementInput, BatchExecuteStatementOutput } from "../models/models_0";
|
|
4
|
+
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
5
5
|
export interface BatchExecuteStatementCommandInput extends BatchExecuteStatementInput {
|
|
6
6
|
}
|
|
7
7
|
export interface BatchExecuteStatementCommandOutput extends BatchExecuteStatementOutput, __MetadataBearer {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
2
|
-
import { CancelStatementRequest, CancelStatementResponse } from "../models/models_0";
|
|
3
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler,
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { CancelStatementRequest, CancelStatementResponse } from "../models/models_0";
|
|
4
|
+
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
5
5
|
export interface CancelStatementCommandInput extends CancelStatementRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface CancelStatementCommandOutput extends CancelStatementResponse, __MetadataBearer {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
2
|
-
import { DescribeStatementRequest, DescribeStatementResponse } from "../models/models_0";
|
|
3
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler,
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { DescribeStatementRequest, DescribeStatementResponse } from "../models/models_0";
|
|
4
|
+
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
5
5
|
export interface DescribeStatementCommandInput extends DescribeStatementRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface DescribeStatementCommandOutput extends DescribeStatementResponse, __MetadataBearer {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
2
|
-
import { DescribeTableRequest, DescribeTableResponse } from "../models/models_0";
|
|
3
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler,
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { DescribeTableRequest, DescribeTableResponse } from "../models/models_0";
|
|
4
|
+
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
5
5
|
export interface DescribeTableCommandInput extends DescribeTableRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface DescribeTableCommandOutput extends DescribeTableResponse, __MetadataBearer {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
2
|
-
import { ExecuteStatementInput, ExecuteStatementOutput } from "../models/models_0";
|
|
3
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler,
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ExecuteStatementInput, ExecuteStatementOutput } from "../models/models_0";
|
|
4
|
+
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
5
5
|
export interface ExecuteStatementCommandInput extends ExecuteStatementInput {
|
|
6
6
|
}
|
|
7
7
|
export interface ExecuteStatementCommandOutput extends ExecuteStatementOutput, __MetadataBearer {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
2
|
-
import { GetStatementResultRequest, GetStatementResultResponse } from "../models/models_0";
|
|
3
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler,
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { GetStatementResultRequest, GetStatementResultResponse } from "../models/models_0";
|
|
4
|
+
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
5
5
|
export interface GetStatementResultCommandInput extends GetStatementResultRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface GetStatementResultCommandOutput extends GetStatementResultResponse, __MetadataBearer {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
2
|
-
import { ListDatabasesRequest, ListDatabasesResponse } from "../models/models_0";
|
|
3
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler,
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ListDatabasesRequest, ListDatabasesResponse } from "../models/models_0";
|
|
4
|
+
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
5
5
|
export interface ListDatabasesCommandInput extends ListDatabasesRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface ListDatabasesCommandOutput extends ListDatabasesResponse, __MetadataBearer {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
2
|
-
import { ListSchemasRequest, ListSchemasResponse } from "../models/models_0";
|
|
3
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler,
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ListSchemasRequest, ListSchemasResponse } from "../models/models_0";
|
|
4
|
+
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
5
5
|
export interface ListSchemasCommandInput extends ListSchemasRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface ListSchemasCommandOutput extends ListSchemasResponse, __MetadataBearer {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
2
|
-
import { ListStatementsRequest, ListStatementsResponse } from "../models/models_0";
|
|
3
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler,
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ListStatementsRequest, ListStatementsResponse } from "../models/models_0";
|
|
4
|
+
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
5
5
|
export interface ListStatementsCommandInput extends ListStatementsRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface ListStatementsCommandOutput extends ListStatementsResponse, __MetadataBearer {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
2
|
-
import { ListTablesRequest, ListTablesResponse } from "../models/models_0";
|
|
3
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler,
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ListTablesRequest, ListTablesResponse } from "../models/models_0";
|
|
4
|
+
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
5
5
|
export interface ListTablesCommandInput extends ListTablesRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface ListTablesCommandOutput extends ListTablesResponse, __MetadataBearer {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
1
2
|
import { DescribeTableCommandInput, DescribeTableCommandOutput } from "../commands/DescribeTableCommand";
|
|
2
3
|
import { RedshiftDataPaginationConfiguration } from "./Interfaces";
|
|
3
|
-
import { Paginator } from "@aws-sdk/types";
|
|
4
4
|
export declare function paginateDescribeTable(config: RedshiftDataPaginationConfiguration, input: DescribeTableCommandInput, ...additionalArguments: any): Paginator<DescribeTableCommandOutput>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
1
2
|
import { GetStatementResultCommandInput, GetStatementResultCommandOutput } from "../commands/GetStatementResultCommand";
|
|
2
3
|
import { RedshiftDataPaginationConfiguration } from "./Interfaces";
|
|
3
|
-
import { Paginator } from "@aws-sdk/types";
|
|
4
4
|
export declare function paginateGetStatementResult(config: RedshiftDataPaginationConfiguration, input: GetStatementResultCommandInput, ...additionalArguments: any): Paginator<GetStatementResultCommandOutput>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
1
2
|
import { RedshiftData } from "../RedshiftData";
|
|
2
3
|
import { RedshiftDataClient } from "../RedshiftDataClient";
|
|
3
|
-
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
4
4
|
export interface RedshiftDataPaginationConfiguration extends PaginationConfiguration {
|
|
5
5
|
client: RedshiftData | RedshiftDataClient;
|
|
6
6
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
1
2
|
import { ListDatabasesCommandInput, ListDatabasesCommandOutput } from "../commands/ListDatabasesCommand";
|
|
2
3
|
import { RedshiftDataPaginationConfiguration } from "./Interfaces";
|
|
3
|
-
import { Paginator } from "@aws-sdk/types";
|
|
4
4
|
export declare function paginateListDatabases(config: RedshiftDataPaginationConfiguration, input: ListDatabasesCommandInput, ...additionalArguments: any): Paginator<ListDatabasesCommandOutput>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
1
2
|
import { ListSchemasCommandInput, ListSchemasCommandOutput } from "../commands/ListSchemasCommand";
|
|
2
3
|
import { RedshiftDataPaginationConfiguration } from "./Interfaces";
|
|
3
|
-
import { Paginator } from "@aws-sdk/types";
|
|
4
4
|
export declare function paginateListSchemas(config: RedshiftDataPaginationConfiguration, input: ListSchemasCommandInput, ...additionalArguments: any): Paginator<ListSchemasCommandOutput>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
1
2
|
import { ListStatementsCommandInput, ListStatementsCommandOutput } from "../commands/ListStatementsCommand";
|
|
2
3
|
import { RedshiftDataPaginationConfiguration } from "./Interfaces";
|
|
3
|
-
import { Paginator } from "@aws-sdk/types";
|
|
4
4
|
export declare function paginateListStatements(config: RedshiftDataPaginationConfiguration, input: ListStatementsCommandInput, ...additionalArguments: any): Paginator<ListStatementsCommandOutput>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
1
2
|
import { ListTablesCommandInput, ListTablesCommandOutput } from "../commands/ListTablesCommand";
|
|
2
3
|
import { RedshiftDataPaginationConfiguration } from "./Interfaces";
|
|
3
|
-
import { Paginator } from "@aws-sdk/types";
|
|
4
4
|
export declare function paginateListTables(config: RedshiftDataPaginationConfiguration, input: ListTablesCommandInput, ...additionalArguments: any): Paginator<ListTablesCommandOutput>;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
2
|
+
import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
1
3
|
import { BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput } from "../commands/BatchExecuteStatementCommand";
|
|
2
4
|
import { CancelStatementCommandInput, CancelStatementCommandOutput } from "../commands/CancelStatementCommand";
|
|
3
5
|
import { DescribeStatementCommandInput, DescribeStatementCommandOutput } from "../commands/DescribeStatementCommand";
|
|
@@ -8,8 +10,6 @@ import { ListDatabasesCommandInput, ListDatabasesCommandOutput } from "../comman
|
|
|
8
10
|
import { ListSchemasCommandInput, ListSchemasCommandOutput } from "../commands/ListSchemasCommand";
|
|
9
11
|
import { ListStatementsCommandInput, ListStatementsCommandOutput } from "../commands/ListStatementsCommand";
|
|
10
12
|
import { ListTablesCommandInput, ListTablesCommandOutput } from "../commands/ListTablesCommand";
|
|
11
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
12
|
-
import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
13
13
|
export declare const serializeAws_json1_1BatchExecuteStatementCommand: (input: BatchExecuteStatementCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
14
14
|
export declare const serializeAws_json1_1CancelStatementCommand: (input: CancelStatementCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
15
15
|
export declare const serializeAws_json1_1DescribeStatementCommand: (input: DescribeStatementCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -32,5 +32,6 @@ export declare const getRuntimeConfig: (config: RedshiftDataClientConfig) => {
|
|
|
32
32
|
signingEscapePath?: boolean | undefined;
|
|
33
33
|
systemClockOffset?: number | undefined;
|
|
34
34
|
signingRegion?: string | undefined;
|
|
35
|
+
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
35
36
|
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
36
37
|
};
|
|
@@ -1,36 +1,37 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
2
|
-
import { RedshiftDataClientConfig } from "./RedshiftDataClient";
|
|
3
|
-
/**
|
|
4
|
-
* @internal
|
|
5
|
-
*/
|
|
6
|
-
export declare const getRuntimeConfig: (config: RedshiftDataClientConfig) => {
|
|
7
|
-
runtime: string;
|
|
8
|
-
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
|
-
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
|
-
bodyLengthChecker: (body: any) => number | undefined;
|
|
11
|
-
credentialDefaultProvider: import("@aws-sdk/client-sts/dist
|
|
12
|
-
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
|
-
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
|
-
region: string | import("@aws-sdk/types").Provider<string>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
|
|
16
|
-
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
|
-
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
|
-
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
19
|
-
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
20
|
-
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
21
|
-
apiVersion: string;
|
|
22
|
-
urlParser: import("@aws-sdk/types").UrlParser;
|
|
23
|
-
disableHostPrefix: boolean;
|
|
24
|
-
logger: import("@aws-sdk/types").Logger;
|
|
25
|
-
serviceId: string;
|
|
26
|
-
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
|
-
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
28
|
-
tls?: boolean | undefined;
|
|
29
|
-
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
30
|
-
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
31
|
-
signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
|
|
32
|
-
signingEscapePath?: boolean | undefined;
|
|
33
|
-
systemClockOffset?: number | undefined;
|
|
34
|
-
signingRegion?: string | undefined;
|
|
35
|
-
|
|
36
|
-
|
|
1
|
+
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
2
|
+
import { RedshiftDataClientConfig } from "./RedshiftDataClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const getRuntimeConfig: (config: RedshiftDataClientConfig) => {
|
|
7
|
+
runtime: string;
|
|
8
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
|
+
bodyLengthChecker: (body: any) => number | undefined;
|
|
11
|
+
credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
|
|
12
|
+
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
|
+
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
|
+
region: string | import("@aws-sdk/types").Provider<string>;
|
|
15
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
|
|
16
|
+
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
|
+
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
|
+
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
19
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
20
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
21
|
+
apiVersion: string;
|
|
22
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
23
|
+
disableHostPrefix: boolean;
|
|
24
|
+
logger: import("@aws-sdk/types").Logger;
|
|
25
|
+
serviceId: string;
|
|
26
|
+
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
|
+
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
28
|
+
tls?: boolean | undefined;
|
|
29
|
+
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
30
|
+
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
31
|
+
signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
|
|
32
|
+
signingEscapePath?: boolean | undefined;
|
|
33
|
+
systemClockOffset?: number | undefined;
|
|
34
|
+
signingRegion?: string | undefined;
|
|
35
|
+
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
36
|
+
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
37
|
+
};
|
|
@@ -31,5 +31,6 @@ export declare const getRuntimeConfig: (config: RedshiftDataClientConfig) => {
|
|
|
31
31
|
signingEscapePath?: boolean | undefined;
|
|
32
32
|
systemClockOffset?: number | undefined;
|
|
33
33
|
signingRegion?: string | undefined;
|
|
34
|
+
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
34
35
|
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
35
36
|
};
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,79 +1,73 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-redshift-data",
|
|
3
3
|
"description": "AWS SDK for JavaScript Redshift Data Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.35.0",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"
|
|
7
|
-
"build-documentation": "yarn remove-documentation && typedoc ./",
|
|
8
|
-
"remove-definitions": "rimraf ./types",
|
|
9
|
-
"remove-dist": "rimraf ./dist",
|
|
10
|
-
"remove-documentation": "rimraf ./docs",
|
|
11
|
-
"test": "jest --coverage --passWithNoTests",
|
|
6
|
+
"build": "yarn build:cjs && yarn build:es && yarn build:types",
|
|
12
7
|
"build:cjs": "tsc -p tsconfig.json",
|
|
8
|
+
"build:docs": "yarn clean:docs && typedoc ./",
|
|
13
9
|
"build:es": "tsc -p tsconfig.es.json",
|
|
14
|
-
"build": "
|
|
15
|
-
"
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
"browser": {
|
|
21
|
-
"./runtimeConfig": "./runtimeConfig.browser"
|
|
22
|
-
},
|
|
23
|
-
"react-native": {
|
|
24
|
-
"./runtimeConfig": "./runtimeConfig.native"
|
|
10
|
+
"build:types": "tsc -p tsconfig.types.json",
|
|
11
|
+
"clean": "yarn clean:dist && yarn clean:docs",
|
|
12
|
+
"clean:dist": "rimraf ./dist",
|
|
13
|
+
"clean:docs": "rimraf ./docs",
|
|
14
|
+
"downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4",
|
|
15
|
+
"test": "jest --coverage --passWithNoTests"
|
|
25
16
|
},
|
|
17
|
+
"main": "./dist-cjs/index.js",
|
|
18
|
+
"types": "./dist-types/index.d.ts",
|
|
19
|
+
"module": "./dist-es/index.js",
|
|
26
20
|
"sideEffects": false,
|
|
27
21
|
"dependencies": {
|
|
28
22
|
"@aws-crypto/sha256-browser": "^1.0.0",
|
|
29
23
|
"@aws-crypto/sha256-js": "^1.0.0",
|
|
30
|
-
"@aws-sdk/client-sts": "3.
|
|
31
|
-
"@aws-sdk/config-resolver": "3.
|
|
32
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
33
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
34
|
-
"@aws-sdk/hash-node": "3.
|
|
35
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
36
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
37
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
38
|
-
"@aws-sdk/middleware-logger": "3.
|
|
39
|
-
"@aws-sdk/middleware-retry": "3.
|
|
40
|
-
"@aws-sdk/middleware-serde": "3.
|
|
41
|
-
"@aws-sdk/middleware-signing": "3.
|
|
42
|
-
"@aws-sdk/middleware-stack": "3.
|
|
43
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
44
|
-
"@aws-sdk/node-config-provider": "3.
|
|
45
|
-
"@aws-sdk/node-http-handler": "3.
|
|
46
|
-
"@aws-sdk/protocol-http": "3.
|
|
47
|
-
"@aws-sdk/smithy-client": "3.
|
|
48
|
-
"@aws-sdk/types": "3.
|
|
49
|
-
"@aws-sdk/url-parser": "3.
|
|
50
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
51
|
-
"@aws-sdk/util-base64-node": "3.
|
|
52
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
53
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
55
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
56
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
57
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.35.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.35.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.35.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.35.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.35.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.35.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.35.0",
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.35.0",
|
|
32
|
+
"@aws-sdk/middleware-logger": "3.35.0",
|
|
33
|
+
"@aws-sdk/middleware-retry": "3.35.0",
|
|
34
|
+
"@aws-sdk/middleware-serde": "3.35.0",
|
|
35
|
+
"@aws-sdk/middleware-signing": "3.35.0",
|
|
36
|
+
"@aws-sdk/middleware-stack": "3.35.0",
|
|
37
|
+
"@aws-sdk/middleware-user-agent": "3.35.0",
|
|
38
|
+
"@aws-sdk/node-config-provider": "3.35.0",
|
|
39
|
+
"@aws-sdk/node-http-handler": "3.35.0",
|
|
40
|
+
"@aws-sdk/protocol-http": "3.35.0",
|
|
41
|
+
"@aws-sdk/smithy-client": "3.35.0",
|
|
42
|
+
"@aws-sdk/types": "3.35.0",
|
|
43
|
+
"@aws-sdk/url-parser": "3.35.0",
|
|
44
|
+
"@aws-sdk/util-base64-browser": "3.35.0",
|
|
45
|
+
"@aws-sdk/util-base64-node": "3.35.0",
|
|
46
|
+
"@aws-sdk/util-body-length-browser": "3.35.0",
|
|
47
|
+
"@aws-sdk/util-body-length-node": "3.35.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-browser": "3.35.0",
|
|
49
|
+
"@aws-sdk/util-user-agent-node": "3.35.0",
|
|
50
|
+
"@aws-sdk/util-utf8-browser": "3.35.0",
|
|
51
|
+
"@aws-sdk/util-utf8-node": "3.35.0",
|
|
58
52
|
"tslib": "^2.3.0"
|
|
59
53
|
},
|
|
60
54
|
"devDependencies": {
|
|
61
|
-
"@aws-sdk/client-documentation-generator": "3.
|
|
55
|
+
"@aws-sdk/client-documentation-generator": "3.35.0",
|
|
62
56
|
"@types/node": "^12.7.5",
|
|
63
57
|
"downlevel-dts": "0.7.0",
|
|
64
58
|
"jest": "^26.1.0",
|
|
65
59
|
"rimraf": "^3.0.0",
|
|
66
60
|
"ts-jest": "^26.4.1",
|
|
67
61
|
"typedoc": "^0.19.2",
|
|
68
|
-
"typescript": "~4.
|
|
62
|
+
"typescript": "~4.3.5"
|
|
69
63
|
},
|
|
70
64
|
"engines": {
|
|
71
65
|
"node": ">=10.0.0"
|
|
72
66
|
},
|
|
73
67
|
"typesVersions": {
|
|
74
68
|
"<4.0": {
|
|
75
|
-
"dist
|
|
76
|
-
"dist
|
|
69
|
+
"dist-types/*": [
|
|
70
|
+
"dist-types/ts3.4/*"
|
|
77
71
|
]
|
|
78
72
|
}
|
|
79
73
|
},
|
|
@@ -82,6 +76,12 @@
|
|
|
82
76
|
"url": "https://aws.amazon.com/javascript/"
|
|
83
77
|
},
|
|
84
78
|
"license": "Apache-2.0",
|
|
79
|
+
"browser": {
|
|
80
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
81
|
+
},
|
|
82
|
+
"react-native": {
|
|
83
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
84
|
+
},
|
|
85
85
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-redshift-data",
|
|
86
86
|
"repository": {
|
|
87
87
|
"type": "git",
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
+
|
|
2
3
|
import {
|
|
3
4
|
BatchExecuteStatementCommand,
|
|
4
5
|
BatchExecuteStatementCommandInput,
|
|
@@ -41,7 +42,7 @@ import {
|
|
|
41
42
|
ListStatementsCommandOutput,
|
|
42
43
|
} from "./commands/ListStatementsCommand";
|
|
43
44
|
import { ListTablesCommand, ListTablesCommandInput, ListTablesCommandOutput } from "./commands/ListTablesCommand";
|
|
44
|
-
import {
|
|
45
|
+
import { RedshiftDataClient } from "./RedshiftDataClient";
|
|
45
46
|
|
|
46
47
|
/**
|
|
47
48
|
* <p>You can use the Amazon Redshift Data API to run queries on Amazon Redshift tables. You
|
|
@@ -1,17 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
BatchExecuteStatementCommandInput,
|
|
3
|
-
BatchExecuteStatementCommandOutput,
|
|
4
|
-
} from "./commands/BatchExecuteStatementCommand";
|
|
5
|
-
import { CancelStatementCommandInput, CancelStatementCommandOutput } from "./commands/CancelStatementCommand";
|
|
6
|
-
import { DescribeStatementCommandInput, DescribeStatementCommandOutput } from "./commands/DescribeStatementCommand";
|
|
7
|
-
import { DescribeTableCommandInput, DescribeTableCommandOutput } from "./commands/DescribeTableCommand";
|
|
8
|
-
import { ExecuteStatementCommandInput, ExecuteStatementCommandOutput } from "./commands/ExecuteStatementCommand";
|
|
9
|
-
import { GetStatementResultCommandInput, GetStatementResultCommandOutput } from "./commands/GetStatementResultCommand";
|
|
10
|
-
import { ListDatabasesCommandInput, ListDatabasesCommandOutput } from "./commands/ListDatabasesCommand";
|
|
11
|
-
import { ListSchemasCommandInput, ListSchemasCommandOutput } from "./commands/ListSchemasCommand";
|
|
12
|
-
import { ListStatementsCommandInput, ListStatementsCommandOutput } from "./commands/ListStatementsCommand";
|
|
13
|
-
import { ListTablesCommandInput, ListTablesCommandOutput } from "./commands/ListTablesCommand";
|
|
14
|
-
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
15
1
|
import {
|
|
16
2
|
EndpointsInputConfig,
|
|
17
3
|
EndpointsResolvedConfig,
|
|
@@ -22,13 +8,13 @@ import {
|
|
|
22
8
|
} from "@aws-sdk/config-resolver";
|
|
23
9
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
24
10
|
import {
|
|
11
|
+
getHostHeaderPlugin,
|
|
25
12
|
HostHeaderInputConfig,
|
|
26
13
|
HostHeaderResolvedConfig,
|
|
27
|
-
getHostHeaderPlugin,
|
|
28
14
|
resolveHostHeaderConfig,
|
|
29
15
|
} from "@aws-sdk/middleware-host-header";
|
|
30
16
|
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
31
|
-
import {
|
|
17
|
+
import { getRetryPlugin, resolveRetryConfig, RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
32
18
|
import {
|
|
33
19
|
AwsAuthInputConfig,
|
|
34
20
|
AwsAuthResolvedConfig,
|
|
@@ -36,10 +22,10 @@ import {
|
|
|
36
22
|
resolveAwsAuthConfig,
|
|
37
23
|
} from "@aws-sdk/middleware-signing";
|
|
38
24
|
import {
|
|
39
|
-
UserAgentInputConfig,
|
|
40
|
-
UserAgentResolvedConfig,
|
|
41
25
|
getUserAgentPlugin,
|
|
42
26
|
resolveUserAgentConfig,
|
|
27
|
+
UserAgentInputConfig,
|
|
28
|
+
UserAgentResolvedConfig,
|
|
43
29
|
} from "@aws-sdk/middleware-user-agent";
|
|
44
30
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
45
31
|
import {
|
|
@@ -48,8 +34,6 @@ import {
|
|
|
48
34
|
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
49
35
|
} from "@aws-sdk/smithy-client";
|
|
50
36
|
import {
|
|
51
|
-
Provider,
|
|
52
|
-
RegionInfoProvider,
|
|
53
37
|
Credentials as __Credentials,
|
|
54
38
|
Decoder as __Decoder,
|
|
55
39
|
Encoder as __Encoder,
|
|
@@ -58,11 +42,28 @@ import {
|
|
|
58
42
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
59
43
|
Logger as __Logger,
|
|
60
44
|
Provider as __Provider,
|
|
45
|
+
Provider,
|
|
46
|
+
RegionInfoProvider,
|
|
61
47
|
StreamCollector as __StreamCollector,
|
|
62
48
|
UrlParser as __UrlParser,
|
|
63
49
|
UserAgent as __UserAgent,
|
|
64
50
|
} from "@aws-sdk/types";
|
|
65
51
|
|
|
52
|
+
import {
|
|
53
|
+
BatchExecuteStatementCommandInput,
|
|
54
|
+
BatchExecuteStatementCommandOutput,
|
|
55
|
+
} from "./commands/BatchExecuteStatementCommand";
|
|
56
|
+
import { CancelStatementCommandInput, CancelStatementCommandOutput } from "./commands/CancelStatementCommand";
|
|
57
|
+
import { DescribeStatementCommandInput, DescribeStatementCommandOutput } from "./commands/DescribeStatementCommand";
|
|
58
|
+
import { DescribeTableCommandInput, DescribeTableCommandOutput } from "./commands/DescribeTableCommand";
|
|
59
|
+
import { ExecuteStatementCommandInput, ExecuteStatementCommandOutput } from "./commands/ExecuteStatementCommand";
|
|
60
|
+
import { GetStatementResultCommandInput, GetStatementResultCommandOutput } from "./commands/GetStatementResultCommand";
|
|
61
|
+
import { ListDatabasesCommandInput, ListDatabasesCommandOutput } from "./commands/ListDatabasesCommand";
|
|
62
|
+
import { ListSchemasCommandInput, ListSchemasCommandOutput } from "./commands/ListSchemasCommand";
|
|
63
|
+
import { ListStatementsCommandInput, ListStatementsCommandOutput } from "./commands/ListStatementsCommand";
|
|
64
|
+
import { ListTablesCommandInput, ListTablesCommandOutput } from "./commands/ListTablesCommand";
|
|
65
|
+
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
66
|
+
|
|
66
67
|
export type ServiceInputTypes =
|
|
67
68
|
| BatchExecuteStatementCommandInput
|
|
68
69
|
| CancelStatementCommandInput
|
|
@@ -244,13 +245,13 @@ export class RedshiftDataClient extends __Client<
|
|
|
244
245
|
readonly config: RedshiftDataClientResolvedConfig;
|
|
245
246
|
|
|
246
247
|
constructor(configuration: RedshiftDataClientConfig) {
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
248
|
+
const _config_0 = __getRuntimeConfig(configuration);
|
|
249
|
+
const _config_1 = resolveRegionConfig(_config_0);
|
|
250
|
+
const _config_2 = resolveEndpointsConfig(_config_1);
|
|
251
|
+
const _config_3 = resolveRetryConfig(_config_2);
|
|
252
|
+
const _config_4 = resolveHostHeaderConfig(_config_3);
|
|
253
|
+
const _config_5 = resolveAwsAuthConfig(_config_4);
|
|
254
|
+
const _config_6 = resolveUserAgentConfig(_config_5);
|
|
254
255
|
super(_config_6);
|
|
255
256
|
this.config = _config_6;
|
|
256
257
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
2
|
-
import { BatchExecuteStatementInput, BatchExecuteStatementOutput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1BatchExecuteStatementCommand,
|
|
5
|
-
serializeAws_json1_1BatchExecuteStatementCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
2
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -11,12 +5,19 @@ import {
|
|
|
11
5
|
FinalizeHandlerArguments,
|
|
12
6
|
Handler,
|
|
13
7
|
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
8
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
9
|
MetadataBearer as __MetadataBearer,
|
|
10
|
+
MiddlewareStack,
|
|
17
11
|
SerdeContext as __SerdeContext,
|
|
18
12
|
} from "@aws-sdk/types";
|
|
19
13
|
|
|
14
|
+
import { BatchExecuteStatementInput, BatchExecuteStatementOutput } from "../models/models_0";
|
|
15
|
+
import {
|
|
16
|
+
deserializeAws_json1_1BatchExecuteStatementCommand,
|
|
17
|
+
serializeAws_json1_1BatchExecuteStatementCommand,
|
|
18
|
+
} from "../protocols/Aws_json1_1";
|
|
19
|
+
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
20
|
+
|
|
20
21
|
export interface BatchExecuteStatementCommandInput extends BatchExecuteStatementInput {}
|
|
21
22
|
export interface BatchExecuteStatementCommandOutput extends BatchExecuteStatementOutput, __MetadataBearer {}
|
|
22
23
|
|