@aws-sdk/client-redshift-data 3.588.0 → 3.592.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 (29) hide show
  1. package/dist-cjs/index.js +0 -10
  2. package/dist-types/RedshiftDataClient.d.ts +4 -4
  3. package/dist-types/commands/BatchExecuteStatementCommand.d.ts +2 -1
  4. package/dist-types/commands/CancelStatementCommand.d.ts +2 -1
  5. package/dist-types/commands/DescribeStatementCommand.d.ts +2 -1
  6. package/dist-types/commands/DescribeTableCommand.d.ts +2 -1
  7. package/dist-types/commands/ExecuteStatementCommand.d.ts +2 -1
  8. package/dist-types/commands/GetStatementResultCommand.d.ts +2 -1
  9. package/dist-types/commands/ListDatabasesCommand.d.ts +2 -1
  10. package/dist-types/commands/ListSchemasCommand.d.ts +2 -1
  11. package/dist-types/commands/ListStatementsCommand.d.ts +2 -1
  12. package/dist-types/commands/ListTablesCommand.d.ts +2 -1
  13. package/dist-types/index.d.ts +2 -2
  14. package/dist-types/models/RedshiftDataServiceException.d.ts +2 -1
  15. package/dist-types/runtimeConfig.native.d.ts +1 -1
  16. package/dist-types/ts3.4/RedshiftDataClient.d.ts +1 -1
  17. package/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +2 -1
  18. package/dist-types/ts3.4/commands/CancelStatementCommand.d.ts +2 -1
  19. package/dist-types/ts3.4/commands/DescribeStatementCommand.d.ts +2 -1
  20. package/dist-types/ts3.4/commands/DescribeTableCommand.d.ts +2 -1
  21. package/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts +2 -1
  22. package/dist-types/ts3.4/commands/GetStatementResultCommand.d.ts +2 -1
  23. package/dist-types/ts3.4/commands/ListDatabasesCommand.d.ts +2 -1
  24. package/dist-types/ts3.4/commands/ListSchemasCommand.d.ts +2 -1
  25. package/dist-types/ts3.4/commands/ListStatementsCommand.d.ts +2 -1
  26. package/dist-types/ts3.4/commands/ListTablesCommand.d.ts +2 -1
  27. package/dist-types/ts3.4/models/RedshiftDataServiceException.d.ts +2 -1
  28. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  29. package/package.json +6 -6
package/dist-cjs/index.js CHANGED
@@ -204,7 +204,6 @@ var RedshiftDataClient = _RedshiftDataClient;
204
204
 
205
205
  var import_middleware_serde = require("@smithy/middleware-serde");
206
206
 
207
- var import_types = require("@smithy/types");
208
207
 
209
208
  // src/protocols/Aws_json1_1.ts
210
209
  var import_core2 = require("@aws-sdk/core");
@@ -895,7 +894,6 @@ var BatchExecuteStatementCommand = _BatchExecuteStatementCommand;
895
894
 
896
895
 
897
896
 
898
-
899
897
  var _CancelStatementCommand = class _CancelStatementCommand extends import_smithy_client.Command.classBuilder().ep({
900
898
  ...commonParams
901
899
  }).m(function(Command, cs, config, o) {
@@ -912,7 +910,6 @@ var CancelStatementCommand = _CancelStatementCommand;
912
910
 
913
911
 
914
912
 
915
-
916
913
  var _DescribeStatementCommand = class _DescribeStatementCommand extends import_smithy_client.Command.classBuilder().ep({
917
914
  ...commonParams
918
915
  }).m(function(Command, cs, config, o) {
@@ -929,7 +926,6 @@ var DescribeStatementCommand = _DescribeStatementCommand;
929
926
 
930
927
 
931
928
 
932
-
933
929
  var _DescribeTableCommand = class _DescribeTableCommand extends import_smithy_client.Command.classBuilder().ep({
934
930
  ...commonParams
935
931
  }).m(function(Command, cs, config, o) {
@@ -946,7 +942,6 @@ var DescribeTableCommand = _DescribeTableCommand;
946
942
 
947
943
 
948
944
 
949
-
950
945
  var _ExecuteStatementCommand = class _ExecuteStatementCommand extends import_smithy_client.Command.classBuilder().ep({
951
946
  ...commonParams
952
947
  }).m(function(Command, cs, config, o) {
@@ -963,7 +958,6 @@ var ExecuteStatementCommand = _ExecuteStatementCommand;
963
958
 
964
959
 
965
960
 
966
-
967
961
  var _GetStatementResultCommand = class _GetStatementResultCommand extends import_smithy_client.Command.classBuilder().ep({
968
962
  ...commonParams
969
963
  }).m(function(Command, cs, config, o) {
@@ -980,7 +974,6 @@ var GetStatementResultCommand = _GetStatementResultCommand;
980
974
 
981
975
 
982
976
 
983
-
984
977
  var _ListDatabasesCommand = class _ListDatabasesCommand extends import_smithy_client.Command.classBuilder().ep({
985
978
  ...commonParams
986
979
  }).m(function(Command, cs, config, o) {
@@ -997,7 +990,6 @@ var ListDatabasesCommand = _ListDatabasesCommand;
997
990
 
998
991
 
999
992
 
1000
-
1001
993
  var _ListSchemasCommand = class _ListSchemasCommand extends import_smithy_client.Command.classBuilder().ep({
1002
994
  ...commonParams
1003
995
  }).m(function(Command, cs, config, o) {
@@ -1014,7 +1006,6 @@ var ListSchemasCommand = _ListSchemasCommand;
1014
1006
 
1015
1007
 
1016
1008
 
1017
-
1018
1009
  var _ListStatementsCommand = class _ListStatementsCommand extends import_smithy_client.Command.classBuilder().ep({
1019
1010
  ...commonParams
1020
1011
  }).m(function(Command, cs, config, o) {
@@ -1031,7 +1022,6 @@ var ListStatementsCommand = _ListStatementsCommand;
1031
1022
 
1032
1023
 
1033
1024
 
1034
-
1035
1025
  var _ListTablesCommand = class _ListTablesCommand extends import_smithy_client.Command.classBuilder().ep({
1036
1026
  ...commonParams
1037
1027
  }).m(function(Command, cs, config, o) {
@@ -100,15 +100,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
100
100
  * Enables FIPS compatible endpoints.
101
101
  */
102
102
  useFipsEndpoint?: boolean | __Provider<boolean>;
103
+ /**
104
+ * The AWS region to which this client will send requests
105
+ */
106
+ region?: string | __Provider<string>;
103
107
  /**
104
108
  * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
105
109
  * @internal
106
110
  */
107
111
  defaultUserAgentProvider?: Provider<__UserAgent>;
108
- /**
109
- * The AWS region to which this client will send requests
110
- */
111
- region?: string | __Provider<string>;
112
112
  /**
113
113
  * Default credentials provider; Not available in browser runtime.
114
114
  * @deprecated
@@ -5,7 +5,8 @@ import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes
5
5
  /**
6
6
  * @public
7
7
  */
8
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
9
10
  /**
10
11
  * @public
11
12
  *
@@ -5,7 +5,8 @@ import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes
5
5
  /**
6
6
  * @public
7
7
  */
8
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
9
10
  /**
10
11
  * @public
11
12
  *
@@ -5,7 +5,8 @@ import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes
5
5
  /**
6
6
  * @public
7
7
  */
8
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
9
10
  /**
10
11
  * @public
11
12
  *
@@ -5,7 +5,8 @@ import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes
5
5
  /**
6
6
  * @public
7
7
  */
8
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
9
10
  /**
10
11
  * @public
11
12
  *
@@ -5,7 +5,8 @@ import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes
5
5
  /**
6
6
  * @public
7
7
  */
8
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
9
10
  /**
10
11
  * @public
11
12
  *
@@ -5,7 +5,8 @@ import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes
5
5
  /**
6
6
  * @public
7
7
  */
8
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
9
10
  /**
10
11
  * @public
11
12
  *
@@ -5,7 +5,8 @@ import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes
5
5
  /**
6
6
  * @public
7
7
  */
8
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
9
10
  /**
10
11
  * @public
11
12
  *
@@ -5,7 +5,8 @@ import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes
5
5
  /**
6
6
  * @public
7
7
  */
8
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
9
10
  /**
10
11
  * @public
11
12
  *
@@ -5,7 +5,8 @@ import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes
5
5
  /**
6
6
  * @public
7
7
  */
8
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
9
10
  /**
10
11
  * @public
11
12
  *
@@ -5,7 +5,8 @@ import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes
5
5
  /**
6
6
  * @public
7
7
  */
8
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
9
10
  /**
10
11
  * @public
11
12
  *
@@ -10,8 +10,8 @@
10
10
  export * from "./RedshiftDataClient";
11
11
  export * from "./RedshiftData";
12
12
  export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
13
- export { RuntimeExtension } from "./runtimeExtensions";
14
- export { RedshiftDataExtensionConfiguration } from "./extensionConfiguration";
13
+ export type { RuntimeExtension } from "./runtimeExtensions";
14
+ export type { RedshiftDataExtensionConfiguration } from "./extensionConfiguration";
15
15
  export * from "./commands";
16
16
  export * from "./pagination";
17
17
  export * from "./models";
@@ -1,5 +1,6 @@
1
1
  import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@smithy/smithy-client";
2
- export { __ServiceException, __ServiceExceptionOptions };
2
+ export type { __ServiceExceptionOptions };
3
+ export { __ServiceException };
3
4
  /**
4
5
  * @public
5
6
  *
@@ -18,8 +18,8 @@ export declare const getRuntimeConfig: (config: RedshiftDataClientConfig) => {
18
18
  serviceId: string;
19
19
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
20
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
- defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
22
21
  region: string | import("@smithy/types").Provider<any>;
22
+ defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
23
23
  credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
24
24
  maxAttempts: number | import("@smithy/types").Provider<number>;
25
25
  retryMode: string | import("@smithy/types").Provider<string>;
@@ -130,8 +130,8 @@ export interface ClientDefaults
130
130
  serviceId?: string;
131
131
  useDualstackEndpoint?: boolean | __Provider<boolean>;
132
132
  useFipsEndpoint?: boolean | __Provider<boolean>;
133
- defaultUserAgentProvider?: Provider<__UserAgent>;
134
133
  region?: string | __Provider<string>;
134
+ defaultUserAgentProvider?: Provider<__UserAgent>;
135
135
  credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
136
136
  maxAttempts?: number | __Provider<number>;
137
137
  retryMode?: string | __Provider<string>;
@@ -9,7 +9,8 @@ import {
9
9
  ServiceInputTypes,
10
10
  ServiceOutputTypes,
11
11
  } from "../RedshiftDataClient";
12
- export { __MetadataBearer, $Command };
12
+ export { __MetadataBearer };
13
+ export { $Command };
13
14
  export interface BatchExecuteStatementCommandInput
14
15
  extends BatchExecuteStatementInput {}
15
16
  export interface BatchExecuteStatementCommandOutput
@@ -9,7 +9,8 @@ import {
9
9
  ServiceInputTypes,
10
10
  ServiceOutputTypes,
11
11
  } from "../RedshiftDataClient";
12
- export { __MetadataBearer, $Command };
12
+ export { __MetadataBearer };
13
+ export { $Command };
13
14
  export interface CancelStatementCommandInput extends CancelStatementRequest {}
14
15
  export interface CancelStatementCommandOutput
15
16
  extends CancelStatementResponse,
@@ -9,7 +9,8 @@ import {
9
9
  ServiceInputTypes,
10
10
  ServiceOutputTypes,
11
11
  } from "../RedshiftDataClient";
12
- export { __MetadataBearer, $Command };
12
+ export { __MetadataBearer };
13
+ export { $Command };
13
14
  export interface DescribeStatementCommandInput
14
15
  extends DescribeStatementRequest {}
15
16
  export interface DescribeStatementCommandOutput
@@ -9,7 +9,8 @@ import {
9
9
  ServiceInputTypes,
10
10
  ServiceOutputTypes,
11
11
  } from "../RedshiftDataClient";
12
- export { __MetadataBearer, $Command };
12
+ export { __MetadataBearer };
13
+ export { $Command };
13
14
  export interface DescribeTableCommandInput extends DescribeTableRequest {}
14
15
  export interface DescribeTableCommandOutput
15
16
  extends DescribeTableResponse,
@@ -9,7 +9,8 @@ import {
9
9
  ServiceInputTypes,
10
10
  ServiceOutputTypes,
11
11
  } from "../RedshiftDataClient";
12
- export { __MetadataBearer, $Command };
12
+ export { __MetadataBearer };
13
+ export { $Command };
13
14
  export interface ExecuteStatementCommandInput extends ExecuteStatementInput {}
14
15
  export interface ExecuteStatementCommandOutput
15
16
  extends ExecuteStatementOutput,
@@ -9,7 +9,8 @@ import {
9
9
  ServiceInputTypes,
10
10
  ServiceOutputTypes,
11
11
  } from "../RedshiftDataClient";
12
- export { __MetadataBearer, $Command };
12
+ export { __MetadataBearer };
13
+ export { $Command };
13
14
  export interface GetStatementResultCommandInput
14
15
  extends GetStatementResultRequest {}
15
16
  export interface GetStatementResultCommandOutput
@@ -9,7 +9,8 @@ import {
9
9
  ServiceInputTypes,
10
10
  ServiceOutputTypes,
11
11
  } from "../RedshiftDataClient";
12
- export { __MetadataBearer, $Command };
12
+ export { __MetadataBearer };
13
+ export { $Command };
13
14
  export interface ListDatabasesCommandInput extends ListDatabasesRequest {}
14
15
  export interface ListDatabasesCommandOutput
15
16
  extends ListDatabasesResponse,
@@ -6,7 +6,8 @@ import {
6
6
  ServiceInputTypes,
7
7
  ServiceOutputTypes,
8
8
  } from "../RedshiftDataClient";
9
- export { __MetadataBearer, $Command };
9
+ export { __MetadataBearer };
10
+ export { $Command };
10
11
  export interface ListSchemasCommandInput extends ListSchemasRequest {}
11
12
  export interface ListSchemasCommandOutput
12
13
  extends ListSchemasResponse,
@@ -9,7 +9,8 @@ import {
9
9
  ServiceInputTypes,
10
10
  ServiceOutputTypes,
11
11
  } from "../RedshiftDataClient";
12
- export { __MetadataBearer, $Command };
12
+ export { __MetadataBearer };
13
+ export { $Command };
13
14
  export interface ListStatementsCommandInput extends ListStatementsRequest {}
14
15
  export interface ListStatementsCommandOutput
15
16
  extends ListStatementsResponse,
@@ -6,7 +6,8 @@ import {
6
6
  ServiceInputTypes,
7
7
  ServiceOutputTypes,
8
8
  } from "../RedshiftDataClient";
9
- export { __MetadataBearer, $Command };
9
+ export { __MetadataBearer };
10
+ export { $Command };
10
11
  export interface ListTablesCommandInput extends ListTablesRequest {}
11
12
  export interface ListTablesCommandOutput
12
13
  extends ListTablesResponse,
@@ -2,7 +2,8 @@ import {
2
2
  ServiceException as __ServiceException,
3
3
  ServiceExceptionOptions as __ServiceExceptionOptions,
4
4
  } from "@smithy/smithy-client";
5
- export { __ServiceException, __ServiceExceptionOptions };
5
+ export { __ServiceExceptionOptions };
6
+ export { __ServiceException };
6
7
  export declare class RedshiftDataServiceException extends __ServiceException {
7
8
  constructor(options: __ServiceExceptionOptions);
8
9
  }
@@ -20,10 +20,10 @@ export declare const getRuntimeConfig: (config: RedshiftDataClientConfig) => {
20
20
  serviceId: string;
21
21
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
22
22
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
23
+ region: string | import("@smithy/types").Provider<any>;
23
24
  defaultUserAgentProvider: import("@smithy/types").Provider<
24
25
  import("@smithy/types").UserAgent
25
26
  >;
26
- region: string | import("@smithy/types").Provider<any>;
27
27
  credentialDefaultProvider: (
28
28
  input: any
29
29
  ) => import("@smithy/types").AwsCredentialIdentityProvider;
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.588.0",
4
+ "version": "3.592.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-redshift-data",
@@ -20,10 +20,10 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sso-oidc": "3.588.0",
24
- "@aws-sdk/client-sts": "3.588.0",
25
- "@aws-sdk/core": "3.588.0",
26
- "@aws-sdk/credential-provider-node": "3.588.0",
23
+ "@aws-sdk/client-sso-oidc": "3.592.0",
24
+ "@aws-sdk/client-sts": "3.592.0",
25
+ "@aws-sdk/core": "3.592.0",
26
+ "@aws-sdk/credential-provider-node": "3.592.0",
27
27
  "@aws-sdk/middleware-host-header": "3.577.0",
28
28
  "@aws-sdk/middleware-logger": "3.577.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.577.0",
@@ -34,7 +34,7 @@
34
34
  "@aws-sdk/util-user-agent-browser": "3.577.0",
35
35
  "@aws-sdk/util-user-agent-node": "3.587.0",
36
36
  "@smithy/config-resolver": "^3.0.1",
37
- "@smithy/core": "^2.1.1",
37
+ "@smithy/core": "^2.2.0",
38
38
  "@smithy/fetch-http-handler": "^3.0.1",
39
39
  "@smithy/hash-node": "^3.0.0",
40
40
  "@smithy/invalid-dependency": "^3.0.0",