@aws-sdk/client-rds-data 3.50.0 → 3.53.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/CHANGELOG.md +27 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/RDSDataServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +81 -1
- package/dist-cjs/protocols/Aws_restJson1.js +118 -300
- package/dist-es/index.js +1 -0
- package/dist-es/models/RDSDataServiceException.js +12 -0
- package/dist-es/models/models_0.js +75 -1
- package/dist-es/protocols/Aws_restJson1.js +187 -332
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/RDSDataServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +38 -29
- package/dist-types/ts3.4/RDSData.d.ts +35 -0
- package/dist-types/ts3.4/RDSDataClient.d.ts +79 -0
- package/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/BeginTransactionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CommitTransactionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ExecuteSqlCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RollbackTransactionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +5 -0
- package/dist-types/ts3.4/models/RDSDataServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +695 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +20 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +33 -33
|
@@ -0,0 +1,695 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { RDSDataServiceException as __BaseException } from "./RDSDataServiceException";
|
|
3
|
+
|
|
4
|
+
export declare class BadRequestException extends __BaseException {
|
|
5
|
+
readonly name: "BadRequestException";
|
|
6
|
+
readonly $fault: "client";
|
|
7
|
+
|
|
8
|
+
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
|
|
9
|
+
}
|
|
10
|
+
export declare enum TypeHint {
|
|
11
|
+
DATE = "DATE",
|
|
12
|
+
DECIMAL = "DECIMAL",
|
|
13
|
+
JSON = "JSON",
|
|
14
|
+
TIME = "TIME",
|
|
15
|
+
TIMESTAMP = "TIMESTAMP",
|
|
16
|
+
UUID = "UUID"
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export declare class ForbiddenException extends __BaseException {
|
|
20
|
+
readonly name: "ForbiddenException";
|
|
21
|
+
readonly $fault: "client";
|
|
22
|
+
|
|
23
|
+
constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export declare class InternalServerErrorException extends __BaseException {
|
|
27
|
+
readonly name: "InternalServerErrorException";
|
|
28
|
+
readonly $fault: "server";
|
|
29
|
+
|
|
30
|
+
constructor(opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export declare class ServiceUnavailableError extends __BaseException {
|
|
34
|
+
readonly name: "ServiceUnavailableError";
|
|
35
|
+
readonly $fault: "server";
|
|
36
|
+
|
|
37
|
+
constructor(opts: __ExceptionOptionType<ServiceUnavailableError, __BaseException>);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export declare class StatementTimeoutException extends __BaseException {
|
|
41
|
+
readonly name: "StatementTimeoutException";
|
|
42
|
+
readonly $fault: "client";
|
|
43
|
+
|
|
44
|
+
dbConnectionId?: number;
|
|
45
|
+
|
|
46
|
+
constructor(opts: __ExceptionOptionType<StatementTimeoutException, __BaseException>);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export interface BeginTransactionRequest {
|
|
50
|
+
|
|
51
|
+
resourceArn: string | undefined;
|
|
52
|
+
|
|
53
|
+
secretArn: string | undefined;
|
|
54
|
+
|
|
55
|
+
database?: string;
|
|
56
|
+
|
|
57
|
+
schema?: string;
|
|
58
|
+
}
|
|
59
|
+
export declare namespace BeginTransactionRequest {
|
|
60
|
+
|
|
61
|
+
const filterSensitiveLog: (obj: BeginTransactionRequest) => any;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export interface BeginTransactionResponse {
|
|
65
|
+
|
|
66
|
+
transactionId?: string;
|
|
67
|
+
}
|
|
68
|
+
export declare namespace BeginTransactionResponse {
|
|
69
|
+
|
|
70
|
+
const filterSensitiveLog: (obj: BeginTransactionResponse) => any;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export interface ColumnMetadata {
|
|
74
|
+
|
|
75
|
+
name?: string;
|
|
76
|
+
|
|
77
|
+
type?: number;
|
|
78
|
+
|
|
79
|
+
typeName?: string;
|
|
80
|
+
|
|
81
|
+
label?: string;
|
|
82
|
+
|
|
83
|
+
schemaName?: string;
|
|
84
|
+
|
|
85
|
+
tableName?: string;
|
|
86
|
+
|
|
87
|
+
isAutoIncrement?: boolean;
|
|
88
|
+
|
|
89
|
+
isSigned?: boolean;
|
|
90
|
+
|
|
91
|
+
isCurrency?: boolean;
|
|
92
|
+
|
|
93
|
+
isCaseSensitive?: boolean;
|
|
94
|
+
|
|
95
|
+
nullable?: number;
|
|
96
|
+
|
|
97
|
+
precision?: number;
|
|
98
|
+
|
|
99
|
+
scale?: number;
|
|
100
|
+
|
|
101
|
+
arrayBaseColumnType?: number;
|
|
102
|
+
}
|
|
103
|
+
export declare namespace ColumnMetadata {
|
|
104
|
+
|
|
105
|
+
const filterSensitiveLog: (obj: ColumnMetadata) => any;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
export interface CommitTransactionRequest {
|
|
109
|
+
|
|
110
|
+
resourceArn: string | undefined;
|
|
111
|
+
|
|
112
|
+
secretArn: string | undefined;
|
|
113
|
+
|
|
114
|
+
transactionId: string | undefined;
|
|
115
|
+
}
|
|
116
|
+
export declare namespace CommitTransactionRequest {
|
|
117
|
+
|
|
118
|
+
const filterSensitiveLog: (obj: CommitTransactionRequest) => any;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
export interface CommitTransactionResponse {
|
|
122
|
+
|
|
123
|
+
transactionStatus?: string;
|
|
124
|
+
}
|
|
125
|
+
export declare namespace CommitTransactionResponse {
|
|
126
|
+
|
|
127
|
+
const filterSensitiveLog: (obj: CommitTransactionResponse) => any;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
export declare class NotFoundException extends __BaseException {
|
|
131
|
+
readonly name: "NotFoundException";
|
|
132
|
+
readonly $fault: "client";
|
|
133
|
+
|
|
134
|
+
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
135
|
+
}
|
|
136
|
+
export declare enum DecimalReturnType {
|
|
137
|
+
DOUBLE_OR_LONG = "DOUBLE_OR_LONG",
|
|
138
|
+
STRING = "STRING"
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
export interface ExecuteSqlRequest {
|
|
142
|
+
|
|
143
|
+
dbClusterOrInstanceArn: string | undefined;
|
|
144
|
+
|
|
145
|
+
awsSecretStoreArn: string | undefined;
|
|
146
|
+
|
|
147
|
+
sqlStatements: string | undefined;
|
|
148
|
+
|
|
149
|
+
database?: string;
|
|
150
|
+
|
|
151
|
+
schema?: string;
|
|
152
|
+
}
|
|
153
|
+
export declare namespace ExecuteSqlRequest {
|
|
154
|
+
|
|
155
|
+
const filterSensitiveLog: (obj: ExecuteSqlRequest) => any;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
export interface ResultSetMetadata {
|
|
159
|
+
|
|
160
|
+
columnCount?: number;
|
|
161
|
+
|
|
162
|
+
columnMetadata?: ColumnMetadata[];
|
|
163
|
+
}
|
|
164
|
+
export declare namespace ResultSetMetadata {
|
|
165
|
+
|
|
166
|
+
const filterSensitiveLog: (obj: ResultSetMetadata) => any;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
export interface ResultSetOptions {
|
|
170
|
+
|
|
171
|
+
decimalReturnType?: DecimalReturnType | string;
|
|
172
|
+
}
|
|
173
|
+
export declare namespace ResultSetOptions {
|
|
174
|
+
|
|
175
|
+
const filterSensitiveLog: (obj: ResultSetOptions) => any;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
export interface RollbackTransactionRequest {
|
|
179
|
+
|
|
180
|
+
resourceArn: string | undefined;
|
|
181
|
+
|
|
182
|
+
secretArn: string | undefined;
|
|
183
|
+
|
|
184
|
+
transactionId: string | undefined;
|
|
185
|
+
}
|
|
186
|
+
export declare namespace RollbackTransactionRequest {
|
|
187
|
+
|
|
188
|
+
const filterSensitiveLog: (obj: RollbackTransactionRequest) => any;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
export interface RollbackTransactionResponse {
|
|
192
|
+
|
|
193
|
+
transactionStatus?: string;
|
|
194
|
+
}
|
|
195
|
+
export declare namespace RollbackTransactionResponse {
|
|
196
|
+
|
|
197
|
+
const filterSensitiveLog: (obj: RollbackTransactionResponse) => any;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
export declare type ArrayValue = ArrayValue.ArrayValuesMember | ArrayValue.BooleanValuesMember | ArrayValue.DoubleValuesMember | ArrayValue.LongValuesMember | ArrayValue.StringValuesMember | ArrayValue.$UnknownMember;
|
|
201
|
+
export declare namespace ArrayValue {
|
|
202
|
+
|
|
203
|
+
interface BooleanValuesMember {
|
|
204
|
+
booleanValues: boolean[];
|
|
205
|
+
longValues?: never;
|
|
206
|
+
doubleValues?: never;
|
|
207
|
+
stringValues?: never;
|
|
208
|
+
arrayValues?: never;
|
|
209
|
+
$unknown?: never;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
interface LongValuesMember {
|
|
213
|
+
booleanValues?: never;
|
|
214
|
+
longValues: number[];
|
|
215
|
+
doubleValues?: never;
|
|
216
|
+
stringValues?: never;
|
|
217
|
+
arrayValues?: never;
|
|
218
|
+
$unknown?: never;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
interface DoubleValuesMember {
|
|
222
|
+
booleanValues?: never;
|
|
223
|
+
longValues?: never;
|
|
224
|
+
doubleValues: number[];
|
|
225
|
+
stringValues?: never;
|
|
226
|
+
arrayValues?: never;
|
|
227
|
+
$unknown?: never;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
interface StringValuesMember {
|
|
231
|
+
booleanValues?: never;
|
|
232
|
+
longValues?: never;
|
|
233
|
+
doubleValues?: never;
|
|
234
|
+
stringValues: string[];
|
|
235
|
+
arrayValues?: never;
|
|
236
|
+
$unknown?: never;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
interface ArrayValuesMember {
|
|
240
|
+
booleanValues?: never;
|
|
241
|
+
longValues?: never;
|
|
242
|
+
doubleValues?: never;
|
|
243
|
+
stringValues?: never;
|
|
244
|
+
arrayValues: ArrayValue[];
|
|
245
|
+
$unknown?: never;
|
|
246
|
+
}
|
|
247
|
+
interface $UnknownMember {
|
|
248
|
+
booleanValues?: never;
|
|
249
|
+
longValues?: never;
|
|
250
|
+
doubleValues?: never;
|
|
251
|
+
stringValues?: never;
|
|
252
|
+
arrayValues?: never;
|
|
253
|
+
$unknown: [
|
|
254
|
+
string,
|
|
255
|
+
any
|
|
256
|
+
];
|
|
257
|
+
}
|
|
258
|
+
interface Visitor<T> {
|
|
259
|
+
booleanValues: (value: boolean[]) => T;
|
|
260
|
+
longValues: (value: number[]) => T;
|
|
261
|
+
doubleValues: (value: number[]) => T;
|
|
262
|
+
stringValues: (value: string[]) => T;
|
|
263
|
+
arrayValues: (value: ArrayValue[]) => T;
|
|
264
|
+
_: (name: string, value: any) => T;
|
|
265
|
+
}
|
|
266
|
+
const visit: <T>(value: ArrayValue, visitor: Visitor<T>) => T;
|
|
267
|
+
|
|
268
|
+
const filterSensitiveLog: (obj: ArrayValue) => any;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
export declare type Field = Field.ArrayValueMember | Field.BlobValueMember | Field.BooleanValueMember | Field.DoubleValueMember | Field.IsNullMember | Field.LongValueMember | Field.StringValueMember | Field.$UnknownMember;
|
|
272
|
+
export declare namespace Field {
|
|
273
|
+
|
|
274
|
+
interface IsNullMember {
|
|
275
|
+
isNull: boolean;
|
|
276
|
+
booleanValue?: never;
|
|
277
|
+
longValue?: never;
|
|
278
|
+
doubleValue?: never;
|
|
279
|
+
stringValue?: never;
|
|
280
|
+
blobValue?: never;
|
|
281
|
+
arrayValue?: never;
|
|
282
|
+
$unknown?: never;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
interface BooleanValueMember {
|
|
286
|
+
isNull?: never;
|
|
287
|
+
booleanValue: boolean;
|
|
288
|
+
longValue?: never;
|
|
289
|
+
doubleValue?: never;
|
|
290
|
+
stringValue?: never;
|
|
291
|
+
blobValue?: never;
|
|
292
|
+
arrayValue?: never;
|
|
293
|
+
$unknown?: never;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
interface LongValueMember {
|
|
297
|
+
isNull?: never;
|
|
298
|
+
booleanValue?: never;
|
|
299
|
+
longValue: number;
|
|
300
|
+
doubleValue?: never;
|
|
301
|
+
stringValue?: never;
|
|
302
|
+
blobValue?: never;
|
|
303
|
+
arrayValue?: never;
|
|
304
|
+
$unknown?: never;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
interface DoubleValueMember {
|
|
308
|
+
isNull?: never;
|
|
309
|
+
booleanValue?: never;
|
|
310
|
+
longValue?: never;
|
|
311
|
+
doubleValue: number;
|
|
312
|
+
stringValue?: never;
|
|
313
|
+
blobValue?: never;
|
|
314
|
+
arrayValue?: never;
|
|
315
|
+
$unknown?: never;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
interface StringValueMember {
|
|
319
|
+
isNull?: never;
|
|
320
|
+
booleanValue?: never;
|
|
321
|
+
longValue?: never;
|
|
322
|
+
doubleValue?: never;
|
|
323
|
+
stringValue: string;
|
|
324
|
+
blobValue?: never;
|
|
325
|
+
arrayValue?: never;
|
|
326
|
+
$unknown?: never;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
interface BlobValueMember {
|
|
330
|
+
isNull?: never;
|
|
331
|
+
booleanValue?: never;
|
|
332
|
+
longValue?: never;
|
|
333
|
+
doubleValue?: never;
|
|
334
|
+
stringValue?: never;
|
|
335
|
+
blobValue: Uint8Array;
|
|
336
|
+
arrayValue?: never;
|
|
337
|
+
$unknown?: never;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
interface ArrayValueMember {
|
|
341
|
+
isNull?: never;
|
|
342
|
+
booleanValue?: never;
|
|
343
|
+
longValue?: never;
|
|
344
|
+
doubleValue?: never;
|
|
345
|
+
stringValue?: never;
|
|
346
|
+
blobValue?: never;
|
|
347
|
+
arrayValue: ArrayValue;
|
|
348
|
+
$unknown?: never;
|
|
349
|
+
}
|
|
350
|
+
interface $UnknownMember {
|
|
351
|
+
isNull?: never;
|
|
352
|
+
booleanValue?: never;
|
|
353
|
+
longValue?: never;
|
|
354
|
+
doubleValue?: never;
|
|
355
|
+
stringValue?: never;
|
|
356
|
+
blobValue?: never;
|
|
357
|
+
arrayValue?: never;
|
|
358
|
+
$unknown: [
|
|
359
|
+
string,
|
|
360
|
+
any
|
|
361
|
+
];
|
|
362
|
+
}
|
|
363
|
+
interface Visitor<T> {
|
|
364
|
+
isNull: (value: boolean) => T;
|
|
365
|
+
booleanValue: (value: boolean) => T;
|
|
366
|
+
longValue: (value: number) => T;
|
|
367
|
+
doubleValue: (value: number) => T;
|
|
368
|
+
stringValue: (value: string) => T;
|
|
369
|
+
blobValue: (value: Uint8Array) => T;
|
|
370
|
+
arrayValue: (value: ArrayValue) => T;
|
|
371
|
+
_: (name: string, value: any) => T;
|
|
372
|
+
}
|
|
373
|
+
const visit: <T>(value: Field, visitor: Visitor<T>) => T;
|
|
374
|
+
|
|
375
|
+
const filterSensitiveLog: (obj: Field) => any;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
export interface SqlParameter {
|
|
379
|
+
|
|
380
|
+
name?: string;
|
|
381
|
+
|
|
382
|
+
value?: Field;
|
|
383
|
+
|
|
384
|
+
typeHint?: TypeHint | string;
|
|
385
|
+
}
|
|
386
|
+
export declare namespace SqlParameter {
|
|
387
|
+
|
|
388
|
+
const filterSensitiveLog: (obj: SqlParameter) => any;
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
export interface UpdateResult {
|
|
392
|
+
|
|
393
|
+
generatedFields?: Field[];
|
|
394
|
+
}
|
|
395
|
+
export declare namespace UpdateResult {
|
|
396
|
+
|
|
397
|
+
const filterSensitiveLog: (obj: UpdateResult) => any;
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
export declare type Value = Value.ArrayValuesMember | Value.BigIntValueMember | Value.BitValueMember | Value.BlobValueMember | Value.DoubleValueMember | Value.IntValueMember | Value.IsNullMember | Value.RealValueMember | Value.StringValueMember | Value.StructValueMember | Value.$UnknownMember;
|
|
401
|
+
export declare namespace Value {
|
|
402
|
+
|
|
403
|
+
interface IsNullMember {
|
|
404
|
+
isNull: boolean;
|
|
405
|
+
bitValue?: never;
|
|
406
|
+
bigIntValue?: never;
|
|
407
|
+
intValue?: never;
|
|
408
|
+
doubleValue?: never;
|
|
409
|
+
realValue?: never;
|
|
410
|
+
stringValue?: never;
|
|
411
|
+
blobValue?: never;
|
|
412
|
+
arrayValues?: never;
|
|
413
|
+
structValue?: never;
|
|
414
|
+
$unknown?: never;
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
interface BitValueMember {
|
|
418
|
+
isNull?: never;
|
|
419
|
+
bitValue: boolean;
|
|
420
|
+
bigIntValue?: never;
|
|
421
|
+
intValue?: never;
|
|
422
|
+
doubleValue?: never;
|
|
423
|
+
realValue?: never;
|
|
424
|
+
stringValue?: never;
|
|
425
|
+
blobValue?: never;
|
|
426
|
+
arrayValues?: never;
|
|
427
|
+
structValue?: never;
|
|
428
|
+
$unknown?: never;
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
interface BigIntValueMember {
|
|
432
|
+
isNull?: never;
|
|
433
|
+
bitValue?: never;
|
|
434
|
+
bigIntValue: number;
|
|
435
|
+
intValue?: never;
|
|
436
|
+
doubleValue?: never;
|
|
437
|
+
realValue?: never;
|
|
438
|
+
stringValue?: never;
|
|
439
|
+
blobValue?: never;
|
|
440
|
+
arrayValues?: never;
|
|
441
|
+
structValue?: never;
|
|
442
|
+
$unknown?: never;
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
interface IntValueMember {
|
|
446
|
+
isNull?: never;
|
|
447
|
+
bitValue?: never;
|
|
448
|
+
bigIntValue?: never;
|
|
449
|
+
intValue: number;
|
|
450
|
+
doubleValue?: never;
|
|
451
|
+
realValue?: never;
|
|
452
|
+
stringValue?: never;
|
|
453
|
+
blobValue?: never;
|
|
454
|
+
arrayValues?: never;
|
|
455
|
+
structValue?: never;
|
|
456
|
+
$unknown?: never;
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
interface DoubleValueMember {
|
|
460
|
+
isNull?: never;
|
|
461
|
+
bitValue?: never;
|
|
462
|
+
bigIntValue?: never;
|
|
463
|
+
intValue?: never;
|
|
464
|
+
doubleValue: number;
|
|
465
|
+
realValue?: never;
|
|
466
|
+
stringValue?: never;
|
|
467
|
+
blobValue?: never;
|
|
468
|
+
arrayValues?: never;
|
|
469
|
+
structValue?: never;
|
|
470
|
+
$unknown?: never;
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
interface RealValueMember {
|
|
474
|
+
isNull?: never;
|
|
475
|
+
bitValue?: never;
|
|
476
|
+
bigIntValue?: never;
|
|
477
|
+
intValue?: never;
|
|
478
|
+
doubleValue?: never;
|
|
479
|
+
realValue: number;
|
|
480
|
+
stringValue?: never;
|
|
481
|
+
blobValue?: never;
|
|
482
|
+
arrayValues?: never;
|
|
483
|
+
structValue?: never;
|
|
484
|
+
$unknown?: never;
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
interface StringValueMember {
|
|
488
|
+
isNull?: never;
|
|
489
|
+
bitValue?: never;
|
|
490
|
+
bigIntValue?: never;
|
|
491
|
+
intValue?: never;
|
|
492
|
+
doubleValue?: never;
|
|
493
|
+
realValue?: never;
|
|
494
|
+
stringValue: string;
|
|
495
|
+
blobValue?: never;
|
|
496
|
+
arrayValues?: never;
|
|
497
|
+
structValue?: never;
|
|
498
|
+
$unknown?: never;
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
interface BlobValueMember {
|
|
502
|
+
isNull?: never;
|
|
503
|
+
bitValue?: never;
|
|
504
|
+
bigIntValue?: never;
|
|
505
|
+
intValue?: never;
|
|
506
|
+
doubleValue?: never;
|
|
507
|
+
realValue?: never;
|
|
508
|
+
stringValue?: never;
|
|
509
|
+
blobValue: Uint8Array;
|
|
510
|
+
arrayValues?: never;
|
|
511
|
+
structValue?: never;
|
|
512
|
+
$unknown?: never;
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
interface ArrayValuesMember {
|
|
516
|
+
isNull?: never;
|
|
517
|
+
bitValue?: never;
|
|
518
|
+
bigIntValue?: never;
|
|
519
|
+
intValue?: never;
|
|
520
|
+
doubleValue?: never;
|
|
521
|
+
realValue?: never;
|
|
522
|
+
stringValue?: never;
|
|
523
|
+
blobValue?: never;
|
|
524
|
+
arrayValues: Value[];
|
|
525
|
+
structValue?: never;
|
|
526
|
+
$unknown?: never;
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
interface StructValueMember {
|
|
530
|
+
isNull?: never;
|
|
531
|
+
bitValue?: never;
|
|
532
|
+
bigIntValue?: never;
|
|
533
|
+
intValue?: never;
|
|
534
|
+
doubleValue?: never;
|
|
535
|
+
realValue?: never;
|
|
536
|
+
stringValue?: never;
|
|
537
|
+
blobValue?: never;
|
|
538
|
+
arrayValues?: never;
|
|
539
|
+
structValue: StructValue;
|
|
540
|
+
$unknown?: never;
|
|
541
|
+
}
|
|
542
|
+
interface $UnknownMember {
|
|
543
|
+
isNull?: never;
|
|
544
|
+
bitValue?: never;
|
|
545
|
+
bigIntValue?: never;
|
|
546
|
+
intValue?: never;
|
|
547
|
+
doubleValue?: never;
|
|
548
|
+
realValue?: never;
|
|
549
|
+
stringValue?: never;
|
|
550
|
+
blobValue?: never;
|
|
551
|
+
arrayValues?: never;
|
|
552
|
+
structValue?: never;
|
|
553
|
+
$unknown: [
|
|
554
|
+
string,
|
|
555
|
+
any
|
|
556
|
+
];
|
|
557
|
+
}
|
|
558
|
+
interface Visitor<T> {
|
|
559
|
+
isNull: (value: boolean) => T;
|
|
560
|
+
bitValue: (value: boolean) => T;
|
|
561
|
+
bigIntValue: (value: number) => T;
|
|
562
|
+
intValue: (value: number) => T;
|
|
563
|
+
doubleValue: (value: number) => T;
|
|
564
|
+
realValue: (value: number) => T;
|
|
565
|
+
stringValue: (value: string) => T;
|
|
566
|
+
blobValue: (value: Uint8Array) => T;
|
|
567
|
+
arrayValues: (value: Value[]) => T;
|
|
568
|
+
structValue: (value: StructValue) => T;
|
|
569
|
+
_: (name: string, value: any) => T;
|
|
570
|
+
}
|
|
571
|
+
const visit: <T>(value: Value, visitor: Visitor<T>) => T;
|
|
572
|
+
|
|
573
|
+
const filterSensitiveLog: (obj: Value) => any;
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
export interface ExecuteStatementRequest {
|
|
577
|
+
|
|
578
|
+
resourceArn: string | undefined;
|
|
579
|
+
|
|
580
|
+
secretArn: string | undefined;
|
|
581
|
+
|
|
582
|
+
sql: string | undefined;
|
|
583
|
+
|
|
584
|
+
database?: string;
|
|
585
|
+
|
|
586
|
+
schema?: string;
|
|
587
|
+
|
|
588
|
+
parameters?: SqlParameter[];
|
|
589
|
+
|
|
590
|
+
transactionId?: string;
|
|
591
|
+
|
|
592
|
+
includeResultMetadata?: boolean;
|
|
593
|
+
|
|
594
|
+
continueAfterTimeout?: boolean;
|
|
595
|
+
|
|
596
|
+
resultSetOptions?: ResultSetOptions;
|
|
597
|
+
}
|
|
598
|
+
export declare namespace ExecuteStatementRequest {
|
|
599
|
+
|
|
600
|
+
const filterSensitiveLog: (obj: ExecuteStatementRequest) => any;
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
export interface StructValue {
|
|
604
|
+
|
|
605
|
+
attributes?: Value[];
|
|
606
|
+
}
|
|
607
|
+
export declare namespace StructValue {
|
|
608
|
+
|
|
609
|
+
const filterSensitiveLog: (obj: StructValue) => any;
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
export interface BatchExecuteStatementRequest {
|
|
613
|
+
|
|
614
|
+
resourceArn: string | undefined;
|
|
615
|
+
|
|
616
|
+
secretArn: string | undefined;
|
|
617
|
+
|
|
618
|
+
sql: string | undefined;
|
|
619
|
+
|
|
620
|
+
database?: string;
|
|
621
|
+
|
|
622
|
+
schema?: string;
|
|
623
|
+
|
|
624
|
+
parameterSets?: SqlParameter[][];
|
|
625
|
+
|
|
626
|
+
transactionId?: string;
|
|
627
|
+
}
|
|
628
|
+
export declare namespace BatchExecuteStatementRequest {
|
|
629
|
+
|
|
630
|
+
const filterSensitiveLog: (obj: BatchExecuteStatementRequest) => any;
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
export interface BatchExecuteStatementResponse {
|
|
634
|
+
|
|
635
|
+
updateResults?: UpdateResult[];
|
|
636
|
+
}
|
|
637
|
+
export declare namespace BatchExecuteStatementResponse {
|
|
638
|
+
|
|
639
|
+
const filterSensitiveLog: (obj: BatchExecuteStatementResponse) => any;
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
export interface _Record {
|
|
643
|
+
|
|
644
|
+
values?: Value[];
|
|
645
|
+
}
|
|
646
|
+
export declare namespace _Record {
|
|
647
|
+
|
|
648
|
+
const filterSensitiveLog: (obj: _Record) => any;
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
export interface ExecuteStatementResponse {
|
|
652
|
+
|
|
653
|
+
records?: Field[][];
|
|
654
|
+
|
|
655
|
+
columnMetadata?: ColumnMetadata[];
|
|
656
|
+
|
|
657
|
+
numberOfRecordsUpdated?: number;
|
|
658
|
+
|
|
659
|
+
generatedFields?: Field[];
|
|
660
|
+
}
|
|
661
|
+
export declare namespace ExecuteStatementResponse {
|
|
662
|
+
|
|
663
|
+
const filterSensitiveLog: (obj: ExecuteStatementResponse) => any;
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
export interface ResultFrame {
|
|
667
|
+
|
|
668
|
+
resultSetMetadata?: ResultSetMetadata;
|
|
669
|
+
|
|
670
|
+
records?: _Record[];
|
|
671
|
+
}
|
|
672
|
+
export declare namespace ResultFrame {
|
|
673
|
+
|
|
674
|
+
const filterSensitiveLog: (obj: ResultFrame) => any;
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
export interface SqlStatementResult {
|
|
678
|
+
|
|
679
|
+
resultFrame?: ResultFrame;
|
|
680
|
+
|
|
681
|
+
numberOfRecordsUpdated?: number;
|
|
682
|
+
}
|
|
683
|
+
export declare namespace SqlStatementResult {
|
|
684
|
+
|
|
685
|
+
const filterSensitiveLog: (obj: SqlStatementResult) => any;
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
export interface ExecuteSqlResponse {
|
|
689
|
+
|
|
690
|
+
sqlStatementResults?: SqlStatementResult[];
|
|
691
|
+
}
|
|
692
|
+
export declare namespace ExecuteSqlResponse {
|
|
693
|
+
|
|
694
|
+
const filterSensitiveLog: (obj: ExecuteSqlResponse) => any;
|
|
695
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
2
|
+
import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
3
|
+
import { BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput } from "../commands/BatchExecuteStatementCommand";
|
|
4
|
+
import { BeginTransactionCommandInput, BeginTransactionCommandOutput } from "../commands/BeginTransactionCommand";
|
|
5
|
+
import { CommitTransactionCommandInput, CommitTransactionCommandOutput } from "../commands/CommitTransactionCommand";
|
|
6
|
+
import { ExecuteSqlCommandInput, ExecuteSqlCommandOutput } from "../commands/ExecuteSqlCommand";
|
|
7
|
+
import { ExecuteStatementCommandInput, ExecuteStatementCommandOutput } from "../commands/ExecuteStatementCommand";
|
|
8
|
+
import { RollbackTransactionCommandInput, RollbackTransactionCommandOutput } from "../commands/RollbackTransactionCommand";
|
|
9
|
+
export declare const serializeAws_restJson1BatchExecuteStatementCommand: (input: BatchExecuteStatementCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
10
|
+
export declare const serializeAws_restJson1BeginTransactionCommand: (input: BeginTransactionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
11
|
+
export declare const serializeAws_restJson1CommitTransactionCommand: (input: CommitTransactionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
12
|
+
export declare const serializeAws_restJson1ExecuteSqlCommand: (input: ExecuteSqlCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
13
|
+
export declare const serializeAws_restJson1ExecuteStatementCommand: (input: ExecuteStatementCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
14
|
+
export declare const serializeAws_restJson1RollbackTransactionCommand: (input: RollbackTransactionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
15
|
+
export declare const deserializeAws_restJson1BatchExecuteStatementCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchExecuteStatementCommandOutput>;
|
|
16
|
+
export declare const deserializeAws_restJson1BeginTransactionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BeginTransactionCommandOutput>;
|
|
17
|
+
export declare const deserializeAws_restJson1CommitTransactionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CommitTransactionCommandOutput>;
|
|
18
|
+
export declare const deserializeAws_restJson1ExecuteSqlCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ExecuteSqlCommandOutput>;
|
|
19
|
+
export declare const deserializeAws_restJson1ExecuteStatementCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ExecuteStatementCommandOutput>;
|
|
20
|
+
export declare const deserializeAws_restJson1RollbackTransactionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RollbackTransactionCommandOutput>;
|