@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,9 +1,3 @@
|
|
|
1
|
-
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
2
|
-
import { CancelStatementRequest, CancelStatementResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1CancelStatementCommand,
|
|
5
|
-
serializeAws_json1_1CancelStatementCommand,
|
|
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 { CancelStatementRequest, CancelStatementResponse } from "../models/models_0";
|
|
15
|
+
import {
|
|
16
|
+
deserializeAws_json1_1CancelStatementCommand,
|
|
17
|
+
serializeAws_json1_1CancelStatementCommand,
|
|
18
|
+
} from "../protocols/Aws_json1_1";
|
|
19
|
+
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
20
|
+
|
|
20
21
|
export interface CancelStatementCommandInput extends CancelStatementRequest {}
|
|
21
22
|
export interface CancelStatementCommandOutput extends CancelStatementResponse, __MetadataBearer {}
|
|
22
23
|
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
2
|
-
import { DescribeStatementRequest, DescribeStatementResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1DescribeStatementCommand,
|
|
5
|
-
serializeAws_json1_1DescribeStatementCommand,
|
|
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 { DescribeStatementRequest, DescribeStatementResponse } from "../models/models_0";
|
|
15
|
+
import {
|
|
16
|
+
deserializeAws_json1_1DescribeStatementCommand,
|
|
17
|
+
serializeAws_json1_1DescribeStatementCommand,
|
|
18
|
+
} from "../protocols/Aws_json1_1";
|
|
19
|
+
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
20
|
+
|
|
20
21
|
export interface DescribeStatementCommandInput extends DescribeStatementRequest {}
|
|
21
22
|
export interface DescribeStatementCommandOutput extends DescribeStatementResponse, __MetadataBearer {}
|
|
22
23
|
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
2
|
-
import { DescribeTableRequest, DescribeTableResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1DescribeTableCommand,
|
|
5
|
-
serializeAws_json1_1DescribeTableCommand,
|
|
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 { DescribeTableRequest, DescribeTableResponse } from "../models/models_0";
|
|
15
|
+
import {
|
|
16
|
+
deserializeAws_json1_1DescribeTableCommand,
|
|
17
|
+
serializeAws_json1_1DescribeTableCommand,
|
|
18
|
+
} from "../protocols/Aws_json1_1";
|
|
19
|
+
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
20
|
+
|
|
20
21
|
export interface DescribeTableCommandInput extends DescribeTableRequest {}
|
|
21
22
|
export interface DescribeTableCommandOutput extends DescribeTableResponse, __MetadataBearer {}
|
|
22
23
|
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
2
|
-
import { ExecuteStatementInput, ExecuteStatementOutput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1ExecuteStatementCommand,
|
|
5
|
-
serializeAws_json1_1ExecuteStatementCommand,
|
|
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 { ExecuteStatementInput, ExecuteStatementOutput } from "../models/models_0";
|
|
15
|
+
import {
|
|
16
|
+
deserializeAws_json1_1ExecuteStatementCommand,
|
|
17
|
+
serializeAws_json1_1ExecuteStatementCommand,
|
|
18
|
+
} from "../protocols/Aws_json1_1";
|
|
19
|
+
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
20
|
+
|
|
20
21
|
export interface ExecuteStatementCommandInput extends ExecuteStatementInput {}
|
|
21
22
|
export interface ExecuteStatementCommandOutput extends ExecuteStatementOutput, __MetadataBearer {}
|
|
22
23
|
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
2
|
-
import { GetStatementResultRequest, GetStatementResultResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1GetStatementResultCommand,
|
|
5
|
-
serializeAws_json1_1GetStatementResultCommand,
|
|
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 { GetStatementResultRequest, GetStatementResultResponse } from "../models/models_0";
|
|
15
|
+
import {
|
|
16
|
+
deserializeAws_json1_1GetStatementResultCommand,
|
|
17
|
+
serializeAws_json1_1GetStatementResultCommand,
|
|
18
|
+
} from "../protocols/Aws_json1_1";
|
|
19
|
+
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
20
|
+
|
|
20
21
|
export interface GetStatementResultCommandInput extends GetStatementResultRequest {}
|
|
21
22
|
export interface GetStatementResultCommandOutput extends GetStatementResultResponse, __MetadataBearer {}
|
|
22
23
|
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
2
|
-
import { ListDatabasesRequest, ListDatabasesResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1ListDatabasesCommand,
|
|
5
|
-
serializeAws_json1_1ListDatabasesCommand,
|
|
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 { ListDatabasesRequest, ListDatabasesResponse } from "../models/models_0";
|
|
15
|
+
import {
|
|
16
|
+
deserializeAws_json1_1ListDatabasesCommand,
|
|
17
|
+
serializeAws_json1_1ListDatabasesCommand,
|
|
18
|
+
} from "../protocols/Aws_json1_1";
|
|
19
|
+
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
20
|
+
|
|
20
21
|
export interface ListDatabasesCommandInput extends ListDatabasesRequest {}
|
|
21
22
|
export interface ListDatabasesCommandOutput extends ListDatabasesResponse, __MetadataBearer {}
|
|
22
23
|
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
2
|
-
import { ListSchemasRequest, ListSchemasResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1ListSchemasCommand,
|
|
5
|
-
serializeAws_json1_1ListSchemasCommand,
|
|
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 { ListSchemasRequest, ListSchemasResponse } from "../models/models_0";
|
|
15
|
+
import {
|
|
16
|
+
deserializeAws_json1_1ListSchemasCommand,
|
|
17
|
+
serializeAws_json1_1ListSchemasCommand,
|
|
18
|
+
} from "../protocols/Aws_json1_1";
|
|
19
|
+
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
20
|
+
|
|
20
21
|
export interface ListSchemasCommandInput extends ListSchemasRequest {}
|
|
21
22
|
export interface ListSchemasCommandOutput extends ListSchemasResponse, __MetadataBearer {}
|
|
22
23
|
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
2
|
-
import { ListStatementsRequest, ListStatementsResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1ListStatementsCommand,
|
|
5
|
-
serializeAws_json1_1ListStatementsCommand,
|
|
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 { ListStatementsRequest, ListStatementsResponse } from "../models/models_0";
|
|
15
|
+
import {
|
|
16
|
+
deserializeAws_json1_1ListStatementsCommand,
|
|
17
|
+
serializeAws_json1_1ListStatementsCommand,
|
|
18
|
+
} from "../protocols/Aws_json1_1";
|
|
19
|
+
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
20
|
+
|
|
20
21
|
export interface ListStatementsCommandInput extends ListStatementsRequest {}
|
|
21
22
|
export interface ListStatementsCommandOutput extends ListStatementsResponse, __MetadataBearer {}
|
|
22
23
|
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
2
|
-
import { ListTablesRequest, ListTablesResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1ListTablesCommand,
|
|
5
|
-
serializeAws_json1_1ListTablesCommand,
|
|
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 { ListTablesRequest, ListTablesResponse } from "../models/models_0";
|
|
15
|
+
import {
|
|
16
|
+
deserializeAws_json1_1ListTablesCommand,
|
|
17
|
+
serializeAws_json1_1ListTablesCommand,
|
|
18
|
+
} from "../protocols/Aws_json1_1";
|
|
19
|
+
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
20
|
+
|
|
20
21
|
export interface ListTablesCommandInput extends ListTablesRequest {}
|
|
21
22
|
export interface ListTablesCommandOutput extends ListTablesResponse, __MetadataBearer {}
|
|
22
23
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
|
|
3
3
|
import {
|
|
4
4
|
DescribeTableCommand,
|
|
5
5
|
DescribeTableCommandInput,
|
|
6
6
|
DescribeTableCommandOutput,
|
|
7
7
|
} from "../commands/DescribeTableCommand";
|
|
8
|
+
import { RedshiftData } from "../RedshiftData";
|
|
9
|
+
import { RedshiftDataClient } from "../RedshiftDataClient";
|
|
8
10
|
import { RedshiftDataPaginationConfiguration } from "./Interfaces";
|
|
9
|
-
import { Paginator } from "@aws-sdk/types";
|
|
10
11
|
|
|
11
12
|
/**
|
|
12
13
|
* @private
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
|
|
3
3
|
import {
|
|
4
4
|
GetStatementResultCommand,
|
|
5
5
|
GetStatementResultCommandInput,
|
|
6
6
|
GetStatementResultCommandOutput,
|
|
7
7
|
} from "../commands/GetStatementResultCommand";
|
|
8
|
+
import { RedshiftData } from "../RedshiftData";
|
|
9
|
+
import { RedshiftDataClient } from "../RedshiftDataClient";
|
|
8
10
|
import { RedshiftDataPaginationConfiguration } from "./Interfaces";
|
|
9
|
-
import { Paginator } from "@aws-sdk/types";
|
|
10
11
|
|
|
11
12
|
/**
|
|
12
13
|
* @private
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
2
|
+
|
|
1
3
|
import { RedshiftData } from "../RedshiftData";
|
|
2
4
|
import { RedshiftDataClient } from "../RedshiftDataClient";
|
|
3
|
-
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
4
5
|
|
|
5
6
|
export interface RedshiftDataPaginationConfiguration extends PaginationConfiguration {
|
|
6
7
|
client: RedshiftData | RedshiftDataClient;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
|
|
3
3
|
import {
|
|
4
4
|
ListDatabasesCommand,
|
|
5
5
|
ListDatabasesCommandInput,
|
|
6
6
|
ListDatabasesCommandOutput,
|
|
7
7
|
} from "../commands/ListDatabasesCommand";
|
|
8
|
+
import { RedshiftData } from "../RedshiftData";
|
|
9
|
+
import { RedshiftDataClient } from "../RedshiftDataClient";
|
|
8
10
|
import { RedshiftDataPaginationConfiguration } from "./Interfaces";
|
|
9
|
-
import { Paginator } from "@aws-sdk/types";
|
|
10
11
|
|
|
11
12
|
/**
|
|
12
13
|
* @private
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
|
|
3
|
+
import { ListSchemasCommand, ListSchemasCommandInput, ListSchemasCommandOutput } from "../commands/ListSchemasCommand";
|
|
1
4
|
import { RedshiftData } from "../RedshiftData";
|
|
2
5
|
import { RedshiftDataClient } from "../RedshiftDataClient";
|
|
3
|
-
import { ListSchemasCommand, ListSchemasCommandInput, ListSchemasCommandOutput } from "../commands/ListSchemasCommand";
|
|
4
6
|
import { RedshiftDataPaginationConfiguration } from "./Interfaces";
|
|
5
|
-
import { Paginator } from "@aws-sdk/types";
|
|
6
7
|
|
|
7
8
|
/**
|
|
8
9
|
* @private
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
|
|
3
3
|
import {
|
|
4
4
|
ListStatementsCommand,
|
|
5
5
|
ListStatementsCommandInput,
|
|
6
6
|
ListStatementsCommandOutput,
|
|
7
7
|
} from "../commands/ListStatementsCommand";
|
|
8
|
+
import { RedshiftData } from "../RedshiftData";
|
|
9
|
+
import { RedshiftDataClient } from "../RedshiftDataClient";
|
|
8
10
|
import { RedshiftDataPaginationConfiguration } from "./Interfaces";
|
|
9
|
-
import { Paginator } from "@aws-sdk/types";
|
|
10
11
|
|
|
11
12
|
/**
|
|
12
13
|
* @private
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
|
|
3
|
+
import { ListTablesCommand, ListTablesCommandInput, ListTablesCommandOutput } from "../commands/ListTablesCommand";
|
|
1
4
|
import { RedshiftData } from "../RedshiftData";
|
|
2
5
|
import { RedshiftDataClient } from "../RedshiftDataClient";
|
|
3
|
-
import { ListTablesCommand, ListTablesCommandInput, ListTablesCommandOutput } from "../commands/ListTablesCommand";
|
|
4
6
|
import { RedshiftDataPaginationConfiguration } from "./Interfaces";
|
|
5
|
-
import { Paginator } from "@aws-sdk/types";
|
|
6
7
|
|
|
7
8
|
/**
|
|
8
9
|
* @private
|
|
@@ -1,3 +1,24 @@
|
|
|
1
|
+
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
2
|
+
import {
|
|
3
|
+
expectBoolean as __expectBoolean,
|
|
4
|
+
expectInt32 as __expectInt32,
|
|
5
|
+
expectLong as __expectLong,
|
|
6
|
+
expectNonNull as __expectNonNull,
|
|
7
|
+
expectNumber as __expectNumber,
|
|
8
|
+
expectString as __expectString,
|
|
9
|
+
expectUnion as __expectUnion,
|
|
10
|
+
limitedParseDouble as __limitedParseDouble,
|
|
11
|
+
parseEpochTimestamp as __parseEpochTimestamp,
|
|
12
|
+
} from "@aws-sdk/smithy-client";
|
|
13
|
+
import {
|
|
14
|
+
Endpoint as __Endpoint,
|
|
15
|
+
HeaderBag as __HeaderBag,
|
|
16
|
+
MetadataBearer as __MetadataBearer,
|
|
17
|
+
ResponseMetadata as __ResponseMetadata,
|
|
18
|
+
SerdeContext as __SerdeContext,
|
|
19
|
+
SmithyException as __SmithyException,
|
|
20
|
+
} from "@aws-sdk/types";
|
|
21
|
+
|
|
1
22
|
import {
|
|
2
23
|
BatchExecuteStatementCommandInput,
|
|
3
24
|
BatchExecuteStatementCommandOutput,
|
|
@@ -45,26 +66,6 @@ import {
|
|
|
45
66
|
TableMember,
|
|
46
67
|
ValidationException,
|
|
47
68
|
} from "../models/models_0";
|
|
48
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
49
|
-
import {
|
|
50
|
-
expectBoolean as __expectBoolean,
|
|
51
|
-
expectInt32 as __expectInt32,
|
|
52
|
-
expectLong as __expectLong,
|
|
53
|
-
expectNonNull as __expectNonNull,
|
|
54
|
-
expectNumber as __expectNumber,
|
|
55
|
-
expectString as __expectString,
|
|
56
|
-
expectUnion as __expectUnion,
|
|
57
|
-
limitedParseDouble as __limitedParseDouble,
|
|
58
|
-
parseEpochTimestamp as __parseEpochTimestamp,
|
|
59
|
-
} from "@aws-sdk/smithy-client";
|
|
60
|
-
import {
|
|
61
|
-
Endpoint as __Endpoint,
|
|
62
|
-
HeaderBag as __HeaderBag,
|
|
63
|
-
MetadataBearer as __MetadataBearer,
|
|
64
|
-
ResponseMetadata as __ResponseMetadata,
|
|
65
|
-
SerdeContext as __SerdeContext,
|
|
66
|
-
SmithyException as __SmithyException,
|
|
67
|
-
} from "@aws-sdk/types";
|
|
68
69
|
|
|
69
70
|
export const serializeAws_json1_1BatchExecuteStatementCommand = async (
|
|
70
71
|
input: BatchExecuteStatementCommandInput,
|
|
@@ -222,7 +223,7 @@ const deserializeAws_json1_1BatchExecuteStatementCommandError = async (
|
|
|
222
223
|
body: await parseBody(output.body, context),
|
|
223
224
|
};
|
|
224
225
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
225
|
-
let errorCode
|
|
226
|
+
let errorCode = "UnknownError";
|
|
226
227
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
227
228
|
switch (errorCode) {
|
|
228
229
|
case "ActiveStatementsExceededException":
|
|
@@ -292,7 +293,7 @@ const deserializeAws_json1_1CancelStatementCommandError = async (
|
|
|
292
293
|
body: await parseBody(output.body, context),
|
|
293
294
|
};
|
|
294
295
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
295
|
-
let errorCode
|
|
296
|
+
let errorCode = "UnknownError";
|
|
296
297
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
297
298
|
switch (errorCode) {
|
|
298
299
|
case "InternalServerException":
|
|
@@ -362,7 +363,7 @@ const deserializeAws_json1_1DescribeStatementCommandError = async (
|
|
|
362
363
|
body: await parseBody(output.body, context),
|
|
363
364
|
};
|
|
364
365
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
365
|
-
let errorCode
|
|
366
|
+
let errorCode = "UnknownError";
|
|
366
367
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
367
368
|
switch (errorCode) {
|
|
368
369
|
case "InternalServerException":
|
|
@@ -432,7 +433,7 @@ const deserializeAws_json1_1DescribeTableCommandError = async (
|
|
|
432
433
|
body: await parseBody(output.body, context),
|
|
433
434
|
};
|
|
434
435
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
435
|
-
let errorCode
|
|
436
|
+
let errorCode = "UnknownError";
|
|
436
437
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
437
438
|
switch (errorCode) {
|
|
438
439
|
case "InternalServerException":
|
|
@@ -494,7 +495,7 @@ const deserializeAws_json1_1ExecuteStatementCommandError = async (
|
|
|
494
495
|
body: await parseBody(output.body, context),
|
|
495
496
|
};
|
|
496
497
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
497
|
-
let errorCode
|
|
498
|
+
let errorCode = "UnknownError";
|
|
498
499
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
499
500
|
switch (errorCode) {
|
|
500
501
|
case "ActiveStatementsExceededException":
|
|
@@ -564,7 +565,7 @@ const deserializeAws_json1_1GetStatementResultCommandError = async (
|
|
|
564
565
|
body: await parseBody(output.body, context),
|
|
565
566
|
};
|
|
566
567
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
567
|
-
let errorCode
|
|
568
|
+
let errorCode = "UnknownError";
|
|
568
569
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
569
570
|
switch (errorCode) {
|
|
570
571
|
case "InternalServerException":
|
|
@@ -634,7 +635,7 @@ const deserializeAws_json1_1ListDatabasesCommandError = async (
|
|
|
634
635
|
body: await parseBody(output.body, context),
|
|
635
636
|
};
|
|
636
637
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
637
|
-
let errorCode
|
|
638
|
+
let errorCode = "UnknownError";
|
|
638
639
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
639
640
|
switch (errorCode) {
|
|
640
641
|
case "InternalServerException":
|
|
@@ -696,7 +697,7 @@ const deserializeAws_json1_1ListSchemasCommandError = async (
|
|
|
696
697
|
body: await parseBody(output.body, context),
|
|
697
698
|
};
|
|
698
699
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
699
|
-
let errorCode
|
|
700
|
+
let errorCode = "UnknownError";
|
|
700
701
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
701
702
|
switch (errorCode) {
|
|
702
703
|
case "InternalServerException":
|
|
@@ -758,7 +759,7 @@ const deserializeAws_json1_1ListStatementsCommandError = async (
|
|
|
758
759
|
body: await parseBody(output.body, context),
|
|
759
760
|
};
|
|
760
761
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
761
|
-
let errorCode
|
|
762
|
+
let errorCode = "UnknownError";
|
|
762
763
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
763
764
|
switch (errorCode) {
|
|
764
765
|
case "InternalServerException":
|
|
@@ -820,7 +821,7 @@ const deserializeAws_json1_1ListTablesCommandError = async (
|
|
|
820
821
|
body: await parseBody(output.body, context),
|
|
821
822
|
};
|
|
822
823
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
823
|
-
let errorCode
|
|
824
|
+
let errorCode = "UnknownError";
|
|
824
825
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
825
826
|
switch (errorCode) {
|
|
826
827
|
case "InternalServerException":
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import packageInfo from "./package.json";
|
|
2
|
-
|
|
3
1
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
4
2
|
import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
3
|
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
@@ -8,6 +6,9 @@ import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
|
|
|
8
6
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
9
7
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
10
8
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
9
|
+
|
|
10
|
+
// @ts-ignore: package.json will be imported from dist folders
|
|
11
|
+
import packageInfo from "../package.json";
|
|
11
12
|
import { RedshiftDataClientConfig } from "./RedshiftDataClient";
|
|
12
13
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
14
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { defaultRegionInfoProvider } from "./endpoints";
|
|
2
1
|
import { Logger as __Logger } from "@aws-sdk/types";
|
|
3
2
|
import { parseUrl } from "@aws-sdk/url-parser";
|
|
3
|
+
|
|
4
|
+
import { defaultRegionInfoProvider } from "./endpoints";
|
|
4
5
|
import { RedshiftDataClientConfig } from "./RedshiftDataClient";
|
|
5
6
|
|
|
6
7
|
/**
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import packageInfo from "./package.json";
|
|
2
|
-
|
|
3
1
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
4
2
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS } from "@aws-sdk/config-resolver";
|
|
5
3
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
@@ -7,13 +5,16 @@ import { Hash } from "@aws-sdk/hash-node";
|
|
|
7
5
|
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
|
|
8
6
|
import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
|
|
9
7
|
import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
8
|
+
import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
|
|
10
9
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
|
|
11
10
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
12
11
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
13
12
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
13
|
+
|
|
14
|
+
// @ts-ignore: package.json will be imported from dist folders
|
|
15
|
+
import packageInfo from "../package.json";
|
|
14
16
|
import { RedshiftDataClientConfig } from "./RedshiftDataClient";
|
|
15
17
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
16
|
-
import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
|
|
17
18
|
|
|
18
19
|
/**
|
|
19
20
|
* @internal
|
package/tsconfig.es.json
CHANGED
|
@@ -4,9 +4,7 @@
|
|
|
4
4
|
"target": "es5",
|
|
5
5
|
"module": "esnext",
|
|
6
6
|
"moduleResolution": "node",
|
|
7
|
-
"declaration": false,
|
|
8
|
-
"declarationDir": null,
|
|
9
7
|
"lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"],
|
|
10
|
-
"outDir": "dist
|
|
8
|
+
"outDir": "dist-es"
|
|
11
9
|
}
|
|
12
10
|
}
|
package/tsconfig.json
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
"alwaysStrict": true,
|
|
4
4
|
"target": "ES2018",
|
|
5
5
|
"module": "commonjs",
|
|
6
|
-
"declaration": true,
|
|
7
6
|
"strict": true,
|
|
8
7
|
"sourceMap": true,
|
|
9
8
|
"downlevelIteration": true,
|
|
@@ -12,9 +11,9 @@
|
|
|
12
11
|
"incremental": true,
|
|
13
12
|
"resolveJsonModule": true,
|
|
14
13
|
"esModuleInterop": true,
|
|
15
|
-
"
|
|
16
|
-
"outDir": "dist
|
|
17
|
-
"
|
|
14
|
+
"rootDir": "src",
|
|
15
|
+
"outDir": "dist-cjs",
|
|
16
|
+
"removeComments": true
|
|
18
17
|
},
|
|
19
18
|
"typedocOptions": {
|
|
20
19
|
"exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"],
|
|
@@ -24,10 +23,11 @@
|
|
|
24
23
|
"ignoreCompilerErrors": true,
|
|
25
24
|
"includeDeclarations": true,
|
|
26
25
|
"stripInternal": true,
|
|
27
|
-
"readme": "
|
|
26
|
+
"readme": "README.md",
|
|
28
27
|
"mode": "file",
|
|
29
|
-
"out": "
|
|
28
|
+
"out": "docs",
|
|
30
29
|
"theme": "minimal",
|
|
31
30
|
"plugin": ["@aws-sdk/client-documentation-generator"]
|
|
32
|
-
}
|
|
31
|
+
},
|
|
32
|
+
"exclude": ["test/**/*"]
|
|
33
33
|
}
|