@aws-sdk/client-grafana 3.504.0 → 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 +42 -609
- package/dist-es/protocols/Aws_restJson1.js +33 -600
- package/package.json +3 -3
|
@@ -266,7 +266,7 @@ export const se_UpdateWorkspaceConfigurationCommand = async (input, context) =>
|
|
|
266
266
|
};
|
|
267
267
|
export const de_AssociateLicenseCommand = async (output, context) => {
|
|
268
268
|
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
269
|
-
return
|
|
269
|
+
return de_CommandError(output, context);
|
|
270
270
|
}
|
|
271
271
|
const contents = map({
|
|
272
272
|
$metadata: deserializeMetadata(output),
|
|
@@ -278,40 +278,9 @@ export const de_AssociateLicenseCommand = async (output, context) => {
|
|
|
278
278
|
Object.assign(contents, doc);
|
|
279
279
|
return contents;
|
|
280
280
|
};
|
|
281
|
-
const de_AssociateLicenseCommandError = async (output, context) => {
|
|
282
|
-
const parsedOutput = {
|
|
283
|
-
...output,
|
|
284
|
-
body: await parseErrorBody(output.body, context),
|
|
285
|
-
};
|
|
286
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
287
|
-
switch (errorCode) {
|
|
288
|
-
case "AccessDeniedException":
|
|
289
|
-
case "com.amazonaws.grafana#AccessDeniedException":
|
|
290
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
291
|
-
case "InternalServerException":
|
|
292
|
-
case "com.amazonaws.grafana#InternalServerException":
|
|
293
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
294
|
-
case "ResourceNotFoundException":
|
|
295
|
-
case "com.amazonaws.grafana#ResourceNotFoundException":
|
|
296
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
297
|
-
case "ThrottlingException":
|
|
298
|
-
case "com.amazonaws.grafana#ThrottlingException":
|
|
299
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
300
|
-
case "ValidationException":
|
|
301
|
-
case "com.amazonaws.grafana#ValidationException":
|
|
302
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
303
|
-
default:
|
|
304
|
-
const parsedBody = parsedOutput.body;
|
|
305
|
-
return throwDefaultError({
|
|
306
|
-
output,
|
|
307
|
-
parsedBody,
|
|
308
|
-
errorCode,
|
|
309
|
-
});
|
|
310
|
-
}
|
|
311
|
-
};
|
|
312
281
|
export const de_CreateWorkspaceCommand = async (output, context) => {
|
|
313
282
|
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
314
|
-
return
|
|
283
|
+
return de_CommandError(output, context);
|
|
315
284
|
}
|
|
316
285
|
const contents = map({
|
|
317
286
|
$metadata: deserializeMetadata(output),
|
|
@@ -323,43 +292,9 @@ export const de_CreateWorkspaceCommand = async (output, context) => {
|
|
|
323
292
|
Object.assign(contents, doc);
|
|
324
293
|
return contents;
|
|
325
294
|
};
|
|
326
|
-
const de_CreateWorkspaceCommandError = async (output, context) => {
|
|
327
|
-
const parsedOutput = {
|
|
328
|
-
...output,
|
|
329
|
-
body: await parseErrorBody(output.body, context),
|
|
330
|
-
};
|
|
331
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
332
|
-
switch (errorCode) {
|
|
333
|
-
case "AccessDeniedException":
|
|
334
|
-
case "com.amazonaws.grafana#AccessDeniedException":
|
|
335
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
336
|
-
case "ConflictException":
|
|
337
|
-
case "com.amazonaws.grafana#ConflictException":
|
|
338
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
339
|
-
case "InternalServerException":
|
|
340
|
-
case "com.amazonaws.grafana#InternalServerException":
|
|
341
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
342
|
-
case "ServiceQuotaExceededException":
|
|
343
|
-
case "com.amazonaws.grafana#ServiceQuotaExceededException":
|
|
344
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
345
|
-
case "ThrottlingException":
|
|
346
|
-
case "com.amazonaws.grafana#ThrottlingException":
|
|
347
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
348
|
-
case "ValidationException":
|
|
349
|
-
case "com.amazonaws.grafana#ValidationException":
|
|
350
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
351
|
-
default:
|
|
352
|
-
const parsedBody = parsedOutput.body;
|
|
353
|
-
return throwDefaultError({
|
|
354
|
-
output,
|
|
355
|
-
parsedBody,
|
|
356
|
-
errorCode,
|
|
357
|
-
});
|
|
358
|
-
}
|
|
359
|
-
};
|
|
360
295
|
export const de_CreateWorkspaceApiKeyCommand = async (output, context) => {
|
|
361
296
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
362
|
-
return
|
|
297
|
+
return de_CommandError(output, context);
|
|
363
298
|
}
|
|
364
299
|
const contents = map({
|
|
365
300
|
$metadata: deserializeMetadata(output),
|
|
@@ -373,46 +308,9 @@ export const de_CreateWorkspaceApiKeyCommand = async (output, context) => {
|
|
|
373
308
|
Object.assign(contents, doc);
|
|
374
309
|
return contents;
|
|
375
310
|
};
|
|
376
|
-
const de_CreateWorkspaceApiKeyCommandError = async (output, context) => {
|
|
377
|
-
const parsedOutput = {
|
|
378
|
-
...output,
|
|
379
|
-
body: await parseErrorBody(output.body, context),
|
|
380
|
-
};
|
|
381
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
382
|
-
switch (errorCode) {
|
|
383
|
-
case "AccessDeniedException":
|
|
384
|
-
case "com.amazonaws.grafana#AccessDeniedException":
|
|
385
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
386
|
-
case "ConflictException":
|
|
387
|
-
case "com.amazonaws.grafana#ConflictException":
|
|
388
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
389
|
-
case "InternalServerException":
|
|
390
|
-
case "com.amazonaws.grafana#InternalServerException":
|
|
391
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
392
|
-
case "ResourceNotFoundException":
|
|
393
|
-
case "com.amazonaws.grafana#ResourceNotFoundException":
|
|
394
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
395
|
-
case "ServiceQuotaExceededException":
|
|
396
|
-
case "com.amazonaws.grafana#ServiceQuotaExceededException":
|
|
397
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
398
|
-
case "ThrottlingException":
|
|
399
|
-
case "com.amazonaws.grafana#ThrottlingException":
|
|
400
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
401
|
-
case "ValidationException":
|
|
402
|
-
case "com.amazonaws.grafana#ValidationException":
|
|
403
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
404
|
-
default:
|
|
405
|
-
const parsedBody = parsedOutput.body;
|
|
406
|
-
return throwDefaultError({
|
|
407
|
-
output,
|
|
408
|
-
parsedBody,
|
|
409
|
-
errorCode,
|
|
410
|
-
});
|
|
411
|
-
}
|
|
412
|
-
};
|
|
413
311
|
export const de_DeleteWorkspaceCommand = async (output, context) => {
|
|
414
312
|
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
415
|
-
return
|
|
313
|
+
return de_CommandError(output, context);
|
|
416
314
|
}
|
|
417
315
|
const contents = map({
|
|
418
316
|
$metadata: deserializeMetadata(output),
|
|
@@ -424,43 +322,9 @@ export const de_DeleteWorkspaceCommand = async (output, context) => {
|
|
|
424
322
|
Object.assign(contents, doc);
|
|
425
323
|
return contents;
|
|
426
324
|
};
|
|
427
|
-
const de_DeleteWorkspaceCommandError = async (output, context) => {
|
|
428
|
-
const parsedOutput = {
|
|
429
|
-
...output,
|
|
430
|
-
body: await parseErrorBody(output.body, context),
|
|
431
|
-
};
|
|
432
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
433
|
-
switch (errorCode) {
|
|
434
|
-
case "AccessDeniedException":
|
|
435
|
-
case "com.amazonaws.grafana#AccessDeniedException":
|
|
436
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
437
|
-
case "ConflictException":
|
|
438
|
-
case "com.amazonaws.grafana#ConflictException":
|
|
439
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
440
|
-
case "InternalServerException":
|
|
441
|
-
case "com.amazonaws.grafana#InternalServerException":
|
|
442
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
443
|
-
case "ResourceNotFoundException":
|
|
444
|
-
case "com.amazonaws.grafana#ResourceNotFoundException":
|
|
445
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
446
|
-
case "ThrottlingException":
|
|
447
|
-
case "com.amazonaws.grafana#ThrottlingException":
|
|
448
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
449
|
-
case "ValidationException":
|
|
450
|
-
case "com.amazonaws.grafana#ValidationException":
|
|
451
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
452
|
-
default:
|
|
453
|
-
const parsedBody = parsedOutput.body;
|
|
454
|
-
return throwDefaultError({
|
|
455
|
-
output,
|
|
456
|
-
parsedBody,
|
|
457
|
-
errorCode,
|
|
458
|
-
});
|
|
459
|
-
}
|
|
460
|
-
};
|
|
461
325
|
export const de_DeleteWorkspaceApiKeyCommand = async (output, context) => {
|
|
462
326
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
463
|
-
return
|
|
327
|
+
return de_CommandError(output, context);
|
|
464
328
|
}
|
|
465
329
|
const contents = map({
|
|
466
330
|
$metadata: deserializeMetadata(output),
|
|
@@ -473,43 +337,9 @@ export const de_DeleteWorkspaceApiKeyCommand = async (output, context) => {
|
|
|
473
337
|
Object.assign(contents, doc);
|
|
474
338
|
return contents;
|
|
475
339
|
};
|
|
476
|
-
const de_DeleteWorkspaceApiKeyCommandError = async (output, context) => {
|
|
477
|
-
const parsedOutput = {
|
|
478
|
-
...output,
|
|
479
|
-
body: await parseErrorBody(output.body, context),
|
|
480
|
-
};
|
|
481
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
482
|
-
switch (errorCode) {
|
|
483
|
-
case "AccessDeniedException":
|
|
484
|
-
case "com.amazonaws.grafana#AccessDeniedException":
|
|
485
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
486
|
-
case "ConflictException":
|
|
487
|
-
case "com.amazonaws.grafana#ConflictException":
|
|
488
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
489
|
-
case "InternalServerException":
|
|
490
|
-
case "com.amazonaws.grafana#InternalServerException":
|
|
491
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
492
|
-
case "ResourceNotFoundException":
|
|
493
|
-
case "com.amazonaws.grafana#ResourceNotFoundException":
|
|
494
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
495
|
-
case "ThrottlingException":
|
|
496
|
-
case "com.amazonaws.grafana#ThrottlingException":
|
|
497
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
498
|
-
case "ValidationException":
|
|
499
|
-
case "com.amazonaws.grafana#ValidationException":
|
|
500
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
501
|
-
default:
|
|
502
|
-
const parsedBody = parsedOutput.body;
|
|
503
|
-
return throwDefaultError({
|
|
504
|
-
output,
|
|
505
|
-
parsedBody,
|
|
506
|
-
errorCode,
|
|
507
|
-
});
|
|
508
|
-
}
|
|
509
|
-
};
|
|
510
340
|
export const de_DescribeWorkspaceCommand = async (output, context) => {
|
|
511
341
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
512
|
-
return
|
|
342
|
+
return de_CommandError(output, context);
|
|
513
343
|
}
|
|
514
344
|
const contents = map({
|
|
515
345
|
$metadata: deserializeMetadata(output),
|
|
@@ -521,40 +351,9 @@ export const de_DescribeWorkspaceCommand = async (output, context) => {
|
|
|
521
351
|
Object.assign(contents, doc);
|
|
522
352
|
return contents;
|
|
523
353
|
};
|
|
524
|
-
const de_DescribeWorkspaceCommandError = async (output, context) => {
|
|
525
|
-
const parsedOutput = {
|
|
526
|
-
...output,
|
|
527
|
-
body: await parseErrorBody(output.body, context),
|
|
528
|
-
};
|
|
529
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
530
|
-
switch (errorCode) {
|
|
531
|
-
case "AccessDeniedException":
|
|
532
|
-
case "com.amazonaws.grafana#AccessDeniedException":
|
|
533
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
534
|
-
case "InternalServerException":
|
|
535
|
-
case "com.amazonaws.grafana#InternalServerException":
|
|
536
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
537
|
-
case "ResourceNotFoundException":
|
|
538
|
-
case "com.amazonaws.grafana#ResourceNotFoundException":
|
|
539
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
540
|
-
case "ThrottlingException":
|
|
541
|
-
case "com.amazonaws.grafana#ThrottlingException":
|
|
542
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
543
|
-
case "ValidationException":
|
|
544
|
-
case "com.amazonaws.grafana#ValidationException":
|
|
545
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
546
|
-
default:
|
|
547
|
-
const parsedBody = parsedOutput.body;
|
|
548
|
-
return throwDefaultError({
|
|
549
|
-
output,
|
|
550
|
-
parsedBody,
|
|
551
|
-
errorCode,
|
|
552
|
-
});
|
|
553
|
-
}
|
|
554
|
-
};
|
|
555
354
|
export const de_DescribeWorkspaceAuthenticationCommand = async (output, context) => {
|
|
556
355
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
557
|
-
return
|
|
356
|
+
return de_CommandError(output, context);
|
|
558
357
|
}
|
|
559
358
|
const contents = map({
|
|
560
359
|
$metadata: deserializeMetadata(output),
|
|
@@ -566,40 +365,9 @@ export const de_DescribeWorkspaceAuthenticationCommand = async (output, context)
|
|
|
566
365
|
Object.assign(contents, doc);
|
|
567
366
|
return contents;
|
|
568
367
|
};
|
|
569
|
-
const de_DescribeWorkspaceAuthenticationCommandError = async (output, context) => {
|
|
570
|
-
const parsedOutput = {
|
|
571
|
-
...output,
|
|
572
|
-
body: await parseErrorBody(output.body, context),
|
|
573
|
-
};
|
|
574
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
575
|
-
switch (errorCode) {
|
|
576
|
-
case "AccessDeniedException":
|
|
577
|
-
case "com.amazonaws.grafana#AccessDeniedException":
|
|
578
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
579
|
-
case "InternalServerException":
|
|
580
|
-
case "com.amazonaws.grafana#InternalServerException":
|
|
581
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
582
|
-
case "ResourceNotFoundException":
|
|
583
|
-
case "com.amazonaws.grafana#ResourceNotFoundException":
|
|
584
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
585
|
-
case "ThrottlingException":
|
|
586
|
-
case "com.amazonaws.grafana#ThrottlingException":
|
|
587
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
588
|
-
case "ValidationException":
|
|
589
|
-
case "com.amazonaws.grafana#ValidationException":
|
|
590
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
591
|
-
default:
|
|
592
|
-
const parsedBody = parsedOutput.body;
|
|
593
|
-
return throwDefaultError({
|
|
594
|
-
output,
|
|
595
|
-
parsedBody,
|
|
596
|
-
errorCode,
|
|
597
|
-
});
|
|
598
|
-
}
|
|
599
|
-
};
|
|
600
368
|
export const de_DescribeWorkspaceConfigurationCommand = async (output, context) => {
|
|
601
369
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
602
|
-
return
|
|
370
|
+
return de_CommandError(output, context);
|
|
603
371
|
}
|
|
604
372
|
const contents = map({
|
|
605
373
|
$metadata: deserializeMetadata(output),
|
|
@@ -612,37 +380,9 @@ export const de_DescribeWorkspaceConfigurationCommand = async (output, context)
|
|
|
612
380
|
Object.assign(contents, doc);
|
|
613
381
|
return contents;
|
|
614
382
|
};
|
|
615
|
-
const de_DescribeWorkspaceConfigurationCommandError = async (output, context) => {
|
|
616
|
-
const parsedOutput = {
|
|
617
|
-
...output,
|
|
618
|
-
body: await parseErrorBody(output.body, context),
|
|
619
|
-
};
|
|
620
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
621
|
-
switch (errorCode) {
|
|
622
|
-
case "AccessDeniedException":
|
|
623
|
-
case "com.amazonaws.grafana#AccessDeniedException":
|
|
624
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
625
|
-
case "InternalServerException":
|
|
626
|
-
case "com.amazonaws.grafana#InternalServerException":
|
|
627
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
628
|
-
case "ResourceNotFoundException":
|
|
629
|
-
case "com.amazonaws.grafana#ResourceNotFoundException":
|
|
630
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
631
|
-
case "ThrottlingException":
|
|
632
|
-
case "com.amazonaws.grafana#ThrottlingException":
|
|
633
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
634
|
-
default:
|
|
635
|
-
const parsedBody = parsedOutput.body;
|
|
636
|
-
return throwDefaultError({
|
|
637
|
-
output,
|
|
638
|
-
parsedBody,
|
|
639
|
-
errorCode,
|
|
640
|
-
});
|
|
641
|
-
}
|
|
642
|
-
};
|
|
643
383
|
export const de_DisassociateLicenseCommand = async (output, context) => {
|
|
644
384
|
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
645
|
-
return
|
|
385
|
+
return de_CommandError(output, context);
|
|
646
386
|
}
|
|
647
387
|
const contents = map({
|
|
648
388
|
$metadata: deserializeMetadata(output),
|
|
@@ -654,86 +394,24 @@ export const de_DisassociateLicenseCommand = async (output, context) => {
|
|
|
654
394
|
Object.assign(contents, doc);
|
|
655
395
|
return contents;
|
|
656
396
|
};
|
|
657
|
-
const de_DisassociateLicenseCommandError = async (output, context) => {
|
|
658
|
-
const parsedOutput = {
|
|
659
|
-
...output,
|
|
660
|
-
body: await parseErrorBody(output.body, context),
|
|
661
|
-
};
|
|
662
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
663
|
-
switch (errorCode) {
|
|
664
|
-
case "AccessDeniedException":
|
|
665
|
-
case "com.amazonaws.grafana#AccessDeniedException":
|
|
666
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
667
|
-
case "InternalServerException":
|
|
668
|
-
case "com.amazonaws.grafana#InternalServerException":
|
|
669
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
670
|
-
case "ResourceNotFoundException":
|
|
671
|
-
case "com.amazonaws.grafana#ResourceNotFoundException":
|
|
672
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
673
|
-
case "ThrottlingException":
|
|
674
|
-
case "com.amazonaws.grafana#ThrottlingException":
|
|
675
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
676
|
-
case "ValidationException":
|
|
677
|
-
case "com.amazonaws.grafana#ValidationException":
|
|
678
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
679
|
-
default:
|
|
680
|
-
const parsedBody = parsedOutput.body;
|
|
681
|
-
return throwDefaultError({
|
|
682
|
-
output,
|
|
683
|
-
parsedBody,
|
|
684
|
-
errorCode,
|
|
685
|
-
});
|
|
686
|
-
}
|
|
687
|
-
};
|
|
688
397
|
export const de_ListPermissionsCommand = async (output, context) => {
|
|
689
398
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
690
|
-
return
|
|
399
|
+
return de_CommandError(output, context);
|
|
691
400
|
}
|
|
692
401
|
const contents = map({
|
|
693
402
|
$metadata: deserializeMetadata(output),
|
|
694
403
|
});
|
|
695
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
696
|
-
const doc = take(data, {
|
|
697
|
-
nextToken: __expectString,
|
|
698
|
-
permissions: _json,
|
|
699
|
-
});
|
|
700
|
-
Object.assign(contents, doc);
|
|
701
|
-
return contents;
|
|
702
|
-
};
|
|
703
|
-
const de_ListPermissionsCommandError = async (output, context) => {
|
|
704
|
-
const parsedOutput = {
|
|
705
|
-
...output,
|
|
706
|
-
body: await parseErrorBody(output.body, context),
|
|
707
|
-
};
|
|
708
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
709
|
-
switch (errorCode) {
|
|
710
|
-
case "AccessDeniedException":
|
|
711
|
-
case "com.amazonaws.grafana#AccessDeniedException":
|
|
712
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
713
|
-
case "InternalServerException":
|
|
714
|
-
case "com.amazonaws.grafana#InternalServerException":
|
|
715
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
716
|
-
case "ResourceNotFoundException":
|
|
717
|
-
case "com.amazonaws.grafana#ResourceNotFoundException":
|
|
718
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
719
|
-
case "ThrottlingException":
|
|
720
|
-
case "com.amazonaws.grafana#ThrottlingException":
|
|
721
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
722
|
-
case "ValidationException":
|
|
723
|
-
case "com.amazonaws.grafana#ValidationException":
|
|
724
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
725
|
-
default:
|
|
726
|
-
const parsedBody = parsedOutput.body;
|
|
727
|
-
return throwDefaultError({
|
|
728
|
-
output,
|
|
729
|
-
parsedBody,
|
|
730
|
-
errorCode,
|
|
731
|
-
});
|
|
732
|
-
}
|
|
404
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
405
|
+
const doc = take(data, {
|
|
406
|
+
nextToken: __expectString,
|
|
407
|
+
permissions: _json,
|
|
408
|
+
});
|
|
409
|
+
Object.assign(contents, doc);
|
|
410
|
+
return contents;
|
|
733
411
|
};
|
|
734
412
|
export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
735
413
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
736
|
-
return
|
|
414
|
+
return de_CommandError(output, context);
|
|
737
415
|
}
|
|
738
416
|
const contents = map({
|
|
739
417
|
$metadata: deserializeMetadata(output),
|
|
@@ -745,40 +423,9 @@ export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
745
423
|
Object.assign(contents, doc);
|
|
746
424
|
return contents;
|
|
747
425
|
};
|
|
748
|
-
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
749
|
-
const parsedOutput = {
|
|
750
|
-
...output,
|
|
751
|
-
body: await parseErrorBody(output.body, context),
|
|
752
|
-
};
|
|
753
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
754
|
-
switch (errorCode) {
|
|
755
|
-
case "AccessDeniedException":
|
|
756
|
-
case "com.amazonaws.grafana#AccessDeniedException":
|
|
757
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
758
|
-
case "InternalServerException":
|
|
759
|
-
case "com.amazonaws.grafana#InternalServerException":
|
|
760
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
761
|
-
case "ResourceNotFoundException":
|
|
762
|
-
case "com.amazonaws.grafana#ResourceNotFoundException":
|
|
763
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
764
|
-
case "ThrottlingException":
|
|
765
|
-
case "com.amazonaws.grafana#ThrottlingException":
|
|
766
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
767
|
-
case "ValidationException":
|
|
768
|
-
case "com.amazonaws.grafana#ValidationException":
|
|
769
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
770
|
-
default:
|
|
771
|
-
const parsedBody = parsedOutput.body;
|
|
772
|
-
return throwDefaultError({
|
|
773
|
-
output,
|
|
774
|
-
parsedBody,
|
|
775
|
-
errorCode,
|
|
776
|
-
});
|
|
777
|
-
}
|
|
778
|
-
};
|
|
779
426
|
export const de_ListVersionsCommand = async (output, context) => {
|
|
780
427
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
781
|
-
return
|
|
428
|
+
return de_CommandError(output, context);
|
|
782
429
|
}
|
|
783
430
|
const contents = map({
|
|
784
431
|
$metadata: deserializeMetadata(output),
|
|
@@ -791,40 +438,9 @@ export const de_ListVersionsCommand = async (output, context) => {
|
|
|
791
438
|
Object.assign(contents, doc);
|
|
792
439
|
return contents;
|
|
793
440
|
};
|
|
794
|
-
const de_ListVersionsCommandError = async (output, context) => {
|
|
795
|
-
const parsedOutput = {
|
|
796
|
-
...output,
|
|
797
|
-
body: await parseErrorBody(output.body, context),
|
|
798
|
-
};
|
|
799
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
800
|
-
switch (errorCode) {
|
|
801
|
-
case "AccessDeniedException":
|
|
802
|
-
case "com.amazonaws.grafana#AccessDeniedException":
|
|
803
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
804
|
-
case "InternalServerException":
|
|
805
|
-
case "com.amazonaws.grafana#InternalServerException":
|
|
806
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
807
|
-
case "ResourceNotFoundException":
|
|
808
|
-
case "com.amazonaws.grafana#ResourceNotFoundException":
|
|
809
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
810
|
-
case "ThrottlingException":
|
|
811
|
-
case "com.amazonaws.grafana#ThrottlingException":
|
|
812
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
813
|
-
case "ValidationException":
|
|
814
|
-
case "com.amazonaws.grafana#ValidationException":
|
|
815
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
816
|
-
default:
|
|
817
|
-
const parsedBody = parsedOutput.body;
|
|
818
|
-
return throwDefaultError({
|
|
819
|
-
output,
|
|
820
|
-
parsedBody,
|
|
821
|
-
errorCode,
|
|
822
|
-
});
|
|
823
|
-
}
|
|
824
|
-
};
|
|
825
441
|
export const de_ListWorkspacesCommand = async (output, context) => {
|
|
826
442
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
827
|
-
return
|
|
443
|
+
return de_CommandError(output, context);
|
|
828
444
|
}
|
|
829
445
|
const contents = map({
|
|
830
446
|
$metadata: deserializeMetadata(output),
|
|
@@ -837,34 +453,9 @@ export const de_ListWorkspacesCommand = async (output, context) => {
|
|
|
837
453
|
Object.assign(contents, doc);
|
|
838
454
|
return contents;
|
|
839
455
|
};
|
|
840
|
-
const de_ListWorkspacesCommandError = async (output, context) => {
|
|
841
|
-
const parsedOutput = {
|
|
842
|
-
...output,
|
|
843
|
-
body: await parseErrorBody(output.body, context),
|
|
844
|
-
};
|
|
845
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
846
|
-
switch (errorCode) {
|
|
847
|
-
case "AccessDeniedException":
|
|
848
|
-
case "com.amazonaws.grafana#AccessDeniedException":
|
|
849
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
850
|
-
case "InternalServerException":
|
|
851
|
-
case "com.amazonaws.grafana#InternalServerException":
|
|
852
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
853
|
-
case "ThrottlingException":
|
|
854
|
-
case "com.amazonaws.grafana#ThrottlingException":
|
|
855
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
856
|
-
default:
|
|
857
|
-
const parsedBody = parsedOutput.body;
|
|
858
|
-
return throwDefaultError({
|
|
859
|
-
output,
|
|
860
|
-
parsedBody,
|
|
861
|
-
errorCode,
|
|
862
|
-
});
|
|
863
|
-
}
|
|
864
|
-
};
|
|
865
456
|
export const de_TagResourceCommand = async (output, context) => {
|
|
866
457
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
867
|
-
return
|
|
458
|
+
return de_CommandError(output, context);
|
|
868
459
|
}
|
|
869
460
|
const contents = map({
|
|
870
461
|
$metadata: deserializeMetadata(output),
|
|
@@ -872,40 +463,9 @@ export const de_TagResourceCommand = async (output, context) => {
|
|
|
872
463
|
await collectBody(output.body, context);
|
|
873
464
|
return contents;
|
|
874
465
|
};
|
|
875
|
-
const de_TagResourceCommandError = async (output, context) => {
|
|
876
|
-
const parsedOutput = {
|
|
877
|
-
...output,
|
|
878
|
-
body: await parseErrorBody(output.body, context),
|
|
879
|
-
};
|
|
880
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
881
|
-
switch (errorCode) {
|
|
882
|
-
case "AccessDeniedException":
|
|
883
|
-
case "com.amazonaws.grafana#AccessDeniedException":
|
|
884
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
885
|
-
case "InternalServerException":
|
|
886
|
-
case "com.amazonaws.grafana#InternalServerException":
|
|
887
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
888
|
-
case "ResourceNotFoundException":
|
|
889
|
-
case "com.amazonaws.grafana#ResourceNotFoundException":
|
|
890
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
891
|
-
case "ThrottlingException":
|
|
892
|
-
case "com.amazonaws.grafana#ThrottlingException":
|
|
893
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
894
|
-
case "ValidationException":
|
|
895
|
-
case "com.amazonaws.grafana#ValidationException":
|
|
896
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
897
|
-
default:
|
|
898
|
-
const parsedBody = parsedOutput.body;
|
|
899
|
-
return throwDefaultError({
|
|
900
|
-
output,
|
|
901
|
-
parsedBody,
|
|
902
|
-
errorCode,
|
|
903
|
-
});
|
|
904
|
-
}
|
|
905
|
-
};
|
|
906
466
|
export const de_UntagResourceCommand = async (output, context) => {
|
|
907
467
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
908
|
-
return
|
|
468
|
+
return de_CommandError(output, context);
|
|
909
469
|
}
|
|
910
470
|
const contents = map({
|
|
911
471
|
$metadata: deserializeMetadata(output),
|
|
@@ -913,40 +473,9 @@ export const de_UntagResourceCommand = async (output, context) => {
|
|
|
913
473
|
await collectBody(output.body, context);
|
|
914
474
|
return contents;
|
|
915
475
|
};
|
|
916
|
-
const de_UntagResourceCommandError = async (output, context) => {
|
|
917
|
-
const parsedOutput = {
|
|
918
|
-
...output,
|
|
919
|
-
body: await parseErrorBody(output.body, context),
|
|
920
|
-
};
|
|
921
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
922
|
-
switch (errorCode) {
|
|
923
|
-
case "AccessDeniedException":
|
|
924
|
-
case "com.amazonaws.grafana#AccessDeniedException":
|
|
925
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
926
|
-
case "InternalServerException":
|
|
927
|
-
case "com.amazonaws.grafana#InternalServerException":
|
|
928
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
929
|
-
case "ResourceNotFoundException":
|
|
930
|
-
case "com.amazonaws.grafana#ResourceNotFoundException":
|
|
931
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
932
|
-
case "ThrottlingException":
|
|
933
|
-
case "com.amazonaws.grafana#ThrottlingException":
|
|
934
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
935
|
-
case "ValidationException":
|
|
936
|
-
case "com.amazonaws.grafana#ValidationException":
|
|
937
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
938
|
-
default:
|
|
939
|
-
const parsedBody = parsedOutput.body;
|
|
940
|
-
return throwDefaultError({
|
|
941
|
-
output,
|
|
942
|
-
parsedBody,
|
|
943
|
-
errorCode,
|
|
944
|
-
});
|
|
945
|
-
}
|
|
946
|
-
};
|
|
947
476
|
export const de_UpdatePermissionsCommand = async (output, context) => {
|
|
948
477
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
949
|
-
return
|
|
478
|
+
return de_CommandError(output, context);
|
|
950
479
|
}
|
|
951
480
|
const contents = map({
|
|
952
481
|
$metadata: deserializeMetadata(output),
|
|
@@ -958,40 +487,9 @@ export const de_UpdatePermissionsCommand = async (output, context) => {
|
|
|
958
487
|
Object.assign(contents, doc);
|
|
959
488
|
return contents;
|
|
960
489
|
};
|
|
961
|
-
const de_UpdatePermissionsCommandError = async (output, context) => {
|
|
962
|
-
const parsedOutput = {
|
|
963
|
-
...output,
|
|
964
|
-
body: await parseErrorBody(output.body, context),
|
|
965
|
-
};
|
|
966
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
967
|
-
switch (errorCode) {
|
|
968
|
-
case "AccessDeniedException":
|
|
969
|
-
case "com.amazonaws.grafana#AccessDeniedException":
|
|
970
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
971
|
-
case "InternalServerException":
|
|
972
|
-
case "com.amazonaws.grafana#InternalServerException":
|
|
973
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
974
|
-
case "ResourceNotFoundException":
|
|
975
|
-
case "com.amazonaws.grafana#ResourceNotFoundException":
|
|
976
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
977
|
-
case "ThrottlingException":
|
|
978
|
-
case "com.amazonaws.grafana#ThrottlingException":
|
|
979
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
980
|
-
case "ValidationException":
|
|
981
|
-
case "com.amazonaws.grafana#ValidationException":
|
|
982
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
983
|
-
default:
|
|
984
|
-
const parsedBody = parsedOutput.body;
|
|
985
|
-
return throwDefaultError({
|
|
986
|
-
output,
|
|
987
|
-
parsedBody,
|
|
988
|
-
errorCode,
|
|
989
|
-
});
|
|
990
|
-
}
|
|
991
|
-
};
|
|
992
490
|
export const de_UpdateWorkspaceCommand = async (output, context) => {
|
|
993
491
|
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
994
|
-
return
|
|
492
|
+
return de_CommandError(output, context);
|
|
995
493
|
}
|
|
996
494
|
const contents = map({
|
|
997
495
|
$metadata: deserializeMetadata(output),
|
|
@@ -1003,43 +501,9 @@ export const de_UpdateWorkspaceCommand = async (output, context) => {
|
|
|
1003
501
|
Object.assign(contents, doc);
|
|
1004
502
|
return contents;
|
|
1005
503
|
};
|
|
1006
|
-
const de_UpdateWorkspaceCommandError = async (output, context) => {
|
|
1007
|
-
const parsedOutput = {
|
|
1008
|
-
...output,
|
|
1009
|
-
body: await parseErrorBody(output.body, context),
|
|
1010
|
-
};
|
|
1011
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1012
|
-
switch (errorCode) {
|
|
1013
|
-
case "AccessDeniedException":
|
|
1014
|
-
case "com.amazonaws.grafana#AccessDeniedException":
|
|
1015
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1016
|
-
case "ConflictException":
|
|
1017
|
-
case "com.amazonaws.grafana#ConflictException":
|
|
1018
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1019
|
-
case "InternalServerException":
|
|
1020
|
-
case "com.amazonaws.grafana#InternalServerException":
|
|
1021
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1022
|
-
case "ResourceNotFoundException":
|
|
1023
|
-
case "com.amazonaws.grafana#ResourceNotFoundException":
|
|
1024
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1025
|
-
case "ThrottlingException":
|
|
1026
|
-
case "com.amazonaws.grafana#ThrottlingException":
|
|
1027
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1028
|
-
case "ValidationException":
|
|
1029
|
-
case "com.amazonaws.grafana#ValidationException":
|
|
1030
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1031
|
-
default:
|
|
1032
|
-
const parsedBody = parsedOutput.body;
|
|
1033
|
-
return throwDefaultError({
|
|
1034
|
-
output,
|
|
1035
|
-
parsedBody,
|
|
1036
|
-
errorCode,
|
|
1037
|
-
});
|
|
1038
|
-
}
|
|
1039
|
-
};
|
|
1040
504
|
export const de_UpdateWorkspaceAuthenticationCommand = async (output, context) => {
|
|
1041
505
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1042
|
-
return
|
|
506
|
+
return de_CommandError(output, context);
|
|
1043
507
|
}
|
|
1044
508
|
const contents = map({
|
|
1045
509
|
$metadata: deserializeMetadata(output),
|
|
@@ -1051,43 +515,9 @@ export const de_UpdateWorkspaceAuthenticationCommand = async (output, context) =
|
|
|
1051
515
|
Object.assign(contents, doc);
|
|
1052
516
|
return contents;
|
|
1053
517
|
};
|
|
1054
|
-
const de_UpdateWorkspaceAuthenticationCommandError = async (output, context) => {
|
|
1055
|
-
const parsedOutput = {
|
|
1056
|
-
...output,
|
|
1057
|
-
body: await parseErrorBody(output.body, context),
|
|
1058
|
-
};
|
|
1059
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1060
|
-
switch (errorCode) {
|
|
1061
|
-
case "AccessDeniedException":
|
|
1062
|
-
case "com.amazonaws.grafana#AccessDeniedException":
|
|
1063
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1064
|
-
case "ConflictException":
|
|
1065
|
-
case "com.amazonaws.grafana#ConflictException":
|
|
1066
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1067
|
-
case "InternalServerException":
|
|
1068
|
-
case "com.amazonaws.grafana#InternalServerException":
|
|
1069
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1070
|
-
case "ResourceNotFoundException":
|
|
1071
|
-
case "com.amazonaws.grafana#ResourceNotFoundException":
|
|
1072
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1073
|
-
case "ThrottlingException":
|
|
1074
|
-
case "com.amazonaws.grafana#ThrottlingException":
|
|
1075
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1076
|
-
case "ValidationException":
|
|
1077
|
-
case "com.amazonaws.grafana#ValidationException":
|
|
1078
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1079
|
-
default:
|
|
1080
|
-
const parsedBody = parsedOutput.body;
|
|
1081
|
-
return throwDefaultError({
|
|
1082
|
-
output,
|
|
1083
|
-
parsedBody,
|
|
1084
|
-
errorCode,
|
|
1085
|
-
});
|
|
1086
|
-
}
|
|
1087
|
-
};
|
|
1088
518
|
export const de_UpdateWorkspaceConfigurationCommand = async (output, context) => {
|
|
1089
519
|
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1090
|
-
return
|
|
520
|
+
return de_CommandError(output, context);
|
|
1091
521
|
}
|
|
1092
522
|
const contents = map({
|
|
1093
523
|
$metadata: deserializeMetadata(output),
|
|
@@ -1095,7 +525,7 @@ export const de_UpdateWorkspaceConfigurationCommand = async (output, context) =>
|
|
|
1095
525
|
await collectBody(output.body, context);
|
|
1096
526
|
return contents;
|
|
1097
527
|
};
|
|
1098
|
-
const
|
|
528
|
+
const de_CommandError = async (output, context) => {
|
|
1099
529
|
const parsedOutput = {
|
|
1100
530
|
...output,
|
|
1101
531
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1105,9 +535,6 @@ const de_UpdateWorkspaceConfigurationCommandError = async (output, context) => {
|
|
|
1105
535
|
case "AccessDeniedException":
|
|
1106
536
|
case "com.amazonaws.grafana#AccessDeniedException":
|
|
1107
537
|
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1108
|
-
case "ConflictException":
|
|
1109
|
-
case "com.amazonaws.grafana#ConflictException":
|
|
1110
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1111
538
|
case "InternalServerException":
|
|
1112
539
|
case "com.amazonaws.grafana#InternalServerException":
|
|
1113
540
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
@@ -1120,6 +547,12 @@ const de_UpdateWorkspaceConfigurationCommandError = async (output, context) => {
|
|
|
1120
547
|
case "ValidationException":
|
|
1121
548
|
case "com.amazonaws.grafana#ValidationException":
|
|
1122
549
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
550
|
+
case "ConflictException":
|
|
551
|
+
case "com.amazonaws.grafana#ConflictException":
|
|
552
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
553
|
+
case "ServiceQuotaExceededException":
|
|
554
|
+
case "com.amazonaws.grafana#ServiceQuotaExceededException":
|
|
555
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1123
556
|
default:
|
|
1124
557
|
const parsedBody = parsedOutput.body;
|
|
1125
558
|
return throwDefaultError({
|