@aws-sdk/client-timestream-write 3.489.0 → 3.495.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/TimestreamWrite.js +1 -49
- package/dist-cjs/TimestreamWriteClient.js +1 -48
- package/dist-cjs/commands/CreateBatchLoadTaskCommand.js +1 -31
- package/dist-cjs/commands/CreateDatabaseCommand.js +1 -30
- package/dist-cjs/commands/CreateTableCommand.js +1 -30
- package/dist-cjs/commands/DeleteDatabaseCommand.js +1 -30
- package/dist-cjs/commands/DeleteTableCommand.js +1 -30
- package/dist-cjs/commands/DescribeBatchLoadTaskCommand.js +1 -30
- package/dist-cjs/commands/DescribeDatabaseCommand.js +1 -30
- package/dist-cjs/commands/DescribeEndpointsCommand.js +1 -28
- package/dist-cjs/commands/DescribeTableCommand.js +1 -30
- package/dist-cjs/commands/ListBatchLoadTasksCommand.js +1 -30
- package/dist-cjs/commands/ListDatabasesCommand.js +1 -30
- package/dist-cjs/commands/ListTablesCommand.js +1 -30
- package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -30
- package/dist-cjs/commands/ResumeBatchLoadTaskCommand.js +1 -30
- package/dist-cjs/commands/TagResourceCommand.js +1 -30
- package/dist-cjs/commands/UntagResourceCommand.js +1 -30
- package/dist-cjs/commands/UpdateDatabaseCommand.js +1 -30
- package/dist-cjs/commands/UpdateTableCommand.js +1 -30
- package/dist-cjs/commands/WriteRecordsCommand.js +1 -30
- package/dist-cjs/commands/index.js +1 -22
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +2139 -11
- package/dist-cjs/models/TimestreamWriteServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -189
- package/dist-cjs/pagination/Interfaces.js +1 -2
- package/dist-cjs/pagination/ListBatchLoadTasksPaginator.js +1 -7
- package/dist-cjs/pagination/ListDatabasesPaginator.js +1 -7
- package/dist-cjs/pagination/ListTablesPaginator.js +1 -7
- package/dist-cjs/pagination/index.js +1 -7
- package/dist-cjs/protocols/Aws_json1_0.js +1 -1330
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/package.json +41 -41
package/dist-cjs/index.js
CHANGED
|
@@ -1,12 +1,2140 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.defineProperty
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var
|
|
12
|
-
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
+
|
|
21
|
+
// src/index.ts
|
|
22
|
+
var src_exports = {};
|
|
23
|
+
__export(src_exports, {
|
|
24
|
+
AccessDeniedException: () => AccessDeniedException,
|
|
25
|
+
BatchLoadDataFormat: () => BatchLoadDataFormat,
|
|
26
|
+
BatchLoadStatus: () => BatchLoadStatus,
|
|
27
|
+
ConflictException: () => ConflictException,
|
|
28
|
+
CreateBatchLoadTaskCommand: () => CreateBatchLoadTaskCommand,
|
|
29
|
+
CreateBatchLoadTaskRequestFilterSensitiveLog: () => CreateBatchLoadTaskRequestFilterSensitiveLog,
|
|
30
|
+
CreateDatabaseCommand: () => CreateDatabaseCommand,
|
|
31
|
+
CreateTableCommand: () => CreateTableCommand,
|
|
32
|
+
DeleteDatabaseCommand: () => DeleteDatabaseCommand,
|
|
33
|
+
DeleteTableCommand: () => DeleteTableCommand,
|
|
34
|
+
DescribeBatchLoadTaskCommand: () => DescribeBatchLoadTaskCommand,
|
|
35
|
+
DescribeDatabaseCommand: () => DescribeDatabaseCommand,
|
|
36
|
+
DescribeEndpointsCommand: () => DescribeEndpointsCommand,
|
|
37
|
+
DescribeTableCommand: () => DescribeTableCommand,
|
|
38
|
+
DimensionValueType: () => DimensionValueType,
|
|
39
|
+
InternalServerException: () => InternalServerException,
|
|
40
|
+
InvalidEndpointException: () => InvalidEndpointException,
|
|
41
|
+
ListBatchLoadTasksCommand: () => ListBatchLoadTasksCommand,
|
|
42
|
+
ListDatabasesCommand: () => ListDatabasesCommand,
|
|
43
|
+
ListTablesCommand: () => ListTablesCommand,
|
|
44
|
+
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
45
|
+
MeasureValueType: () => MeasureValueType,
|
|
46
|
+
PartitionKeyEnforcementLevel: () => PartitionKeyEnforcementLevel,
|
|
47
|
+
PartitionKeyType: () => PartitionKeyType,
|
|
48
|
+
RejectedRecordsException: () => RejectedRecordsException,
|
|
49
|
+
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
50
|
+
ResumeBatchLoadTaskCommand: () => ResumeBatchLoadTaskCommand,
|
|
51
|
+
S3EncryptionOption: () => S3EncryptionOption,
|
|
52
|
+
ScalarMeasureValueType: () => ScalarMeasureValueType,
|
|
53
|
+
ServiceQuotaExceededException: () => ServiceQuotaExceededException,
|
|
54
|
+
TableStatus: () => TableStatus,
|
|
55
|
+
TagResourceCommand: () => TagResourceCommand,
|
|
56
|
+
ThrottlingException: () => ThrottlingException,
|
|
57
|
+
TimeUnit: () => TimeUnit,
|
|
58
|
+
TimestreamWrite: () => TimestreamWrite,
|
|
59
|
+
TimestreamWriteClient: () => TimestreamWriteClient,
|
|
60
|
+
TimestreamWriteServiceException: () => TimestreamWriteServiceException,
|
|
61
|
+
UntagResourceCommand: () => UntagResourceCommand,
|
|
62
|
+
UpdateDatabaseCommand: () => UpdateDatabaseCommand,
|
|
63
|
+
UpdateTableCommand: () => UpdateTableCommand,
|
|
64
|
+
ValidationException: () => ValidationException,
|
|
65
|
+
WriteRecordsCommand: () => WriteRecordsCommand,
|
|
66
|
+
__Client: () => import_smithy_client.Client,
|
|
67
|
+
paginateListBatchLoadTasks: () => paginateListBatchLoadTasks,
|
|
68
|
+
paginateListDatabases: () => paginateListDatabases,
|
|
69
|
+
paginateListTables: () => paginateListTables
|
|
70
|
+
});
|
|
71
|
+
module.exports = __toCommonJS(src_exports);
|
|
72
|
+
|
|
73
|
+
// src/TimestreamWriteClient.ts
|
|
74
|
+
var import_middleware_endpoint_discovery = require("@aws-sdk/middleware-endpoint-discovery");
|
|
75
|
+
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
76
|
+
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
77
|
+
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
78
|
+
var import_middleware_signing = require("@aws-sdk/middleware-signing");
|
|
79
|
+
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
80
|
+
var import_config_resolver = require("@smithy/config-resolver");
|
|
81
|
+
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
82
|
+
|
|
83
|
+
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
// src/commands/DescribeEndpointsCommand.ts
|
|
87
|
+
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
88
|
+
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
89
|
+
|
|
90
|
+
var import_types = require("@smithy/types");
|
|
91
|
+
|
|
92
|
+
// src/endpoint/EndpointParameters.ts
|
|
93
|
+
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
94
|
+
return {
|
|
95
|
+
...options,
|
|
96
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
97
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
98
|
+
defaultSigningName: "timestream"
|
|
99
|
+
};
|
|
100
|
+
}, "resolveClientEndpointParameters");
|
|
101
|
+
var commonParams = {
|
|
102
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
103
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
104
|
+
Region: { type: "builtInParams", name: "region" },
|
|
105
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
// src/protocols/Aws_json1_0.ts
|
|
109
|
+
var import_protocol_http = require("@smithy/protocol-http");
|
|
110
|
+
|
|
111
|
+
var import_uuid = require("uuid");
|
|
112
|
+
|
|
113
|
+
// src/models/models_0.ts
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
// src/models/TimestreamWriteServiceException.ts
|
|
117
|
+
var import_smithy_client = require("@smithy/smithy-client");
|
|
118
|
+
var _TimestreamWriteServiceException = class _TimestreamWriteServiceException extends import_smithy_client.ServiceException {
|
|
119
|
+
/**
|
|
120
|
+
* @internal
|
|
121
|
+
*/
|
|
122
|
+
constructor(options) {
|
|
123
|
+
super(options);
|
|
124
|
+
Object.setPrototypeOf(this, _TimestreamWriteServiceException.prototype);
|
|
125
|
+
}
|
|
126
|
+
};
|
|
127
|
+
__name(_TimestreamWriteServiceException, "TimestreamWriteServiceException");
|
|
128
|
+
var TimestreamWriteServiceException = _TimestreamWriteServiceException;
|
|
129
|
+
|
|
130
|
+
// src/models/models_0.ts
|
|
131
|
+
var _AccessDeniedException = class _AccessDeniedException extends TimestreamWriteServiceException {
|
|
132
|
+
/**
|
|
133
|
+
* @internal
|
|
134
|
+
*/
|
|
135
|
+
constructor(opts) {
|
|
136
|
+
super({
|
|
137
|
+
name: "AccessDeniedException",
|
|
138
|
+
$fault: "client",
|
|
139
|
+
...opts
|
|
140
|
+
});
|
|
141
|
+
this.name = "AccessDeniedException";
|
|
142
|
+
this.$fault = "client";
|
|
143
|
+
Object.setPrototypeOf(this, _AccessDeniedException.prototype);
|
|
144
|
+
this.Message = opts.Message;
|
|
145
|
+
}
|
|
146
|
+
};
|
|
147
|
+
__name(_AccessDeniedException, "AccessDeniedException");
|
|
148
|
+
var AccessDeniedException = _AccessDeniedException;
|
|
149
|
+
var BatchLoadDataFormat = {
|
|
150
|
+
CSV: "CSV"
|
|
151
|
+
};
|
|
152
|
+
var BatchLoadStatus = {
|
|
153
|
+
CREATED: "CREATED",
|
|
154
|
+
FAILED: "FAILED",
|
|
155
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
156
|
+
PENDING_RESUME: "PENDING_RESUME",
|
|
157
|
+
PROGRESS_STOPPED: "PROGRESS_STOPPED",
|
|
158
|
+
SUCCEEDED: "SUCCEEDED"
|
|
159
|
+
};
|
|
160
|
+
var MeasureValueType = {
|
|
161
|
+
BIGINT: "BIGINT",
|
|
162
|
+
BOOLEAN: "BOOLEAN",
|
|
163
|
+
DOUBLE: "DOUBLE",
|
|
164
|
+
MULTI: "MULTI",
|
|
165
|
+
TIMESTAMP: "TIMESTAMP",
|
|
166
|
+
VARCHAR: "VARCHAR"
|
|
167
|
+
};
|
|
168
|
+
var ScalarMeasureValueType = {
|
|
169
|
+
BIGINT: "BIGINT",
|
|
170
|
+
BOOLEAN: "BOOLEAN",
|
|
171
|
+
DOUBLE: "DOUBLE",
|
|
172
|
+
TIMESTAMP: "TIMESTAMP",
|
|
173
|
+
VARCHAR: "VARCHAR"
|
|
174
|
+
};
|
|
175
|
+
var TimeUnit = {
|
|
176
|
+
MICROSECONDS: "MICROSECONDS",
|
|
177
|
+
MILLISECONDS: "MILLISECONDS",
|
|
178
|
+
NANOSECONDS: "NANOSECONDS",
|
|
179
|
+
SECONDS: "SECONDS"
|
|
180
|
+
};
|
|
181
|
+
var S3EncryptionOption = {
|
|
182
|
+
SSE_KMS: "SSE_KMS",
|
|
183
|
+
SSE_S3: "SSE_S3"
|
|
184
|
+
};
|
|
185
|
+
var _ConflictException = class _ConflictException extends TimestreamWriteServiceException {
|
|
186
|
+
/**
|
|
187
|
+
* @internal
|
|
188
|
+
*/
|
|
189
|
+
constructor(opts) {
|
|
190
|
+
super({
|
|
191
|
+
name: "ConflictException",
|
|
192
|
+
$fault: "client",
|
|
193
|
+
...opts
|
|
194
|
+
});
|
|
195
|
+
this.name = "ConflictException";
|
|
196
|
+
this.$fault = "client";
|
|
197
|
+
Object.setPrototypeOf(this, _ConflictException.prototype);
|
|
198
|
+
this.Message = opts.Message;
|
|
199
|
+
}
|
|
200
|
+
};
|
|
201
|
+
__name(_ConflictException, "ConflictException");
|
|
202
|
+
var ConflictException = _ConflictException;
|
|
203
|
+
var _InternalServerException = class _InternalServerException extends TimestreamWriteServiceException {
|
|
204
|
+
/**
|
|
205
|
+
* @internal
|
|
206
|
+
*/
|
|
207
|
+
constructor(opts) {
|
|
208
|
+
super({
|
|
209
|
+
name: "InternalServerException",
|
|
210
|
+
$fault: "server",
|
|
211
|
+
...opts
|
|
212
|
+
});
|
|
213
|
+
this.name = "InternalServerException";
|
|
214
|
+
this.$fault = "server";
|
|
215
|
+
Object.setPrototypeOf(this, _InternalServerException.prototype);
|
|
216
|
+
this.Message = opts.Message;
|
|
217
|
+
}
|
|
218
|
+
};
|
|
219
|
+
__name(_InternalServerException, "InternalServerException");
|
|
220
|
+
var InternalServerException = _InternalServerException;
|
|
221
|
+
var _InvalidEndpointException = class _InvalidEndpointException extends TimestreamWriteServiceException {
|
|
222
|
+
/**
|
|
223
|
+
* @internal
|
|
224
|
+
*/
|
|
225
|
+
constructor(opts) {
|
|
226
|
+
super({
|
|
227
|
+
name: "InvalidEndpointException",
|
|
228
|
+
$fault: "client",
|
|
229
|
+
...opts
|
|
230
|
+
});
|
|
231
|
+
this.name = "InvalidEndpointException";
|
|
232
|
+
this.$fault = "client";
|
|
233
|
+
Object.setPrototypeOf(this, _InvalidEndpointException.prototype);
|
|
234
|
+
this.Message = opts.Message;
|
|
235
|
+
}
|
|
236
|
+
};
|
|
237
|
+
__name(_InvalidEndpointException, "InvalidEndpointException");
|
|
238
|
+
var InvalidEndpointException = _InvalidEndpointException;
|
|
239
|
+
var _ResourceNotFoundException = class _ResourceNotFoundException extends TimestreamWriteServiceException {
|
|
240
|
+
/**
|
|
241
|
+
* @internal
|
|
242
|
+
*/
|
|
243
|
+
constructor(opts) {
|
|
244
|
+
super({
|
|
245
|
+
name: "ResourceNotFoundException",
|
|
246
|
+
$fault: "client",
|
|
247
|
+
...opts
|
|
248
|
+
});
|
|
249
|
+
this.name = "ResourceNotFoundException";
|
|
250
|
+
this.$fault = "client";
|
|
251
|
+
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
252
|
+
this.Message = opts.Message;
|
|
253
|
+
}
|
|
254
|
+
};
|
|
255
|
+
__name(_ResourceNotFoundException, "ResourceNotFoundException");
|
|
256
|
+
var ResourceNotFoundException = _ResourceNotFoundException;
|
|
257
|
+
var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends TimestreamWriteServiceException {
|
|
258
|
+
/**
|
|
259
|
+
* @internal
|
|
260
|
+
*/
|
|
261
|
+
constructor(opts) {
|
|
262
|
+
super({
|
|
263
|
+
name: "ServiceQuotaExceededException",
|
|
264
|
+
$fault: "client",
|
|
265
|
+
...opts
|
|
266
|
+
});
|
|
267
|
+
this.name = "ServiceQuotaExceededException";
|
|
268
|
+
this.$fault = "client";
|
|
269
|
+
Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
|
|
270
|
+
this.Message = opts.Message;
|
|
271
|
+
}
|
|
272
|
+
};
|
|
273
|
+
__name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
|
|
274
|
+
var ServiceQuotaExceededException = _ServiceQuotaExceededException;
|
|
275
|
+
var _ThrottlingException = class _ThrottlingException extends TimestreamWriteServiceException {
|
|
276
|
+
/**
|
|
277
|
+
* @internal
|
|
278
|
+
*/
|
|
279
|
+
constructor(opts) {
|
|
280
|
+
super({
|
|
281
|
+
name: "ThrottlingException",
|
|
282
|
+
$fault: "client",
|
|
283
|
+
...opts
|
|
284
|
+
});
|
|
285
|
+
this.name = "ThrottlingException";
|
|
286
|
+
this.$fault = "client";
|
|
287
|
+
Object.setPrototypeOf(this, _ThrottlingException.prototype);
|
|
288
|
+
this.Message = opts.Message;
|
|
289
|
+
}
|
|
290
|
+
};
|
|
291
|
+
__name(_ThrottlingException, "ThrottlingException");
|
|
292
|
+
var ThrottlingException = _ThrottlingException;
|
|
293
|
+
var _ValidationException = class _ValidationException extends TimestreamWriteServiceException {
|
|
294
|
+
/**
|
|
295
|
+
* @internal
|
|
296
|
+
*/
|
|
297
|
+
constructor(opts) {
|
|
298
|
+
super({
|
|
299
|
+
name: "ValidationException",
|
|
300
|
+
$fault: "client",
|
|
301
|
+
...opts
|
|
302
|
+
});
|
|
303
|
+
this.name = "ValidationException";
|
|
304
|
+
this.$fault = "client";
|
|
305
|
+
Object.setPrototypeOf(this, _ValidationException.prototype);
|
|
306
|
+
this.Message = opts.Message;
|
|
307
|
+
}
|
|
308
|
+
};
|
|
309
|
+
__name(_ValidationException, "ValidationException");
|
|
310
|
+
var ValidationException = _ValidationException;
|
|
311
|
+
var PartitionKeyEnforcementLevel = {
|
|
312
|
+
OPTIONAL: "OPTIONAL",
|
|
313
|
+
REQUIRED: "REQUIRED"
|
|
314
|
+
};
|
|
315
|
+
var PartitionKeyType = {
|
|
316
|
+
DIMENSION: "DIMENSION",
|
|
317
|
+
MEASURE: "MEASURE"
|
|
318
|
+
};
|
|
319
|
+
var TableStatus = {
|
|
320
|
+
ACTIVE: "ACTIVE",
|
|
321
|
+
DELETING: "DELETING",
|
|
322
|
+
RESTORING: "RESTORING"
|
|
323
|
+
};
|
|
324
|
+
var DimensionValueType = {
|
|
325
|
+
VARCHAR: "VARCHAR"
|
|
326
|
+
};
|
|
327
|
+
var _RejectedRecordsException = class _RejectedRecordsException extends TimestreamWriteServiceException {
|
|
328
|
+
/**
|
|
329
|
+
* @internal
|
|
330
|
+
*/
|
|
331
|
+
constructor(opts) {
|
|
332
|
+
super({
|
|
333
|
+
name: "RejectedRecordsException",
|
|
334
|
+
$fault: "client",
|
|
335
|
+
...opts
|
|
336
|
+
});
|
|
337
|
+
this.name = "RejectedRecordsException";
|
|
338
|
+
this.$fault = "client";
|
|
339
|
+
Object.setPrototypeOf(this, _RejectedRecordsException.prototype);
|
|
340
|
+
this.Message = opts.Message;
|
|
341
|
+
this.RejectedRecords = opts.RejectedRecords;
|
|
342
|
+
}
|
|
343
|
+
};
|
|
344
|
+
__name(_RejectedRecordsException, "RejectedRecordsException");
|
|
345
|
+
var RejectedRecordsException = _RejectedRecordsException;
|
|
346
|
+
var CreateBatchLoadTaskRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
347
|
+
...obj,
|
|
348
|
+
...obj.ClientToken && { ClientToken: import_smithy_client.SENSITIVE_STRING }
|
|
349
|
+
}), "CreateBatchLoadTaskRequestFilterSensitiveLog");
|
|
350
|
+
|
|
351
|
+
// src/protocols/Aws_json1_0.ts
|
|
352
|
+
var se_CreateBatchLoadTaskCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
353
|
+
const headers = sharedHeaders("CreateBatchLoadTask");
|
|
354
|
+
let body;
|
|
355
|
+
body = JSON.stringify(se_CreateBatchLoadTaskRequest(input, context));
|
|
356
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
357
|
+
}, "se_CreateBatchLoadTaskCommand");
|
|
358
|
+
var se_CreateDatabaseCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
359
|
+
const headers = sharedHeaders("CreateDatabase");
|
|
360
|
+
let body;
|
|
361
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
362
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
363
|
+
}, "se_CreateDatabaseCommand");
|
|
364
|
+
var se_CreateTableCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
365
|
+
const headers = sharedHeaders("CreateTable");
|
|
366
|
+
let body;
|
|
367
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
368
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
369
|
+
}, "se_CreateTableCommand");
|
|
370
|
+
var se_DeleteDatabaseCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
371
|
+
const headers = sharedHeaders("DeleteDatabase");
|
|
372
|
+
let body;
|
|
373
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
374
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
375
|
+
}, "se_DeleteDatabaseCommand");
|
|
376
|
+
var se_DeleteTableCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
377
|
+
const headers = sharedHeaders("DeleteTable");
|
|
378
|
+
let body;
|
|
379
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
380
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
381
|
+
}, "se_DeleteTableCommand");
|
|
382
|
+
var se_DescribeBatchLoadTaskCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
383
|
+
const headers = sharedHeaders("DescribeBatchLoadTask");
|
|
384
|
+
let body;
|
|
385
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
386
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
387
|
+
}, "se_DescribeBatchLoadTaskCommand");
|
|
388
|
+
var se_DescribeDatabaseCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
389
|
+
const headers = sharedHeaders("DescribeDatabase");
|
|
390
|
+
let body;
|
|
391
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
392
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
393
|
+
}, "se_DescribeDatabaseCommand");
|
|
394
|
+
var se_DescribeEndpointsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
395
|
+
const headers = sharedHeaders("DescribeEndpoints");
|
|
396
|
+
let body;
|
|
397
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
398
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
399
|
+
}, "se_DescribeEndpointsCommand");
|
|
400
|
+
var se_DescribeTableCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
401
|
+
const headers = sharedHeaders("DescribeTable");
|
|
402
|
+
let body;
|
|
403
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
404
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
405
|
+
}, "se_DescribeTableCommand");
|
|
406
|
+
var se_ListBatchLoadTasksCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
407
|
+
const headers = sharedHeaders("ListBatchLoadTasks");
|
|
408
|
+
let body;
|
|
409
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
410
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
411
|
+
}, "se_ListBatchLoadTasksCommand");
|
|
412
|
+
var se_ListDatabasesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
413
|
+
const headers = sharedHeaders("ListDatabases");
|
|
414
|
+
let body;
|
|
415
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
416
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
417
|
+
}, "se_ListDatabasesCommand");
|
|
418
|
+
var se_ListTablesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
419
|
+
const headers = sharedHeaders("ListTables");
|
|
420
|
+
let body;
|
|
421
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
422
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
423
|
+
}, "se_ListTablesCommand");
|
|
424
|
+
var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
425
|
+
const headers = sharedHeaders("ListTagsForResource");
|
|
426
|
+
let body;
|
|
427
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
428
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
429
|
+
}, "se_ListTagsForResourceCommand");
|
|
430
|
+
var se_ResumeBatchLoadTaskCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
431
|
+
const headers = sharedHeaders("ResumeBatchLoadTask");
|
|
432
|
+
let body;
|
|
433
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
434
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
435
|
+
}, "se_ResumeBatchLoadTaskCommand");
|
|
436
|
+
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
437
|
+
const headers = sharedHeaders("TagResource");
|
|
438
|
+
let body;
|
|
439
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
440
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
441
|
+
}, "se_TagResourceCommand");
|
|
442
|
+
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
443
|
+
const headers = sharedHeaders("UntagResource");
|
|
444
|
+
let body;
|
|
445
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
446
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
447
|
+
}, "se_UntagResourceCommand");
|
|
448
|
+
var se_UpdateDatabaseCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
449
|
+
const headers = sharedHeaders("UpdateDatabase");
|
|
450
|
+
let body;
|
|
451
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
452
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
453
|
+
}, "se_UpdateDatabaseCommand");
|
|
454
|
+
var se_UpdateTableCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
455
|
+
const headers = sharedHeaders("UpdateTable");
|
|
456
|
+
let body;
|
|
457
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
458
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
459
|
+
}, "se_UpdateTableCommand");
|
|
460
|
+
var se_WriteRecordsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
461
|
+
const headers = sharedHeaders("WriteRecords");
|
|
462
|
+
let body;
|
|
463
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
464
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
465
|
+
}, "se_WriteRecordsCommand");
|
|
466
|
+
var de_CreateBatchLoadTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
467
|
+
if (output.statusCode >= 300) {
|
|
468
|
+
return de_CreateBatchLoadTaskCommandError(output, context);
|
|
469
|
+
}
|
|
470
|
+
const data = await parseBody(output.body, context);
|
|
471
|
+
let contents = {};
|
|
472
|
+
contents = (0, import_smithy_client._json)(data);
|
|
473
|
+
const response = {
|
|
474
|
+
$metadata: deserializeMetadata(output),
|
|
475
|
+
...contents
|
|
476
|
+
};
|
|
477
|
+
return response;
|
|
478
|
+
}, "de_CreateBatchLoadTaskCommand");
|
|
479
|
+
var de_CreateBatchLoadTaskCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
480
|
+
const parsedOutput = {
|
|
481
|
+
...output,
|
|
482
|
+
body: await parseErrorBody(output.body, context)
|
|
483
|
+
};
|
|
484
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
485
|
+
switch (errorCode) {
|
|
486
|
+
case "AccessDeniedException":
|
|
487
|
+
case "com.amazonaws.timestreamwrite#AccessDeniedException":
|
|
488
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
489
|
+
case "ConflictException":
|
|
490
|
+
case "com.amazonaws.timestreamwrite#ConflictException":
|
|
491
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
492
|
+
case "InternalServerException":
|
|
493
|
+
case "com.amazonaws.timestreamwrite#InternalServerException":
|
|
494
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
495
|
+
case "InvalidEndpointException":
|
|
496
|
+
case "com.amazonaws.timestreamwrite#InvalidEndpointException":
|
|
497
|
+
throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
|
|
498
|
+
case "ResourceNotFoundException":
|
|
499
|
+
case "com.amazonaws.timestreamwrite#ResourceNotFoundException":
|
|
500
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
501
|
+
case "ServiceQuotaExceededException":
|
|
502
|
+
case "com.amazonaws.timestreamwrite#ServiceQuotaExceededException":
|
|
503
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
504
|
+
case "ThrottlingException":
|
|
505
|
+
case "com.amazonaws.timestreamwrite#ThrottlingException":
|
|
506
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
507
|
+
case "ValidationException":
|
|
508
|
+
case "com.amazonaws.timestreamwrite#ValidationException":
|
|
509
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
510
|
+
default:
|
|
511
|
+
const parsedBody = parsedOutput.body;
|
|
512
|
+
return throwDefaultError({
|
|
513
|
+
output,
|
|
514
|
+
parsedBody,
|
|
515
|
+
errorCode
|
|
516
|
+
});
|
|
517
|
+
}
|
|
518
|
+
}, "de_CreateBatchLoadTaskCommandError");
|
|
519
|
+
var de_CreateDatabaseCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
520
|
+
if (output.statusCode >= 300) {
|
|
521
|
+
return de_CreateDatabaseCommandError(output, context);
|
|
522
|
+
}
|
|
523
|
+
const data = await parseBody(output.body, context);
|
|
524
|
+
let contents = {};
|
|
525
|
+
contents = de_CreateDatabaseResponse(data, context);
|
|
526
|
+
const response = {
|
|
527
|
+
$metadata: deserializeMetadata(output),
|
|
528
|
+
...contents
|
|
529
|
+
};
|
|
530
|
+
return response;
|
|
531
|
+
}, "de_CreateDatabaseCommand");
|
|
532
|
+
var de_CreateDatabaseCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
533
|
+
const parsedOutput = {
|
|
534
|
+
...output,
|
|
535
|
+
body: await parseErrorBody(output.body, context)
|
|
536
|
+
};
|
|
537
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
538
|
+
switch (errorCode) {
|
|
539
|
+
case "AccessDeniedException":
|
|
540
|
+
case "com.amazonaws.timestreamwrite#AccessDeniedException":
|
|
541
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
542
|
+
case "ConflictException":
|
|
543
|
+
case "com.amazonaws.timestreamwrite#ConflictException":
|
|
544
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
545
|
+
case "InternalServerException":
|
|
546
|
+
case "com.amazonaws.timestreamwrite#InternalServerException":
|
|
547
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
548
|
+
case "InvalidEndpointException":
|
|
549
|
+
case "com.amazonaws.timestreamwrite#InvalidEndpointException":
|
|
550
|
+
throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
|
|
551
|
+
case "ServiceQuotaExceededException":
|
|
552
|
+
case "com.amazonaws.timestreamwrite#ServiceQuotaExceededException":
|
|
553
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
554
|
+
case "ThrottlingException":
|
|
555
|
+
case "com.amazonaws.timestreamwrite#ThrottlingException":
|
|
556
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
557
|
+
case "ValidationException":
|
|
558
|
+
case "com.amazonaws.timestreamwrite#ValidationException":
|
|
559
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
560
|
+
default:
|
|
561
|
+
const parsedBody = parsedOutput.body;
|
|
562
|
+
return throwDefaultError({
|
|
563
|
+
output,
|
|
564
|
+
parsedBody,
|
|
565
|
+
errorCode
|
|
566
|
+
});
|
|
567
|
+
}
|
|
568
|
+
}, "de_CreateDatabaseCommandError");
|
|
569
|
+
var de_CreateTableCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
570
|
+
if (output.statusCode >= 300) {
|
|
571
|
+
return de_CreateTableCommandError(output, context);
|
|
572
|
+
}
|
|
573
|
+
const data = await parseBody(output.body, context);
|
|
574
|
+
let contents = {};
|
|
575
|
+
contents = de_CreateTableResponse(data, context);
|
|
576
|
+
const response = {
|
|
577
|
+
$metadata: deserializeMetadata(output),
|
|
578
|
+
...contents
|
|
579
|
+
};
|
|
580
|
+
return response;
|
|
581
|
+
}, "de_CreateTableCommand");
|
|
582
|
+
var de_CreateTableCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
583
|
+
const parsedOutput = {
|
|
584
|
+
...output,
|
|
585
|
+
body: await parseErrorBody(output.body, context)
|
|
586
|
+
};
|
|
587
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
588
|
+
switch (errorCode) {
|
|
589
|
+
case "AccessDeniedException":
|
|
590
|
+
case "com.amazonaws.timestreamwrite#AccessDeniedException":
|
|
591
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
592
|
+
case "ConflictException":
|
|
593
|
+
case "com.amazonaws.timestreamwrite#ConflictException":
|
|
594
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
595
|
+
case "InternalServerException":
|
|
596
|
+
case "com.amazonaws.timestreamwrite#InternalServerException":
|
|
597
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
598
|
+
case "InvalidEndpointException":
|
|
599
|
+
case "com.amazonaws.timestreamwrite#InvalidEndpointException":
|
|
600
|
+
throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
|
|
601
|
+
case "ResourceNotFoundException":
|
|
602
|
+
case "com.amazonaws.timestreamwrite#ResourceNotFoundException":
|
|
603
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
604
|
+
case "ServiceQuotaExceededException":
|
|
605
|
+
case "com.amazonaws.timestreamwrite#ServiceQuotaExceededException":
|
|
606
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
607
|
+
case "ThrottlingException":
|
|
608
|
+
case "com.amazonaws.timestreamwrite#ThrottlingException":
|
|
609
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
610
|
+
case "ValidationException":
|
|
611
|
+
case "com.amazonaws.timestreamwrite#ValidationException":
|
|
612
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
613
|
+
default:
|
|
614
|
+
const parsedBody = parsedOutput.body;
|
|
615
|
+
return throwDefaultError({
|
|
616
|
+
output,
|
|
617
|
+
parsedBody,
|
|
618
|
+
errorCode
|
|
619
|
+
});
|
|
620
|
+
}
|
|
621
|
+
}, "de_CreateTableCommandError");
|
|
622
|
+
var de_DeleteDatabaseCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
623
|
+
if (output.statusCode >= 300) {
|
|
624
|
+
return de_DeleteDatabaseCommandError(output, context);
|
|
625
|
+
}
|
|
626
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
627
|
+
const response = {
|
|
628
|
+
$metadata: deserializeMetadata(output)
|
|
629
|
+
};
|
|
630
|
+
return response;
|
|
631
|
+
}, "de_DeleteDatabaseCommand");
|
|
632
|
+
var de_DeleteDatabaseCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
633
|
+
const parsedOutput = {
|
|
634
|
+
...output,
|
|
635
|
+
body: await parseErrorBody(output.body, context)
|
|
636
|
+
};
|
|
637
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
638
|
+
switch (errorCode) {
|
|
639
|
+
case "AccessDeniedException":
|
|
640
|
+
case "com.amazonaws.timestreamwrite#AccessDeniedException":
|
|
641
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
642
|
+
case "InternalServerException":
|
|
643
|
+
case "com.amazonaws.timestreamwrite#InternalServerException":
|
|
644
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
645
|
+
case "InvalidEndpointException":
|
|
646
|
+
case "com.amazonaws.timestreamwrite#InvalidEndpointException":
|
|
647
|
+
throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
|
|
648
|
+
case "ResourceNotFoundException":
|
|
649
|
+
case "com.amazonaws.timestreamwrite#ResourceNotFoundException":
|
|
650
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
651
|
+
case "ThrottlingException":
|
|
652
|
+
case "com.amazonaws.timestreamwrite#ThrottlingException":
|
|
653
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
654
|
+
case "ValidationException":
|
|
655
|
+
case "com.amazonaws.timestreamwrite#ValidationException":
|
|
656
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
657
|
+
default:
|
|
658
|
+
const parsedBody = parsedOutput.body;
|
|
659
|
+
return throwDefaultError({
|
|
660
|
+
output,
|
|
661
|
+
parsedBody,
|
|
662
|
+
errorCode
|
|
663
|
+
});
|
|
664
|
+
}
|
|
665
|
+
}, "de_DeleteDatabaseCommandError");
|
|
666
|
+
var de_DeleteTableCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
667
|
+
if (output.statusCode >= 300) {
|
|
668
|
+
return de_DeleteTableCommandError(output, context);
|
|
669
|
+
}
|
|
670
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
671
|
+
const response = {
|
|
672
|
+
$metadata: deserializeMetadata(output)
|
|
673
|
+
};
|
|
674
|
+
return response;
|
|
675
|
+
}, "de_DeleteTableCommand");
|
|
676
|
+
var de_DeleteTableCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
677
|
+
const parsedOutput = {
|
|
678
|
+
...output,
|
|
679
|
+
body: await parseErrorBody(output.body, context)
|
|
680
|
+
};
|
|
681
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
682
|
+
switch (errorCode) {
|
|
683
|
+
case "AccessDeniedException":
|
|
684
|
+
case "com.amazonaws.timestreamwrite#AccessDeniedException":
|
|
685
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
686
|
+
case "InternalServerException":
|
|
687
|
+
case "com.amazonaws.timestreamwrite#InternalServerException":
|
|
688
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
689
|
+
case "InvalidEndpointException":
|
|
690
|
+
case "com.amazonaws.timestreamwrite#InvalidEndpointException":
|
|
691
|
+
throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
|
|
692
|
+
case "ResourceNotFoundException":
|
|
693
|
+
case "com.amazonaws.timestreamwrite#ResourceNotFoundException":
|
|
694
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
695
|
+
case "ThrottlingException":
|
|
696
|
+
case "com.amazonaws.timestreamwrite#ThrottlingException":
|
|
697
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
698
|
+
case "ValidationException":
|
|
699
|
+
case "com.amazonaws.timestreamwrite#ValidationException":
|
|
700
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
701
|
+
default:
|
|
702
|
+
const parsedBody = parsedOutput.body;
|
|
703
|
+
return throwDefaultError({
|
|
704
|
+
output,
|
|
705
|
+
parsedBody,
|
|
706
|
+
errorCode
|
|
707
|
+
});
|
|
708
|
+
}
|
|
709
|
+
}, "de_DeleteTableCommandError");
|
|
710
|
+
var de_DescribeBatchLoadTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
711
|
+
if (output.statusCode >= 300) {
|
|
712
|
+
return de_DescribeBatchLoadTaskCommandError(output, context);
|
|
713
|
+
}
|
|
714
|
+
const data = await parseBody(output.body, context);
|
|
715
|
+
let contents = {};
|
|
716
|
+
contents = de_DescribeBatchLoadTaskResponse(data, context);
|
|
717
|
+
const response = {
|
|
718
|
+
$metadata: deserializeMetadata(output),
|
|
719
|
+
...contents
|
|
720
|
+
};
|
|
721
|
+
return response;
|
|
722
|
+
}, "de_DescribeBatchLoadTaskCommand");
|
|
723
|
+
var de_DescribeBatchLoadTaskCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
724
|
+
const parsedOutput = {
|
|
725
|
+
...output,
|
|
726
|
+
body: await parseErrorBody(output.body, context)
|
|
727
|
+
};
|
|
728
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
729
|
+
switch (errorCode) {
|
|
730
|
+
case "AccessDeniedException":
|
|
731
|
+
case "com.amazonaws.timestreamwrite#AccessDeniedException":
|
|
732
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
733
|
+
case "InternalServerException":
|
|
734
|
+
case "com.amazonaws.timestreamwrite#InternalServerException":
|
|
735
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
736
|
+
case "InvalidEndpointException":
|
|
737
|
+
case "com.amazonaws.timestreamwrite#InvalidEndpointException":
|
|
738
|
+
throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
|
|
739
|
+
case "ResourceNotFoundException":
|
|
740
|
+
case "com.amazonaws.timestreamwrite#ResourceNotFoundException":
|
|
741
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
742
|
+
case "ThrottlingException":
|
|
743
|
+
case "com.amazonaws.timestreamwrite#ThrottlingException":
|
|
744
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
745
|
+
default:
|
|
746
|
+
const parsedBody = parsedOutput.body;
|
|
747
|
+
return throwDefaultError({
|
|
748
|
+
output,
|
|
749
|
+
parsedBody,
|
|
750
|
+
errorCode
|
|
751
|
+
});
|
|
752
|
+
}
|
|
753
|
+
}, "de_DescribeBatchLoadTaskCommandError");
|
|
754
|
+
var de_DescribeDatabaseCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
755
|
+
if (output.statusCode >= 300) {
|
|
756
|
+
return de_DescribeDatabaseCommandError(output, context);
|
|
757
|
+
}
|
|
758
|
+
const data = await parseBody(output.body, context);
|
|
759
|
+
let contents = {};
|
|
760
|
+
contents = de_DescribeDatabaseResponse(data, context);
|
|
761
|
+
const response = {
|
|
762
|
+
$metadata: deserializeMetadata(output),
|
|
763
|
+
...contents
|
|
764
|
+
};
|
|
765
|
+
return response;
|
|
766
|
+
}, "de_DescribeDatabaseCommand");
|
|
767
|
+
var de_DescribeDatabaseCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
768
|
+
const parsedOutput = {
|
|
769
|
+
...output,
|
|
770
|
+
body: await parseErrorBody(output.body, context)
|
|
771
|
+
};
|
|
772
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
773
|
+
switch (errorCode) {
|
|
774
|
+
case "AccessDeniedException":
|
|
775
|
+
case "com.amazonaws.timestreamwrite#AccessDeniedException":
|
|
776
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
777
|
+
case "InternalServerException":
|
|
778
|
+
case "com.amazonaws.timestreamwrite#InternalServerException":
|
|
779
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
780
|
+
case "InvalidEndpointException":
|
|
781
|
+
case "com.amazonaws.timestreamwrite#InvalidEndpointException":
|
|
782
|
+
throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
|
|
783
|
+
case "ResourceNotFoundException":
|
|
784
|
+
case "com.amazonaws.timestreamwrite#ResourceNotFoundException":
|
|
785
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
786
|
+
case "ThrottlingException":
|
|
787
|
+
case "com.amazonaws.timestreamwrite#ThrottlingException":
|
|
788
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
789
|
+
case "ValidationException":
|
|
790
|
+
case "com.amazonaws.timestreamwrite#ValidationException":
|
|
791
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
792
|
+
default:
|
|
793
|
+
const parsedBody = parsedOutput.body;
|
|
794
|
+
return throwDefaultError({
|
|
795
|
+
output,
|
|
796
|
+
parsedBody,
|
|
797
|
+
errorCode
|
|
798
|
+
});
|
|
799
|
+
}
|
|
800
|
+
}, "de_DescribeDatabaseCommandError");
|
|
801
|
+
var de_DescribeEndpointsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
802
|
+
if (output.statusCode >= 300) {
|
|
803
|
+
return de_DescribeEndpointsCommandError(output, context);
|
|
804
|
+
}
|
|
805
|
+
const data = await parseBody(output.body, context);
|
|
806
|
+
let contents = {};
|
|
807
|
+
contents = (0, import_smithy_client._json)(data);
|
|
808
|
+
const response = {
|
|
809
|
+
$metadata: deserializeMetadata(output),
|
|
810
|
+
...contents
|
|
811
|
+
};
|
|
812
|
+
return response;
|
|
813
|
+
}, "de_DescribeEndpointsCommand");
|
|
814
|
+
var de_DescribeEndpointsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
815
|
+
const parsedOutput = {
|
|
816
|
+
...output,
|
|
817
|
+
body: await parseErrorBody(output.body, context)
|
|
818
|
+
};
|
|
819
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
820
|
+
switch (errorCode) {
|
|
821
|
+
case "InternalServerException":
|
|
822
|
+
case "com.amazonaws.timestreamwrite#InternalServerException":
|
|
823
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
824
|
+
case "ThrottlingException":
|
|
825
|
+
case "com.amazonaws.timestreamwrite#ThrottlingException":
|
|
826
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
827
|
+
case "ValidationException":
|
|
828
|
+
case "com.amazonaws.timestreamwrite#ValidationException":
|
|
829
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
830
|
+
default:
|
|
831
|
+
const parsedBody = parsedOutput.body;
|
|
832
|
+
return throwDefaultError({
|
|
833
|
+
output,
|
|
834
|
+
parsedBody,
|
|
835
|
+
errorCode
|
|
836
|
+
});
|
|
837
|
+
}
|
|
838
|
+
}, "de_DescribeEndpointsCommandError");
|
|
839
|
+
var de_DescribeTableCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
840
|
+
if (output.statusCode >= 300) {
|
|
841
|
+
return de_DescribeTableCommandError(output, context);
|
|
842
|
+
}
|
|
843
|
+
const data = await parseBody(output.body, context);
|
|
844
|
+
let contents = {};
|
|
845
|
+
contents = de_DescribeTableResponse(data, context);
|
|
846
|
+
const response = {
|
|
847
|
+
$metadata: deserializeMetadata(output),
|
|
848
|
+
...contents
|
|
849
|
+
};
|
|
850
|
+
return response;
|
|
851
|
+
}, "de_DescribeTableCommand");
|
|
852
|
+
var de_DescribeTableCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
853
|
+
const parsedOutput = {
|
|
854
|
+
...output,
|
|
855
|
+
body: await parseErrorBody(output.body, context)
|
|
856
|
+
};
|
|
857
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
858
|
+
switch (errorCode) {
|
|
859
|
+
case "AccessDeniedException":
|
|
860
|
+
case "com.amazonaws.timestreamwrite#AccessDeniedException":
|
|
861
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
862
|
+
case "InternalServerException":
|
|
863
|
+
case "com.amazonaws.timestreamwrite#InternalServerException":
|
|
864
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
865
|
+
case "InvalidEndpointException":
|
|
866
|
+
case "com.amazonaws.timestreamwrite#InvalidEndpointException":
|
|
867
|
+
throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
|
|
868
|
+
case "ResourceNotFoundException":
|
|
869
|
+
case "com.amazonaws.timestreamwrite#ResourceNotFoundException":
|
|
870
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
871
|
+
case "ThrottlingException":
|
|
872
|
+
case "com.amazonaws.timestreamwrite#ThrottlingException":
|
|
873
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
874
|
+
case "ValidationException":
|
|
875
|
+
case "com.amazonaws.timestreamwrite#ValidationException":
|
|
876
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
877
|
+
default:
|
|
878
|
+
const parsedBody = parsedOutput.body;
|
|
879
|
+
return throwDefaultError({
|
|
880
|
+
output,
|
|
881
|
+
parsedBody,
|
|
882
|
+
errorCode
|
|
883
|
+
});
|
|
884
|
+
}
|
|
885
|
+
}, "de_DescribeTableCommandError");
|
|
886
|
+
var de_ListBatchLoadTasksCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
887
|
+
if (output.statusCode >= 300) {
|
|
888
|
+
return de_ListBatchLoadTasksCommandError(output, context);
|
|
889
|
+
}
|
|
890
|
+
const data = await parseBody(output.body, context);
|
|
891
|
+
let contents = {};
|
|
892
|
+
contents = de_ListBatchLoadTasksResponse(data, context);
|
|
893
|
+
const response = {
|
|
894
|
+
$metadata: deserializeMetadata(output),
|
|
895
|
+
...contents
|
|
896
|
+
};
|
|
897
|
+
return response;
|
|
898
|
+
}, "de_ListBatchLoadTasksCommand");
|
|
899
|
+
var de_ListBatchLoadTasksCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
900
|
+
const parsedOutput = {
|
|
901
|
+
...output,
|
|
902
|
+
body: await parseErrorBody(output.body, context)
|
|
903
|
+
};
|
|
904
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
905
|
+
switch (errorCode) {
|
|
906
|
+
case "AccessDeniedException":
|
|
907
|
+
case "com.amazonaws.timestreamwrite#AccessDeniedException":
|
|
908
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
909
|
+
case "InternalServerException":
|
|
910
|
+
case "com.amazonaws.timestreamwrite#InternalServerException":
|
|
911
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
912
|
+
case "InvalidEndpointException":
|
|
913
|
+
case "com.amazonaws.timestreamwrite#InvalidEndpointException":
|
|
914
|
+
throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
|
|
915
|
+
case "ThrottlingException":
|
|
916
|
+
case "com.amazonaws.timestreamwrite#ThrottlingException":
|
|
917
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
918
|
+
case "ValidationException":
|
|
919
|
+
case "com.amazonaws.timestreamwrite#ValidationException":
|
|
920
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
921
|
+
default:
|
|
922
|
+
const parsedBody = parsedOutput.body;
|
|
923
|
+
return throwDefaultError({
|
|
924
|
+
output,
|
|
925
|
+
parsedBody,
|
|
926
|
+
errorCode
|
|
927
|
+
});
|
|
928
|
+
}
|
|
929
|
+
}, "de_ListBatchLoadTasksCommandError");
|
|
930
|
+
var de_ListDatabasesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
931
|
+
if (output.statusCode >= 300) {
|
|
932
|
+
return de_ListDatabasesCommandError(output, context);
|
|
933
|
+
}
|
|
934
|
+
const data = await parseBody(output.body, context);
|
|
935
|
+
let contents = {};
|
|
936
|
+
contents = de_ListDatabasesResponse(data, context);
|
|
937
|
+
const response = {
|
|
938
|
+
$metadata: deserializeMetadata(output),
|
|
939
|
+
...contents
|
|
940
|
+
};
|
|
941
|
+
return response;
|
|
942
|
+
}, "de_ListDatabasesCommand");
|
|
943
|
+
var de_ListDatabasesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
944
|
+
const parsedOutput = {
|
|
945
|
+
...output,
|
|
946
|
+
body: await parseErrorBody(output.body, context)
|
|
947
|
+
};
|
|
948
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
949
|
+
switch (errorCode) {
|
|
950
|
+
case "AccessDeniedException":
|
|
951
|
+
case "com.amazonaws.timestreamwrite#AccessDeniedException":
|
|
952
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
953
|
+
case "InternalServerException":
|
|
954
|
+
case "com.amazonaws.timestreamwrite#InternalServerException":
|
|
955
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
956
|
+
case "InvalidEndpointException":
|
|
957
|
+
case "com.amazonaws.timestreamwrite#InvalidEndpointException":
|
|
958
|
+
throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
|
|
959
|
+
case "ThrottlingException":
|
|
960
|
+
case "com.amazonaws.timestreamwrite#ThrottlingException":
|
|
961
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
962
|
+
case "ValidationException":
|
|
963
|
+
case "com.amazonaws.timestreamwrite#ValidationException":
|
|
964
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
965
|
+
default:
|
|
966
|
+
const parsedBody = parsedOutput.body;
|
|
967
|
+
return throwDefaultError({
|
|
968
|
+
output,
|
|
969
|
+
parsedBody,
|
|
970
|
+
errorCode
|
|
971
|
+
});
|
|
972
|
+
}
|
|
973
|
+
}, "de_ListDatabasesCommandError");
|
|
974
|
+
var de_ListTablesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
975
|
+
if (output.statusCode >= 300) {
|
|
976
|
+
return de_ListTablesCommandError(output, context);
|
|
977
|
+
}
|
|
978
|
+
const data = await parseBody(output.body, context);
|
|
979
|
+
let contents = {};
|
|
980
|
+
contents = de_ListTablesResponse(data, context);
|
|
981
|
+
const response = {
|
|
982
|
+
$metadata: deserializeMetadata(output),
|
|
983
|
+
...contents
|
|
984
|
+
};
|
|
985
|
+
return response;
|
|
986
|
+
}, "de_ListTablesCommand");
|
|
987
|
+
var de_ListTablesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
988
|
+
const parsedOutput = {
|
|
989
|
+
...output,
|
|
990
|
+
body: await parseErrorBody(output.body, context)
|
|
991
|
+
};
|
|
992
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
993
|
+
switch (errorCode) {
|
|
994
|
+
case "AccessDeniedException":
|
|
995
|
+
case "com.amazonaws.timestreamwrite#AccessDeniedException":
|
|
996
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
997
|
+
case "InternalServerException":
|
|
998
|
+
case "com.amazonaws.timestreamwrite#InternalServerException":
|
|
999
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1000
|
+
case "InvalidEndpointException":
|
|
1001
|
+
case "com.amazonaws.timestreamwrite#InvalidEndpointException":
|
|
1002
|
+
throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
|
|
1003
|
+
case "ResourceNotFoundException":
|
|
1004
|
+
case "com.amazonaws.timestreamwrite#ResourceNotFoundException":
|
|
1005
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1006
|
+
case "ThrottlingException":
|
|
1007
|
+
case "com.amazonaws.timestreamwrite#ThrottlingException":
|
|
1008
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1009
|
+
case "ValidationException":
|
|
1010
|
+
case "com.amazonaws.timestreamwrite#ValidationException":
|
|
1011
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1012
|
+
default:
|
|
1013
|
+
const parsedBody = parsedOutput.body;
|
|
1014
|
+
return throwDefaultError({
|
|
1015
|
+
output,
|
|
1016
|
+
parsedBody,
|
|
1017
|
+
errorCode
|
|
1018
|
+
});
|
|
1019
|
+
}
|
|
1020
|
+
}, "de_ListTablesCommandError");
|
|
1021
|
+
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1022
|
+
if (output.statusCode >= 300) {
|
|
1023
|
+
return de_ListTagsForResourceCommandError(output, context);
|
|
1024
|
+
}
|
|
1025
|
+
const data = await parseBody(output.body, context);
|
|
1026
|
+
let contents = {};
|
|
1027
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1028
|
+
const response = {
|
|
1029
|
+
$metadata: deserializeMetadata(output),
|
|
1030
|
+
...contents
|
|
1031
|
+
};
|
|
1032
|
+
return response;
|
|
1033
|
+
}, "de_ListTagsForResourceCommand");
|
|
1034
|
+
var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1035
|
+
const parsedOutput = {
|
|
1036
|
+
...output,
|
|
1037
|
+
body: await parseErrorBody(output.body, context)
|
|
1038
|
+
};
|
|
1039
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1040
|
+
switch (errorCode) {
|
|
1041
|
+
case "InvalidEndpointException":
|
|
1042
|
+
case "com.amazonaws.timestreamwrite#InvalidEndpointException":
|
|
1043
|
+
throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
|
|
1044
|
+
case "ResourceNotFoundException":
|
|
1045
|
+
case "com.amazonaws.timestreamwrite#ResourceNotFoundException":
|
|
1046
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1047
|
+
case "ThrottlingException":
|
|
1048
|
+
case "com.amazonaws.timestreamwrite#ThrottlingException":
|
|
1049
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1050
|
+
case "ValidationException":
|
|
1051
|
+
case "com.amazonaws.timestreamwrite#ValidationException":
|
|
1052
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1053
|
+
default:
|
|
1054
|
+
const parsedBody = parsedOutput.body;
|
|
1055
|
+
return throwDefaultError({
|
|
1056
|
+
output,
|
|
1057
|
+
parsedBody,
|
|
1058
|
+
errorCode
|
|
1059
|
+
});
|
|
1060
|
+
}
|
|
1061
|
+
}, "de_ListTagsForResourceCommandError");
|
|
1062
|
+
var de_ResumeBatchLoadTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1063
|
+
if (output.statusCode >= 300) {
|
|
1064
|
+
return de_ResumeBatchLoadTaskCommandError(output, context);
|
|
1065
|
+
}
|
|
1066
|
+
const data = await parseBody(output.body, context);
|
|
1067
|
+
let contents = {};
|
|
1068
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1069
|
+
const response = {
|
|
1070
|
+
$metadata: deserializeMetadata(output),
|
|
1071
|
+
...contents
|
|
1072
|
+
};
|
|
1073
|
+
return response;
|
|
1074
|
+
}, "de_ResumeBatchLoadTaskCommand");
|
|
1075
|
+
var de_ResumeBatchLoadTaskCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1076
|
+
const parsedOutput = {
|
|
1077
|
+
...output,
|
|
1078
|
+
body: await parseErrorBody(output.body, context)
|
|
1079
|
+
};
|
|
1080
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1081
|
+
switch (errorCode) {
|
|
1082
|
+
case "AccessDeniedException":
|
|
1083
|
+
case "com.amazonaws.timestreamwrite#AccessDeniedException":
|
|
1084
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1085
|
+
case "InternalServerException":
|
|
1086
|
+
case "com.amazonaws.timestreamwrite#InternalServerException":
|
|
1087
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1088
|
+
case "InvalidEndpointException":
|
|
1089
|
+
case "com.amazonaws.timestreamwrite#InvalidEndpointException":
|
|
1090
|
+
throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
|
|
1091
|
+
case "ResourceNotFoundException":
|
|
1092
|
+
case "com.amazonaws.timestreamwrite#ResourceNotFoundException":
|
|
1093
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1094
|
+
case "ThrottlingException":
|
|
1095
|
+
case "com.amazonaws.timestreamwrite#ThrottlingException":
|
|
1096
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1097
|
+
case "ValidationException":
|
|
1098
|
+
case "com.amazonaws.timestreamwrite#ValidationException":
|
|
1099
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1100
|
+
default:
|
|
1101
|
+
const parsedBody = parsedOutput.body;
|
|
1102
|
+
return throwDefaultError({
|
|
1103
|
+
output,
|
|
1104
|
+
parsedBody,
|
|
1105
|
+
errorCode
|
|
1106
|
+
});
|
|
1107
|
+
}
|
|
1108
|
+
}, "de_ResumeBatchLoadTaskCommandError");
|
|
1109
|
+
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1110
|
+
if (output.statusCode >= 300) {
|
|
1111
|
+
return de_TagResourceCommandError(output, context);
|
|
1112
|
+
}
|
|
1113
|
+
const data = await parseBody(output.body, context);
|
|
1114
|
+
let contents = {};
|
|
1115
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1116
|
+
const response = {
|
|
1117
|
+
$metadata: deserializeMetadata(output),
|
|
1118
|
+
...contents
|
|
1119
|
+
};
|
|
1120
|
+
return response;
|
|
1121
|
+
}, "de_TagResourceCommand");
|
|
1122
|
+
var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1123
|
+
const parsedOutput = {
|
|
1124
|
+
...output,
|
|
1125
|
+
body: await parseErrorBody(output.body, context)
|
|
1126
|
+
};
|
|
1127
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1128
|
+
switch (errorCode) {
|
|
1129
|
+
case "InvalidEndpointException":
|
|
1130
|
+
case "com.amazonaws.timestreamwrite#InvalidEndpointException":
|
|
1131
|
+
throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
|
|
1132
|
+
case "ResourceNotFoundException":
|
|
1133
|
+
case "com.amazonaws.timestreamwrite#ResourceNotFoundException":
|
|
1134
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1135
|
+
case "ServiceQuotaExceededException":
|
|
1136
|
+
case "com.amazonaws.timestreamwrite#ServiceQuotaExceededException":
|
|
1137
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1138
|
+
case "ThrottlingException":
|
|
1139
|
+
case "com.amazonaws.timestreamwrite#ThrottlingException":
|
|
1140
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1141
|
+
case "ValidationException":
|
|
1142
|
+
case "com.amazonaws.timestreamwrite#ValidationException":
|
|
1143
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1144
|
+
default:
|
|
1145
|
+
const parsedBody = parsedOutput.body;
|
|
1146
|
+
return throwDefaultError({
|
|
1147
|
+
output,
|
|
1148
|
+
parsedBody,
|
|
1149
|
+
errorCode
|
|
1150
|
+
});
|
|
1151
|
+
}
|
|
1152
|
+
}, "de_TagResourceCommandError");
|
|
1153
|
+
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1154
|
+
if (output.statusCode >= 300) {
|
|
1155
|
+
return de_UntagResourceCommandError(output, context);
|
|
1156
|
+
}
|
|
1157
|
+
const data = await parseBody(output.body, context);
|
|
1158
|
+
let contents = {};
|
|
1159
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1160
|
+
const response = {
|
|
1161
|
+
$metadata: deserializeMetadata(output),
|
|
1162
|
+
...contents
|
|
1163
|
+
};
|
|
1164
|
+
return response;
|
|
1165
|
+
}, "de_UntagResourceCommand");
|
|
1166
|
+
var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1167
|
+
const parsedOutput = {
|
|
1168
|
+
...output,
|
|
1169
|
+
body: await parseErrorBody(output.body, context)
|
|
1170
|
+
};
|
|
1171
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1172
|
+
switch (errorCode) {
|
|
1173
|
+
case "InvalidEndpointException":
|
|
1174
|
+
case "com.amazonaws.timestreamwrite#InvalidEndpointException":
|
|
1175
|
+
throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
|
|
1176
|
+
case "ResourceNotFoundException":
|
|
1177
|
+
case "com.amazonaws.timestreamwrite#ResourceNotFoundException":
|
|
1178
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1179
|
+
case "ServiceQuotaExceededException":
|
|
1180
|
+
case "com.amazonaws.timestreamwrite#ServiceQuotaExceededException":
|
|
1181
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1182
|
+
case "ThrottlingException":
|
|
1183
|
+
case "com.amazonaws.timestreamwrite#ThrottlingException":
|
|
1184
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1185
|
+
case "ValidationException":
|
|
1186
|
+
case "com.amazonaws.timestreamwrite#ValidationException":
|
|
1187
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1188
|
+
default:
|
|
1189
|
+
const parsedBody = parsedOutput.body;
|
|
1190
|
+
return throwDefaultError({
|
|
1191
|
+
output,
|
|
1192
|
+
parsedBody,
|
|
1193
|
+
errorCode
|
|
1194
|
+
});
|
|
1195
|
+
}
|
|
1196
|
+
}, "de_UntagResourceCommandError");
|
|
1197
|
+
var de_UpdateDatabaseCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1198
|
+
if (output.statusCode >= 300) {
|
|
1199
|
+
return de_UpdateDatabaseCommandError(output, context);
|
|
1200
|
+
}
|
|
1201
|
+
const data = await parseBody(output.body, context);
|
|
1202
|
+
let contents = {};
|
|
1203
|
+
contents = de_UpdateDatabaseResponse(data, context);
|
|
1204
|
+
const response = {
|
|
1205
|
+
$metadata: deserializeMetadata(output),
|
|
1206
|
+
...contents
|
|
1207
|
+
};
|
|
1208
|
+
return response;
|
|
1209
|
+
}, "de_UpdateDatabaseCommand");
|
|
1210
|
+
var de_UpdateDatabaseCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1211
|
+
const parsedOutput = {
|
|
1212
|
+
...output,
|
|
1213
|
+
body: await parseErrorBody(output.body, context)
|
|
1214
|
+
};
|
|
1215
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1216
|
+
switch (errorCode) {
|
|
1217
|
+
case "AccessDeniedException":
|
|
1218
|
+
case "com.amazonaws.timestreamwrite#AccessDeniedException":
|
|
1219
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1220
|
+
case "InternalServerException":
|
|
1221
|
+
case "com.amazonaws.timestreamwrite#InternalServerException":
|
|
1222
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1223
|
+
case "InvalidEndpointException":
|
|
1224
|
+
case "com.amazonaws.timestreamwrite#InvalidEndpointException":
|
|
1225
|
+
throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
|
|
1226
|
+
case "ResourceNotFoundException":
|
|
1227
|
+
case "com.amazonaws.timestreamwrite#ResourceNotFoundException":
|
|
1228
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1229
|
+
case "ServiceQuotaExceededException":
|
|
1230
|
+
case "com.amazonaws.timestreamwrite#ServiceQuotaExceededException":
|
|
1231
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1232
|
+
case "ThrottlingException":
|
|
1233
|
+
case "com.amazonaws.timestreamwrite#ThrottlingException":
|
|
1234
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1235
|
+
case "ValidationException":
|
|
1236
|
+
case "com.amazonaws.timestreamwrite#ValidationException":
|
|
1237
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1238
|
+
default:
|
|
1239
|
+
const parsedBody = parsedOutput.body;
|
|
1240
|
+
return throwDefaultError({
|
|
1241
|
+
output,
|
|
1242
|
+
parsedBody,
|
|
1243
|
+
errorCode
|
|
1244
|
+
});
|
|
1245
|
+
}
|
|
1246
|
+
}, "de_UpdateDatabaseCommandError");
|
|
1247
|
+
var de_UpdateTableCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1248
|
+
if (output.statusCode >= 300) {
|
|
1249
|
+
return de_UpdateTableCommandError(output, context);
|
|
1250
|
+
}
|
|
1251
|
+
const data = await parseBody(output.body, context);
|
|
1252
|
+
let contents = {};
|
|
1253
|
+
contents = de_UpdateTableResponse(data, context);
|
|
1254
|
+
const response = {
|
|
1255
|
+
$metadata: deserializeMetadata(output),
|
|
1256
|
+
...contents
|
|
1257
|
+
};
|
|
1258
|
+
return response;
|
|
1259
|
+
}, "de_UpdateTableCommand");
|
|
1260
|
+
var de_UpdateTableCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1261
|
+
const parsedOutput = {
|
|
1262
|
+
...output,
|
|
1263
|
+
body: await parseErrorBody(output.body, context)
|
|
1264
|
+
};
|
|
1265
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1266
|
+
switch (errorCode) {
|
|
1267
|
+
case "AccessDeniedException":
|
|
1268
|
+
case "com.amazonaws.timestreamwrite#AccessDeniedException":
|
|
1269
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1270
|
+
case "InternalServerException":
|
|
1271
|
+
case "com.amazonaws.timestreamwrite#InternalServerException":
|
|
1272
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1273
|
+
case "InvalidEndpointException":
|
|
1274
|
+
case "com.amazonaws.timestreamwrite#InvalidEndpointException":
|
|
1275
|
+
throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
|
|
1276
|
+
case "ResourceNotFoundException":
|
|
1277
|
+
case "com.amazonaws.timestreamwrite#ResourceNotFoundException":
|
|
1278
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1279
|
+
case "ThrottlingException":
|
|
1280
|
+
case "com.amazonaws.timestreamwrite#ThrottlingException":
|
|
1281
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1282
|
+
case "ValidationException":
|
|
1283
|
+
case "com.amazonaws.timestreamwrite#ValidationException":
|
|
1284
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1285
|
+
default:
|
|
1286
|
+
const parsedBody = parsedOutput.body;
|
|
1287
|
+
return throwDefaultError({
|
|
1288
|
+
output,
|
|
1289
|
+
parsedBody,
|
|
1290
|
+
errorCode
|
|
1291
|
+
});
|
|
1292
|
+
}
|
|
1293
|
+
}, "de_UpdateTableCommandError");
|
|
1294
|
+
var de_WriteRecordsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1295
|
+
if (output.statusCode >= 300) {
|
|
1296
|
+
return de_WriteRecordsCommandError(output, context);
|
|
1297
|
+
}
|
|
1298
|
+
const data = await parseBody(output.body, context);
|
|
1299
|
+
let contents = {};
|
|
1300
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1301
|
+
const response = {
|
|
1302
|
+
$metadata: deserializeMetadata(output),
|
|
1303
|
+
...contents
|
|
1304
|
+
};
|
|
1305
|
+
return response;
|
|
1306
|
+
}, "de_WriteRecordsCommand");
|
|
1307
|
+
var de_WriteRecordsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1308
|
+
const parsedOutput = {
|
|
1309
|
+
...output,
|
|
1310
|
+
body: await parseErrorBody(output.body, context)
|
|
1311
|
+
};
|
|
1312
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1313
|
+
switch (errorCode) {
|
|
1314
|
+
case "AccessDeniedException":
|
|
1315
|
+
case "com.amazonaws.timestreamwrite#AccessDeniedException":
|
|
1316
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1317
|
+
case "InternalServerException":
|
|
1318
|
+
case "com.amazonaws.timestreamwrite#InternalServerException":
|
|
1319
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1320
|
+
case "InvalidEndpointException":
|
|
1321
|
+
case "com.amazonaws.timestreamwrite#InvalidEndpointException":
|
|
1322
|
+
throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
|
|
1323
|
+
case "RejectedRecordsException":
|
|
1324
|
+
case "com.amazonaws.timestreamwrite#RejectedRecordsException":
|
|
1325
|
+
throw await de_RejectedRecordsExceptionRes(parsedOutput, context);
|
|
1326
|
+
case "ResourceNotFoundException":
|
|
1327
|
+
case "com.amazonaws.timestreamwrite#ResourceNotFoundException":
|
|
1328
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1329
|
+
case "ThrottlingException":
|
|
1330
|
+
case "com.amazonaws.timestreamwrite#ThrottlingException":
|
|
1331
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1332
|
+
case "ValidationException":
|
|
1333
|
+
case "com.amazonaws.timestreamwrite#ValidationException":
|
|
1334
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1335
|
+
default:
|
|
1336
|
+
const parsedBody = parsedOutput.body;
|
|
1337
|
+
return throwDefaultError({
|
|
1338
|
+
output,
|
|
1339
|
+
parsedBody,
|
|
1340
|
+
errorCode
|
|
1341
|
+
});
|
|
1342
|
+
}
|
|
1343
|
+
}, "de_WriteRecordsCommandError");
|
|
1344
|
+
var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1345
|
+
const body = parsedOutput.body;
|
|
1346
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1347
|
+
const exception = new AccessDeniedException({
|
|
1348
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1349
|
+
...deserialized
|
|
1350
|
+
});
|
|
1351
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1352
|
+
}, "de_AccessDeniedExceptionRes");
|
|
1353
|
+
var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1354
|
+
const body = parsedOutput.body;
|
|
1355
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1356
|
+
const exception = new ConflictException({
|
|
1357
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1358
|
+
...deserialized
|
|
1359
|
+
});
|
|
1360
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1361
|
+
}, "de_ConflictExceptionRes");
|
|
1362
|
+
var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1363
|
+
const body = parsedOutput.body;
|
|
1364
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1365
|
+
const exception = new InternalServerException({
|
|
1366
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1367
|
+
...deserialized
|
|
1368
|
+
});
|
|
1369
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1370
|
+
}, "de_InternalServerExceptionRes");
|
|
1371
|
+
var de_InvalidEndpointExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1372
|
+
const body = parsedOutput.body;
|
|
1373
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1374
|
+
const exception = new InvalidEndpointException({
|
|
1375
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1376
|
+
...deserialized
|
|
1377
|
+
});
|
|
1378
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1379
|
+
}, "de_InvalidEndpointExceptionRes");
|
|
1380
|
+
var de_RejectedRecordsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1381
|
+
const body = parsedOutput.body;
|
|
1382
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1383
|
+
const exception = new RejectedRecordsException({
|
|
1384
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1385
|
+
...deserialized
|
|
1386
|
+
});
|
|
1387
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1388
|
+
}, "de_RejectedRecordsExceptionRes");
|
|
1389
|
+
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1390
|
+
const body = parsedOutput.body;
|
|
1391
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1392
|
+
const exception = new ResourceNotFoundException({
|
|
1393
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1394
|
+
...deserialized
|
|
1395
|
+
});
|
|
1396
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1397
|
+
}, "de_ResourceNotFoundExceptionRes");
|
|
1398
|
+
var de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1399
|
+
const body = parsedOutput.body;
|
|
1400
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1401
|
+
const exception = new ServiceQuotaExceededException({
|
|
1402
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1403
|
+
...deserialized
|
|
1404
|
+
});
|
|
1405
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1406
|
+
}, "de_ServiceQuotaExceededExceptionRes");
|
|
1407
|
+
var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1408
|
+
const body = parsedOutput.body;
|
|
1409
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1410
|
+
const exception = new ThrottlingException({
|
|
1411
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1412
|
+
...deserialized
|
|
1413
|
+
});
|
|
1414
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1415
|
+
}, "de_ThrottlingExceptionRes");
|
|
1416
|
+
var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1417
|
+
const body = parsedOutput.body;
|
|
1418
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1419
|
+
const exception = new ValidationException({
|
|
1420
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1421
|
+
...deserialized
|
|
1422
|
+
});
|
|
1423
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1424
|
+
}, "de_ValidationExceptionRes");
|
|
1425
|
+
var se_CreateBatchLoadTaskRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1426
|
+
return (0, import_smithy_client.take)(input, {
|
|
1427
|
+
ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1428
|
+
DataModelConfiguration: import_smithy_client._json,
|
|
1429
|
+
DataSourceConfiguration: import_smithy_client._json,
|
|
1430
|
+
RecordVersion: [],
|
|
1431
|
+
ReportConfiguration: import_smithy_client._json,
|
|
1432
|
+
TargetDatabaseName: [],
|
|
1433
|
+
TargetTableName: []
|
|
1434
|
+
});
|
|
1435
|
+
}, "se_CreateBatchLoadTaskRequest");
|
|
1436
|
+
var de_BatchLoadTask = /* @__PURE__ */ __name((output, context) => {
|
|
1437
|
+
return (0, import_smithy_client.take)(output, {
|
|
1438
|
+
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1439
|
+
DatabaseName: import_smithy_client.expectString,
|
|
1440
|
+
LastUpdatedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1441
|
+
ResumableUntil: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1442
|
+
TableName: import_smithy_client.expectString,
|
|
1443
|
+
TaskId: import_smithy_client.expectString,
|
|
1444
|
+
TaskStatus: import_smithy_client.expectString
|
|
1445
|
+
});
|
|
1446
|
+
}, "de_BatchLoadTask");
|
|
1447
|
+
var de_BatchLoadTaskDescription = /* @__PURE__ */ __name((output, context) => {
|
|
1448
|
+
return (0, import_smithy_client.take)(output, {
|
|
1449
|
+
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1450
|
+
DataModelConfiguration: import_smithy_client._json,
|
|
1451
|
+
DataSourceConfiguration: import_smithy_client._json,
|
|
1452
|
+
ErrorMessage: import_smithy_client.expectString,
|
|
1453
|
+
LastUpdatedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1454
|
+
ProgressReport: import_smithy_client._json,
|
|
1455
|
+
RecordVersion: import_smithy_client.expectLong,
|
|
1456
|
+
ReportConfiguration: import_smithy_client._json,
|
|
1457
|
+
ResumableUntil: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1458
|
+
TargetDatabaseName: import_smithy_client.expectString,
|
|
1459
|
+
TargetTableName: import_smithy_client.expectString,
|
|
1460
|
+
TaskId: import_smithy_client.expectString,
|
|
1461
|
+
TaskStatus: import_smithy_client.expectString
|
|
1462
|
+
});
|
|
1463
|
+
}, "de_BatchLoadTaskDescription");
|
|
1464
|
+
var de_BatchLoadTaskList = /* @__PURE__ */ __name((output, context) => {
|
|
1465
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1466
|
+
return de_BatchLoadTask(entry, context);
|
|
1467
|
+
});
|
|
1468
|
+
return retVal;
|
|
1469
|
+
}, "de_BatchLoadTaskList");
|
|
1470
|
+
var de_CreateDatabaseResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1471
|
+
return (0, import_smithy_client.take)(output, {
|
|
1472
|
+
Database: (_) => de_Database(_, context)
|
|
1473
|
+
});
|
|
1474
|
+
}, "de_CreateDatabaseResponse");
|
|
1475
|
+
var de_CreateTableResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1476
|
+
return (0, import_smithy_client.take)(output, {
|
|
1477
|
+
Table: (_) => de_Table(_, context)
|
|
1478
|
+
});
|
|
1479
|
+
}, "de_CreateTableResponse");
|
|
1480
|
+
var de_Database = /* @__PURE__ */ __name((output, context) => {
|
|
1481
|
+
return (0, import_smithy_client.take)(output, {
|
|
1482
|
+
Arn: import_smithy_client.expectString,
|
|
1483
|
+
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1484
|
+
DatabaseName: import_smithy_client.expectString,
|
|
1485
|
+
KmsKeyId: import_smithy_client.expectString,
|
|
1486
|
+
LastUpdatedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1487
|
+
TableCount: import_smithy_client.expectLong
|
|
1488
|
+
});
|
|
1489
|
+
}, "de_Database");
|
|
1490
|
+
var de_DatabaseList = /* @__PURE__ */ __name((output, context) => {
|
|
1491
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1492
|
+
return de_Database(entry, context);
|
|
1493
|
+
});
|
|
1494
|
+
return retVal;
|
|
1495
|
+
}, "de_DatabaseList");
|
|
1496
|
+
var de_DescribeBatchLoadTaskResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1497
|
+
return (0, import_smithy_client.take)(output, {
|
|
1498
|
+
BatchLoadTaskDescription: (_) => de_BatchLoadTaskDescription(_, context)
|
|
1499
|
+
});
|
|
1500
|
+
}, "de_DescribeBatchLoadTaskResponse");
|
|
1501
|
+
var de_DescribeDatabaseResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1502
|
+
return (0, import_smithy_client.take)(output, {
|
|
1503
|
+
Database: (_) => de_Database(_, context)
|
|
1504
|
+
});
|
|
1505
|
+
}, "de_DescribeDatabaseResponse");
|
|
1506
|
+
var de_DescribeTableResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1507
|
+
return (0, import_smithy_client.take)(output, {
|
|
1508
|
+
Table: (_) => de_Table(_, context)
|
|
1509
|
+
});
|
|
1510
|
+
}, "de_DescribeTableResponse");
|
|
1511
|
+
var de_ListBatchLoadTasksResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1512
|
+
return (0, import_smithy_client.take)(output, {
|
|
1513
|
+
BatchLoadTasks: (_) => de_BatchLoadTaskList(_, context),
|
|
1514
|
+
NextToken: import_smithy_client.expectString
|
|
1515
|
+
});
|
|
1516
|
+
}, "de_ListBatchLoadTasksResponse");
|
|
1517
|
+
var de_ListDatabasesResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1518
|
+
return (0, import_smithy_client.take)(output, {
|
|
1519
|
+
Databases: (_) => de_DatabaseList(_, context),
|
|
1520
|
+
NextToken: import_smithy_client.expectString
|
|
1521
|
+
});
|
|
1522
|
+
}, "de_ListDatabasesResponse");
|
|
1523
|
+
var de_ListTablesResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1524
|
+
return (0, import_smithy_client.take)(output, {
|
|
1525
|
+
NextToken: import_smithy_client.expectString,
|
|
1526
|
+
Tables: (_) => de_TableList(_, context)
|
|
1527
|
+
});
|
|
1528
|
+
}, "de_ListTablesResponse");
|
|
1529
|
+
var de_Table = /* @__PURE__ */ __name((output, context) => {
|
|
1530
|
+
return (0, import_smithy_client.take)(output, {
|
|
1531
|
+
Arn: import_smithy_client.expectString,
|
|
1532
|
+
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1533
|
+
DatabaseName: import_smithy_client.expectString,
|
|
1534
|
+
LastUpdatedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1535
|
+
MagneticStoreWriteProperties: import_smithy_client._json,
|
|
1536
|
+
RetentionProperties: import_smithy_client._json,
|
|
1537
|
+
Schema: import_smithy_client._json,
|
|
1538
|
+
TableName: import_smithy_client.expectString,
|
|
1539
|
+
TableStatus: import_smithy_client.expectString
|
|
1540
|
+
});
|
|
1541
|
+
}, "de_Table");
|
|
1542
|
+
var de_TableList = /* @__PURE__ */ __name((output, context) => {
|
|
1543
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1544
|
+
return de_Table(entry, context);
|
|
1545
|
+
});
|
|
1546
|
+
return retVal;
|
|
1547
|
+
}, "de_TableList");
|
|
1548
|
+
var de_UpdateDatabaseResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1549
|
+
return (0, import_smithy_client.take)(output, {
|
|
1550
|
+
Database: (_) => de_Database(_, context)
|
|
1551
|
+
});
|
|
1552
|
+
}, "de_UpdateDatabaseResponse");
|
|
1553
|
+
var de_UpdateTableResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1554
|
+
return (0, import_smithy_client.take)(output, {
|
|
1555
|
+
Table: (_) => de_Table(_, context)
|
|
1556
|
+
});
|
|
1557
|
+
}, "de_UpdateTableResponse");
|
|
1558
|
+
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
1559
|
+
httpStatusCode: output.statusCode,
|
|
1560
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1561
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1562
|
+
cfId: output.headers["x-amz-cf-id"]
|
|
1563
|
+
}), "deserializeMetadata");
|
|
1564
|
+
var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
|
|
1565
|
+
var throwDefaultError = (0, import_smithy_client.withBaseException)(TimestreamWriteServiceException);
|
|
1566
|
+
var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
|
|
1567
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1568
|
+
const contents = {
|
|
1569
|
+
protocol,
|
|
1570
|
+
hostname,
|
|
1571
|
+
port,
|
|
1572
|
+
method: "POST",
|
|
1573
|
+
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
1574
|
+
headers
|
|
1575
|
+
};
|
|
1576
|
+
if (resolvedHostname !== void 0) {
|
|
1577
|
+
contents.hostname = resolvedHostname;
|
|
1578
|
+
}
|
|
1579
|
+
if (body !== void 0) {
|
|
1580
|
+
contents.body = body;
|
|
1581
|
+
}
|
|
1582
|
+
return new import_protocol_http.HttpRequest(contents);
|
|
1583
|
+
}, "buildHttpRpcRequest");
|
|
1584
|
+
function sharedHeaders(operation) {
|
|
1585
|
+
return {
|
|
1586
|
+
"content-type": "application/x-amz-json-1.0",
|
|
1587
|
+
"x-amz-target": `Timestream_20181101.${operation}`
|
|
1588
|
+
};
|
|
1589
|
+
}
|
|
1590
|
+
__name(sharedHeaders, "sharedHeaders");
|
|
1591
|
+
var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
1592
|
+
if (encoded.length) {
|
|
1593
|
+
return JSON.parse(encoded);
|
|
1594
|
+
}
|
|
1595
|
+
return {};
|
|
1596
|
+
}), "parseBody");
|
|
1597
|
+
var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
|
|
1598
|
+
const value = await parseBody(errorBody, context);
|
|
1599
|
+
value.message = value.message ?? value.Message;
|
|
1600
|
+
return value;
|
|
1601
|
+
}, "parseErrorBody");
|
|
1602
|
+
var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
|
|
1603
|
+
const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
|
|
1604
|
+
const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
|
|
1605
|
+
let cleanValue = rawValue;
|
|
1606
|
+
if (typeof cleanValue === "number") {
|
|
1607
|
+
cleanValue = cleanValue.toString();
|
|
1608
|
+
}
|
|
1609
|
+
if (cleanValue.indexOf(",") >= 0) {
|
|
1610
|
+
cleanValue = cleanValue.split(",")[0];
|
|
1611
|
+
}
|
|
1612
|
+
if (cleanValue.indexOf(":") >= 0) {
|
|
1613
|
+
cleanValue = cleanValue.split(":")[0];
|
|
1614
|
+
}
|
|
1615
|
+
if (cleanValue.indexOf("#") >= 0) {
|
|
1616
|
+
cleanValue = cleanValue.split("#")[1];
|
|
1617
|
+
}
|
|
1618
|
+
return cleanValue;
|
|
1619
|
+
}, "sanitizeErrorCode");
|
|
1620
|
+
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
1621
|
+
if (headerKey !== void 0) {
|
|
1622
|
+
return sanitizeErrorCode(output.headers[headerKey]);
|
|
1623
|
+
}
|
|
1624
|
+
if (data.code !== void 0) {
|
|
1625
|
+
return sanitizeErrorCode(data.code);
|
|
1626
|
+
}
|
|
1627
|
+
if (data["__type"] !== void 0) {
|
|
1628
|
+
return sanitizeErrorCode(data["__type"]);
|
|
1629
|
+
}
|
|
1630
|
+
}, "loadRestJsonErrorCode");
|
|
1631
|
+
|
|
1632
|
+
// src/commands/DescribeEndpointsCommand.ts
|
|
1633
|
+
var _DescribeEndpointsCommand = class _DescribeEndpointsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1634
|
+
...commonParams
|
|
1635
|
+
}).m(function(Command, cs, config, o) {
|
|
1636
|
+
return [
|
|
1637
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1638
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1639
|
+
];
|
|
1640
|
+
}).s("Timestream_20181101", "DescribeEndpoints", {}).n("TimestreamWriteClient", "DescribeEndpointsCommand").f(void 0, void 0).ser(se_DescribeEndpointsCommand).de(de_DescribeEndpointsCommand).build() {
|
|
1641
|
+
};
|
|
1642
|
+
__name(_DescribeEndpointsCommand, "DescribeEndpointsCommand");
|
|
1643
|
+
var DescribeEndpointsCommand = _DescribeEndpointsCommand;
|
|
1644
|
+
|
|
1645
|
+
// src/TimestreamWriteClient.ts
|
|
1646
|
+
var import_runtimeConfig = require("././runtimeConfig");
|
|
1647
|
+
|
|
1648
|
+
// src/runtimeExtensions.ts
|
|
1649
|
+
var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
|
|
1650
|
+
|
|
1651
|
+
|
|
1652
|
+
var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
|
|
1653
|
+
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
1654
|
+
const extensionConfiguration = {
|
|
1655
|
+
...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
|
|
1656
|
+
...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
1657
|
+
...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig))
|
|
1658
|
+
};
|
|
1659
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
1660
|
+
return {
|
|
1661
|
+
...runtimeConfig,
|
|
1662
|
+
...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
1663
|
+
...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
1664
|
+
...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration)
|
|
1665
|
+
};
|
|
1666
|
+
}, "resolveRuntimeExtensions");
|
|
1667
|
+
|
|
1668
|
+
// src/TimestreamWriteClient.ts
|
|
1669
|
+
var _TimestreamWriteClient = class _TimestreamWriteClient extends import_smithy_client.Client {
|
|
1670
|
+
constructor(...[configuration]) {
|
|
1671
|
+
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
1672
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
1673
|
+
const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
|
|
1674
|
+
const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
|
|
1675
|
+
const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
|
|
1676
|
+
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
1677
|
+
const _config_6 = (0, import_middleware_signing.resolveAwsAuthConfig)(_config_5);
|
|
1678
|
+
const _config_7 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_6);
|
|
1679
|
+
const _config_8 = (0, import_middleware_endpoint_discovery.resolveEndpointDiscoveryConfig)(_config_7, {
|
|
1680
|
+
endpointDiscoveryCommandCtor: DescribeEndpointsCommand
|
|
1681
|
+
});
|
|
1682
|
+
const _config_9 = resolveRuntimeExtensions(_config_8, (configuration == null ? void 0 : configuration.extensions) || []);
|
|
1683
|
+
super(_config_9);
|
|
1684
|
+
this.config = _config_9;
|
|
1685
|
+
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
1686
|
+
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
1687
|
+
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
1688
|
+
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
1689
|
+
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
1690
|
+
this.middlewareStack.use((0, import_middleware_signing.getAwsAuthPlugin)(this.config));
|
|
1691
|
+
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
1692
|
+
}
|
|
1693
|
+
/**
|
|
1694
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
1695
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
1696
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
1697
|
+
*/
|
|
1698
|
+
destroy() {
|
|
1699
|
+
super.destroy();
|
|
1700
|
+
}
|
|
1701
|
+
};
|
|
1702
|
+
__name(_TimestreamWriteClient, "TimestreamWriteClient");
|
|
1703
|
+
var TimestreamWriteClient = _TimestreamWriteClient;
|
|
1704
|
+
|
|
1705
|
+
// src/TimestreamWrite.ts
|
|
1706
|
+
|
|
1707
|
+
|
|
1708
|
+
// src/commands/CreateBatchLoadTaskCommand.ts
|
|
1709
|
+
|
|
1710
|
+
|
|
1711
|
+
|
|
1712
|
+
|
|
1713
|
+
|
|
1714
|
+
var _CreateBatchLoadTaskCommand = class _CreateBatchLoadTaskCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1715
|
+
...commonParams
|
|
1716
|
+
}).m(function(Command, cs, config, o) {
|
|
1717
|
+
return [
|
|
1718
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1719
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
1720
|
+
(0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, { clientStack: cs, isDiscoveredEndpointRequired: true, options: o })
|
|
1721
|
+
];
|
|
1722
|
+
}).s("Timestream_20181101", "CreateBatchLoadTask", {}).n("TimestreamWriteClient", "CreateBatchLoadTaskCommand").f(CreateBatchLoadTaskRequestFilterSensitiveLog, void 0).ser(se_CreateBatchLoadTaskCommand).de(de_CreateBatchLoadTaskCommand).build() {
|
|
1723
|
+
};
|
|
1724
|
+
__name(_CreateBatchLoadTaskCommand, "CreateBatchLoadTaskCommand");
|
|
1725
|
+
var CreateBatchLoadTaskCommand = _CreateBatchLoadTaskCommand;
|
|
1726
|
+
|
|
1727
|
+
// src/commands/CreateDatabaseCommand.ts
|
|
1728
|
+
|
|
1729
|
+
|
|
1730
|
+
|
|
1731
|
+
|
|
1732
|
+
|
|
1733
|
+
var _CreateDatabaseCommand = class _CreateDatabaseCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1734
|
+
...commonParams
|
|
1735
|
+
}).m(function(Command, cs, config, o) {
|
|
1736
|
+
return [
|
|
1737
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1738
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
1739
|
+
(0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, { clientStack: cs, isDiscoveredEndpointRequired: true, options: o })
|
|
1740
|
+
];
|
|
1741
|
+
}).s("Timestream_20181101", "CreateDatabase", {}).n("TimestreamWriteClient", "CreateDatabaseCommand").f(void 0, void 0).ser(se_CreateDatabaseCommand).de(de_CreateDatabaseCommand).build() {
|
|
1742
|
+
};
|
|
1743
|
+
__name(_CreateDatabaseCommand, "CreateDatabaseCommand");
|
|
1744
|
+
var CreateDatabaseCommand = _CreateDatabaseCommand;
|
|
1745
|
+
|
|
1746
|
+
// src/commands/CreateTableCommand.ts
|
|
1747
|
+
|
|
1748
|
+
|
|
1749
|
+
|
|
1750
|
+
|
|
1751
|
+
|
|
1752
|
+
var _CreateTableCommand = class _CreateTableCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1753
|
+
...commonParams
|
|
1754
|
+
}).m(function(Command, cs, config, o) {
|
|
1755
|
+
return [
|
|
1756
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1757
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
1758
|
+
(0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, { clientStack: cs, isDiscoveredEndpointRequired: true, options: o })
|
|
1759
|
+
];
|
|
1760
|
+
}).s("Timestream_20181101", "CreateTable", {}).n("TimestreamWriteClient", "CreateTableCommand").f(void 0, void 0).ser(se_CreateTableCommand).de(de_CreateTableCommand).build() {
|
|
1761
|
+
};
|
|
1762
|
+
__name(_CreateTableCommand, "CreateTableCommand");
|
|
1763
|
+
var CreateTableCommand = _CreateTableCommand;
|
|
1764
|
+
|
|
1765
|
+
// src/commands/DeleteDatabaseCommand.ts
|
|
1766
|
+
|
|
1767
|
+
|
|
1768
|
+
|
|
1769
|
+
|
|
1770
|
+
|
|
1771
|
+
var _DeleteDatabaseCommand = class _DeleteDatabaseCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1772
|
+
...commonParams
|
|
1773
|
+
}).m(function(Command, cs, config, o) {
|
|
1774
|
+
return [
|
|
1775
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1776
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
1777
|
+
(0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, { clientStack: cs, isDiscoveredEndpointRequired: true, options: o })
|
|
1778
|
+
];
|
|
1779
|
+
}).s("Timestream_20181101", "DeleteDatabase", {}).n("TimestreamWriteClient", "DeleteDatabaseCommand").f(void 0, void 0).ser(se_DeleteDatabaseCommand).de(de_DeleteDatabaseCommand).build() {
|
|
1780
|
+
};
|
|
1781
|
+
__name(_DeleteDatabaseCommand, "DeleteDatabaseCommand");
|
|
1782
|
+
var DeleteDatabaseCommand = _DeleteDatabaseCommand;
|
|
1783
|
+
|
|
1784
|
+
// src/commands/DeleteTableCommand.ts
|
|
1785
|
+
|
|
1786
|
+
|
|
1787
|
+
|
|
1788
|
+
|
|
1789
|
+
|
|
1790
|
+
var _DeleteTableCommand = class _DeleteTableCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1791
|
+
...commonParams
|
|
1792
|
+
}).m(function(Command, cs, config, o) {
|
|
1793
|
+
return [
|
|
1794
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1795
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
1796
|
+
(0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, { clientStack: cs, isDiscoveredEndpointRequired: true, options: o })
|
|
1797
|
+
];
|
|
1798
|
+
}).s("Timestream_20181101", "DeleteTable", {}).n("TimestreamWriteClient", "DeleteTableCommand").f(void 0, void 0).ser(se_DeleteTableCommand).de(de_DeleteTableCommand).build() {
|
|
1799
|
+
};
|
|
1800
|
+
__name(_DeleteTableCommand, "DeleteTableCommand");
|
|
1801
|
+
var DeleteTableCommand = _DeleteTableCommand;
|
|
1802
|
+
|
|
1803
|
+
// src/commands/DescribeBatchLoadTaskCommand.ts
|
|
1804
|
+
|
|
1805
|
+
|
|
1806
|
+
|
|
1807
|
+
|
|
1808
|
+
|
|
1809
|
+
var _DescribeBatchLoadTaskCommand = class _DescribeBatchLoadTaskCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1810
|
+
...commonParams
|
|
1811
|
+
}).m(function(Command, cs, config, o) {
|
|
1812
|
+
return [
|
|
1813
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1814
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
1815
|
+
(0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, { clientStack: cs, isDiscoveredEndpointRequired: true, options: o })
|
|
1816
|
+
];
|
|
1817
|
+
}).s("Timestream_20181101", "DescribeBatchLoadTask", {}).n("TimestreamWriteClient", "DescribeBatchLoadTaskCommand").f(void 0, void 0).ser(se_DescribeBatchLoadTaskCommand).de(de_DescribeBatchLoadTaskCommand).build() {
|
|
1818
|
+
};
|
|
1819
|
+
__name(_DescribeBatchLoadTaskCommand, "DescribeBatchLoadTaskCommand");
|
|
1820
|
+
var DescribeBatchLoadTaskCommand = _DescribeBatchLoadTaskCommand;
|
|
1821
|
+
|
|
1822
|
+
// src/commands/DescribeDatabaseCommand.ts
|
|
1823
|
+
|
|
1824
|
+
|
|
1825
|
+
|
|
1826
|
+
|
|
1827
|
+
|
|
1828
|
+
var _DescribeDatabaseCommand = class _DescribeDatabaseCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1829
|
+
...commonParams
|
|
1830
|
+
}).m(function(Command, cs, config, o) {
|
|
1831
|
+
return [
|
|
1832
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1833
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
1834
|
+
(0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, { clientStack: cs, isDiscoveredEndpointRequired: true, options: o })
|
|
1835
|
+
];
|
|
1836
|
+
}).s("Timestream_20181101", "DescribeDatabase", {}).n("TimestreamWriteClient", "DescribeDatabaseCommand").f(void 0, void 0).ser(se_DescribeDatabaseCommand).de(de_DescribeDatabaseCommand).build() {
|
|
1837
|
+
};
|
|
1838
|
+
__name(_DescribeDatabaseCommand, "DescribeDatabaseCommand");
|
|
1839
|
+
var DescribeDatabaseCommand = _DescribeDatabaseCommand;
|
|
1840
|
+
|
|
1841
|
+
// src/commands/DescribeTableCommand.ts
|
|
1842
|
+
|
|
1843
|
+
|
|
1844
|
+
|
|
1845
|
+
|
|
1846
|
+
|
|
1847
|
+
var _DescribeTableCommand = class _DescribeTableCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1848
|
+
...commonParams
|
|
1849
|
+
}).m(function(Command, cs, config, o) {
|
|
1850
|
+
return [
|
|
1851
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1852
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
1853
|
+
(0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, { clientStack: cs, isDiscoveredEndpointRequired: true, options: o })
|
|
1854
|
+
];
|
|
1855
|
+
}).s("Timestream_20181101", "DescribeTable", {}).n("TimestreamWriteClient", "DescribeTableCommand").f(void 0, void 0).ser(se_DescribeTableCommand).de(de_DescribeTableCommand).build() {
|
|
1856
|
+
};
|
|
1857
|
+
__name(_DescribeTableCommand, "DescribeTableCommand");
|
|
1858
|
+
var DescribeTableCommand = _DescribeTableCommand;
|
|
1859
|
+
|
|
1860
|
+
// src/commands/ListBatchLoadTasksCommand.ts
|
|
1861
|
+
|
|
1862
|
+
|
|
1863
|
+
|
|
1864
|
+
|
|
1865
|
+
|
|
1866
|
+
var _ListBatchLoadTasksCommand = class _ListBatchLoadTasksCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1867
|
+
...commonParams
|
|
1868
|
+
}).m(function(Command, cs, config, o) {
|
|
1869
|
+
return [
|
|
1870
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1871
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
1872
|
+
(0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, { clientStack: cs, isDiscoveredEndpointRequired: true, options: o })
|
|
1873
|
+
];
|
|
1874
|
+
}).s("Timestream_20181101", "ListBatchLoadTasks", {}).n("TimestreamWriteClient", "ListBatchLoadTasksCommand").f(void 0, void 0).ser(se_ListBatchLoadTasksCommand).de(de_ListBatchLoadTasksCommand).build() {
|
|
1875
|
+
};
|
|
1876
|
+
__name(_ListBatchLoadTasksCommand, "ListBatchLoadTasksCommand");
|
|
1877
|
+
var ListBatchLoadTasksCommand = _ListBatchLoadTasksCommand;
|
|
1878
|
+
|
|
1879
|
+
// src/commands/ListDatabasesCommand.ts
|
|
1880
|
+
|
|
1881
|
+
|
|
1882
|
+
|
|
1883
|
+
|
|
1884
|
+
|
|
1885
|
+
var _ListDatabasesCommand = class _ListDatabasesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1886
|
+
...commonParams
|
|
1887
|
+
}).m(function(Command, cs, config, o) {
|
|
1888
|
+
return [
|
|
1889
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1890
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
1891
|
+
(0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, { clientStack: cs, isDiscoveredEndpointRequired: true, options: o })
|
|
1892
|
+
];
|
|
1893
|
+
}).s("Timestream_20181101", "ListDatabases", {}).n("TimestreamWriteClient", "ListDatabasesCommand").f(void 0, void 0).ser(se_ListDatabasesCommand).de(de_ListDatabasesCommand).build() {
|
|
1894
|
+
};
|
|
1895
|
+
__name(_ListDatabasesCommand, "ListDatabasesCommand");
|
|
1896
|
+
var ListDatabasesCommand = _ListDatabasesCommand;
|
|
1897
|
+
|
|
1898
|
+
// src/commands/ListTablesCommand.ts
|
|
1899
|
+
|
|
1900
|
+
|
|
1901
|
+
|
|
1902
|
+
|
|
1903
|
+
|
|
1904
|
+
var _ListTablesCommand = class _ListTablesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1905
|
+
...commonParams
|
|
1906
|
+
}).m(function(Command, cs, config, o) {
|
|
1907
|
+
return [
|
|
1908
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1909
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
1910
|
+
(0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, { clientStack: cs, isDiscoveredEndpointRequired: true, options: o })
|
|
1911
|
+
];
|
|
1912
|
+
}).s("Timestream_20181101", "ListTables", {}).n("TimestreamWriteClient", "ListTablesCommand").f(void 0, void 0).ser(se_ListTablesCommand).de(de_ListTablesCommand).build() {
|
|
1913
|
+
};
|
|
1914
|
+
__name(_ListTablesCommand, "ListTablesCommand");
|
|
1915
|
+
var ListTablesCommand = _ListTablesCommand;
|
|
1916
|
+
|
|
1917
|
+
// src/commands/ListTagsForResourceCommand.ts
|
|
1918
|
+
|
|
1919
|
+
|
|
1920
|
+
|
|
1921
|
+
|
|
1922
|
+
|
|
1923
|
+
var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1924
|
+
...commonParams
|
|
1925
|
+
}).m(function(Command, cs, config, o) {
|
|
1926
|
+
return [
|
|
1927
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1928
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
1929
|
+
(0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, { clientStack: cs, isDiscoveredEndpointRequired: true, options: o })
|
|
1930
|
+
];
|
|
1931
|
+
}).s("Timestream_20181101", "ListTagsForResource", {}).n("TimestreamWriteClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
|
|
1932
|
+
};
|
|
1933
|
+
__name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
|
|
1934
|
+
var ListTagsForResourceCommand = _ListTagsForResourceCommand;
|
|
1935
|
+
|
|
1936
|
+
// src/commands/ResumeBatchLoadTaskCommand.ts
|
|
1937
|
+
|
|
1938
|
+
|
|
1939
|
+
|
|
1940
|
+
|
|
1941
|
+
|
|
1942
|
+
var _ResumeBatchLoadTaskCommand = class _ResumeBatchLoadTaskCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1943
|
+
...commonParams
|
|
1944
|
+
}).m(function(Command, cs, config, o) {
|
|
1945
|
+
return [
|
|
1946
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1947
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
1948
|
+
(0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, { clientStack: cs, isDiscoveredEndpointRequired: true, options: o })
|
|
1949
|
+
];
|
|
1950
|
+
}).s("Timestream_20181101", "ResumeBatchLoadTask", {}).n("TimestreamWriteClient", "ResumeBatchLoadTaskCommand").f(void 0, void 0).ser(se_ResumeBatchLoadTaskCommand).de(de_ResumeBatchLoadTaskCommand).build() {
|
|
1951
|
+
};
|
|
1952
|
+
__name(_ResumeBatchLoadTaskCommand, "ResumeBatchLoadTaskCommand");
|
|
1953
|
+
var ResumeBatchLoadTaskCommand = _ResumeBatchLoadTaskCommand;
|
|
1954
|
+
|
|
1955
|
+
// src/commands/TagResourceCommand.ts
|
|
1956
|
+
|
|
1957
|
+
|
|
1958
|
+
|
|
1959
|
+
|
|
1960
|
+
|
|
1961
|
+
var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1962
|
+
...commonParams
|
|
1963
|
+
}).m(function(Command, cs, config, o) {
|
|
1964
|
+
return [
|
|
1965
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1966
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
1967
|
+
(0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, { clientStack: cs, isDiscoveredEndpointRequired: true, options: o })
|
|
1968
|
+
];
|
|
1969
|
+
}).s("Timestream_20181101", "TagResource", {}).n("TimestreamWriteClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
|
|
1970
|
+
};
|
|
1971
|
+
__name(_TagResourceCommand, "TagResourceCommand");
|
|
1972
|
+
var TagResourceCommand = _TagResourceCommand;
|
|
1973
|
+
|
|
1974
|
+
// src/commands/UntagResourceCommand.ts
|
|
1975
|
+
|
|
1976
|
+
|
|
1977
|
+
|
|
1978
|
+
|
|
1979
|
+
|
|
1980
|
+
var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1981
|
+
...commonParams
|
|
1982
|
+
}).m(function(Command, cs, config, o) {
|
|
1983
|
+
return [
|
|
1984
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1985
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
1986
|
+
(0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, { clientStack: cs, isDiscoveredEndpointRequired: true, options: o })
|
|
1987
|
+
];
|
|
1988
|
+
}).s("Timestream_20181101", "UntagResource", {}).n("TimestreamWriteClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
|
|
1989
|
+
};
|
|
1990
|
+
__name(_UntagResourceCommand, "UntagResourceCommand");
|
|
1991
|
+
var UntagResourceCommand = _UntagResourceCommand;
|
|
1992
|
+
|
|
1993
|
+
// src/commands/UpdateDatabaseCommand.ts
|
|
1994
|
+
|
|
1995
|
+
|
|
1996
|
+
|
|
1997
|
+
|
|
1998
|
+
|
|
1999
|
+
var _UpdateDatabaseCommand = class _UpdateDatabaseCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2000
|
+
...commonParams
|
|
2001
|
+
}).m(function(Command, cs, config, o) {
|
|
2002
|
+
return [
|
|
2003
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2004
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
2005
|
+
(0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, { clientStack: cs, isDiscoveredEndpointRequired: true, options: o })
|
|
2006
|
+
];
|
|
2007
|
+
}).s("Timestream_20181101", "UpdateDatabase", {}).n("TimestreamWriteClient", "UpdateDatabaseCommand").f(void 0, void 0).ser(se_UpdateDatabaseCommand).de(de_UpdateDatabaseCommand).build() {
|
|
2008
|
+
};
|
|
2009
|
+
__name(_UpdateDatabaseCommand, "UpdateDatabaseCommand");
|
|
2010
|
+
var UpdateDatabaseCommand = _UpdateDatabaseCommand;
|
|
2011
|
+
|
|
2012
|
+
// src/commands/UpdateTableCommand.ts
|
|
2013
|
+
|
|
2014
|
+
|
|
2015
|
+
|
|
2016
|
+
|
|
2017
|
+
|
|
2018
|
+
var _UpdateTableCommand = class _UpdateTableCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2019
|
+
...commonParams
|
|
2020
|
+
}).m(function(Command, cs, config, o) {
|
|
2021
|
+
return [
|
|
2022
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2023
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
2024
|
+
(0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, { clientStack: cs, isDiscoveredEndpointRequired: true, options: o })
|
|
2025
|
+
];
|
|
2026
|
+
}).s("Timestream_20181101", "UpdateTable", {}).n("TimestreamWriteClient", "UpdateTableCommand").f(void 0, void 0).ser(se_UpdateTableCommand).de(de_UpdateTableCommand).build() {
|
|
2027
|
+
};
|
|
2028
|
+
__name(_UpdateTableCommand, "UpdateTableCommand");
|
|
2029
|
+
var UpdateTableCommand = _UpdateTableCommand;
|
|
2030
|
+
|
|
2031
|
+
// src/commands/WriteRecordsCommand.ts
|
|
2032
|
+
|
|
2033
|
+
|
|
2034
|
+
|
|
2035
|
+
|
|
2036
|
+
|
|
2037
|
+
var _WriteRecordsCommand = class _WriteRecordsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2038
|
+
...commonParams
|
|
2039
|
+
}).m(function(Command, cs, config, o) {
|
|
2040
|
+
return [
|
|
2041
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2042
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
2043
|
+
(0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, { clientStack: cs, isDiscoveredEndpointRequired: true, options: o })
|
|
2044
|
+
];
|
|
2045
|
+
}).s("Timestream_20181101", "WriteRecords", {}).n("TimestreamWriteClient", "WriteRecordsCommand").f(void 0, void 0).ser(se_WriteRecordsCommand).de(de_WriteRecordsCommand).build() {
|
|
2046
|
+
};
|
|
2047
|
+
__name(_WriteRecordsCommand, "WriteRecordsCommand");
|
|
2048
|
+
var WriteRecordsCommand = _WriteRecordsCommand;
|
|
2049
|
+
|
|
2050
|
+
// src/TimestreamWrite.ts
|
|
2051
|
+
var commands = {
|
|
2052
|
+
CreateBatchLoadTaskCommand,
|
|
2053
|
+
CreateDatabaseCommand,
|
|
2054
|
+
CreateTableCommand,
|
|
2055
|
+
DeleteDatabaseCommand,
|
|
2056
|
+
DeleteTableCommand,
|
|
2057
|
+
DescribeBatchLoadTaskCommand,
|
|
2058
|
+
DescribeDatabaseCommand,
|
|
2059
|
+
DescribeEndpointsCommand,
|
|
2060
|
+
DescribeTableCommand,
|
|
2061
|
+
ListBatchLoadTasksCommand,
|
|
2062
|
+
ListDatabasesCommand,
|
|
2063
|
+
ListTablesCommand,
|
|
2064
|
+
ListTagsForResourceCommand,
|
|
2065
|
+
ResumeBatchLoadTaskCommand,
|
|
2066
|
+
TagResourceCommand,
|
|
2067
|
+
UntagResourceCommand,
|
|
2068
|
+
UpdateDatabaseCommand,
|
|
2069
|
+
UpdateTableCommand,
|
|
2070
|
+
WriteRecordsCommand
|
|
2071
|
+
};
|
|
2072
|
+
var _TimestreamWrite = class _TimestreamWrite extends TimestreamWriteClient {
|
|
2073
|
+
};
|
|
2074
|
+
__name(_TimestreamWrite, "TimestreamWrite");
|
|
2075
|
+
var TimestreamWrite = _TimestreamWrite;
|
|
2076
|
+
(0, import_smithy_client.createAggregatedClient)(commands, TimestreamWrite);
|
|
2077
|
+
|
|
2078
|
+
// src/pagination/ListBatchLoadTasksPaginator.ts
|
|
2079
|
+
var import_core = require("@smithy/core");
|
|
2080
|
+
var paginateListBatchLoadTasks = (0, import_core.createPaginator)(TimestreamWriteClient, ListBatchLoadTasksCommand, "NextToken", "NextToken", "MaxResults");
|
|
2081
|
+
|
|
2082
|
+
// src/pagination/ListDatabasesPaginator.ts
|
|
2083
|
+
|
|
2084
|
+
var paginateListDatabases = (0, import_core.createPaginator)(TimestreamWriteClient, ListDatabasesCommand, "NextToken", "NextToken", "MaxResults");
|
|
2085
|
+
|
|
2086
|
+
// src/pagination/ListTablesPaginator.ts
|
|
2087
|
+
|
|
2088
|
+
var paginateListTables = (0, import_core.createPaginator)(TimestreamWriteClient, ListTablesCommand, "NextToken", "NextToken", "MaxResults");
|
|
2089
|
+
|
|
2090
|
+
// src/index.ts
|
|
2091
|
+
var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
2092
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
2093
|
+
0 && (module.exports = {
|
|
2094
|
+
AccessDeniedException,
|
|
2095
|
+
BatchLoadDataFormat,
|
|
2096
|
+
BatchLoadStatus,
|
|
2097
|
+
ConflictException,
|
|
2098
|
+
CreateBatchLoadTaskCommand,
|
|
2099
|
+
CreateBatchLoadTaskRequestFilterSensitiveLog,
|
|
2100
|
+
CreateDatabaseCommand,
|
|
2101
|
+
CreateTableCommand,
|
|
2102
|
+
DeleteDatabaseCommand,
|
|
2103
|
+
DeleteTableCommand,
|
|
2104
|
+
DescribeBatchLoadTaskCommand,
|
|
2105
|
+
DescribeDatabaseCommand,
|
|
2106
|
+
DescribeEndpointsCommand,
|
|
2107
|
+
DescribeTableCommand,
|
|
2108
|
+
DimensionValueType,
|
|
2109
|
+
InternalServerException,
|
|
2110
|
+
InvalidEndpointException,
|
|
2111
|
+
ListBatchLoadTasksCommand,
|
|
2112
|
+
ListDatabasesCommand,
|
|
2113
|
+
ListTablesCommand,
|
|
2114
|
+
ListTagsForResourceCommand,
|
|
2115
|
+
MeasureValueType,
|
|
2116
|
+
PartitionKeyEnforcementLevel,
|
|
2117
|
+
PartitionKeyType,
|
|
2118
|
+
RejectedRecordsException,
|
|
2119
|
+
ResourceNotFoundException,
|
|
2120
|
+
ResumeBatchLoadTaskCommand,
|
|
2121
|
+
S3EncryptionOption,
|
|
2122
|
+
ScalarMeasureValueType,
|
|
2123
|
+
ServiceQuotaExceededException,
|
|
2124
|
+
TableStatus,
|
|
2125
|
+
TagResourceCommand,
|
|
2126
|
+
ThrottlingException,
|
|
2127
|
+
TimeUnit,
|
|
2128
|
+
TimestreamWrite,
|
|
2129
|
+
TimestreamWriteClient,
|
|
2130
|
+
TimestreamWriteServiceException,
|
|
2131
|
+
UntagResourceCommand,
|
|
2132
|
+
UpdateDatabaseCommand,
|
|
2133
|
+
UpdateTableCommand,
|
|
2134
|
+
ValidationException,
|
|
2135
|
+
WriteRecordsCommand,
|
|
2136
|
+
__Client,
|
|
2137
|
+
paginateListBatchLoadTasks,
|
|
2138
|
+
paginateListDatabases,
|
|
2139
|
+
paginateListTables
|
|
2140
|
+
});
|