@aws-sdk/client-iot-wireless 3.503.1 → 3.507.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +129 -3519
- package/dist-es/protocols/Aws_restJson1.js +280 -3670
- package/package.json +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -2214,7 +2214,7 @@ var se_UpdateWirelessGatewayCommand = /* @__PURE__ */ __name(async (input, conte
|
|
|
2214
2214
|
}, "se_UpdateWirelessGatewayCommand");
|
|
2215
2215
|
var de_AssociateAwsAccountWithPartnerAccountCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2216
2216
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2217
|
-
return
|
|
2217
|
+
return de_CommandError(output, context);
|
|
2218
2218
|
}
|
|
2219
2219
|
const contents = (0, import_smithy_client.map)({
|
|
2220
2220
|
$metadata: deserializeMetadata(output)
|
|
@@ -2227,43 +2227,9 @@ var de_AssociateAwsAccountWithPartnerAccountCommand = /* @__PURE__ */ __name(asy
|
|
|
2227
2227
|
Object.assign(contents, doc);
|
|
2228
2228
|
return contents;
|
|
2229
2229
|
}, "de_AssociateAwsAccountWithPartnerAccountCommand");
|
|
2230
|
-
var de_AssociateAwsAccountWithPartnerAccountCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2231
|
-
const parsedOutput = {
|
|
2232
|
-
...output,
|
|
2233
|
-
body: await parseErrorBody(output.body, context)
|
|
2234
|
-
};
|
|
2235
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2236
|
-
switch (errorCode) {
|
|
2237
|
-
case "AccessDeniedException":
|
|
2238
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
2239
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2240
|
-
case "ConflictException":
|
|
2241
|
-
case "com.amazonaws.iotwireless#ConflictException":
|
|
2242
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2243
|
-
case "InternalServerException":
|
|
2244
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
2245
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2246
|
-
case "ResourceNotFoundException":
|
|
2247
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
2248
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2249
|
-
case "ThrottlingException":
|
|
2250
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
2251
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2252
|
-
case "ValidationException":
|
|
2253
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
2254
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2255
|
-
default:
|
|
2256
|
-
const parsedBody = parsedOutput.body;
|
|
2257
|
-
return throwDefaultError({
|
|
2258
|
-
output,
|
|
2259
|
-
parsedBody,
|
|
2260
|
-
errorCode
|
|
2261
|
-
});
|
|
2262
|
-
}
|
|
2263
|
-
}, "de_AssociateAwsAccountWithPartnerAccountCommandError");
|
|
2264
2230
|
var de_AssociateMulticastGroupWithFuotaTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2265
2231
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
2266
|
-
return
|
|
2232
|
+
return de_CommandError(output, context);
|
|
2267
2233
|
}
|
|
2268
2234
|
const contents = (0, import_smithy_client.map)({
|
|
2269
2235
|
$metadata: deserializeMetadata(output)
|
|
@@ -2271,43 +2237,9 @@ var de_AssociateMulticastGroupWithFuotaTaskCommand = /* @__PURE__ */ __name(asyn
|
|
|
2271
2237
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2272
2238
|
return contents;
|
|
2273
2239
|
}, "de_AssociateMulticastGroupWithFuotaTaskCommand");
|
|
2274
|
-
var de_AssociateMulticastGroupWithFuotaTaskCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2275
|
-
const parsedOutput = {
|
|
2276
|
-
...output,
|
|
2277
|
-
body: await parseErrorBody(output.body, context)
|
|
2278
|
-
};
|
|
2279
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2280
|
-
switch (errorCode) {
|
|
2281
|
-
case "AccessDeniedException":
|
|
2282
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
2283
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2284
|
-
case "ConflictException":
|
|
2285
|
-
case "com.amazonaws.iotwireless#ConflictException":
|
|
2286
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2287
|
-
case "InternalServerException":
|
|
2288
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
2289
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2290
|
-
case "ResourceNotFoundException":
|
|
2291
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
2292
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2293
|
-
case "ThrottlingException":
|
|
2294
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
2295
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2296
|
-
case "ValidationException":
|
|
2297
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
2298
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2299
|
-
default:
|
|
2300
|
-
const parsedBody = parsedOutput.body;
|
|
2301
|
-
return throwDefaultError({
|
|
2302
|
-
output,
|
|
2303
|
-
parsedBody,
|
|
2304
|
-
errorCode
|
|
2305
|
-
});
|
|
2306
|
-
}
|
|
2307
|
-
}, "de_AssociateMulticastGroupWithFuotaTaskCommandError");
|
|
2308
2240
|
var de_AssociateWirelessDeviceWithFuotaTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2309
2241
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
2310
|
-
return
|
|
2242
|
+
return de_CommandError(output, context);
|
|
2311
2243
|
}
|
|
2312
2244
|
const contents = (0, import_smithy_client.map)({
|
|
2313
2245
|
$metadata: deserializeMetadata(output)
|
|
@@ -2315,43 +2247,9 @@ var de_AssociateWirelessDeviceWithFuotaTaskCommand = /* @__PURE__ */ __name(asyn
|
|
|
2315
2247
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2316
2248
|
return contents;
|
|
2317
2249
|
}, "de_AssociateWirelessDeviceWithFuotaTaskCommand");
|
|
2318
|
-
var de_AssociateWirelessDeviceWithFuotaTaskCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2319
|
-
const parsedOutput = {
|
|
2320
|
-
...output,
|
|
2321
|
-
body: await parseErrorBody(output.body, context)
|
|
2322
|
-
};
|
|
2323
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2324
|
-
switch (errorCode) {
|
|
2325
|
-
case "AccessDeniedException":
|
|
2326
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
2327
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2328
|
-
case "ConflictException":
|
|
2329
|
-
case "com.amazonaws.iotwireless#ConflictException":
|
|
2330
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2331
|
-
case "InternalServerException":
|
|
2332
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
2333
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2334
|
-
case "ResourceNotFoundException":
|
|
2335
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
2336
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2337
|
-
case "ThrottlingException":
|
|
2338
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
2339
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2340
|
-
case "ValidationException":
|
|
2341
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
2342
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2343
|
-
default:
|
|
2344
|
-
const parsedBody = parsedOutput.body;
|
|
2345
|
-
return throwDefaultError({
|
|
2346
|
-
output,
|
|
2347
|
-
parsedBody,
|
|
2348
|
-
errorCode
|
|
2349
|
-
});
|
|
2350
|
-
}
|
|
2351
|
-
}, "de_AssociateWirelessDeviceWithFuotaTaskCommandError");
|
|
2352
2250
|
var de_AssociateWirelessDeviceWithMulticastGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2353
2251
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
2354
|
-
return
|
|
2252
|
+
return de_CommandError(output, context);
|
|
2355
2253
|
}
|
|
2356
2254
|
const contents = (0, import_smithy_client.map)({
|
|
2357
2255
|
$metadata: deserializeMetadata(output)
|
|
@@ -2359,43 +2257,9 @@ var de_AssociateWirelessDeviceWithMulticastGroupCommand = /* @__PURE__ */ __name
|
|
|
2359
2257
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2360
2258
|
return contents;
|
|
2361
2259
|
}, "de_AssociateWirelessDeviceWithMulticastGroupCommand");
|
|
2362
|
-
var de_AssociateWirelessDeviceWithMulticastGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2363
|
-
const parsedOutput = {
|
|
2364
|
-
...output,
|
|
2365
|
-
body: await parseErrorBody(output.body, context)
|
|
2366
|
-
};
|
|
2367
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2368
|
-
switch (errorCode) {
|
|
2369
|
-
case "AccessDeniedException":
|
|
2370
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
2371
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2372
|
-
case "ConflictException":
|
|
2373
|
-
case "com.amazonaws.iotwireless#ConflictException":
|
|
2374
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2375
|
-
case "InternalServerException":
|
|
2376
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
2377
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2378
|
-
case "ResourceNotFoundException":
|
|
2379
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
2380
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2381
|
-
case "ThrottlingException":
|
|
2382
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
2383
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2384
|
-
case "ValidationException":
|
|
2385
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
2386
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2387
|
-
default:
|
|
2388
|
-
const parsedBody = parsedOutput.body;
|
|
2389
|
-
return throwDefaultError({
|
|
2390
|
-
output,
|
|
2391
|
-
parsedBody,
|
|
2392
|
-
errorCode
|
|
2393
|
-
});
|
|
2394
|
-
}
|
|
2395
|
-
}, "de_AssociateWirelessDeviceWithMulticastGroupCommandError");
|
|
2396
2260
|
var de_AssociateWirelessDeviceWithThingCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2397
2261
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
2398
|
-
return
|
|
2262
|
+
return de_CommandError(output, context);
|
|
2399
2263
|
}
|
|
2400
2264
|
const contents = (0, import_smithy_client.map)({
|
|
2401
2265
|
$metadata: deserializeMetadata(output)
|
|
@@ -2403,43 +2267,9 @@ var de_AssociateWirelessDeviceWithThingCommand = /* @__PURE__ */ __name(async (o
|
|
|
2403
2267
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2404
2268
|
return contents;
|
|
2405
2269
|
}, "de_AssociateWirelessDeviceWithThingCommand");
|
|
2406
|
-
var de_AssociateWirelessDeviceWithThingCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2407
|
-
const parsedOutput = {
|
|
2408
|
-
...output,
|
|
2409
|
-
body: await parseErrorBody(output.body, context)
|
|
2410
|
-
};
|
|
2411
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2412
|
-
switch (errorCode) {
|
|
2413
|
-
case "AccessDeniedException":
|
|
2414
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
2415
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2416
|
-
case "ConflictException":
|
|
2417
|
-
case "com.amazonaws.iotwireless#ConflictException":
|
|
2418
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2419
|
-
case "InternalServerException":
|
|
2420
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
2421
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2422
|
-
case "ResourceNotFoundException":
|
|
2423
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
2424
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2425
|
-
case "ThrottlingException":
|
|
2426
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
2427
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2428
|
-
case "ValidationException":
|
|
2429
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
2430
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2431
|
-
default:
|
|
2432
|
-
const parsedBody = parsedOutput.body;
|
|
2433
|
-
return throwDefaultError({
|
|
2434
|
-
output,
|
|
2435
|
-
parsedBody,
|
|
2436
|
-
errorCode
|
|
2437
|
-
});
|
|
2438
|
-
}
|
|
2439
|
-
}, "de_AssociateWirelessDeviceWithThingCommandError");
|
|
2440
2270
|
var de_AssociateWirelessGatewayWithCertificateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2441
2271
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2442
|
-
return
|
|
2272
|
+
return de_CommandError(output, context);
|
|
2443
2273
|
}
|
|
2444
2274
|
const contents = (0, import_smithy_client.map)({
|
|
2445
2275
|
$metadata: deserializeMetadata(output)
|
|
@@ -2451,43 +2281,9 @@ var de_AssociateWirelessGatewayWithCertificateCommand = /* @__PURE__ */ __name(a
|
|
|
2451
2281
|
Object.assign(contents, doc);
|
|
2452
2282
|
return contents;
|
|
2453
2283
|
}, "de_AssociateWirelessGatewayWithCertificateCommand");
|
|
2454
|
-
var de_AssociateWirelessGatewayWithCertificateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2455
|
-
const parsedOutput = {
|
|
2456
|
-
...output,
|
|
2457
|
-
body: await parseErrorBody(output.body, context)
|
|
2458
|
-
};
|
|
2459
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2460
|
-
switch (errorCode) {
|
|
2461
|
-
case "AccessDeniedException":
|
|
2462
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
2463
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2464
|
-
case "ConflictException":
|
|
2465
|
-
case "com.amazonaws.iotwireless#ConflictException":
|
|
2466
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2467
|
-
case "InternalServerException":
|
|
2468
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
2469
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2470
|
-
case "ResourceNotFoundException":
|
|
2471
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
2472
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2473
|
-
case "ThrottlingException":
|
|
2474
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
2475
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2476
|
-
case "ValidationException":
|
|
2477
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
2478
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2479
|
-
default:
|
|
2480
|
-
const parsedBody = parsedOutput.body;
|
|
2481
|
-
return throwDefaultError({
|
|
2482
|
-
output,
|
|
2483
|
-
parsedBody,
|
|
2484
|
-
errorCode
|
|
2485
|
-
});
|
|
2486
|
-
}
|
|
2487
|
-
}, "de_AssociateWirelessGatewayWithCertificateCommandError");
|
|
2488
2284
|
var de_AssociateWirelessGatewayWithThingCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2489
2285
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
2490
|
-
return
|
|
2286
|
+
return de_CommandError(output, context);
|
|
2491
2287
|
}
|
|
2492
2288
|
const contents = (0, import_smithy_client.map)({
|
|
2493
2289
|
$metadata: deserializeMetadata(output)
|
|
@@ -2495,43 +2291,9 @@ var de_AssociateWirelessGatewayWithThingCommand = /* @__PURE__ */ __name(async (
|
|
|
2495
2291
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2496
2292
|
return contents;
|
|
2497
2293
|
}, "de_AssociateWirelessGatewayWithThingCommand");
|
|
2498
|
-
var de_AssociateWirelessGatewayWithThingCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2499
|
-
const parsedOutput = {
|
|
2500
|
-
...output,
|
|
2501
|
-
body: await parseErrorBody(output.body, context)
|
|
2502
|
-
};
|
|
2503
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2504
|
-
switch (errorCode) {
|
|
2505
|
-
case "AccessDeniedException":
|
|
2506
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
2507
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2508
|
-
case "ConflictException":
|
|
2509
|
-
case "com.amazonaws.iotwireless#ConflictException":
|
|
2510
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2511
|
-
case "InternalServerException":
|
|
2512
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
2513
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2514
|
-
case "ResourceNotFoundException":
|
|
2515
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
2516
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2517
|
-
case "ThrottlingException":
|
|
2518
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
2519
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2520
|
-
case "ValidationException":
|
|
2521
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
2522
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2523
|
-
default:
|
|
2524
|
-
const parsedBody = parsedOutput.body;
|
|
2525
|
-
return throwDefaultError({
|
|
2526
|
-
output,
|
|
2527
|
-
parsedBody,
|
|
2528
|
-
errorCode
|
|
2529
|
-
});
|
|
2530
|
-
}
|
|
2531
|
-
}, "de_AssociateWirelessGatewayWithThingCommandError");
|
|
2532
2294
|
var de_CancelMulticastGroupSessionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2533
2295
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
2534
|
-
return
|
|
2296
|
+
return de_CommandError(output, context);
|
|
2535
2297
|
}
|
|
2536
2298
|
const contents = (0, import_smithy_client.map)({
|
|
2537
2299
|
$metadata: deserializeMetadata(output)
|
|
@@ -2539,43 +2301,9 @@ var de_CancelMulticastGroupSessionCommand = /* @__PURE__ */ __name(async (output
|
|
|
2539
2301
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2540
2302
|
return contents;
|
|
2541
2303
|
}, "de_CancelMulticastGroupSessionCommand");
|
|
2542
|
-
var de_CancelMulticastGroupSessionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2543
|
-
const parsedOutput = {
|
|
2544
|
-
...output,
|
|
2545
|
-
body: await parseErrorBody(output.body, context)
|
|
2546
|
-
};
|
|
2547
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2548
|
-
switch (errorCode) {
|
|
2549
|
-
case "AccessDeniedException":
|
|
2550
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
2551
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2552
|
-
case "ConflictException":
|
|
2553
|
-
case "com.amazonaws.iotwireless#ConflictException":
|
|
2554
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2555
|
-
case "InternalServerException":
|
|
2556
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
2557
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2558
|
-
case "ResourceNotFoundException":
|
|
2559
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
2560
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2561
|
-
case "ThrottlingException":
|
|
2562
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
2563
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2564
|
-
case "ValidationException":
|
|
2565
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
2566
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2567
|
-
default:
|
|
2568
|
-
const parsedBody = parsedOutput.body;
|
|
2569
|
-
return throwDefaultError({
|
|
2570
|
-
output,
|
|
2571
|
-
parsedBody,
|
|
2572
|
-
errorCode
|
|
2573
|
-
});
|
|
2574
|
-
}
|
|
2575
|
-
}, "de_CancelMulticastGroupSessionCommandError");
|
|
2576
2304
|
var de_CreateDestinationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2577
2305
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
2578
|
-
return
|
|
2306
|
+
return de_CommandError(output, context);
|
|
2579
2307
|
}
|
|
2580
2308
|
const contents = (0, import_smithy_client.map)({
|
|
2581
2309
|
$metadata: deserializeMetadata(output)
|
|
@@ -2588,43 +2316,9 @@ var de_CreateDestinationCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2588
2316
|
Object.assign(contents, doc);
|
|
2589
2317
|
return contents;
|
|
2590
2318
|
}, "de_CreateDestinationCommand");
|
|
2591
|
-
var de_CreateDestinationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2592
|
-
const parsedOutput = {
|
|
2593
|
-
...output,
|
|
2594
|
-
body: await parseErrorBody(output.body, context)
|
|
2595
|
-
};
|
|
2596
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2597
|
-
switch (errorCode) {
|
|
2598
|
-
case "AccessDeniedException":
|
|
2599
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
2600
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2601
|
-
case "ConflictException":
|
|
2602
|
-
case "com.amazonaws.iotwireless#ConflictException":
|
|
2603
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2604
|
-
case "InternalServerException":
|
|
2605
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
2606
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2607
|
-
case "ResourceNotFoundException":
|
|
2608
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
2609
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2610
|
-
case "ThrottlingException":
|
|
2611
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
2612
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2613
|
-
case "ValidationException":
|
|
2614
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
2615
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2616
|
-
default:
|
|
2617
|
-
const parsedBody = parsedOutput.body;
|
|
2618
|
-
return throwDefaultError({
|
|
2619
|
-
output,
|
|
2620
|
-
parsedBody,
|
|
2621
|
-
errorCode
|
|
2622
|
-
});
|
|
2623
|
-
}
|
|
2624
|
-
}, "de_CreateDestinationCommandError");
|
|
2625
2319
|
var de_CreateDeviceProfileCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2626
2320
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
2627
|
-
return
|
|
2321
|
+
return de_CommandError(output, context);
|
|
2628
2322
|
}
|
|
2629
2323
|
const contents = (0, import_smithy_client.map)({
|
|
2630
2324
|
$metadata: deserializeMetadata(output)
|
|
@@ -2637,40 +2331,9 @@ var de_CreateDeviceProfileCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
2637
2331
|
Object.assign(contents, doc);
|
|
2638
2332
|
return contents;
|
|
2639
2333
|
}, "de_CreateDeviceProfileCommand");
|
|
2640
|
-
var de_CreateDeviceProfileCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2641
|
-
const parsedOutput = {
|
|
2642
|
-
...output,
|
|
2643
|
-
body: await parseErrorBody(output.body, context)
|
|
2644
|
-
};
|
|
2645
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2646
|
-
switch (errorCode) {
|
|
2647
|
-
case "AccessDeniedException":
|
|
2648
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
2649
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2650
|
-
case "ConflictException":
|
|
2651
|
-
case "com.amazonaws.iotwireless#ConflictException":
|
|
2652
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2653
|
-
case "InternalServerException":
|
|
2654
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
2655
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2656
|
-
case "ThrottlingException":
|
|
2657
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
2658
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2659
|
-
case "ValidationException":
|
|
2660
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
2661
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2662
|
-
default:
|
|
2663
|
-
const parsedBody = parsedOutput.body;
|
|
2664
|
-
return throwDefaultError({
|
|
2665
|
-
output,
|
|
2666
|
-
parsedBody,
|
|
2667
|
-
errorCode
|
|
2668
|
-
});
|
|
2669
|
-
}
|
|
2670
|
-
}, "de_CreateDeviceProfileCommandError");
|
|
2671
2334
|
var de_CreateFuotaTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2672
2335
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
2673
|
-
return
|
|
2336
|
+
return de_CommandError(output, context);
|
|
2674
2337
|
}
|
|
2675
2338
|
const contents = (0, import_smithy_client.map)({
|
|
2676
2339
|
$metadata: deserializeMetadata(output)
|
|
@@ -2683,43 +2346,9 @@ var de_CreateFuotaTaskCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
2683
2346
|
Object.assign(contents, doc);
|
|
2684
2347
|
return contents;
|
|
2685
2348
|
}, "de_CreateFuotaTaskCommand");
|
|
2686
|
-
var de_CreateFuotaTaskCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2687
|
-
const parsedOutput = {
|
|
2688
|
-
...output,
|
|
2689
|
-
body: await parseErrorBody(output.body, context)
|
|
2690
|
-
};
|
|
2691
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2692
|
-
switch (errorCode) {
|
|
2693
|
-
case "AccessDeniedException":
|
|
2694
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
2695
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2696
|
-
case "ConflictException":
|
|
2697
|
-
case "com.amazonaws.iotwireless#ConflictException":
|
|
2698
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2699
|
-
case "InternalServerException":
|
|
2700
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
2701
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2702
|
-
case "ResourceNotFoundException":
|
|
2703
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
2704
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2705
|
-
case "ThrottlingException":
|
|
2706
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
2707
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2708
|
-
case "ValidationException":
|
|
2709
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
2710
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2711
|
-
default:
|
|
2712
|
-
const parsedBody = parsedOutput.body;
|
|
2713
|
-
return throwDefaultError({
|
|
2714
|
-
output,
|
|
2715
|
-
parsedBody,
|
|
2716
|
-
errorCode
|
|
2717
|
-
});
|
|
2718
|
-
}
|
|
2719
|
-
}, "de_CreateFuotaTaskCommandError");
|
|
2720
2349
|
var de_CreateMulticastGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2721
2350
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
2722
|
-
return
|
|
2351
|
+
return de_CommandError(output, context);
|
|
2723
2352
|
}
|
|
2724
2353
|
const contents = (0, import_smithy_client.map)({
|
|
2725
2354
|
$metadata: deserializeMetadata(output)
|
|
@@ -2732,43 +2361,9 @@ var de_CreateMulticastGroupCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
2732
2361
|
Object.assign(contents, doc);
|
|
2733
2362
|
return contents;
|
|
2734
2363
|
}, "de_CreateMulticastGroupCommand");
|
|
2735
|
-
var de_CreateMulticastGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2736
|
-
const parsedOutput = {
|
|
2737
|
-
...output,
|
|
2738
|
-
body: await parseErrorBody(output.body, context)
|
|
2739
|
-
};
|
|
2740
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2741
|
-
switch (errorCode) {
|
|
2742
|
-
case "AccessDeniedException":
|
|
2743
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
2744
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2745
|
-
case "ConflictException":
|
|
2746
|
-
case "com.amazonaws.iotwireless#ConflictException":
|
|
2747
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2748
|
-
case "InternalServerException":
|
|
2749
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
2750
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2751
|
-
case "ResourceNotFoundException":
|
|
2752
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
2753
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2754
|
-
case "ThrottlingException":
|
|
2755
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
2756
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2757
|
-
case "ValidationException":
|
|
2758
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
2759
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2760
|
-
default:
|
|
2761
|
-
const parsedBody = parsedOutput.body;
|
|
2762
|
-
return throwDefaultError({
|
|
2763
|
-
output,
|
|
2764
|
-
parsedBody,
|
|
2765
|
-
errorCode
|
|
2766
|
-
});
|
|
2767
|
-
}
|
|
2768
|
-
}, "de_CreateMulticastGroupCommandError");
|
|
2769
2364
|
var de_CreateNetworkAnalyzerConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2770
2365
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
2771
|
-
return
|
|
2366
|
+
return de_CommandError(output, context);
|
|
2772
2367
|
}
|
|
2773
2368
|
const contents = (0, import_smithy_client.map)({
|
|
2774
2369
|
$metadata: deserializeMetadata(output)
|
|
@@ -2781,43 +2376,9 @@ var de_CreateNetworkAnalyzerConfigurationCommand = /* @__PURE__ */ __name(async
|
|
|
2781
2376
|
Object.assign(contents, doc);
|
|
2782
2377
|
return contents;
|
|
2783
2378
|
}, "de_CreateNetworkAnalyzerConfigurationCommand");
|
|
2784
|
-
var de_CreateNetworkAnalyzerConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2785
|
-
const parsedOutput = {
|
|
2786
|
-
...output,
|
|
2787
|
-
body: await parseErrorBody(output.body, context)
|
|
2788
|
-
};
|
|
2789
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2790
|
-
switch (errorCode) {
|
|
2791
|
-
case "AccessDeniedException":
|
|
2792
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
2793
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2794
|
-
case "ConflictException":
|
|
2795
|
-
case "com.amazonaws.iotwireless#ConflictException":
|
|
2796
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2797
|
-
case "InternalServerException":
|
|
2798
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
2799
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2800
|
-
case "ResourceNotFoundException":
|
|
2801
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
2802
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2803
|
-
case "ThrottlingException":
|
|
2804
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
2805
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2806
|
-
case "ValidationException":
|
|
2807
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
2808
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2809
|
-
default:
|
|
2810
|
-
const parsedBody = parsedOutput.body;
|
|
2811
|
-
return throwDefaultError({
|
|
2812
|
-
output,
|
|
2813
|
-
parsedBody,
|
|
2814
|
-
errorCode
|
|
2815
|
-
});
|
|
2816
|
-
}
|
|
2817
|
-
}, "de_CreateNetworkAnalyzerConfigurationCommandError");
|
|
2818
2379
|
var de_CreateServiceProfileCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2819
2380
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
2820
|
-
return
|
|
2381
|
+
return de_CommandError(output, context);
|
|
2821
2382
|
}
|
|
2822
2383
|
const contents = (0, import_smithy_client.map)({
|
|
2823
2384
|
$metadata: deserializeMetadata(output)
|
|
@@ -2830,40 +2391,9 @@ var de_CreateServiceProfileCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
2830
2391
|
Object.assign(contents, doc);
|
|
2831
2392
|
return contents;
|
|
2832
2393
|
}, "de_CreateServiceProfileCommand");
|
|
2833
|
-
var de_CreateServiceProfileCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2834
|
-
const parsedOutput = {
|
|
2835
|
-
...output,
|
|
2836
|
-
body: await parseErrorBody(output.body, context)
|
|
2837
|
-
};
|
|
2838
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2839
|
-
switch (errorCode) {
|
|
2840
|
-
case "AccessDeniedException":
|
|
2841
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
2842
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2843
|
-
case "ConflictException":
|
|
2844
|
-
case "com.amazonaws.iotwireless#ConflictException":
|
|
2845
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2846
|
-
case "InternalServerException":
|
|
2847
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
2848
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2849
|
-
case "ThrottlingException":
|
|
2850
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
2851
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2852
|
-
case "ValidationException":
|
|
2853
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
2854
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2855
|
-
default:
|
|
2856
|
-
const parsedBody = parsedOutput.body;
|
|
2857
|
-
return throwDefaultError({
|
|
2858
|
-
output,
|
|
2859
|
-
parsedBody,
|
|
2860
|
-
errorCode
|
|
2861
|
-
});
|
|
2862
|
-
}
|
|
2863
|
-
}, "de_CreateServiceProfileCommandError");
|
|
2864
2394
|
var de_CreateWirelessDeviceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2865
2395
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
2866
|
-
return
|
|
2396
|
+
return de_CommandError(output, context);
|
|
2867
2397
|
}
|
|
2868
2398
|
const contents = (0, import_smithy_client.map)({
|
|
2869
2399
|
$metadata: deserializeMetadata(output)
|
|
@@ -2876,43 +2406,9 @@ var de_CreateWirelessDeviceCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
2876
2406
|
Object.assign(contents, doc);
|
|
2877
2407
|
return contents;
|
|
2878
2408
|
}, "de_CreateWirelessDeviceCommand");
|
|
2879
|
-
var de_CreateWirelessDeviceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2880
|
-
const parsedOutput = {
|
|
2881
|
-
...output,
|
|
2882
|
-
body: await parseErrorBody(output.body, context)
|
|
2883
|
-
};
|
|
2884
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2885
|
-
switch (errorCode) {
|
|
2886
|
-
case "AccessDeniedException":
|
|
2887
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
2888
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2889
|
-
case "ConflictException":
|
|
2890
|
-
case "com.amazonaws.iotwireless#ConflictException":
|
|
2891
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2892
|
-
case "InternalServerException":
|
|
2893
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
2894
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2895
|
-
case "ResourceNotFoundException":
|
|
2896
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
2897
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2898
|
-
case "ThrottlingException":
|
|
2899
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
2900
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2901
|
-
case "ValidationException":
|
|
2902
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
2903
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2904
|
-
default:
|
|
2905
|
-
const parsedBody = parsedOutput.body;
|
|
2906
|
-
return throwDefaultError({
|
|
2907
|
-
output,
|
|
2908
|
-
parsedBody,
|
|
2909
|
-
errorCode
|
|
2910
|
-
});
|
|
2911
|
-
}
|
|
2912
|
-
}, "de_CreateWirelessDeviceCommandError");
|
|
2913
2409
|
var de_CreateWirelessGatewayCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2914
2410
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
2915
|
-
return
|
|
2411
|
+
return de_CommandError(output, context);
|
|
2916
2412
|
}
|
|
2917
2413
|
const contents = (0, import_smithy_client.map)({
|
|
2918
2414
|
$metadata: deserializeMetadata(output)
|
|
@@ -2925,40 +2421,9 @@ var de_CreateWirelessGatewayCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
2925
2421
|
Object.assign(contents, doc);
|
|
2926
2422
|
return contents;
|
|
2927
2423
|
}, "de_CreateWirelessGatewayCommand");
|
|
2928
|
-
var de_CreateWirelessGatewayCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2929
|
-
const parsedOutput = {
|
|
2930
|
-
...output,
|
|
2931
|
-
body: await parseErrorBody(output.body, context)
|
|
2932
|
-
};
|
|
2933
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2934
|
-
switch (errorCode) {
|
|
2935
|
-
case "AccessDeniedException":
|
|
2936
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
2937
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2938
|
-
case "ConflictException":
|
|
2939
|
-
case "com.amazonaws.iotwireless#ConflictException":
|
|
2940
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2941
|
-
case "InternalServerException":
|
|
2942
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
2943
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2944
|
-
case "ThrottlingException":
|
|
2945
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
2946
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2947
|
-
case "ValidationException":
|
|
2948
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
2949
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2950
|
-
default:
|
|
2951
|
-
const parsedBody = parsedOutput.body;
|
|
2952
|
-
return throwDefaultError({
|
|
2953
|
-
output,
|
|
2954
|
-
parsedBody,
|
|
2955
|
-
errorCode
|
|
2956
|
-
});
|
|
2957
|
-
}
|
|
2958
|
-
}, "de_CreateWirelessGatewayCommandError");
|
|
2959
2424
|
var de_CreateWirelessGatewayTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2960
2425
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
2961
|
-
return
|
|
2426
|
+
return de_CommandError(output, context);
|
|
2962
2427
|
}
|
|
2963
2428
|
const contents = (0, import_smithy_client.map)({
|
|
2964
2429
|
$metadata: deserializeMetadata(output)
|
|
@@ -2971,43 +2436,9 @@ var de_CreateWirelessGatewayTaskCommand = /* @__PURE__ */ __name(async (output,
|
|
|
2971
2436
|
Object.assign(contents, doc);
|
|
2972
2437
|
return contents;
|
|
2973
2438
|
}, "de_CreateWirelessGatewayTaskCommand");
|
|
2974
|
-
var de_CreateWirelessGatewayTaskCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2975
|
-
const parsedOutput = {
|
|
2976
|
-
...output,
|
|
2977
|
-
body: await parseErrorBody(output.body, context)
|
|
2978
|
-
};
|
|
2979
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2980
|
-
switch (errorCode) {
|
|
2981
|
-
case "AccessDeniedException":
|
|
2982
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
2983
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2984
|
-
case "ConflictException":
|
|
2985
|
-
case "com.amazonaws.iotwireless#ConflictException":
|
|
2986
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2987
|
-
case "InternalServerException":
|
|
2988
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
2989
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2990
|
-
case "ResourceNotFoundException":
|
|
2991
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
2992
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2993
|
-
case "ThrottlingException":
|
|
2994
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
2995
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2996
|
-
case "ValidationException":
|
|
2997
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
2998
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2999
|
-
default:
|
|
3000
|
-
const parsedBody = parsedOutput.body;
|
|
3001
|
-
return throwDefaultError({
|
|
3002
|
-
output,
|
|
3003
|
-
parsedBody,
|
|
3004
|
-
errorCode
|
|
3005
|
-
});
|
|
3006
|
-
}
|
|
3007
|
-
}, "de_CreateWirelessGatewayTaskCommandError");
|
|
3008
2439
|
var de_CreateWirelessGatewayTaskDefinitionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3009
2440
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
3010
|
-
return
|
|
2441
|
+
return de_CommandError(output, context);
|
|
3011
2442
|
}
|
|
3012
2443
|
const contents = (0, import_smithy_client.map)({
|
|
3013
2444
|
$metadata: deserializeMetadata(output)
|
|
@@ -3020,43 +2451,9 @@ var de_CreateWirelessGatewayTaskDefinitionCommand = /* @__PURE__ */ __name(async
|
|
|
3020
2451
|
Object.assign(contents, doc);
|
|
3021
2452
|
return contents;
|
|
3022
2453
|
}, "de_CreateWirelessGatewayTaskDefinitionCommand");
|
|
3023
|
-
var de_CreateWirelessGatewayTaskDefinitionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3024
|
-
const parsedOutput = {
|
|
3025
|
-
...output,
|
|
3026
|
-
body: await parseErrorBody(output.body, context)
|
|
3027
|
-
};
|
|
3028
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3029
|
-
switch (errorCode) {
|
|
3030
|
-
case "AccessDeniedException":
|
|
3031
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
3032
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3033
|
-
case "ConflictException":
|
|
3034
|
-
case "com.amazonaws.iotwireless#ConflictException":
|
|
3035
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3036
|
-
case "InternalServerException":
|
|
3037
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
3038
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3039
|
-
case "ResourceNotFoundException":
|
|
3040
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
3041
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3042
|
-
case "ThrottlingException":
|
|
3043
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
3044
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3045
|
-
case "ValidationException":
|
|
3046
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
3047
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3048
|
-
default:
|
|
3049
|
-
const parsedBody = parsedOutput.body;
|
|
3050
|
-
return throwDefaultError({
|
|
3051
|
-
output,
|
|
3052
|
-
parsedBody,
|
|
3053
|
-
errorCode
|
|
3054
|
-
});
|
|
3055
|
-
}
|
|
3056
|
-
}, "de_CreateWirelessGatewayTaskDefinitionCommandError");
|
|
3057
2454
|
var de_DeleteDestinationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3058
2455
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
3059
|
-
return
|
|
2456
|
+
return de_CommandError(output, context);
|
|
3060
2457
|
}
|
|
3061
2458
|
const contents = (0, import_smithy_client.map)({
|
|
3062
2459
|
$metadata: deserializeMetadata(output)
|
|
@@ -3064,43 +2461,9 @@ var de_DeleteDestinationCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
3064
2461
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3065
2462
|
return contents;
|
|
3066
2463
|
}, "de_DeleteDestinationCommand");
|
|
3067
|
-
var de_DeleteDestinationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3068
|
-
const parsedOutput = {
|
|
3069
|
-
...output,
|
|
3070
|
-
body: await parseErrorBody(output.body, context)
|
|
3071
|
-
};
|
|
3072
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3073
|
-
switch (errorCode) {
|
|
3074
|
-
case "AccessDeniedException":
|
|
3075
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
3076
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3077
|
-
case "ConflictException":
|
|
3078
|
-
case "com.amazonaws.iotwireless#ConflictException":
|
|
3079
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3080
|
-
case "InternalServerException":
|
|
3081
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
3082
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3083
|
-
case "ResourceNotFoundException":
|
|
3084
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
3085
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3086
|
-
case "ThrottlingException":
|
|
3087
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
3088
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3089
|
-
case "ValidationException":
|
|
3090
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
3091
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3092
|
-
default:
|
|
3093
|
-
const parsedBody = parsedOutput.body;
|
|
3094
|
-
return throwDefaultError({
|
|
3095
|
-
output,
|
|
3096
|
-
parsedBody,
|
|
3097
|
-
errorCode
|
|
3098
|
-
});
|
|
3099
|
-
}
|
|
3100
|
-
}, "de_DeleteDestinationCommandError");
|
|
3101
2464
|
var de_DeleteDeviceProfileCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3102
2465
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
3103
|
-
return
|
|
2466
|
+
return de_CommandError(output, context);
|
|
3104
2467
|
}
|
|
3105
2468
|
const contents = (0, import_smithy_client.map)({
|
|
3106
2469
|
$metadata: deserializeMetadata(output)
|
|
@@ -3108,43 +2471,9 @@ var de_DeleteDeviceProfileCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
3108
2471
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3109
2472
|
return contents;
|
|
3110
2473
|
}, "de_DeleteDeviceProfileCommand");
|
|
3111
|
-
var de_DeleteDeviceProfileCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3112
|
-
const parsedOutput = {
|
|
3113
|
-
...output,
|
|
3114
|
-
body: await parseErrorBody(output.body, context)
|
|
3115
|
-
};
|
|
3116
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3117
|
-
switch (errorCode) {
|
|
3118
|
-
case "AccessDeniedException":
|
|
3119
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
3120
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3121
|
-
case "ConflictException":
|
|
3122
|
-
case "com.amazonaws.iotwireless#ConflictException":
|
|
3123
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3124
|
-
case "InternalServerException":
|
|
3125
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
3126
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3127
|
-
case "ResourceNotFoundException":
|
|
3128
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
3129
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3130
|
-
case "ThrottlingException":
|
|
3131
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
3132
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3133
|
-
case "ValidationException":
|
|
3134
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
3135
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3136
|
-
default:
|
|
3137
|
-
const parsedBody = parsedOutput.body;
|
|
3138
|
-
return throwDefaultError({
|
|
3139
|
-
output,
|
|
3140
|
-
parsedBody,
|
|
3141
|
-
errorCode
|
|
3142
|
-
});
|
|
3143
|
-
}
|
|
3144
|
-
}, "de_DeleteDeviceProfileCommandError");
|
|
3145
2474
|
var de_DeleteFuotaTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3146
2475
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
3147
|
-
return
|
|
2476
|
+
return de_CommandError(output, context);
|
|
3148
2477
|
}
|
|
3149
2478
|
const contents = (0, import_smithy_client.map)({
|
|
3150
2479
|
$metadata: deserializeMetadata(output)
|
|
@@ -3152,40 +2481,9 @@ var de_DeleteFuotaTaskCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
3152
2481
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3153
2482
|
return contents;
|
|
3154
2483
|
}, "de_DeleteFuotaTaskCommand");
|
|
3155
|
-
var de_DeleteFuotaTaskCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3156
|
-
const parsedOutput = {
|
|
3157
|
-
...output,
|
|
3158
|
-
body: await parseErrorBody(output.body, context)
|
|
3159
|
-
};
|
|
3160
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3161
|
-
switch (errorCode) {
|
|
3162
|
-
case "AccessDeniedException":
|
|
3163
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
3164
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3165
|
-
case "InternalServerException":
|
|
3166
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
3167
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3168
|
-
case "ResourceNotFoundException":
|
|
3169
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
3170
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3171
|
-
case "ThrottlingException":
|
|
3172
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
3173
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3174
|
-
case "ValidationException":
|
|
3175
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
3176
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3177
|
-
default:
|
|
3178
|
-
const parsedBody = parsedOutput.body;
|
|
3179
|
-
return throwDefaultError({
|
|
3180
|
-
output,
|
|
3181
|
-
parsedBody,
|
|
3182
|
-
errorCode
|
|
3183
|
-
});
|
|
3184
|
-
}
|
|
3185
|
-
}, "de_DeleteFuotaTaskCommandError");
|
|
3186
2484
|
var de_DeleteMulticastGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3187
2485
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
3188
|
-
return
|
|
2486
|
+
return de_CommandError(output, context);
|
|
3189
2487
|
}
|
|
3190
2488
|
const contents = (0, import_smithy_client.map)({
|
|
3191
2489
|
$metadata: deserializeMetadata(output)
|
|
@@ -3193,43 +2491,9 @@ var de_DeleteMulticastGroupCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
3193
2491
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3194
2492
|
return contents;
|
|
3195
2493
|
}, "de_DeleteMulticastGroupCommand");
|
|
3196
|
-
var de_DeleteMulticastGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3197
|
-
const parsedOutput = {
|
|
3198
|
-
...output,
|
|
3199
|
-
body: await parseErrorBody(output.body, context)
|
|
3200
|
-
};
|
|
3201
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3202
|
-
switch (errorCode) {
|
|
3203
|
-
case "AccessDeniedException":
|
|
3204
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
3205
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3206
|
-
case "ConflictException":
|
|
3207
|
-
case "com.amazonaws.iotwireless#ConflictException":
|
|
3208
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3209
|
-
case "InternalServerException":
|
|
3210
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
3211
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3212
|
-
case "ResourceNotFoundException":
|
|
3213
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
3214
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3215
|
-
case "ThrottlingException":
|
|
3216
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
3217
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3218
|
-
case "ValidationException":
|
|
3219
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
3220
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3221
|
-
default:
|
|
3222
|
-
const parsedBody = parsedOutput.body;
|
|
3223
|
-
return throwDefaultError({
|
|
3224
|
-
output,
|
|
3225
|
-
parsedBody,
|
|
3226
|
-
errorCode
|
|
3227
|
-
});
|
|
3228
|
-
}
|
|
3229
|
-
}, "de_DeleteMulticastGroupCommandError");
|
|
3230
2494
|
var de_DeleteNetworkAnalyzerConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3231
2495
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
3232
|
-
return
|
|
2496
|
+
return de_CommandError(output, context);
|
|
3233
2497
|
}
|
|
3234
2498
|
const contents = (0, import_smithy_client.map)({
|
|
3235
2499
|
$metadata: deserializeMetadata(output)
|
|
@@ -3237,43 +2501,9 @@ var de_DeleteNetworkAnalyzerConfigurationCommand = /* @__PURE__ */ __name(async
|
|
|
3237
2501
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3238
2502
|
return contents;
|
|
3239
2503
|
}, "de_DeleteNetworkAnalyzerConfigurationCommand");
|
|
3240
|
-
var de_DeleteNetworkAnalyzerConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3241
|
-
const parsedOutput = {
|
|
3242
|
-
...output,
|
|
3243
|
-
body: await parseErrorBody(output.body, context)
|
|
3244
|
-
};
|
|
3245
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3246
|
-
switch (errorCode) {
|
|
3247
|
-
case "AccessDeniedException":
|
|
3248
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
3249
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3250
|
-
case "ConflictException":
|
|
3251
|
-
case "com.amazonaws.iotwireless#ConflictException":
|
|
3252
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3253
|
-
case "InternalServerException":
|
|
3254
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
3255
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3256
|
-
case "ResourceNotFoundException":
|
|
3257
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
3258
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3259
|
-
case "ThrottlingException":
|
|
3260
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
3261
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3262
|
-
case "ValidationException":
|
|
3263
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
3264
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3265
|
-
default:
|
|
3266
|
-
const parsedBody = parsedOutput.body;
|
|
3267
|
-
return throwDefaultError({
|
|
3268
|
-
output,
|
|
3269
|
-
parsedBody,
|
|
3270
|
-
errorCode
|
|
3271
|
-
});
|
|
3272
|
-
}
|
|
3273
|
-
}, "de_DeleteNetworkAnalyzerConfigurationCommandError");
|
|
3274
2504
|
var de_DeleteQueuedMessagesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3275
2505
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
3276
|
-
return
|
|
2506
|
+
return de_CommandError(output, context);
|
|
3277
2507
|
}
|
|
3278
2508
|
const contents = (0, import_smithy_client.map)({
|
|
3279
2509
|
$metadata: deserializeMetadata(output)
|
|
@@ -3281,40 +2511,9 @@ var de_DeleteQueuedMessagesCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
3281
2511
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3282
2512
|
return contents;
|
|
3283
2513
|
}, "de_DeleteQueuedMessagesCommand");
|
|
3284
|
-
var de_DeleteQueuedMessagesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3285
|
-
const parsedOutput = {
|
|
3286
|
-
...output,
|
|
3287
|
-
body: await parseErrorBody(output.body, context)
|
|
3288
|
-
};
|
|
3289
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3290
|
-
switch (errorCode) {
|
|
3291
|
-
case "AccessDeniedException":
|
|
3292
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
3293
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3294
|
-
case "InternalServerException":
|
|
3295
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
3296
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3297
|
-
case "ResourceNotFoundException":
|
|
3298
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
3299
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3300
|
-
case "ThrottlingException":
|
|
3301
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
3302
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3303
|
-
case "ValidationException":
|
|
3304
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
3305
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3306
|
-
default:
|
|
3307
|
-
const parsedBody = parsedOutput.body;
|
|
3308
|
-
return throwDefaultError({
|
|
3309
|
-
output,
|
|
3310
|
-
parsedBody,
|
|
3311
|
-
errorCode
|
|
3312
|
-
});
|
|
3313
|
-
}
|
|
3314
|
-
}, "de_DeleteQueuedMessagesCommandError");
|
|
3315
2514
|
var de_DeleteServiceProfileCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3316
2515
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
3317
|
-
return
|
|
2516
|
+
return de_CommandError(output, context);
|
|
3318
2517
|
}
|
|
3319
2518
|
const contents = (0, import_smithy_client.map)({
|
|
3320
2519
|
$metadata: deserializeMetadata(output)
|
|
@@ -3322,43 +2521,9 @@ var de_DeleteServiceProfileCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
3322
2521
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3323
2522
|
return contents;
|
|
3324
2523
|
}, "de_DeleteServiceProfileCommand");
|
|
3325
|
-
var de_DeleteServiceProfileCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3326
|
-
const parsedOutput = {
|
|
3327
|
-
...output,
|
|
3328
|
-
body: await parseErrorBody(output.body, context)
|
|
3329
|
-
};
|
|
3330
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3331
|
-
switch (errorCode) {
|
|
3332
|
-
case "AccessDeniedException":
|
|
3333
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
3334
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3335
|
-
case "ConflictException":
|
|
3336
|
-
case "com.amazonaws.iotwireless#ConflictException":
|
|
3337
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3338
|
-
case "InternalServerException":
|
|
3339
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
3340
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3341
|
-
case "ResourceNotFoundException":
|
|
3342
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
3343
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3344
|
-
case "ThrottlingException":
|
|
3345
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
3346
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3347
|
-
case "ValidationException":
|
|
3348
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
3349
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3350
|
-
default:
|
|
3351
|
-
const parsedBody = parsedOutput.body;
|
|
3352
|
-
return throwDefaultError({
|
|
3353
|
-
output,
|
|
3354
|
-
parsedBody,
|
|
3355
|
-
errorCode
|
|
3356
|
-
});
|
|
3357
|
-
}
|
|
3358
|
-
}, "de_DeleteServiceProfileCommandError");
|
|
3359
2524
|
var de_DeleteWirelessDeviceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3360
2525
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
3361
|
-
return
|
|
2526
|
+
return de_CommandError(output, context);
|
|
3362
2527
|
}
|
|
3363
2528
|
const contents = (0, import_smithy_client.map)({
|
|
3364
2529
|
$metadata: deserializeMetadata(output)
|
|
@@ -3366,40 +2531,9 @@ var de_DeleteWirelessDeviceCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
3366
2531
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3367
2532
|
return contents;
|
|
3368
2533
|
}, "de_DeleteWirelessDeviceCommand");
|
|
3369
|
-
var de_DeleteWirelessDeviceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3370
|
-
const parsedOutput = {
|
|
3371
|
-
...output,
|
|
3372
|
-
body: await parseErrorBody(output.body, context)
|
|
3373
|
-
};
|
|
3374
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3375
|
-
switch (errorCode) {
|
|
3376
|
-
case "AccessDeniedException":
|
|
3377
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
3378
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3379
|
-
case "InternalServerException":
|
|
3380
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
3381
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3382
|
-
case "ResourceNotFoundException":
|
|
3383
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
3384
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3385
|
-
case "ThrottlingException":
|
|
3386
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
3387
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3388
|
-
case "ValidationException":
|
|
3389
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
3390
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3391
|
-
default:
|
|
3392
|
-
const parsedBody = parsedOutput.body;
|
|
3393
|
-
return throwDefaultError({
|
|
3394
|
-
output,
|
|
3395
|
-
parsedBody,
|
|
3396
|
-
errorCode
|
|
3397
|
-
});
|
|
3398
|
-
}
|
|
3399
|
-
}, "de_DeleteWirelessDeviceCommandError");
|
|
3400
2534
|
var de_DeleteWirelessDeviceImportTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3401
2535
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
3402
|
-
return
|
|
2536
|
+
return de_CommandError(output, context);
|
|
3403
2537
|
}
|
|
3404
2538
|
const contents = (0, import_smithy_client.map)({
|
|
3405
2539
|
$metadata: deserializeMetadata(output)
|
|
@@ -3407,43 +2541,9 @@ var de_DeleteWirelessDeviceImportTaskCommand = /* @__PURE__ */ __name(async (out
|
|
|
3407
2541
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3408
2542
|
return contents;
|
|
3409
2543
|
}, "de_DeleteWirelessDeviceImportTaskCommand");
|
|
3410
|
-
var de_DeleteWirelessDeviceImportTaskCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3411
|
-
const parsedOutput = {
|
|
3412
|
-
...output,
|
|
3413
|
-
body: await parseErrorBody(output.body, context)
|
|
3414
|
-
};
|
|
3415
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3416
|
-
switch (errorCode) {
|
|
3417
|
-
case "AccessDeniedException":
|
|
3418
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
3419
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3420
|
-
case "ConflictException":
|
|
3421
|
-
case "com.amazonaws.iotwireless#ConflictException":
|
|
3422
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3423
|
-
case "InternalServerException":
|
|
3424
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
3425
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3426
|
-
case "ResourceNotFoundException":
|
|
3427
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
3428
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3429
|
-
case "ThrottlingException":
|
|
3430
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
3431
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3432
|
-
case "ValidationException":
|
|
3433
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
3434
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3435
|
-
default:
|
|
3436
|
-
const parsedBody = parsedOutput.body;
|
|
3437
|
-
return throwDefaultError({
|
|
3438
|
-
output,
|
|
3439
|
-
parsedBody,
|
|
3440
|
-
errorCode
|
|
3441
|
-
});
|
|
3442
|
-
}
|
|
3443
|
-
}, "de_DeleteWirelessDeviceImportTaskCommandError");
|
|
3444
2544
|
var de_DeleteWirelessGatewayCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3445
2545
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
3446
|
-
return
|
|
2546
|
+
return de_CommandError(output, context);
|
|
3447
2547
|
}
|
|
3448
2548
|
const contents = (0, import_smithy_client.map)({
|
|
3449
2549
|
$metadata: deserializeMetadata(output)
|
|
@@ -3451,40 +2551,9 @@ var de_DeleteWirelessGatewayCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
3451
2551
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3452
2552
|
return contents;
|
|
3453
2553
|
}, "de_DeleteWirelessGatewayCommand");
|
|
3454
|
-
var de_DeleteWirelessGatewayCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3455
|
-
const parsedOutput = {
|
|
3456
|
-
...output,
|
|
3457
|
-
body: await parseErrorBody(output.body, context)
|
|
3458
|
-
};
|
|
3459
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3460
|
-
switch (errorCode) {
|
|
3461
|
-
case "AccessDeniedException":
|
|
3462
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
3463
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3464
|
-
case "InternalServerException":
|
|
3465
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
3466
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3467
|
-
case "ResourceNotFoundException":
|
|
3468
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
3469
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3470
|
-
case "ThrottlingException":
|
|
3471
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
3472
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3473
|
-
case "ValidationException":
|
|
3474
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
3475
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3476
|
-
default:
|
|
3477
|
-
const parsedBody = parsedOutput.body;
|
|
3478
|
-
return throwDefaultError({
|
|
3479
|
-
output,
|
|
3480
|
-
parsedBody,
|
|
3481
|
-
errorCode
|
|
3482
|
-
});
|
|
3483
|
-
}
|
|
3484
|
-
}, "de_DeleteWirelessGatewayCommandError");
|
|
3485
2554
|
var de_DeleteWirelessGatewayTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3486
2555
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
3487
|
-
return
|
|
2556
|
+
return de_CommandError(output, context);
|
|
3488
2557
|
}
|
|
3489
2558
|
const contents = (0, import_smithy_client.map)({
|
|
3490
2559
|
$metadata: deserializeMetadata(output)
|
|
@@ -3492,40 +2561,9 @@ var de_DeleteWirelessGatewayTaskCommand = /* @__PURE__ */ __name(async (output,
|
|
|
3492
2561
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3493
2562
|
return contents;
|
|
3494
2563
|
}, "de_DeleteWirelessGatewayTaskCommand");
|
|
3495
|
-
var de_DeleteWirelessGatewayTaskCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3496
|
-
const parsedOutput = {
|
|
3497
|
-
...output,
|
|
3498
|
-
body: await parseErrorBody(output.body, context)
|
|
3499
|
-
};
|
|
3500
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3501
|
-
switch (errorCode) {
|
|
3502
|
-
case "AccessDeniedException":
|
|
3503
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
3504
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3505
|
-
case "InternalServerException":
|
|
3506
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
3507
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3508
|
-
case "ResourceNotFoundException":
|
|
3509
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
3510
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3511
|
-
case "ThrottlingException":
|
|
3512
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
3513
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3514
|
-
case "ValidationException":
|
|
3515
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
3516
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3517
|
-
default:
|
|
3518
|
-
const parsedBody = parsedOutput.body;
|
|
3519
|
-
return throwDefaultError({
|
|
3520
|
-
output,
|
|
3521
|
-
parsedBody,
|
|
3522
|
-
errorCode
|
|
3523
|
-
});
|
|
3524
|
-
}
|
|
3525
|
-
}, "de_DeleteWirelessGatewayTaskCommandError");
|
|
3526
2564
|
var de_DeleteWirelessGatewayTaskDefinitionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3527
2565
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
3528
|
-
return
|
|
2566
|
+
return de_CommandError(output, context);
|
|
3529
2567
|
}
|
|
3530
2568
|
const contents = (0, import_smithy_client.map)({
|
|
3531
2569
|
$metadata: deserializeMetadata(output)
|
|
@@ -3533,40 +2571,9 @@ var de_DeleteWirelessGatewayTaskDefinitionCommand = /* @__PURE__ */ __name(async
|
|
|
3533
2571
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3534
2572
|
return contents;
|
|
3535
2573
|
}, "de_DeleteWirelessGatewayTaskDefinitionCommand");
|
|
3536
|
-
var de_DeleteWirelessGatewayTaskDefinitionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3537
|
-
const parsedOutput = {
|
|
3538
|
-
...output,
|
|
3539
|
-
body: await parseErrorBody(output.body, context)
|
|
3540
|
-
};
|
|
3541
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3542
|
-
switch (errorCode) {
|
|
3543
|
-
case "AccessDeniedException":
|
|
3544
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
3545
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3546
|
-
case "InternalServerException":
|
|
3547
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
3548
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3549
|
-
case "ResourceNotFoundException":
|
|
3550
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
3551
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3552
|
-
case "ThrottlingException":
|
|
3553
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
3554
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3555
|
-
case "ValidationException":
|
|
3556
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
3557
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3558
|
-
default:
|
|
3559
|
-
const parsedBody = parsedOutput.body;
|
|
3560
|
-
return throwDefaultError({
|
|
3561
|
-
output,
|
|
3562
|
-
parsedBody,
|
|
3563
|
-
errorCode
|
|
3564
|
-
});
|
|
3565
|
-
}
|
|
3566
|
-
}, "de_DeleteWirelessGatewayTaskDefinitionCommandError");
|
|
3567
2574
|
var de_DeregisterWirelessDeviceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3568
2575
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3569
|
-
return
|
|
2576
|
+
return de_CommandError(output, context);
|
|
3570
2577
|
}
|
|
3571
2578
|
const contents = (0, import_smithy_client.map)({
|
|
3572
2579
|
$metadata: deserializeMetadata(output)
|
|
@@ -3574,37 +2581,9 @@ var de_DeregisterWirelessDeviceCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
3574
2581
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3575
2582
|
return contents;
|
|
3576
2583
|
}, "de_DeregisterWirelessDeviceCommand");
|
|
3577
|
-
var de_DeregisterWirelessDeviceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3578
|
-
const parsedOutput = {
|
|
3579
|
-
...output,
|
|
3580
|
-
body: await parseErrorBody(output.body, context)
|
|
3581
|
-
};
|
|
3582
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3583
|
-
switch (errorCode) {
|
|
3584
|
-
case "InternalServerException":
|
|
3585
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
3586
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3587
|
-
case "ResourceNotFoundException":
|
|
3588
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
3589
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3590
|
-
case "ThrottlingException":
|
|
3591
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
3592
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3593
|
-
case "ValidationException":
|
|
3594
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
3595
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3596
|
-
default:
|
|
3597
|
-
const parsedBody = parsedOutput.body;
|
|
3598
|
-
return throwDefaultError({
|
|
3599
|
-
output,
|
|
3600
|
-
parsedBody,
|
|
3601
|
-
errorCode
|
|
3602
|
-
});
|
|
3603
|
-
}
|
|
3604
|
-
}, "de_DeregisterWirelessDeviceCommandError");
|
|
3605
2584
|
var de_DisassociateAwsAccountFromPartnerAccountCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3606
2585
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
3607
|
-
return
|
|
2586
|
+
return de_CommandError(output, context);
|
|
3608
2587
|
}
|
|
3609
2588
|
const contents = (0, import_smithy_client.map)({
|
|
3610
2589
|
$metadata: deserializeMetadata(output)
|
|
@@ -3612,37 +2591,9 @@ var de_DisassociateAwsAccountFromPartnerAccountCommand = /* @__PURE__ */ __name(
|
|
|
3612
2591
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3613
2592
|
return contents;
|
|
3614
2593
|
}, "de_DisassociateAwsAccountFromPartnerAccountCommand");
|
|
3615
|
-
var de_DisassociateAwsAccountFromPartnerAccountCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3616
|
-
const parsedOutput = {
|
|
3617
|
-
...output,
|
|
3618
|
-
body: await parseErrorBody(output.body, context)
|
|
3619
|
-
};
|
|
3620
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3621
|
-
switch (errorCode) {
|
|
3622
|
-
case "InternalServerException":
|
|
3623
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
3624
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3625
|
-
case "ResourceNotFoundException":
|
|
3626
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
3627
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3628
|
-
case "ThrottlingException":
|
|
3629
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
3630
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3631
|
-
case "ValidationException":
|
|
3632
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
3633
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3634
|
-
default:
|
|
3635
|
-
const parsedBody = parsedOutput.body;
|
|
3636
|
-
return throwDefaultError({
|
|
3637
|
-
output,
|
|
3638
|
-
parsedBody,
|
|
3639
|
-
errorCode
|
|
3640
|
-
});
|
|
3641
|
-
}
|
|
3642
|
-
}, "de_DisassociateAwsAccountFromPartnerAccountCommandError");
|
|
3643
2594
|
var de_DisassociateMulticastGroupFromFuotaTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3644
2595
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
3645
|
-
return
|
|
2596
|
+
return de_CommandError(output, context);
|
|
3646
2597
|
}
|
|
3647
2598
|
const contents = (0, import_smithy_client.map)({
|
|
3648
2599
|
$metadata: deserializeMetadata(output)
|
|
@@ -3650,40 +2601,9 @@ var de_DisassociateMulticastGroupFromFuotaTaskCommand = /* @__PURE__ */ __name(a
|
|
|
3650
2601
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3651
2602
|
return contents;
|
|
3652
2603
|
}, "de_DisassociateMulticastGroupFromFuotaTaskCommand");
|
|
3653
|
-
var de_DisassociateMulticastGroupFromFuotaTaskCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3654
|
-
const parsedOutput = {
|
|
3655
|
-
...output,
|
|
3656
|
-
body: await parseErrorBody(output.body, context)
|
|
3657
|
-
};
|
|
3658
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3659
|
-
switch (errorCode) {
|
|
3660
|
-
case "AccessDeniedException":
|
|
3661
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
3662
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3663
|
-
case "ConflictException":
|
|
3664
|
-
case "com.amazonaws.iotwireless#ConflictException":
|
|
3665
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3666
|
-
case "InternalServerException":
|
|
3667
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
3668
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3669
|
-
case "ResourceNotFoundException":
|
|
3670
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
3671
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3672
|
-
case "ValidationException":
|
|
3673
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
3674
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3675
|
-
default:
|
|
3676
|
-
const parsedBody = parsedOutput.body;
|
|
3677
|
-
return throwDefaultError({
|
|
3678
|
-
output,
|
|
3679
|
-
parsedBody,
|
|
3680
|
-
errorCode
|
|
3681
|
-
});
|
|
3682
|
-
}
|
|
3683
|
-
}, "de_DisassociateMulticastGroupFromFuotaTaskCommandError");
|
|
3684
2604
|
var de_DisassociateWirelessDeviceFromFuotaTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3685
2605
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
3686
|
-
return
|
|
2606
|
+
return de_CommandError(output, context);
|
|
3687
2607
|
}
|
|
3688
2608
|
const contents = (0, import_smithy_client.map)({
|
|
3689
2609
|
$metadata: deserializeMetadata(output)
|
|
@@ -3691,43 +2611,9 @@ var de_DisassociateWirelessDeviceFromFuotaTaskCommand = /* @__PURE__ */ __name(a
|
|
|
3691
2611
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3692
2612
|
return contents;
|
|
3693
2613
|
}, "de_DisassociateWirelessDeviceFromFuotaTaskCommand");
|
|
3694
|
-
var de_DisassociateWirelessDeviceFromFuotaTaskCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3695
|
-
const parsedOutput = {
|
|
3696
|
-
...output,
|
|
3697
|
-
body: await parseErrorBody(output.body, context)
|
|
3698
|
-
};
|
|
3699
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3700
|
-
switch (errorCode) {
|
|
3701
|
-
case "AccessDeniedException":
|
|
3702
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
3703
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3704
|
-
case "ConflictException":
|
|
3705
|
-
case "com.amazonaws.iotwireless#ConflictException":
|
|
3706
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3707
|
-
case "InternalServerException":
|
|
3708
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
3709
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3710
|
-
case "ResourceNotFoundException":
|
|
3711
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
3712
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3713
|
-
case "ThrottlingException":
|
|
3714
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
3715
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3716
|
-
case "ValidationException":
|
|
3717
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
3718
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3719
|
-
default:
|
|
3720
|
-
const parsedBody = parsedOutput.body;
|
|
3721
|
-
return throwDefaultError({
|
|
3722
|
-
output,
|
|
3723
|
-
parsedBody,
|
|
3724
|
-
errorCode
|
|
3725
|
-
});
|
|
3726
|
-
}
|
|
3727
|
-
}, "de_DisassociateWirelessDeviceFromFuotaTaskCommandError");
|
|
3728
2614
|
var de_DisassociateWirelessDeviceFromMulticastGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3729
2615
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
3730
|
-
return
|
|
2616
|
+
return de_CommandError(output, context);
|
|
3731
2617
|
}
|
|
3732
2618
|
const contents = (0, import_smithy_client.map)({
|
|
3733
2619
|
$metadata: deserializeMetadata(output)
|
|
@@ -3735,40 +2621,9 @@ var de_DisassociateWirelessDeviceFromMulticastGroupCommand = /* @__PURE__ */ __n
|
|
|
3735
2621
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3736
2622
|
return contents;
|
|
3737
2623
|
}, "de_DisassociateWirelessDeviceFromMulticastGroupCommand");
|
|
3738
|
-
var de_DisassociateWirelessDeviceFromMulticastGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3739
|
-
const parsedOutput = {
|
|
3740
|
-
...output,
|
|
3741
|
-
body: await parseErrorBody(output.body, context)
|
|
3742
|
-
};
|
|
3743
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3744
|
-
switch (errorCode) {
|
|
3745
|
-
case "AccessDeniedException":
|
|
3746
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
3747
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3748
|
-
case "InternalServerException":
|
|
3749
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
3750
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3751
|
-
case "ResourceNotFoundException":
|
|
3752
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
3753
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3754
|
-
case "ThrottlingException":
|
|
3755
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
3756
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3757
|
-
case "ValidationException":
|
|
3758
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
3759
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3760
|
-
default:
|
|
3761
|
-
const parsedBody = parsedOutput.body;
|
|
3762
|
-
return throwDefaultError({
|
|
3763
|
-
output,
|
|
3764
|
-
parsedBody,
|
|
3765
|
-
errorCode
|
|
3766
|
-
});
|
|
3767
|
-
}
|
|
3768
|
-
}, "de_DisassociateWirelessDeviceFromMulticastGroupCommandError");
|
|
3769
2624
|
var de_DisassociateWirelessDeviceFromThingCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3770
2625
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
3771
|
-
return
|
|
2626
|
+
return de_CommandError(output, context);
|
|
3772
2627
|
}
|
|
3773
2628
|
const contents = (0, import_smithy_client.map)({
|
|
3774
2629
|
$metadata: deserializeMetadata(output)
|
|
@@ -3776,43 +2631,9 @@ var de_DisassociateWirelessDeviceFromThingCommand = /* @__PURE__ */ __name(async
|
|
|
3776
2631
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3777
2632
|
return contents;
|
|
3778
2633
|
}, "de_DisassociateWirelessDeviceFromThingCommand");
|
|
3779
|
-
var de_DisassociateWirelessDeviceFromThingCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3780
|
-
const parsedOutput = {
|
|
3781
|
-
...output,
|
|
3782
|
-
body: await parseErrorBody(output.body, context)
|
|
3783
|
-
};
|
|
3784
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3785
|
-
switch (errorCode) {
|
|
3786
|
-
case "AccessDeniedException":
|
|
3787
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
3788
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3789
|
-
case "ConflictException":
|
|
3790
|
-
case "com.amazonaws.iotwireless#ConflictException":
|
|
3791
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3792
|
-
case "InternalServerException":
|
|
3793
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
3794
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3795
|
-
case "ResourceNotFoundException":
|
|
3796
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
3797
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3798
|
-
case "ThrottlingException":
|
|
3799
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
3800
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3801
|
-
case "ValidationException":
|
|
3802
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
3803
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3804
|
-
default:
|
|
3805
|
-
const parsedBody = parsedOutput.body;
|
|
3806
|
-
return throwDefaultError({
|
|
3807
|
-
output,
|
|
3808
|
-
parsedBody,
|
|
3809
|
-
errorCode
|
|
3810
|
-
});
|
|
3811
|
-
}
|
|
3812
|
-
}, "de_DisassociateWirelessDeviceFromThingCommandError");
|
|
3813
2634
|
var de_DisassociateWirelessGatewayFromCertificateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3814
2635
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
3815
|
-
return
|
|
2636
|
+
return de_CommandError(output, context);
|
|
3816
2637
|
}
|
|
3817
2638
|
const contents = (0, import_smithy_client.map)({
|
|
3818
2639
|
$metadata: deserializeMetadata(output)
|
|
@@ -3820,40 +2641,9 @@ var de_DisassociateWirelessGatewayFromCertificateCommand = /* @__PURE__ */ __nam
|
|
|
3820
2641
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3821
2642
|
return contents;
|
|
3822
2643
|
}, "de_DisassociateWirelessGatewayFromCertificateCommand");
|
|
3823
|
-
var de_DisassociateWirelessGatewayFromCertificateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3824
|
-
const parsedOutput = {
|
|
3825
|
-
...output,
|
|
3826
|
-
body: await parseErrorBody(output.body, context)
|
|
3827
|
-
};
|
|
3828
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3829
|
-
switch (errorCode) {
|
|
3830
|
-
case "AccessDeniedException":
|
|
3831
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
3832
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3833
|
-
case "InternalServerException":
|
|
3834
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
3835
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3836
|
-
case "ResourceNotFoundException":
|
|
3837
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
3838
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3839
|
-
case "ThrottlingException":
|
|
3840
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
3841
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3842
|
-
case "ValidationException":
|
|
3843
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
3844
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3845
|
-
default:
|
|
3846
|
-
const parsedBody = parsedOutput.body;
|
|
3847
|
-
return throwDefaultError({
|
|
3848
|
-
output,
|
|
3849
|
-
parsedBody,
|
|
3850
|
-
errorCode
|
|
3851
|
-
});
|
|
3852
|
-
}
|
|
3853
|
-
}, "de_DisassociateWirelessGatewayFromCertificateCommandError");
|
|
3854
2644
|
var de_DisassociateWirelessGatewayFromThingCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3855
2645
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
3856
|
-
return
|
|
2646
|
+
return de_CommandError(output, context);
|
|
3857
2647
|
}
|
|
3858
2648
|
const contents = (0, import_smithy_client.map)({
|
|
3859
2649
|
$metadata: deserializeMetadata(output)
|
|
@@ -3861,43 +2651,9 @@ var de_DisassociateWirelessGatewayFromThingCommand = /* @__PURE__ */ __name(asyn
|
|
|
3861
2651
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3862
2652
|
return contents;
|
|
3863
2653
|
}, "de_DisassociateWirelessGatewayFromThingCommand");
|
|
3864
|
-
var de_DisassociateWirelessGatewayFromThingCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3865
|
-
const parsedOutput = {
|
|
3866
|
-
...output,
|
|
3867
|
-
body: await parseErrorBody(output.body, context)
|
|
3868
|
-
};
|
|
3869
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3870
|
-
switch (errorCode) {
|
|
3871
|
-
case "AccessDeniedException":
|
|
3872
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
3873
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3874
|
-
case "ConflictException":
|
|
3875
|
-
case "com.amazonaws.iotwireless#ConflictException":
|
|
3876
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3877
|
-
case "InternalServerException":
|
|
3878
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
3879
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3880
|
-
case "ResourceNotFoundException":
|
|
3881
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
3882
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3883
|
-
case "ThrottlingException":
|
|
3884
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
3885
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3886
|
-
case "ValidationException":
|
|
3887
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
3888
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3889
|
-
default:
|
|
3890
|
-
const parsedBody = parsedOutput.body;
|
|
3891
|
-
return throwDefaultError({
|
|
3892
|
-
output,
|
|
3893
|
-
parsedBody,
|
|
3894
|
-
errorCode
|
|
3895
|
-
});
|
|
3896
|
-
}
|
|
3897
|
-
}, "de_DisassociateWirelessGatewayFromThingCommandError");
|
|
3898
2654
|
var de_GetDestinationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3899
2655
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3900
|
-
return
|
|
2656
|
+
return de_CommandError(output, context);
|
|
3901
2657
|
}
|
|
3902
2658
|
const contents = (0, import_smithy_client.map)({
|
|
3903
2659
|
$metadata: deserializeMetadata(output)
|
|
@@ -3914,40 +2670,9 @@ var de_GetDestinationCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
3914
2670
|
Object.assign(contents, doc);
|
|
3915
2671
|
return contents;
|
|
3916
2672
|
}, "de_GetDestinationCommand");
|
|
3917
|
-
var de_GetDestinationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3918
|
-
const parsedOutput = {
|
|
3919
|
-
...output,
|
|
3920
|
-
body: await parseErrorBody(output.body, context)
|
|
3921
|
-
};
|
|
3922
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3923
|
-
switch (errorCode) {
|
|
3924
|
-
case "AccessDeniedException":
|
|
3925
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
3926
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3927
|
-
case "InternalServerException":
|
|
3928
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
3929
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3930
|
-
case "ResourceNotFoundException":
|
|
3931
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
3932
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3933
|
-
case "ThrottlingException":
|
|
3934
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
3935
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3936
|
-
case "ValidationException":
|
|
3937
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
3938
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3939
|
-
default:
|
|
3940
|
-
const parsedBody = parsedOutput.body;
|
|
3941
|
-
return throwDefaultError({
|
|
3942
|
-
output,
|
|
3943
|
-
parsedBody,
|
|
3944
|
-
errorCode
|
|
3945
|
-
});
|
|
3946
|
-
}
|
|
3947
|
-
}, "de_GetDestinationCommandError");
|
|
3948
2673
|
var de_GetDeviceProfileCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3949
2674
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3950
|
-
return
|
|
2675
|
+
return de_CommandError(output, context);
|
|
3951
2676
|
}
|
|
3952
2677
|
const contents = (0, import_smithy_client.map)({
|
|
3953
2678
|
$metadata: deserializeMetadata(output)
|
|
@@ -3963,40 +2688,9 @@ var de_GetDeviceProfileCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
3963
2688
|
Object.assign(contents, doc);
|
|
3964
2689
|
return contents;
|
|
3965
2690
|
}, "de_GetDeviceProfileCommand");
|
|
3966
|
-
var de_GetDeviceProfileCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3967
|
-
const parsedOutput = {
|
|
3968
|
-
...output,
|
|
3969
|
-
body: await parseErrorBody(output.body, context)
|
|
3970
|
-
};
|
|
3971
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3972
|
-
switch (errorCode) {
|
|
3973
|
-
case "AccessDeniedException":
|
|
3974
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
3975
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3976
|
-
case "InternalServerException":
|
|
3977
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
3978
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3979
|
-
case "ResourceNotFoundException":
|
|
3980
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
3981
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3982
|
-
case "ThrottlingException":
|
|
3983
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
3984
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3985
|
-
case "ValidationException":
|
|
3986
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
3987
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3988
|
-
default:
|
|
3989
|
-
const parsedBody = parsedOutput.body;
|
|
3990
|
-
return throwDefaultError({
|
|
3991
|
-
output,
|
|
3992
|
-
parsedBody,
|
|
3993
|
-
errorCode
|
|
3994
|
-
});
|
|
3995
|
-
}
|
|
3996
|
-
}, "de_GetDeviceProfileCommandError");
|
|
3997
2691
|
var de_GetEventConfigurationByResourceTypesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3998
2692
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3999
|
-
return
|
|
2693
|
+
return de_CommandError(output, context);
|
|
4000
2694
|
}
|
|
4001
2695
|
const contents = (0, import_smithy_client.map)({
|
|
4002
2696
|
$metadata: deserializeMetadata(output)
|
|
@@ -4012,34 +2706,9 @@ var de_GetEventConfigurationByResourceTypesCommand = /* @__PURE__ */ __name(asyn
|
|
|
4012
2706
|
Object.assign(contents, doc);
|
|
4013
2707
|
return contents;
|
|
4014
2708
|
}, "de_GetEventConfigurationByResourceTypesCommand");
|
|
4015
|
-
var de_GetEventConfigurationByResourceTypesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4016
|
-
const parsedOutput = {
|
|
4017
|
-
...output,
|
|
4018
|
-
body: await parseErrorBody(output.body, context)
|
|
4019
|
-
};
|
|
4020
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4021
|
-
switch (errorCode) {
|
|
4022
|
-
case "AccessDeniedException":
|
|
4023
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
4024
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4025
|
-
case "InternalServerException":
|
|
4026
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
4027
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4028
|
-
case "ThrottlingException":
|
|
4029
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
4030
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4031
|
-
default:
|
|
4032
|
-
const parsedBody = parsedOutput.body;
|
|
4033
|
-
return throwDefaultError({
|
|
4034
|
-
output,
|
|
4035
|
-
parsedBody,
|
|
4036
|
-
errorCode
|
|
4037
|
-
});
|
|
4038
|
-
}
|
|
4039
|
-
}, "de_GetEventConfigurationByResourceTypesCommandError");
|
|
4040
2709
|
var de_GetFuotaTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4041
2710
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4042
|
-
return
|
|
2711
|
+
return de_CommandError(output, context);
|
|
4043
2712
|
}
|
|
4044
2713
|
const contents = (0, import_smithy_client.map)({
|
|
4045
2714
|
$metadata: deserializeMetadata(output)
|
|
@@ -4062,40 +2731,9 @@ var de_GetFuotaTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
4062
2731
|
Object.assign(contents, doc);
|
|
4063
2732
|
return contents;
|
|
4064
2733
|
}, "de_GetFuotaTaskCommand");
|
|
4065
|
-
var de_GetFuotaTaskCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4066
|
-
const parsedOutput = {
|
|
4067
|
-
...output,
|
|
4068
|
-
body: await parseErrorBody(output.body, context)
|
|
4069
|
-
};
|
|
4070
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4071
|
-
switch (errorCode) {
|
|
4072
|
-
case "AccessDeniedException":
|
|
4073
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
4074
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4075
|
-
case "InternalServerException":
|
|
4076
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
4077
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4078
|
-
case "ResourceNotFoundException":
|
|
4079
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
4080
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4081
|
-
case "ThrottlingException":
|
|
4082
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
4083
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4084
|
-
case "ValidationException":
|
|
4085
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
4086
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4087
|
-
default:
|
|
4088
|
-
const parsedBody = parsedOutput.body;
|
|
4089
|
-
return throwDefaultError({
|
|
4090
|
-
output,
|
|
4091
|
-
parsedBody,
|
|
4092
|
-
errorCode
|
|
4093
|
-
});
|
|
4094
|
-
}
|
|
4095
|
-
}, "de_GetFuotaTaskCommandError");
|
|
4096
2734
|
var de_GetLogLevelsByResourceTypesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4097
2735
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4098
|
-
return
|
|
2736
|
+
return de_CommandError(output, context);
|
|
4099
2737
|
}
|
|
4100
2738
|
const contents = (0, import_smithy_client.map)({
|
|
4101
2739
|
$metadata: deserializeMetadata(output)
|
|
@@ -4109,40 +2747,9 @@ var de_GetLogLevelsByResourceTypesCommand = /* @__PURE__ */ __name(async (output
|
|
|
4109
2747
|
Object.assign(contents, doc);
|
|
4110
2748
|
return contents;
|
|
4111
2749
|
}, "de_GetLogLevelsByResourceTypesCommand");
|
|
4112
|
-
var de_GetLogLevelsByResourceTypesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4113
|
-
const parsedOutput = {
|
|
4114
|
-
...output,
|
|
4115
|
-
body: await parseErrorBody(output.body, context)
|
|
4116
|
-
};
|
|
4117
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4118
|
-
switch (errorCode) {
|
|
4119
|
-
case "AccessDeniedException":
|
|
4120
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
4121
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4122
|
-
case "InternalServerException":
|
|
4123
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
4124
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4125
|
-
case "ResourceNotFoundException":
|
|
4126
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
4127
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4128
|
-
case "ThrottlingException":
|
|
4129
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
4130
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4131
|
-
case "ValidationException":
|
|
4132
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
4133
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4134
|
-
default:
|
|
4135
|
-
const parsedBody = parsedOutput.body;
|
|
4136
|
-
return throwDefaultError({
|
|
4137
|
-
output,
|
|
4138
|
-
parsedBody,
|
|
4139
|
-
errorCode
|
|
4140
|
-
});
|
|
4141
|
-
}
|
|
4142
|
-
}, "de_GetLogLevelsByResourceTypesCommandError");
|
|
4143
2750
|
var de_GetMulticastGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4144
2751
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4145
|
-
return
|
|
2752
|
+
return de_CommandError(output, context);
|
|
4146
2753
|
}
|
|
4147
2754
|
const contents = (0, import_smithy_client.map)({
|
|
4148
2755
|
$metadata: deserializeMetadata(output)
|
|
@@ -4160,40 +2767,9 @@ var de_GetMulticastGroupCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
4160
2767
|
Object.assign(contents, doc);
|
|
4161
2768
|
return contents;
|
|
4162
2769
|
}, "de_GetMulticastGroupCommand");
|
|
4163
|
-
var de_GetMulticastGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4164
|
-
const parsedOutput = {
|
|
4165
|
-
...output,
|
|
4166
|
-
body: await parseErrorBody(output.body, context)
|
|
4167
|
-
};
|
|
4168
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4169
|
-
switch (errorCode) {
|
|
4170
|
-
case "AccessDeniedException":
|
|
4171
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
4172
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4173
|
-
case "InternalServerException":
|
|
4174
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
4175
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4176
|
-
case "ResourceNotFoundException":
|
|
4177
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
4178
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4179
|
-
case "ThrottlingException":
|
|
4180
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
4181
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4182
|
-
case "ValidationException":
|
|
4183
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
4184
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4185
|
-
default:
|
|
4186
|
-
const parsedBody = parsedOutput.body;
|
|
4187
|
-
return throwDefaultError({
|
|
4188
|
-
output,
|
|
4189
|
-
parsedBody,
|
|
4190
|
-
errorCode
|
|
4191
|
-
});
|
|
4192
|
-
}
|
|
4193
|
-
}, "de_GetMulticastGroupCommandError");
|
|
4194
2770
|
var de_GetMulticastGroupSessionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4195
2771
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4196
|
-
return
|
|
2772
|
+
return de_CommandError(output, context);
|
|
4197
2773
|
}
|
|
4198
2774
|
const contents = (0, import_smithy_client.map)({
|
|
4199
2775
|
$metadata: deserializeMetadata(output)
|
|
@@ -4205,40 +2781,9 @@ var de_GetMulticastGroupSessionCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
4205
2781
|
Object.assign(contents, doc);
|
|
4206
2782
|
return contents;
|
|
4207
2783
|
}, "de_GetMulticastGroupSessionCommand");
|
|
4208
|
-
var de_GetMulticastGroupSessionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4209
|
-
const parsedOutput = {
|
|
4210
|
-
...output,
|
|
4211
|
-
body: await parseErrorBody(output.body, context)
|
|
4212
|
-
};
|
|
4213
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4214
|
-
switch (errorCode) {
|
|
4215
|
-
case "AccessDeniedException":
|
|
4216
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
4217
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4218
|
-
case "InternalServerException":
|
|
4219
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
4220
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4221
|
-
case "ResourceNotFoundException":
|
|
4222
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
4223
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4224
|
-
case "ThrottlingException":
|
|
4225
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
4226
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4227
|
-
case "ValidationException":
|
|
4228
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
4229
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4230
|
-
default:
|
|
4231
|
-
const parsedBody = parsedOutput.body;
|
|
4232
|
-
return throwDefaultError({
|
|
4233
|
-
output,
|
|
4234
|
-
parsedBody,
|
|
4235
|
-
errorCode
|
|
4236
|
-
});
|
|
4237
|
-
}
|
|
4238
|
-
}, "de_GetMulticastGroupSessionCommandError");
|
|
4239
2784
|
var de_GetNetworkAnalyzerConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4240
2785
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4241
|
-
return
|
|
2786
|
+
return de_CommandError(output, context);
|
|
4242
2787
|
}
|
|
4243
2788
|
const contents = (0, import_smithy_client.map)({
|
|
4244
2789
|
$metadata: deserializeMetadata(output)
|
|
@@ -4256,40 +2801,9 @@ var de_GetNetworkAnalyzerConfigurationCommand = /* @__PURE__ */ __name(async (ou
|
|
|
4256
2801
|
Object.assign(contents, doc);
|
|
4257
2802
|
return contents;
|
|
4258
2803
|
}, "de_GetNetworkAnalyzerConfigurationCommand");
|
|
4259
|
-
var de_GetNetworkAnalyzerConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4260
|
-
const parsedOutput = {
|
|
4261
|
-
...output,
|
|
4262
|
-
body: await parseErrorBody(output.body, context)
|
|
4263
|
-
};
|
|
4264
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4265
|
-
switch (errorCode) {
|
|
4266
|
-
case "AccessDeniedException":
|
|
4267
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
4268
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4269
|
-
case "InternalServerException":
|
|
4270
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
4271
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4272
|
-
case "ResourceNotFoundException":
|
|
4273
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
4274
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4275
|
-
case "ThrottlingException":
|
|
4276
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
4277
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4278
|
-
case "ValidationException":
|
|
4279
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
4280
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4281
|
-
default:
|
|
4282
|
-
const parsedBody = parsedOutput.body;
|
|
4283
|
-
return throwDefaultError({
|
|
4284
|
-
output,
|
|
4285
|
-
parsedBody,
|
|
4286
|
-
errorCode
|
|
4287
|
-
});
|
|
4288
|
-
}
|
|
4289
|
-
}, "de_GetNetworkAnalyzerConfigurationCommandError");
|
|
4290
2804
|
var de_GetPartnerAccountCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4291
2805
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4292
|
-
return
|
|
2806
|
+
return de_CommandError(output, context);
|
|
4293
2807
|
}
|
|
4294
2808
|
const contents = (0, import_smithy_client.map)({
|
|
4295
2809
|
$metadata: deserializeMetadata(output)
|
|
@@ -4302,37 +2816,9 @@ var de_GetPartnerAccountCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
4302
2816
|
Object.assign(contents, doc);
|
|
4303
2817
|
return contents;
|
|
4304
2818
|
}, "de_GetPartnerAccountCommand");
|
|
4305
|
-
var de_GetPartnerAccountCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4306
|
-
const parsedOutput = {
|
|
4307
|
-
...output,
|
|
4308
|
-
body: await parseErrorBody(output.body, context)
|
|
4309
|
-
};
|
|
4310
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4311
|
-
switch (errorCode) {
|
|
4312
|
-
case "InternalServerException":
|
|
4313
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
4314
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4315
|
-
case "ResourceNotFoundException":
|
|
4316
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
4317
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4318
|
-
case "ThrottlingException":
|
|
4319
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
4320
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4321
|
-
case "ValidationException":
|
|
4322
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
4323
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4324
|
-
default:
|
|
4325
|
-
const parsedBody = parsedOutput.body;
|
|
4326
|
-
return throwDefaultError({
|
|
4327
|
-
output,
|
|
4328
|
-
parsedBody,
|
|
4329
|
-
errorCode
|
|
4330
|
-
});
|
|
4331
|
-
}
|
|
4332
|
-
}, "de_GetPartnerAccountCommandError");
|
|
4333
2819
|
var de_GetPositionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4334
2820
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4335
|
-
return
|
|
2821
|
+
return de_CommandError(output, context);
|
|
4336
2822
|
}
|
|
4337
2823
|
const contents = (0, import_smithy_client.map)({
|
|
4338
2824
|
$metadata: deserializeMetadata(output)
|
|
@@ -4349,40 +2835,9 @@ var de_GetPositionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
4349
2835
|
Object.assign(contents, doc);
|
|
4350
2836
|
return contents;
|
|
4351
2837
|
}, "de_GetPositionCommand");
|
|
4352
|
-
var de_GetPositionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4353
|
-
const parsedOutput = {
|
|
4354
|
-
...output,
|
|
4355
|
-
body: await parseErrorBody(output.body, context)
|
|
4356
|
-
};
|
|
4357
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4358
|
-
switch (errorCode) {
|
|
4359
|
-
case "AccessDeniedException":
|
|
4360
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
4361
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4362
|
-
case "InternalServerException":
|
|
4363
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
4364
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4365
|
-
case "ResourceNotFoundException":
|
|
4366
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
4367
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4368
|
-
case "ThrottlingException":
|
|
4369
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
4370
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4371
|
-
case "ValidationException":
|
|
4372
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
4373
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4374
|
-
default:
|
|
4375
|
-
const parsedBody = parsedOutput.body;
|
|
4376
|
-
return throwDefaultError({
|
|
4377
|
-
output,
|
|
4378
|
-
parsedBody,
|
|
4379
|
-
errorCode
|
|
4380
|
-
});
|
|
4381
|
-
}
|
|
4382
|
-
}, "de_GetPositionCommandError");
|
|
4383
2838
|
var de_GetPositionConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4384
2839
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4385
|
-
return
|
|
2840
|
+
return de_CommandError(output, context);
|
|
4386
2841
|
}
|
|
4387
2842
|
const contents = (0, import_smithy_client.map)({
|
|
4388
2843
|
$metadata: deserializeMetadata(output)
|
|
@@ -4395,40 +2850,9 @@ var de_GetPositionConfigurationCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
4395
2850
|
Object.assign(contents, doc);
|
|
4396
2851
|
return contents;
|
|
4397
2852
|
}, "de_GetPositionConfigurationCommand");
|
|
4398
|
-
var de_GetPositionConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4399
|
-
const parsedOutput = {
|
|
4400
|
-
...output,
|
|
4401
|
-
body: await parseErrorBody(output.body, context)
|
|
4402
|
-
};
|
|
4403
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4404
|
-
switch (errorCode) {
|
|
4405
|
-
case "AccessDeniedException":
|
|
4406
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
4407
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4408
|
-
case "InternalServerException":
|
|
4409
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
4410
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4411
|
-
case "ResourceNotFoundException":
|
|
4412
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
4413
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4414
|
-
case "ThrottlingException":
|
|
4415
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
4416
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4417
|
-
case "ValidationException":
|
|
4418
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
4419
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4420
|
-
default:
|
|
4421
|
-
const parsedBody = parsedOutput.body;
|
|
4422
|
-
return throwDefaultError({
|
|
4423
|
-
output,
|
|
4424
|
-
parsedBody,
|
|
4425
|
-
errorCode
|
|
4426
|
-
});
|
|
4427
|
-
}
|
|
4428
|
-
}, "de_GetPositionConfigurationCommandError");
|
|
4429
2853
|
var de_GetPositionEstimateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4430
2854
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4431
|
-
return
|
|
2855
|
+
return de_CommandError(output, context);
|
|
4432
2856
|
}
|
|
4433
2857
|
const contents = (0, import_smithy_client.map)({
|
|
4434
2858
|
$metadata: deserializeMetadata(output)
|
|
@@ -4437,40 +2861,9 @@ var de_GetPositionEstimateCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
4437
2861
|
contents.GeoJsonPayload = data;
|
|
4438
2862
|
return contents;
|
|
4439
2863
|
}, "de_GetPositionEstimateCommand");
|
|
4440
|
-
var de_GetPositionEstimateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4441
|
-
const parsedOutput = {
|
|
4442
|
-
...output,
|
|
4443
|
-
body: await parseErrorBody(output.body, context)
|
|
4444
|
-
};
|
|
4445
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4446
|
-
switch (errorCode) {
|
|
4447
|
-
case "AccessDeniedException":
|
|
4448
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
4449
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4450
|
-
case "InternalServerException":
|
|
4451
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
4452
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4453
|
-
case "ResourceNotFoundException":
|
|
4454
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
4455
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4456
|
-
case "ThrottlingException":
|
|
4457
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
4458
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4459
|
-
case "ValidationException":
|
|
4460
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
4461
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4462
|
-
default:
|
|
4463
|
-
const parsedBody = parsedOutput.body;
|
|
4464
|
-
return throwDefaultError({
|
|
4465
|
-
output,
|
|
4466
|
-
parsedBody,
|
|
4467
|
-
errorCode
|
|
4468
|
-
});
|
|
4469
|
-
}
|
|
4470
|
-
}, "de_GetPositionEstimateCommandError");
|
|
4471
2864
|
var de_GetResourceEventConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4472
2865
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4473
|
-
return
|
|
2866
|
+
return de_CommandError(output, context);
|
|
4474
2867
|
}
|
|
4475
2868
|
const contents = (0, import_smithy_client.map)({
|
|
4476
2869
|
$metadata: deserializeMetadata(output)
|
|
@@ -4486,40 +2879,9 @@ var de_GetResourceEventConfigurationCommand = /* @__PURE__ */ __name(async (outp
|
|
|
4486
2879
|
Object.assign(contents, doc);
|
|
4487
2880
|
return contents;
|
|
4488
2881
|
}, "de_GetResourceEventConfigurationCommand");
|
|
4489
|
-
var de_GetResourceEventConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4490
|
-
const parsedOutput = {
|
|
4491
|
-
...output,
|
|
4492
|
-
body: await parseErrorBody(output.body, context)
|
|
4493
|
-
};
|
|
4494
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4495
|
-
switch (errorCode) {
|
|
4496
|
-
case "AccessDeniedException":
|
|
4497
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
4498
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4499
|
-
case "InternalServerException":
|
|
4500
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
4501
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4502
|
-
case "ResourceNotFoundException":
|
|
4503
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
4504
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4505
|
-
case "ThrottlingException":
|
|
4506
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
4507
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4508
|
-
case "ValidationException":
|
|
4509
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
4510
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4511
|
-
default:
|
|
4512
|
-
const parsedBody = parsedOutput.body;
|
|
4513
|
-
return throwDefaultError({
|
|
4514
|
-
output,
|
|
4515
|
-
parsedBody,
|
|
4516
|
-
errorCode
|
|
4517
|
-
});
|
|
4518
|
-
}
|
|
4519
|
-
}, "de_GetResourceEventConfigurationCommandError");
|
|
4520
2882
|
var de_GetResourceLogLevelCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4521
2883
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4522
|
-
return
|
|
2884
|
+
return de_CommandError(output, context);
|
|
4523
2885
|
}
|
|
4524
2886
|
const contents = (0, import_smithy_client.map)({
|
|
4525
2887
|
$metadata: deserializeMetadata(output)
|
|
@@ -4531,40 +2893,9 @@ var de_GetResourceLogLevelCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
4531
2893
|
Object.assign(contents, doc);
|
|
4532
2894
|
return contents;
|
|
4533
2895
|
}, "de_GetResourceLogLevelCommand");
|
|
4534
|
-
var de_GetResourceLogLevelCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4535
|
-
const parsedOutput = {
|
|
4536
|
-
...output,
|
|
4537
|
-
body: await parseErrorBody(output.body, context)
|
|
4538
|
-
};
|
|
4539
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4540
|
-
switch (errorCode) {
|
|
4541
|
-
case "AccessDeniedException":
|
|
4542
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
4543
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4544
|
-
case "InternalServerException":
|
|
4545
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
4546
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4547
|
-
case "ResourceNotFoundException":
|
|
4548
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
4549
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4550
|
-
case "ThrottlingException":
|
|
4551
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
4552
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4553
|
-
case "ValidationException":
|
|
4554
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
4555
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4556
|
-
default:
|
|
4557
|
-
const parsedBody = parsedOutput.body;
|
|
4558
|
-
return throwDefaultError({
|
|
4559
|
-
output,
|
|
4560
|
-
parsedBody,
|
|
4561
|
-
errorCode
|
|
4562
|
-
});
|
|
4563
|
-
}
|
|
4564
|
-
}, "de_GetResourceLogLevelCommandError");
|
|
4565
2896
|
var de_GetResourcePositionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4566
2897
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4567
|
-
return
|
|
2898
|
+
return de_CommandError(output, context);
|
|
4568
2899
|
}
|
|
4569
2900
|
const contents = (0, import_smithy_client.map)({
|
|
4570
2901
|
$metadata: deserializeMetadata(output)
|
|
@@ -4573,40 +2904,9 @@ var de_GetResourcePositionCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
4573
2904
|
contents.GeoJsonPayload = data;
|
|
4574
2905
|
return contents;
|
|
4575
2906
|
}, "de_GetResourcePositionCommand");
|
|
4576
|
-
var de_GetResourcePositionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4577
|
-
const parsedOutput = {
|
|
4578
|
-
...output,
|
|
4579
|
-
body: await parseErrorBody(output.body, context)
|
|
4580
|
-
};
|
|
4581
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4582
|
-
switch (errorCode) {
|
|
4583
|
-
case "AccessDeniedException":
|
|
4584
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
4585
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4586
|
-
case "InternalServerException":
|
|
4587
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
4588
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4589
|
-
case "ResourceNotFoundException":
|
|
4590
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
4591
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4592
|
-
case "ThrottlingException":
|
|
4593
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
4594
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4595
|
-
case "ValidationException":
|
|
4596
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
4597
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4598
|
-
default:
|
|
4599
|
-
const parsedBody = parsedOutput.body;
|
|
4600
|
-
return throwDefaultError({
|
|
4601
|
-
output,
|
|
4602
|
-
parsedBody,
|
|
4603
|
-
errorCode
|
|
4604
|
-
});
|
|
4605
|
-
}
|
|
4606
|
-
}, "de_GetResourcePositionCommandError");
|
|
4607
2907
|
var de_GetServiceEndpointCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4608
2908
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4609
|
-
return
|
|
2909
|
+
return de_CommandError(output, context);
|
|
4610
2910
|
}
|
|
4611
2911
|
const contents = (0, import_smithy_client.map)({
|
|
4612
2912
|
$metadata: deserializeMetadata(output)
|
|
@@ -4620,37 +2920,9 @@ var de_GetServiceEndpointCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
4620
2920
|
Object.assign(contents, doc);
|
|
4621
2921
|
return contents;
|
|
4622
2922
|
}, "de_GetServiceEndpointCommand");
|
|
4623
|
-
var de_GetServiceEndpointCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4624
|
-
const parsedOutput = {
|
|
4625
|
-
...output,
|
|
4626
|
-
body: await parseErrorBody(output.body, context)
|
|
4627
|
-
};
|
|
4628
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4629
|
-
switch (errorCode) {
|
|
4630
|
-
case "AccessDeniedException":
|
|
4631
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
4632
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4633
|
-
case "InternalServerException":
|
|
4634
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
4635
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4636
|
-
case "ThrottlingException":
|
|
4637
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
4638
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4639
|
-
case "ValidationException":
|
|
4640
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
4641
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4642
|
-
default:
|
|
4643
|
-
const parsedBody = parsedOutput.body;
|
|
4644
|
-
return throwDefaultError({
|
|
4645
|
-
output,
|
|
4646
|
-
parsedBody,
|
|
4647
|
-
errorCode
|
|
4648
|
-
});
|
|
4649
|
-
}
|
|
4650
|
-
}, "de_GetServiceEndpointCommandError");
|
|
4651
2923
|
var de_GetServiceProfileCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4652
2924
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4653
|
-
return
|
|
2925
|
+
return de_CommandError(output, context);
|
|
4654
2926
|
}
|
|
4655
2927
|
const contents = (0, import_smithy_client.map)({
|
|
4656
2928
|
$metadata: deserializeMetadata(output)
|
|
@@ -4665,40 +2937,9 @@ var de_GetServiceProfileCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
4665
2937
|
Object.assign(contents, doc);
|
|
4666
2938
|
return contents;
|
|
4667
2939
|
}, "de_GetServiceProfileCommand");
|
|
4668
|
-
var de_GetServiceProfileCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4669
|
-
const parsedOutput = {
|
|
4670
|
-
...output,
|
|
4671
|
-
body: await parseErrorBody(output.body, context)
|
|
4672
|
-
};
|
|
4673
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4674
|
-
switch (errorCode) {
|
|
4675
|
-
case "AccessDeniedException":
|
|
4676
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
4677
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4678
|
-
case "InternalServerException":
|
|
4679
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
4680
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4681
|
-
case "ResourceNotFoundException":
|
|
4682
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
4683
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4684
|
-
case "ThrottlingException":
|
|
4685
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
4686
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4687
|
-
case "ValidationException":
|
|
4688
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
4689
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4690
|
-
default:
|
|
4691
|
-
const parsedBody = parsedOutput.body;
|
|
4692
|
-
return throwDefaultError({
|
|
4693
|
-
output,
|
|
4694
|
-
parsedBody,
|
|
4695
|
-
errorCode
|
|
4696
|
-
});
|
|
4697
|
-
}
|
|
4698
|
-
}, "de_GetServiceProfileCommandError");
|
|
4699
2940
|
var de_GetWirelessDeviceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4700
2941
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4701
|
-
return
|
|
2942
|
+
return de_CommandError(output, context);
|
|
4702
2943
|
}
|
|
4703
2944
|
const contents = (0, import_smithy_client.map)({
|
|
4704
2945
|
$metadata: deserializeMetadata(output)
|
|
@@ -4720,40 +2961,9 @@ var de_GetWirelessDeviceCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
4720
2961
|
Object.assign(contents, doc);
|
|
4721
2962
|
return contents;
|
|
4722
2963
|
}, "de_GetWirelessDeviceCommand");
|
|
4723
|
-
var de_GetWirelessDeviceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4724
|
-
const parsedOutput = {
|
|
4725
|
-
...output,
|
|
4726
|
-
body: await parseErrorBody(output.body, context)
|
|
4727
|
-
};
|
|
4728
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4729
|
-
switch (errorCode) {
|
|
4730
|
-
case "AccessDeniedException":
|
|
4731
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
4732
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4733
|
-
case "InternalServerException":
|
|
4734
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
4735
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4736
|
-
case "ResourceNotFoundException":
|
|
4737
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
4738
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4739
|
-
case "ThrottlingException":
|
|
4740
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
4741
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4742
|
-
case "ValidationException":
|
|
4743
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
4744
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4745
|
-
default:
|
|
4746
|
-
const parsedBody = parsedOutput.body;
|
|
4747
|
-
return throwDefaultError({
|
|
4748
|
-
output,
|
|
4749
|
-
parsedBody,
|
|
4750
|
-
errorCode
|
|
4751
|
-
});
|
|
4752
|
-
}
|
|
4753
|
-
}, "de_GetWirelessDeviceCommandError");
|
|
4754
2964
|
var de_GetWirelessDeviceImportTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4755
2965
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4756
|
-
return
|
|
2966
|
+
return de_CommandError(output, context);
|
|
4757
2967
|
}
|
|
4758
2968
|
const contents = (0, import_smithy_client.map)({
|
|
4759
2969
|
$metadata: deserializeMetadata(output)
|
|
@@ -4775,43 +2985,9 @@ var de_GetWirelessDeviceImportTaskCommand = /* @__PURE__ */ __name(async (output
|
|
|
4775
2985
|
Object.assign(contents, doc);
|
|
4776
2986
|
return contents;
|
|
4777
2987
|
}, "de_GetWirelessDeviceImportTaskCommand");
|
|
4778
|
-
var de_GetWirelessDeviceImportTaskCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4779
|
-
const parsedOutput = {
|
|
4780
|
-
...output,
|
|
4781
|
-
body: await parseErrorBody(output.body, context)
|
|
4782
|
-
};
|
|
4783
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4784
|
-
switch (errorCode) {
|
|
4785
|
-
case "AccessDeniedException":
|
|
4786
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
4787
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4788
|
-
case "ConflictException":
|
|
4789
|
-
case "com.amazonaws.iotwireless#ConflictException":
|
|
4790
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
4791
|
-
case "InternalServerException":
|
|
4792
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
4793
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4794
|
-
case "ResourceNotFoundException":
|
|
4795
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
4796
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4797
|
-
case "ThrottlingException":
|
|
4798
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
4799
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4800
|
-
case "ValidationException":
|
|
4801
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
4802
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4803
|
-
default:
|
|
4804
|
-
const parsedBody = parsedOutput.body;
|
|
4805
|
-
return throwDefaultError({
|
|
4806
|
-
output,
|
|
4807
|
-
parsedBody,
|
|
4808
|
-
errorCode
|
|
4809
|
-
});
|
|
4810
|
-
}
|
|
4811
|
-
}, "de_GetWirelessDeviceImportTaskCommandError");
|
|
4812
2988
|
var de_GetWirelessDeviceStatisticsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4813
2989
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4814
|
-
return
|
|
2990
|
+
return de_CommandError(output, context);
|
|
4815
2991
|
}
|
|
4816
2992
|
const contents = (0, import_smithy_client.map)({
|
|
4817
2993
|
$metadata: deserializeMetadata(output)
|
|
@@ -4826,40 +3002,9 @@ var de_GetWirelessDeviceStatisticsCommand = /* @__PURE__ */ __name(async (output
|
|
|
4826
3002
|
Object.assign(contents, doc);
|
|
4827
3003
|
return contents;
|
|
4828
3004
|
}, "de_GetWirelessDeviceStatisticsCommand");
|
|
4829
|
-
var de_GetWirelessDeviceStatisticsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4830
|
-
const parsedOutput = {
|
|
4831
|
-
...output,
|
|
4832
|
-
body: await parseErrorBody(output.body, context)
|
|
4833
|
-
};
|
|
4834
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4835
|
-
switch (errorCode) {
|
|
4836
|
-
case "AccessDeniedException":
|
|
4837
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
4838
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4839
|
-
case "InternalServerException":
|
|
4840
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
4841
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4842
|
-
case "ResourceNotFoundException":
|
|
4843
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
4844
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4845
|
-
case "ThrottlingException":
|
|
4846
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
4847
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4848
|
-
case "ValidationException":
|
|
4849
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
4850
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4851
|
-
default:
|
|
4852
|
-
const parsedBody = parsedOutput.body;
|
|
4853
|
-
return throwDefaultError({
|
|
4854
|
-
output,
|
|
4855
|
-
parsedBody,
|
|
4856
|
-
errorCode
|
|
4857
|
-
});
|
|
4858
|
-
}
|
|
4859
|
-
}, "de_GetWirelessDeviceStatisticsCommandError");
|
|
4860
3005
|
var de_GetWirelessGatewayCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4861
3006
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4862
|
-
return
|
|
3007
|
+
return de_CommandError(output, context);
|
|
4863
3008
|
}
|
|
4864
3009
|
const contents = (0, import_smithy_client.map)({
|
|
4865
3010
|
$metadata: deserializeMetadata(output)
|
|
@@ -4877,40 +3022,9 @@ var de_GetWirelessGatewayCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
4877
3022
|
Object.assign(contents, doc);
|
|
4878
3023
|
return contents;
|
|
4879
3024
|
}, "de_GetWirelessGatewayCommand");
|
|
4880
|
-
var de_GetWirelessGatewayCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4881
|
-
const parsedOutput = {
|
|
4882
|
-
...output,
|
|
4883
|
-
body: await parseErrorBody(output.body, context)
|
|
4884
|
-
};
|
|
4885
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4886
|
-
switch (errorCode) {
|
|
4887
|
-
case "AccessDeniedException":
|
|
4888
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
4889
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4890
|
-
case "InternalServerException":
|
|
4891
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
4892
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4893
|
-
case "ResourceNotFoundException":
|
|
4894
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
4895
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4896
|
-
case "ThrottlingException":
|
|
4897
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
4898
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4899
|
-
case "ValidationException":
|
|
4900
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
4901
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4902
|
-
default:
|
|
4903
|
-
const parsedBody = parsedOutput.body;
|
|
4904
|
-
return throwDefaultError({
|
|
4905
|
-
output,
|
|
4906
|
-
parsedBody,
|
|
4907
|
-
errorCode
|
|
4908
|
-
});
|
|
4909
|
-
}
|
|
4910
|
-
}, "de_GetWirelessGatewayCommandError");
|
|
4911
3025
|
var de_GetWirelessGatewayCertificateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4912
3026
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4913
|
-
return
|
|
3027
|
+
return de_CommandError(output, context);
|
|
4914
3028
|
}
|
|
4915
3029
|
const contents = (0, import_smithy_client.map)({
|
|
4916
3030
|
$metadata: deserializeMetadata(output)
|
|
@@ -4923,40 +3037,9 @@ var de_GetWirelessGatewayCertificateCommand = /* @__PURE__ */ __name(async (outp
|
|
|
4923
3037
|
Object.assign(contents, doc);
|
|
4924
3038
|
return contents;
|
|
4925
3039
|
}, "de_GetWirelessGatewayCertificateCommand");
|
|
4926
|
-
var de_GetWirelessGatewayCertificateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4927
|
-
const parsedOutput = {
|
|
4928
|
-
...output,
|
|
4929
|
-
body: await parseErrorBody(output.body, context)
|
|
4930
|
-
};
|
|
4931
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4932
|
-
switch (errorCode) {
|
|
4933
|
-
case "AccessDeniedException":
|
|
4934
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
4935
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4936
|
-
case "InternalServerException":
|
|
4937
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
4938
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4939
|
-
case "ResourceNotFoundException":
|
|
4940
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
4941
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4942
|
-
case "ThrottlingException":
|
|
4943
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
4944
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4945
|
-
case "ValidationException":
|
|
4946
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
4947
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4948
|
-
default:
|
|
4949
|
-
const parsedBody = parsedOutput.body;
|
|
4950
|
-
return throwDefaultError({
|
|
4951
|
-
output,
|
|
4952
|
-
parsedBody,
|
|
4953
|
-
errorCode
|
|
4954
|
-
});
|
|
4955
|
-
}
|
|
4956
|
-
}, "de_GetWirelessGatewayCertificateCommandError");
|
|
4957
3040
|
var de_GetWirelessGatewayFirmwareInformationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4958
3041
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4959
|
-
return
|
|
3042
|
+
return de_CommandError(output, context);
|
|
4960
3043
|
}
|
|
4961
3044
|
const contents = (0, import_smithy_client.map)({
|
|
4962
3045
|
$metadata: deserializeMetadata(output)
|
|
@@ -4968,40 +3051,9 @@ var de_GetWirelessGatewayFirmwareInformationCommand = /* @__PURE__ */ __name(asy
|
|
|
4968
3051
|
Object.assign(contents, doc);
|
|
4969
3052
|
return contents;
|
|
4970
3053
|
}, "de_GetWirelessGatewayFirmwareInformationCommand");
|
|
4971
|
-
var de_GetWirelessGatewayFirmwareInformationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4972
|
-
const parsedOutput = {
|
|
4973
|
-
...output,
|
|
4974
|
-
body: await parseErrorBody(output.body, context)
|
|
4975
|
-
};
|
|
4976
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4977
|
-
switch (errorCode) {
|
|
4978
|
-
case "AccessDeniedException":
|
|
4979
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
4980
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4981
|
-
case "InternalServerException":
|
|
4982
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
4983
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4984
|
-
case "ResourceNotFoundException":
|
|
4985
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
4986
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4987
|
-
case "ThrottlingException":
|
|
4988
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
4989
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4990
|
-
case "ValidationException":
|
|
4991
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
4992
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4993
|
-
default:
|
|
4994
|
-
const parsedBody = parsedOutput.body;
|
|
4995
|
-
return throwDefaultError({
|
|
4996
|
-
output,
|
|
4997
|
-
parsedBody,
|
|
4998
|
-
errorCode
|
|
4999
|
-
});
|
|
5000
|
-
}
|
|
5001
|
-
}, "de_GetWirelessGatewayFirmwareInformationCommandError");
|
|
5002
3054
|
var de_GetWirelessGatewayStatisticsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5003
3055
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5004
|
-
return
|
|
3056
|
+
return de_CommandError(output, context);
|
|
5005
3057
|
}
|
|
5006
3058
|
const contents = (0, import_smithy_client.map)({
|
|
5007
3059
|
$metadata: deserializeMetadata(output)
|
|
@@ -5015,40 +3067,9 @@ var de_GetWirelessGatewayStatisticsCommand = /* @__PURE__ */ __name(async (outpu
|
|
|
5015
3067
|
Object.assign(contents, doc);
|
|
5016
3068
|
return contents;
|
|
5017
3069
|
}, "de_GetWirelessGatewayStatisticsCommand");
|
|
5018
|
-
var de_GetWirelessGatewayStatisticsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5019
|
-
const parsedOutput = {
|
|
5020
|
-
...output,
|
|
5021
|
-
body: await parseErrorBody(output.body, context)
|
|
5022
|
-
};
|
|
5023
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5024
|
-
switch (errorCode) {
|
|
5025
|
-
case "AccessDeniedException":
|
|
5026
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
5027
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
5028
|
-
case "InternalServerException":
|
|
5029
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
5030
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
5031
|
-
case "ResourceNotFoundException":
|
|
5032
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
5033
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
5034
|
-
case "ThrottlingException":
|
|
5035
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
5036
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5037
|
-
case "ValidationException":
|
|
5038
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
5039
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5040
|
-
default:
|
|
5041
|
-
const parsedBody = parsedOutput.body;
|
|
5042
|
-
return throwDefaultError({
|
|
5043
|
-
output,
|
|
5044
|
-
parsedBody,
|
|
5045
|
-
errorCode
|
|
5046
|
-
});
|
|
5047
|
-
}
|
|
5048
|
-
}, "de_GetWirelessGatewayStatisticsCommandError");
|
|
5049
3070
|
var de_GetWirelessGatewayTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5050
3071
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5051
|
-
return
|
|
3072
|
+
return de_CommandError(output, context);
|
|
5052
3073
|
}
|
|
5053
3074
|
const contents = (0, import_smithy_client.map)({
|
|
5054
3075
|
$metadata: deserializeMetadata(output)
|
|
@@ -5064,40 +3085,9 @@ var de_GetWirelessGatewayTaskCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
5064
3085
|
Object.assign(contents, doc);
|
|
5065
3086
|
return contents;
|
|
5066
3087
|
}, "de_GetWirelessGatewayTaskCommand");
|
|
5067
|
-
var de_GetWirelessGatewayTaskCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5068
|
-
const parsedOutput = {
|
|
5069
|
-
...output,
|
|
5070
|
-
body: await parseErrorBody(output.body, context)
|
|
5071
|
-
};
|
|
5072
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5073
|
-
switch (errorCode) {
|
|
5074
|
-
case "AccessDeniedException":
|
|
5075
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
5076
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
5077
|
-
case "InternalServerException":
|
|
5078
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
5079
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
5080
|
-
case "ResourceNotFoundException":
|
|
5081
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
5082
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
5083
|
-
case "ThrottlingException":
|
|
5084
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
5085
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5086
|
-
case "ValidationException":
|
|
5087
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
5088
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5089
|
-
default:
|
|
5090
|
-
const parsedBody = parsedOutput.body;
|
|
5091
|
-
return throwDefaultError({
|
|
5092
|
-
output,
|
|
5093
|
-
parsedBody,
|
|
5094
|
-
errorCode
|
|
5095
|
-
});
|
|
5096
|
-
}
|
|
5097
|
-
}, "de_GetWirelessGatewayTaskCommandError");
|
|
5098
3088
|
var de_GetWirelessGatewayTaskDefinitionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5099
3089
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5100
|
-
return
|
|
3090
|
+
return de_CommandError(output, context);
|
|
5101
3091
|
}
|
|
5102
3092
|
const contents = (0, import_smithy_client.map)({
|
|
5103
3093
|
$metadata: deserializeMetadata(output)
|
|
@@ -5112,40 +3102,9 @@ var de_GetWirelessGatewayTaskDefinitionCommand = /* @__PURE__ */ __name(async (o
|
|
|
5112
3102
|
Object.assign(contents, doc);
|
|
5113
3103
|
return contents;
|
|
5114
3104
|
}, "de_GetWirelessGatewayTaskDefinitionCommand");
|
|
5115
|
-
var de_GetWirelessGatewayTaskDefinitionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5116
|
-
const parsedOutput = {
|
|
5117
|
-
...output,
|
|
5118
|
-
body: await parseErrorBody(output.body, context)
|
|
5119
|
-
};
|
|
5120
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5121
|
-
switch (errorCode) {
|
|
5122
|
-
case "AccessDeniedException":
|
|
5123
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
5124
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
5125
|
-
case "InternalServerException":
|
|
5126
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
5127
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
5128
|
-
case "ResourceNotFoundException":
|
|
5129
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
5130
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
5131
|
-
case "ThrottlingException":
|
|
5132
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
5133
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5134
|
-
case "ValidationException":
|
|
5135
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
5136
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5137
|
-
default:
|
|
5138
|
-
const parsedBody = parsedOutput.body;
|
|
5139
|
-
return throwDefaultError({
|
|
5140
|
-
output,
|
|
5141
|
-
parsedBody,
|
|
5142
|
-
errorCode
|
|
5143
|
-
});
|
|
5144
|
-
}
|
|
5145
|
-
}, "de_GetWirelessGatewayTaskDefinitionCommandError");
|
|
5146
3105
|
var de_ListDestinationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5147
3106
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5148
|
-
return
|
|
3107
|
+
return de_CommandError(output, context);
|
|
5149
3108
|
}
|
|
5150
3109
|
const contents = (0, import_smithy_client.map)({
|
|
5151
3110
|
$metadata: deserializeMetadata(output)
|
|
@@ -5158,37 +3117,9 @@ var de_ListDestinationsCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
5158
3117
|
Object.assign(contents, doc);
|
|
5159
3118
|
return contents;
|
|
5160
3119
|
}, "de_ListDestinationsCommand");
|
|
5161
|
-
var de_ListDestinationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5162
|
-
const parsedOutput = {
|
|
5163
|
-
...output,
|
|
5164
|
-
body: await parseErrorBody(output.body, context)
|
|
5165
|
-
};
|
|
5166
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5167
|
-
switch (errorCode) {
|
|
5168
|
-
case "AccessDeniedException":
|
|
5169
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
5170
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
5171
|
-
case "InternalServerException":
|
|
5172
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
5173
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
5174
|
-
case "ThrottlingException":
|
|
5175
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
5176
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5177
|
-
case "ValidationException":
|
|
5178
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
5179
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5180
|
-
default:
|
|
5181
|
-
const parsedBody = parsedOutput.body;
|
|
5182
|
-
return throwDefaultError({
|
|
5183
|
-
output,
|
|
5184
|
-
parsedBody,
|
|
5185
|
-
errorCode
|
|
5186
|
-
});
|
|
5187
|
-
}
|
|
5188
|
-
}, "de_ListDestinationsCommandError");
|
|
5189
3120
|
var de_ListDeviceProfilesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5190
3121
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5191
|
-
return
|
|
3122
|
+
return de_CommandError(output, context);
|
|
5192
3123
|
}
|
|
5193
3124
|
const contents = (0, import_smithy_client.map)({
|
|
5194
3125
|
$metadata: deserializeMetadata(output)
|
|
@@ -5201,37 +3132,9 @@ var de_ListDeviceProfilesCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
5201
3132
|
Object.assign(contents, doc);
|
|
5202
3133
|
return contents;
|
|
5203
3134
|
}, "de_ListDeviceProfilesCommand");
|
|
5204
|
-
var de_ListDeviceProfilesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5205
|
-
const parsedOutput = {
|
|
5206
|
-
...output,
|
|
5207
|
-
body: await parseErrorBody(output.body, context)
|
|
5208
|
-
};
|
|
5209
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5210
|
-
switch (errorCode) {
|
|
5211
|
-
case "AccessDeniedException":
|
|
5212
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
5213
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
5214
|
-
case "InternalServerException":
|
|
5215
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
5216
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
5217
|
-
case "ThrottlingException":
|
|
5218
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
5219
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5220
|
-
case "ValidationException":
|
|
5221
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
5222
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5223
|
-
default:
|
|
5224
|
-
const parsedBody = parsedOutput.body;
|
|
5225
|
-
return throwDefaultError({
|
|
5226
|
-
output,
|
|
5227
|
-
parsedBody,
|
|
5228
|
-
errorCode
|
|
5229
|
-
});
|
|
5230
|
-
}
|
|
5231
|
-
}, "de_ListDeviceProfilesCommandError");
|
|
5232
3135
|
var de_ListDevicesForWirelessDeviceImportTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5233
3136
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5234
|
-
return
|
|
3137
|
+
return de_CommandError(output, context);
|
|
5235
3138
|
}
|
|
5236
3139
|
const contents = (0, import_smithy_client.map)({
|
|
5237
3140
|
$metadata: deserializeMetadata(output)
|
|
@@ -5245,43 +3148,9 @@ var de_ListDevicesForWirelessDeviceImportTaskCommand = /* @__PURE__ */ __name(as
|
|
|
5245
3148
|
Object.assign(contents, doc);
|
|
5246
3149
|
return contents;
|
|
5247
3150
|
}, "de_ListDevicesForWirelessDeviceImportTaskCommand");
|
|
5248
|
-
var de_ListDevicesForWirelessDeviceImportTaskCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5249
|
-
const parsedOutput = {
|
|
5250
|
-
...output,
|
|
5251
|
-
body: await parseErrorBody(output.body, context)
|
|
5252
|
-
};
|
|
5253
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5254
|
-
switch (errorCode) {
|
|
5255
|
-
case "AccessDeniedException":
|
|
5256
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
5257
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
5258
|
-
case "ConflictException":
|
|
5259
|
-
case "com.amazonaws.iotwireless#ConflictException":
|
|
5260
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
5261
|
-
case "InternalServerException":
|
|
5262
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
5263
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
5264
|
-
case "ResourceNotFoundException":
|
|
5265
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
5266
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
5267
|
-
case "ThrottlingException":
|
|
5268
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
5269
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5270
|
-
case "ValidationException":
|
|
5271
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
5272
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5273
|
-
default:
|
|
5274
|
-
const parsedBody = parsedOutput.body;
|
|
5275
|
-
return throwDefaultError({
|
|
5276
|
-
output,
|
|
5277
|
-
parsedBody,
|
|
5278
|
-
errorCode
|
|
5279
|
-
});
|
|
5280
|
-
}
|
|
5281
|
-
}, "de_ListDevicesForWirelessDeviceImportTaskCommandError");
|
|
5282
3151
|
var de_ListEventConfigurationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5283
3152
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5284
|
-
return
|
|
3153
|
+
return de_CommandError(output, context);
|
|
5285
3154
|
}
|
|
5286
3155
|
const contents = (0, import_smithy_client.map)({
|
|
5287
3156
|
$metadata: deserializeMetadata(output)
|
|
@@ -5294,37 +3163,9 @@ var de_ListEventConfigurationsCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
5294
3163
|
Object.assign(contents, doc);
|
|
5295
3164
|
return contents;
|
|
5296
3165
|
}, "de_ListEventConfigurationsCommand");
|
|
5297
|
-
var de_ListEventConfigurationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5298
|
-
const parsedOutput = {
|
|
5299
|
-
...output,
|
|
5300
|
-
body: await parseErrorBody(output.body, context)
|
|
5301
|
-
};
|
|
5302
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5303
|
-
switch (errorCode) {
|
|
5304
|
-
case "AccessDeniedException":
|
|
5305
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
5306
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
5307
|
-
case "InternalServerException":
|
|
5308
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
5309
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
5310
|
-
case "ThrottlingException":
|
|
5311
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
5312
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5313
|
-
case "ValidationException":
|
|
5314
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
5315
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5316
|
-
default:
|
|
5317
|
-
const parsedBody = parsedOutput.body;
|
|
5318
|
-
return throwDefaultError({
|
|
5319
|
-
output,
|
|
5320
|
-
parsedBody,
|
|
5321
|
-
errorCode
|
|
5322
|
-
});
|
|
5323
|
-
}
|
|
5324
|
-
}, "de_ListEventConfigurationsCommandError");
|
|
5325
3166
|
var de_ListFuotaTasksCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5326
3167
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5327
|
-
return
|
|
3168
|
+
return de_CommandError(output, context);
|
|
5328
3169
|
}
|
|
5329
3170
|
const contents = (0, import_smithy_client.map)({
|
|
5330
3171
|
$metadata: deserializeMetadata(output)
|
|
@@ -5337,37 +3178,9 @@ var de_ListFuotaTasksCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
5337
3178
|
Object.assign(contents, doc);
|
|
5338
3179
|
return contents;
|
|
5339
3180
|
}, "de_ListFuotaTasksCommand");
|
|
5340
|
-
var de_ListFuotaTasksCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5341
|
-
const parsedOutput = {
|
|
5342
|
-
...output,
|
|
5343
|
-
body: await parseErrorBody(output.body, context)
|
|
5344
|
-
};
|
|
5345
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5346
|
-
switch (errorCode) {
|
|
5347
|
-
case "AccessDeniedException":
|
|
5348
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
5349
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
5350
|
-
case "InternalServerException":
|
|
5351
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
5352
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
5353
|
-
case "ThrottlingException":
|
|
5354
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
5355
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5356
|
-
case "ValidationException":
|
|
5357
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
5358
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5359
|
-
default:
|
|
5360
|
-
const parsedBody = parsedOutput.body;
|
|
5361
|
-
return throwDefaultError({
|
|
5362
|
-
output,
|
|
5363
|
-
parsedBody,
|
|
5364
|
-
errorCode
|
|
5365
|
-
});
|
|
5366
|
-
}
|
|
5367
|
-
}, "de_ListFuotaTasksCommandError");
|
|
5368
3181
|
var de_ListMulticastGroupsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5369
3182
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5370
|
-
return
|
|
3183
|
+
return de_CommandError(output, context);
|
|
5371
3184
|
}
|
|
5372
3185
|
const contents = (0, import_smithy_client.map)({
|
|
5373
3186
|
$metadata: deserializeMetadata(output)
|
|
@@ -5380,37 +3193,9 @@ var de_ListMulticastGroupsCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
5380
3193
|
Object.assign(contents, doc);
|
|
5381
3194
|
return contents;
|
|
5382
3195
|
}, "de_ListMulticastGroupsCommand");
|
|
5383
|
-
var de_ListMulticastGroupsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5384
|
-
const parsedOutput = {
|
|
5385
|
-
...output,
|
|
5386
|
-
body: await parseErrorBody(output.body, context)
|
|
5387
|
-
};
|
|
5388
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5389
|
-
switch (errorCode) {
|
|
5390
|
-
case "AccessDeniedException":
|
|
5391
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
5392
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
5393
|
-
case "InternalServerException":
|
|
5394
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
5395
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
5396
|
-
case "ThrottlingException":
|
|
5397
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
5398
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5399
|
-
case "ValidationException":
|
|
5400
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
5401
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5402
|
-
default:
|
|
5403
|
-
const parsedBody = parsedOutput.body;
|
|
5404
|
-
return throwDefaultError({
|
|
5405
|
-
output,
|
|
5406
|
-
parsedBody,
|
|
5407
|
-
errorCode
|
|
5408
|
-
});
|
|
5409
|
-
}
|
|
5410
|
-
}, "de_ListMulticastGroupsCommandError");
|
|
5411
3196
|
var de_ListMulticastGroupsByFuotaTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5412
3197
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5413
|
-
return
|
|
3198
|
+
return de_CommandError(output, context);
|
|
5414
3199
|
}
|
|
5415
3200
|
const contents = (0, import_smithy_client.map)({
|
|
5416
3201
|
$metadata: deserializeMetadata(output)
|
|
@@ -5423,40 +3208,9 @@ var de_ListMulticastGroupsByFuotaTaskCommand = /* @__PURE__ */ __name(async (out
|
|
|
5423
3208
|
Object.assign(contents, doc);
|
|
5424
3209
|
return contents;
|
|
5425
3210
|
}, "de_ListMulticastGroupsByFuotaTaskCommand");
|
|
5426
|
-
var de_ListMulticastGroupsByFuotaTaskCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5427
|
-
const parsedOutput = {
|
|
5428
|
-
...output,
|
|
5429
|
-
body: await parseErrorBody(output.body, context)
|
|
5430
|
-
};
|
|
5431
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5432
|
-
switch (errorCode) {
|
|
5433
|
-
case "AccessDeniedException":
|
|
5434
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
5435
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
5436
|
-
case "InternalServerException":
|
|
5437
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
5438
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
5439
|
-
case "ResourceNotFoundException":
|
|
5440
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
5441
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
5442
|
-
case "ThrottlingException":
|
|
5443
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
5444
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5445
|
-
case "ValidationException":
|
|
5446
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
5447
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5448
|
-
default:
|
|
5449
|
-
const parsedBody = parsedOutput.body;
|
|
5450
|
-
return throwDefaultError({
|
|
5451
|
-
output,
|
|
5452
|
-
parsedBody,
|
|
5453
|
-
errorCode
|
|
5454
|
-
});
|
|
5455
|
-
}
|
|
5456
|
-
}, "de_ListMulticastGroupsByFuotaTaskCommandError");
|
|
5457
3211
|
var de_ListNetworkAnalyzerConfigurationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5458
3212
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5459
|
-
return
|
|
3213
|
+
return de_CommandError(output, context);
|
|
5460
3214
|
}
|
|
5461
3215
|
const contents = (0, import_smithy_client.map)({
|
|
5462
3216
|
$metadata: deserializeMetadata(output)
|
|
@@ -5469,37 +3223,9 @@ var de_ListNetworkAnalyzerConfigurationsCommand = /* @__PURE__ */ __name(async (
|
|
|
5469
3223
|
Object.assign(contents, doc);
|
|
5470
3224
|
return contents;
|
|
5471
3225
|
}, "de_ListNetworkAnalyzerConfigurationsCommand");
|
|
5472
|
-
var de_ListNetworkAnalyzerConfigurationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5473
|
-
const parsedOutput = {
|
|
5474
|
-
...output,
|
|
5475
|
-
body: await parseErrorBody(output.body, context)
|
|
5476
|
-
};
|
|
5477
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5478
|
-
switch (errorCode) {
|
|
5479
|
-
case "AccessDeniedException":
|
|
5480
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
5481
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
5482
|
-
case "InternalServerException":
|
|
5483
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
5484
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
5485
|
-
case "ThrottlingException":
|
|
5486
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
5487
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5488
|
-
case "ValidationException":
|
|
5489
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
5490
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5491
|
-
default:
|
|
5492
|
-
const parsedBody = parsedOutput.body;
|
|
5493
|
-
return throwDefaultError({
|
|
5494
|
-
output,
|
|
5495
|
-
parsedBody,
|
|
5496
|
-
errorCode
|
|
5497
|
-
});
|
|
5498
|
-
}
|
|
5499
|
-
}, "de_ListNetworkAnalyzerConfigurationsCommandError");
|
|
5500
3226
|
var de_ListPartnerAccountsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5501
3227
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5502
|
-
return
|
|
3228
|
+
return de_CommandError(output, context);
|
|
5503
3229
|
}
|
|
5504
3230
|
const contents = (0, import_smithy_client.map)({
|
|
5505
3231
|
$metadata: deserializeMetadata(output)
|
|
@@ -5512,37 +3238,9 @@ var de_ListPartnerAccountsCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
5512
3238
|
Object.assign(contents, doc);
|
|
5513
3239
|
return contents;
|
|
5514
3240
|
}, "de_ListPartnerAccountsCommand");
|
|
5515
|
-
var de_ListPartnerAccountsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5516
|
-
const parsedOutput = {
|
|
5517
|
-
...output,
|
|
5518
|
-
body: await parseErrorBody(output.body, context)
|
|
5519
|
-
};
|
|
5520
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5521
|
-
switch (errorCode) {
|
|
5522
|
-
case "InternalServerException":
|
|
5523
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
5524
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
5525
|
-
case "ResourceNotFoundException":
|
|
5526
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
5527
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
5528
|
-
case "ThrottlingException":
|
|
5529
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
5530
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5531
|
-
case "ValidationException":
|
|
5532
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
5533
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5534
|
-
default:
|
|
5535
|
-
const parsedBody = parsedOutput.body;
|
|
5536
|
-
return throwDefaultError({
|
|
5537
|
-
output,
|
|
5538
|
-
parsedBody,
|
|
5539
|
-
errorCode
|
|
5540
|
-
});
|
|
5541
|
-
}
|
|
5542
|
-
}, "de_ListPartnerAccountsCommandError");
|
|
5543
3241
|
var de_ListPositionConfigurationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5544
3242
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5545
|
-
return
|
|
3243
|
+
return de_CommandError(output, context);
|
|
5546
3244
|
}
|
|
5547
3245
|
const contents = (0, import_smithy_client.map)({
|
|
5548
3246
|
$metadata: deserializeMetadata(output)
|
|
@@ -5555,37 +3253,9 @@ var de_ListPositionConfigurationsCommand = /* @__PURE__ */ __name(async (output,
|
|
|
5555
3253
|
Object.assign(contents, doc);
|
|
5556
3254
|
return contents;
|
|
5557
3255
|
}, "de_ListPositionConfigurationsCommand");
|
|
5558
|
-
var de_ListPositionConfigurationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5559
|
-
const parsedOutput = {
|
|
5560
|
-
...output,
|
|
5561
|
-
body: await parseErrorBody(output.body, context)
|
|
5562
|
-
};
|
|
5563
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5564
|
-
switch (errorCode) {
|
|
5565
|
-
case "AccessDeniedException":
|
|
5566
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
5567
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
5568
|
-
case "InternalServerException":
|
|
5569
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
5570
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
5571
|
-
case "ThrottlingException":
|
|
5572
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
5573
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5574
|
-
case "ValidationException":
|
|
5575
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
5576
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5577
|
-
default:
|
|
5578
|
-
const parsedBody = parsedOutput.body;
|
|
5579
|
-
return throwDefaultError({
|
|
5580
|
-
output,
|
|
5581
|
-
parsedBody,
|
|
5582
|
-
errorCode
|
|
5583
|
-
});
|
|
5584
|
-
}
|
|
5585
|
-
}, "de_ListPositionConfigurationsCommandError");
|
|
5586
3256
|
var de_ListQueuedMessagesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5587
3257
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5588
|
-
return
|
|
3258
|
+
return de_CommandError(output, context);
|
|
5589
3259
|
}
|
|
5590
3260
|
const contents = (0, import_smithy_client.map)({
|
|
5591
3261
|
$metadata: deserializeMetadata(output)
|
|
@@ -5598,40 +3268,9 @@ var de_ListQueuedMessagesCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
5598
3268
|
Object.assign(contents, doc);
|
|
5599
3269
|
return contents;
|
|
5600
3270
|
}, "de_ListQueuedMessagesCommand");
|
|
5601
|
-
var de_ListQueuedMessagesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5602
|
-
const parsedOutput = {
|
|
5603
|
-
...output,
|
|
5604
|
-
body: await parseErrorBody(output.body, context)
|
|
5605
|
-
};
|
|
5606
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5607
|
-
switch (errorCode) {
|
|
5608
|
-
case "AccessDeniedException":
|
|
5609
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
5610
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
5611
|
-
case "InternalServerException":
|
|
5612
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
5613
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
5614
|
-
case "ResourceNotFoundException":
|
|
5615
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
5616
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
5617
|
-
case "ThrottlingException":
|
|
5618
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
5619
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5620
|
-
case "ValidationException":
|
|
5621
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
5622
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5623
|
-
default:
|
|
5624
|
-
const parsedBody = parsedOutput.body;
|
|
5625
|
-
return throwDefaultError({
|
|
5626
|
-
output,
|
|
5627
|
-
parsedBody,
|
|
5628
|
-
errorCode
|
|
5629
|
-
});
|
|
5630
|
-
}
|
|
5631
|
-
}, "de_ListQueuedMessagesCommandError");
|
|
5632
3271
|
var de_ListServiceProfilesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5633
3272
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5634
|
-
return
|
|
3273
|
+
return de_CommandError(output, context);
|
|
5635
3274
|
}
|
|
5636
3275
|
const contents = (0, import_smithy_client.map)({
|
|
5637
3276
|
$metadata: deserializeMetadata(output)
|
|
@@ -5644,37 +3283,9 @@ var de_ListServiceProfilesCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
5644
3283
|
Object.assign(contents, doc);
|
|
5645
3284
|
return contents;
|
|
5646
3285
|
}, "de_ListServiceProfilesCommand");
|
|
5647
|
-
var de_ListServiceProfilesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5648
|
-
const parsedOutput = {
|
|
5649
|
-
...output,
|
|
5650
|
-
body: await parseErrorBody(output.body, context)
|
|
5651
|
-
};
|
|
5652
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5653
|
-
switch (errorCode) {
|
|
5654
|
-
case "AccessDeniedException":
|
|
5655
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
5656
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
5657
|
-
case "InternalServerException":
|
|
5658
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
5659
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
5660
|
-
case "ThrottlingException":
|
|
5661
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
5662
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5663
|
-
case "ValidationException":
|
|
5664
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
5665
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5666
|
-
default:
|
|
5667
|
-
const parsedBody = parsedOutput.body;
|
|
5668
|
-
return throwDefaultError({
|
|
5669
|
-
output,
|
|
5670
|
-
parsedBody,
|
|
5671
|
-
errorCode
|
|
5672
|
-
});
|
|
5673
|
-
}
|
|
5674
|
-
}, "de_ListServiceProfilesCommandError");
|
|
5675
3286
|
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5676
3287
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5677
|
-
return
|
|
3288
|
+
return de_CommandError(output, context);
|
|
5678
3289
|
}
|
|
5679
3290
|
const contents = (0, import_smithy_client.map)({
|
|
5680
3291
|
$metadata: deserializeMetadata(output)
|
|
@@ -5686,40 +3297,9 @@ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
5686
3297
|
Object.assign(contents, doc);
|
|
5687
3298
|
return contents;
|
|
5688
3299
|
}, "de_ListTagsForResourceCommand");
|
|
5689
|
-
var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5690
|
-
const parsedOutput = {
|
|
5691
|
-
...output,
|
|
5692
|
-
body: await parseErrorBody(output.body, context)
|
|
5693
|
-
};
|
|
5694
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5695
|
-
switch (errorCode) {
|
|
5696
|
-
case "ConflictException":
|
|
5697
|
-
case "com.amazonaws.iotwireless#ConflictException":
|
|
5698
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
5699
|
-
case "InternalServerException":
|
|
5700
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
5701
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
5702
|
-
case "ResourceNotFoundException":
|
|
5703
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
5704
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
5705
|
-
case "ThrottlingException":
|
|
5706
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
5707
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5708
|
-
case "ValidationException":
|
|
5709
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
5710
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5711
|
-
default:
|
|
5712
|
-
const parsedBody = parsedOutput.body;
|
|
5713
|
-
return throwDefaultError({
|
|
5714
|
-
output,
|
|
5715
|
-
parsedBody,
|
|
5716
|
-
errorCode
|
|
5717
|
-
});
|
|
5718
|
-
}
|
|
5719
|
-
}, "de_ListTagsForResourceCommandError");
|
|
5720
3300
|
var de_ListWirelessDeviceImportTasksCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5721
3301
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5722
|
-
return
|
|
3302
|
+
return de_CommandError(output, context);
|
|
5723
3303
|
}
|
|
5724
3304
|
const contents = (0, import_smithy_client.map)({
|
|
5725
3305
|
$metadata: deserializeMetadata(output)
|
|
@@ -5732,43 +3312,9 @@ var de_ListWirelessDeviceImportTasksCommand = /* @__PURE__ */ __name(async (outp
|
|
|
5732
3312
|
Object.assign(contents, doc);
|
|
5733
3313
|
return contents;
|
|
5734
3314
|
}, "de_ListWirelessDeviceImportTasksCommand");
|
|
5735
|
-
var de_ListWirelessDeviceImportTasksCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5736
|
-
const parsedOutput = {
|
|
5737
|
-
...output,
|
|
5738
|
-
body: await parseErrorBody(output.body, context)
|
|
5739
|
-
};
|
|
5740
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5741
|
-
switch (errorCode) {
|
|
5742
|
-
case "AccessDeniedException":
|
|
5743
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
5744
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
5745
|
-
case "ConflictException":
|
|
5746
|
-
case "com.amazonaws.iotwireless#ConflictException":
|
|
5747
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
5748
|
-
case "InternalServerException":
|
|
5749
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
5750
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
5751
|
-
case "ResourceNotFoundException":
|
|
5752
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
5753
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
5754
|
-
case "ThrottlingException":
|
|
5755
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
5756
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5757
|
-
case "ValidationException":
|
|
5758
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
5759
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5760
|
-
default:
|
|
5761
|
-
const parsedBody = parsedOutput.body;
|
|
5762
|
-
return throwDefaultError({
|
|
5763
|
-
output,
|
|
5764
|
-
parsedBody,
|
|
5765
|
-
errorCode
|
|
5766
|
-
});
|
|
5767
|
-
}
|
|
5768
|
-
}, "de_ListWirelessDeviceImportTasksCommandError");
|
|
5769
3315
|
var de_ListWirelessDevicesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5770
3316
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5771
|
-
return
|
|
3317
|
+
return de_CommandError(output, context);
|
|
5772
3318
|
}
|
|
5773
3319
|
const contents = (0, import_smithy_client.map)({
|
|
5774
3320
|
$metadata: deserializeMetadata(output)
|
|
@@ -5781,37 +3327,9 @@ var de_ListWirelessDevicesCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
5781
3327
|
Object.assign(contents, doc);
|
|
5782
3328
|
return contents;
|
|
5783
3329
|
}, "de_ListWirelessDevicesCommand");
|
|
5784
|
-
var de_ListWirelessDevicesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5785
|
-
const parsedOutput = {
|
|
5786
|
-
...output,
|
|
5787
|
-
body: await parseErrorBody(output.body, context)
|
|
5788
|
-
};
|
|
5789
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5790
|
-
switch (errorCode) {
|
|
5791
|
-
case "AccessDeniedException":
|
|
5792
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
5793
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
5794
|
-
case "InternalServerException":
|
|
5795
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
5796
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
5797
|
-
case "ThrottlingException":
|
|
5798
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
5799
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5800
|
-
case "ValidationException":
|
|
5801
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
5802
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5803
|
-
default:
|
|
5804
|
-
const parsedBody = parsedOutput.body;
|
|
5805
|
-
return throwDefaultError({
|
|
5806
|
-
output,
|
|
5807
|
-
parsedBody,
|
|
5808
|
-
errorCode
|
|
5809
|
-
});
|
|
5810
|
-
}
|
|
5811
|
-
}, "de_ListWirelessDevicesCommandError");
|
|
5812
3330
|
var de_ListWirelessGatewaysCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5813
3331
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5814
|
-
return
|
|
3332
|
+
return de_CommandError(output, context);
|
|
5815
3333
|
}
|
|
5816
3334
|
const contents = (0, import_smithy_client.map)({
|
|
5817
3335
|
$metadata: deserializeMetadata(output)
|
|
@@ -5824,37 +3342,9 @@ var de_ListWirelessGatewaysCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
5824
3342
|
Object.assign(contents, doc);
|
|
5825
3343
|
return contents;
|
|
5826
3344
|
}, "de_ListWirelessGatewaysCommand");
|
|
5827
|
-
var de_ListWirelessGatewaysCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5828
|
-
const parsedOutput = {
|
|
5829
|
-
...output,
|
|
5830
|
-
body: await parseErrorBody(output.body, context)
|
|
5831
|
-
};
|
|
5832
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5833
|
-
switch (errorCode) {
|
|
5834
|
-
case "AccessDeniedException":
|
|
5835
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
5836
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
5837
|
-
case "InternalServerException":
|
|
5838
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
5839
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
5840
|
-
case "ThrottlingException":
|
|
5841
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
5842
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5843
|
-
case "ValidationException":
|
|
5844
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
5845
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5846
|
-
default:
|
|
5847
|
-
const parsedBody = parsedOutput.body;
|
|
5848
|
-
return throwDefaultError({
|
|
5849
|
-
output,
|
|
5850
|
-
parsedBody,
|
|
5851
|
-
errorCode
|
|
5852
|
-
});
|
|
5853
|
-
}
|
|
5854
|
-
}, "de_ListWirelessGatewaysCommandError");
|
|
5855
3345
|
var de_ListWirelessGatewayTaskDefinitionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5856
3346
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5857
|
-
return
|
|
3347
|
+
return de_CommandError(output, context);
|
|
5858
3348
|
}
|
|
5859
3349
|
const contents = (0, import_smithy_client.map)({
|
|
5860
3350
|
$metadata: deserializeMetadata(output)
|
|
@@ -5867,37 +3357,9 @@ var de_ListWirelessGatewayTaskDefinitionsCommand = /* @__PURE__ */ __name(async
|
|
|
5867
3357
|
Object.assign(contents, doc);
|
|
5868
3358
|
return contents;
|
|
5869
3359
|
}, "de_ListWirelessGatewayTaskDefinitionsCommand");
|
|
5870
|
-
var de_ListWirelessGatewayTaskDefinitionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5871
|
-
const parsedOutput = {
|
|
5872
|
-
...output,
|
|
5873
|
-
body: await parseErrorBody(output.body, context)
|
|
5874
|
-
};
|
|
5875
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5876
|
-
switch (errorCode) {
|
|
5877
|
-
case "AccessDeniedException":
|
|
5878
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
5879
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
5880
|
-
case "InternalServerException":
|
|
5881
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
5882
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
5883
|
-
case "ThrottlingException":
|
|
5884
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
5885
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5886
|
-
case "ValidationException":
|
|
5887
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
5888
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5889
|
-
default:
|
|
5890
|
-
const parsedBody = parsedOutput.body;
|
|
5891
|
-
return throwDefaultError({
|
|
5892
|
-
output,
|
|
5893
|
-
parsedBody,
|
|
5894
|
-
errorCode
|
|
5895
|
-
});
|
|
5896
|
-
}
|
|
5897
|
-
}, "de_ListWirelessGatewayTaskDefinitionsCommandError");
|
|
5898
3360
|
var de_PutPositionConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5899
3361
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5900
|
-
return
|
|
3362
|
+
return de_CommandError(output, context);
|
|
5901
3363
|
}
|
|
5902
3364
|
const contents = (0, import_smithy_client.map)({
|
|
5903
3365
|
$metadata: deserializeMetadata(output)
|
|
@@ -5905,40 +3367,9 @@ var de_PutPositionConfigurationCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
5905
3367
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
5906
3368
|
return contents;
|
|
5907
3369
|
}, "de_PutPositionConfigurationCommand");
|
|
5908
|
-
var de_PutPositionConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5909
|
-
const parsedOutput = {
|
|
5910
|
-
...output,
|
|
5911
|
-
body: await parseErrorBody(output.body, context)
|
|
5912
|
-
};
|
|
5913
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5914
|
-
switch (errorCode) {
|
|
5915
|
-
case "AccessDeniedException":
|
|
5916
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
5917
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
5918
|
-
case "InternalServerException":
|
|
5919
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
5920
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
5921
|
-
case "ResourceNotFoundException":
|
|
5922
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
5923
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
5924
|
-
case "ThrottlingException":
|
|
5925
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
5926
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5927
|
-
case "ValidationException":
|
|
5928
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
5929
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5930
|
-
default:
|
|
5931
|
-
const parsedBody = parsedOutput.body;
|
|
5932
|
-
return throwDefaultError({
|
|
5933
|
-
output,
|
|
5934
|
-
parsedBody,
|
|
5935
|
-
errorCode
|
|
5936
|
-
});
|
|
5937
|
-
}
|
|
5938
|
-
}, "de_PutPositionConfigurationCommandError");
|
|
5939
3370
|
var de_PutResourceLogLevelCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5940
3371
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5941
|
-
return
|
|
3372
|
+
return de_CommandError(output, context);
|
|
5942
3373
|
}
|
|
5943
3374
|
const contents = (0, import_smithy_client.map)({
|
|
5944
3375
|
$metadata: deserializeMetadata(output)
|
|
@@ -5946,40 +3377,9 @@ var de_PutResourceLogLevelCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
5946
3377
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
5947
3378
|
return contents;
|
|
5948
3379
|
}, "de_PutResourceLogLevelCommand");
|
|
5949
|
-
var de_PutResourceLogLevelCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5950
|
-
const parsedOutput = {
|
|
5951
|
-
...output,
|
|
5952
|
-
body: await parseErrorBody(output.body, context)
|
|
5953
|
-
};
|
|
5954
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5955
|
-
switch (errorCode) {
|
|
5956
|
-
case "AccessDeniedException":
|
|
5957
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
5958
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
5959
|
-
case "InternalServerException":
|
|
5960
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
5961
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
5962
|
-
case "ResourceNotFoundException":
|
|
5963
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
5964
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
5965
|
-
case "ThrottlingException":
|
|
5966
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
5967
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5968
|
-
case "ValidationException":
|
|
5969
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
5970
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5971
|
-
default:
|
|
5972
|
-
const parsedBody = parsedOutput.body;
|
|
5973
|
-
return throwDefaultError({
|
|
5974
|
-
output,
|
|
5975
|
-
parsedBody,
|
|
5976
|
-
errorCode
|
|
5977
|
-
});
|
|
5978
|
-
}
|
|
5979
|
-
}, "de_PutResourceLogLevelCommandError");
|
|
5980
3380
|
var de_ResetAllResourceLogLevelsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5981
3381
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
5982
|
-
return
|
|
3382
|
+
return de_CommandError(output, context);
|
|
5983
3383
|
}
|
|
5984
3384
|
const contents = (0, import_smithy_client.map)({
|
|
5985
3385
|
$metadata: deserializeMetadata(output)
|
|
@@ -5987,40 +3387,9 @@ var de_ResetAllResourceLogLevelsCommand = /* @__PURE__ */ __name(async (output,
|
|
|
5987
3387
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
5988
3388
|
return contents;
|
|
5989
3389
|
}, "de_ResetAllResourceLogLevelsCommand");
|
|
5990
|
-
var de_ResetAllResourceLogLevelsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5991
|
-
const parsedOutput = {
|
|
5992
|
-
...output,
|
|
5993
|
-
body: await parseErrorBody(output.body, context)
|
|
5994
|
-
};
|
|
5995
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5996
|
-
switch (errorCode) {
|
|
5997
|
-
case "AccessDeniedException":
|
|
5998
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
5999
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
6000
|
-
case "InternalServerException":
|
|
6001
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
6002
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
6003
|
-
case "ResourceNotFoundException":
|
|
6004
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
6005
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
6006
|
-
case "ThrottlingException":
|
|
6007
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
6008
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
6009
|
-
case "ValidationException":
|
|
6010
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
6011
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
6012
|
-
default:
|
|
6013
|
-
const parsedBody = parsedOutput.body;
|
|
6014
|
-
return throwDefaultError({
|
|
6015
|
-
output,
|
|
6016
|
-
parsedBody,
|
|
6017
|
-
errorCode
|
|
6018
|
-
});
|
|
6019
|
-
}
|
|
6020
|
-
}, "de_ResetAllResourceLogLevelsCommandError");
|
|
6021
3390
|
var de_ResetResourceLogLevelCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
6022
3391
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
6023
|
-
return
|
|
3392
|
+
return de_CommandError(output, context);
|
|
6024
3393
|
}
|
|
6025
3394
|
const contents = (0, import_smithy_client.map)({
|
|
6026
3395
|
$metadata: deserializeMetadata(output)
|
|
@@ -6028,40 +3397,9 @@ var de_ResetResourceLogLevelCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
6028
3397
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
6029
3398
|
return contents;
|
|
6030
3399
|
}, "de_ResetResourceLogLevelCommand");
|
|
6031
|
-
var de_ResetResourceLogLevelCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
6032
|
-
const parsedOutput = {
|
|
6033
|
-
...output,
|
|
6034
|
-
body: await parseErrorBody(output.body, context)
|
|
6035
|
-
};
|
|
6036
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6037
|
-
switch (errorCode) {
|
|
6038
|
-
case "AccessDeniedException":
|
|
6039
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
6040
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
6041
|
-
case "InternalServerException":
|
|
6042
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
6043
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
6044
|
-
case "ResourceNotFoundException":
|
|
6045
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
6046
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
6047
|
-
case "ThrottlingException":
|
|
6048
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
6049
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
6050
|
-
case "ValidationException":
|
|
6051
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
6052
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
6053
|
-
default:
|
|
6054
|
-
const parsedBody = parsedOutput.body;
|
|
6055
|
-
return throwDefaultError({
|
|
6056
|
-
output,
|
|
6057
|
-
parsedBody,
|
|
6058
|
-
errorCode
|
|
6059
|
-
});
|
|
6060
|
-
}
|
|
6061
|
-
}, "de_ResetResourceLogLevelCommandError");
|
|
6062
3400
|
var de_SendDataToMulticastGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
6063
3401
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
6064
|
-
return
|
|
3402
|
+
return de_CommandError(output, context);
|
|
6065
3403
|
}
|
|
6066
3404
|
const contents = (0, import_smithy_client.map)({
|
|
6067
3405
|
$metadata: deserializeMetadata(output)
|
|
@@ -6073,43 +3411,9 @@ var de_SendDataToMulticastGroupCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
6073
3411
|
Object.assign(contents, doc);
|
|
6074
3412
|
return contents;
|
|
6075
3413
|
}, "de_SendDataToMulticastGroupCommand");
|
|
6076
|
-
var de_SendDataToMulticastGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
6077
|
-
const parsedOutput = {
|
|
6078
|
-
...output,
|
|
6079
|
-
body: await parseErrorBody(output.body, context)
|
|
6080
|
-
};
|
|
6081
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6082
|
-
switch (errorCode) {
|
|
6083
|
-
case "AccessDeniedException":
|
|
6084
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
6085
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
6086
|
-
case "ConflictException":
|
|
6087
|
-
case "com.amazonaws.iotwireless#ConflictException":
|
|
6088
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
6089
|
-
case "InternalServerException":
|
|
6090
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
6091
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
6092
|
-
case "ResourceNotFoundException":
|
|
6093
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
6094
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
6095
|
-
case "ThrottlingException":
|
|
6096
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
6097
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
6098
|
-
case "ValidationException":
|
|
6099
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
6100
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
6101
|
-
default:
|
|
6102
|
-
const parsedBody = parsedOutput.body;
|
|
6103
|
-
return throwDefaultError({
|
|
6104
|
-
output,
|
|
6105
|
-
parsedBody,
|
|
6106
|
-
errorCode
|
|
6107
|
-
});
|
|
6108
|
-
}
|
|
6109
|
-
}, "de_SendDataToMulticastGroupCommandError");
|
|
6110
3414
|
var de_SendDataToWirelessDeviceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
6111
3415
|
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
6112
|
-
return
|
|
3416
|
+
return de_CommandError(output, context);
|
|
6113
3417
|
}
|
|
6114
3418
|
const contents = (0, import_smithy_client.map)({
|
|
6115
3419
|
$metadata: deserializeMetadata(output)
|
|
@@ -6121,37 +3425,9 @@ var de_SendDataToWirelessDeviceCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
6121
3425
|
Object.assign(contents, doc);
|
|
6122
3426
|
return contents;
|
|
6123
3427
|
}, "de_SendDataToWirelessDeviceCommand");
|
|
6124
|
-
var de_SendDataToWirelessDeviceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
6125
|
-
const parsedOutput = {
|
|
6126
|
-
...output,
|
|
6127
|
-
body: await parseErrorBody(output.body, context)
|
|
6128
|
-
};
|
|
6129
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6130
|
-
switch (errorCode) {
|
|
6131
|
-
case "InternalServerException":
|
|
6132
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
6133
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
6134
|
-
case "ResourceNotFoundException":
|
|
6135
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
6136
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
6137
|
-
case "ThrottlingException":
|
|
6138
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
6139
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
6140
|
-
case "ValidationException":
|
|
6141
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
6142
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
6143
|
-
default:
|
|
6144
|
-
const parsedBody = parsedOutput.body;
|
|
6145
|
-
return throwDefaultError({
|
|
6146
|
-
output,
|
|
6147
|
-
parsedBody,
|
|
6148
|
-
errorCode
|
|
6149
|
-
});
|
|
6150
|
-
}
|
|
6151
|
-
}, "de_SendDataToWirelessDeviceCommandError");
|
|
6152
3428
|
var de_StartBulkAssociateWirelessDeviceWithMulticastGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
6153
3429
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
6154
|
-
return
|
|
3430
|
+
return de_CommandError(output, context);
|
|
6155
3431
|
}
|
|
6156
3432
|
const contents = (0, import_smithy_client.map)({
|
|
6157
3433
|
$metadata: deserializeMetadata(output)
|
|
@@ -6159,40 +3435,9 @@ var de_StartBulkAssociateWirelessDeviceWithMulticastGroupCommand = /* @__PURE__
|
|
|
6159
3435
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
6160
3436
|
return contents;
|
|
6161
3437
|
}, "de_StartBulkAssociateWirelessDeviceWithMulticastGroupCommand");
|
|
6162
|
-
var de_StartBulkAssociateWirelessDeviceWithMulticastGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
6163
|
-
const parsedOutput = {
|
|
6164
|
-
...output,
|
|
6165
|
-
body: await parseErrorBody(output.body, context)
|
|
6166
|
-
};
|
|
6167
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6168
|
-
switch (errorCode) {
|
|
6169
|
-
case "AccessDeniedException":
|
|
6170
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
6171
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
6172
|
-
case "InternalServerException":
|
|
6173
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
6174
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
6175
|
-
case "ResourceNotFoundException":
|
|
6176
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
6177
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
6178
|
-
case "ThrottlingException":
|
|
6179
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
6180
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
6181
|
-
case "ValidationException":
|
|
6182
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
6183
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
6184
|
-
default:
|
|
6185
|
-
const parsedBody = parsedOutput.body;
|
|
6186
|
-
return throwDefaultError({
|
|
6187
|
-
output,
|
|
6188
|
-
parsedBody,
|
|
6189
|
-
errorCode
|
|
6190
|
-
});
|
|
6191
|
-
}
|
|
6192
|
-
}, "de_StartBulkAssociateWirelessDeviceWithMulticastGroupCommandError");
|
|
6193
3438
|
var de_StartBulkDisassociateWirelessDeviceFromMulticastGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
6194
3439
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
6195
|
-
return
|
|
3440
|
+
return de_CommandError(output, context);
|
|
6196
3441
|
}
|
|
6197
3442
|
const contents = (0, import_smithy_client.map)({
|
|
6198
3443
|
$metadata: deserializeMetadata(output)
|
|
@@ -6200,40 +3445,9 @@ var de_StartBulkDisassociateWirelessDeviceFromMulticastGroupCommand = /* @__PURE
|
|
|
6200
3445
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
6201
3446
|
return contents;
|
|
6202
3447
|
}, "de_StartBulkDisassociateWirelessDeviceFromMulticastGroupCommand");
|
|
6203
|
-
var de_StartBulkDisassociateWirelessDeviceFromMulticastGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
6204
|
-
const parsedOutput = {
|
|
6205
|
-
...output,
|
|
6206
|
-
body: await parseErrorBody(output.body, context)
|
|
6207
|
-
};
|
|
6208
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6209
|
-
switch (errorCode) {
|
|
6210
|
-
case "AccessDeniedException":
|
|
6211
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
6212
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
6213
|
-
case "InternalServerException":
|
|
6214
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
6215
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
6216
|
-
case "ResourceNotFoundException":
|
|
6217
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
6218
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
6219
|
-
case "ThrottlingException":
|
|
6220
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
6221
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
6222
|
-
case "ValidationException":
|
|
6223
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
6224
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
6225
|
-
default:
|
|
6226
|
-
const parsedBody = parsedOutput.body;
|
|
6227
|
-
return throwDefaultError({
|
|
6228
|
-
output,
|
|
6229
|
-
parsedBody,
|
|
6230
|
-
errorCode
|
|
6231
|
-
});
|
|
6232
|
-
}
|
|
6233
|
-
}, "de_StartBulkDisassociateWirelessDeviceFromMulticastGroupCommandError");
|
|
6234
3448
|
var de_StartFuotaTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
6235
3449
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
6236
|
-
return
|
|
3450
|
+
return de_CommandError(output, context);
|
|
6237
3451
|
}
|
|
6238
3452
|
const contents = (0, import_smithy_client.map)({
|
|
6239
3453
|
$metadata: deserializeMetadata(output)
|
|
@@ -6241,43 +3455,9 @@ var de_StartFuotaTaskCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
6241
3455
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
6242
3456
|
return contents;
|
|
6243
3457
|
}, "de_StartFuotaTaskCommand");
|
|
6244
|
-
var de_StartFuotaTaskCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
6245
|
-
const parsedOutput = {
|
|
6246
|
-
...output,
|
|
6247
|
-
body: await parseErrorBody(output.body, context)
|
|
6248
|
-
};
|
|
6249
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6250
|
-
switch (errorCode) {
|
|
6251
|
-
case "AccessDeniedException":
|
|
6252
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
6253
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
6254
|
-
case "ConflictException":
|
|
6255
|
-
case "com.amazonaws.iotwireless#ConflictException":
|
|
6256
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
6257
|
-
case "InternalServerException":
|
|
6258
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
6259
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
6260
|
-
case "ResourceNotFoundException":
|
|
6261
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
6262
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
6263
|
-
case "ThrottlingException":
|
|
6264
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
6265
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
6266
|
-
case "ValidationException":
|
|
6267
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
6268
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
6269
|
-
default:
|
|
6270
|
-
const parsedBody = parsedOutput.body;
|
|
6271
|
-
return throwDefaultError({
|
|
6272
|
-
output,
|
|
6273
|
-
parsedBody,
|
|
6274
|
-
errorCode
|
|
6275
|
-
});
|
|
6276
|
-
}
|
|
6277
|
-
}, "de_StartFuotaTaskCommandError");
|
|
6278
3458
|
var de_StartMulticastGroupSessionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
6279
3459
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
6280
|
-
return
|
|
3460
|
+
return de_CommandError(output, context);
|
|
6281
3461
|
}
|
|
6282
3462
|
const contents = (0, import_smithy_client.map)({
|
|
6283
3463
|
$metadata: deserializeMetadata(output)
|
|
@@ -6285,43 +3465,9 @@ var de_StartMulticastGroupSessionCommand = /* @__PURE__ */ __name(async (output,
|
|
|
6285
3465
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
6286
3466
|
return contents;
|
|
6287
3467
|
}, "de_StartMulticastGroupSessionCommand");
|
|
6288
|
-
var de_StartMulticastGroupSessionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
6289
|
-
const parsedOutput = {
|
|
6290
|
-
...output,
|
|
6291
|
-
body: await parseErrorBody(output.body, context)
|
|
6292
|
-
};
|
|
6293
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6294
|
-
switch (errorCode) {
|
|
6295
|
-
case "AccessDeniedException":
|
|
6296
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
6297
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
6298
|
-
case "ConflictException":
|
|
6299
|
-
case "com.amazonaws.iotwireless#ConflictException":
|
|
6300
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
6301
|
-
case "InternalServerException":
|
|
6302
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
6303
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
6304
|
-
case "ResourceNotFoundException":
|
|
6305
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
6306
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
6307
|
-
case "ThrottlingException":
|
|
6308
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
6309
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
6310
|
-
case "ValidationException":
|
|
6311
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
6312
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
6313
|
-
default:
|
|
6314
|
-
const parsedBody = parsedOutput.body;
|
|
6315
|
-
return throwDefaultError({
|
|
6316
|
-
output,
|
|
6317
|
-
parsedBody,
|
|
6318
|
-
errorCode
|
|
6319
|
-
});
|
|
6320
|
-
}
|
|
6321
|
-
}, "de_StartMulticastGroupSessionCommandError");
|
|
6322
3468
|
var de_StartSingleWirelessDeviceImportTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
6323
3469
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
6324
|
-
return
|
|
3470
|
+
return de_CommandError(output, context);
|
|
6325
3471
|
}
|
|
6326
3472
|
const contents = (0, import_smithy_client.map)({
|
|
6327
3473
|
$metadata: deserializeMetadata(output)
|
|
@@ -6334,43 +3480,9 @@ var de_StartSingleWirelessDeviceImportTaskCommand = /* @__PURE__ */ __name(async
|
|
|
6334
3480
|
Object.assign(contents, doc);
|
|
6335
3481
|
return contents;
|
|
6336
3482
|
}, "de_StartSingleWirelessDeviceImportTaskCommand");
|
|
6337
|
-
var de_StartSingleWirelessDeviceImportTaskCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
6338
|
-
const parsedOutput = {
|
|
6339
|
-
...output,
|
|
6340
|
-
body: await parseErrorBody(output.body, context)
|
|
6341
|
-
};
|
|
6342
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6343
|
-
switch (errorCode) {
|
|
6344
|
-
case "AccessDeniedException":
|
|
6345
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
6346
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
6347
|
-
case "ConflictException":
|
|
6348
|
-
case "com.amazonaws.iotwireless#ConflictException":
|
|
6349
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
6350
|
-
case "InternalServerException":
|
|
6351
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
6352
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
6353
|
-
case "ResourceNotFoundException":
|
|
6354
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
6355
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
6356
|
-
case "ThrottlingException":
|
|
6357
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
6358
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
6359
|
-
case "ValidationException":
|
|
6360
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
6361
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
6362
|
-
default:
|
|
6363
|
-
const parsedBody = parsedOutput.body;
|
|
6364
|
-
return throwDefaultError({
|
|
6365
|
-
output,
|
|
6366
|
-
parsedBody,
|
|
6367
|
-
errorCode
|
|
6368
|
-
});
|
|
6369
|
-
}
|
|
6370
|
-
}, "de_StartSingleWirelessDeviceImportTaskCommandError");
|
|
6371
3483
|
var de_StartWirelessDeviceImportTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
6372
3484
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
6373
|
-
return
|
|
3485
|
+
return de_CommandError(output, context);
|
|
6374
3486
|
}
|
|
6375
3487
|
const contents = (0, import_smithy_client.map)({
|
|
6376
3488
|
$metadata: deserializeMetadata(output)
|
|
@@ -6383,43 +3495,9 @@ var de_StartWirelessDeviceImportTaskCommand = /* @__PURE__ */ __name(async (outp
|
|
|
6383
3495
|
Object.assign(contents, doc);
|
|
6384
3496
|
return contents;
|
|
6385
3497
|
}, "de_StartWirelessDeviceImportTaskCommand");
|
|
6386
|
-
var de_StartWirelessDeviceImportTaskCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
6387
|
-
const parsedOutput = {
|
|
6388
|
-
...output,
|
|
6389
|
-
body: await parseErrorBody(output.body, context)
|
|
6390
|
-
};
|
|
6391
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6392
|
-
switch (errorCode) {
|
|
6393
|
-
case "AccessDeniedException":
|
|
6394
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
6395
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
6396
|
-
case "ConflictException":
|
|
6397
|
-
case "com.amazonaws.iotwireless#ConflictException":
|
|
6398
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
6399
|
-
case "InternalServerException":
|
|
6400
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
6401
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
6402
|
-
case "ResourceNotFoundException":
|
|
6403
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
6404
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
6405
|
-
case "ThrottlingException":
|
|
6406
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
6407
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
6408
|
-
case "ValidationException":
|
|
6409
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
6410
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
6411
|
-
default:
|
|
6412
|
-
const parsedBody = parsedOutput.body;
|
|
6413
|
-
return throwDefaultError({
|
|
6414
|
-
output,
|
|
6415
|
-
parsedBody,
|
|
6416
|
-
errorCode
|
|
6417
|
-
});
|
|
6418
|
-
}
|
|
6419
|
-
}, "de_StartWirelessDeviceImportTaskCommandError");
|
|
6420
3498
|
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
6421
3499
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
6422
|
-
return
|
|
3500
|
+
return de_CommandError(output, context);
|
|
6423
3501
|
}
|
|
6424
3502
|
const contents = (0, import_smithy_client.map)({
|
|
6425
3503
|
$metadata: deserializeMetadata(output)
|
|
@@ -6427,43 +3505,9 @@ var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
6427
3505
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
6428
3506
|
return contents;
|
|
6429
3507
|
}, "de_TagResourceCommand");
|
|
6430
|
-
var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
6431
|
-
const parsedOutput = {
|
|
6432
|
-
...output,
|
|
6433
|
-
body: await parseErrorBody(output.body, context)
|
|
6434
|
-
};
|
|
6435
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6436
|
-
switch (errorCode) {
|
|
6437
|
-
case "ConflictException":
|
|
6438
|
-
case "com.amazonaws.iotwireless#ConflictException":
|
|
6439
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
6440
|
-
case "InternalServerException":
|
|
6441
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
6442
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
6443
|
-
case "ResourceNotFoundException":
|
|
6444
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
6445
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
6446
|
-
case "ThrottlingException":
|
|
6447
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
6448
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
6449
|
-
case "TooManyTagsException":
|
|
6450
|
-
case "com.amazonaws.iotwireless#TooManyTagsException":
|
|
6451
|
-
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
6452
|
-
case "ValidationException":
|
|
6453
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
6454
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
6455
|
-
default:
|
|
6456
|
-
const parsedBody = parsedOutput.body;
|
|
6457
|
-
return throwDefaultError({
|
|
6458
|
-
output,
|
|
6459
|
-
parsedBody,
|
|
6460
|
-
errorCode
|
|
6461
|
-
});
|
|
6462
|
-
}
|
|
6463
|
-
}, "de_TagResourceCommandError");
|
|
6464
3508
|
var de_TestWirelessDeviceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
6465
3509
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
6466
|
-
return
|
|
3510
|
+
return de_CommandError(output, context);
|
|
6467
3511
|
}
|
|
6468
3512
|
const contents = (0, import_smithy_client.map)({
|
|
6469
3513
|
$metadata: deserializeMetadata(output)
|
|
@@ -6475,37 +3519,9 @@ var de_TestWirelessDeviceCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
6475
3519
|
Object.assign(contents, doc);
|
|
6476
3520
|
return contents;
|
|
6477
3521
|
}, "de_TestWirelessDeviceCommand");
|
|
6478
|
-
var de_TestWirelessDeviceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
6479
|
-
const parsedOutput = {
|
|
6480
|
-
...output,
|
|
6481
|
-
body: await parseErrorBody(output.body, context)
|
|
6482
|
-
};
|
|
6483
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6484
|
-
switch (errorCode) {
|
|
6485
|
-
case "InternalServerException":
|
|
6486
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
6487
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
6488
|
-
case "ResourceNotFoundException":
|
|
6489
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
6490
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
6491
|
-
case "ThrottlingException":
|
|
6492
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
6493
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
6494
|
-
case "ValidationException":
|
|
6495
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
6496
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
6497
|
-
default:
|
|
6498
|
-
const parsedBody = parsedOutput.body;
|
|
6499
|
-
return throwDefaultError({
|
|
6500
|
-
output,
|
|
6501
|
-
parsedBody,
|
|
6502
|
-
errorCode
|
|
6503
|
-
});
|
|
6504
|
-
}
|
|
6505
|
-
}, "de_TestWirelessDeviceCommandError");
|
|
6506
3522
|
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
6507
3523
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
6508
|
-
return
|
|
3524
|
+
return de_CommandError(output, context);
|
|
6509
3525
|
}
|
|
6510
3526
|
const contents = (0, import_smithy_client.map)({
|
|
6511
3527
|
$metadata: deserializeMetadata(output)
|
|
@@ -6513,40 +3529,9 @@ var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
6513
3529
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
6514
3530
|
return contents;
|
|
6515
3531
|
}, "de_UntagResourceCommand");
|
|
6516
|
-
var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
6517
|
-
const parsedOutput = {
|
|
6518
|
-
...output,
|
|
6519
|
-
body: await parseErrorBody(output.body, context)
|
|
6520
|
-
};
|
|
6521
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6522
|
-
switch (errorCode) {
|
|
6523
|
-
case "ConflictException":
|
|
6524
|
-
case "com.amazonaws.iotwireless#ConflictException":
|
|
6525
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
6526
|
-
case "InternalServerException":
|
|
6527
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
6528
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
6529
|
-
case "ResourceNotFoundException":
|
|
6530
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
6531
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
6532
|
-
case "ThrottlingException":
|
|
6533
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
6534
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
6535
|
-
case "ValidationException":
|
|
6536
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
6537
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
6538
|
-
default:
|
|
6539
|
-
const parsedBody = parsedOutput.body;
|
|
6540
|
-
return throwDefaultError({
|
|
6541
|
-
output,
|
|
6542
|
-
parsedBody,
|
|
6543
|
-
errorCode
|
|
6544
|
-
});
|
|
6545
|
-
}
|
|
6546
|
-
}, "de_UntagResourceCommandError");
|
|
6547
3532
|
var de_UpdateDestinationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
6548
3533
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
6549
|
-
return
|
|
3534
|
+
return de_CommandError(output, context);
|
|
6550
3535
|
}
|
|
6551
3536
|
const contents = (0, import_smithy_client.map)({
|
|
6552
3537
|
$metadata: deserializeMetadata(output)
|
|
@@ -6554,40 +3539,9 @@ var de_UpdateDestinationCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
6554
3539
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
6555
3540
|
return contents;
|
|
6556
3541
|
}, "de_UpdateDestinationCommand");
|
|
6557
|
-
var de_UpdateDestinationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
6558
|
-
const parsedOutput = {
|
|
6559
|
-
...output,
|
|
6560
|
-
body: await parseErrorBody(output.body, context)
|
|
6561
|
-
};
|
|
6562
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6563
|
-
switch (errorCode) {
|
|
6564
|
-
case "AccessDeniedException":
|
|
6565
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
6566
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
6567
|
-
case "InternalServerException":
|
|
6568
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
6569
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
6570
|
-
case "ResourceNotFoundException":
|
|
6571
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
6572
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
6573
|
-
case "ThrottlingException":
|
|
6574
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
6575
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
6576
|
-
case "ValidationException":
|
|
6577
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
6578
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
6579
|
-
default:
|
|
6580
|
-
const parsedBody = parsedOutput.body;
|
|
6581
|
-
return throwDefaultError({
|
|
6582
|
-
output,
|
|
6583
|
-
parsedBody,
|
|
6584
|
-
errorCode
|
|
6585
|
-
});
|
|
6586
|
-
}
|
|
6587
|
-
}, "de_UpdateDestinationCommandError");
|
|
6588
3542
|
var de_UpdateEventConfigurationByResourceTypesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
6589
3543
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
6590
|
-
return
|
|
3544
|
+
return de_CommandError(output, context);
|
|
6591
3545
|
}
|
|
6592
3546
|
const contents = (0, import_smithy_client.map)({
|
|
6593
3547
|
$metadata: deserializeMetadata(output)
|
|
@@ -6595,125 +3549,29 @@ var de_UpdateEventConfigurationByResourceTypesCommand = /* @__PURE__ */ __name(a
|
|
|
6595
3549
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
6596
3550
|
return contents;
|
|
6597
3551
|
}, "de_UpdateEventConfigurationByResourceTypesCommand");
|
|
6598
|
-
var de_UpdateEventConfigurationByResourceTypesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
6599
|
-
const parsedOutput = {
|
|
6600
|
-
...output,
|
|
6601
|
-
body: await parseErrorBody(output.body, context)
|
|
6602
|
-
};
|
|
6603
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6604
|
-
switch (errorCode) {
|
|
6605
|
-
case "AccessDeniedException":
|
|
6606
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
6607
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
6608
|
-
case "InternalServerException":
|
|
6609
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
6610
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
6611
|
-
case "ThrottlingException":
|
|
6612
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
6613
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
6614
|
-
case "ValidationException":
|
|
6615
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
6616
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
6617
|
-
default:
|
|
6618
|
-
const parsedBody = parsedOutput.body;
|
|
6619
|
-
return throwDefaultError({
|
|
6620
|
-
output,
|
|
6621
|
-
parsedBody,
|
|
6622
|
-
errorCode
|
|
6623
|
-
});
|
|
6624
|
-
}
|
|
6625
|
-
}, "de_UpdateEventConfigurationByResourceTypesCommandError");
|
|
6626
3552
|
var de_UpdateFuotaTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
6627
3553
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
6628
|
-
return
|
|
6629
|
-
}
|
|
6630
|
-
const contents = (0, import_smithy_client.map)({
|
|
6631
|
-
$metadata: deserializeMetadata(output)
|
|
6632
|
-
});
|
|
6633
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
6634
|
-
return contents;
|
|
6635
|
-
}, "de_UpdateFuotaTaskCommand");
|
|
6636
|
-
var de_UpdateFuotaTaskCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
6637
|
-
const parsedOutput = {
|
|
6638
|
-
...output,
|
|
6639
|
-
body: await parseErrorBody(output.body, context)
|
|
6640
|
-
};
|
|
6641
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6642
|
-
switch (errorCode) {
|
|
6643
|
-
case "AccessDeniedException":
|
|
6644
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
6645
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
6646
|
-
case "ConflictException":
|
|
6647
|
-
case "com.amazonaws.iotwireless#ConflictException":
|
|
6648
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
6649
|
-
case "InternalServerException":
|
|
6650
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
6651
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
6652
|
-
case "ResourceNotFoundException":
|
|
6653
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
6654
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
6655
|
-
case "ThrottlingException":
|
|
6656
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
6657
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
6658
|
-
case "ValidationException":
|
|
6659
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
6660
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
6661
|
-
default:
|
|
6662
|
-
const parsedBody = parsedOutput.body;
|
|
6663
|
-
return throwDefaultError({
|
|
6664
|
-
output,
|
|
6665
|
-
parsedBody,
|
|
6666
|
-
errorCode
|
|
6667
|
-
});
|
|
6668
|
-
}
|
|
6669
|
-
}, "de_UpdateFuotaTaskCommandError");
|
|
6670
|
-
var de_UpdateLogLevelsByResourceTypesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
6671
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
6672
|
-
return de_UpdateLogLevelsByResourceTypesCommandError(output, context);
|
|
3554
|
+
return de_CommandError(output, context);
|
|
6673
3555
|
}
|
|
6674
3556
|
const contents = (0, import_smithy_client.map)({
|
|
6675
3557
|
$metadata: deserializeMetadata(output)
|
|
6676
|
-
});
|
|
6677
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
6678
|
-
return contents;
|
|
6679
|
-
}, "
|
|
6680
|
-
var
|
|
6681
|
-
|
|
6682
|
-
|
|
6683
|
-
body: await parseErrorBody(output.body, context)
|
|
6684
|
-
};
|
|
6685
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6686
|
-
switch (errorCode) {
|
|
6687
|
-
case "AccessDeniedException":
|
|
6688
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
6689
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
6690
|
-
case "ConflictException":
|
|
6691
|
-
case "com.amazonaws.iotwireless#ConflictException":
|
|
6692
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
6693
|
-
case "InternalServerException":
|
|
6694
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
6695
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
6696
|
-
case "ResourceNotFoundException":
|
|
6697
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
6698
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
6699
|
-
case "ThrottlingException":
|
|
6700
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
6701
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
6702
|
-
case "ValidationException":
|
|
6703
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
6704
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
6705
|
-
default:
|
|
6706
|
-
const parsedBody = parsedOutput.body;
|
|
6707
|
-
return throwDefaultError({
|
|
6708
|
-
output,
|
|
6709
|
-
parsedBody,
|
|
6710
|
-
errorCode
|
|
6711
|
-
});
|
|
3558
|
+
});
|
|
3559
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3560
|
+
return contents;
|
|
3561
|
+
}, "de_UpdateFuotaTaskCommand");
|
|
3562
|
+
var de_UpdateLogLevelsByResourceTypesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3563
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3564
|
+
return de_CommandError(output, context);
|
|
6712
3565
|
}
|
|
6713
|
-
|
|
3566
|
+
const contents = (0, import_smithy_client.map)({
|
|
3567
|
+
$metadata: deserializeMetadata(output)
|
|
3568
|
+
});
|
|
3569
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3570
|
+
return contents;
|
|
3571
|
+
}, "de_UpdateLogLevelsByResourceTypesCommand");
|
|
6714
3572
|
var de_UpdateMulticastGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
6715
3573
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
6716
|
-
return
|
|
3574
|
+
return de_CommandError(output, context);
|
|
6717
3575
|
}
|
|
6718
3576
|
const contents = (0, import_smithy_client.map)({
|
|
6719
3577
|
$metadata: deserializeMetadata(output)
|
|
@@ -6721,43 +3579,9 @@ var de_UpdateMulticastGroupCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
6721
3579
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
6722
3580
|
return contents;
|
|
6723
3581
|
}, "de_UpdateMulticastGroupCommand");
|
|
6724
|
-
var de_UpdateMulticastGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
6725
|
-
const parsedOutput = {
|
|
6726
|
-
...output,
|
|
6727
|
-
body: await parseErrorBody(output.body, context)
|
|
6728
|
-
};
|
|
6729
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6730
|
-
switch (errorCode) {
|
|
6731
|
-
case "AccessDeniedException":
|
|
6732
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
6733
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
6734
|
-
case "ConflictException":
|
|
6735
|
-
case "com.amazonaws.iotwireless#ConflictException":
|
|
6736
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
6737
|
-
case "InternalServerException":
|
|
6738
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
6739
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
6740
|
-
case "ResourceNotFoundException":
|
|
6741
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
6742
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
6743
|
-
case "ThrottlingException":
|
|
6744
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
6745
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
6746
|
-
case "ValidationException":
|
|
6747
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
6748
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
6749
|
-
default:
|
|
6750
|
-
const parsedBody = parsedOutput.body;
|
|
6751
|
-
return throwDefaultError({
|
|
6752
|
-
output,
|
|
6753
|
-
parsedBody,
|
|
6754
|
-
errorCode
|
|
6755
|
-
});
|
|
6756
|
-
}
|
|
6757
|
-
}, "de_UpdateMulticastGroupCommandError");
|
|
6758
3582
|
var de_UpdateNetworkAnalyzerConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
6759
3583
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
6760
|
-
return
|
|
3584
|
+
return de_CommandError(output, context);
|
|
6761
3585
|
}
|
|
6762
3586
|
const contents = (0, import_smithy_client.map)({
|
|
6763
3587
|
$metadata: deserializeMetadata(output)
|
|
@@ -6765,40 +3589,9 @@ var de_UpdateNetworkAnalyzerConfigurationCommand = /* @__PURE__ */ __name(async
|
|
|
6765
3589
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
6766
3590
|
return contents;
|
|
6767
3591
|
}, "de_UpdateNetworkAnalyzerConfigurationCommand");
|
|
6768
|
-
var de_UpdateNetworkAnalyzerConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
6769
|
-
const parsedOutput = {
|
|
6770
|
-
...output,
|
|
6771
|
-
body: await parseErrorBody(output.body, context)
|
|
6772
|
-
};
|
|
6773
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6774
|
-
switch (errorCode) {
|
|
6775
|
-
case "AccessDeniedException":
|
|
6776
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
6777
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
6778
|
-
case "InternalServerException":
|
|
6779
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
6780
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
6781
|
-
case "ResourceNotFoundException":
|
|
6782
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
6783
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
6784
|
-
case "ThrottlingException":
|
|
6785
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
6786
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
6787
|
-
case "ValidationException":
|
|
6788
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
6789
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
6790
|
-
default:
|
|
6791
|
-
const parsedBody = parsedOutput.body;
|
|
6792
|
-
return throwDefaultError({
|
|
6793
|
-
output,
|
|
6794
|
-
parsedBody,
|
|
6795
|
-
errorCode
|
|
6796
|
-
});
|
|
6797
|
-
}
|
|
6798
|
-
}, "de_UpdateNetworkAnalyzerConfigurationCommandError");
|
|
6799
3592
|
var de_UpdatePartnerAccountCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
6800
3593
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
6801
|
-
return
|
|
3594
|
+
return de_CommandError(output, context);
|
|
6802
3595
|
}
|
|
6803
3596
|
const contents = (0, import_smithy_client.map)({
|
|
6804
3597
|
$metadata: deserializeMetadata(output)
|
|
@@ -6806,37 +3599,9 @@ var de_UpdatePartnerAccountCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
6806
3599
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
6807
3600
|
return contents;
|
|
6808
3601
|
}, "de_UpdatePartnerAccountCommand");
|
|
6809
|
-
var de_UpdatePartnerAccountCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
6810
|
-
const parsedOutput = {
|
|
6811
|
-
...output,
|
|
6812
|
-
body: await parseErrorBody(output.body, context)
|
|
6813
|
-
};
|
|
6814
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6815
|
-
switch (errorCode) {
|
|
6816
|
-
case "InternalServerException":
|
|
6817
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
6818
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
6819
|
-
case "ResourceNotFoundException":
|
|
6820
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
6821
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
6822
|
-
case "ThrottlingException":
|
|
6823
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
6824
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
6825
|
-
case "ValidationException":
|
|
6826
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
6827
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
6828
|
-
default:
|
|
6829
|
-
const parsedBody = parsedOutput.body;
|
|
6830
|
-
return throwDefaultError({
|
|
6831
|
-
output,
|
|
6832
|
-
parsedBody,
|
|
6833
|
-
errorCode
|
|
6834
|
-
});
|
|
6835
|
-
}
|
|
6836
|
-
}, "de_UpdatePartnerAccountCommandError");
|
|
6837
3602
|
var de_UpdatePositionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
6838
3603
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
6839
|
-
return
|
|
3604
|
+
return de_CommandError(output, context);
|
|
6840
3605
|
}
|
|
6841
3606
|
const contents = (0, import_smithy_client.map)({
|
|
6842
3607
|
$metadata: deserializeMetadata(output)
|
|
@@ -6844,40 +3609,9 @@ var de_UpdatePositionCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
6844
3609
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
6845
3610
|
return contents;
|
|
6846
3611
|
}, "de_UpdatePositionCommand");
|
|
6847
|
-
var de_UpdatePositionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
6848
|
-
const parsedOutput = {
|
|
6849
|
-
...output,
|
|
6850
|
-
body: await parseErrorBody(output.body, context)
|
|
6851
|
-
};
|
|
6852
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6853
|
-
switch (errorCode) {
|
|
6854
|
-
case "AccessDeniedException":
|
|
6855
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
6856
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
6857
|
-
case "InternalServerException":
|
|
6858
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
6859
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
6860
|
-
case "ResourceNotFoundException":
|
|
6861
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
6862
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
6863
|
-
case "ThrottlingException":
|
|
6864
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
6865
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
6866
|
-
case "ValidationException":
|
|
6867
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
6868
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
6869
|
-
default:
|
|
6870
|
-
const parsedBody = parsedOutput.body;
|
|
6871
|
-
return throwDefaultError({
|
|
6872
|
-
output,
|
|
6873
|
-
parsedBody,
|
|
6874
|
-
errorCode
|
|
6875
|
-
});
|
|
6876
|
-
}
|
|
6877
|
-
}, "de_UpdatePositionCommandError");
|
|
6878
3612
|
var de_UpdateResourceEventConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
6879
3613
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
6880
|
-
return
|
|
3614
|
+
return de_CommandError(output, context);
|
|
6881
3615
|
}
|
|
6882
3616
|
const contents = (0, import_smithy_client.map)({
|
|
6883
3617
|
$metadata: deserializeMetadata(output)
|
|
@@ -6885,43 +3619,9 @@ var de_UpdateResourceEventConfigurationCommand = /* @__PURE__ */ __name(async (o
|
|
|
6885
3619
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
6886
3620
|
return contents;
|
|
6887
3621
|
}, "de_UpdateResourceEventConfigurationCommand");
|
|
6888
|
-
var de_UpdateResourceEventConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
6889
|
-
const parsedOutput = {
|
|
6890
|
-
...output,
|
|
6891
|
-
body: await parseErrorBody(output.body, context)
|
|
6892
|
-
};
|
|
6893
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6894
|
-
switch (errorCode) {
|
|
6895
|
-
case "AccessDeniedException":
|
|
6896
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
6897
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
6898
|
-
case "ConflictException":
|
|
6899
|
-
case "com.amazonaws.iotwireless#ConflictException":
|
|
6900
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
6901
|
-
case "InternalServerException":
|
|
6902
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
6903
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
6904
|
-
case "ResourceNotFoundException":
|
|
6905
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
6906
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
6907
|
-
case "ThrottlingException":
|
|
6908
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
6909
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
6910
|
-
case "ValidationException":
|
|
6911
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
6912
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
6913
|
-
default:
|
|
6914
|
-
const parsedBody = parsedOutput.body;
|
|
6915
|
-
return throwDefaultError({
|
|
6916
|
-
output,
|
|
6917
|
-
parsedBody,
|
|
6918
|
-
errorCode
|
|
6919
|
-
});
|
|
6920
|
-
}
|
|
6921
|
-
}, "de_UpdateResourceEventConfigurationCommandError");
|
|
6922
3622
|
var de_UpdateResourcePositionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
6923
3623
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
6924
|
-
return
|
|
3624
|
+
return de_CommandError(output, context);
|
|
6925
3625
|
}
|
|
6926
3626
|
const contents = (0, import_smithy_client.map)({
|
|
6927
3627
|
$metadata: deserializeMetadata(output)
|
|
@@ -6929,40 +3629,9 @@ var de_UpdateResourcePositionCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
6929
3629
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
6930
3630
|
return contents;
|
|
6931
3631
|
}, "de_UpdateResourcePositionCommand");
|
|
6932
|
-
var de_UpdateResourcePositionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
6933
|
-
const parsedOutput = {
|
|
6934
|
-
...output,
|
|
6935
|
-
body: await parseErrorBody(output.body, context)
|
|
6936
|
-
};
|
|
6937
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6938
|
-
switch (errorCode) {
|
|
6939
|
-
case "AccessDeniedException":
|
|
6940
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
6941
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
6942
|
-
case "InternalServerException":
|
|
6943
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
6944
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
6945
|
-
case "ResourceNotFoundException":
|
|
6946
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
6947
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
6948
|
-
case "ThrottlingException":
|
|
6949
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
6950
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
6951
|
-
case "ValidationException":
|
|
6952
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
6953
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
6954
|
-
default:
|
|
6955
|
-
const parsedBody = parsedOutput.body;
|
|
6956
|
-
return throwDefaultError({
|
|
6957
|
-
output,
|
|
6958
|
-
parsedBody,
|
|
6959
|
-
errorCode
|
|
6960
|
-
});
|
|
6961
|
-
}
|
|
6962
|
-
}, "de_UpdateResourcePositionCommandError");
|
|
6963
3632
|
var de_UpdateWirelessDeviceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
6964
3633
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
6965
|
-
return
|
|
3634
|
+
return de_CommandError(output, context);
|
|
6966
3635
|
}
|
|
6967
3636
|
const contents = (0, import_smithy_client.map)({
|
|
6968
3637
|
$metadata: deserializeMetadata(output)
|
|
@@ -6970,40 +3639,9 @@ var de_UpdateWirelessDeviceCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
6970
3639
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
6971
3640
|
return contents;
|
|
6972
3641
|
}, "de_UpdateWirelessDeviceCommand");
|
|
6973
|
-
var de_UpdateWirelessDeviceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
6974
|
-
const parsedOutput = {
|
|
6975
|
-
...output,
|
|
6976
|
-
body: await parseErrorBody(output.body, context)
|
|
6977
|
-
};
|
|
6978
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6979
|
-
switch (errorCode) {
|
|
6980
|
-
case "AccessDeniedException":
|
|
6981
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
6982
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
6983
|
-
case "InternalServerException":
|
|
6984
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
6985
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
6986
|
-
case "ResourceNotFoundException":
|
|
6987
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
6988
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
6989
|
-
case "ThrottlingException":
|
|
6990
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
6991
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
6992
|
-
case "ValidationException":
|
|
6993
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
6994
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
6995
|
-
default:
|
|
6996
|
-
const parsedBody = parsedOutput.body;
|
|
6997
|
-
return throwDefaultError({
|
|
6998
|
-
output,
|
|
6999
|
-
parsedBody,
|
|
7000
|
-
errorCode
|
|
7001
|
-
});
|
|
7002
|
-
}
|
|
7003
|
-
}, "de_UpdateWirelessDeviceCommandError");
|
|
7004
3642
|
var de_UpdateWirelessDeviceImportTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
7005
3643
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
7006
|
-
return
|
|
3644
|
+
return de_CommandError(output, context);
|
|
7007
3645
|
}
|
|
7008
3646
|
const contents = (0, import_smithy_client.map)({
|
|
7009
3647
|
$metadata: deserializeMetadata(output)
|
|
@@ -7011,43 +3649,9 @@ var de_UpdateWirelessDeviceImportTaskCommand = /* @__PURE__ */ __name(async (out
|
|
|
7011
3649
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
7012
3650
|
return contents;
|
|
7013
3651
|
}, "de_UpdateWirelessDeviceImportTaskCommand");
|
|
7014
|
-
var de_UpdateWirelessDeviceImportTaskCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
7015
|
-
const parsedOutput = {
|
|
7016
|
-
...output,
|
|
7017
|
-
body: await parseErrorBody(output.body, context)
|
|
7018
|
-
};
|
|
7019
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7020
|
-
switch (errorCode) {
|
|
7021
|
-
case "AccessDeniedException":
|
|
7022
|
-
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
7023
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
7024
|
-
case "ConflictException":
|
|
7025
|
-
case "com.amazonaws.iotwireless#ConflictException":
|
|
7026
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
7027
|
-
case "InternalServerException":
|
|
7028
|
-
case "com.amazonaws.iotwireless#InternalServerException":
|
|
7029
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
7030
|
-
case "ResourceNotFoundException":
|
|
7031
|
-
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
7032
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
7033
|
-
case "ThrottlingException":
|
|
7034
|
-
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
7035
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
7036
|
-
case "ValidationException":
|
|
7037
|
-
case "com.amazonaws.iotwireless#ValidationException":
|
|
7038
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
7039
|
-
default:
|
|
7040
|
-
const parsedBody = parsedOutput.body;
|
|
7041
|
-
return throwDefaultError({
|
|
7042
|
-
output,
|
|
7043
|
-
parsedBody,
|
|
7044
|
-
errorCode
|
|
7045
|
-
});
|
|
7046
|
-
}
|
|
7047
|
-
}, "de_UpdateWirelessDeviceImportTaskCommandError");
|
|
7048
3652
|
var de_UpdateWirelessGatewayCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
7049
3653
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
7050
|
-
return
|
|
3654
|
+
return de_CommandError(output, context);
|
|
7051
3655
|
}
|
|
7052
3656
|
const contents = (0, import_smithy_client.map)({
|
|
7053
3657
|
$metadata: deserializeMetadata(output)
|
|
@@ -7055,7 +3659,7 @@ var de_UpdateWirelessGatewayCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
7055
3659
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
7056
3660
|
return contents;
|
|
7057
3661
|
}, "de_UpdateWirelessGatewayCommand");
|
|
7058
|
-
var
|
|
3662
|
+
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
7059
3663
|
const parsedOutput = {
|
|
7060
3664
|
...output,
|
|
7061
3665
|
body: await parseErrorBody(output.body, context)
|
|
@@ -7065,6 +3669,9 @@ var de_UpdateWirelessGatewayCommandError = /* @__PURE__ */ __name(async (output,
|
|
|
7065
3669
|
case "AccessDeniedException":
|
|
7066
3670
|
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
7067
3671
|
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3672
|
+
case "ConflictException":
|
|
3673
|
+
case "com.amazonaws.iotwireless#ConflictException":
|
|
3674
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
7068
3675
|
case "InternalServerException":
|
|
7069
3676
|
case "com.amazonaws.iotwireless#InternalServerException":
|
|
7070
3677
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
@@ -7077,6 +3684,9 @@ var de_UpdateWirelessGatewayCommandError = /* @__PURE__ */ __name(async (output,
|
|
|
7077
3684
|
case "ValidationException":
|
|
7078
3685
|
case "com.amazonaws.iotwireless#ValidationException":
|
|
7079
3686
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3687
|
+
case "TooManyTagsException":
|
|
3688
|
+
case "com.amazonaws.iotwireless#TooManyTagsException":
|
|
3689
|
+
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
7080
3690
|
default:
|
|
7081
3691
|
const parsedBody = parsedOutput.body;
|
|
7082
3692
|
return throwDefaultError({
|
|
@@ -7085,7 +3695,7 @@ var de_UpdateWirelessGatewayCommandError = /* @__PURE__ */ __name(async (output,
|
|
|
7085
3695
|
errorCode
|
|
7086
3696
|
});
|
|
7087
3697
|
}
|
|
7088
|
-
}, "
|
|
3698
|
+
}, "de_CommandError");
|
|
7089
3699
|
var throwDefaultError = (0, import_smithy_client.withBaseException)(IoTWirelessServiceException);
|
|
7090
3700
|
var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
7091
3701
|
const contents = (0, import_smithy_client.map)({});
|