@aws-sdk/client-redshift-data 3.936.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.
@@ -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;
@@ -14,9 +13,9 @@ export interface BatchExecuteStatementInput {
14
13
  StatementName?: string | undefined;
15
14
  WorkgroupName?: string | undefined;
16
15
  ClientToken?: string | undefined;
16
+ ResultFormat?: ResultFormatString | undefined;
17
17
  SessionKeepAliveSeconds?: number | undefined;
18
18
  SessionId?: string | undefined;
19
- ResultFormat?: ResultFormatString | undefined;
20
19
  }
21
20
  export interface BatchExecuteStatementOutput {
22
21
  Id?: 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;
@@ -110,8 +89,8 @@ export interface DescribeStatementResponse {
110
89
  QueryParameters?: SqlParameter[] | undefined;
111
90
  SubStatements?: SubStatementData[] | undefined;
112
91
  WorkgroupName?: string | undefined;
113
- SessionId?: string | undefined;
114
92
  ResultFormat?: ResultFormatString | undefined;
93
+ SessionId?: string | undefined;
115
94
  }
116
95
  export interface DescribeTableRequest {
117
96
  ClusterIdentifier?: string | undefined;
@@ -141,9 +120,9 @@ export interface ExecuteStatementInput {
141
120
  Parameters?: SqlParameter[] | undefined;
142
121
  WorkgroupName?: string | undefined;
143
122
  ClientToken?: string | undefined;
123
+ ResultFormat?: ResultFormatString | undefined;
144
124
  SessionKeepAliveSeconds?: number | undefined;
145
125
  SessionId?: string | undefined;
146
- ResultFormat?: ResultFormatString | undefined;
147
126
  }
148
127
  export interface ExecuteStatementOutput {
149
128
  Id?: string | 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.936.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",