@aws-sdk/client-timestream-write 3.926.0 → 3.928.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 +690 -771
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/TimestreamWriteClient.js +2 -0
- package/dist-es/commands/CreateBatchLoadTaskCommand.js +2 -7
- package/dist-es/commands/CreateDatabaseCommand.js +2 -6
- package/dist-es/commands/CreateTableCommand.js +2 -6
- package/dist-es/commands/DeleteDatabaseCommand.js +2 -6
- package/dist-es/commands/DeleteTableCommand.js +2 -6
- package/dist-es/commands/DescribeBatchLoadTaskCommand.js +2 -6
- package/dist-es/commands/DescribeDatabaseCommand.js +2 -6
- package/dist-es/commands/DescribeEndpointsCommand.js +3 -9
- package/dist-es/commands/DescribeTableCommand.js +2 -6
- package/dist-es/commands/ListBatchLoadTasksCommand.js +2 -6
- package/dist-es/commands/ListDatabasesCommand.js +2 -6
- package/dist-es/commands/ListTablesCommand.js +2 -6
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -6
- package/dist-es/commands/ResumeBatchLoadTaskCommand.js +2 -6
- package/dist-es/commands/TagResourceCommand.js +2 -6
- package/dist-es/commands/UntagResourceCommand.js +2 -6
- package/dist-es/commands/UpdateDatabaseCommand.js +2 -6
- package/dist-es/commands/UpdateTableCommand.js +2 -6
- package/dist-es/commands/WriteRecordsCommand.js +2 -6
- package/dist-es/models/models_0.js +0 -5
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +634 -0
- package/dist-types/TimestreamWriteClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -4
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +112 -0
- package/dist-types/ts3.4/TimestreamWriteClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -3
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +118 -0
- package/package.json +5 -6
- package/dist-es/protocols/Aws_json1_0.js +0 -656
- package/dist-types/protocols/Aws_json1_0.d.ts +0 -173
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +0 -233
package/dist-cjs/index.js
CHANGED
|
@@ -6,18 +6,16 @@ var middlewareLogger = require('@aws-sdk/middleware-logger');
|
|
|
6
6
|
var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
|
|
7
7
|
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
8
8
|
var configResolver = require('@smithy/config-resolver');
|
|
9
|
-
var core
|
|
9
|
+
var core = require('@smithy/core');
|
|
10
|
+
var schema = require('@smithy/core/schema');
|
|
10
11
|
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
11
12
|
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
12
13
|
var middlewareRetry = require('@smithy/middleware-retry');
|
|
13
14
|
var smithyClient = require('@smithy/smithy-client');
|
|
14
15
|
var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
15
|
-
var middlewareSerde = require('@smithy/middleware-serde');
|
|
16
|
-
var core = require('@aws-sdk/core');
|
|
17
|
-
var protocolHttp = require('@smithy/protocol-http');
|
|
18
|
-
var uuid = require('@smithy/uuid');
|
|
19
16
|
var runtimeConfig = require('./runtimeConfig');
|
|
20
17
|
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
18
|
+
var protocolHttp = require('@smithy/protocol-http');
|
|
21
19
|
|
|
22
20
|
const resolveClientEndpointParameters = (options) => {
|
|
23
21
|
return Object.assign(options, {
|
|
@@ -33,14 +31,14 @@ const commonParams = {
|
|
|
33
31
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
34
32
|
};
|
|
35
33
|
|
|
36
|
-
class TimestreamWriteServiceException extends smithyClient.ServiceException {
|
|
34
|
+
let TimestreamWriteServiceException$1 = class TimestreamWriteServiceException extends smithyClient.ServiceException {
|
|
37
35
|
constructor(options) {
|
|
38
36
|
super(options);
|
|
39
37
|
Object.setPrototypeOf(this, TimestreamWriteServiceException.prototype);
|
|
40
38
|
}
|
|
41
|
-
}
|
|
39
|
+
};
|
|
42
40
|
|
|
43
|
-
class AccessDeniedException extends TimestreamWriteServiceException {
|
|
41
|
+
let AccessDeniedException$1 = class AccessDeniedException extends TimestreamWriteServiceException$1 {
|
|
44
42
|
name = "AccessDeniedException";
|
|
45
43
|
$fault = "client";
|
|
46
44
|
Message;
|
|
@@ -53,7 +51,7 @@ class AccessDeniedException extends TimestreamWriteServiceException {
|
|
|
53
51
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
54
52
|
this.Message = opts.Message;
|
|
55
53
|
}
|
|
56
|
-
}
|
|
54
|
+
};
|
|
57
55
|
const BatchLoadDataFormat = {
|
|
58
56
|
CSV: "CSV",
|
|
59
57
|
};
|
|
@@ -90,7 +88,7 @@ const S3EncryptionOption = {
|
|
|
90
88
|
SSE_KMS: "SSE_KMS",
|
|
91
89
|
SSE_S3: "SSE_S3",
|
|
92
90
|
};
|
|
93
|
-
class ConflictException extends TimestreamWriteServiceException {
|
|
91
|
+
let ConflictException$1 = class ConflictException extends TimestreamWriteServiceException$1 {
|
|
94
92
|
name = "ConflictException";
|
|
95
93
|
$fault = "client";
|
|
96
94
|
Message;
|
|
@@ -103,8 +101,8 @@ class ConflictException extends TimestreamWriteServiceException {
|
|
|
103
101
|
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
104
102
|
this.Message = opts.Message;
|
|
105
103
|
}
|
|
106
|
-
}
|
|
107
|
-
class InternalServerException extends TimestreamWriteServiceException {
|
|
104
|
+
};
|
|
105
|
+
let InternalServerException$1 = class InternalServerException extends TimestreamWriteServiceException$1 {
|
|
108
106
|
name = "InternalServerException";
|
|
109
107
|
$fault = "server";
|
|
110
108
|
Message;
|
|
@@ -117,8 +115,8 @@ class InternalServerException extends TimestreamWriteServiceException {
|
|
|
117
115
|
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
118
116
|
this.Message = opts.Message;
|
|
119
117
|
}
|
|
120
|
-
}
|
|
121
|
-
class InvalidEndpointException extends TimestreamWriteServiceException {
|
|
118
|
+
};
|
|
119
|
+
let InvalidEndpointException$1 = class InvalidEndpointException extends TimestreamWriteServiceException$1 {
|
|
122
120
|
name = "InvalidEndpointException";
|
|
123
121
|
$fault = "client";
|
|
124
122
|
Message;
|
|
@@ -131,8 +129,8 @@ class InvalidEndpointException extends TimestreamWriteServiceException {
|
|
|
131
129
|
Object.setPrototypeOf(this, InvalidEndpointException.prototype);
|
|
132
130
|
this.Message = opts.Message;
|
|
133
131
|
}
|
|
134
|
-
}
|
|
135
|
-
class ResourceNotFoundException extends TimestreamWriteServiceException {
|
|
132
|
+
};
|
|
133
|
+
let ResourceNotFoundException$1 = class ResourceNotFoundException extends TimestreamWriteServiceException$1 {
|
|
136
134
|
name = "ResourceNotFoundException";
|
|
137
135
|
$fault = "client";
|
|
138
136
|
Message;
|
|
@@ -145,8 +143,8 @@ class ResourceNotFoundException extends TimestreamWriteServiceException {
|
|
|
145
143
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
146
144
|
this.Message = opts.Message;
|
|
147
145
|
}
|
|
148
|
-
}
|
|
149
|
-
class ServiceQuotaExceededException extends TimestreamWriteServiceException {
|
|
146
|
+
};
|
|
147
|
+
let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends TimestreamWriteServiceException$1 {
|
|
150
148
|
name = "ServiceQuotaExceededException";
|
|
151
149
|
$fault = "client";
|
|
152
150
|
Message;
|
|
@@ -159,8 +157,8 @@ class ServiceQuotaExceededException extends TimestreamWriteServiceException {
|
|
|
159
157
|
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
160
158
|
this.Message = opts.Message;
|
|
161
159
|
}
|
|
162
|
-
}
|
|
163
|
-
class ThrottlingException extends TimestreamWriteServiceException {
|
|
160
|
+
};
|
|
161
|
+
let ThrottlingException$1 = class ThrottlingException extends TimestreamWriteServiceException$1 {
|
|
164
162
|
name = "ThrottlingException";
|
|
165
163
|
$fault = "client";
|
|
166
164
|
Message;
|
|
@@ -173,8 +171,8 @@ class ThrottlingException extends TimestreamWriteServiceException {
|
|
|
173
171
|
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
174
172
|
this.Message = opts.Message;
|
|
175
173
|
}
|
|
176
|
-
}
|
|
177
|
-
class ValidationException extends TimestreamWriteServiceException {
|
|
174
|
+
};
|
|
175
|
+
let ValidationException$1 = class ValidationException extends TimestreamWriteServiceException$1 {
|
|
178
176
|
name = "ValidationException";
|
|
179
177
|
$fault = "client";
|
|
180
178
|
Message;
|
|
@@ -187,7 +185,7 @@ class ValidationException extends TimestreamWriteServiceException {
|
|
|
187
185
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
188
186
|
this.Message = opts.Message;
|
|
189
187
|
}
|
|
190
|
-
}
|
|
188
|
+
};
|
|
191
189
|
const PartitionKeyEnforcementLevel = {
|
|
192
190
|
OPTIONAL: "OPTIONAL",
|
|
193
191
|
REQUIRED: "REQUIRED",
|
|
@@ -204,7 +202,7 @@ const TableStatus = {
|
|
|
204
202
|
const DimensionValueType = {
|
|
205
203
|
VARCHAR: "VARCHAR",
|
|
206
204
|
};
|
|
207
|
-
class RejectedRecordsException extends TimestreamWriteServiceException {
|
|
205
|
+
let RejectedRecordsException$1 = class RejectedRecordsException extends TimestreamWriteServiceException$1 {
|
|
208
206
|
name = "RejectedRecordsException";
|
|
209
207
|
$fault = "client";
|
|
210
208
|
Message;
|
|
@@ -219,673 +217,648 @@ class RejectedRecordsException extends TimestreamWriteServiceException {
|
|
|
219
217
|
this.Message = opts.Message;
|
|
220
218
|
this.RejectedRecords = opts.RejectedRecords;
|
|
221
219
|
}
|
|
222
|
-
}
|
|
223
|
-
const CreateBatchLoadTaskRequestFilterSensitiveLog = (obj) => ({
|
|
224
|
-
...obj,
|
|
225
|
-
...(obj.ClientToken && { ClientToken: smithyClient.SENSITIVE_STRING }),
|
|
226
|
-
});
|
|
227
|
-
|
|
228
|
-
const se_CreateBatchLoadTaskCommand = async (input, context) => {
|
|
229
|
-
const headers = sharedHeaders("CreateBatchLoadTask");
|
|
230
|
-
let body;
|
|
231
|
-
body = JSON.stringify(se_CreateBatchLoadTaskRequest(input));
|
|
232
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
233
|
-
};
|
|
234
|
-
const se_CreateDatabaseCommand = async (input, context) => {
|
|
235
|
-
const headers = sharedHeaders("CreateDatabase");
|
|
236
|
-
let body;
|
|
237
|
-
body = JSON.stringify(smithyClient._json(input));
|
|
238
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
239
|
-
};
|
|
240
|
-
const se_CreateTableCommand = async (input, context) => {
|
|
241
|
-
const headers = sharedHeaders("CreateTable");
|
|
242
|
-
let body;
|
|
243
|
-
body = JSON.stringify(smithyClient._json(input));
|
|
244
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
245
|
-
};
|
|
246
|
-
const se_DeleteDatabaseCommand = async (input, context) => {
|
|
247
|
-
const headers = sharedHeaders("DeleteDatabase");
|
|
248
|
-
let body;
|
|
249
|
-
body = JSON.stringify(smithyClient._json(input));
|
|
250
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
251
|
-
};
|
|
252
|
-
const se_DeleteTableCommand = async (input, context) => {
|
|
253
|
-
const headers = sharedHeaders("DeleteTable");
|
|
254
|
-
let body;
|
|
255
|
-
body = JSON.stringify(smithyClient._json(input));
|
|
256
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
257
|
-
};
|
|
258
|
-
const se_DescribeBatchLoadTaskCommand = async (input, context) => {
|
|
259
|
-
const headers = sharedHeaders("DescribeBatchLoadTask");
|
|
260
|
-
let body;
|
|
261
|
-
body = JSON.stringify(smithyClient._json(input));
|
|
262
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
263
|
-
};
|
|
264
|
-
const se_DescribeDatabaseCommand = async (input, context) => {
|
|
265
|
-
const headers = sharedHeaders("DescribeDatabase");
|
|
266
|
-
let body;
|
|
267
|
-
body = JSON.stringify(smithyClient._json(input));
|
|
268
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
269
|
-
};
|
|
270
|
-
const se_DescribeEndpointsCommand = async (input, context) => {
|
|
271
|
-
const headers = sharedHeaders("DescribeEndpoints");
|
|
272
|
-
let body;
|
|
273
|
-
body = JSON.stringify(smithyClient._json(input));
|
|
274
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
275
|
-
};
|
|
276
|
-
const se_DescribeTableCommand = async (input, context) => {
|
|
277
|
-
const headers = sharedHeaders("DescribeTable");
|
|
278
|
-
let body;
|
|
279
|
-
body = JSON.stringify(smithyClient._json(input));
|
|
280
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
281
|
-
};
|
|
282
|
-
const se_ListBatchLoadTasksCommand = async (input, context) => {
|
|
283
|
-
const headers = sharedHeaders("ListBatchLoadTasks");
|
|
284
|
-
let body;
|
|
285
|
-
body = JSON.stringify(smithyClient._json(input));
|
|
286
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
287
|
-
};
|
|
288
|
-
const se_ListDatabasesCommand = async (input, context) => {
|
|
289
|
-
const headers = sharedHeaders("ListDatabases");
|
|
290
|
-
let body;
|
|
291
|
-
body = JSON.stringify(smithyClient._json(input));
|
|
292
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
293
|
-
};
|
|
294
|
-
const se_ListTablesCommand = async (input, context) => {
|
|
295
|
-
const headers = sharedHeaders("ListTables");
|
|
296
|
-
let body;
|
|
297
|
-
body = JSON.stringify(smithyClient._json(input));
|
|
298
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
299
|
-
};
|
|
300
|
-
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
301
|
-
const headers = sharedHeaders("ListTagsForResource");
|
|
302
|
-
let body;
|
|
303
|
-
body = JSON.stringify(smithyClient._json(input));
|
|
304
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
305
|
-
};
|
|
306
|
-
const se_ResumeBatchLoadTaskCommand = async (input, context) => {
|
|
307
|
-
const headers = sharedHeaders("ResumeBatchLoadTask");
|
|
308
|
-
let body;
|
|
309
|
-
body = JSON.stringify(smithyClient._json(input));
|
|
310
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
311
|
-
};
|
|
312
|
-
const se_TagResourceCommand = async (input, context) => {
|
|
313
|
-
const headers = sharedHeaders("TagResource");
|
|
314
|
-
let body;
|
|
315
|
-
body = JSON.stringify(smithyClient._json(input));
|
|
316
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
317
|
-
};
|
|
318
|
-
const se_UntagResourceCommand = async (input, context) => {
|
|
319
|
-
const headers = sharedHeaders("UntagResource");
|
|
320
|
-
let body;
|
|
321
|
-
body = JSON.stringify(smithyClient._json(input));
|
|
322
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
323
|
-
};
|
|
324
|
-
const se_UpdateDatabaseCommand = async (input, context) => {
|
|
325
|
-
const headers = sharedHeaders("UpdateDatabase");
|
|
326
|
-
let body;
|
|
327
|
-
body = JSON.stringify(smithyClient._json(input));
|
|
328
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
329
|
-
};
|
|
330
|
-
const se_UpdateTableCommand = async (input, context) => {
|
|
331
|
-
const headers = sharedHeaders("UpdateTable");
|
|
332
|
-
let body;
|
|
333
|
-
body = JSON.stringify(smithyClient._json(input));
|
|
334
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
335
|
-
};
|
|
336
|
-
const se_WriteRecordsCommand = async (input, context) => {
|
|
337
|
-
const headers = sharedHeaders("WriteRecords");
|
|
338
|
-
let body;
|
|
339
|
-
body = JSON.stringify(smithyClient._json(input));
|
|
340
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
341
|
-
};
|
|
342
|
-
const de_CreateBatchLoadTaskCommand = async (output, context) => {
|
|
343
|
-
if (output.statusCode >= 300) {
|
|
344
|
-
return de_CommandError(output, context);
|
|
345
|
-
}
|
|
346
|
-
const data = await core.parseJsonBody(output.body, context);
|
|
347
|
-
let contents = {};
|
|
348
|
-
contents = smithyClient._json(data);
|
|
349
|
-
const response = {
|
|
350
|
-
$metadata: deserializeMetadata(output),
|
|
351
|
-
...contents,
|
|
352
|
-
};
|
|
353
|
-
return response;
|
|
354
|
-
};
|
|
355
|
-
const de_CreateDatabaseCommand = async (output, context) => {
|
|
356
|
-
if (output.statusCode >= 300) {
|
|
357
|
-
return de_CommandError(output, context);
|
|
358
|
-
}
|
|
359
|
-
const data = await core.parseJsonBody(output.body, context);
|
|
360
|
-
let contents = {};
|
|
361
|
-
contents = de_CreateDatabaseResponse(data);
|
|
362
|
-
const response = {
|
|
363
|
-
$metadata: deserializeMetadata(output),
|
|
364
|
-
...contents,
|
|
365
|
-
};
|
|
366
|
-
return response;
|
|
367
|
-
};
|
|
368
|
-
const de_CreateTableCommand = async (output, context) => {
|
|
369
|
-
if (output.statusCode >= 300) {
|
|
370
|
-
return de_CommandError(output, context);
|
|
371
|
-
}
|
|
372
|
-
const data = await core.parseJsonBody(output.body, context);
|
|
373
|
-
let contents = {};
|
|
374
|
-
contents = de_CreateTableResponse(data);
|
|
375
|
-
const response = {
|
|
376
|
-
$metadata: deserializeMetadata(output),
|
|
377
|
-
...contents,
|
|
378
|
-
};
|
|
379
|
-
return response;
|
|
380
|
-
};
|
|
381
|
-
const de_DeleteDatabaseCommand = async (output, context) => {
|
|
382
|
-
if (output.statusCode >= 300) {
|
|
383
|
-
return de_CommandError(output, context);
|
|
384
|
-
}
|
|
385
|
-
await smithyClient.collectBody(output.body, context);
|
|
386
|
-
const response = {
|
|
387
|
-
$metadata: deserializeMetadata(output),
|
|
388
|
-
};
|
|
389
|
-
return response;
|
|
390
|
-
};
|
|
391
|
-
const de_DeleteTableCommand = async (output, context) => {
|
|
392
|
-
if (output.statusCode >= 300) {
|
|
393
|
-
return de_CommandError(output, context);
|
|
394
|
-
}
|
|
395
|
-
await smithyClient.collectBody(output.body, context);
|
|
396
|
-
const response = {
|
|
397
|
-
$metadata: deserializeMetadata(output),
|
|
398
|
-
};
|
|
399
|
-
return response;
|
|
400
|
-
};
|
|
401
|
-
const de_DescribeBatchLoadTaskCommand = async (output, context) => {
|
|
402
|
-
if (output.statusCode >= 300) {
|
|
403
|
-
return de_CommandError(output, context);
|
|
404
|
-
}
|
|
405
|
-
const data = await core.parseJsonBody(output.body, context);
|
|
406
|
-
let contents = {};
|
|
407
|
-
contents = de_DescribeBatchLoadTaskResponse(data);
|
|
408
|
-
const response = {
|
|
409
|
-
$metadata: deserializeMetadata(output),
|
|
410
|
-
...contents,
|
|
411
|
-
};
|
|
412
|
-
return response;
|
|
413
|
-
};
|
|
414
|
-
const de_DescribeDatabaseCommand = async (output, context) => {
|
|
415
|
-
if (output.statusCode >= 300) {
|
|
416
|
-
return de_CommandError(output, context);
|
|
417
|
-
}
|
|
418
|
-
const data = await core.parseJsonBody(output.body, context);
|
|
419
|
-
let contents = {};
|
|
420
|
-
contents = de_DescribeDatabaseResponse(data);
|
|
421
|
-
const response = {
|
|
422
|
-
$metadata: deserializeMetadata(output),
|
|
423
|
-
...contents,
|
|
424
|
-
};
|
|
425
|
-
return response;
|
|
426
|
-
};
|
|
427
|
-
const de_DescribeEndpointsCommand = async (output, context) => {
|
|
428
|
-
if (output.statusCode >= 300) {
|
|
429
|
-
return de_CommandError(output, context);
|
|
430
|
-
}
|
|
431
|
-
const data = await core.parseJsonBody(output.body, context);
|
|
432
|
-
let contents = {};
|
|
433
|
-
contents = smithyClient._json(data);
|
|
434
|
-
const response = {
|
|
435
|
-
$metadata: deserializeMetadata(output),
|
|
436
|
-
...contents,
|
|
437
|
-
};
|
|
438
|
-
return response;
|
|
439
|
-
};
|
|
440
|
-
const de_DescribeTableCommand = async (output, context) => {
|
|
441
|
-
if (output.statusCode >= 300) {
|
|
442
|
-
return de_CommandError(output, context);
|
|
443
|
-
}
|
|
444
|
-
const data = await core.parseJsonBody(output.body, context);
|
|
445
|
-
let contents = {};
|
|
446
|
-
contents = de_DescribeTableResponse(data);
|
|
447
|
-
const response = {
|
|
448
|
-
$metadata: deserializeMetadata(output),
|
|
449
|
-
...contents,
|
|
450
|
-
};
|
|
451
|
-
return response;
|
|
452
|
-
};
|
|
453
|
-
const de_ListBatchLoadTasksCommand = async (output, context) => {
|
|
454
|
-
if (output.statusCode >= 300) {
|
|
455
|
-
return de_CommandError(output, context);
|
|
456
|
-
}
|
|
457
|
-
const data = await core.parseJsonBody(output.body, context);
|
|
458
|
-
let contents = {};
|
|
459
|
-
contents = de_ListBatchLoadTasksResponse(data);
|
|
460
|
-
const response = {
|
|
461
|
-
$metadata: deserializeMetadata(output),
|
|
462
|
-
...contents,
|
|
463
|
-
};
|
|
464
|
-
return response;
|
|
465
|
-
};
|
|
466
|
-
const de_ListDatabasesCommand = async (output, context) => {
|
|
467
|
-
if (output.statusCode >= 300) {
|
|
468
|
-
return de_CommandError(output, context);
|
|
469
|
-
}
|
|
470
|
-
const data = await core.parseJsonBody(output.body, context);
|
|
471
|
-
let contents = {};
|
|
472
|
-
contents = de_ListDatabasesResponse(data);
|
|
473
|
-
const response = {
|
|
474
|
-
$metadata: deserializeMetadata(output),
|
|
475
|
-
...contents,
|
|
476
|
-
};
|
|
477
|
-
return response;
|
|
478
|
-
};
|
|
479
|
-
const de_ListTablesCommand = async (output, context) => {
|
|
480
|
-
if (output.statusCode >= 300) {
|
|
481
|
-
return de_CommandError(output, context);
|
|
482
|
-
}
|
|
483
|
-
const data = await core.parseJsonBody(output.body, context);
|
|
484
|
-
let contents = {};
|
|
485
|
-
contents = de_ListTablesResponse(data);
|
|
486
|
-
const response = {
|
|
487
|
-
$metadata: deserializeMetadata(output),
|
|
488
|
-
...contents,
|
|
489
|
-
};
|
|
490
|
-
return response;
|
|
491
|
-
};
|
|
492
|
-
const de_ListTagsForResourceCommand = async (output, context) => {
|
|
493
|
-
if (output.statusCode >= 300) {
|
|
494
|
-
return de_CommandError(output, context);
|
|
495
|
-
}
|
|
496
|
-
const data = await core.parseJsonBody(output.body, context);
|
|
497
|
-
let contents = {};
|
|
498
|
-
contents = smithyClient._json(data);
|
|
499
|
-
const response = {
|
|
500
|
-
$metadata: deserializeMetadata(output),
|
|
501
|
-
...contents,
|
|
502
|
-
};
|
|
503
|
-
return response;
|
|
504
|
-
};
|
|
505
|
-
const de_ResumeBatchLoadTaskCommand = async (output, context) => {
|
|
506
|
-
if (output.statusCode >= 300) {
|
|
507
|
-
return de_CommandError(output, context);
|
|
508
|
-
}
|
|
509
|
-
const data = await core.parseJsonBody(output.body, context);
|
|
510
|
-
let contents = {};
|
|
511
|
-
contents = smithyClient._json(data);
|
|
512
|
-
const response = {
|
|
513
|
-
$metadata: deserializeMetadata(output),
|
|
514
|
-
...contents,
|
|
515
|
-
};
|
|
516
|
-
return response;
|
|
517
|
-
};
|
|
518
|
-
const de_TagResourceCommand = async (output, context) => {
|
|
519
|
-
if (output.statusCode >= 300) {
|
|
520
|
-
return de_CommandError(output, context);
|
|
521
|
-
}
|
|
522
|
-
const data = await core.parseJsonBody(output.body, context);
|
|
523
|
-
let contents = {};
|
|
524
|
-
contents = smithyClient._json(data);
|
|
525
|
-
const response = {
|
|
526
|
-
$metadata: deserializeMetadata(output),
|
|
527
|
-
...contents,
|
|
528
|
-
};
|
|
529
|
-
return response;
|
|
530
|
-
};
|
|
531
|
-
const de_UntagResourceCommand = async (output, context) => {
|
|
532
|
-
if (output.statusCode >= 300) {
|
|
533
|
-
return de_CommandError(output, context);
|
|
534
|
-
}
|
|
535
|
-
const data = await core.parseJsonBody(output.body, context);
|
|
536
|
-
let contents = {};
|
|
537
|
-
contents = smithyClient._json(data);
|
|
538
|
-
const response = {
|
|
539
|
-
$metadata: deserializeMetadata(output),
|
|
540
|
-
...contents,
|
|
541
|
-
};
|
|
542
|
-
return response;
|
|
543
|
-
};
|
|
544
|
-
const de_UpdateDatabaseCommand = async (output, context) => {
|
|
545
|
-
if (output.statusCode >= 300) {
|
|
546
|
-
return de_CommandError(output, context);
|
|
547
|
-
}
|
|
548
|
-
const data = await core.parseJsonBody(output.body, context);
|
|
549
|
-
let contents = {};
|
|
550
|
-
contents = de_UpdateDatabaseResponse(data);
|
|
551
|
-
const response = {
|
|
552
|
-
$metadata: deserializeMetadata(output),
|
|
553
|
-
...contents,
|
|
554
|
-
};
|
|
555
|
-
return response;
|
|
556
|
-
};
|
|
557
|
-
const de_UpdateTableCommand = async (output, context) => {
|
|
558
|
-
if (output.statusCode >= 300) {
|
|
559
|
-
return de_CommandError(output, context);
|
|
560
|
-
}
|
|
561
|
-
const data = await core.parseJsonBody(output.body, context);
|
|
562
|
-
let contents = {};
|
|
563
|
-
contents = de_UpdateTableResponse(data);
|
|
564
|
-
const response = {
|
|
565
|
-
$metadata: deserializeMetadata(output),
|
|
566
|
-
...contents,
|
|
567
|
-
};
|
|
568
|
-
return response;
|
|
569
|
-
};
|
|
570
|
-
const de_WriteRecordsCommand = async (output, context) => {
|
|
571
|
-
if (output.statusCode >= 300) {
|
|
572
|
-
return de_CommandError(output, context);
|
|
573
|
-
}
|
|
574
|
-
const data = await core.parseJsonBody(output.body, context);
|
|
575
|
-
let contents = {};
|
|
576
|
-
contents = smithyClient._json(data);
|
|
577
|
-
const response = {
|
|
578
|
-
$metadata: deserializeMetadata(output),
|
|
579
|
-
...contents,
|
|
580
|
-
};
|
|
581
|
-
return response;
|
|
582
|
-
};
|
|
583
|
-
const de_CommandError = async (output, context) => {
|
|
584
|
-
const parsedOutput = {
|
|
585
|
-
...output,
|
|
586
|
-
body: await core.parseJsonErrorBody(output.body, context),
|
|
587
|
-
};
|
|
588
|
-
const errorCode = core.loadRestJsonErrorCode(output, parsedOutput.body);
|
|
589
|
-
switch (errorCode) {
|
|
590
|
-
case "AccessDeniedException":
|
|
591
|
-
case "com.amazonaws.timestreamwrite#AccessDeniedException":
|
|
592
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput);
|
|
593
|
-
case "ConflictException":
|
|
594
|
-
case "com.amazonaws.timestreamwrite#ConflictException":
|
|
595
|
-
throw await de_ConflictExceptionRes(parsedOutput);
|
|
596
|
-
case "InternalServerException":
|
|
597
|
-
case "com.amazonaws.timestreamwrite#InternalServerException":
|
|
598
|
-
throw await de_InternalServerExceptionRes(parsedOutput);
|
|
599
|
-
case "InvalidEndpointException":
|
|
600
|
-
case "com.amazonaws.timestreamwrite#InvalidEndpointException":
|
|
601
|
-
throw await de_InvalidEndpointExceptionRes(parsedOutput);
|
|
602
|
-
case "ResourceNotFoundException":
|
|
603
|
-
case "com.amazonaws.timestreamwrite#ResourceNotFoundException":
|
|
604
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput);
|
|
605
|
-
case "ServiceQuotaExceededException":
|
|
606
|
-
case "com.amazonaws.timestreamwrite#ServiceQuotaExceededException":
|
|
607
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
|
|
608
|
-
case "ThrottlingException":
|
|
609
|
-
case "com.amazonaws.timestreamwrite#ThrottlingException":
|
|
610
|
-
throw await de_ThrottlingExceptionRes(parsedOutput);
|
|
611
|
-
case "ValidationException":
|
|
612
|
-
case "com.amazonaws.timestreamwrite#ValidationException":
|
|
613
|
-
throw await de_ValidationExceptionRes(parsedOutput);
|
|
614
|
-
case "RejectedRecordsException":
|
|
615
|
-
case "com.amazonaws.timestreamwrite#RejectedRecordsException":
|
|
616
|
-
throw await de_RejectedRecordsExceptionRes(parsedOutput);
|
|
617
|
-
default:
|
|
618
|
-
const parsedBody = parsedOutput.body;
|
|
619
|
-
return throwDefaultError({
|
|
620
|
-
output,
|
|
621
|
-
parsedBody,
|
|
622
|
-
errorCode,
|
|
623
|
-
});
|
|
624
|
-
}
|
|
625
|
-
};
|
|
626
|
-
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
627
|
-
const body = parsedOutput.body;
|
|
628
|
-
const deserialized = smithyClient._json(body);
|
|
629
|
-
const exception = new AccessDeniedException({
|
|
630
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
631
|
-
...deserialized,
|
|
632
|
-
});
|
|
633
|
-
return smithyClient.decorateServiceException(exception, body);
|
|
634
|
-
};
|
|
635
|
-
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
636
|
-
const body = parsedOutput.body;
|
|
637
|
-
const deserialized = smithyClient._json(body);
|
|
638
|
-
const exception = new ConflictException({
|
|
639
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
640
|
-
...deserialized,
|
|
641
|
-
});
|
|
642
|
-
return smithyClient.decorateServiceException(exception, body);
|
|
643
|
-
};
|
|
644
|
-
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
645
|
-
const body = parsedOutput.body;
|
|
646
|
-
const deserialized = smithyClient._json(body);
|
|
647
|
-
const exception = new InternalServerException({
|
|
648
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
649
|
-
...deserialized,
|
|
650
|
-
});
|
|
651
|
-
return smithyClient.decorateServiceException(exception, body);
|
|
652
|
-
};
|
|
653
|
-
const de_InvalidEndpointExceptionRes = async (parsedOutput, context) => {
|
|
654
|
-
const body = parsedOutput.body;
|
|
655
|
-
const deserialized = smithyClient._json(body);
|
|
656
|
-
const exception = new InvalidEndpointException({
|
|
657
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
658
|
-
...deserialized,
|
|
659
|
-
});
|
|
660
|
-
return smithyClient.decorateServiceException(exception, body);
|
|
661
|
-
};
|
|
662
|
-
const de_RejectedRecordsExceptionRes = async (parsedOutput, context) => {
|
|
663
|
-
const body = parsedOutput.body;
|
|
664
|
-
const deserialized = smithyClient._json(body);
|
|
665
|
-
const exception = new RejectedRecordsException({
|
|
666
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
667
|
-
...deserialized,
|
|
668
|
-
});
|
|
669
|
-
return smithyClient.decorateServiceException(exception, body);
|
|
670
|
-
};
|
|
671
|
-
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
672
|
-
const body = parsedOutput.body;
|
|
673
|
-
const deserialized = smithyClient._json(body);
|
|
674
|
-
const exception = new ResourceNotFoundException({
|
|
675
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
676
|
-
...deserialized,
|
|
677
|
-
});
|
|
678
|
-
return smithyClient.decorateServiceException(exception, body);
|
|
679
|
-
};
|
|
680
|
-
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
681
|
-
const body = parsedOutput.body;
|
|
682
|
-
const deserialized = smithyClient._json(body);
|
|
683
|
-
const exception = new ServiceQuotaExceededException({
|
|
684
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
685
|
-
...deserialized,
|
|
686
|
-
});
|
|
687
|
-
return smithyClient.decorateServiceException(exception, body);
|
|
688
|
-
};
|
|
689
|
-
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
690
|
-
const body = parsedOutput.body;
|
|
691
|
-
const deserialized = smithyClient._json(body);
|
|
692
|
-
const exception = new ThrottlingException({
|
|
693
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
694
|
-
...deserialized,
|
|
695
|
-
});
|
|
696
|
-
return smithyClient.decorateServiceException(exception, body);
|
|
697
|
-
};
|
|
698
|
-
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
699
|
-
const body = parsedOutput.body;
|
|
700
|
-
const deserialized = smithyClient._json(body);
|
|
701
|
-
const exception = new ValidationException({
|
|
702
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
703
|
-
...deserialized,
|
|
704
|
-
});
|
|
705
|
-
return smithyClient.decorateServiceException(exception, body);
|
|
706
|
-
};
|
|
707
|
-
const se_CreateBatchLoadTaskRequest = (input, context) => {
|
|
708
|
-
return smithyClient.take(input, {
|
|
709
|
-
ClientToken: [true, (_) => _ ?? uuid.v4()],
|
|
710
|
-
DataModelConfiguration: smithyClient._json,
|
|
711
|
-
DataSourceConfiguration: smithyClient._json,
|
|
712
|
-
RecordVersion: [],
|
|
713
|
-
ReportConfiguration: smithyClient._json,
|
|
714
|
-
TargetDatabaseName: [],
|
|
715
|
-
TargetTableName: [],
|
|
716
|
-
});
|
|
717
|
-
};
|
|
718
|
-
const de_BatchLoadTask = (output, context) => {
|
|
719
|
-
return smithyClient.take(output, {
|
|
720
|
-
CreationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
721
|
-
DatabaseName: smithyClient.expectString,
|
|
722
|
-
LastUpdatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
723
|
-
ResumableUntil: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
724
|
-
TableName: smithyClient.expectString,
|
|
725
|
-
TaskId: smithyClient.expectString,
|
|
726
|
-
TaskStatus: smithyClient.expectString,
|
|
727
|
-
});
|
|
728
|
-
};
|
|
729
|
-
const de_BatchLoadTaskDescription = (output, context) => {
|
|
730
|
-
return smithyClient.take(output, {
|
|
731
|
-
CreationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
732
|
-
DataModelConfiguration: smithyClient._json,
|
|
733
|
-
DataSourceConfiguration: smithyClient._json,
|
|
734
|
-
ErrorMessage: smithyClient.expectString,
|
|
735
|
-
LastUpdatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
736
|
-
ProgressReport: smithyClient._json,
|
|
737
|
-
RecordVersion: smithyClient.expectLong,
|
|
738
|
-
ReportConfiguration: smithyClient._json,
|
|
739
|
-
ResumableUntil: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
740
|
-
TargetDatabaseName: smithyClient.expectString,
|
|
741
|
-
TargetTableName: smithyClient.expectString,
|
|
742
|
-
TaskId: smithyClient.expectString,
|
|
743
|
-
TaskStatus: smithyClient.expectString,
|
|
744
|
-
});
|
|
745
220
|
};
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
const
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
const
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
const
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
const
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
const
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
const
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
const
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
const
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
const
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
const
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
const
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
const
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
const
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
const
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
const
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
const
|
|
853
|
-
const
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
221
|
+
|
|
222
|
+
const _A = "Arn";
|
|
223
|
+
const _ADE = "AccessDeniedException";
|
|
224
|
+
const _Ad = "Address";
|
|
225
|
+
const _BLPR = "BatchLoadProgressReport";
|
|
226
|
+
const _BLT = "BatchLoadTask";
|
|
227
|
+
const _BLTD = "BatchLoadTaskDescription";
|
|
228
|
+
const _BLTL = "BatchLoadTaskList";
|
|
229
|
+
const _BLTa = "BatchLoadTasks";
|
|
230
|
+
const _BM = "BytesMetered";
|
|
231
|
+
const _BN = "BucketName";
|
|
232
|
+
const _CA = "CommonAttributes";
|
|
233
|
+
const _CBLT = "CreateBatchLoadTask";
|
|
234
|
+
const _CBLTR = "CreateBatchLoadTaskRequest";
|
|
235
|
+
const _CBLTRr = "CreateBatchLoadTaskResponse";
|
|
236
|
+
const _CC = "CsvConfiguration";
|
|
237
|
+
const _CD = "CreateDatabase";
|
|
238
|
+
const _CDR = "CreateDatabaseRequest";
|
|
239
|
+
const _CDRr = "CreateDatabaseResponse";
|
|
240
|
+
const _CE = "ConflictException";
|
|
241
|
+
const _CPIM = "CachePeriodInMinutes";
|
|
242
|
+
const _CPK = "CompositePartitionKey";
|
|
243
|
+
const _CRT = "ClientRequestToken";
|
|
244
|
+
const _CS = "ColumnSeparator";
|
|
245
|
+
const _CT = "CreationTime";
|
|
246
|
+
const _CTR = "CreateTableRequest";
|
|
247
|
+
const _CTRr = "CreateTableResponse";
|
|
248
|
+
const _CTl = "ClientToken";
|
|
249
|
+
const _CTr = "CreateTable";
|
|
250
|
+
const _D = "Database";
|
|
251
|
+
const _DBLT = "DescribeBatchLoadTask";
|
|
252
|
+
const _DBLTR = "DescribeBatchLoadTaskRequest";
|
|
253
|
+
const _DBLTRe = "DescribeBatchLoadTaskResponse";
|
|
254
|
+
const _DC = "DestinationColumn";
|
|
255
|
+
const _DD = "DeleteDatabase";
|
|
256
|
+
const _DDR = "DeleteDatabaseRequest";
|
|
257
|
+
const _DDRe = "DescribeDatabaseRequest";
|
|
258
|
+
const _DDRes = "DescribeDatabaseResponse";
|
|
259
|
+
const _DDe = "DescribeDatabase";
|
|
260
|
+
const _DE = "DescribeEndpoints";
|
|
261
|
+
const _DER = "DescribeEndpointsRequest";
|
|
262
|
+
const _DERe = "DescribeEndpointsResponse";
|
|
263
|
+
const _DF = "DataFormat";
|
|
264
|
+
const _DL = "DatabaseList";
|
|
265
|
+
const _DM = "DataModel";
|
|
266
|
+
const _DMC = "DataModelConfiguration";
|
|
267
|
+
const _DMSC = "DataModelS3Configuration";
|
|
268
|
+
const _DMi = "DimensionMappings";
|
|
269
|
+
const _DMim = "DimensionMapping";
|
|
270
|
+
const _DN = "DatabaseName";
|
|
271
|
+
const _DSC = "DataSourceConfiguration";
|
|
272
|
+
const _DSSC = "DataSourceS3Configuration";
|
|
273
|
+
const _DT = "DeleteTable";
|
|
274
|
+
const _DTR = "DeleteTableRequest";
|
|
275
|
+
const _DTRe = "DescribeTableRequest";
|
|
276
|
+
const _DTRes = "DescribeTableResponse";
|
|
277
|
+
const _DTe = "DescribeTable";
|
|
278
|
+
const _DVT = "DimensionValueType";
|
|
279
|
+
const _Da = "Databases";
|
|
280
|
+
const _Di = "Dimension";
|
|
281
|
+
const _Dim = "Dimensions";
|
|
282
|
+
const _E = "Endpoints";
|
|
283
|
+
const _EC = "EscapeChar";
|
|
284
|
+
const _EIR = "EnforcementInRecord";
|
|
285
|
+
const _EM = "ErrorMessage";
|
|
286
|
+
const _EMSW = "EnableMagneticStoreWrites";
|
|
287
|
+
const _EO = "EncryptionOption";
|
|
288
|
+
const _EV = "ExistingVersion";
|
|
289
|
+
const _En = "Endpoint";
|
|
290
|
+
const _FF = "FileFailures";
|
|
291
|
+
const _IEE = "InvalidEndpointException";
|
|
292
|
+
const _ISE = "InternalServerException";
|
|
293
|
+
const _K = "Key";
|
|
294
|
+
const _KKI = "KmsKeyId";
|
|
295
|
+
const _LBLT = "ListBatchLoadTasks";
|
|
296
|
+
const _LBLTR = "ListBatchLoadTasksRequest";
|
|
297
|
+
const _LBLTRi = "ListBatchLoadTasksResponse";
|
|
298
|
+
const _LD = "ListDatabases";
|
|
299
|
+
const _LDR = "ListDatabasesRequest";
|
|
300
|
+
const _LDRi = "ListDatabasesResponse";
|
|
301
|
+
const _LT = "ListTables";
|
|
302
|
+
const _LTFR = "ListTagsForResource";
|
|
303
|
+
const _LTFRR = "ListTagsForResourceRequest";
|
|
304
|
+
const _LTFRRi = "ListTagsForResourceResponse";
|
|
305
|
+
const _LTR = "ListTablesRequest";
|
|
306
|
+
const _LTRi = "ListTablesResponse";
|
|
307
|
+
const _LUT = "LastUpdatedTime";
|
|
308
|
+
const _M = "Message";
|
|
309
|
+
const _MMAM = "MultiMeasureAttributeMappings";
|
|
310
|
+
const _MMAML = "MultiMeasureAttributeMappingList";
|
|
311
|
+
const _MMAMu = "MultiMeasureAttributeMapping";
|
|
312
|
+
const _MMM = "MultiMeasureMappings";
|
|
313
|
+
const _MMML = "MixedMeasureMappingList";
|
|
314
|
+
const _MMMi = "MixedMeasureMappings";
|
|
315
|
+
const _MMMix = "MixedMeasureMapping";
|
|
316
|
+
const _MN = "MeasureName";
|
|
317
|
+
const _MNC = "MeasureNameColumn";
|
|
318
|
+
const _MR = "MaxResults";
|
|
319
|
+
const _MS = "MemoryStore";
|
|
320
|
+
const _MSRDL = "MagneticStoreRejectedDataLocation";
|
|
321
|
+
const _MSRPID = "MagneticStoreRetentionPeriodInDays";
|
|
322
|
+
const _MSRPIH = "MemoryStoreRetentionPeriodInHours";
|
|
323
|
+
const _MSWP = "MagneticStoreWriteProperties";
|
|
324
|
+
const _MSa = "MagneticStore";
|
|
325
|
+
const _MV = "MeasureValue";
|
|
326
|
+
const _MVT = "MeasureValueType";
|
|
327
|
+
const _MVe = "MeasureValues";
|
|
328
|
+
const _N = "Name";
|
|
329
|
+
const _NT = "NextToken";
|
|
330
|
+
const _NV = "NullValue";
|
|
331
|
+
const _OK = "ObjectKey";
|
|
332
|
+
const _OKP = "ObjectKeyPrefix";
|
|
333
|
+
const _PF = "ParseFailures";
|
|
334
|
+
const _PK = "PartitionKey";
|
|
335
|
+
const _PKL = "PartitionKeyList";
|
|
336
|
+
const _PR = "ProgressReport";
|
|
337
|
+
const _QC = "QuoteChar";
|
|
338
|
+
const _R = "Record";
|
|
339
|
+
const _RARN = "ResourceARN";
|
|
340
|
+
const _RBLT = "ResumeBatchLoadTask";
|
|
341
|
+
const _RBLTR = "ResumeBatchLoadTaskRequest";
|
|
342
|
+
const _RBLTRe = "ResumeBatchLoadTaskResponse";
|
|
343
|
+
const _RC = "ReportConfiguration";
|
|
344
|
+
const _RI = "RecordsIngested";
|
|
345
|
+
const _RIF = "RecordIngestionFailures";
|
|
346
|
+
const _RIe = "RecordIndex";
|
|
347
|
+
const _RNFE = "ResourceNotFoundException";
|
|
348
|
+
const _RP = "RecordsProcessed";
|
|
349
|
+
const _RPe = "RetentionProperties";
|
|
350
|
+
const _RR = "RejectedRecord";
|
|
351
|
+
const _RRE = "RejectedRecordsException";
|
|
352
|
+
const _RRe = "RejectedRecords";
|
|
353
|
+
const _RSC = "ReportS3Configuration";
|
|
354
|
+
const _RU = "ResumableUntil";
|
|
355
|
+
const _RV = "RecordVersion";
|
|
356
|
+
const _Re = "Reason";
|
|
357
|
+
const _Rec = "Records";
|
|
358
|
+
const _S = "Schema";
|
|
359
|
+
const _SC = "SourceColumn";
|
|
360
|
+
const _SCo = "S3Configuration";
|
|
361
|
+
const _SQEE = "ServiceQuotaExceededException";
|
|
362
|
+
const _T = "Tags";
|
|
363
|
+
const _TC = "TableCount";
|
|
364
|
+
const _TCi = "TimeColumn";
|
|
365
|
+
const _TDN = "TargetDatabaseName";
|
|
366
|
+
const _TE = "ThrottlingException";
|
|
367
|
+
const _TI = "TaskId";
|
|
368
|
+
const _TK = "TagKeys";
|
|
369
|
+
const _TL = "TableList";
|
|
370
|
+
const _TLa = "TagList";
|
|
371
|
+
const _TMMAN = "TargetMultiMeasureAttributeName";
|
|
372
|
+
const _TMMN = "TargetMultiMeasureName";
|
|
373
|
+
const _TMN = "TargetMeasureName";
|
|
374
|
+
const _TN = "TableName";
|
|
375
|
+
const _TR = "TagResource";
|
|
376
|
+
const _TRR = "TagResourceRequest";
|
|
377
|
+
const _TRRa = "TagResourceResponse";
|
|
378
|
+
const _TS = "TaskStatus";
|
|
379
|
+
const _TSa = "TableStatus";
|
|
380
|
+
const _TTN = "TargetTableName";
|
|
381
|
+
const _TU = "TimeUnit";
|
|
382
|
+
const _TWS = "TrimWhiteSpace";
|
|
383
|
+
const _Ta = "Table";
|
|
384
|
+
const _Tab = "Tables";
|
|
385
|
+
const _Tag = "Tag";
|
|
386
|
+
const _Ti = "Time";
|
|
387
|
+
const _To = "Total";
|
|
388
|
+
const _Ty = "Type";
|
|
389
|
+
const _UD = "UpdateDatabase";
|
|
390
|
+
const _UDR = "UpdateDatabaseRequest";
|
|
391
|
+
const _UDRp = "UpdateDatabaseResponse";
|
|
392
|
+
const _UR = "UntagResource";
|
|
393
|
+
const _URR = "UntagResourceRequest";
|
|
394
|
+
const _URRn = "UntagResourceResponse";
|
|
395
|
+
const _UT = "UpdateTable";
|
|
396
|
+
const _UTR = "UpdateTableRequest";
|
|
397
|
+
const _UTRp = "UpdateTableResponse";
|
|
398
|
+
const _V = "Value";
|
|
399
|
+
const _VE = "ValidationException";
|
|
400
|
+
const _Ve = "Version";
|
|
401
|
+
const _WR = "WriteRecords";
|
|
402
|
+
const _WRR = "WriteRecordsRequest";
|
|
403
|
+
const _WRRr = "WriteRecordsResponse";
|
|
404
|
+
const _c = "client";
|
|
405
|
+
const _e = "error";
|
|
406
|
+
const _hE = "httpError";
|
|
407
|
+
const _s = "server";
|
|
408
|
+
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.timestreamwrite";
|
|
409
|
+
const n0 = "com.amazonaws.timestreamwrite";
|
|
410
|
+
var ClientRequestToken = [0, n0, _CRT, 8, 0];
|
|
411
|
+
var AccessDeniedException = [
|
|
412
|
+
-3,
|
|
413
|
+
n0,
|
|
414
|
+
_ADE,
|
|
415
|
+
{
|
|
416
|
+
[_e]: _c,
|
|
417
|
+
[_hE]: 403,
|
|
418
|
+
},
|
|
419
|
+
[_M],
|
|
420
|
+
[0],
|
|
421
|
+
];
|
|
422
|
+
schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
|
|
423
|
+
var BatchLoadProgressReport = [
|
|
424
|
+
3,
|
|
425
|
+
n0,
|
|
426
|
+
_BLPR,
|
|
427
|
+
0,
|
|
428
|
+
[_RP, _RI, _PF, _RIF, _FF, _BM],
|
|
429
|
+
[1, 1, 1, 1, 1, 1],
|
|
430
|
+
];
|
|
431
|
+
var BatchLoadTask = [
|
|
432
|
+
3,
|
|
433
|
+
n0,
|
|
434
|
+
_BLT,
|
|
435
|
+
0,
|
|
436
|
+
[_TI, _TS, _DN, _TN, _CT, _LUT, _RU],
|
|
437
|
+
[0, 0, 0, 0, 4, 4, 4],
|
|
438
|
+
];
|
|
439
|
+
var BatchLoadTaskDescription = [
|
|
440
|
+
3,
|
|
441
|
+
n0,
|
|
442
|
+
_BLTD,
|
|
443
|
+
0,
|
|
444
|
+
[_TI, _EM, _DSC, _PR, _RC, _DMC, _TDN, _TTN, _TS, _RV, _CT, _LUT, _RU],
|
|
445
|
+
[
|
|
446
|
+
0,
|
|
447
|
+
0,
|
|
448
|
+
() => DataSourceConfiguration,
|
|
449
|
+
() => BatchLoadProgressReport,
|
|
450
|
+
() => ReportConfiguration,
|
|
451
|
+
() => DataModelConfiguration,
|
|
452
|
+
0,
|
|
453
|
+
0,
|
|
454
|
+
0,
|
|
455
|
+
1,
|
|
456
|
+
4,
|
|
457
|
+
4,
|
|
458
|
+
4,
|
|
459
|
+
],
|
|
460
|
+
];
|
|
461
|
+
var ConflictException = [
|
|
462
|
+
-3,
|
|
463
|
+
n0,
|
|
464
|
+
_CE,
|
|
465
|
+
{
|
|
466
|
+
[_e]: _c,
|
|
467
|
+
[_hE]: 409,
|
|
468
|
+
},
|
|
469
|
+
[_M],
|
|
470
|
+
[0],
|
|
471
|
+
];
|
|
472
|
+
schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
|
|
473
|
+
var CreateBatchLoadTaskRequest = [
|
|
474
|
+
3,
|
|
475
|
+
n0,
|
|
476
|
+
_CBLTR,
|
|
477
|
+
0,
|
|
478
|
+
[_CTl, _DMC, _DSC, _RC, _TDN, _TTN, _RV],
|
|
479
|
+
[
|
|
480
|
+
[() => ClientRequestToken, 4],
|
|
481
|
+
() => DataModelConfiguration,
|
|
482
|
+
() => DataSourceConfiguration,
|
|
483
|
+
() => ReportConfiguration,
|
|
484
|
+
0,
|
|
485
|
+
0,
|
|
486
|
+
1,
|
|
487
|
+
],
|
|
488
|
+
];
|
|
489
|
+
var CreateBatchLoadTaskResponse = [3, n0, _CBLTRr, 0, [_TI], [0]];
|
|
490
|
+
var CreateDatabaseRequest = [3, n0, _CDR, 0, [_DN, _KKI, _T], [0, 0, () => TagList]];
|
|
491
|
+
var CreateDatabaseResponse = [3, n0, _CDRr, 0, [_D], [() => Database]];
|
|
492
|
+
var CreateTableRequest = [
|
|
493
|
+
3,
|
|
494
|
+
n0,
|
|
495
|
+
_CTR,
|
|
496
|
+
0,
|
|
497
|
+
[_DN, _TN, _RPe, _T, _MSWP, _S],
|
|
498
|
+
[0, 0, () => RetentionProperties, () => TagList, () => MagneticStoreWriteProperties, () => Schema],
|
|
499
|
+
];
|
|
500
|
+
var CreateTableResponse = [3, n0, _CTRr, 0, [_Ta], [() => Table]];
|
|
501
|
+
var CsvConfiguration = [3, n0, _CC, 0, [_CS, _EC, _QC, _NV, _TWS], [0, 0, 0, 0, 2]];
|
|
502
|
+
var Database = [3, n0, _D, 0, [_A, _DN, _TC, _KKI, _CT, _LUT], [0, 0, 1, 0, 4, 4]];
|
|
503
|
+
var DataModel = [
|
|
504
|
+
3,
|
|
505
|
+
n0,
|
|
506
|
+
_DM,
|
|
507
|
+
0,
|
|
508
|
+
[_TCi, _TU, _DMi, _MMM, _MMMi, _MNC],
|
|
509
|
+
[0, 0, () => DimensionMappings, () => MultiMeasureMappings, () => MixedMeasureMappingList, 0],
|
|
510
|
+
];
|
|
511
|
+
var DataModelConfiguration = [
|
|
512
|
+
3,
|
|
513
|
+
n0,
|
|
514
|
+
_DMC,
|
|
515
|
+
0,
|
|
516
|
+
[_DM, _DMSC],
|
|
517
|
+
[() => DataModel, () => DataModelS3Configuration],
|
|
518
|
+
];
|
|
519
|
+
var DataModelS3Configuration = [3, n0, _DMSC, 0, [_BN, _OK], [0, 0]];
|
|
520
|
+
var DataSourceConfiguration = [
|
|
521
|
+
3,
|
|
522
|
+
n0,
|
|
523
|
+
_DSC,
|
|
524
|
+
0,
|
|
525
|
+
[_DSSC, _CC, _DF],
|
|
526
|
+
[() => DataSourceS3Configuration, () => CsvConfiguration, 0],
|
|
527
|
+
];
|
|
528
|
+
var DataSourceS3Configuration = [3, n0, _DSSC, 0, [_BN, _OKP], [0, 0]];
|
|
529
|
+
var DeleteDatabaseRequest = [3, n0, _DDR, 0, [_DN], [0]];
|
|
530
|
+
var DeleteTableRequest = [3, n0, _DTR, 0, [_DN, _TN], [0, 0]];
|
|
531
|
+
var DescribeBatchLoadTaskRequest = [3, n0, _DBLTR, 0, [_TI], [0]];
|
|
532
|
+
var DescribeBatchLoadTaskResponse = [
|
|
533
|
+
3,
|
|
534
|
+
n0,
|
|
535
|
+
_DBLTRe,
|
|
536
|
+
0,
|
|
537
|
+
[_BLTD],
|
|
538
|
+
[() => BatchLoadTaskDescription],
|
|
539
|
+
];
|
|
540
|
+
var DescribeDatabaseRequest = [3, n0, _DDRe, 0, [_DN], [0]];
|
|
541
|
+
var DescribeDatabaseResponse = [3, n0, _DDRes, 0, [_D], [() => Database]];
|
|
542
|
+
var DescribeEndpointsRequest = [3, n0, _DER, 0, [], []];
|
|
543
|
+
var DescribeEndpointsResponse = [3, n0, _DERe, 0, [_E], [() => Endpoints]];
|
|
544
|
+
var DescribeTableRequest = [3, n0, _DTRe, 0, [_DN, _TN], [0, 0]];
|
|
545
|
+
var DescribeTableResponse = [3, n0, _DTRes, 0, [_Ta], [() => Table]];
|
|
546
|
+
var Dimension = [3, n0, _Di, 0, [_N, _V, _DVT], [0, 0, 0]];
|
|
547
|
+
var DimensionMapping = [3, n0, _DMim, 0, [_SC, _DC], [0, 0]];
|
|
548
|
+
var Endpoint = [3, n0, _En, 0, [_Ad, _CPIM], [0, 1]];
|
|
549
|
+
var InternalServerException = [
|
|
550
|
+
-3,
|
|
551
|
+
n0,
|
|
552
|
+
_ISE,
|
|
553
|
+
{
|
|
554
|
+
[_e]: _s,
|
|
555
|
+
[_hE]: 500,
|
|
556
|
+
},
|
|
557
|
+
[_M],
|
|
558
|
+
[0],
|
|
559
|
+
];
|
|
560
|
+
schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
|
|
561
|
+
var InvalidEndpointException = [
|
|
562
|
+
-3,
|
|
563
|
+
n0,
|
|
564
|
+
_IEE,
|
|
565
|
+
{
|
|
566
|
+
[_e]: _c,
|
|
567
|
+
[_hE]: 421,
|
|
568
|
+
},
|
|
569
|
+
[_M],
|
|
570
|
+
[0],
|
|
571
|
+
];
|
|
572
|
+
schema.TypeRegistry.for(n0).registerError(InvalidEndpointException, InvalidEndpointException$1);
|
|
573
|
+
var ListBatchLoadTasksRequest = [3, n0, _LBLTR, 0, [_NT, _MR, _TS], [0, 1, 0]];
|
|
574
|
+
var ListBatchLoadTasksResponse = [
|
|
575
|
+
3,
|
|
576
|
+
n0,
|
|
577
|
+
_LBLTRi,
|
|
578
|
+
0,
|
|
579
|
+
[_NT, _BLTa],
|
|
580
|
+
[0, () => BatchLoadTaskList],
|
|
581
|
+
];
|
|
582
|
+
var ListDatabasesRequest = [3, n0, _LDR, 0, [_NT, _MR], [0, 1]];
|
|
583
|
+
var ListDatabasesResponse = [3, n0, _LDRi, 0, [_Da, _NT], [() => DatabaseList, 0]];
|
|
584
|
+
var ListTablesRequest = [3, n0, _LTR, 0, [_DN, _NT, _MR], [0, 0, 1]];
|
|
585
|
+
var ListTablesResponse = [3, n0, _LTRi, 0, [_Tab, _NT], [() => TableList, 0]];
|
|
586
|
+
var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_RARN], [0]];
|
|
587
|
+
var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_T], [() => TagList]];
|
|
588
|
+
var MagneticStoreRejectedDataLocation = [
|
|
589
|
+
3,
|
|
590
|
+
n0,
|
|
591
|
+
_MSRDL,
|
|
592
|
+
0,
|
|
593
|
+
[_SCo],
|
|
594
|
+
[() => S3Configuration],
|
|
595
|
+
];
|
|
596
|
+
var MagneticStoreWriteProperties = [
|
|
597
|
+
3,
|
|
598
|
+
n0,
|
|
599
|
+
_MSWP,
|
|
600
|
+
0,
|
|
601
|
+
[_EMSW, _MSRDL],
|
|
602
|
+
[2, () => MagneticStoreRejectedDataLocation],
|
|
603
|
+
];
|
|
604
|
+
var MeasureValue = [3, n0, _MV, 0, [_N, _V, _Ty], [0, 0, 0]];
|
|
605
|
+
var MixedMeasureMapping = [
|
|
606
|
+
3,
|
|
607
|
+
n0,
|
|
608
|
+
_MMMix,
|
|
609
|
+
0,
|
|
610
|
+
[_MN, _SC, _TMN, _MVT, _MMAM],
|
|
611
|
+
[0, 0, 0, 0, () => MultiMeasureAttributeMappingList],
|
|
612
|
+
];
|
|
613
|
+
var MultiMeasureAttributeMapping = [3, n0, _MMAMu, 0, [_SC, _TMMAN, _MVT], [0, 0, 0]];
|
|
614
|
+
var MultiMeasureMappings = [
|
|
615
|
+
3,
|
|
616
|
+
n0,
|
|
617
|
+
_MMM,
|
|
618
|
+
0,
|
|
619
|
+
[_TMMN, _MMAM],
|
|
620
|
+
[0, () => MultiMeasureAttributeMappingList],
|
|
621
|
+
];
|
|
622
|
+
var PartitionKey = [3, n0, _PK, 0, [_Ty, _N, _EIR], [0, 0, 0]];
|
|
623
|
+
var _Record = [
|
|
624
|
+
3,
|
|
625
|
+
n0,
|
|
626
|
+
_R,
|
|
627
|
+
0,
|
|
628
|
+
[_Dim, _MN, _MV, _MVT, _Ti, _TU, _Ve, _MVe],
|
|
629
|
+
[() => Dimensions, 0, 0, 0, 0, 0, 1, () => MeasureValues],
|
|
630
|
+
];
|
|
631
|
+
var RecordsIngested = [3, n0, _RI, 0, [_To, _MS, _MSa], [1, 1, 1]];
|
|
632
|
+
var RejectedRecord = [3, n0, _RR, 0, [_RIe, _Re, _EV], [1, 0, 1]];
|
|
633
|
+
var RejectedRecordsException = [
|
|
634
|
+
-3,
|
|
635
|
+
n0,
|
|
636
|
+
_RRE,
|
|
637
|
+
{
|
|
638
|
+
[_e]: _c,
|
|
639
|
+
[_hE]: 419,
|
|
640
|
+
},
|
|
641
|
+
[_M, _RRe],
|
|
642
|
+
[0, () => RejectedRecords],
|
|
643
|
+
];
|
|
644
|
+
schema.TypeRegistry.for(n0).registerError(RejectedRecordsException, RejectedRecordsException$1);
|
|
645
|
+
var ReportConfiguration = [3, n0, _RC, 0, [_RSC], [() => ReportS3Configuration]];
|
|
646
|
+
var ReportS3Configuration = [3, n0, _RSC, 0, [_BN, _OKP, _EO, _KKI], [0, 0, 0, 0]];
|
|
647
|
+
var ResourceNotFoundException = [
|
|
648
|
+
-3,
|
|
649
|
+
n0,
|
|
650
|
+
_RNFE,
|
|
651
|
+
{
|
|
652
|
+
[_e]: _c,
|
|
653
|
+
[_hE]: 404,
|
|
654
|
+
},
|
|
655
|
+
[_M],
|
|
656
|
+
[0],
|
|
657
|
+
];
|
|
658
|
+
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
|
|
659
|
+
var ResumeBatchLoadTaskRequest = [3, n0, _RBLTR, 0, [_TI], [0]];
|
|
660
|
+
var ResumeBatchLoadTaskResponse = [3, n0, _RBLTRe, 0, [], []];
|
|
661
|
+
var RetentionProperties = [3, n0, _RPe, 0, [_MSRPIH, _MSRPID], [1, 1]];
|
|
662
|
+
var S3Configuration = [3, n0, _SCo, 0, [_BN, _OKP, _EO, _KKI], [0, 0, 0, 0]];
|
|
663
|
+
var Schema = [3, n0, _S, 0, [_CPK], [() => PartitionKeyList]];
|
|
664
|
+
var ServiceQuotaExceededException = [
|
|
665
|
+
-3,
|
|
666
|
+
n0,
|
|
667
|
+
_SQEE,
|
|
668
|
+
{
|
|
669
|
+
[_e]: _c,
|
|
670
|
+
[_hE]: 402,
|
|
671
|
+
},
|
|
672
|
+
[_M],
|
|
673
|
+
[0],
|
|
674
|
+
];
|
|
675
|
+
schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
|
|
676
|
+
var Table = [
|
|
677
|
+
3,
|
|
678
|
+
n0,
|
|
679
|
+
_Ta,
|
|
680
|
+
0,
|
|
681
|
+
[_A, _TN, _DN, _TSa, _RPe, _CT, _LUT, _MSWP, _S],
|
|
682
|
+
[0, 0, 0, 0, () => RetentionProperties, 4, 4, () => MagneticStoreWriteProperties, () => Schema],
|
|
683
|
+
];
|
|
684
|
+
var Tag = [3, n0, _Tag, 0, [_K, _V], [0, 0]];
|
|
685
|
+
var TagResourceRequest = [3, n0, _TRR, 0, [_RARN, _T], [0, () => TagList]];
|
|
686
|
+
var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
|
|
687
|
+
var ThrottlingException = [
|
|
688
|
+
-3,
|
|
689
|
+
n0,
|
|
690
|
+
_TE,
|
|
691
|
+
{
|
|
692
|
+
[_e]: _c,
|
|
693
|
+
[_hE]: 429,
|
|
694
|
+
},
|
|
695
|
+
[_M],
|
|
696
|
+
[0],
|
|
697
|
+
];
|
|
698
|
+
schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
|
|
699
|
+
var UntagResourceRequest = [3, n0, _URR, 0, [_RARN, _TK], [0, 64 | 0]];
|
|
700
|
+
var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
|
|
701
|
+
var UpdateDatabaseRequest = [3, n0, _UDR, 0, [_DN, _KKI], [0, 0]];
|
|
702
|
+
var UpdateDatabaseResponse = [3, n0, _UDRp, 0, [_D], [() => Database]];
|
|
703
|
+
var UpdateTableRequest = [
|
|
704
|
+
3,
|
|
705
|
+
n0,
|
|
706
|
+
_UTR,
|
|
707
|
+
0,
|
|
708
|
+
[_DN, _TN, _RPe, _MSWP, _S],
|
|
709
|
+
[0, 0, () => RetentionProperties, () => MagneticStoreWriteProperties, () => Schema],
|
|
710
|
+
];
|
|
711
|
+
var UpdateTableResponse = [3, n0, _UTRp, 0, [_Ta], [() => Table]];
|
|
712
|
+
var ValidationException = [
|
|
713
|
+
-3,
|
|
714
|
+
n0,
|
|
715
|
+
_VE,
|
|
716
|
+
{
|
|
717
|
+
[_e]: _c,
|
|
718
|
+
[_hE]: 400,
|
|
719
|
+
},
|
|
720
|
+
[_M],
|
|
721
|
+
[0],
|
|
722
|
+
];
|
|
723
|
+
schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
|
|
724
|
+
var WriteRecordsRequest = [
|
|
725
|
+
3,
|
|
726
|
+
n0,
|
|
727
|
+
_WRR,
|
|
728
|
+
0,
|
|
729
|
+
[_DN, _TN, _CA, _Rec],
|
|
730
|
+
[0, 0, () => _Record, () => Records],
|
|
731
|
+
];
|
|
732
|
+
var WriteRecordsResponse = [3, n0, _WRRr, 0, [_RI], [() => RecordsIngested]];
|
|
733
|
+
var __Unit = "unit";
|
|
734
|
+
var TimestreamWriteServiceException = [-3, _sm, "TimestreamWriteServiceException", 0, [], []];
|
|
735
|
+
schema.TypeRegistry.for(_sm).registerError(TimestreamWriteServiceException, TimestreamWriteServiceException$1);
|
|
736
|
+
var BatchLoadTaskList = [1, n0, _BLTL, 0, () => BatchLoadTask];
|
|
737
|
+
var DatabaseList = [1, n0, _DL, 0, () => Database];
|
|
738
|
+
var DimensionMappings = [1, n0, _DMi, 0, () => DimensionMapping];
|
|
739
|
+
var Dimensions = [1, n0, _Dim, 0, () => Dimension];
|
|
740
|
+
var Endpoints = [1, n0, _E, 0, () => Endpoint];
|
|
741
|
+
var MeasureValues = [1, n0, _MVe, 0, () => MeasureValue];
|
|
742
|
+
var MixedMeasureMappingList = [1, n0, _MMML, 0, () => MixedMeasureMapping];
|
|
743
|
+
var MultiMeasureAttributeMappingList = [1, n0, _MMAML, 0, () => MultiMeasureAttributeMapping];
|
|
744
|
+
var PartitionKeyList = [1, n0, _PKL, 0, () => PartitionKey];
|
|
745
|
+
var Records = [1, n0, _Rec, 0, () => _Record];
|
|
746
|
+
var RejectedRecords = [1, n0, _RRe, 0, () => RejectedRecord];
|
|
747
|
+
var TableList = [1, n0, _TL, 0, () => Table];
|
|
748
|
+
var TagList = [1, n0, _TLa, 0, () => Tag];
|
|
749
|
+
var CreateBatchLoadTask = [
|
|
750
|
+
9,
|
|
751
|
+
n0,
|
|
752
|
+
_CBLT,
|
|
753
|
+
0,
|
|
754
|
+
() => CreateBatchLoadTaskRequest,
|
|
755
|
+
() => CreateBatchLoadTaskResponse,
|
|
756
|
+
];
|
|
757
|
+
var CreateDatabase = [
|
|
758
|
+
9,
|
|
759
|
+
n0,
|
|
760
|
+
_CD,
|
|
761
|
+
0,
|
|
762
|
+
() => CreateDatabaseRequest,
|
|
763
|
+
() => CreateDatabaseResponse,
|
|
764
|
+
];
|
|
765
|
+
var CreateTable = [9, n0, _CTr, 0, () => CreateTableRequest, () => CreateTableResponse];
|
|
766
|
+
var DeleteDatabase = [9, n0, _DD, 0, () => DeleteDatabaseRequest, () => __Unit];
|
|
767
|
+
var DeleteTable = [9, n0, _DT, 0, () => DeleteTableRequest, () => __Unit];
|
|
768
|
+
var DescribeBatchLoadTask = [
|
|
769
|
+
9,
|
|
770
|
+
n0,
|
|
771
|
+
_DBLT,
|
|
772
|
+
0,
|
|
773
|
+
() => DescribeBatchLoadTaskRequest,
|
|
774
|
+
() => DescribeBatchLoadTaskResponse,
|
|
775
|
+
];
|
|
776
|
+
var DescribeDatabase = [
|
|
777
|
+
9,
|
|
778
|
+
n0,
|
|
779
|
+
_DDe,
|
|
780
|
+
0,
|
|
781
|
+
() => DescribeDatabaseRequest,
|
|
782
|
+
() => DescribeDatabaseResponse,
|
|
783
|
+
];
|
|
784
|
+
var DescribeEndpoints = [
|
|
785
|
+
9,
|
|
786
|
+
n0,
|
|
787
|
+
_DE,
|
|
788
|
+
0,
|
|
789
|
+
() => DescribeEndpointsRequest,
|
|
790
|
+
() => DescribeEndpointsResponse,
|
|
791
|
+
];
|
|
792
|
+
var DescribeTable = [
|
|
793
|
+
9,
|
|
794
|
+
n0,
|
|
795
|
+
_DTe,
|
|
796
|
+
0,
|
|
797
|
+
() => DescribeTableRequest,
|
|
798
|
+
() => DescribeTableResponse,
|
|
799
|
+
];
|
|
800
|
+
var ListBatchLoadTasks = [
|
|
801
|
+
9,
|
|
802
|
+
n0,
|
|
803
|
+
_LBLT,
|
|
804
|
+
0,
|
|
805
|
+
() => ListBatchLoadTasksRequest,
|
|
806
|
+
() => ListBatchLoadTasksResponse,
|
|
807
|
+
];
|
|
808
|
+
var ListDatabases = [
|
|
809
|
+
9,
|
|
810
|
+
n0,
|
|
811
|
+
_LD,
|
|
812
|
+
0,
|
|
813
|
+
() => ListDatabasesRequest,
|
|
814
|
+
() => ListDatabasesResponse,
|
|
815
|
+
];
|
|
816
|
+
var ListTables = [9, n0, _LT, 0, () => ListTablesRequest, () => ListTablesResponse];
|
|
817
|
+
var ListTagsForResource = [
|
|
818
|
+
9,
|
|
819
|
+
n0,
|
|
820
|
+
_LTFR,
|
|
821
|
+
0,
|
|
822
|
+
() => ListTagsForResourceRequest,
|
|
823
|
+
() => ListTagsForResourceResponse,
|
|
824
|
+
];
|
|
825
|
+
var ResumeBatchLoadTask = [
|
|
826
|
+
9,
|
|
827
|
+
n0,
|
|
828
|
+
_RBLT,
|
|
829
|
+
0,
|
|
830
|
+
() => ResumeBatchLoadTaskRequest,
|
|
831
|
+
() => ResumeBatchLoadTaskResponse,
|
|
832
|
+
];
|
|
833
|
+
var TagResource = [9, n0, _TR, 0, () => TagResourceRequest, () => TagResourceResponse];
|
|
834
|
+
var UntagResource = [
|
|
835
|
+
9,
|
|
836
|
+
n0,
|
|
837
|
+
_UR,
|
|
838
|
+
0,
|
|
839
|
+
() => UntagResourceRequest,
|
|
840
|
+
() => UntagResourceResponse,
|
|
841
|
+
];
|
|
842
|
+
var UpdateDatabase = [
|
|
843
|
+
9,
|
|
844
|
+
n0,
|
|
845
|
+
_UD,
|
|
846
|
+
0,
|
|
847
|
+
() => UpdateDatabaseRequest,
|
|
848
|
+
() => UpdateDatabaseResponse,
|
|
849
|
+
];
|
|
850
|
+
var UpdateTable = [9, n0, _UT, 0, () => UpdateTableRequest, () => UpdateTableResponse];
|
|
851
|
+
var WriteRecords = [9, n0, _WR, 0, () => WriteRecordsRequest, () => WriteRecordsResponse];
|
|
874
852
|
|
|
875
853
|
class DescribeEndpointsCommand extends smithyClient.Command
|
|
876
854
|
.classBuilder()
|
|
877
855
|
.ep(commonParams)
|
|
878
856
|
.m(function (Command, cs, config, o) {
|
|
879
|
-
return [
|
|
880
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
881
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
882
|
-
];
|
|
857
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
883
858
|
})
|
|
884
859
|
.s("Timestream_20181101", "DescribeEndpoints", {})
|
|
885
860
|
.n("TimestreamWriteClient", "DescribeEndpointsCommand")
|
|
886
|
-
.
|
|
887
|
-
.ser(se_DescribeEndpointsCommand)
|
|
888
|
-
.de(de_DescribeEndpointsCommand)
|
|
861
|
+
.sc(DescribeEndpoints)
|
|
889
862
|
.build() {
|
|
890
863
|
}
|
|
891
864
|
|
|
@@ -952,19 +925,20 @@ class TimestreamWriteClient extends smithyClient.Client {
|
|
|
952
925
|
});
|
|
953
926
|
const _config_9 = resolveRuntimeExtensions(_config_8, configuration?.extensions || []);
|
|
954
927
|
this.config = _config_9;
|
|
928
|
+
this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
|
|
955
929
|
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
956
930
|
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
957
931
|
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
958
932
|
this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
|
|
959
933
|
this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
|
|
960
934
|
this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
|
|
961
|
-
this.middlewareStack.use(core
|
|
935
|
+
this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
962
936
|
httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultTimestreamWriteHttpAuthSchemeParametersProvider,
|
|
963
|
-
identityProviderConfigProvider: async (config) => new core
|
|
937
|
+
identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
|
|
964
938
|
"aws.auth#sigv4": config.credentials,
|
|
965
939
|
}),
|
|
966
940
|
}));
|
|
967
|
-
this.middlewareStack.use(core
|
|
941
|
+
this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
|
|
968
942
|
}
|
|
969
943
|
destroy() {
|
|
970
944
|
super.destroy();
|
|
@@ -976,7 +950,6 @@ class CreateBatchLoadTaskCommand extends smithyClient.Command
|
|
|
976
950
|
.ep(commonParams)
|
|
977
951
|
.m(function (Command, cs, config, o) {
|
|
978
952
|
return [
|
|
979
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
980
953
|
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
981
954
|
middlewareEndpointDiscovery.getEndpointDiscoveryPlugin(config, {
|
|
982
955
|
clientStack: cs,
|
|
@@ -987,9 +960,7 @@ class CreateBatchLoadTaskCommand extends smithyClient.Command
|
|
|
987
960
|
})
|
|
988
961
|
.s("Timestream_20181101", "CreateBatchLoadTask", {})
|
|
989
962
|
.n("TimestreamWriteClient", "CreateBatchLoadTaskCommand")
|
|
990
|
-
.
|
|
991
|
-
.ser(se_CreateBatchLoadTaskCommand)
|
|
992
|
-
.de(de_CreateBatchLoadTaskCommand)
|
|
963
|
+
.sc(CreateBatchLoadTask)
|
|
993
964
|
.build() {
|
|
994
965
|
}
|
|
995
966
|
|
|
@@ -998,7 +969,6 @@ class CreateDatabaseCommand extends smithyClient.Command
|
|
|
998
969
|
.ep(commonParams)
|
|
999
970
|
.m(function (Command, cs, config, o) {
|
|
1000
971
|
return [
|
|
1001
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1002
972
|
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1003
973
|
middlewareEndpointDiscovery.getEndpointDiscoveryPlugin(config, {
|
|
1004
974
|
clientStack: cs,
|
|
@@ -1009,9 +979,7 @@ class CreateDatabaseCommand extends smithyClient.Command
|
|
|
1009
979
|
})
|
|
1010
980
|
.s("Timestream_20181101", "CreateDatabase", {})
|
|
1011
981
|
.n("TimestreamWriteClient", "CreateDatabaseCommand")
|
|
1012
|
-
.
|
|
1013
|
-
.ser(se_CreateDatabaseCommand)
|
|
1014
|
-
.de(de_CreateDatabaseCommand)
|
|
982
|
+
.sc(CreateDatabase)
|
|
1015
983
|
.build() {
|
|
1016
984
|
}
|
|
1017
985
|
|
|
@@ -1020,7 +988,6 @@ class CreateTableCommand extends smithyClient.Command
|
|
|
1020
988
|
.ep(commonParams)
|
|
1021
989
|
.m(function (Command, cs, config, o) {
|
|
1022
990
|
return [
|
|
1023
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1024
991
|
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1025
992
|
middlewareEndpointDiscovery.getEndpointDiscoveryPlugin(config, {
|
|
1026
993
|
clientStack: cs,
|
|
@@ -1031,9 +998,7 @@ class CreateTableCommand extends smithyClient.Command
|
|
|
1031
998
|
})
|
|
1032
999
|
.s("Timestream_20181101", "CreateTable", {})
|
|
1033
1000
|
.n("TimestreamWriteClient", "CreateTableCommand")
|
|
1034
|
-
.
|
|
1035
|
-
.ser(se_CreateTableCommand)
|
|
1036
|
-
.de(de_CreateTableCommand)
|
|
1001
|
+
.sc(CreateTable)
|
|
1037
1002
|
.build() {
|
|
1038
1003
|
}
|
|
1039
1004
|
|
|
@@ -1042,7 +1007,6 @@ class DeleteDatabaseCommand extends smithyClient.Command
|
|
|
1042
1007
|
.ep(commonParams)
|
|
1043
1008
|
.m(function (Command, cs, config, o) {
|
|
1044
1009
|
return [
|
|
1045
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1046
1010
|
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1047
1011
|
middlewareEndpointDiscovery.getEndpointDiscoveryPlugin(config, {
|
|
1048
1012
|
clientStack: cs,
|
|
@@ -1053,9 +1017,7 @@ class DeleteDatabaseCommand extends smithyClient.Command
|
|
|
1053
1017
|
})
|
|
1054
1018
|
.s("Timestream_20181101", "DeleteDatabase", {})
|
|
1055
1019
|
.n("TimestreamWriteClient", "DeleteDatabaseCommand")
|
|
1056
|
-
.
|
|
1057
|
-
.ser(se_DeleteDatabaseCommand)
|
|
1058
|
-
.de(de_DeleteDatabaseCommand)
|
|
1020
|
+
.sc(DeleteDatabase)
|
|
1059
1021
|
.build() {
|
|
1060
1022
|
}
|
|
1061
1023
|
|
|
@@ -1064,7 +1026,6 @@ class DeleteTableCommand extends smithyClient.Command
|
|
|
1064
1026
|
.ep(commonParams)
|
|
1065
1027
|
.m(function (Command, cs, config, o) {
|
|
1066
1028
|
return [
|
|
1067
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1068
1029
|
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1069
1030
|
middlewareEndpointDiscovery.getEndpointDiscoveryPlugin(config, {
|
|
1070
1031
|
clientStack: cs,
|
|
@@ -1075,9 +1036,7 @@ class DeleteTableCommand extends smithyClient.Command
|
|
|
1075
1036
|
})
|
|
1076
1037
|
.s("Timestream_20181101", "DeleteTable", {})
|
|
1077
1038
|
.n("TimestreamWriteClient", "DeleteTableCommand")
|
|
1078
|
-
.
|
|
1079
|
-
.ser(se_DeleteTableCommand)
|
|
1080
|
-
.de(de_DeleteTableCommand)
|
|
1039
|
+
.sc(DeleteTable)
|
|
1081
1040
|
.build() {
|
|
1082
1041
|
}
|
|
1083
1042
|
|
|
@@ -1086,7 +1045,6 @@ class DescribeBatchLoadTaskCommand extends smithyClient.Command
|
|
|
1086
1045
|
.ep(commonParams)
|
|
1087
1046
|
.m(function (Command, cs, config, o) {
|
|
1088
1047
|
return [
|
|
1089
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1090
1048
|
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1091
1049
|
middlewareEndpointDiscovery.getEndpointDiscoveryPlugin(config, {
|
|
1092
1050
|
clientStack: cs,
|
|
@@ -1097,9 +1055,7 @@ class DescribeBatchLoadTaskCommand extends smithyClient.Command
|
|
|
1097
1055
|
})
|
|
1098
1056
|
.s("Timestream_20181101", "DescribeBatchLoadTask", {})
|
|
1099
1057
|
.n("TimestreamWriteClient", "DescribeBatchLoadTaskCommand")
|
|
1100
|
-
.
|
|
1101
|
-
.ser(se_DescribeBatchLoadTaskCommand)
|
|
1102
|
-
.de(de_DescribeBatchLoadTaskCommand)
|
|
1058
|
+
.sc(DescribeBatchLoadTask)
|
|
1103
1059
|
.build() {
|
|
1104
1060
|
}
|
|
1105
1061
|
|
|
@@ -1108,7 +1064,6 @@ class DescribeDatabaseCommand extends smithyClient.Command
|
|
|
1108
1064
|
.ep(commonParams)
|
|
1109
1065
|
.m(function (Command, cs, config, o) {
|
|
1110
1066
|
return [
|
|
1111
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1112
1067
|
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1113
1068
|
middlewareEndpointDiscovery.getEndpointDiscoveryPlugin(config, {
|
|
1114
1069
|
clientStack: cs,
|
|
@@ -1119,9 +1074,7 @@ class DescribeDatabaseCommand extends smithyClient.Command
|
|
|
1119
1074
|
})
|
|
1120
1075
|
.s("Timestream_20181101", "DescribeDatabase", {})
|
|
1121
1076
|
.n("TimestreamWriteClient", "DescribeDatabaseCommand")
|
|
1122
|
-
.
|
|
1123
|
-
.ser(se_DescribeDatabaseCommand)
|
|
1124
|
-
.de(de_DescribeDatabaseCommand)
|
|
1077
|
+
.sc(DescribeDatabase)
|
|
1125
1078
|
.build() {
|
|
1126
1079
|
}
|
|
1127
1080
|
|
|
@@ -1130,7 +1083,6 @@ class DescribeTableCommand extends smithyClient.Command
|
|
|
1130
1083
|
.ep(commonParams)
|
|
1131
1084
|
.m(function (Command, cs, config, o) {
|
|
1132
1085
|
return [
|
|
1133
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1134
1086
|
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1135
1087
|
middlewareEndpointDiscovery.getEndpointDiscoveryPlugin(config, {
|
|
1136
1088
|
clientStack: cs,
|
|
@@ -1141,9 +1093,7 @@ class DescribeTableCommand extends smithyClient.Command
|
|
|
1141
1093
|
})
|
|
1142
1094
|
.s("Timestream_20181101", "DescribeTable", {})
|
|
1143
1095
|
.n("TimestreamWriteClient", "DescribeTableCommand")
|
|
1144
|
-
.
|
|
1145
|
-
.ser(se_DescribeTableCommand)
|
|
1146
|
-
.de(de_DescribeTableCommand)
|
|
1096
|
+
.sc(DescribeTable)
|
|
1147
1097
|
.build() {
|
|
1148
1098
|
}
|
|
1149
1099
|
|
|
@@ -1152,7 +1102,6 @@ class ListBatchLoadTasksCommand extends smithyClient.Command
|
|
|
1152
1102
|
.ep(commonParams)
|
|
1153
1103
|
.m(function (Command, cs, config, o) {
|
|
1154
1104
|
return [
|
|
1155
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1156
1105
|
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1157
1106
|
middlewareEndpointDiscovery.getEndpointDiscoveryPlugin(config, {
|
|
1158
1107
|
clientStack: cs,
|
|
@@ -1163,9 +1112,7 @@ class ListBatchLoadTasksCommand extends smithyClient.Command
|
|
|
1163
1112
|
})
|
|
1164
1113
|
.s("Timestream_20181101", "ListBatchLoadTasks", {})
|
|
1165
1114
|
.n("TimestreamWriteClient", "ListBatchLoadTasksCommand")
|
|
1166
|
-
.
|
|
1167
|
-
.ser(se_ListBatchLoadTasksCommand)
|
|
1168
|
-
.de(de_ListBatchLoadTasksCommand)
|
|
1115
|
+
.sc(ListBatchLoadTasks)
|
|
1169
1116
|
.build() {
|
|
1170
1117
|
}
|
|
1171
1118
|
|
|
@@ -1174,7 +1121,6 @@ class ListDatabasesCommand extends smithyClient.Command
|
|
|
1174
1121
|
.ep(commonParams)
|
|
1175
1122
|
.m(function (Command, cs, config, o) {
|
|
1176
1123
|
return [
|
|
1177
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1178
1124
|
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1179
1125
|
middlewareEndpointDiscovery.getEndpointDiscoveryPlugin(config, {
|
|
1180
1126
|
clientStack: cs,
|
|
@@ -1185,9 +1131,7 @@ class ListDatabasesCommand extends smithyClient.Command
|
|
|
1185
1131
|
})
|
|
1186
1132
|
.s("Timestream_20181101", "ListDatabases", {})
|
|
1187
1133
|
.n("TimestreamWriteClient", "ListDatabasesCommand")
|
|
1188
|
-
.
|
|
1189
|
-
.ser(se_ListDatabasesCommand)
|
|
1190
|
-
.de(de_ListDatabasesCommand)
|
|
1134
|
+
.sc(ListDatabases)
|
|
1191
1135
|
.build() {
|
|
1192
1136
|
}
|
|
1193
1137
|
|
|
@@ -1196,7 +1140,6 @@ class ListTablesCommand extends smithyClient.Command
|
|
|
1196
1140
|
.ep(commonParams)
|
|
1197
1141
|
.m(function (Command, cs, config, o) {
|
|
1198
1142
|
return [
|
|
1199
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1200
1143
|
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1201
1144
|
middlewareEndpointDiscovery.getEndpointDiscoveryPlugin(config, {
|
|
1202
1145
|
clientStack: cs,
|
|
@@ -1207,9 +1150,7 @@ class ListTablesCommand extends smithyClient.Command
|
|
|
1207
1150
|
})
|
|
1208
1151
|
.s("Timestream_20181101", "ListTables", {})
|
|
1209
1152
|
.n("TimestreamWriteClient", "ListTablesCommand")
|
|
1210
|
-
.
|
|
1211
|
-
.ser(se_ListTablesCommand)
|
|
1212
|
-
.de(de_ListTablesCommand)
|
|
1153
|
+
.sc(ListTables)
|
|
1213
1154
|
.build() {
|
|
1214
1155
|
}
|
|
1215
1156
|
|
|
@@ -1218,7 +1159,6 @@ class ListTagsForResourceCommand extends smithyClient.Command
|
|
|
1218
1159
|
.ep(commonParams)
|
|
1219
1160
|
.m(function (Command, cs, config, o) {
|
|
1220
1161
|
return [
|
|
1221
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1222
1162
|
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1223
1163
|
middlewareEndpointDiscovery.getEndpointDiscoveryPlugin(config, {
|
|
1224
1164
|
clientStack: cs,
|
|
@@ -1229,9 +1169,7 @@ class ListTagsForResourceCommand extends smithyClient.Command
|
|
|
1229
1169
|
})
|
|
1230
1170
|
.s("Timestream_20181101", "ListTagsForResource", {})
|
|
1231
1171
|
.n("TimestreamWriteClient", "ListTagsForResourceCommand")
|
|
1232
|
-
.
|
|
1233
|
-
.ser(se_ListTagsForResourceCommand)
|
|
1234
|
-
.de(de_ListTagsForResourceCommand)
|
|
1172
|
+
.sc(ListTagsForResource)
|
|
1235
1173
|
.build() {
|
|
1236
1174
|
}
|
|
1237
1175
|
|
|
@@ -1240,7 +1178,6 @@ class ResumeBatchLoadTaskCommand extends smithyClient.Command
|
|
|
1240
1178
|
.ep(commonParams)
|
|
1241
1179
|
.m(function (Command, cs, config, o) {
|
|
1242
1180
|
return [
|
|
1243
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1244
1181
|
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1245
1182
|
middlewareEndpointDiscovery.getEndpointDiscoveryPlugin(config, {
|
|
1246
1183
|
clientStack: cs,
|
|
@@ -1251,9 +1188,7 @@ class ResumeBatchLoadTaskCommand extends smithyClient.Command
|
|
|
1251
1188
|
})
|
|
1252
1189
|
.s("Timestream_20181101", "ResumeBatchLoadTask", {})
|
|
1253
1190
|
.n("TimestreamWriteClient", "ResumeBatchLoadTaskCommand")
|
|
1254
|
-
.
|
|
1255
|
-
.ser(se_ResumeBatchLoadTaskCommand)
|
|
1256
|
-
.de(de_ResumeBatchLoadTaskCommand)
|
|
1191
|
+
.sc(ResumeBatchLoadTask)
|
|
1257
1192
|
.build() {
|
|
1258
1193
|
}
|
|
1259
1194
|
|
|
@@ -1262,7 +1197,6 @@ class TagResourceCommand extends smithyClient.Command
|
|
|
1262
1197
|
.ep(commonParams)
|
|
1263
1198
|
.m(function (Command, cs, config, o) {
|
|
1264
1199
|
return [
|
|
1265
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1266
1200
|
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1267
1201
|
middlewareEndpointDiscovery.getEndpointDiscoveryPlugin(config, {
|
|
1268
1202
|
clientStack: cs,
|
|
@@ -1273,9 +1207,7 @@ class TagResourceCommand extends smithyClient.Command
|
|
|
1273
1207
|
})
|
|
1274
1208
|
.s("Timestream_20181101", "TagResource", {})
|
|
1275
1209
|
.n("TimestreamWriteClient", "TagResourceCommand")
|
|
1276
|
-
.
|
|
1277
|
-
.ser(se_TagResourceCommand)
|
|
1278
|
-
.de(de_TagResourceCommand)
|
|
1210
|
+
.sc(TagResource)
|
|
1279
1211
|
.build() {
|
|
1280
1212
|
}
|
|
1281
1213
|
|
|
@@ -1284,7 +1216,6 @@ class UntagResourceCommand extends smithyClient.Command
|
|
|
1284
1216
|
.ep(commonParams)
|
|
1285
1217
|
.m(function (Command, cs, config, o) {
|
|
1286
1218
|
return [
|
|
1287
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1288
1219
|
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1289
1220
|
middlewareEndpointDiscovery.getEndpointDiscoveryPlugin(config, {
|
|
1290
1221
|
clientStack: cs,
|
|
@@ -1295,9 +1226,7 @@ class UntagResourceCommand extends smithyClient.Command
|
|
|
1295
1226
|
})
|
|
1296
1227
|
.s("Timestream_20181101", "UntagResource", {})
|
|
1297
1228
|
.n("TimestreamWriteClient", "UntagResourceCommand")
|
|
1298
|
-
.
|
|
1299
|
-
.ser(se_UntagResourceCommand)
|
|
1300
|
-
.de(de_UntagResourceCommand)
|
|
1229
|
+
.sc(UntagResource)
|
|
1301
1230
|
.build() {
|
|
1302
1231
|
}
|
|
1303
1232
|
|
|
@@ -1306,7 +1235,6 @@ class UpdateDatabaseCommand extends smithyClient.Command
|
|
|
1306
1235
|
.ep(commonParams)
|
|
1307
1236
|
.m(function (Command, cs, config, o) {
|
|
1308
1237
|
return [
|
|
1309
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1310
1238
|
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1311
1239
|
middlewareEndpointDiscovery.getEndpointDiscoveryPlugin(config, {
|
|
1312
1240
|
clientStack: cs,
|
|
@@ -1317,9 +1245,7 @@ class UpdateDatabaseCommand extends smithyClient.Command
|
|
|
1317
1245
|
})
|
|
1318
1246
|
.s("Timestream_20181101", "UpdateDatabase", {})
|
|
1319
1247
|
.n("TimestreamWriteClient", "UpdateDatabaseCommand")
|
|
1320
|
-
.
|
|
1321
|
-
.ser(se_UpdateDatabaseCommand)
|
|
1322
|
-
.de(de_UpdateDatabaseCommand)
|
|
1248
|
+
.sc(UpdateDatabase)
|
|
1323
1249
|
.build() {
|
|
1324
1250
|
}
|
|
1325
1251
|
|
|
@@ -1328,7 +1254,6 @@ class UpdateTableCommand extends smithyClient.Command
|
|
|
1328
1254
|
.ep(commonParams)
|
|
1329
1255
|
.m(function (Command, cs, config, o) {
|
|
1330
1256
|
return [
|
|
1331
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1332
1257
|
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1333
1258
|
middlewareEndpointDiscovery.getEndpointDiscoveryPlugin(config, {
|
|
1334
1259
|
clientStack: cs,
|
|
@@ -1339,9 +1264,7 @@ class UpdateTableCommand extends smithyClient.Command
|
|
|
1339
1264
|
})
|
|
1340
1265
|
.s("Timestream_20181101", "UpdateTable", {})
|
|
1341
1266
|
.n("TimestreamWriteClient", "UpdateTableCommand")
|
|
1342
|
-
.
|
|
1343
|
-
.ser(se_UpdateTableCommand)
|
|
1344
|
-
.de(de_UpdateTableCommand)
|
|
1267
|
+
.sc(UpdateTable)
|
|
1345
1268
|
.build() {
|
|
1346
1269
|
}
|
|
1347
1270
|
|
|
@@ -1350,7 +1273,6 @@ class WriteRecordsCommand extends smithyClient.Command
|
|
|
1350
1273
|
.ep(commonParams)
|
|
1351
1274
|
.m(function (Command, cs, config, o) {
|
|
1352
1275
|
return [
|
|
1353
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1354
1276
|
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1355
1277
|
middlewareEndpointDiscovery.getEndpointDiscoveryPlugin(config, {
|
|
1356
1278
|
clientStack: cs,
|
|
@@ -1361,9 +1283,7 @@ class WriteRecordsCommand extends smithyClient.Command
|
|
|
1361
1283
|
})
|
|
1362
1284
|
.s("Timestream_20181101", "WriteRecords", {})
|
|
1363
1285
|
.n("TimestreamWriteClient", "WriteRecordsCommand")
|
|
1364
|
-
.
|
|
1365
|
-
.ser(se_WriteRecordsCommand)
|
|
1366
|
-
.de(de_WriteRecordsCommand)
|
|
1286
|
+
.sc(WriteRecords)
|
|
1367
1287
|
.build() {
|
|
1368
1288
|
}
|
|
1369
1289
|
|
|
@@ -1392,11 +1312,11 @@ class TimestreamWrite extends TimestreamWriteClient {
|
|
|
1392
1312
|
}
|
|
1393
1313
|
smithyClient.createAggregatedClient(commands, TimestreamWrite);
|
|
1394
1314
|
|
|
1395
|
-
const paginateListBatchLoadTasks = core
|
|
1315
|
+
const paginateListBatchLoadTasks = core.createPaginator(TimestreamWriteClient, ListBatchLoadTasksCommand, "NextToken", "NextToken", "MaxResults");
|
|
1396
1316
|
|
|
1397
|
-
const paginateListDatabases = core
|
|
1317
|
+
const paginateListDatabases = core.createPaginator(TimestreamWriteClient, ListDatabasesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1398
1318
|
|
|
1399
|
-
const paginateListTables = core
|
|
1319
|
+
const paginateListTables = core.createPaginator(TimestreamWriteClient, ListTablesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1400
1320
|
|
|
1401
1321
|
Object.defineProperty(exports, "$Command", {
|
|
1402
1322
|
enumerable: true,
|
|
@@ -1406,12 +1326,11 @@ Object.defineProperty(exports, "__Client", {
|
|
|
1406
1326
|
enumerable: true,
|
|
1407
1327
|
get: function () { return smithyClient.Client; }
|
|
1408
1328
|
});
|
|
1409
|
-
exports.AccessDeniedException = AccessDeniedException;
|
|
1329
|
+
exports.AccessDeniedException = AccessDeniedException$1;
|
|
1410
1330
|
exports.BatchLoadDataFormat = BatchLoadDataFormat;
|
|
1411
1331
|
exports.BatchLoadStatus = BatchLoadStatus;
|
|
1412
|
-
exports.ConflictException = ConflictException;
|
|
1332
|
+
exports.ConflictException = ConflictException$1;
|
|
1413
1333
|
exports.CreateBatchLoadTaskCommand = CreateBatchLoadTaskCommand;
|
|
1414
|
-
exports.CreateBatchLoadTaskRequestFilterSensitiveLog = CreateBatchLoadTaskRequestFilterSensitiveLog;
|
|
1415
1334
|
exports.CreateDatabaseCommand = CreateDatabaseCommand;
|
|
1416
1335
|
exports.CreateTableCommand = CreateTableCommand;
|
|
1417
1336
|
exports.DeleteDatabaseCommand = DeleteDatabaseCommand;
|
|
@@ -1421,8 +1340,8 @@ exports.DescribeDatabaseCommand = DescribeDatabaseCommand;
|
|
|
1421
1340
|
exports.DescribeEndpointsCommand = DescribeEndpointsCommand;
|
|
1422
1341
|
exports.DescribeTableCommand = DescribeTableCommand;
|
|
1423
1342
|
exports.DimensionValueType = DimensionValueType;
|
|
1424
|
-
exports.InternalServerException = InternalServerException;
|
|
1425
|
-
exports.InvalidEndpointException = InvalidEndpointException;
|
|
1343
|
+
exports.InternalServerException = InternalServerException$1;
|
|
1344
|
+
exports.InvalidEndpointException = InvalidEndpointException$1;
|
|
1426
1345
|
exports.ListBatchLoadTasksCommand = ListBatchLoadTasksCommand;
|
|
1427
1346
|
exports.ListDatabasesCommand = ListDatabasesCommand;
|
|
1428
1347
|
exports.ListTablesCommand = ListTablesCommand;
|
|
@@ -1430,23 +1349,23 @@ exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
|
1430
1349
|
exports.MeasureValueType = MeasureValueType;
|
|
1431
1350
|
exports.PartitionKeyEnforcementLevel = PartitionKeyEnforcementLevel;
|
|
1432
1351
|
exports.PartitionKeyType = PartitionKeyType;
|
|
1433
|
-
exports.RejectedRecordsException = RejectedRecordsException;
|
|
1434
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
1352
|
+
exports.RejectedRecordsException = RejectedRecordsException$1;
|
|
1353
|
+
exports.ResourceNotFoundException = ResourceNotFoundException$1;
|
|
1435
1354
|
exports.ResumeBatchLoadTaskCommand = ResumeBatchLoadTaskCommand;
|
|
1436
1355
|
exports.S3EncryptionOption = S3EncryptionOption;
|
|
1437
1356
|
exports.ScalarMeasureValueType = ScalarMeasureValueType;
|
|
1438
|
-
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
1357
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
|
|
1439
1358
|
exports.TableStatus = TableStatus;
|
|
1440
1359
|
exports.TagResourceCommand = TagResourceCommand;
|
|
1441
|
-
exports.ThrottlingException = ThrottlingException;
|
|
1360
|
+
exports.ThrottlingException = ThrottlingException$1;
|
|
1442
1361
|
exports.TimeUnit = TimeUnit;
|
|
1443
1362
|
exports.TimestreamWrite = TimestreamWrite;
|
|
1444
1363
|
exports.TimestreamWriteClient = TimestreamWriteClient;
|
|
1445
|
-
exports.TimestreamWriteServiceException = TimestreamWriteServiceException;
|
|
1364
|
+
exports.TimestreamWriteServiceException = TimestreamWriteServiceException$1;
|
|
1446
1365
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
1447
1366
|
exports.UpdateDatabaseCommand = UpdateDatabaseCommand;
|
|
1448
1367
|
exports.UpdateTableCommand = UpdateTableCommand;
|
|
1449
|
-
exports.ValidationException = ValidationException;
|
|
1368
|
+
exports.ValidationException = ValidationException$1;
|
|
1450
1369
|
exports.WriteRecordsCommand = WriteRecordsCommand;
|
|
1451
1370
|
exports.paginateListBatchLoadTasks = paginateListBatchLoadTasks;
|
|
1452
1371
|
exports.paginateListDatabases = paginateListDatabases;
|