@aws-sdk/client-redshift-data 3.1076.0 → 3.1078.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/dist-cjs/index.js +22 -115
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/BatchExecuteStatementCommand.js +2 -14
  4. package/dist-es/commands/CancelStatementCommand.js +2 -14
  5. package/dist-es/commands/DescribeStatementCommand.js +2 -14
  6. package/dist-es/commands/DescribeTableCommand.js +2 -14
  7. package/dist-es/commands/ExecuteStatementCommand.js +2 -14
  8. package/dist-es/commands/GetStatementResultCommand.js +2 -14
  9. package/dist-es/commands/GetStatementResultV2Command.js +2 -14
  10. package/dist-es/commands/ListDatabasesCommand.js +2 -14
  11. package/dist-es/commands/ListSchemasCommand.js +2 -14
  12. package/dist-es/commands/ListStatementsCommand.js +2 -14
  13. package/dist-es/commands/ListTablesCommand.js +2 -14
  14. package/dist-es/index.js +1 -0
  15. package/dist-es/runtimeConfig.browser.js +0 -2
  16. package/dist-es/runtimeConfig.js +1 -2
  17. package/dist-es/runtimeConfig.native.js +0 -2
  18. package/dist-es/runtimeConfig.shared.js +2 -0
  19. package/dist-types/commandBuilder.d.ts +18 -0
  20. package/dist-types/commands/BatchExecuteStatementCommand.d.ts +3 -8
  21. package/dist-types/commands/CancelStatementCommand.d.ts +3 -8
  22. package/dist-types/commands/DescribeStatementCommand.d.ts +3 -8
  23. package/dist-types/commands/DescribeTableCommand.d.ts +3 -8
  24. package/dist-types/commands/ExecuteStatementCommand.d.ts +3 -8
  25. package/dist-types/commands/GetStatementResultCommand.d.ts +3 -8
  26. package/dist-types/commands/GetStatementResultV2Command.d.ts +3 -8
  27. package/dist-types/commands/ListDatabasesCommand.d.ts +3 -8
  28. package/dist-types/commands/ListSchemasCommand.d.ts +3 -8
  29. package/dist-types/commands/ListStatementsCommand.d.ts +3 -8
  30. package/dist-types/commands/ListTablesCommand.d.ts +3 -8
  31. package/dist-types/index.d.ts +1 -0
  32. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  33. package/dist-types/runtimeConfig.d.ts +1 -1
  34. package/dist-types/runtimeConfig.native.d.ts +1 -1
  35. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  36. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  37. package/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +7 -16
  38. package/dist-types/ts3.4/commands/CancelStatementCommand.d.ts +7 -16
  39. package/dist-types/ts3.4/commands/DescribeStatementCommand.d.ts +7 -16
  40. package/dist-types/ts3.4/commands/DescribeTableCommand.d.ts +7 -16
  41. package/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts +7 -16
  42. package/dist-types/ts3.4/commands/GetStatementResultCommand.d.ts +7 -16
  43. package/dist-types/ts3.4/commands/GetStatementResultV2Command.d.ts +7 -16
  44. package/dist-types/ts3.4/commands/ListDatabasesCommand.d.ts +7 -16
  45. package/dist-types/ts3.4/commands/ListSchemasCommand.d.ts +7 -16
  46. package/dist-types/ts3.4/commands/ListStatementsCommand.d.ts +7 -16
  47. package/dist-types/ts3.4/commands/ListTablesCommand.d.ts +7 -16
  48. package/dist-types/ts3.4/index.d.ts +1 -0
  49. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  50. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  51. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  52. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  53. package/package.json +8 -10
@@ -1,16 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import {
4
3
  GetStatementResultRequest,
5
4
  GetStatementResultResponse,
6
5
  } from "../models/models_0";
7
- import {
8
- RedshiftDataClientResolvedConfig,
9
- ServiceInputTypes,
10
- ServiceOutputTypes,
11
- } from "../RedshiftDataClient";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface GetStatementResultCommandInput
15
8
  extends GetStatementResultRequest {}
16
9
  export interface GetStatementResultCommandOutput
@@ -22,22 +15,20 @@ declare const GetStatementResultCommand_base: {
22
15
  ): import("@smithy/core/client").CommandImpl<
23
16
  GetStatementResultCommandInput,
24
17
  GetStatementResultCommandOutput,
25
- RedshiftDataClientResolvedConfig,
26
- ServiceInputTypes,
27
- ServiceOutputTypes
18
+ import("..").RedshiftDataClientResolvedConfig,
19
+ import("..").ServiceInputTypes,
20
+ import("..").ServiceOutputTypes
28
21
  >;
29
22
  new (
30
23
  input: GetStatementResultCommandInput
31
24
  ): import("@smithy/core/client").CommandImpl<
32
25
  GetStatementResultCommandInput,
33
26
  GetStatementResultCommandOutput,
34
- RedshiftDataClientResolvedConfig,
35
- ServiceInputTypes,
36
- ServiceOutputTypes
27
+ import("..").RedshiftDataClientResolvedConfig,
28
+ import("..").ServiceInputTypes,
29
+ import("..").ServiceOutputTypes
37
30
  >;
38
- getEndpointParameterInstructions(): {
39
- [x: string]: unknown;
40
- };
31
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
41
32
  };
42
33
  export declare class GetStatementResultCommand extends GetStatementResultCommand_base {
43
34
  protected static __types: {
@@ -1,16 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import {
4
3
  GetStatementResultV2Request,
5
4
  GetStatementResultV2Response,
6
5
  } from "../models/models_0";
7
- import {
8
- RedshiftDataClientResolvedConfig,
9
- ServiceInputTypes,
10
- ServiceOutputTypes,
11
- } from "../RedshiftDataClient";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface GetStatementResultV2CommandInput
15
8
  extends GetStatementResultV2Request {}
16
9
  export interface GetStatementResultV2CommandOutput
@@ -22,22 +15,20 @@ declare const GetStatementResultV2Command_base: {
22
15
  ): import("@smithy/core/client").CommandImpl<
23
16
  GetStatementResultV2CommandInput,
24
17
  GetStatementResultV2CommandOutput,
25
- RedshiftDataClientResolvedConfig,
26
- ServiceInputTypes,
27
- ServiceOutputTypes
18
+ import("..").RedshiftDataClientResolvedConfig,
19
+ import("..").ServiceInputTypes,
20
+ import("..").ServiceOutputTypes
28
21
  >;
29
22
  new (
30
23
  input: GetStatementResultV2CommandInput
31
24
  ): import("@smithy/core/client").CommandImpl<
32
25
  GetStatementResultV2CommandInput,
33
26
  GetStatementResultV2CommandOutput,
34
- RedshiftDataClientResolvedConfig,
35
- ServiceInputTypes,
36
- ServiceOutputTypes
27
+ import("..").RedshiftDataClientResolvedConfig,
28
+ import("..").ServiceInputTypes,
29
+ import("..").ServiceOutputTypes
37
30
  >;
38
- getEndpointParameterInstructions(): {
39
- [x: string]: unknown;
40
- };
31
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
41
32
  };
42
33
  export declare class GetStatementResultV2Command extends GetStatementResultV2Command_base {
43
34
  protected static __types: {
@@ -1,16 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import {
4
3
  ListDatabasesRequest,
5
4
  ListDatabasesResponse,
6
5
  } from "../models/models_0";
7
- import {
8
- RedshiftDataClientResolvedConfig,
9
- ServiceInputTypes,
10
- ServiceOutputTypes,
11
- } from "../RedshiftDataClient";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface ListDatabasesCommandInput extends ListDatabasesRequest {}
15
8
  export interface ListDatabasesCommandOutput
16
9
  extends ListDatabasesResponse,
@@ -21,22 +14,20 @@ declare const ListDatabasesCommand_base: {
21
14
  ): import("@smithy/core/client").CommandImpl<
22
15
  ListDatabasesCommandInput,
23
16
  ListDatabasesCommandOutput,
24
- RedshiftDataClientResolvedConfig,
25
- ServiceInputTypes,
26
- ServiceOutputTypes
17
+ import("..").RedshiftDataClientResolvedConfig,
18
+ import("..").ServiceInputTypes,
19
+ import("..").ServiceOutputTypes
27
20
  >;
28
21
  new (
29
22
  input: ListDatabasesCommandInput
30
23
  ): import("@smithy/core/client").CommandImpl<
31
24
  ListDatabasesCommandInput,
32
25
  ListDatabasesCommandOutput,
33
- RedshiftDataClientResolvedConfig,
34
- ServiceInputTypes,
35
- ServiceOutputTypes
26
+ import("..").RedshiftDataClientResolvedConfig,
27
+ import("..").ServiceInputTypes,
28
+ import("..").ServiceOutputTypes
36
29
  >;
37
- getEndpointParameterInstructions(): {
38
- [x: string]: unknown;
39
- };
30
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
40
31
  };
41
32
  export declare class ListDatabasesCommand extends ListDatabasesCommand_base {
42
33
  protected static __types: {
@@ -1,13 +1,6 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import { ListSchemasRequest, ListSchemasResponse } from "../models/models_0";
4
- import {
5
- RedshiftDataClientResolvedConfig,
6
- ServiceInputTypes,
7
- ServiceOutputTypes,
8
- } from "../RedshiftDataClient";
9
3
  export { __MetadataBearer };
10
- export { $Command };
11
4
  export interface ListSchemasCommandInput extends ListSchemasRequest {}
12
5
  export interface ListSchemasCommandOutput
13
6
  extends ListSchemasResponse,
@@ -18,22 +11,20 @@ declare const ListSchemasCommand_base: {
18
11
  ): import("@smithy/core/client").CommandImpl<
19
12
  ListSchemasCommandInput,
20
13
  ListSchemasCommandOutput,
21
- RedshiftDataClientResolvedConfig,
22
- ServiceInputTypes,
23
- ServiceOutputTypes
14
+ import("..").RedshiftDataClientResolvedConfig,
15
+ import("..").ServiceInputTypes,
16
+ import("..").ServiceOutputTypes
24
17
  >;
25
18
  new (
26
19
  input: ListSchemasCommandInput
27
20
  ): import("@smithy/core/client").CommandImpl<
28
21
  ListSchemasCommandInput,
29
22
  ListSchemasCommandOutput,
30
- RedshiftDataClientResolvedConfig,
31
- ServiceInputTypes,
32
- ServiceOutputTypes
23
+ import("..").RedshiftDataClientResolvedConfig,
24
+ import("..").ServiceInputTypes,
25
+ import("..").ServiceOutputTypes
33
26
  >;
34
- getEndpointParameterInstructions(): {
35
- [x: string]: unknown;
36
- };
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
37
28
  };
38
29
  export declare class ListSchemasCommand extends ListSchemasCommand_base {
39
30
  protected static __types: {
@@ -1,16 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import {
4
3
  ListStatementsRequest,
5
4
  ListStatementsResponse,
6
5
  } from "../models/models_0";
7
- import {
8
- RedshiftDataClientResolvedConfig,
9
- ServiceInputTypes,
10
- ServiceOutputTypes,
11
- } from "../RedshiftDataClient";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface ListStatementsCommandInput extends ListStatementsRequest {}
15
8
  export interface ListStatementsCommandOutput
16
9
  extends ListStatementsResponse,
@@ -21,22 +14,20 @@ declare const ListStatementsCommand_base: {
21
14
  ): import("@smithy/core/client").CommandImpl<
22
15
  ListStatementsCommandInput,
23
16
  ListStatementsCommandOutput,
24
- RedshiftDataClientResolvedConfig,
25
- ServiceInputTypes,
26
- ServiceOutputTypes
17
+ import("..").RedshiftDataClientResolvedConfig,
18
+ import("..").ServiceInputTypes,
19
+ import("..").ServiceOutputTypes
27
20
  >;
28
21
  new (
29
22
  ...[input]: [] | [ListStatementsCommandInput]
30
23
  ): import("@smithy/core/client").CommandImpl<
31
24
  ListStatementsCommandInput,
32
25
  ListStatementsCommandOutput,
33
- RedshiftDataClientResolvedConfig,
34
- ServiceInputTypes,
35
- ServiceOutputTypes
26
+ import("..").RedshiftDataClientResolvedConfig,
27
+ import("..").ServiceInputTypes,
28
+ import("..").ServiceOutputTypes
36
29
  >;
37
- getEndpointParameterInstructions(): {
38
- [x: string]: unknown;
39
- };
30
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
40
31
  };
41
32
  export declare class ListStatementsCommand extends ListStatementsCommand_base {
42
33
  protected static __types: {
@@ -1,13 +1,6 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import { ListTablesRequest, ListTablesResponse } from "../models/models_0";
4
- import {
5
- RedshiftDataClientResolvedConfig,
6
- ServiceInputTypes,
7
- ServiceOutputTypes,
8
- } from "../RedshiftDataClient";
9
3
  export { __MetadataBearer };
10
- export { $Command };
11
4
  export interface ListTablesCommandInput extends ListTablesRequest {}
12
5
  export interface ListTablesCommandOutput
13
6
  extends ListTablesResponse,
@@ -18,22 +11,20 @@ declare const ListTablesCommand_base: {
18
11
  ): import("@smithy/core/client").CommandImpl<
19
12
  ListTablesCommandInput,
20
13
  ListTablesCommandOutput,
21
- RedshiftDataClientResolvedConfig,
22
- ServiceInputTypes,
23
- ServiceOutputTypes
14
+ import("..").RedshiftDataClientResolvedConfig,
15
+ import("..").ServiceInputTypes,
16
+ import("..").ServiceOutputTypes
24
17
  >;
25
18
  new (
26
19
  input: ListTablesCommandInput
27
20
  ): import("@smithy/core/client").CommandImpl<
28
21
  ListTablesCommandInput,
29
22
  ListTablesCommandOutput,
30
- RedshiftDataClientResolvedConfig,
31
- ServiceInputTypes,
32
- ServiceOutputTypes
23
+ import("..").RedshiftDataClientResolvedConfig,
24
+ import("..").ServiceInputTypes,
25
+ import("..").ServiceOutputTypes
33
26
  >;
34
- getEndpointParameterInstructions(): {
35
- [x: string]: unknown;
36
- };
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
37
28
  };
38
29
  export declare class ListTablesCommand extends ListTablesCommand_base {
39
30
  protected static __types: {
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
4
  export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { RedshiftDataExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
+ export { Command as $Command } from "@smithy/core/client";
7
8
  export * from "./schemas/schemas_0";
8
9
  export * from "./pagination";
9
10
  export * from "./models/enums";
@@ -20,7 +20,6 @@ export declare const getRuntimeConfig: (config: RedshiftDataClientConfig) => {
20
20
  | import("@smithy/core/protocols").HttpHandler<any>
21
21
  | RequestHandler;
22
22
  retryMode: string | import("@smithy/types").Provider<string>;
23
- sha256: import("@smithy/types").HashConstructor;
24
23
  streamCollector: (
25
24
  stream:
26
25
  | import("stream").Readable
@@ -42,6 +41,7 @@ export declare const getRuntimeConfig: (config: RedshiftDataClientConfig) => {
42
41
  [setting: string]: unknown;
43
42
  };
44
43
  apiVersion: string;
44
+ sha256: import("@smithy/types").HashConstructor;
45
45
  urlParser: import("@smithy/types").UrlParser;
46
46
  base64Decoder: import("@smithy/types").Decoder;
47
47
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -21,7 +21,6 @@ export declare const getRuntimeConfig: (config: RedshiftDataClientConfig) => {
21
21
  | RequestHandler
22
22
  | import("@smithy/core/protocols").HttpHandler<any>;
23
23
  retryMode: string | import("@smithy/types").Provider<string>;
24
- sha256: import("@smithy/types").HashConstructor;
25
24
  streamCollector: (
26
25
  stream:
27
26
  | import("stream").Readable
@@ -42,6 +41,7 @@ export declare const getRuntimeConfig: (config: RedshiftDataClientConfig) => {
42
41
  [setting: string]: unknown;
43
42
  };
44
43
  apiVersion: string;
44
+ sha256: import("@smithy/types").HashConstructor;
45
45
  urlParser: import("@smithy/types").UrlParser;
46
46
  base64Decoder: import("@smithy/types").Decoder;
47
47
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -1,7 +1,6 @@
1
1
  import { RedshiftDataClientConfig } from "./RedshiftDataClient";
2
2
  export declare const getRuntimeConfig: (config: RedshiftDataClientConfig) => {
3
3
  runtime: string;
4
- sha256: import("@smithy/types").HashConstructor;
5
4
  requestHandler:
6
5
  | import("@smithy/types").NodeHttpHandlerOptions
7
6
  | import("@smithy/types").FetchHttpHandlerOptions
@@ -18,6 +17,7 @@ export declare const getRuntimeConfig: (config: RedshiftDataClientConfig) => {
18
17
  [setting: string]: unknown;
19
18
  };
20
19
  apiVersion: string;
20
+ sha256: import("@smithy/types").HashConstructor;
21
21
  urlParser: import("@smithy/types").UrlParser;
22
22
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
23
23
  streamCollector: (
@@ -24,6 +24,7 @@ export declare const getRuntimeConfig: (config: RedshiftDataClientConfig) => {
24
24
  defaultNamespace?: string;
25
25
  };
26
26
  serviceId: string;
27
+ sha256: import("@smithy/types").HashConstructor;
27
28
  urlParser: import("@smithy/types").UrlParser;
28
29
  utf8Decoder: import("@smithy/types").Decoder;
29
30
  utf8Encoder: (input: Uint8Array | string) => string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
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.1076.0",
4
+ "version": "3.1078.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline",
@@ -19,15 +19,13 @@
19
19
  "module": "./dist-es/index.js",
20
20
  "sideEffects": false,
21
21
  "dependencies": {
22
- "@aws-crypto/sha256-browser": "5.2.0",
23
- "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.974.24",
25
- "@aws-sdk/credential-provider-node": "^3.972.59",
26
- "@aws-sdk/types": "^3.973.14",
27
- "@smithy/core": "^3.27.0",
28
- "@smithy/fetch-http-handler": "^5.6.0",
29
- "@smithy/node-http-handler": "^4.9.0",
30
- "@smithy/types": "^4.15.0",
22
+ "@aws-sdk/core": "^3.974.26",
23
+ "@aws-sdk/credential-provider-node": "^3.972.61",
24
+ "@aws-sdk/types": "^3.973.15",
25
+ "@smithy/core": "^3.29.0",
26
+ "@smithy/fetch-http-handler": "^5.6.2",
27
+ "@smithy/node-http-handler": "^4.9.2",
28
+ "@smithy/types": "^4.15.1",
31
29
  "tslib": "^2.6.2"
32
30
  },
33
31
  "devDependencies": {