@aws-sdk/client-redshift-data 3.952.0 → 3.953.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 +184 -127
- package/dist-cjs/runtimeConfig.shared.js +6 -6
- package/dist-es/commands/BatchExecuteStatementCommand.js +2 -2
- package/dist-es/commands/CancelStatementCommand.js +2 -2
- package/dist-es/commands/DescribeStatementCommand.js +2 -2
- package/dist-es/commands/DescribeTableCommand.js +2 -2
- package/dist-es/commands/ExecuteStatementCommand.js +2 -2
- package/dist-es/commands/GetStatementResultCommand.js +2 -2
- package/dist-es/commands/GetStatementResultV2Command.js +2 -2
- package/dist-es/commands/ListDatabasesCommand.js +2 -2
- package/dist-es/commands/ListSchemasCommand.js +2 -2
- package/dist-es/commands/ListStatementsCommand.js +2 -2
- package/dist-es/commands/ListTablesCommand.js +2 -2
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.shared.js +6 -6
- package/dist-es/schemas/schemas_0.js +101 -94
- package/dist-types/RedshiftDataClient.d.ts +1 -10
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +6 -2
- package/dist-types/runtimeConfig.d.ts +6 -2
- package/dist-types/runtimeConfig.native.d.ts +6 -2
- package/dist-types/runtimeConfig.shared.d.ts +6 -1
- package/dist-types/schemas/schemas_0.d.ts +51 -65
- package/dist-types/ts3.4/RedshiftDataClient.d.ts +0 -4
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +50 -65
- package/package.json +34 -34
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { CancelStatement } from "../schemas/schemas_0";
|
|
4
|
+
import { CancelStatement$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class CancelStatementCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class CancelStatementCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("RedshiftData", "CancelStatement", {})
|
|
13
13
|
.n("RedshiftDataClient", "CancelStatementCommand")
|
|
14
|
-
.sc(CancelStatement)
|
|
14
|
+
.sc(CancelStatement$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { DescribeStatement } from "../schemas/schemas_0";
|
|
4
|
+
import { DescribeStatement$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class DescribeStatementCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class DescribeStatementCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("RedshiftData", "DescribeStatement", {})
|
|
13
13
|
.n("RedshiftDataClient", "DescribeStatementCommand")
|
|
14
|
-
.sc(DescribeStatement)
|
|
14
|
+
.sc(DescribeStatement$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { DescribeTable } from "../schemas/schemas_0";
|
|
4
|
+
import { DescribeTable$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class DescribeTableCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class DescribeTableCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("RedshiftData", "DescribeTable", {})
|
|
13
13
|
.n("RedshiftDataClient", "DescribeTableCommand")
|
|
14
|
-
.sc(DescribeTable)
|
|
14
|
+
.sc(DescribeTable$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { ExecuteStatement } from "../schemas/schemas_0";
|
|
4
|
+
import { ExecuteStatement$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ExecuteStatementCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class ExecuteStatementCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("RedshiftData", "ExecuteStatement", {})
|
|
13
13
|
.n("RedshiftDataClient", "ExecuteStatementCommand")
|
|
14
|
-
.sc(ExecuteStatement)
|
|
14
|
+
.sc(ExecuteStatement$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { GetStatementResult } from "../schemas/schemas_0";
|
|
4
|
+
import { GetStatementResult$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetStatementResultCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class GetStatementResultCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("RedshiftData", "GetStatementResult", {})
|
|
13
13
|
.n("RedshiftDataClient", "GetStatementResultCommand")
|
|
14
|
-
.sc(GetStatementResult)
|
|
14
|
+
.sc(GetStatementResult$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { GetStatementResultV2 } from "../schemas/schemas_0";
|
|
4
|
+
import { GetStatementResultV2$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetStatementResultV2Command extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class GetStatementResultV2Command extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("RedshiftData", "GetStatementResultV2", {})
|
|
13
13
|
.n("RedshiftDataClient", "GetStatementResultV2Command")
|
|
14
|
-
.sc(GetStatementResultV2)
|
|
14
|
+
.sc(GetStatementResultV2$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { ListDatabases } from "../schemas/schemas_0";
|
|
4
|
+
import { ListDatabases$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListDatabasesCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class ListDatabasesCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("RedshiftData", "ListDatabases", {})
|
|
13
13
|
.n("RedshiftDataClient", "ListDatabasesCommand")
|
|
14
|
-
.sc(ListDatabases)
|
|
14
|
+
.sc(ListDatabases$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { ListSchemas } from "../schemas/schemas_0";
|
|
4
|
+
import { ListSchemas$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListSchemasCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class ListSchemasCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("RedshiftData", "ListSchemas", {})
|
|
13
13
|
.n("RedshiftDataClient", "ListSchemasCommand")
|
|
14
|
-
.sc(ListSchemas)
|
|
14
|
+
.sc(ListSchemas$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { ListStatements } from "../schemas/schemas_0";
|
|
4
|
+
import { ListStatements$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListStatementsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class ListStatementsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("RedshiftData", "ListStatements", {})
|
|
13
13
|
.n("RedshiftDataClient", "ListStatementsCommand")
|
|
14
|
-
.sc(ListStatements)
|
|
14
|
+
.sc(ListStatements$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { ListTables } from "../schemas/schemas_0";
|
|
4
|
+
import { ListTables$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListTablesCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class ListTablesCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("RedshiftData", "ListTables", {})
|
|
13
13
|
.n("RedshiftDataClient", "ListTablesCommand")
|
|
14
|
-
.sc(ListTables)
|
|
14
|
+
.sc(ListTables$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -23,12 +23,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
23
|
},
|
|
24
24
|
],
|
|
25
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
-
protocol: config?.protocol ??
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
26
|
+
protocol: config?.protocol ?? AwsJson1_1Protocol,
|
|
27
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
28
|
+
defaultNamespace: "com.amazonaws.redshiftdata",
|
|
29
|
+
version: "2019-12-20",
|
|
30
|
+
serviceTarget: "RedshiftData",
|
|
31
|
+
},
|
|
32
32
|
serviceId: config?.serviceId ?? "Redshift Data",
|
|
33
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
34
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
@@ -135,13 +135,20 @@ const _tNy = "typeName";
|
|
|
135
135
|
const _v = "value";
|
|
136
136
|
const n0 = "com.amazonaws.redshiftdata";
|
|
137
137
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
138
|
-
import { ActiveSessionsExceededException
|
|
139
|
-
import { RedshiftDataServiceException
|
|
140
|
-
export var ActiveSessionsExceededException = [-3, n0, _ASEE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
|
|
141
|
-
TypeRegistry.for(n0).registerError(ActiveSessionsExceededException
|
|
142
|
-
export var ActiveStatementsExceededException = [
|
|
143
|
-
|
|
144
|
-
|
|
138
|
+
import { ActiveSessionsExceededException, ActiveStatementsExceededException, BatchExecuteStatementException, DatabaseConnectionException, ExecuteStatementException, InternalServerException, QueryTimeoutException, ResourceNotFoundException, ValidationException, } from "../models/errors";
|
|
139
|
+
import { RedshiftDataServiceException } from "../models/RedshiftDataServiceException";
|
|
140
|
+
export var ActiveSessionsExceededException$ = [-3, n0, _ASEE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
|
|
141
|
+
TypeRegistry.for(n0).registerError(ActiveSessionsExceededException$, ActiveSessionsExceededException);
|
|
142
|
+
export var ActiveStatementsExceededException$ = [
|
|
143
|
+
-3,
|
|
144
|
+
n0,
|
|
145
|
+
_ASEEc,
|
|
146
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
147
|
+
[_M],
|
|
148
|
+
[0],
|
|
149
|
+
];
|
|
150
|
+
TypeRegistry.for(n0).registerError(ActiveStatementsExceededException$, ActiveStatementsExceededException);
|
|
151
|
+
export var BatchExecuteStatementException$ = [
|
|
145
152
|
-3,
|
|
146
153
|
n0,
|
|
147
154
|
_BESE,
|
|
@@ -149,8 +156,8 @@ export var BatchExecuteStatementException = [
|
|
|
149
156
|
[_M, _SI],
|
|
150
157
|
[0, 0],
|
|
151
158
|
];
|
|
152
|
-
TypeRegistry.for(n0).registerError(BatchExecuteStatementException
|
|
153
|
-
export var BatchExecuteStatementInput = [
|
|
159
|
+
TypeRegistry.for(n0).registerError(BatchExecuteStatementException$, BatchExecuteStatementException);
|
|
160
|
+
export var BatchExecuteStatementInput$ = [
|
|
154
161
|
3,
|
|
155
162
|
n0,
|
|
156
163
|
_BESI,
|
|
@@ -158,7 +165,7 @@ export var BatchExecuteStatementInput = [
|
|
|
158
165
|
[_S, _CI, _SA, _DU, _D, _WE, _SN, _WN, _CT, _RF, _SKAS, _SIe],
|
|
159
166
|
[64 | 0, 0, 0, 0, 0, 2, 0, 0, [0, 4], 0, 1, 0],
|
|
160
167
|
];
|
|
161
|
-
export var BatchExecuteStatementOutput = [
|
|
168
|
+
export var BatchExecuteStatementOutput$ = [
|
|
162
169
|
3,
|
|
163
170
|
n0,
|
|
164
171
|
_BESO,
|
|
@@ -166,9 +173,9 @@ export var BatchExecuteStatementOutput = [
|
|
|
166
173
|
[_I, _CA, _CI, _DU, _DG, _D, _SA, _WN, _SIe],
|
|
167
174
|
[0, 4, 0, 0, 64 | 0, 0, 0, 0, 0],
|
|
168
175
|
];
|
|
169
|
-
export var CancelStatementRequest = [3, n0, _CSR, 0, [_I], [0]];
|
|
170
|
-
export var CancelStatementResponse = [3, n0, _CSRa, 0, [_St], [2]];
|
|
171
|
-
export var ColumnMetadata = [
|
|
176
|
+
export var CancelStatementRequest$ = [3, n0, _CSR, 0, [_I], [0]];
|
|
177
|
+
export var CancelStatementResponse$ = [3, n0, _CSRa, 0, [_St], [2]];
|
|
178
|
+
export var ColumnMetadata$ = [
|
|
172
179
|
3,
|
|
173
180
|
n0,
|
|
174
181
|
_CM,
|
|
@@ -176,10 +183,10 @@ export var ColumnMetadata = [
|
|
|
176
183
|
[_iCS, _iC, _iS, _l, _n, _nu, _p, _sc, _sN, _tN, _tNy, _le, _cD],
|
|
177
184
|
[2, 2, 2, 0, 0, 1, 1, 1, 0, 0, 0, 1, 0],
|
|
178
185
|
];
|
|
179
|
-
export var DatabaseConnectionException = [-3, n0, _DCE, { [_e]: _s, [_hE]: 500 }, [_M], [0]];
|
|
180
|
-
TypeRegistry.for(n0).registerError(DatabaseConnectionException
|
|
181
|
-
export var DescribeStatementRequest = [3, n0, _DSR, 0, [_I], [0]];
|
|
182
|
-
export var DescribeStatementResponse = [
|
|
186
|
+
export var DatabaseConnectionException$ = [-3, n0, _DCE, { [_e]: _s, [_hE]: 500 }, [_M], [0]];
|
|
187
|
+
TypeRegistry.for(n0).registerError(DatabaseConnectionException$, DatabaseConnectionException);
|
|
188
|
+
export var DescribeStatementRequest$ = [3, n0, _DSR, 0, [_I], [0]];
|
|
189
|
+
export var DescribeStatementResponse$ = [
|
|
183
190
|
3,
|
|
184
191
|
n0,
|
|
185
192
|
_DSRe,
|
|
@@ -187,7 +194,7 @@ export var DescribeStatementResponse = [
|
|
|
187
194
|
[_I, _SA, _DU, _D, _CI, _Du, _E, _St, _CA, _UA, _RP, _HRS, _QS, _RR, _RS, _RQI, _QP, _SS, _WN, _RF, _SIe],
|
|
188
195
|
[0, 0, 0, 0, 0, 1, 0, 0, 4, 4, 1, 2, 0, 1, 1, 1, () => SqlParametersList, () => SubStatementList, 0, 0, 0],
|
|
189
196
|
];
|
|
190
|
-
export var DescribeTableRequest = [
|
|
197
|
+
export var DescribeTableRequest$ = [
|
|
191
198
|
3,
|
|
192
199
|
n0,
|
|
193
200
|
_DTR,
|
|
@@ -195,10 +202,10 @@ export var DescribeTableRequest = [
|
|
|
195
202
|
[_CI, _SA, _DU, _D, _CD, _Sc, _T, _NT, _MR, _WN],
|
|
196
203
|
[0, 0, 0, 0, 0, 0, 0, 0, 1, 0],
|
|
197
204
|
];
|
|
198
|
-
export var DescribeTableResponse = [3, n0, _DTRe, 0, [_TN, _CL, _NT], [0, () => ColumnList, 0]];
|
|
199
|
-
export var ExecuteStatementException = [-3, n0, _ESE, { [_e]: _s, [_hE]: 500 }, [_M, _SI], [0, 0]];
|
|
200
|
-
TypeRegistry.for(n0).registerError(ExecuteStatementException
|
|
201
|
-
export var ExecuteStatementInput = [
|
|
205
|
+
export var DescribeTableResponse$ = [3, n0, _DTRe, 0, [_TN, _CL, _NT], [0, () => ColumnList, 0]];
|
|
206
|
+
export var ExecuteStatementException$ = [-3, n0, _ESE, { [_e]: _s, [_hE]: 500 }, [_M, _SI], [0, 0]];
|
|
207
|
+
TypeRegistry.for(n0).registerError(ExecuteStatementException$, ExecuteStatementException);
|
|
208
|
+
export var ExecuteStatementInput$ = [
|
|
202
209
|
3,
|
|
203
210
|
n0,
|
|
204
211
|
_ESI,
|
|
@@ -206,7 +213,7 @@ export var ExecuteStatementInput = [
|
|
|
206
213
|
[_Sq, _CI, _SA, _DU, _D, _WE, _SN, _P, _WN, _CT, _RF, _SKAS, _SIe],
|
|
207
214
|
[0, 0, 0, 0, 0, 2, 0, () => SqlParametersList, 0, [0, 4], 0, 1, 0],
|
|
208
215
|
];
|
|
209
|
-
export var ExecuteStatementOutput = [
|
|
216
|
+
export var ExecuteStatementOutput$ = [
|
|
210
217
|
3,
|
|
211
218
|
n0,
|
|
212
219
|
_ESO,
|
|
@@ -214,8 +221,8 @@ export var ExecuteStatementOutput = [
|
|
|
214
221
|
[_I, _CA, _CI, _DU, _DG, _D, _SA, _WN, _SIe],
|
|
215
222
|
[0, 4, 0, 0, 64 | 0, 0, 0, 0, 0],
|
|
216
223
|
];
|
|
217
|
-
export var GetStatementResultRequest = [3, n0, _GSRR, 0, [_I, _NT], [0, 0]];
|
|
218
|
-
export var GetStatementResultResponse = [
|
|
224
|
+
export var GetStatementResultRequest$ = [3, n0, _GSRR, 0, [_I, _NT], [0, 0]];
|
|
225
|
+
export var GetStatementResultResponse$ = [
|
|
219
226
|
3,
|
|
220
227
|
n0,
|
|
221
228
|
_GSRRe,
|
|
@@ -223,8 +230,8 @@ export var GetStatementResultResponse = [
|
|
|
223
230
|
[_R, _CM, _TNR, _NT],
|
|
224
231
|
[() => SqlRecords, () => ColumnMetadataList, 1, 0],
|
|
225
232
|
];
|
|
226
|
-
export var GetStatementResultV2Request = [3, n0, _GSRVR, 0, [_I, _NT], [0, 0]];
|
|
227
|
-
export var GetStatementResultV2Response = [
|
|
233
|
+
export var GetStatementResultV2Request$ = [3, n0, _GSRVR, 0, [_I, _NT], [0, 0]];
|
|
234
|
+
export var GetStatementResultV2Response$ = [
|
|
228
235
|
3,
|
|
229
236
|
n0,
|
|
230
237
|
_GSRVRe,
|
|
@@ -232,9 +239,9 @@ export var GetStatementResultV2Response = [
|
|
|
232
239
|
[_R, _CM, _TNR, _RF, _NT],
|
|
233
240
|
[() => FormattedSqlRecords, () => ColumnMetadataList, 1, 0, 0],
|
|
234
241
|
];
|
|
235
|
-
export var InternalServerException = [-3, n0, _ISE, { [_e]: _s, [_hE]: 500 }, [_M], [0]];
|
|
236
|
-
TypeRegistry.for(n0).registerError(InternalServerException
|
|
237
|
-
export var ListDatabasesRequest = [
|
|
242
|
+
export var InternalServerException$ = [-3, n0, _ISE, { [_e]: _s, [_hE]: 500 }, [_M], [0]];
|
|
243
|
+
TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
|
|
244
|
+
export var ListDatabasesRequest$ = [
|
|
238
245
|
3,
|
|
239
246
|
n0,
|
|
240
247
|
_LDR,
|
|
@@ -242,8 +249,8 @@ export var ListDatabasesRequest = [
|
|
|
242
249
|
[_CI, _D, _SA, _DU, _NT, _MR, _WN],
|
|
243
250
|
[0, 0, 0, 0, 0, 1, 0],
|
|
244
251
|
];
|
|
245
|
-
export var ListDatabasesResponse = [3, n0, _LDRi, 0, [_Da, _NT], [64 | 0, 0]];
|
|
246
|
-
export var ListSchemasRequest = [
|
|
252
|
+
export var ListDatabasesResponse$ = [3, n0, _LDRi, 0, [_Da, _NT], [64 | 0, 0]];
|
|
253
|
+
export var ListSchemasRequest$ = [
|
|
247
254
|
3,
|
|
248
255
|
n0,
|
|
249
256
|
_LSR,
|
|
@@ -251,8 +258,8 @@ export var ListSchemasRequest = [
|
|
|
251
258
|
[_CI, _SA, _DU, _D, _CD, _SP, _NT, _MR, _WN],
|
|
252
259
|
[0, 0, 0, 0, 0, 0, 0, 1, 0],
|
|
253
260
|
];
|
|
254
|
-
export var ListSchemasResponse = [3, n0, _LSRi, 0, [_Sch, _NT], [64 | 0, 0]];
|
|
255
|
-
export var ListStatementsRequest = [
|
|
261
|
+
export var ListSchemasResponse$ = [3, n0, _LSRi, 0, [_Sch, _NT], [64 | 0, 0]];
|
|
262
|
+
export var ListStatementsRequest$ = [
|
|
256
263
|
3,
|
|
257
264
|
n0,
|
|
258
265
|
_LSRis,
|
|
@@ -260,8 +267,8 @@ export var ListStatementsRequest = [
|
|
|
260
267
|
[_NT, _MR, _SN, _St, _RL, _D, _CI, _WN],
|
|
261
268
|
[0, 1, 0, 0, 2, 0, 0, 0],
|
|
262
269
|
];
|
|
263
|
-
export var ListStatementsResponse = [3, n0, _LSRist, 0, [_Sta, _NT], [() => StatementList, 0]];
|
|
264
|
-
export var ListTablesRequest = [
|
|
270
|
+
export var ListStatementsResponse$ = [3, n0, _LSRist, 0, [_Sta, _NT], [() => StatementList, 0]];
|
|
271
|
+
export var ListTablesRequest$ = [
|
|
265
272
|
3,
|
|
266
273
|
n0,
|
|
267
274
|
_LTR,
|
|
@@ -269,13 +276,13 @@ export var ListTablesRequest = [
|
|
|
269
276
|
[_CI, _SA, _DU, _D, _CD, _SP, _TP, _NT, _MR, _WN],
|
|
270
277
|
[0, 0, 0, 0, 0, 0, 0, 0, 1, 0],
|
|
271
278
|
];
|
|
272
|
-
export var ListTablesResponse = [3, n0, _LTRi, 0, [_Ta, _NT], [() => TableList, 0]];
|
|
273
|
-
export var QueryTimeoutException = [-3, n0, _QTE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
|
|
274
|
-
TypeRegistry.for(n0).registerError(QueryTimeoutException
|
|
275
|
-
export var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_M, _RI], [0, 0]];
|
|
276
|
-
TypeRegistry.for(n0).registerError(ResourceNotFoundException
|
|
277
|
-
export var SqlParameter = [3, n0, _SPq, 0, [_n, _v], [0, 0]];
|
|
278
|
-
export var StatementData = [
|
|
279
|
+
export var ListTablesResponse$ = [3, n0, _LTRi, 0, [_Ta, _NT], [() => TableList, 0]];
|
|
280
|
+
export var QueryTimeoutException$ = [-3, n0, _QTE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
|
|
281
|
+
TypeRegistry.for(n0).registerError(QueryTimeoutException$, QueryTimeoutException);
|
|
282
|
+
export var ResourceNotFoundException$ = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_M, _RI], [0, 0]];
|
|
283
|
+
TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
284
|
+
export var SqlParameter$ = [3, n0, _SPq, 0, [_n, _v], [0, 0]];
|
|
285
|
+
export var StatementData$ = [
|
|
279
286
|
3,
|
|
280
287
|
n0,
|
|
281
288
|
_SD,
|
|
@@ -283,7 +290,7 @@ export var StatementData = [
|
|
|
283
290
|
[_I, _QS, _QSu, _SA, _St, _SN, _CA, _UA, _QP, _IBS, _RF, _SIe],
|
|
284
291
|
[0, 0, 64 | 0, 0, 0, 0, 4, 4, () => SqlParametersList, 2, 0, 0],
|
|
285
292
|
];
|
|
286
|
-
export var SubStatementData = [
|
|
293
|
+
export var SubStatementData$ = [
|
|
287
294
|
3,
|
|
288
295
|
n0,
|
|
289
296
|
_SSD,
|
|
@@ -291,98 +298,98 @@ export var SubStatementData = [
|
|
|
291
298
|
[_I, _Du, _E, _St, _CA, _UA, _QS, _RR, _RS, _RQI, _HRS],
|
|
292
299
|
[0, 1, 0, 0, 4, 4, 0, 1, 1, 1, 2],
|
|
293
300
|
];
|
|
294
|
-
export var TableMember = [3, n0, _TM, 0, [_n, _t, _sch], [0, 0, 0]];
|
|
295
|
-
export var ValidationException = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
|
|
296
|
-
TypeRegistry.for(n0).registerError(ValidationException
|
|
297
|
-
export var RedshiftDataServiceException = [-3, _sm, "RedshiftDataServiceException", 0, [], []];
|
|
298
|
-
TypeRegistry.for(_sm).registerError(RedshiftDataServiceException
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
export var Field = [3, n0, _F, 0, [_iN, _bV, _lV, _dV, _sV, _bVl], [2, 2, 1, 1, 0, 21]];
|
|
314
|
-
export var QueryRecords = [3, n0, _QR, 0, [_CSVR], [0]];
|
|
315
|
-
export var BatchExecuteStatement = [
|
|
301
|
+
export var TableMember$ = [3, n0, _TM, 0, [_n, _t, _sch], [0, 0, 0]];
|
|
302
|
+
export var ValidationException$ = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
|
|
303
|
+
TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
|
|
304
|
+
export var RedshiftDataServiceException$ = [-3, _sm, "RedshiftDataServiceException", 0, [], []];
|
|
305
|
+
TypeRegistry.for(_sm).registerError(RedshiftDataServiceException$, RedshiftDataServiceException);
|
|
306
|
+
var ColumnList = [1, n0, _CL, 0, () => ColumnMetadata$];
|
|
307
|
+
var ColumnMetadataList = [1, n0, _CML, 0, () => ColumnMetadata$];
|
|
308
|
+
var DatabaseList = 64 | 0;
|
|
309
|
+
var DbGroupList = 64 | 0;
|
|
310
|
+
var FieldList = [1, n0, _FL, 0, () => Field$];
|
|
311
|
+
var FormattedSqlRecords = [1, n0, _FSR, 0, () => QueryRecords$];
|
|
312
|
+
var SchemaList = 64 | 0;
|
|
313
|
+
var SqlList = 64 | 0;
|
|
314
|
+
var SqlParametersList = [1, n0, _SPL, 0, () => SqlParameter$];
|
|
315
|
+
var SqlRecords = [1, n0, _SR, 0, () => FieldList];
|
|
316
|
+
var StatementList = [1, n0, _SL, 0, () => StatementData$];
|
|
317
|
+
var StatementStringList = 64 | 0;
|
|
318
|
+
var SubStatementList = [1, n0, _SSL, 0, () => SubStatementData$];
|
|
319
|
+
var TableList = [1, n0, _TL, 0, () => TableMember$];
|
|
320
|
+
export var Field$ = [3, n0, _F, 0, [_iN, _bV, _lV, _dV, _sV, _bVl], [2, 2, 1, 1, 0, 21]];
|
|
321
|
+
export var QueryRecords$ = [3, n0, _QR, 0, [_CSVR], [0]];
|
|
322
|
+
export var BatchExecuteStatement$ = [
|
|
316
323
|
9,
|
|
317
324
|
n0,
|
|
318
325
|
_BES,
|
|
319
326
|
0,
|
|
320
|
-
() => BatchExecuteStatementInput
|
|
321
|
-
() => BatchExecuteStatementOutput
|
|
327
|
+
() => BatchExecuteStatementInput$,
|
|
328
|
+
() => BatchExecuteStatementOutput$,
|
|
322
329
|
];
|
|
323
|
-
export var CancelStatement = [
|
|
330
|
+
export var CancelStatement$ = [
|
|
324
331
|
9,
|
|
325
332
|
n0,
|
|
326
333
|
_CS,
|
|
327
334
|
0,
|
|
328
|
-
() => CancelStatementRequest
|
|
329
|
-
() => CancelStatementResponse
|
|
335
|
+
() => CancelStatementRequest$,
|
|
336
|
+
() => CancelStatementResponse$,
|
|
330
337
|
];
|
|
331
|
-
export var DescribeStatement = [
|
|
338
|
+
export var DescribeStatement$ = [
|
|
332
339
|
9,
|
|
333
340
|
n0,
|
|
334
341
|
_DS,
|
|
335
342
|
0,
|
|
336
|
-
() => DescribeStatementRequest
|
|
337
|
-
() => DescribeStatementResponse
|
|
343
|
+
() => DescribeStatementRequest$,
|
|
344
|
+
() => DescribeStatementResponse$,
|
|
338
345
|
];
|
|
339
|
-
export var DescribeTable = [
|
|
346
|
+
export var DescribeTable$ = [
|
|
340
347
|
9,
|
|
341
348
|
n0,
|
|
342
349
|
_DT,
|
|
343
350
|
0,
|
|
344
|
-
() => DescribeTableRequest
|
|
345
|
-
() => DescribeTableResponse
|
|
351
|
+
() => DescribeTableRequest$,
|
|
352
|
+
() => DescribeTableResponse$,
|
|
346
353
|
];
|
|
347
|
-
export var ExecuteStatement = [
|
|
354
|
+
export var ExecuteStatement$ = [
|
|
348
355
|
9,
|
|
349
356
|
n0,
|
|
350
357
|
_ES,
|
|
351
358
|
0,
|
|
352
|
-
() => ExecuteStatementInput
|
|
353
|
-
() => ExecuteStatementOutput
|
|
359
|
+
() => ExecuteStatementInput$,
|
|
360
|
+
() => ExecuteStatementOutput$,
|
|
354
361
|
];
|
|
355
|
-
export var GetStatementResult = [
|
|
362
|
+
export var GetStatementResult$ = [
|
|
356
363
|
9,
|
|
357
364
|
n0,
|
|
358
365
|
_GSR,
|
|
359
366
|
0,
|
|
360
|
-
() => GetStatementResultRequest
|
|
361
|
-
() => GetStatementResultResponse
|
|
367
|
+
() => GetStatementResultRequest$,
|
|
368
|
+
() => GetStatementResultResponse$,
|
|
362
369
|
];
|
|
363
|
-
export var GetStatementResultV2 = [
|
|
370
|
+
export var GetStatementResultV2$ = [
|
|
364
371
|
9,
|
|
365
372
|
n0,
|
|
366
373
|
_GSRV,
|
|
367
374
|
0,
|
|
368
|
-
() => GetStatementResultV2Request
|
|
369
|
-
() => GetStatementResultV2Response
|
|
375
|
+
() => GetStatementResultV2Request$,
|
|
376
|
+
() => GetStatementResultV2Response$,
|
|
370
377
|
];
|
|
371
|
-
export var ListDatabases = [
|
|
378
|
+
export var ListDatabases$ = [
|
|
372
379
|
9,
|
|
373
380
|
n0,
|
|
374
381
|
_LD,
|
|
375
382
|
0,
|
|
376
|
-
() => ListDatabasesRequest
|
|
377
|
-
() => ListDatabasesResponse
|
|
383
|
+
() => ListDatabasesRequest$,
|
|
384
|
+
() => ListDatabasesResponse$,
|
|
378
385
|
];
|
|
379
|
-
export var ListSchemas = [9, n0, _LS, 0, () => ListSchemasRequest
|
|
380
|
-
export var ListStatements = [
|
|
386
|
+
export var ListSchemas$ = [9, n0, _LS, 0, () => ListSchemasRequest$, () => ListSchemasResponse$];
|
|
387
|
+
export var ListStatements$ = [
|
|
381
388
|
9,
|
|
382
389
|
n0,
|
|
383
390
|
_LSi,
|
|
384
391
|
0,
|
|
385
|
-
() => ListStatementsRequest
|
|
386
|
-
() => ListStatementsResponse
|
|
392
|
+
() => ListStatementsRequest$,
|
|
393
|
+
() => ListStatementsResponse$,
|
|
387
394
|
];
|
|
388
|
-
export var ListTables = [9, n0, _LT, 0, () => ListTablesRequest
|
|
395
|
+
export var ListTables$ = [9, n0, _LT, 0, () => ListTablesRequest$, () => ListTablesResponse$];
|
|
@@ -5,7 +5,7 @@ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/m
|
|
|
5
5
|
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
6
|
import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
7
|
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
|
|
8
|
-
import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type
|
|
8
|
+
import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
9
|
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import { BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput } from "./commands/BatchExecuteStatementCommand";
|
|
11
11
|
import { CancelStatementCommandInput, CancelStatementCommandOutput } from "./commands/CancelStatementCommand";
|
|
@@ -152,15 +152,6 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
152
152
|
* Optional extensions
|
|
153
153
|
*/
|
|
154
154
|
extensions?: RuntimeExtension[];
|
|
155
|
-
/**
|
|
156
|
-
* The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
|
|
157
|
-
* may be overridden. A default will always be set by the client.
|
|
158
|
-
* Available options depend on the service's supported protocols and will not be validated by
|
|
159
|
-
* the client.
|
|
160
|
-
* @alpha
|
|
161
|
-
*
|
|
162
|
-
*/
|
|
163
|
-
protocol?: ClientProtocol<HttpRequest, HttpResponse>;
|
|
164
155
|
/**
|
|
165
156
|
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
166
157
|
*/
|
package/dist-types/index.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
9
9
|
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
10
10
|
export type { RedshiftDataExtensionConfiguration } from "./extensionConfiguration";
|
|
11
11
|
export * from "./commands";
|
|
12
|
+
export * from "./schemas/schemas_0";
|
|
12
13
|
export * from "./pagination";
|
|
13
14
|
export * from "./models/enums";
|
|
14
15
|
export * from "./models/errors";
|
|
@@ -17,8 +17,13 @@ export declare const getRuntimeConfig: (config: RedshiftDataClientConfig) => {
|
|
|
17
17
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
18
18
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
19
19
|
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
20
|
-
apiVersion: string;
|
|
21
20
|
cacheMiddleware?: boolean | undefined;
|
|
21
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsJson1_1Protocol;
|
|
22
|
+
protocolSettings: {
|
|
23
|
+
defaultNamespace?: string;
|
|
24
|
+
[setting: string]: unknown;
|
|
25
|
+
};
|
|
26
|
+
apiVersion: string;
|
|
22
27
|
urlParser: import("@smithy/types").UrlParser;
|
|
23
28
|
base64Decoder: import("@smithy/types").Decoder;
|
|
24
29
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -29,7 +34,6 @@ export declare const getRuntimeConfig: (config: RedshiftDataClientConfig) => {
|
|
|
29
34
|
profile?: string;
|
|
30
35
|
logger: import("@smithy/types").Logger;
|
|
31
36
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
32
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
33
37
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
34
38
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
35
39
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
@@ -19,8 +19,13 @@ export declare const getRuntimeConfig: (config: RedshiftDataClientConfig) => {
|
|
|
19
19
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
20
20
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
21
21
|
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
22
|
-
apiVersion: string;
|
|
23
22
|
cacheMiddleware?: boolean | undefined;
|
|
23
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsJson1_1Protocol;
|
|
24
|
+
protocolSettings: {
|
|
25
|
+
defaultNamespace?: string;
|
|
26
|
+
[setting: string]: unknown;
|
|
27
|
+
};
|
|
28
|
+
apiVersion: string;
|
|
24
29
|
urlParser: import("@smithy/types").UrlParser;
|
|
25
30
|
base64Decoder: import("@smithy/types").Decoder;
|
|
26
31
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -31,7 +36,6 @@ export declare const getRuntimeConfig: (config: RedshiftDataClientConfig) => {
|
|
|
31
36
|
profile?: string;
|
|
32
37
|
logger: import("@smithy/types").Logger;
|
|
33
38
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
34
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
35
39
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
36
40
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
37
41
|
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|