@aws-sdk/client-redshift-data 3.937.0 → 3.939.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/dist-cjs/index.js CHANGED
@@ -877,6 +877,28 @@ const paginateListStatements = core.createPaginator(RedshiftDataClient, ListStat
877
877
 
878
878
  const paginateListTables = core.createPaginator(RedshiftDataClient, ListTablesCommand, "NextToken", "NextToken", "MaxResults");
879
879
 
880
+ const ResultFormatString = {
881
+ CSV: "CSV",
882
+ JSON: "JSON",
883
+ };
884
+ const StatusString = {
885
+ ABORTED: "ABORTED",
886
+ ALL: "ALL",
887
+ FAILED: "FAILED",
888
+ FINISHED: "FINISHED",
889
+ PICKED: "PICKED",
890
+ STARTED: "STARTED",
891
+ SUBMITTED: "SUBMITTED",
892
+ };
893
+ const StatementStatusString = {
894
+ ABORTED: "ABORTED",
895
+ FAILED: "FAILED",
896
+ FINISHED: "FINISHED",
897
+ PICKED: "PICKED",
898
+ STARTED: "STARTED",
899
+ SUBMITTED: "SUBMITTED",
900
+ };
901
+
880
902
  Object.defineProperty(exports, "$Command", {
881
903
  enumerable: true,
882
904
  get: function () { return smithyClient.Command; }
@@ -907,6 +929,9 @@ exports.RedshiftData = RedshiftData;
907
929
  exports.RedshiftDataClient = RedshiftDataClient;
908
930
  exports.RedshiftDataServiceException = RedshiftDataServiceException$1;
909
931
  exports.ResourceNotFoundException = ResourceNotFoundException$1;
932
+ exports.ResultFormatString = ResultFormatString;
933
+ exports.StatementStatusString = StatementStatusString;
934
+ exports.StatusString = StatusString;
910
935
  exports.ValidationException = ValidationException$1;
911
936
  exports.paginateDescribeTable = paginateDescribeTable;
912
937
  exports.paginateGetStatementResult = paginateGetStatementResult;
package/dist-es/index.js CHANGED
@@ -2,5 +2,6 @@ export * from "./RedshiftDataClient";
2
2
  export * from "./RedshiftData";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
+ export * from "./models/enums";
5
6
  export * from "./models/errors";
6
7
  export { RedshiftDataServiceException } from "./models/RedshiftDataServiceException";
@@ -0,0 +1,21 @@
1
+ export const ResultFormatString = {
2
+ CSV: "CSV",
3
+ JSON: "JSON",
4
+ };
5
+ export const StatusString = {
6
+ ABORTED: "ABORTED",
7
+ ALL: "ALL",
8
+ FAILED: "FAILED",
9
+ FINISHED: "FINISHED",
10
+ PICKED: "PICKED",
11
+ STARTED: "STARTED",
12
+ SUBMITTED: "SUBMITTED",
13
+ };
14
+ export const StatementStatusString = {
15
+ ABORTED: "ABORTED",
16
+ FAILED: "FAILED",
17
+ FINISHED: "FINISHED",
18
+ PICKED: "PICKED",
19
+ STARTED: "STARTED",
20
+ SUBMITTED: "SUBMITTED",
21
+ };
@@ -1,21 +1 @@
1
- export const ResultFormatString = {
2
- CSV: "CSV",
3
- JSON: "JSON",
4
- };
5
- export const StatusString = {
6
- ABORTED: "ABORTED",
7
- ALL: "ALL",
8
- FAILED: "FAILED",
9
- FINISHED: "FINISHED",
10
- PICKED: "PICKED",
11
- STARTED: "STARTED",
12
- SUBMITTED: "SUBMITTED",
13
- };
14
- export const StatementStatusString = {
15
- ABORTED: "ABORTED",
16
- FAILED: "FAILED",
17
- FINISHED: "FINISHED",
18
- PICKED: "PICKED",
19
- STARTED: "STARTED",
20
- SUBMITTED: "SUBMITTED",
21
- };
1
+ export {};
@@ -10,6 +10,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
10
10
  export type { RedshiftDataExtensionConfiguration } from "./extensionConfiguration";
11
11
  export * from "./commands";
12
12
  export * from "./pagination";
13
+ export * from "./models/enums";
13
14
  export * from "./models/errors";
14
15
  export type * from "./models/models_0";
15
16
  export { RedshiftDataServiceException } from "./models/RedshiftDataServiceException";
@@ -0,0 +1,45 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const ResultFormatString: {
6
+ readonly CSV: "CSV";
7
+ readonly JSON: "JSON";
8
+ };
9
+ /**
10
+ * @public
11
+ */
12
+ export type ResultFormatString = (typeof ResultFormatString)[keyof typeof ResultFormatString];
13
+ /**
14
+ * @public
15
+ * @enum
16
+ */
17
+ export declare const StatusString: {
18
+ readonly ABORTED: "ABORTED";
19
+ readonly ALL: "ALL";
20
+ readonly FAILED: "FAILED";
21
+ readonly FINISHED: "FINISHED";
22
+ readonly PICKED: "PICKED";
23
+ readonly STARTED: "STARTED";
24
+ readonly SUBMITTED: "SUBMITTED";
25
+ };
26
+ /**
27
+ * @public
28
+ */
29
+ export type StatusString = (typeof StatusString)[keyof typeof StatusString];
30
+ /**
31
+ * @public
32
+ * @enum
33
+ */
34
+ export declare const StatementStatusString: {
35
+ readonly ABORTED: "ABORTED";
36
+ readonly FAILED: "FAILED";
37
+ readonly FINISHED: "FINISHED";
38
+ readonly PICKED: "PICKED";
39
+ readonly STARTED: "STARTED";
40
+ readonly SUBMITTED: "SUBMITTED";
41
+ };
42
+ /**
43
+ * @public
44
+ */
45
+ export type StatementStatusString = (typeof StatementStatusString)[keyof typeof StatementStatusString];
@@ -1,15 +1,4 @@
1
- /**
2
- * @public
3
- * @enum
4
- */
5
- export declare const ResultFormatString: {
6
- readonly CSV: "CSV";
7
- readonly JSON: "JSON";
8
- };
9
- /**
10
- * @public
11
- */
12
- export type ResultFormatString = (typeof ResultFormatString)[keyof typeof ResultFormatString];
1
+ import { ResultFormatString, StatementStatusString, StatusString } from "./enums";
13
2
  /**
14
3
  * @public
15
4
  */
@@ -242,39 +231,6 @@ export interface SqlParameter {
242
231
  */
243
232
  value: string | undefined;
244
233
  }
245
- /**
246
- * @public
247
- * @enum
248
- */
249
- export declare const StatusString: {
250
- readonly ABORTED: "ABORTED";
251
- readonly ALL: "ALL";
252
- readonly FAILED: "FAILED";
253
- readonly FINISHED: "FINISHED";
254
- readonly PICKED: "PICKED";
255
- readonly STARTED: "STARTED";
256
- readonly SUBMITTED: "SUBMITTED";
257
- };
258
- /**
259
- * @public
260
- */
261
- export type StatusString = (typeof StatusString)[keyof typeof StatusString];
262
- /**
263
- * @public
264
- * @enum
265
- */
266
- export declare const StatementStatusString: {
267
- readonly ABORTED: "ABORTED";
268
- readonly FAILED: "FAILED";
269
- readonly FINISHED: "FINISHED";
270
- readonly PICKED: "PICKED";
271
- readonly STARTED: "STARTED";
272
- readonly SUBMITTED: "SUBMITTED";
273
- };
274
- /**
275
- * @public
276
- */
277
- export type StatementStatusString = (typeof StatementStatusString)[keyof typeof StatementStatusString];
278
234
  /**
279
235
  * <p>Information about an SQL statement.</p>
280
236
  * @public
@@ -5,6 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { RedshiftDataExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
+ export * from "./models/enums";
8
9
  export * from "./models/errors";
9
10
  export * from "./models/models_0";
10
11
  export { RedshiftDataServiceException } from "./models/RedshiftDataServiceException";
@@ -0,0 +1,26 @@
1
+ export declare const ResultFormatString: {
2
+ readonly CSV: "CSV";
3
+ readonly JSON: "JSON";
4
+ };
5
+ export type ResultFormatString =
6
+ (typeof ResultFormatString)[keyof typeof ResultFormatString];
7
+ export declare const StatusString: {
8
+ readonly ABORTED: "ABORTED";
9
+ readonly ALL: "ALL";
10
+ readonly FAILED: "FAILED";
11
+ readonly FINISHED: "FINISHED";
12
+ readonly PICKED: "PICKED";
13
+ readonly STARTED: "STARTED";
14
+ readonly SUBMITTED: "SUBMITTED";
15
+ };
16
+ export type StatusString = (typeof StatusString)[keyof typeof StatusString];
17
+ export declare const StatementStatusString: {
18
+ readonly ABORTED: "ABORTED";
19
+ readonly FAILED: "FAILED";
20
+ readonly FINISHED: "FINISHED";
21
+ readonly PICKED: "PICKED";
22
+ readonly STARTED: "STARTED";
23
+ readonly SUBMITTED: "SUBMITTED";
24
+ };
25
+ export type StatementStatusString =
26
+ (typeof StatementStatusString)[keyof typeof StatementStatusString];
@@ -1,9 +1,8 @@
1
- export declare const ResultFormatString: {
2
- readonly CSV: "CSV";
3
- readonly JSON: "JSON";
4
- };
5
- export type ResultFormatString =
6
- (typeof ResultFormatString)[keyof typeof ResultFormatString];
1
+ import {
2
+ ResultFormatString,
3
+ StatementStatusString,
4
+ StatusString,
5
+ } from "./enums";
7
6
  export interface BatchExecuteStatementInput {
8
7
  Sqls: string[] | undefined;
9
8
  ClusterIdentifier?: string | undefined;
@@ -57,26 +56,6 @@ export interface SqlParameter {
57
56
  name: string | undefined;
58
57
  value: string | undefined;
59
58
  }
60
- export declare const StatusString: {
61
- readonly ABORTED: "ABORTED";
62
- readonly ALL: "ALL";
63
- readonly FAILED: "FAILED";
64
- readonly FINISHED: "FINISHED";
65
- readonly PICKED: "PICKED";
66
- readonly STARTED: "STARTED";
67
- readonly SUBMITTED: "SUBMITTED";
68
- };
69
- export type StatusString = (typeof StatusString)[keyof typeof StatusString];
70
- export declare const StatementStatusString: {
71
- readonly ABORTED: "ABORTED";
72
- readonly FAILED: "FAILED";
73
- readonly FINISHED: "FINISHED";
74
- readonly PICKED: "PICKED";
75
- readonly STARTED: "STARTED";
76
- readonly SUBMITTED: "SUBMITTED";
77
- };
78
- export type StatementStatusString =
79
- (typeof StatementStatusString)[keyof typeof StatementStatusString];
80
59
  export interface SubStatementData {
81
60
  Id: string | undefined;
82
61
  Duration?: number | undefined;
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.937.0",
4
+ "version": "3.939.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",
@@ -21,7 +21,7 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.936.0",
24
- "@aws-sdk/credential-provider-node": "3.936.0",
24
+ "@aws-sdk/credential-provider-node": "3.939.0",
25
25
  "@aws-sdk/middleware-host-header": "3.936.0",
26
26
  "@aws-sdk/middleware-logger": "3.936.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.936.0",