@aws-sdk/client-config-service 3.504.0 → 3.509.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 +316 -2423
- package/dist-es/protocols/Aws_json1_1.js +290 -2397
- package/package.json +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -2432,7 +2432,7 @@ var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
2432
2432
|
}, "se_UntagResourceCommand");
|
|
2433
2433
|
var de_BatchGetAggregateResourceConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2434
2434
|
if (output.statusCode >= 300) {
|
|
2435
|
-
return
|
|
2435
|
+
return de_CommandError(output, context);
|
|
2436
2436
|
}
|
|
2437
2437
|
const data = await parseBody(output.body, context);
|
|
2438
2438
|
let contents = {};
|
|
@@ -2443,31 +2443,9 @@ var de_BatchGetAggregateResourceConfigCommand = /* @__PURE__ */ __name(async (ou
|
|
|
2443
2443
|
};
|
|
2444
2444
|
return response;
|
|
2445
2445
|
}, "de_BatchGetAggregateResourceConfigCommand");
|
|
2446
|
-
var de_BatchGetAggregateResourceConfigCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2447
|
-
const parsedOutput = {
|
|
2448
|
-
...output,
|
|
2449
|
-
body: await parseErrorBody(output.body, context)
|
|
2450
|
-
};
|
|
2451
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2452
|
-
switch (errorCode) {
|
|
2453
|
-
case "NoSuchConfigurationAggregatorException":
|
|
2454
|
-
case "com.amazonaws.configservice#NoSuchConfigurationAggregatorException":
|
|
2455
|
-
throw await de_NoSuchConfigurationAggregatorExceptionRes(parsedOutput, context);
|
|
2456
|
-
case "ValidationException":
|
|
2457
|
-
case "com.amazonaws.configservice#ValidationException":
|
|
2458
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2459
|
-
default:
|
|
2460
|
-
const parsedBody = parsedOutput.body;
|
|
2461
|
-
return throwDefaultError({
|
|
2462
|
-
output,
|
|
2463
|
-
parsedBody,
|
|
2464
|
-
errorCode
|
|
2465
|
-
});
|
|
2466
|
-
}
|
|
2467
|
-
}, "de_BatchGetAggregateResourceConfigCommandError");
|
|
2468
2446
|
var de_BatchGetResourceConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2469
2447
|
if (output.statusCode >= 300) {
|
|
2470
|
-
return
|
|
2448
|
+
return de_CommandError(output, context);
|
|
2471
2449
|
}
|
|
2472
2450
|
const data = await parseBody(output.body, context);
|
|
2473
2451
|
let contents = {};
|
|
@@ -2478,31 +2456,9 @@ var de_BatchGetResourceConfigCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
2478
2456
|
};
|
|
2479
2457
|
return response;
|
|
2480
2458
|
}, "de_BatchGetResourceConfigCommand");
|
|
2481
|
-
var de_BatchGetResourceConfigCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2482
|
-
const parsedOutput = {
|
|
2483
|
-
...output,
|
|
2484
|
-
body: await parseErrorBody(output.body, context)
|
|
2485
|
-
};
|
|
2486
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2487
|
-
switch (errorCode) {
|
|
2488
|
-
case "NoAvailableConfigurationRecorderException":
|
|
2489
|
-
case "com.amazonaws.configservice#NoAvailableConfigurationRecorderException":
|
|
2490
|
-
throw await de_NoAvailableConfigurationRecorderExceptionRes(parsedOutput, context);
|
|
2491
|
-
case "ValidationException":
|
|
2492
|
-
case "com.amazonaws.configservice#ValidationException":
|
|
2493
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2494
|
-
default:
|
|
2495
|
-
const parsedBody = parsedOutput.body;
|
|
2496
|
-
return throwDefaultError({
|
|
2497
|
-
output,
|
|
2498
|
-
parsedBody,
|
|
2499
|
-
errorCode
|
|
2500
|
-
});
|
|
2501
|
-
}
|
|
2502
|
-
}, "de_BatchGetResourceConfigCommandError");
|
|
2503
2459
|
var de_DeleteAggregationAuthorizationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2504
2460
|
if (output.statusCode >= 300) {
|
|
2505
|
-
return
|
|
2461
|
+
return de_CommandError(output, context);
|
|
2506
2462
|
}
|
|
2507
2463
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2508
2464
|
const response = {
|
|
@@ -2510,28 +2466,9 @@ var de_DeleteAggregationAuthorizationCommand = /* @__PURE__ */ __name(async (out
|
|
|
2510
2466
|
};
|
|
2511
2467
|
return response;
|
|
2512
2468
|
}, "de_DeleteAggregationAuthorizationCommand");
|
|
2513
|
-
var de_DeleteAggregationAuthorizationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2514
|
-
const parsedOutput = {
|
|
2515
|
-
...output,
|
|
2516
|
-
body: await parseErrorBody(output.body, context)
|
|
2517
|
-
};
|
|
2518
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2519
|
-
switch (errorCode) {
|
|
2520
|
-
case "InvalidParameterValueException":
|
|
2521
|
-
case "com.amazonaws.configservice#InvalidParameterValueException":
|
|
2522
|
-
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
2523
|
-
default:
|
|
2524
|
-
const parsedBody = parsedOutput.body;
|
|
2525
|
-
return throwDefaultError({
|
|
2526
|
-
output,
|
|
2527
|
-
parsedBody,
|
|
2528
|
-
errorCode
|
|
2529
|
-
});
|
|
2530
|
-
}
|
|
2531
|
-
}, "de_DeleteAggregationAuthorizationCommandError");
|
|
2532
2469
|
var de_DeleteConfigRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2533
2470
|
if (output.statusCode >= 300) {
|
|
2534
|
-
return
|
|
2471
|
+
return de_CommandError(output, context);
|
|
2535
2472
|
}
|
|
2536
2473
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2537
2474
|
const response = {
|
|
@@ -2539,31 +2476,9 @@ var de_DeleteConfigRuleCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2539
2476
|
};
|
|
2540
2477
|
return response;
|
|
2541
2478
|
}, "de_DeleteConfigRuleCommand");
|
|
2542
|
-
var de_DeleteConfigRuleCommandError = /* @__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 "NoSuchConfigRuleException":
|
|
2550
|
-
case "com.amazonaws.configservice#NoSuchConfigRuleException":
|
|
2551
|
-
throw await de_NoSuchConfigRuleExceptionRes(parsedOutput, context);
|
|
2552
|
-
case "ResourceInUseException":
|
|
2553
|
-
case "com.amazonaws.configservice#ResourceInUseException":
|
|
2554
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
2555
|
-
default:
|
|
2556
|
-
const parsedBody = parsedOutput.body;
|
|
2557
|
-
return throwDefaultError({
|
|
2558
|
-
output,
|
|
2559
|
-
parsedBody,
|
|
2560
|
-
errorCode
|
|
2561
|
-
});
|
|
2562
|
-
}
|
|
2563
|
-
}, "de_DeleteConfigRuleCommandError");
|
|
2564
2479
|
var de_DeleteConfigurationAggregatorCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2565
2480
|
if (output.statusCode >= 300) {
|
|
2566
|
-
return
|
|
2481
|
+
return de_CommandError(output, context);
|
|
2567
2482
|
}
|
|
2568
2483
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2569
2484
|
const response = {
|
|
@@ -2571,28 +2486,9 @@ var de_DeleteConfigurationAggregatorCommand = /* @__PURE__ */ __name(async (outp
|
|
|
2571
2486
|
};
|
|
2572
2487
|
return response;
|
|
2573
2488
|
}, "de_DeleteConfigurationAggregatorCommand");
|
|
2574
|
-
var de_DeleteConfigurationAggregatorCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2575
|
-
const parsedOutput = {
|
|
2576
|
-
...output,
|
|
2577
|
-
body: await parseErrorBody(output.body, context)
|
|
2578
|
-
};
|
|
2579
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2580
|
-
switch (errorCode) {
|
|
2581
|
-
case "NoSuchConfigurationAggregatorException":
|
|
2582
|
-
case "com.amazonaws.configservice#NoSuchConfigurationAggregatorException":
|
|
2583
|
-
throw await de_NoSuchConfigurationAggregatorExceptionRes(parsedOutput, context);
|
|
2584
|
-
default:
|
|
2585
|
-
const parsedBody = parsedOutput.body;
|
|
2586
|
-
return throwDefaultError({
|
|
2587
|
-
output,
|
|
2588
|
-
parsedBody,
|
|
2589
|
-
errorCode
|
|
2590
|
-
});
|
|
2591
|
-
}
|
|
2592
|
-
}, "de_DeleteConfigurationAggregatorCommandError");
|
|
2593
2489
|
var de_DeleteConfigurationRecorderCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2594
2490
|
if (output.statusCode >= 300) {
|
|
2595
|
-
return
|
|
2491
|
+
return de_CommandError(output, context);
|
|
2596
2492
|
}
|
|
2597
2493
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2598
2494
|
const response = {
|
|
@@ -2600,28 +2496,9 @@ var de_DeleteConfigurationRecorderCommand = /* @__PURE__ */ __name(async (output
|
|
|
2600
2496
|
};
|
|
2601
2497
|
return response;
|
|
2602
2498
|
}, "de_DeleteConfigurationRecorderCommand");
|
|
2603
|
-
var de_DeleteConfigurationRecorderCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2604
|
-
const parsedOutput = {
|
|
2605
|
-
...output,
|
|
2606
|
-
body: await parseErrorBody(output.body, context)
|
|
2607
|
-
};
|
|
2608
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2609
|
-
switch (errorCode) {
|
|
2610
|
-
case "NoSuchConfigurationRecorderException":
|
|
2611
|
-
case "com.amazonaws.configservice#NoSuchConfigurationRecorderException":
|
|
2612
|
-
throw await de_NoSuchConfigurationRecorderExceptionRes(parsedOutput, context);
|
|
2613
|
-
default:
|
|
2614
|
-
const parsedBody = parsedOutput.body;
|
|
2615
|
-
return throwDefaultError({
|
|
2616
|
-
output,
|
|
2617
|
-
parsedBody,
|
|
2618
|
-
errorCode
|
|
2619
|
-
});
|
|
2620
|
-
}
|
|
2621
|
-
}, "de_DeleteConfigurationRecorderCommandError");
|
|
2622
2499
|
var de_DeleteConformancePackCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2623
2500
|
if (output.statusCode >= 300) {
|
|
2624
|
-
return
|
|
2501
|
+
return de_CommandError(output, context);
|
|
2625
2502
|
}
|
|
2626
2503
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2627
2504
|
const response = {
|
|
@@ -2629,31 +2506,9 @@ var de_DeleteConformancePackCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
2629
2506
|
};
|
|
2630
2507
|
return response;
|
|
2631
2508
|
}, "de_DeleteConformancePackCommand");
|
|
2632
|
-
var de_DeleteConformancePackCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2633
|
-
const parsedOutput = {
|
|
2634
|
-
...output,
|
|
2635
|
-
body: await parseErrorBody(output.body, context)
|
|
2636
|
-
};
|
|
2637
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2638
|
-
switch (errorCode) {
|
|
2639
|
-
case "NoSuchConformancePackException":
|
|
2640
|
-
case "com.amazonaws.configservice#NoSuchConformancePackException":
|
|
2641
|
-
throw await de_NoSuchConformancePackExceptionRes(parsedOutput, context);
|
|
2642
|
-
case "ResourceInUseException":
|
|
2643
|
-
case "com.amazonaws.configservice#ResourceInUseException":
|
|
2644
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
2645
|
-
default:
|
|
2646
|
-
const parsedBody = parsedOutput.body;
|
|
2647
|
-
return throwDefaultError({
|
|
2648
|
-
output,
|
|
2649
|
-
parsedBody,
|
|
2650
|
-
errorCode
|
|
2651
|
-
});
|
|
2652
|
-
}
|
|
2653
|
-
}, "de_DeleteConformancePackCommandError");
|
|
2654
2509
|
var de_DeleteDeliveryChannelCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2655
2510
|
if (output.statusCode >= 300) {
|
|
2656
|
-
return
|
|
2511
|
+
return de_CommandError(output, context);
|
|
2657
2512
|
}
|
|
2658
2513
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2659
2514
|
const response = {
|
|
@@ -2661,31 +2516,9 @@ var de_DeleteDeliveryChannelCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
2661
2516
|
};
|
|
2662
2517
|
return response;
|
|
2663
2518
|
}, "de_DeleteDeliveryChannelCommand");
|
|
2664
|
-
var de_DeleteDeliveryChannelCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2665
|
-
const parsedOutput = {
|
|
2666
|
-
...output,
|
|
2667
|
-
body: await parseErrorBody(output.body, context)
|
|
2668
|
-
};
|
|
2669
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2670
|
-
switch (errorCode) {
|
|
2671
|
-
case "LastDeliveryChannelDeleteFailedException":
|
|
2672
|
-
case "com.amazonaws.configservice#LastDeliveryChannelDeleteFailedException":
|
|
2673
|
-
throw await de_LastDeliveryChannelDeleteFailedExceptionRes(parsedOutput, context);
|
|
2674
|
-
case "NoSuchDeliveryChannelException":
|
|
2675
|
-
case "com.amazonaws.configservice#NoSuchDeliveryChannelException":
|
|
2676
|
-
throw await de_NoSuchDeliveryChannelExceptionRes(parsedOutput, context);
|
|
2677
|
-
default:
|
|
2678
|
-
const parsedBody = parsedOutput.body;
|
|
2679
|
-
return throwDefaultError({
|
|
2680
|
-
output,
|
|
2681
|
-
parsedBody,
|
|
2682
|
-
errorCode
|
|
2683
|
-
});
|
|
2684
|
-
}
|
|
2685
|
-
}, "de_DeleteDeliveryChannelCommandError");
|
|
2686
2519
|
var de_DeleteEvaluationResultsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2687
2520
|
if (output.statusCode >= 300) {
|
|
2688
|
-
return
|
|
2521
|
+
return de_CommandError(output, context);
|
|
2689
2522
|
}
|
|
2690
2523
|
const data = await parseBody(output.body, context);
|
|
2691
2524
|
let contents = {};
|
|
@@ -2696,31 +2529,9 @@ var de_DeleteEvaluationResultsCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
2696
2529
|
};
|
|
2697
2530
|
return response;
|
|
2698
2531
|
}, "de_DeleteEvaluationResultsCommand");
|
|
2699
|
-
var de_DeleteEvaluationResultsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2700
|
-
const parsedOutput = {
|
|
2701
|
-
...output,
|
|
2702
|
-
body: await parseErrorBody(output.body, context)
|
|
2703
|
-
};
|
|
2704
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2705
|
-
switch (errorCode) {
|
|
2706
|
-
case "NoSuchConfigRuleException":
|
|
2707
|
-
case "com.amazonaws.configservice#NoSuchConfigRuleException":
|
|
2708
|
-
throw await de_NoSuchConfigRuleExceptionRes(parsedOutput, context);
|
|
2709
|
-
case "ResourceInUseException":
|
|
2710
|
-
case "com.amazonaws.configservice#ResourceInUseException":
|
|
2711
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
2712
|
-
default:
|
|
2713
|
-
const parsedBody = parsedOutput.body;
|
|
2714
|
-
return throwDefaultError({
|
|
2715
|
-
output,
|
|
2716
|
-
parsedBody,
|
|
2717
|
-
errorCode
|
|
2718
|
-
});
|
|
2719
|
-
}
|
|
2720
|
-
}, "de_DeleteEvaluationResultsCommandError");
|
|
2721
2532
|
var de_DeleteOrganizationConfigRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2722
2533
|
if (output.statusCode >= 300) {
|
|
2723
|
-
return
|
|
2534
|
+
return de_CommandError(output, context);
|
|
2724
2535
|
}
|
|
2725
2536
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2726
2537
|
const response = {
|
|
@@ -2728,34 +2539,9 @@ var de_DeleteOrganizationConfigRuleCommand = /* @__PURE__ */ __name(async (outpu
|
|
|
2728
2539
|
};
|
|
2729
2540
|
return response;
|
|
2730
2541
|
}, "de_DeleteOrganizationConfigRuleCommand");
|
|
2731
|
-
var de_DeleteOrganizationConfigRuleCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2732
|
-
const parsedOutput = {
|
|
2733
|
-
...output,
|
|
2734
|
-
body: await parseErrorBody(output.body, context)
|
|
2735
|
-
};
|
|
2736
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2737
|
-
switch (errorCode) {
|
|
2738
|
-
case "NoSuchOrganizationConfigRuleException":
|
|
2739
|
-
case "com.amazonaws.configservice#NoSuchOrganizationConfigRuleException":
|
|
2740
|
-
throw await de_NoSuchOrganizationConfigRuleExceptionRes(parsedOutput, context);
|
|
2741
|
-
case "OrganizationAccessDeniedException":
|
|
2742
|
-
case "com.amazonaws.configservice#OrganizationAccessDeniedException":
|
|
2743
|
-
throw await de_OrganizationAccessDeniedExceptionRes(parsedOutput, context);
|
|
2744
|
-
case "ResourceInUseException":
|
|
2745
|
-
case "com.amazonaws.configservice#ResourceInUseException":
|
|
2746
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
2747
|
-
default:
|
|
2748
|
-
const parsedBody = parsedOutput.body;
|
|
2749
|
-
return throwDefaultError({
|
|
2750
|
-
output,
|
|
2751
|
-
parsedBody,
|
|
2752
|
-
errorCode
|
|
2753
|
-
});
|
|
2754
|
-
}
|
|
2755
|
-
}, "de_DeleteOrganizationConfigRuleCommandError");
|
|
2756
2542
|
var de_DeleteOrganizationConformancePackCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2757
2543
|
if (output.statusCode >= 300) {
|
|
2758
|
-
return
|
|
2544
|
+
return de_CommandError(output, context);
|
|
2759
2545
|
}
|
|
2760
2546
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2761
2547
|
const response = {
|
|
@@ -2763,34 +2549,9 @@ var de_DeleteOrganizationConformancePackCommand = /* @__PURE__ */ __name(async (
|
|
|
2763
2549
|
};
|
|
2764
2550
|
return response;
|
|
2765
2551
|
}, "de_DeleteOrganizationConformancePackCommand");
|
|
2766
|
-
var de_DeleteOrganizationConformancePackCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2767
|
-
const parsedOutput = {
|
|
2768
|
-
...output,
|
|
2769
|
-
body: await parseErrorBody(output.body, context)
|
|
2770
|
-
};
|
|
2771
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2772
|
-
switch (errorCode) {
|
|
2773
|
-
case "NoSuchOrganizationConformancePackException":
|
|
2774
|
-
case "com.amazonaws.configservice#NoSuchOrganizationConformancePackException":
|
|
2775
|
-
throw await de_NoSuchOrganizationConformancePackExceptionRes(parsedOutput, context);
|
|
2776
|
-
case "OrganizationAccessDeniedException":
|
|
2777
|
-
case "com.amazonaws.configservice#OrganizationAccessDeniedException":
|
|
2778
|
-
throw await de_OrganizationAccessDeniedExceptionRes(parsedOutput, context);
|
|
2779
|
-
case "ResourceInUseException":
|
|
2780
|
-
case "com.amazonaws.configservice#ResourceInUseException":
|
|
2781
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
2782
|
-
default:
|
|
2783
|
-
const parsedBody = parsedOutput.body;
|
|
2784
|
-
return throwDefaultError({
|
|
2785
|
-
output,
|
|
2786
|
-
parsedBody,
|
|
2787
|
-
errorCode
|
|
2788
|
-
});
|
|
2789
|
-
}
|
|
2790
|
-
}, "de_DeleteOrganizationConformancePackCommandError");
|
|
2791
2552
|
var de_DeletePendingAggregationRequestCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2792
2553
|
if (output.statusCode >= 300) {
|
|
2793
|
-
return
|
|
2554
|
+
return de_CommandError(output, context);
|
|
2794
2555
|
}
|
|
2795
2556
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2796
2557
|
const response = {
|
|
@@ -2798,28 +2559,9 @@ var de_DeletePendingAggregationRequestCommand = /* @__PURE__ */ __name(async (ou
|
|
|
2798
2559
|
};
|
|
2799
2560
|
return response;
|
|
2800
2561
|
}, "de_DeletePendingAggregationRequestCommand");
|
|
2801
|
-
var de_DeletePendingAggregationRequestCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2802
|
-
const parsedOutput = {
|
|
2803
|
-
...output,
|
|
2804
|
-
body: await parseErrorBody(output.body, context)
|
|
2805
|
-
};
|
|
2806
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2807
|
-
switch (errorCode) {
|
|
2808
|
-
case "InvalidParameterValueException":
|
|
2809
|
-
case "com.amazonaws.configservice#InvalidParameterValueException":
|
|
2810
|
-
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
2811
|
-
default:
|
|
2812
|
-
const parsedBody = parsedOutput.body;
|
|
2813
|
-
return throwDefaultError({
|
|
2814
|
-
output,
|
|
2815
|
-
parsedBody,
|
|
2816
|
-
errorCode
|
|
2817
|
-
});
|
|
2818
|
-
}
|
|
2819
|
-
}, "de_DeletePendingAggregationRequestCommandError");
|
|
2820
2562
|
var de_DeleteRemediationConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2821
2563
|
if (output.statusCode >= 300) {
|
|
2822
|
-
return
|
|
2564
|
+
return de_CommandError(output, context);
|
|
2823
2565
|
}
|
|
2824
2566
|
const data = await parseBody(output.body, context);
|
|
2825
2567
|
let contents = {};
|
|
@@ -2830,69 +2572,22 @@ var de_DeleteRemediationConfigurationCommand = /* @__PURE__ */ __name(async (out
|
|
|
2830
2572
|
};
|
|
2831
2573
|
return response;
|
|
2832
2574
|
}, "de_DeleteRemediationConfigurationCommand");
|
|
2833
|
-
var
|
|
2834
|
-
|
|
2835
|
-
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
|
|
2839
|
-
|
|
2840
|
-
|
|
2841
|
-
|
|
2842
|
-
|
|
2843
|
-
case "InvalidParameterValueException":
|
|
2844
|
-
case "com.amazonaws.configservice#InvalidParameterValueException":
|
|
2845
|
-
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
2846
|
-
case "NoSuchRemediationConfigurationException":
|
|
2847
|
-
case "com.amazonaws.configservice#NoSuchRemediationConfigurationException":
|
|
2848
|
-
throw await de_NoSuchRemediationConfigurationExceptionRes(parsedOutput, context);
|
|
2849
|
-
case "RemediationInProgressException":
|
|
2850
|
-
case "com.amazonaws.configservice#RemediationInProgressException":
|
|
2851
|
-
throw await de_RemediationInProgressExceptionRes(parsedOutput, context);
|
|
2852
|
-
default:
|
|
2853
|
-
const parsedBody = parsedOutput.body;
|
|
2854
|
-
return throwDefaultError({
|
|
2855
|
-
output,
|
|
2856
|
-
parsedBody,
|
|
2857
|
-
errorCode
|
|
2858
|
-
});
|
|
2859
|
-
}
|
|
2860
|
-
}, "de_DeleteRemediationConfigurationCommandError");
|
|
2861
|
-
var de_DeleteRemediationExceptionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2862
|
-
if (output.statusCode >= 300) {
|
|
2863
|
-
return de_DeleteRemediationExceptionsCommandError(output, context);
|
|
2864
|
-
}
|
|
2865
|
-
const data = await parseBody(output.body, context);
|
|
2866
|
-
let contents = {};
|
|
2867
|
-
contents = (0, import_smithy_client._json)(data);
|
|
2868
|
-
const response = {
|
|
2869
|
-
$metadata: deserializeMetadata(output),
|
|
2870
|
-
...contents
|
|
2575
|
+
var de_DeleteRemediationExceptionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2576
|
+
if (output.statusCode >= 300) {
|
|
2577
|
+
return de_CommandError(output, context);
|
|
2578
|
+
}
|
|
2579
|
+
const data = await parseBody(output.body, context);
|
|
2580
|
+
let contents = {};
|
|
2581
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2582
|
+
const response = {
|
|
2583
|
+
$metadata: deserializeMetadata(output),
|
|
2584
|
+
...contents
|
|
2871
2585
|
};
|
|
2872
2586
|
return response;
|
|
2873
2587
|
}, "de_DeleteRemediationExceptionsCommand");
|
|
2874
|
-
var de_DeleteRemediationExceptionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2875
|
-
const parsedOutput = {
|
|
2876
|
-
...output,
|
|
2877
|
-
body: await parseErrorBody(output.body, context)
|
|
2878
|
-
};
|
|
2879
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2880
|
-
switch (errorCode) {
|
|
2881
|
-
case "NoSuchRemediationExceptionException":
|
|
2882
|
-
case "com.amazonaws.configservice#NoSuchRemediationExceptionException":
|
|
2883
|
-
throw await de_NoSuchRemediationExceptionExceptionRes(parsedOutput, context);
|
|
2884
|
-
default:
|
|
2885
|
-
const parsedBody = parsedOutput.body;
|
|
2886
|
-
return throwDefaultError({
|
|
2887
|
-
output,
|
|
2888
|
-
parsedBody,
|
|
2889
|
-
errorCode
|
|
2890
|
-
});
|
|
2891
|
-
}
|
|
2892
|
-
}, "de_DeleteRemediationExceptionsCommandError");
|
|
2893
2588
|
var de_DeleteResourceConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2894
2589
|
if (output.statusCode >= 300) {
|
|
2895
|
-
return
|
|
2590
|
+
return de_CommandError(output, context);
|
|
2896
2591
|
}
|
|
2897
2592
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2898
2593
|
const response = {
|
|
@@ -2900,31 +2595,9 @@ var de_DeleteResourceConfigCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
2900
2595
|
};
|
|
2901
2596
|
return response;
|
|
2902
2597
|
}, "de_DeleteResourceConfigCommand");
|
|
2903
|
-
var de_DeleteResourceConfigCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2904
|
-
const parsedOutput = {
|
|
2905
|
-
...output,
|
|
2906
|
-
body: await parseErrorBody(output.body, context)
|
|
2907
|
-
};
|
|
2908
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2909
|
-
switch (errorCode) {
|
|
2910
|
-
case "NoRunningConfigurationRecorderException":
|
|
2911
|
-
case "com.amazonaws.configservice#NoRunningConfigurationRecorderException":
|
|
2912
|
-
throw await de_NoRunningConfigurationRecorderExceptionRes(parsedOutput, context);
|
|
2913
|
-
case "ValidationException":
|
|
2914
|
-
case "com.amazonaws.configservice#ValidationException":
|
|
2915
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2916
|
-
default:
|
|
2917
|
-
const parsedBody = parsedOutput.body;
|
|
2918
|
-
return throwDefaultError({
|
|
2919
|
-
output,
|
|
2920
|
-
parsedBody,
|
|
2921
|
-
errorCode
|
|
2922
|
-
});
|
|
2923
|
-
}
|
|
2924
|
-
}, "de_DeleteResourceConfigCommandError");
|
|
2925
2598
|
var de_DeleteRetentionConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2926
2599
|
if (output.statusCode >= 300) {
|
|
2927
|
-
return
|
|
2600
|
+
return de_CommandError(output, context);
|
|
2928
2601
|
}
|
|
2929
2602
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2930
2603
|
const response = {
|
|
@@ -2932,31 +2605,9 @@ var de_DeleteRetentionConfigurationCommand = /* @__PURE__ */ __name(async (outpu
|
|
|
2932
2605
|
};
|
|
2933
2606
|
return response;
|
|
2934
2607
|
}, "de_DeleteRetentionConfigurationCommand");
|
|
2935
|
-
var de_DeleteRetentionConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2936
|
-
const parsedOutput = {
|
|
2937
|
-
...output,
|
|
2938
|
-
body: await parseErrorBody(output.body, context)
|
|
2939
|
-
};
|
|
2940
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2941
|
-
switch (errorCode) {
|
|
2942
|
-
case "InvalidParameterValueException":
|
|
2943
|
-
case "com.amazonaws.configservice#InvalidParameterValueException":
|
|
2944
|
-
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
2945
|
-
case "NoSuchRetentionConfigurationException":
|
|
2946
|
-
case "com.amazonaws.configservice#NoSuchRetentionConfigurationException":
|
|
2947
|
-
throw await de_NoSuchRetentionConfigurationExceptionRes(parsedOutput, context);
|
|
2948
|
-
default:
|
|
2949
|
-
const parsedBody = parsedOutput.body;
|
|
2950
|
-
return throwDefaultError({
|
|
2951
|
-
output,
|
|
2952
|
-
parsedBody,
|
|
2953
|
-
errorCode
|
|
2954
|
-
});
|
|
2955
|
-
}
|
|
2956
|
-
}, "de_DeleteRetentionConfigurationCommandError");
|
|
2957
2608
|
var de_DeleteStoredQueryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2958
2609
|
if (output.statusCode >= 300) {
|
|
2959
|
-
return
|
|
2610
|
+
return de_CommandError(output, context);
|
|
2960
2611
|
}
|
|
2961
2612
|
const data = await parseBody(output.body, context);
|
|
2962
2613
|
let contents = {};
|
|
@@ -2967,31 +2618,9 @@ var de_DeleteStoredQueryCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2967
2618
|
};
|
|
2968
2619
|
return response;
|
|
2969
2620
|
}, "de_DeleteStoredQueryCommand");
|
|
2970
|
-
var de_DeleteStoredQueryCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2971
|
-
const parsedOutput = {
|
|
2972
|
-
...output,
|
|
2973
|
-
body: await parseErrorBody(output.body, context)
|
|
2974
|
-
};
|
|
2975
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2976
|
-
switch (errorCode) {
|
|
2977
|
-
case "ResourceNotFoundException":
|
|
2978
|
-
case "com.amazonaws.configservice#ResourceNotFoundException":
|
|
2979
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2980
|
-
case "ValidationException":
|
|
2981
|
-
case "com.amazonaws.configservice#ValidationException":
|
|
2982
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2983
|
-
default:
|
|
2984
|
-
const parsedBody = parsedOutput.body;
|
|
2985
|
-
return throwDefaultError({
|
|
2986
|
-
output,
|
|
2987
|
-
parsedBody,
|
|
2988
|
-
errorCode
|
|
2989
|
-
});
|
|
2990
|
-
}
|
|
2991
|
-
}, "de_DeleteStoredQueryCommandError");
|
|
2992
2621
|
var de_DeliverConfigSnapshotCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2993
2622
|
if (output.statusCode >= 300) {
|
|
2994
|
-
return
|
|
2623
|
+
return de_CommandError(output, context);
|
|
2995
2624
|
}
|
|
2996
2625
|
const data = await parseBody(output.body, context);
|
|
2997
2626
|
let contents = {};
|
|
@@ -3002,34 +2631,9 @@ var de_DeliverConfigSnapshotCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
3002
2631
|
};
|
|
3003
2632
|
return response;
|
|
3004
2633
|
}, "de_DeliverConfigSnapshotCommand");
|
|
3005
|
-
var de_DeliverConfigSnapshotCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3006
|
-
const parsedOutput = {
|
|
3007
|
-
...output,
|
|
3008
|
-
body: await parseErrorBody(output.body, context)
|
|
3009
|
-
};
|
|
3010
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3011
|
-
switch (errorCode) {
|
|
3012
|
-
case "NoAvailableConfigurationRecorderException":
|
|
3013
|
-
case "com.amazonaws.configservice#NoAvailableConfigurationRecorderException":
|
|
3014
|
-
throw await de_NoAvailableConfigurationRecorderExceptionRes(parsedOutput, context);
|
|
3015
|
-
case "NoRunningConfigurationRecorderException":
|
|
3016
|
-
case "com.amazonaws.configservice#NoRunningConfigurationRecorderException":
|
|
3017
|
-
throw await de_NoRunningConfigurationRecorderExceptionRes(parsedOutput, context);
|
|
3018
|
-
case "NoSuchDeliveryChannelException":
|
|
3019
|
-
case "com.amazonaws.configservice#NoSuchDeliveryChannelException":
|
|
3020
|
-
throw await de_NoSuchDeliveryChannelExceptionRes(parsedOutput, context);
|
|
3021
|
-
default:
|
|
3022
|
-
const parsedBody = parsedOutput.body;
|
|
3023
|
-
return throwDefaultError({
|
|
3024
|
-
output,
|
|
3025
|
-
parsedBody,
|
|
3026
|
-
errorCode
|
|
3027
|
-
});
|
|
3028
|
-
}
|
|
3029
|
-
}, "de_DeliverConfigSnapshotCommandError");
|
|
3030
2634
|
var de_DescribeAggregateComplianceByConfigRulesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3031
2635
|
if (output.statusCode >= 300) {
|
|
3032
|
-
return
|
|
2636
|
+
return de_CommandError(output, context);
|
|
3033
2637
|
}
|
|
3034
2638
|
const data = await parseBody(output.body, context);
|
|
3035
2639
|
let contents = {};
|
|
@@ -3040,37 +2644,9 @@ var de_DescribeAggregateComplianceByConfigRulesCommand = /* @__PURE__ */ __name(
|
|
|
3040
2644
|
};
|
|
3041
2645
|
return response;
|
|
3042
2646
|
}, "de_DescribeAggregateComplianceByConfigRulesCommand");
|
|
3043
|
-
var de_DescribeAggregateComplianceByConfigRulesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3044
|
-
const parsedOutput = {
|
|
3045
|
-
...output,
|
|
3046
|
-
body: await parseErrorBody(output.body, context)
|
|
3047
|
-
};
|
|
3048
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3049
|
-
switch (errorCode) {
|
|
3050
|
-
case "InvalidLimitException":
|
|
3051
|
-
case "com.amazonaws.configservice#InvalidLimitException":
|
|
3052
|
-
throw await de_InvalidLimitExceptionRes(parsedOutput, context);
|
|
3053
|
-
case "InvalidNextTokenException":
|
|
3054
|
-
case "com.amazonaws.configservice#InvalidNextTokenException":
|
|
3055
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
3056
|
-
case "NoSuchConfigurationAggregatorException":
|
|
3057
|
-
case "com.amazonaws.configservice#NoSuchConfigurationAggregatorException":
|
|
3058
|
-
throw await de_NoSuchConfigurationAggregatorExceptionRes(parsedOutput, context);
|
|
3059
|
-
case "ValidationException":
|
|
3060
|
-
case "com.amazonaws.configservice#ValidationException":
|
|
3061
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3062
|
-
default:
|
|
3063
|
-
const parsedBody = parsedOutput.body;
|
|
3064
|
-
return throwDefaultError({
|
|
3065
|
-
output,
|
|
3066
|
-
parsedBody,
|
|
3067
|
-
errorCode
|
|
3068
|
-
});
|
|
3069
|
-
}
|
|
3070
|
-
}, "de_DescribeAggregateComplianceByConfigRulesCommandError");
|
|
3071
2647
|
var de_DescribeAggregateComplianceByConformancePacksCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3072
2648
|
if (output.statusCode >= 300) {
|
|
3073
|
-
return
|
|
2649
|
+
return de_CommandError(output, context);
|
|
3074
2650
|
}
|
|
3075
2651
|
const data = await parseBody(output.body, context);
|
|
3076
2652
|
let contents = {};
|
|
@@ -3081,37 +2657,9 @@ var de_DescribeAggregateComplianceByConformancePacksCommand = /* @__PURE__ */ __
|
|
|
3081
2657
|
};
|
|
3082
2658
|
return response;
|
|
3083
2659
|
}, "de_DescribeAggregateComplianceByConformancePacksCommand");
|
|
3084
|
-
var de_DescribeAggregateComplianceByConformancePacksCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3085
|
-
const parsedOutput = {
|
|
3086
|
-
...output,
|
|
3087
|
-
body: await parseErrorBody(output.body, context)
|
|
3088
|
-
};
|
|
3089
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3090
|
-
switch (errorCode) {
|
|
3091
|
-
case "InvalidLimitException":
|
|
3092
|
-
case "com.amazonaws.configservice#InvalidLimitException":
|
|
3093
|
-
throw await de_InvalidLimitExceptionRes(parsedOutput, context);
|
|
3094
|
-
case "InvalidNextTokenException":
|
|
3095
|
-
case "com.amazonaws.configservice#InvalidNextTokenException":
|
|
3096
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
3097
|
-
case "NoSuchConfigurationAggregatorException":
|
|
3098
|
-
case "com.amazonaws.configservice#NoSuchConfigurationAggregatorException":
|
|
3099
|
-
throw await de_NoSuchConfigurationAggregatorExceptionRes(parsedOutput, context);
|
|
3100
|
-
case "ValidationException":
|
|
3101
|
-
case "com.amazonaws.configservice#ValidationException":
|
|
3102
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3103
|
-
default:
|
|
3104
|
-
const parsedBody = parsedOutput.body;
|
|
3105
|
-
return throwDefaultError({
|
|
3106
|
-
output,
|
|
3107
|
-
parsedBody,
|
|
3108
|
-
errorCode
|
|
3109
|
-
});
|
|
3110
|
-
}
|
|
3111
|
-
}, "de_DescribeAggregateComplianceByConformancePacksCommandError");
|
|
3112
2660
|
var de_DescribeAggregationAuthorizationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3113
2661
|
if (output.statusCode >= 300) {
|
|
3114
|
-
return
|
|
2662
|
+
return de_CommandError(output, context);
|
|
3115
2663
|
}
|
|
3116
2664
|
const data = await parseBody(output.body, context);
|
|
3117
2665
|
let contents = {};
|
|
@@ -3122,34 +2670,9 @@ var de_DescribeAggregationAuthorizationsCommand = /* @__PURE__ */ __name(async (
|
|
|
3122
2670
|
};
|
|
3123
2671
|
return response;
|
|
3124
2672
|
}, "de_DescribeAggregationAuthorizationsCommand");
|
|
3125
|
-
var de_DescribeAggregationAuthorizationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3126
|
-
const parsedOutput = {
|
|
3127
|
-
...output,
|
|
3128
|
-
body: await parseErrorBody(output.body, context)
|
|
3129
|
-
};
|
|
3130
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3131
|
-
switch (errorCode) {
|
|
3132
|
-
case "InvalidLimitException":
|
|
3133
|
-
case "com.amazonaws.configservice#InvalidLimitException":
|
|
3134
|
-
throw await de_InvalidLimitExceptionRes(parsedOutput, context);
|
|
3135
|
-
case "InvalidNextTokenException":
|
|
3136
|
-
case "com.amazonaws.configservice#InvalidNextTokenException":
|
|
3137
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
3138
|
-
case "InvalidParameterValueException":
|
|
3139
|
-
case "com.amazonaws.configservice#InvalidParameterValueException":
|
|
3140
|
-
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
3141
|
-
default:
|
|
3142
|
-
const parsedBody = parsedOutput.body;
|
|
3143
|
-
return throwDefaultError({
|
|
3144
|
-
output,
|
|
3145
|
-
parsedBody,
|
|
3146
|
-
errorCode
|
|
3147
|
-
});
|
|
3148
|
-
}
|
|
3149
|
-
}, "de_DescribeAggregationAuthorizationsCommandError");
|
|
3150
2673
|
var de_DescribeComplianceByConfigRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3151
2674
|
if (output.statusCode >= 300) {
|
|
3152
|
-
return
|
|
2675
|
+
return de_CommandError(output, context);
|
|
3153
2676
|
}
|
|
3154
2677
|
const data = await parseBody(output.body, context);
|
|
3155
2678
|
let contents = {};
|
|
@@ -3160,34 +2683,9 @@ var de_DescribeComplianceByConfigRuleCommand = /* @__PURE__ */ __name(async (out
|
|
|
3160
2683
|
};
|
|
3161
2684
|
return response;
|
|
3162
2685
|
}, "de_DescribeComplianceByConfigRuleCommand");
|
|
3163
|
-
var de_DescribeComplianceByConfigRuleCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3164
|
-
const parsedOutput = {
|
|
3165
|
-
...output,
|
|
3166
|
-
body: await parseErrorBody(output.body, context)
|
|
3167
|
-
};
|
|
3168
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3169
|
-
switch (errorCode) {
|
|
3170
|
-
case "InvalidNextTokenException":
|
|
3171
|
-
case "com.amazonaws.configservice#InvalidNextTokenException":
|
|
3172
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
3173
|
-
case "InvalidParameterValueException":
|
|
3174
|
-
case "com.amazonaws.configservice#InvalidParameterValueException":
|
|
3175
|
-
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
3176
|
-
case "NoSuchConfigRuleException":
|
|
3177
|
-
case "com.amazonaws.configservice#NoSuchConfigRuleException":
|
|
3178
|
-
throw await de_NoSuchConfigRuleExceptionRes(parsedOutput, context);
|
|
3179
|
-
default:
|
|
3180
|
-
const parsedBody = parsedOutput.body;
|
|
3181
|
-
return throwDefaultError({
|
|
3182
|
-
output,
|
|
3183
|
-
parsedBody,
|
|
3184
|
-
errorCode
|
|
3185
|
-
});
|
|
3186
|
-
}
|
|
3187
|
-
}, "de_DescribeComplianceByConfigRuleCommandError");
|
|
3188
2686
|
var de_DescribeComplianceByResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3189
2687
|
if (output.statusCode >= 300) {
|
|
3190
|
-
return
|
|
2688
|
+
return de_CommandError(output, context);
|
|
3191
2689
|
}
|
|
3192
2690
|
const data = await parseBody(output.body, context);
|
|
3193
2691
|
let contents = {};
|
|
@@ -3198,31 +2696,9 @@ var de_DescribeComplianceByResourceCommand = /* @__PURE__ */ __name(async (outpu
|
|
|
3198
2696
|
};
|
|
3199
2697
|
return response;
|
|
3200
2698
|
}, "de_DescribeComplianceByResourceCommand");
|
|
3201
|
-
var de_DescribeComplianceByResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3202
|
-
const parsedOutput = {
|
|
3203
|
-
...output,
|
|
3204
|
-
body: await parseErrorBody(output.body, context)
|
|
3205
|
-
};
|
|
3206
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3207
|
-
switch (errorCode) {
|
|
3208
|
-
case "InvalidNextTokenException":
|
|
3209
|
-
case "com.amazonaws.configservice#InvalidNextTokenException":
|
|
3210
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
3211
|
-
case "InvalidParameterValueException":
|
|
3212
|
-
case "com.amazonaws.configservice#InvalidParameterValueException":
|
|
3213
|
-
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
3214
|
-
default:
|
|
3215
|
-
const parsedBody = parsedOutput.body;
|
|
3216
|
-
return throwDefaultError({
|
|
3217
|
-
output,
|
|
3218
|
-
parsedBody,
|
|
3219
|
-
errorCode
|
|
3220
|
-
});
|
|
3221
|
-
}
|
|
3222
|
-
}, "de_DescribeComplianceByResourceCommandError");
|
|
3223
2699
|
var de_DescribeConfigRuleEvaluationStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3224
2700
|
if (output.statusCode >= 300) {
|
|
3225
|
-
return
|
|
2701
|
+
return de_CommandError(output, context);
|
|
3226
2702
|
}
|
|
3227
2703
|
const data = await parseBody(output.body, context);
|
|
3228
2704
|
let contents = {};
|
|
@@ -3233,72 +2709,22 @@ var de_DescribeConfigRuleEvaluationStatusCommand = /* @__PURE__ */ __name(async
|
|
|
3233
2709
|
};
|
|
3234
2710
|
return response;
|
|
3235
2711
|
}, "de_DescribeConfigRuleEvaluationStatusCommand");
|
|
3236
|
-
var
|
|
3237
|
-
|
|
3238
|
-
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
case "InvalidParameterValueException":
|
|
3247
|
-
case "com.amazonaws.configservice#InvalidParameterValueException":
|
|
3248
|
-
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
3249
|
-
case "NoSuchConfigRuleException":
|
|
3250
|
-
case "com.amazonaws.configservice#NoSuchConfigRuleException":
|
|
3251
|
-
throw await de_NoSuchConfigRuleExceptionRes(parsedOutput, context);
|
|
3252
|
-
default:
|
|
3253
|
-
const parsedBody = parsedOutput.body;
|
|
3254
|
-
return throwDefaultError({
|
|
3255
|
-
output,
|
|
3256
|
-
parsedBody,
|
|
3257
|
-
errorCode
|
|
3258
|
-
});
|
|
3259
|
-
}
|
|
3260
|
-
}, "de_DescribeConfigRuleEvaluationStatusCommandError");
|
|
3261
|
-
var de_DescribeConfigRulesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3262
|
-
if (output.statusCode >= 300) {
|
|
3263
|
-
return de_DescribeConfigRulesCommandError(output, context);
|
|
3264
|
-
}
|
|
3265
|
-
const data = await parseBody(output.body, context);
|
|
3266
|
-
let contents = {};
|
|
3267
|
-
contents = (0, import_smithy_client._json)(data);
|
|
3268
|
-
const response = {
|
|
3269
|
-
$metadata: deserializeMetadata(output),
|
|
3270
|
-
...contents
|
|
2712
|
+
var de_DescribeConfigRulesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2713
|
+
if (output.statusCode >= 300) {
|
|
2714
|
+
return de_CommandError(output, context);
|
|
2715
|
+
}
|
|
2716
|
+
const data = await parseBody(output.body, context);
|
|
2717
|
+
let contents = {};
|
|
2718
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2719
|
+
const response = {
|
|
2720
|
+
$metadata: deserializeMetadata(output),
|
|
2721
|
+
...contents
|
|
3271
2722
|
};
|
|
3272
2723
|
return response;
|
|
3273
2724
|
}, "de_DescribeConfigRulesCommand");
|
|
3274
|
-
var de_DescribeConfigRulesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3275
|
-
const parsedOutput = {
|
|
3276
|
-
...output,
|
|
3277
|
-
body: await parseErrorBody(output.body, context)
|
|
3278
|
-
};
|
|
3279
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3280
|
-
switch (errorCode) {
|
|
3281
|
-
case "InvalidNextTokenException":
|
|
3282
|
-
case "com.amazonaws.configservice#InvalidNextTokenException":
|
|
3283
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
3284
|
-
case "InvalidParameterValueException":
|
|
3285
|
-
case "com.amazonaws.configservice#InvalidParameterValueException":
|
|
3286
|
-
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
3287
|
-
case "NoSuchConfigRuleException":
|
|
3288
|
-
case "com.amazonaws.configservice#NoSuchConfigRuleException":
|
|
3289
|
-
throw await de_NoSuchConfigRuleExceptionRes(parsedOutput, context);
|
|
3290
|
-
default:
|
|
3291
|
-
const parsedBody = parsedOutput.body;
|
|
3292
|
-
return throwDefaultError({
|
|
3293
|
-
output,
|
|
3294
|
-
parsedBody,
|
|
3295
|
-
errorCode
|
|
3296
|
-
});
|
|
3297
|
-
}
|
|
3298
|
-
}, "de_DescribeConfigRulesCommandError");
|
|
3299
2725
|
var de_DescribeConfigurationAggregatorsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3300
2726
|
if (output.statusCode >= 300) {
|
|
3301
|
-
return
|
|
2727
|
+
return de_CommandError(output, context);
|
|
3302
2728
|
}
|
|
3303
2729
|
const data = await parseBody(output.body, context);
|
|
3304
2730
|
let contents = {};
|
|
@@ -3309,37 +2735,9 @@ var de_DescribeConfigurationAggregatorsCommand = /* @__PURE__ */ __name(async (o
|
|
|
3309
2735
|
};
|
|
3310
2736
|
return response;
|
|
3311
2737
|
}, "de_DescribeConfigurationAggregatorsCommand");
|
|
3312
|
-
var de_DescribeConfigurationAggregatorsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3313
|
-
const parsedOutput = {
|
|
3314
|
-
...output,
|
|
3315
|
-
body: await parseErrorBody(output.body, context)
|
|
3316
|
-
};
|
|
3317
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3318
|
-
switch (errorCode) {
|
|
3319
|
-
case "InvalidLimitException":
|
|
3320
|
-
case "com.amazonaws.configservice#InvalidLimitException":
|
|
3321
|
-
throw await de_InvalidLimitExceptionRes(parsedOutput, context);
|
|
3322
|
-
case "InvalidNextTokenException":
|
|
3323
|
-
case "com.amazonaws.configservice#InvalidNextTokenException":
|
|
3324
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
3325
|
-
case "InvalidParameterValueException":
|
|
3326
|
-
case "com.amazonaws.configservice#InvalidParameterValueException":
|
|
3327
|
-
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
3328
|
-
case "NoSuchConfigurationAggregatorException":
|
|
3329
|
-
case "com.amazonaws.configservice#NoSuchConfigurationAggregatorException":
|
|
3330
|
-
throw await de_NoSuchConfigurationAggregatorExceptionRes(parsedOutput, context);
|
|
3331
|
-
default:
|
|
3332
|
-
const parsedBody = parsedOutput.body;
|
|
3333
|
-
return throwDefaultError({
|
|
3334
|
-
output,
|
|
3335
|
-
parsedBody,
|
|
3336
|
-
errorCode
|
|
3337
|
-
});
|
|
3338
|
-
}
|
|
3339
|
-
}, "de_DescribeConfigurationAggregatorsCommandError");
|
|
3340
2738
|
var de_DescribeConfigurationAggregatorSourcesStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3341
2739
|
if (output.statusCode >= 300) {
|
|
3342
|
-
return
|
|
2740
|
+
return de_CommandError(output, context);
|
|
3343
2741
|
}
|
|
3344
2742
|
const data = await parseBody(output.body, context);
|
|
3345
2743
|
let contents = {};
|
|
@@ -3350,37 +2748,9 @@ var de_DescribeConfigurationAggregatorSourcesStatusCommand = /* @__PURE__ */ __n
|
|
|
3350
2748
|
};
|
|
3351
2749
|
return response;
|
|
3352
2750
|
}, "de_DescribeConfigurationAggregatorSourcesStatusCommand");
|
|
3353
|
-
var de_DescribeConfigurationAggregatorSourcesStatusCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3354
|
-
const parsedOutput = {
|
|
3355
|
-
...output,
|
|
3356
|
-
body: await parseErrorBody(output.body, context)
|
|
3357
|
-
};
|
|
3358
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3359
|
-
switch (errorCode) {
|
|
3360
|
-
case "InvalidLimitException":
|
|
3361
|
-
case "com.amazonaws.configservice#InvalidLimitException":
|
|
3362
|
-
throw await de_InvalidLimitExceptionRes(parsedOutput, context);
|
|
3363
|
-
case "InvalidNextTokenException":
|
|
3364
|
-
case "com.amazonaws.configservice#InvalidNextTokenException":
|
|
3365
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
3366
|
-
case "InvalidParameterValueException":
|
|
3367
|
-
case "com.amazonaws.configservice#InvalidParameterValueException":
|
|
3368
|
-
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
3369
|
-
case "NoSuchConfigurationAggregatorException":
|
|
3370
|
-
case "com.amazonaws.configservice#NoSuchConfigurationAggregatorException":
|
|
3371
|
-
throw await de_NoSuchConfigurationAggregatorExceptionRes(parsedOutput, context);
|
|
3372
|
-
default:
|
|
3373
|
-
const parsedBody = parsedOutput.body;
|
|
3374
|
-
return throwDefaultError({
|
|
3375
|
-
output,
|
|
3376
|
-
parsedBody,
|
|
3377
|
-
errorCode
|
|
3378
|
-
});
|
|
3379
|
-
}
|
|
3380
|
-
}, "de_DescribeConfigurationAggregatorSourcesStatusCommandError");
|
|
3381
2751
|
var de_DescribeConfigurationRecordersCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3382
2752
|
if (output.statusCode >= 300) {
|
|
3383
|
-
return
|
|
2753
|
+
return de_CommandError(output, context);
|
|
3384
2754
|
}
|
|
3385
2755
|
const data = await parseBody(output.body, context);
|
|
3386
2756
|
let contents = {};
|
|
@@ -3391,28 +2761,9 @@ var de_DescribeConfigurationRecordersCommand = /* @__PURE__ */ __name(async (out
|
|
|
3391
2761
|
};
|
|
3392
2762
|
return response;
|
|
3393
2763
|
}, "de_DescribeConfigurationRecordersCommand");
|
|
3394
|
-
var de_DescribeConfigurationRecordersCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3395
|
-
const parsedOutput = {
|
|
3396
|
-
...output,
|
|
3397
|
-
body: await parseErrorBody(output.body, context)
|
|
3398
|
-
};
|
|
3399
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3400
|
-
switch (errorCode) {
|
|
3401
|
-
case "NoSuchConfigurationRecorderException":
|
|
3402
|
-
case "com.amazonaws.configservice#NoSuchConfigurationRecorderException":
|
|
3403
|
-
throw await de_NoSuchConfigurationRecorderExceptionRes(parsedOutput, context);
|
|
3404
|
-
default:
|
|
3405
|
-
const parsedBody = parsedOutput.body;
|
|
3406
|
-
return throwDefaultError({
|
|
3407
|
-
output,
|
|
3408
|
-
parsedBody,
|
|
3409
|
-
errorCode
|
|
3410
|
-
});
|
|
3411
|
-
}
|
|
3412
|
-
}, "de_DescribeConfigurationRecordersCommandError");
|
|
3413
2764
|
var de_DescribeConfigurationRecorderStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3414
2765
|
if (output.statusCode >= 300) {
|
|
3415
|
-
return
|
|
2766
|
+
return de_CommandError(output, context);
|
|
3416
2767
|
}
|
|
3417
2768
|
const data = await parseBody(output.body, context);
|
|
3418
2769
|
let contents = {};
|
|
@@ -3423,28 +2774,9 @@ var de_DescribeConfigurationRecorderStatusCommand = /* @__PURE__ */ __name(async
|
|
|
3423
2774
|
};
|
|
3424
2775
|
return response;
|
|
3425
2776
|
}, "de_DescribeConfigurationRecorderStatusCommand");
|
|
3426
|
-
var de_DescribeConfigurationRecorderStatusCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3427
|
-
const parsedOutput = {
|
|
3428
|
-
...output,
|
|
3429
|
-
body: await parseErrorBody(output.body, context)
|
|
3430
|
-
};
|
|
3431
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3432
|
-
switch (errorCode) {
|
|
3433
|
-
case "NoSuchConfigurationRecorderException":
|
|
3434
|
-
case "com.amazonaws.configservice#NoSuchConfigurationRecorderException":
|
|
3435
|
-
throw await de_NoSuchConfigurationRecorderExceptionRes(parsedOutput, context);
|
|
3436
|
-
default:
|
|
3437
|
-
const parsedBody = parsedOutput.body;
|
|
3438
|
-
return throwDefaultError({
|
|
3439
|
-
output,
|
|
3440
|
-
parsedBody,
|
|
3441
|
-
errorCode
|
|
3442
|
-
});
|
|
3443
|
-
}
|
|
3444
|
-
}, "de_DescribeConfigurationRecorderStatusCommandError");
|
|
3445
2777
|
var de_DescribeConformancePackComplianceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3446
2778
|
if (output.statusCode >= 300) {
|
|
3447
|
-
return
|
|
2779
|
+
return de_CommandError(output, context);
|
|
3448
2780
|
}
|
|
3449
2781
|
const data = await parseBody(output.body, context);
|
|
3450
2782
|
let contents = {};
|
|
@@ -3455,40 +2787,9 @@ var de_DescribeConformancePackComplianceCommand = /* @__PURE__ */ __name(async (
|
|
|
3455
2787
|
};
|
|
3456
2788
|
return response;
|
|
3457
2789
|
}, "de_DescribeConformancePackComplianceCommand");
|
|
3458
|
-
var de_DescribeConformancePackComplianceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3459
|
-
const parsedOutput = {
|
|
3460
|
-
...output,
|
|
3461
|
-
body: await parseErrorBody(output.body, context)
|
|
3462
|
-
};
|
|
3463
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3464
|
-
switch (errorCode) {
|
|
3465
|
-
case "InvalidLimitException":
|
|
3466
|
-
case "com.amazonaws.configservice#InvalidLimitException":
|
|
3467
|
-
throw await de_InvalidLimitExceptionRes(parsedOutput, context);
|
|
3468
|
-
case "InvalidNextTokenException":
|
|
3469
|
-
case "com.amazonaws.configservice#InvalidNextTokenException":
|
|
3470
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
3471
|
-
case "InvalidParameterValueException":
|
|
3472
|
-
case "com.amazonaws.configservice#InvalidParameterValueException":
|
|
3473
|
-
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
3474
|
-
case "NoSuchConfigRuleInConformancePackException":
|
|
3475
|
-
case "com.amazonaws.configservice#NoSuchConfigRuleInConformancePackException":
|
|
3476
|
-
throw await de_NoSuchConfigRuleInConformancePackExceptionRes(parsedOutput, context);
|
|
3477
|
-
case "NoSuchConformancePackException":
|
|
3478
|
-
case "com.amazonaws.configservice#NoSuchConformancePackException":
|
|
3479
|
-
throw await de_NoSuchConformancePackExceptionRes(parsedOutput, context);
|
|
3480
|
-
default:
|
|
3481
|
-
const parsedBody = parsedOutput.body;
|
|
3482
|
-
return throwDefaultError({
|
|
3483
|
-
output,
|
|
3484
|
-
parsedBody,
|
|
3485
|
-
errorCode
|
|
3486
|
-
});
|
|
3487
|
-
}
|
|
3488
|
-
}, "de_DescribeConformancePackComplianceCommandError");
|
|
3489
2790
|
var de_DescribeConformancePacksCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3490
2791
|
if (output.statusCode >= 300) {
|
|
3491
|
-
return
|
|
2792
|
+
return de_CommandError(output, context);
|
|
3492
2793
|
}
|
|
3493
2794
|
const data = await parseBody(output.body, context);
|
|
3494
2795
|
let contents = {};
|
|
@@ -3499,37 +2800,9 @@ var de_DescribeConformancePacksCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
3499
2800
|
};
|
|
3500
2801
|
return response;
|
|
3501
2802
|
}, "de_DescribeConformancePacksCommand");
|
|
3502
|
-
var de_DescribeConformancePacksCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3503
|
-
const parsedOutput = {
|
|
3504
|
-
...output,
|
|
3505
|
-
body: await parseErrorBody(output.body, context)
|
|
3506
|
-
};
|
|
3507
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3508
|
-
switch (errorCode) {
|
|
3509
|
-
case "InvalidLimitException":
|
|
3510
|
-
case "com.amazonaws.configservice#InvalidLimitException":
|
|
3511
|
-
throw await de_InvalidLimitExceptionRes(parsedOutput, context);
|
|
3512
|
-
case "InvalidNextTokenException":
|
|
3513
|
-
case "com.amazonaws.configservice#InvalidNextTokenException":
|
|
3514
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
3515
|
-
case "InvalidParameterValueException":
|
|
3516
|
-
case "com.amazonaws.configservice#InvalidParameterValueException":
|
|
3517
|
-
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
3518
|
-
case "NoSuchConformancePackException":
|
|
3519
|
-
case "com.amazonaws.configservice#NoSuchConformancePackException":
|
|
3520
|
-
throw await de_NoSuchConformancePackExceptionRes(parsedOutput, context);
|
|
3521
|
-
default:
|
|
3522
|
-
const parsedBody = parsedOutput.body;
|
|
3523
|
-
return throwDefaultError({
|
|
3524
|
-
output,
|
|
3525
|
-
parsedBody,
|
|
3526
|
-
errorCode
|
|
3527
|
-
});
|
|
3528
|
-
}
|
|
3529
|
-
}, "de_DescribeConformancePacksCommandError");
|
|
3530
2803
|
var de_DescribeConformancePackStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3531
2804
|
if (output.statusCode >= 300) {
|
|
3532
|
-
return
|
|
2805
|
+
return de_CommandError(output, context);
|
|
3533
2806
|
}
|
|
3534
2807
|
const data = await parseBody(output.body, context);
|
|
3535
2808
|
let contents = {};
|
|
@@ -3540,34 +2813,9 @@ var de_DescribeConformancePackStatusCommand = /* @__PURE__ */ __name(async (outp
|
|
|
3540
2813
|
};
|
|
3541
2814
|
return response;
|
|
3542
2815
|
}, "de_DescribeConformancePackStatusCommand");
|
|
3543
|
-
var de_DescribeConformancePackStatusCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3544
|
-
const parsedOutput = {
|
|
3545
|
-
...output,
|
|
3546
|
-
body: await parseErrorBody(output.body, context)
|
|
3547
|
-
};
|
|
3548
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3549
|
-
switch (errorCode) {
|
|
3550
|
-
case "InvalidLimitException":
|
|
3551
|
-
case "com.amazonaws.configservice#InvalidLimitException":
|
|
3552
|
-
throw await de_InvalidLimitExceptionRes(parsedOutput, context);
|
|
3553
|
-
case "InvalidNextTokenException":
|
|
3554
|
-
case "com.amazonaws.configservice#InvalidNextTokenException":
|
|
3555
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
3556
|
-
case "InvalidParameterValueException":
|
|
3557
|
-
case "com.amazonaws.configservice#InvalidParameterValueException":
|
|
3558
|
-
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
3559
|
-
default:
|
|
3560
|
-
const parsedBody = parsedOutput.body;
|
|
3561
|
-
return throwDefaultError({
|
|
3562
|
-
output,
|
|
3563
|
-
parsedBody,
|
|
3564
|
-
errorCode
|
|
3565
|
-
});
|
|
3566
|
-
}
|
|
3567
|
-
}, "de_DescribeConformancePackStatusCommandError");
|
|
3568
2816
|
var de_DescribeDeliveryChannelsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3569
2817
|
if (output.statusCode >= 300) {
|
|
3570
|
-
return
|
|
2818
|
+
return de_CommandError(output, context);
|
|
3571
2819
|
}
|
|
3572
2820
|
const data = await parseBody(output.body, context);
|
|
3573
2821
|
let contents = {};
|
|
@@ -3578,28 +2826,9 @@ var de_DescribeDeliveryChannelsCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
3578
2826
|
};
|
|
3579
2827
|
return response;
|
|
3580
2828
|
}, "de_DescribeDeliveryChannelsCommand");
|
|
3581
|
-
var de_DescribeDeliveryChannelsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3582
|
-
const parsedOutput = {
|
|
3583
|
-
...output,
|
|
3584
|
-
body: await parseErrorBody(output.body, context)
|
|
3585
|
-
};
|
|
3586
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3587
|
-
switch (errorCode) {
|
|
3588
|
-
case "NoSuchDeliveryChannelException":
|
|
3589
|
-
case "com.amazonaws.configservice#NoSuchDeliveryChannelException":
|
|
3590
|
-
throw await de_NoSuchDeliveryChannelExceptionRes(parsedOutput, context);
|
|
3591
|
-
default:
|
|
3592
|
-
const parsedBody = parsedOutput.body;
|
|
3593
|
-
return throwDefaultError({
|
|
3594
|
-
output,
|
|
3595
|
-
parsedBody,
|
|
3596
|
-
errorCode
|
|
3597
|
-
});
|
|
3598
|
-
}
|
|
3599
|
-
}, "de_DescribeDeliveryChannelsCommandError");
|
|
3600
2829
|
var de_DescribeDeliveryChannelStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3601
2830
|
if (output.statusCode >= 300) {
|
|
3602
|
-
return
|
|
2831
|
+
return de_CommandError(output, context);
|
|
3603
2832
|
}
|
|
3604
2833
|
const data = await parseBody(output.body, context);
|
|
3605
2834
|
let contents = {};
|
|
@@ -3610,28 +2839,9 @@ var de_DescribeDeliveryChannelStatusCommand = /* @__PURE__ */ __name(async (outp
|
|
|
3610
2839
|
};
|
|
3611
2840
|
return response;
|
|
3612
2841
|
}, "de_DescribeDeliveryChannelStatusCommand");
|
|
3613
|
-
var de_DescribeDeliveryChannelStatusCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3614
|
-
const parsedOutput = {
|
|
3615
|
-
...output,
|
|
3616
|
-
body: await parseErrorBody(output.body, context)
|
|
3617
|
-
};
|
|
3618
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3619
|
-
switch (errorCode) {
|
|
3620
|
-
case "NoSuchDeliveryChannelException":
|
|
3621
|
-
case "com.amazonaws.configservice#NoSuchDeliveryChannelException":
|
|
3622
|
-
throw await de_NoSuchDeliveryChannelExceptionRes(parsedOutput, context);
|
|
3623
|
-
default:
|
|
3624
|
-
const parsedBody = parsedOutput.body;
|
|
3625
|
-
return throwDefaultError({
|
|
3626
|
-
output,
|
|
3627
|
-
parsedBody,
|
|
3628
|
-
errorCode
|
|
3629
|
-
});
|
|
3630
|
-
}
|
|
3631
|
-
}, "de_DescribeDeliveryChannelStatusCommandError");
|
|
3632
2842
|
var de_DescribeOrganizationConfigRulesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3633
2843
|
if (output.statusCode >= 300) {
|
|
3634
|
-
return
|
|
2844
|
+
return de_CommandError(output, context);
|
|
3635
2845
|
}
|
|
3636
2846
|
const data = await parseBody(output.body, context);
|
|
3637
2847
|
let contents = {};
|
|
@@ -3642,37 +2852,9 @@ var de_DescribeOrganizationConfigRulesCommand = /* @__PURE__ */ __name(async (ou
|
|
|
3642
2852
|
};
|
|
3643
2853
|
return response;
|
|
3644
2854
|
}, "de_DescribeOrganizationConfigRulesCommand");
|
|
3645
|
-
var de_DescribeOrganizationConfigRulesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3646
|
-
const parsedOutput = {
|
|
3647
|
-
...output,
|
|
3648
|
-
body: await parseErrorBody(output.body, context)
|
|
3649
|
-
};
|
|
3650
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3651
|
-
switch (errorCode) {
|
|
3652
|
-
case "InvalidLimitException":
|
|
3653
|
-
case "com.amazonaws.configservice#InvalidLimitException":
|
|
3654
|
-
throw await de_InvalidLimitExceptionRes(parsedOutput, context);
|
|
3655
|
-
case "InvalidNextTokenException":
|
|
3656
|
-
case "com.amazonaws.configservice#InvalidNextTokenException":
|
|
3657
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
3658
|
-
case "NoSuchOrganizationConfigRuleException":
|
|
3659
|
-
case "com.amazonaws.configservice#NoSuchOrganizationConfigRuleException":
|
|
3660
|
-
throw await de_NoSuchOrganizationConfigRuleExceptionRes(parsedOutput, context);
|
|
3661
|
-
case "OrganizationAccessDeniedException":
|
|
3662
|
-
case "com.amazonaws.configservice#OrganizationAccessDeniedException":
|
|
3663
|
-
throw await de_OrganizationAccessDeniedExceptionRes(parsedOutput, context);
|
|
3664
|
-
default:
|
|
3665
|
-
const parsedBody = parsedOutput.body;
|
|
3666
|
-
return throwDefaultError({
|
|
3667
|
-
output,
|
|
3668
|
-
parsedBody,
|
|
3669
|
-
errorCode
|
|
3670
|
-
});
|
|
3671
|
-
}
|
|
3672
|
-
}, "de_DescribeOrganizationConfigRulesCommandError");
|
|
3673
2855
|
var de_DescribeOrganizationConfigRuleStatusesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3674
2856
|
if (output.statusCode >= 300) {
|
|
3675
|
-
return
|
|
2857
|
+
return de_CommandError(output, context);
|
|
3676
2858
|
}
|
|
3677
2859
|
const data = await parseBody(output.body, context);
|
|
3678
2860
|
let contents = {};
|
|
@@ -3683,37 +2865,9 @@ var de_DescribeOrganizationConfigRuleStatusesCommand = /* @__PURE__ */ __name(as
|
|
|
3683
2865
|
};
|
|
3684
2866
|
return response;
|
|
3685
2867
|
}, "de_DescribeOrganizationConfigRuleStatusesCommand");
|
|
3686
|
-
var de_DescribeOrganizationConfigRuleStatusesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3687
|
-
const parsedOutput = {
|
|
3688
|
-
...output,
|
|
3689
|
-
body: await parseErrorBody(output.body, context)
|
|
3690
|
-
};
|
|
3691
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3692
|
-
switch (errorCode) {
|
|
3693
|
-
case "InvalidLimitException":
|
|
3694
|
-
case "com.amazonaws.configservice#InvalidLimitException":
|
|
3695
|
-
throw await de_InvalidLimitExceptionRes(parsedOutput, context);
|
|
3696
|
-
case "InvalidNextTokenException":
|
|
3697
|
-
case "com.amazonaws.configservice#InvalidNextTokenException":
|
|
3698
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
3699
|
-
case "NoSuchOrganizationConfigRuleException":
|
|
3700
|
-
case "com.amazonaws.configservice#NoSuchOrganizationConfigRuleException":
|
|
3701
|
-
throw await de_NoSuchOrganizationConfigRuleExceptionRes(parsedOutput, context);
|
|
3702
|
-
case "OrganizationAccessDeniedException":
|
|
3703
|
-
case "com.amazonaws.configservice#OrganizationAccessDeniedException":
|
|
3704
|
-
throw await de_OrganizationAccessDeniedExceptionRes(parsedOutput, context);
|
|
3705
|
-
default:
|
|
3706
|
-
const parsedBody = parsedOutput.body;
|
|
3707
|
-
return throwDefaultError({
|
|
3708
|
-
output,
|
|
3709
|
-
parsedBody,
|
|
3710
|
-
errorCode
|
|
3711
|
-
});
|
|
3712
|
-
}
|
|
3713
|
-
}, "de_DescribeOrganizationConfigRuleStatusesCommandError");
|
|
3714
2868
|
var de_DescribeOrganizationConformancePacksCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3715
2869
|
if (output.statusCode >= 300) {
|
|
3716
|
-
return
|
|
2870
|
+
return de_CommandError(output, context);
|
|
3717
2871
|
}
|
|
3718
2872
|
const data = await parseBody(output.body, context);
|
|
3719
2873
|
let contents = {};
|
|
@@ -3724,37 +2878,9 @@ var de_DescribeOrganizationConformancePacksCommand = /* @__PURE__ */ __name(asyn
|
|
|
3724
2878
|
};
|
|
3725
2879
|
return response;
|
|
3726
2880
|
}, "de_DescribeOrganizationConformancePacksCommand");
|
|
3727
|
-
var de_DescribeOrganizationConformancePacksCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3728
|
-
const parsedOutput = {
|
|
3729
|
-
...output,
|
|
3730
|
-
body: await parseErrorBody(output.body, context)
|
|
3731
|
-
};
|
|
3732
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3733
|
-
switch (errorCode) {
|
|
3734
|
-
case "InvalidLimitException":
|
|
3735
|
-
case "com.amazonaws.configservice#InvalidLimitException":
|
|
3736
|
-
throw await de_InvalidLimitExceptionRes(parsedOutput, context);
|
|
3737
|
-
case "InvalidNextTokenException":
|
|
3738
|
-
case "com.amazonaws.configservice#InvalidNextTokenException":
|
|
3739
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
3740
|
-
case "NoSuchOrganizationConformancePackException":
|
|
3741
|
-
case "com.amazonaws.configservice#NoSuchOrganizationConformancePackException":
|
|
3742
|
-
throw await de_NoSuchOrganizationConformancePackExceptionRes(parsedOutput, context);
|
|
3743
|
-
case "OrganizationAccessDeniedException":
|
|
3744
|
-
case "com.amazonaws.configservice#OrganizationAccessDeniedException":
|
|
3745
|
-
throw await de_OrganizationAccessDeniedExceptionRes(parsedOutput, context);
|
|
3746
|
-
default:
|
|
3747
|
-
const parsedBody = parsedOutput.body;
|
|
3748
|
-
return throwDefaultError({
|
|
3749
|
-
output,
|
|
3750
|
-
parsedBody,
|
|
3751
|
-
errorCode
|
|
3752
|
-
});
|
|
3753
|
-
}
|
|
3754
|
-
}, "de_DescribeOrganizationConformancePacksCommandError");
|
|
3755
2881
|
var de_DescribeOrganizationConformancePackStatusesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3756
2882
|
if (output.statusCode >= 300) {
|
|
3757
|
-
return
|
|
2883
|
+
return de_CommandError(output, context);
|
|
3758
2884
|
}
|
|
3759
2885
|
const data = await parseBody(output.body, context);
|
|
3760
2886
|
let contents = {};
|
|
@@ -3765,37 +2891,9 @@ var de_DescribeOrganizationConformancePackStatusesCommand = /* @__PURE__ */ __na
|
|
|
3765
2891
|
};
|
|
3766
2892
|
return response;
|
|
3767
2893
|
}, "de_DescribeOrganizationConformancePackStatusesCommand");
|
|
3768
|
-
var de_DescribeOrganizationConformancePackStatusesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3769
|
-
const parsedOutput = {
|
|
3770
|
-
...output,
|
|
3771
|
-
body: await parseErrorBody(output.body, context)
|
|
3772
|
-
};
|
|
3773
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3774
|
-
switch (errorCode) {
|
|
3775
|
-
case "InvalidLimitException":
|
|
3776
|
-
case "com.amazonaws.configservice#InvalidLimitException":
|
|
3777
|
-
throw await de_InvalidLimitExceptionRes(parsedOutput, context);
|
|
3778
|
-
case "InvalidNextTokenException":
|
|
3779
|
-
case "com.amazonaws.configservice#InvalidNextTokenException":
|
|
3780
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
3781
|
-
case "NoSuchOrganizationConformancePackException":
|
|
3782
|
-
case "com.amazonaws.configservice#NoSuchOrganizationConformancePackException":
|
|
3783
|
-
throw await de_NoSuchOrganizationConformancePackExceptionRes(parsedOutput, context);
|
|
3784
|
-
case "OrganizationAccessDeniedException":
|
|
3785
|
-
case "com.amazonaws.configservice#OrganizationAccessDeniedException":
|
|
3786
|
-
throw await de_OrganizationAccessDeniedExceptionRes(parsedOutput, context);
|
|
3787
|
-
default:
|
|
3788
|
-
const parsedBody = parsedOutput.body;
|
|
3789
|
-
return throwDefaultError({
|
|
3790
|
-
output,
|
|
3791
|
-
parsedBody,
|
|
3792
|
-
errorCode
|
|
3793
|
-
});
|
|
3794
|
-
}
|
|
3795
|
-
}, "de_DescribeOrganizationConformancePackStatusesCommandError");
|
|
3796
2894
|
var de_DescribePendingAggregationRequestsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3797
2895
|
if (output.statusCode >= 300) {
|
|
3798
|
-
return
|
|
2896
|
+
return de_CommandError(output, context);
|
|
3799
2897
|
}
|
|
3800
2898
|
const data = await parseBody(output.body, context);
|
|
3801
2899
|
let contents = {};
|
|
@@ -3806,34 +2904,9 @@ var de_DescribePendingAggregationRequestsCommand = /* @__PURE__ */ __name(async
|
|
|
3806
2904
|
};
|
|
3807
2905
|
return response;
|
|
3808
2906
|
}, "de_DescribePendingAggregationRequestsCommand");
|
|
3809
|
-
var de_DescribePendingAggregationRequestsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3810
|
-
const parsedOutput = {
|
|
3811
|
-
...output,
|
|
3812
|
-
body: await parseErrorBody(output.body, context)
|
|
3813
|
-
};
|
|
3814
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3815
|
-
switch (errorCode) {
|
|
3816
|
-
case "InvalidLimitException":
|
|
3817
|
-
case "com.amazonaws.configservice#InvalidLimitException":
|
|
3818
|
-
throw await de_InvalidLimitExceptionRes(parsedOutput, context);
|
|
3819
|
-
case "InvalidNextTokenException":
|
|
3820
|
-
case "com.amazonaws.configservice#InvalidNextTokenException":
|
|
3821
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
3822
|
-
case "InvalidParameterValueException":
|
|
3823
|
-
case "com.amazonaws.configservice#InvalidParameterValueException":
|
|
3824
|
-
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
3825
|
-
default:
|
|
3826
|
-
const parsedBody = parsedOutput.body;
|
|
3827
|
-
return throwDefaultError({
|
|
3828
|
-
output,
|
|
3829
|
-
parsedBody,
|
|
3830
|
-
errorCode
|
|
3831
|
-
});
|
|
3832
|
-
}
|
|
3833
|
-
}, "de_DescribePendingAggregationRequestsCommandError");
|
|
3834
2907
|
var de_DescribeRemediationConfigurationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3835
2908
|
if (output.statusCode >= 300) {
|
|
3836
|
-
return
|
|
2909
|
+
return de_CommandError(output, context);
|
|
3837
2910
|
}
|
|
3838
2911
|
const data = await parseBody(output.body, context);
|
|
3839
2912
|
let contents = {};
|
|
@@ -3844,22 +2917,9 @@ var de_DescribeRemediationConfigurationsCommand = /* @__PURE__ */ __name(async (
|
|
|
3844
2917
|
};
|
|
3845
2918
|
return response;
|
|
3846
2919
|
}, "de_DescribeRemediationConfigurationsCommand");
|
|
3847
|
-
var de_DescribeRemediationConfigurationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3848
|
-
const parsedOutput = {
|
|
3849
|
-
...output,
|
|
3850
|
-
body: await parseErrorBody(output.body, context)
|
|
3851
|
-
};
|
|
3852
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3853
|
-
const parsedBody = parsedOutput.body;
|
|
3854
|
-
return throwDefaultError({
|
|
3855
|
-
output,
|
|
3856
|
-
parsedBody,
|
|
3857
|
-
errorCode
|
|
3858
|
-
});
|
|
3859
|
-
}, "de_DescribeRemediationConfigurationsCommandError");
|
|
3860
2920
|
var de_DescribeRemediationExceptionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3861
2921
|
if (output.statusCode >= 300) {
|
|
3862
|
-
return
|
|
2922
|
+
return de_CommandError(output, context);
|
|
3863
2923
|
}
|
|
3864
2924
|
const data = await parseBody(output.body, context);
|
|
3865
2925
|
let contents = {};
|
|
@@ -3870,31 +2930,9 @@ var de_DescribeRemediationExceptionsCommand = /* @__PURE__ */ __name(async (outp
|
|
|
3870
2930
|
};
|
|
3871
2931
|
return response;
|
|
3872
2932
|
}, "de_DescribeRemediationExceptionsCommand");
|
|
3873
|
-
var de_DescribeRemediationExceptionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3874
|
-
const parsedOutput = {
|
|
3875
|
-
...output,
|
|
3876
|
-
body: await parseErrorBody(output.body, context)
|
|
3877
|
-
};
|
|
3878
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3879
|
-
switch (errorCode) {
|
|
3880
|
-
case "InvalidNextTokenException":
|
|
3881
|
-
case "com.amazonaws.configservice#InvalidNextTokenException":
|
|
3882
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
3883
|
-
case "InvalidParameterValueException":
|
|
3884
|
-
case "com.amazonaws.configservice#InvalidParameterValueException":
|
|
3885
|
-
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
3886
|
-
default:
|
|
3887
|
-
const parsedBody = parsedOutput.body;
|
|
3888
|
-
return throwDefaultError({
|
|
3889
|
-
output,
|
|
3890
|
-
parsedBody,
|
|
3891
|
-
errorCode
|
|
3892
|
-
});
|
|
3893
|
-
}
|
|
3894
|
-
}, "de_DescribeRemediationExceptionsCommandError");
|
|
3895
2933
|
var de_DescribeRemediationExecutionStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3896
2934
|
if (output.statusCode >= 300) {
|
|
3897
|
-
return
|
|
2935
|
+
return de_CommandError(output, context);
|
|
3898
2936
|
}
|
|
3899
2937
|
const data = await parseBody(output.body, context);
|
|
3900
2938
|
let contents = {};
|
|
@@ -3905,34 +2943,9 @@ var de_DescribeRemediationExecutionStatusCommand = /* @__PURE__ */ __name(async
|
|
|
3905
2943
|
};
|
|
3906
2944
|
return response;
|
|
3907
2945
|
}, "de_DescribeRemediationExecutionStatusCommand");
|
|
3908
|
-
var de_DescribeRemediationExecutionStatusCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3909
|
-
const parsedOutput = {
|
|
3910
|
-
...output,
|
|
3911
|
-
body: await parseErrorBody(output.body, context)
|
|
3912
|
-
};
|
|
3913
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3914
|
-
switch (errorCode) {
|
|
3915
|
-
case "InvalidNextTokenException":
|
|
3916
|
-
case "com.amazonaws.configservice#InvalidNextTokenException":
|
|
3917
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
3918
|
-
case "InvalidParameterValueException":
|
|
3919
|
-
case "com.amazonaws.configservice#InvalidParameterValueException":
|
|
3920
|
-
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
3921
|
-
case "NoSuchRemediationConfigurationException":
|
|
3922
|
-
case "com.amazonaws.configservice#NoSuchRemediationConfigurationException":
|
|
3923
|
-
throw await de_NoSuchRemediationConfigurationExceptionRes(parsedOutput, context);
|
|
3924
|
-
default:
|
|
3925
|
-
const parsedBody = parsedOutput.body;
|
|
3926
|
-
return throwDefaultError({
|
|
3927
|
-
output,
|
|
3928
|
-
parsedBody,
|
|
3929
|
-
errorCode
|
|
3930
|
-
});
|
|
3931
|
-
}
|
|
3932
|
-
}, "de_DescribeRemediationExecutionStatusCommandError");
|
|
3933
2946
|
var de_DescribeRetentionConfigurationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3934
2947
|
if (output.statusCode >= 300) {
|
|
3935
|
-
return
|
|
2948
|
+
return de_CommandError(output, context);
|
|
3936
2949
|
}
|
|
3937
2950
|
const data = await parseBody(output.body, context);
|
|
3938
2951
|
let contents = {};
|
|
@@ -3943,34 +2956,9 @@ var de_DescribeRetentionConfigurationsCommand = /* @__PURE__ */ __name(async (ou
|
|
|
3943
2956
|
};
|
|
3944
2957
|
return response;
|
|
3945
2958
|
}, "de_DescribeRetentionConfigurationsCommand");
|
|
3946
|
-
var de_DescribeRetentionConfigurationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3947
|
-
const parsedOutput = {
|
|
3948
|
-
...output,
|
|
3949
|
-
body: await parseErrorBody(output.body, context)
|
|
3950
|
-
};
|
|
3951
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3952
|
-
switch (errorCode) {
|
|
3953
|
-
case "InvalidNextTokenException":
|
|
3954
|
-
case "com.amazonaws.configservice#InvalidNextTokenException":
|
|
3955
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
3956
|
-
case "InvalidParameterValueException":
|
|
3957
|
-
case "com.amazonaws.configservice#InvalidParameterValueException":
|
|
3958
|
-
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
3959
|
-
case "NoSuchRetentionConfigurationException":
|
|
3960
|
-
case "com.amazonaws.configservice#NoSuchRetentionConfigurationException":
|
|
3961
|
-
throw await de_NoSuchRetentionConfigurationExceptionRes(parsedOutput, context);
|
|
3962
|
-
default:
|
|
3963
|
-
const parsedBody = parsedOutput.body;
|
|
3964
|
-
return throwDefaultError({
|
|
3965
|
-
output,
|
|
3966
|
-
parsedBody,
|
|
3967
|
-
errorCode
|
|
3968
|
-
});
|
|
3969
|
-
}
|
|
3970
|
-
}, "de_DescribeRetentionConfigurationsCommandError");
|
|
3971
2959
|
var de_GetAggregateComplianceDetailsByConfigRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3972
2960
|
if (output.statusCode >= 300) {
|
|
3973
|
-
return
|
|
2961
|
+
return de_CommandError(output, context);
|
|
3974
2962
|
}
|
|
3975
2963
|
const data = await parseBody(output.body, context);
|
|
3976
2964
|
let contents = {};
|
|
@@ -3981,37 +2969,9 @@ var de_GetAggregateComplianceDetailsByConfigRuleCommand = /* @__PURE__ */ __name
|
|
|
3981
2969
|
};
|
|
3982
2970
|
return response;
|
|
3983
2971
|
}, "de_GetAggregateComplianceDetailsByConfigRuleCommand");
|
|
3984
|
-
var de_GetAggregateComplianceDetailsByConfigRuleCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3985
|
-
const parsedOutput = {
|
|
3986
|
-
...output,
|
|
3987
|
-
body: await parseErrorBody(output.body, context)
|
|
3988
|
-
};
|
|
3989
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3990
|
-
switch (errorCode) {
|
|
3991
|
-
case "InvalidLimitException":
|
|
3992
|
-
case "com.amazonaws.configservice#InvalidLimitException":
|
|
3993
|
-
throw await de_InvalidLimitExceptionRes(parsedOutput, context);
|
|
3994
|
-
case "InvalidNextTokenException":
|
|
3995
|
-
case "com.amazonaws.configservice#InvalidNextTokenException":
|
|
3996
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
3997
|
-
case "NoSuchConfigurationAggregatorException":
|
|
3998
|
-
case "com.amazonaws.configservice#NoSuchConfigurationAggregatorException":
|
|
3999
|
-
throw await de_NoSuchConfigurationAggregatorExceptionRes(parsedOutput, context);
|
|
4000
|
-
case "ValidationException":
|
|
4001
|
-
case "com.amazonaws.configservice#ValidationException":
|
|
4002
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4003
|
-
default:
|
|
4004
|
-
const parsedBody = parsedOutput.body;
|
|
4005
|
-
return throwDefaultError({
|
|
4006
|
-
output,
|
|
4007
|
-
parsedBody,
|
|
4008
|
-
errorCode
|
|
4009
|
-
});
|
|
4010
|
-
}
|
|
4011
|
-
}, "de_GetAggregateComplianceDetailsByConfigRuleCommandError");
|
|
4012
2972
|
var de_GetAggregateConfigRuleComplianceSummaryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4013
2973
|
if (output.statusCode >= 300) {
|
|
4014
|
-
return
|
|
2974
|
+
return de_CommandError(output, context);
|
|
4015
2975
|
}
|
|
4016
2976
|
const data = await parseBody(output.body, context);
|
|
4017
2977
|
let contents = {};
|
|
@@ -4022,37 +2982,9 @@ var de_GetAggregateConfigRuleComplianceSummaryCommand = /* @__PURE__ */ __name(a
|
|
|
4022
2982
|
};
|
|
4023
2983
|
return response;
|
|
4024
2984
|
}, "de_GetAggregateConfigRuleComplianceSummaryCommand");
|
|
4025
|
-
var de_GetAggregateConfigRuleComplianceSummaryCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4026
|
-
const parsedOutput = {
|
|
4027
|
-
...output,
|
|
4028
|
-
body: await parseErrorBody(output.body, context)
|
|
4029
|
-
};
|
|
4030
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4031
|
-
switch (errorCode) {
|
|
4032
|
-
case "InvalidLimitException":
|
|
4033
|
-
case "com.amazonaws.configservice#InvalidLimitException":
|
|
4034
|
-
throw await de_InvalidLimitExceptionRes(parsedOutput, context);
|
|
4035
|
-
case "InvalidNextTokenException":
|
|
4036
|
-
case "com.amazonaws.configservice#InvalidNextTokenException":
|
|
4037
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
4038
|
-
case "NoSuchConfigurationAggregatorException":
|
|
4039
|
-
case "com.amazonaws.configservice#NoSuchConfigurationAggregatorException":
|
|
4040
|
-
throw await de_NoSuchConfigurationAggregatorExceptionRes(parsedOutput, context);
|
|
4041
|
-
case "ValidationException":
|
|
4042
|
-
case "com.amazonaws.configservice#ValidationException":
|
|
4043
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4044
|
-
default:
|
|
4045
|
-
const parsedBody = parsedOutput.body;
|
|
4046
|
-
return throwDefaultError({
|
|
4047
|
-
output,
|
|
4048
|
-
parsedBody,
|
|
4049
|
-
errorCode
|
|
4050
|
-
});
|
|
4051
|
-
}
|
|
4052
|
-
}, "de_GetAggregateConfigRuleComplianceSummaryCommandError");
|
|
4053
2985
|
var de_GetAggregateConformancePackComplianceSummaryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4054
2986
|
if (output.statusCode >= 300) {
|
|
4055
|
-
return
|
|
2987
|
+
return de_CommandError(output, context);
|
|
4056
2988
|
}
|
|
4057
2989
|
const data = await parseBody(output.body, context);
|
|
4058
2990
|
let contents = {};
|
|
@@ -4063,78 +2995,22 @@ var de_GetAggregateConformancePackComplianceSummaryCommand = /* @__PURE__ */ __n
|
|
|
4063
2995
|
};
|
|
4064
2996
|
return response;
|
|
4065
2997
|
}, "de_GetAggregateConformancePackComplianceSummaryCommand");
|
|
4066
|
-
var
|
|
4067
|
-
|
|
4068
|
-
|
|
4069
|
-
|
|
4070
|
-
|
|
4071
|
-
|
|
4072
|
-
|
|
4073
|
-
|
|
4074
|
-
|
|
4075
|
-
|
|
4076
|
-
case "InvalidNextTokenException":
|
|
4077
|
-
case "com.amazonaws.configservice#InvalidNextTokenException":
|
|
4078
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
4079
|
-
case "NoSuchConfigurationAggregatorException":
|
|
4080
|
-
case "com.amazonaws.configservice#NoSuchConfigurationAggregatorException":
|
|
4081
|
-
throw await de_NoSuchConfigurationAggregatorExceptionRes(parsedOutput, context);
|
|
4082
|
-
case "ValidationException":
|
|
4083
|
-
case "com.amazonaws.configservice#ValidationException":
|
|
4084
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4085
|
-
default:
|
|
4086
|
-
const parsedBody = parsedOutput.body;
|
|
4087
|
-
return throwDefaultError({
|
|
4088
|
-
output,
|
|
4089
|
-
parsedBody,
|
|
4090
|
-
errorCode
|
|
4091
|
-
});
|
|
4092
|
-
}
|
|
4093
|
-
}, "de_GetAggregateConformancePackComplianceSummaryCommandError");
|
|
4094
|
-
var de_GetAggregateDiscoveredResourceCountsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4095
|
-
if (output.statusCode >= 300) {
|
|
4096
|
-
return de_GetAggregateDiscoveredResourceCountsCommandError(output, context);
|
|
4097
|
-
}
|
|
4098
|
-
const data = await parseBody(output.body, context);
|
|
4099
|
-
let contents = {};
|
|
4100
|
-
contents = (0, import_smithy_client._json)(data);
|
|
4101
|
-
const response = {
|
|
4102
|
-
$metadata: deserializeMetadata(output),
|
|
4103
|
-
...contents
|
|
2998
|
+
var de_GetAggregateDiscoveredResourceCountsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2999
|
+
if (output.statusCode >= 300) {
|
|
3000
|
+
return de_CommandError(output, context);
|
|
3001
|
+
}
|
|
3002
|
+
const data = await parseBody(output.body, context);
|
|
3003
|
+
let contents = {};
|
|
3004
|
+
contents = (0, import_smithy_client._json)(data);
|
|
3005
|
+
const response = {
|
|
3006
|
+
$metadata: deserializeMetadata(output),
|
|
3007
|
+
...contents
|
|
4104
3008
|
};
|
|
4105
3009
|
return response;
|
|
4106
3010
|
}, "de_GetAggregateDiscoveredResourceCountsCommand");
|
|
4107
|
-
var de_GetAggregateDiscoveredResourceCountsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4108
|
-
const parsedOutput = {
|
|
4109
|
-
...output,
|
|
4110
|
-
body: await parseErrorBody(output.body, context)
|
|
4111
|
-
};
|
|
4112
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4113
|
-
switch (errorCode) {
|
|
4114
|
-
case "InvalidLimitException":
|
|
4115
|
-
case "com.amazonaws.configservice#InvalidLimitException":
|
|
4116
|
-
throw await de_InvalidLimitExceptionRes(parsedOutput, context);
|
|
4117
|
-
case "InvalidNextTokenException":
|
|
4118
|
-
case "com.amazonaws.configservice#InvalidNextTokenException":
|
|
4119
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
4120
|
-
case "NoSuchConfigurationAggregatorException":
|
|
4121
|
-
case "com.amazonaws.configservice#NoSuchConfigurationAggregatorException":
|
|
4122
|
-
throw await de_NoSuchConfigurationAggregatorExceptionRes(parsedOutput, context);
|
|
4123
|
-
case "ValidationException":
|
|
4124
|
-
case "com.amazonaws.configservice#ValidationException":
|
|
4125
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4126
|
-
default:
|
|
4127
|
-
const parsedBody = parsedOutput.body;
|
|
4128
|
-
return throwDefaultError({
|
|
4129
|
-
output,
|
|
4130
|
-
parsedBody,
|
|
4131
|
-
errorCode
|
|
4132
|
-
});
|
|
4133
|
-
}
|
|
4134
|
-
}, "de_GetAggregateDiscoveredResourceCountsCommandError");
|
|
4135
3011
|
var de_GetAggregateResourceConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4136
3012
|
if (output.statusCode >= 300) {
|
|
4137
|
-
return
|
|
3013
|
+
return de_CommandError(output, context);
|
|
4138
3014
|
}
|
|
4139
3015
|
const data = await parseBody(output.body, context);
|
|
4140
3016
|
let contents = {};
|
|
@@ -4145,37 +3021,9 @@ var de_GetAggregateResourceConfigCommand = /* @__PURE__ */ __name(async (output,
|
|
|
4145
3021
|
};
|
|
4146
3022
|
return response;
|
|
4147
3023
|
}, "de_GetAggregateResourceConfigCommand");
|
|
4148
|
-
var de_GetAggregateResourceConfigCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4149
|
-
const parsedOutput = {
|
|
4150
|
-
...output,
|
|
4151
|
-
body: await parseErrorBody(output.body, context)
|
|
4152
|
-
};
|
|
4153
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4154
|
-
switch (errorCode) {
|
|
4155
|
-
case "NoSuchConfigurationAggregatorException":
|
|
4156
|
-
case "com.amazonaws.configservice#NoSuchConfigurationAggregatorException":
|
|
4157
|
-
throw await de_NoSuchConfigurationAggregatorExceptionRes(parsedOutput, context);
|
|
4158
|
-
case "OversizedConfigurationItemException":
|
|
4159
|
-
case "com.amazonaws.configservice#OversizedConfigurationItemException":
|
|
4160
|
-
throw await de_OversizedConfigurationItemExceptionRes(parsedOutput, context);
|
|
4161
|
-
case "ResourceNotDiscoveredException":
|
|
4162
|
-
case "com.amazonaws.configservice#ResourceNotDiscoveredException":
|
|
4163
|
-
throw await de_ResourceNotDiscoveredExceptionRes(parsedOutput, context);
|
|
4164
|
-
case "ValidationException":
|
|
4165
|
-
case "com.amazonaws.configservice#ValidationException":
|
|
4166
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4167
|
-
default:
|
|
4168
|
-
const parsedBody = parsedOutput.body;
|
|
4169
|
-
return throwDefaultError({
|
|
4170
|
-
output,
|
|
4171
|
-
parsedBody,
|
|
4172
|
-
errorCode
|
|
4173
|
-
});
|
|
4174
|
-
}
|
|
4175
|
-
}, "de_GetAggregateResourceConfigCommandError");
|
|
4176
3024
|
var de_GetComplianceDetailsByConfigRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4177
3025
|
if (output.statusCode >= 300) {
|
|
4178
|
-
return
|
|
3026
|
+
return de_CommandError(output, context);
|
|
4179
3027
|
}
|
|
4180
3028
|
const data = await parseBody(output.body, context);
|
|
4181
3029
|
let contents = {};
|
|
@@ -4186,34 +3034,9 @@ var de_GetComplianceDetailsByConfigRuleCommand = /* @__PURE__ */ __name(async (o
|
|
|
4186
3034
|
};
|
|
4187
3035
|
return response;
|
|
4188
3036
|
}, "de_GetComplianceDetailsByConfigRuleCommand");
|
|
4189
|
-
var de_GetComplianceDetailsByConfigRuleCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4190
|
-
const parsedOutput = {
|
|
4191
|
-
...output,
|
|
4192
|
-
body: await parseErrorBody(output.body, context)
|
|
4193
|
-
};
|
|
4194
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4195
|
-
switch (errorCode) {
|
|
4196
|
-
case "InvalidNextTokenException":
|
|
4197
|
-
case "com.amazonaws.configservice#InvalidNextTokenException":
|
|
4198
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
4199
|
-
case "InvalidParameterValueException":
|
|
4200
|
-
case "com.amazonaws.configservice#InvalidParameterValueException":
|
|
4201
|
-
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
4202
|
-
case "NoSuchConfigRuleException":
|
|
4203
|
-
case "com.amazonaws.configservice#NoSuchConfigRuleException":
|
|
4204
|
-
throw await de_NoSuchConfigRuleExceptionRes(parsedOutput, context);
|
|
4205
|
-
default:
|
|
4206
|
-
const parsedBody = parsedOutput.body;
|
|
4207
|
-
return throwDefaultError({
|
|
4208
|
-
output,
|
|
4209
|
-
parsedBody,
|
|
4210
|
-
errorCode
|
|
4211
|
-
});
|
|
4212
|
-
}
|
|
4213
|
-
}, "de_GetComplianceDetailsByConfigRuleCommandError");
|
|
4214
3037
|
var de_GetComplianceDetailsByResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4215
3038
|
if (output.statusCode >= 300) {
|
|
4216
|
-
return
|
|
3039
|
+
return de_CommandError(output, context);
|
|
4217
3040
|
}
|
|
4218
3041
|
const data = await parseBody(output.body, context);
|
|
4219
3042
|
let contents = {};
|
|
@@ -4224,28 +3047,9 @@ var de_GetComplianceDetailsByResourceCommand = /* @__PURE__ */ __name(async (out
|
|
|
4224
3047
|
};
|
|
4225
3048
|
return response;
|
|
4226
3049
|
}, "de_GetComplianceDetailsByResourceCommand");
|
|
4227
|
-
var de_GetComplianceDetailsByResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4228
|
-
const parsedOutput = {
|
|
4229
|
-
...output,
|
|
4230
|
-
body: await parseErrorBody(output.body, context)
|
|
4231
|
-
};
|
|
4232
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4233
|
-
switch (errorCode) {
|
|
4234
|
-
case "InvalidParameterValueException":
|
|
4235
|
-
case "com.amazonaws.configservice#InvalidParameterValueException":
|
|
4236
|
-
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
4237
|
-
default:
|
|
4238
|
-
const parsedBody = parsedOutput.body;
|
|
4239
|
-
return throwDefaultError({
|
|
4240
|
-
output,
|
|
4241
|
-
parsedBody,
|
|
4242
|
-
errorCode
|
|
4243
|
-
});
|
|
4244
|
-
}
|
|
4245
|
-
}, "de_GetComplianceDetailsByResourceCommandError");
|
|
4246
3050
|
var de_GetComplianceSummaryByConfigRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4247
3051
|
if (output.statusCode >= 300) {
|
|
4248
|
-
return
|
|
3052
|
+
return de_CommandError(output, context);
|
|
4249
3053
|
}
|
|
4250
3054
|
const data = await parseBody(output.body, context);
|
|
4251
3055
|
let contents = {};
|
|
@@ -4256,22 +3060,9 @@ var de_GetComplianceSummaryByConfigRuleCommand = /* @__PURE__ */ __name(async (o
|
|
|
4256
3060
|
};
|
|
4257
3061
|
return response;
|
|
4258
3062
|
}, "de_GetComplianceSummaryByConfigRuleCommand");
|
|
4259
|
-
var de_GetComplianceSummaryByConfigRuleCommandError = /* @__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
|
-
const parsedBody = parsedOutput.body;
|
|
4266
|
-
return throwDefaultError({
|
|
4267
|
-
output,
|
|
4268
|
-
parsedBody,
|
|
4269
|
-
errorCode
|
|
4270
|
-
});
|
|
4271
|
-
}, "de_GetComplianceSummaryByConfigRuleCommandError");
|
|
4272
3063
|
var de_GetComplianceSummaryByResourceTypeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4273
3064
|
if (output.statusCode >= 300) {
|
|
4274
|
-
return
|
|
3065
|
+
return de_CommandError(output, context);
|
|
4275
3066
|
}
|
|
4276
3067
|
const data = await parseBody(output.body, context);
|
|
4277
3068
|
let contents = {};
|
|
@@ -4282,28 +3073,9 @@ var de_GetComplianceSummaryByResourceTypeCommand = /* @__PURE__ */ __name(async
|
|
|
4282
3073
|
};
|
|
4283
3074
|
return response;
|
|
4284
3075
|
}, "de_GetComplianceSummaryByResourceTypeCommand");
|
|
4285
|
-
var de_GetComplianceSummaryByResourceTypeCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4286
|
-
const parsedOutput = {
|
|
4287
|
-
...output,
|
|
4288
|
-
body: await parseErrorBody(output.body, context)
|
|
4289
|
-
};
|
|
4290
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4291
|
-
switch (errorCode) {
|
|
4292
|
-
case "InvalidParameterValueException":
|
|
4293
|
-
case "com.amazonaws.configservice#InvalidParameterValueException":
|
|
4294
|
-
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
4295
|
-
default:
|
|
4296
|
-
const parsedBody = parsedOutput.body;
|
|
4297
|
-
return throwDefaultError({
|
|
4298
|
-
output,
|
|
4299
|
-
parsedBody,
|
|
4300
|
-
errorCode
|
|
4301
|
-
});
|
|
4302
|
-
}
|
|
4303
|
-
}, "de_GetComplianceSummaryByResourceTypeCommandError");
|
|
4304
3076
|
var de_GetConformancePackComplianceDetailsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4305
3077
|
if (output.statusCode >= 300) {
|
|
4306
|
-
return
|
|
3078
|
+
return de_CommandError(output, context);
|
|
4307
3079
|
}
|
|
4308
3080
|
const data = await parseBody(output.body, context);
|
|
4309
3081
|
let contents = {};
|
|
@@ -4314,40 +3086,9 @@ var de_GetConformancePackComplianceDetailsCommand = /* @__PURE__ */ __name(async
|
|
|
4314
3086
|
};
|
|
4315
3087
|
return response;
|
|
4316
3088
|
}, "de_GetConformancePackComplianceDetailsCommand");
|
|
4317
|
-
var de_GetConformancePackComplianceDetailsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4318
|
-
const parsedOutput = {
|
|
4319
|
-
...output,
|
|
4320
|
-
body: await parseErrorBody(output.body, context)
|
|
4321
|
-
};
|
|
4322
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4323
|
-
switch (errorCode) {
|
|
4324
|
-
case "InvalidLimitException":
|
|
4325
|
-
case "com.amazonaws.configservice#InvalidLimitException":
|
|
4326
|
-
throw await de_InvalidLimitExceptionRes(parsedOutput, context);
|
|
4327
|
-
case "InvalidNextTokenException":
|
|
4328
|
-
case "com.amazonaws.configservice#InvalidNextTokenException":
|
|
4329
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
4330
|
-
case "InvalidParameterValueException":
|
|
4331
|
-
case "com.amazonaws.configservice#InvalidParameterValueException":
|
|
4332
|
-
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
4333
|
-
case "NoSuchConfigRuleInConformancePackException":
|
|
4334
|
-
case "com.amazonaws.configservice#NoSuchConfigRuleInConformancePackException":
|
|
4335
|
-
throw await de_NoSuchConfigRuleInConformancePackExceptionRes(parsedOutput, context);
|
|
4336
|
-
case "NoSuchConformancePackException":
|
|
4337
|
-
case "com.amazonaws.configservice#NoSuchConformancePackException":
|
|
4338
|
-
throw await de_NoSuchConformancePackExceptionRes(parsedOutput, context);
|
|
4339
|
-
default:
|
|
4340
|
-
const parsedBody = parsedOutput.body;
|
|
4341
|
-
return throwDefaultError({
|
|
4342
|
-
output,
|
|
4343
|
-
parsedBody,
|
|
4344
|
-
errorCode
|
|
4345
|
-
});
|
|
4346
|
-
}
|
|
4347
|
-
}, "de_GetConformancePackComplianceDetailsCommandError");
|
|
4348
3089
|
var de_GetConformancePackComplianceSummaryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4349
3090
|
if (output.statusCode >= 300) {
|
|
4350
|
-
return
|
|
3091
|
+
return de_CommandError(output, context);
|
|
4351
3092
|
}
|
|
4352
3093
|
const data = await parseBody(output.body, context);
|
|
4353
3094
|
let contents = {};
|
|
@@ -4358,34 +3099,9 @@ var de_GetConformancePackComplianceSummaryCommand = /* @__PURE__ */ __name(async
|
|
|
4358
3099
|
};
|
|
4359
3100
|
return response;
|
|
4360
3101
|
}, "de_GetConformancePackComplianceSummaryCommand");
|
|
4361
|
-
var de_GetConformancePackComplianceSummaryCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4362
|
-
const parsedOutput = {
|
|
4363
|
-
...output,
|
|
4364
|
-
body: await parseErrorBody(output.body, context)
|
|
4365
|
-
};
|
|
4366
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4367
|
-
switch (errorCode) {
|
|
4368
|
-
case "InvalidLimitException":
|
|
4369
|
-
case "com.amazonaws.configservice#InvalidLimitException":
|
|
4370
|
-
throw await de_InvalidLimitExceptionRes(parsedOutput, context);
|
|
4371
|
-
case "InvalidNextTokenException":
|
|
4372
|
-
case "com.amazonaws.configservice#InvalidNextTokenException":
|
|
4373
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
4374
|
-
case "NoSuchConformancePackException":
|
|
4375
|
-
case "com.amazonaws.configservice#NoSuchConformancePackException":
|
|
4376
|
-
throw await de_NoSuchConformancePackExceptionRes(parsedOutput, context);
|
|
4377
|
-
default:
|
|
4378
|
-
const parsedBody = parsedOutput.body;
|
|
4379
|
-
return throwDefaultError({
|
|
4380
|
-
output,
|
|
4381
|
-
parsedBody,
|
|
4382
|
-
errorCode
|
|
4383
|
-
});
|
|
4384
|
-
}
|
|
4385
|
-
}, "de_GetConformancePackComplianceSummaryCommandError");
|
|
4386
3102
|
var de_GetCustomRulePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4387
3103
|
if (output.statusCode >= 300) {
|
|
4388
|
-
return
|
|
3104
|
+
return de_CommandError(output, context);
|
|
4389
3105
|
}
|
|
4390
3106
|
const data = await parseBody(output.body, context);
|
|
4391
3107
|
let contents = {};
|
|
@@ -4396,28 +3112,9 @@ var de_GetCustomRulePolicyCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
4396
3112
|
};
|
|
4397
3113
|
return response;
|
|
4398
3114
|
}, "de_GetCustomRulePolicyCommand");
|
|
4399
|
-
var de_GetCustomRulePolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4400
|
-
const parsedOutput = {
|
|
4401
|
-
...output,
|
|
4402
|
-
body: await parseErrorBody(output.body, context)
|
|
4403
|
-
};
|
|
4404
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4405
|
-
switch (errorCode) {
|
|
4406
|
-
case "NoSuchConfigRuleException":
|
|
4407
|
-
case "com.amazonaws.configservice#NoSuchConfigRuleException":
|
|
4408
|
-
throw await de_NoSuchConfigRuleExceptionRes(parsedOutput, context);
|
|
4409
|
-
default:
|
|
4410
|
-
const parsedBody = parsedOutput.body;
|
|
4411
|
-
return throwDefaultError({
|
|
4412
|
-
output,
|
|
4413
|
-
parsedBody,
|
|
4414
|
-
errorCode
|
|
4415
|
-
});
|
|
4416
|
-
}
|
|
4417
|
-
}, "de_GetCustomRulePolicyCommandError");
|
|
4418
3115
|
var de_GetDiscoveredResourceCountsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4419
3116
|
if (output.statusCode >= 300) {
|
|
4420
|
-
return
|
|
3117
|
+
return de_CommandError(output, context);
|
|
4421
3118
|
}
|
|
4422
3119
|
const data = await parseBody(output.body, context);
|
|
4423
3120
|
let contents = {};
|
|
@@ -4428,34 +3125,9 @@ var de_GetDiscoveredResourceCountsCommand = /* @__PURE__ */ __name(async (output
|
|
|
4428
3125
|
};
|
|
4429
3126
|
return response;
|
|
4430
3127
|
}, "de_GetDiscoveredResourceCountsCommand");
|
|
4431
|
-
var de_GetDiscoveredResourceCountsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4432
|
-
const parsedOutput = {
|
|
4433
|
-
...output,
|
|
4434
|
-
body: await parseErrorBody(output.body, context)
|
|
4435
|
-
};
|
|
4436
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4437
|
-
switch (errorCode) {
|
|
4438
|
-
case "InvalidLimitException":
|
|
4439
|
-
case "com.amazonaws.configservice#InvalidLimitException":
|
|
4440
|
-
throw await de_InvalidLimitExceptionRes(parsedOutput, context);
|
|
4441
|
-
case "InvalidNextTokenException":
|
|
4442
|
-
case "com.amazonaws.configservice#InvalidNextTokenException":
|
|
4443
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
4444
|
-
case "ValidationException":
|
|
4445
|
-
case "com.amazonaws.configservice#ValidationException":
|
|
4446
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4447
|
-
default:
|
|
4448
|
-
const parsedBody = parsedOutput.body;
|
|
4449
|
-
return throwDefaultError({
|
|
4450
|
-
output,
|
|
4451
|
-
parsedBody,
|
|
4452
|
-
errorCode
|
|
4453
|
-
});
|
|
4454
|
-
}
|
|
4455
|
-
}, "de_GetDiscoveredResourceCountsCommandError");
|
|
4456
3128
|
var de_GetOrganizationConfigRuleDetailedStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4457
3129
|
if (output.statusCode >= 300) {
|
|
4458
|
-
return
|
|
3130
|
+
return de_CommandError(output, context);
|
|
4459
3131
|
}
|
|
4460
3132
|
const data = await parseBody(output.body, context);
|
|
4461
3133
|
let contents = {};
|
|
@@ -4466,78 +3138,22 @@ var de_GetOrganizationConfigRuleDetailedStatusCommand = /* @__PURE__ */ __name(a
|
|
|
4466
3138
|
};
|
|
4467
3139
|
return response;
|
|
4468
3140
|
}, "de_GetOrganizationConfigRuleDetailedStatusCommand");
|
|
4469
|
-
var
|
|
4470
|
-
|
|
4471
|
-
|
|
4472
|
-
|
|
4473
|
-
|
|
4474
|
-
|
|
4475
|
-
|
|
4476
|
-
|
|
4477
|
-
|
|
4478
|
-
|
|
4479
|
-
case "InvalidNextTokenException":
|
|
4480
|
-
case "com.amazonaws.configservice#InvalidNextTokenException":
|
|
4481
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
4482
|
-
case "NoSuchOrganizationConfigRuleException":
|
|
4483
|
-
case "com.amazonaws.configservice#NoSuchOrganizationConfigRuleException":
|
|
4484
|
-
throw await de_NoSuchOrganizationConfigRuleExceptionRes(parsedOutput, context);
|
|
4485
|
-
case "OrganizationAccessDeniedException":
|
|
4486
|
-
case "com.amazonaws.configservice#OrganizationAccessDeniedException":
|
|
4487
|
-
throw await de_OrganizationAccessDeniedExceptionRes(parsedOutput, context);
|
|
4488
|
-
default:
|
|
4489
|
-
const parsedBody = parsedOutput.body;
|
|
4490
|
-
return throwDefaultError({
|
|
4491
|
-
output,
|
|
4492
|
-
parsedBody,
|
|
4493
|
-
errorCode
|
|
4494
|
-
});
|
|
4495
|
-
}
|
|
4496
|
-
}, "de_GetOrganizationConfigRuleDetailedStatusCommandError");
|
|
4497
|
-
var de_GetOrganizationConformancePackDetailedStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4498
|
-
if (output.statusCode >= 300) {
|
|
4499
|
-
return de_GetOrganizationConformancePackDetailedStatusCommandError(output, context);
|
|
4500
|
-
}
|
|
4501
|
-
const data = await parseBody(output.body, context);
|
|
4502
|
-
let contents = {};
|
|
4503
|
-
contents = de_GetOrganizationConformancePackDetailedStatusResponse(data, context);
|
|
4504
|
-
const response = {
|
|
4505
|
-
$metadata: deserializeMetadata(output),
|
|
4506
|
-
...contents
|
|
3141
|
+
var de_GetOrganizationConformancePackDetailedStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3142
|
+
if (output.statusCode >= 300) {
|
|
3143
|
+
return de_CommandError(output, context);
|
|
3144
|
+
}
|
|
3145
|
+
const data = await parseBody(output.body, context);
|
|
3146
|
+
let contents = {};
|
|
3147
|
+
contents = de_GetOrganizationConformancePackDetailedStatusResponse(data, context);
|
|
3148
|
+
const response = {
|
|
3149
|
+
$metadata: deserializeMetadata(output),
|
|
3150
|
+
...contents
|
|
4507
3151
|
};
|
|
4508
3152
|
return response;
|
|
4509
3153
|
}, "de_GetOrganizationConformancePackDetailedStatusCommand");
|
|
4510
|
-
var de_GetOrganizationConformancePackDetailedStatusCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4511
|
-
const parsedOutput = {
|
|
4512
|
-
...output,
|
|
4513
|
-
body: await parseErrorBody(output.body, context)
|
|
4514
|
-
};
|
|
4515
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4516
|
-
switch (errorCode) {
|
|
4517
|
-
case "InvalidLimitException":
|
|
4518
|
-
case "com.amazonaws.configservice#InvalidLimitException":
|
|
4519
|
-
throw await de_InvalidLimitExceptionRes(parsedOutput, context);
|
|
4520
|
-
case "InvalidNextTokenException":
|
|
4521
|
-
case "com.amazonaws.configservice#InvalidNextTokenException":
|
|
4522
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
4523
|
-
case "NoSuchOrganizationConformancePackException":
|
|
4524
|
-
case "com.amazonaws.configservice#NoSuchOrganizationConformancePackException":
|
|
4525
|
-
throw await de_NoSuchOrganizationConformancePackExceptionRes(parsedOutput, context);
|
|
4526
|
-
case "OrganizationAccessDeniedException":
|
|
4527
|
-
case "com.amazonaws.configservice#OrganizationAccessDeniedException":
|
|
4528
|
-
throw await de_OrganizationAccessDeniedExceptionRes(parsedOutput, context);
|
|
4529
|
-
default:
|
|
4530
|
-
const parsedBody = parsedOutput.body;
|
|
4531
|
-
return throwDefaultError({
|
|
4532
|
-
output,
|
|
4533
|
-
parsedBody,
|
|
4534
|
-
errorCode
|
|
4535
|
-
});
|
|
4536
|
-
}
|
|
4537
|
-
}, "de_GetOrganizationConformancePackDetailedStatusCommandError");
|
|
4538
3154
|
var de_GetOrganizationCustomRulePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4539
3155
|
if (output.statusCode >= 300) {
|
|
4540
|
-
return
|
|
3156
|
+
return de_CommandError(output, context);
|
|
4541
3157
|
}
|
|
4542
3158
|
const data = await parseBody(output.body, context);
|
|
4543
3159
|
let contents = {};
|
|
@@ -4548,31 +3164,9 @@ var de_GetOrganizationCustomRulePolicyCommand = /* @__PURE__ */ __name(async (ou
|
|
|
4548
3164
|
};
|
|
4549
3165
|
return response;
|
|
4550
3166
|
}, "de_GetOrganizationCustomRulePolicyCommand");
|
|
4551
|
-
var de_GetOrganizationCustomRulePolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4552
|
-
const parsedOutput = {
|
|
4553
|
-
...output,
|
|
4554
|
-
body: await parseErrorBody(output.body, context)
|
|
4555
|
-
};
|
|
4556
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4557
|
-
switch (errorCode) {
|
|
4558
|
-
case "NoSuchOrganizationConfigRuleException":
|
|
4559
|
-
case "com.amazonaws.configservice#NoSuchOrganizationConfigRuleException":
|
|
4560
|
-
throw await de_NoSuchOrganizationConfigRuleExceptionRes(parsedOutput, context);
|
|
4561
|
-
case "OrganizationAccessDeniedException":
|
|
4562
|
-
case "com.amazonaws.configservice#OrganizationAccessDeniedException":
|
|
4563
|
-
throw await de_OrganizationAccessDeniedExceptionRes(parsedOutput, context);
|
|
4564
|
-
default:
|
|
4565
|
-
const parsedBody = parsedOutput.body;
|
|
4566
|
-
return throwDefaultError({
|
|
4567
|
-
output,
|
|
4568
|
-
parsedBody,
|
|
4569
|
-
errorCode
|
|
4570
|
-
});
|
|
4571
|
-
}
|
|
4572
|
-
}, "de_GetOrganizationCustomRulePolicyCommandError");
|
|
4573
3167
|
var de_GetResourceConfigHistoryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4574
3168
|
if (output.statusCode >= 300) {
|
|
4575
|
-
return
|
|
3169
|
+
return de_CommandError(output, context);
|
|
4576
3170
|
}
|
|
4577
3171
|
const data = await parseBody(output.body, context);
|
|
4578
3172
|
let contents = {};
|
|
@@ -4583,43 +3177,9 @@ var de_GetResourceConfigHistoryCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
4583
3177
|
};
|
|
4584
3178
|
return response;
|
|
4585
3179
|
}, "de_GetResourceConfigHistoryCommand");
|
|
4586
|
-
var de_GetResourceConfigHistoryCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4587
|
-
const parsedOutput = {
|
|
4588
|
-
...output,
|
|
4589
|
-
body: await parseErrorBody(output.body, context)
|
|
4590
|
-
};
|
|
4591
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4592
|
-
switch (errorCode) {
|
|
4593
|
-
case "InvalidLimitException":
|
|
4594
|
-
case "com.amazonaws.configservice#InvalidLimitException":
|
|
4595
|
-
throw await de_InvalidLimitExceptionRes(parsedOutput, context);
|
|
4596
|
-
case "InvalidNextTokenException":
|
|
4597
|
-
case "com.amazonaws.configservice#InvalidNextTokenException":
|
|
4598
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
4599
|
-
case "InvalidTimeRangeException":
|
|
4600
|
-
case "com.amazonaws.configservice#InvalidTimeRangeException":
|
|
4601
|
-
throw await de_InvalidTimeRangeExceptionRes(parsedOutput, context);
|
|
4602
|
-
case "NoAvailableConfigurationRecorderException":
|
|
4603
|
-
case "com.amazonaws.configservice#NoAvailableConfigurationRecorderException":
|
|
4604
|
-
throw await de_NoAvailableConfigurationRecorderExceptionRes(parsedOutput, context);
|
|
4605
|
-
case "ResourceNotDiscoveredException":
|
|
4606
|
-
case "com.amazonaws.configservice#ResourceNotDiscoveredException":
|
|
4607
|
-
throw await de_ResourceNotDiscoveredExceptionRes(parsedOutput, context);
|
|
4608
|
-
case "ValidationException":
|
|
4609
|
-
case "com.amazonaws.configservice#ValidationException":
|
|
4610
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4611
|
-
default:
|
|
4612
|
-
const parsedBody = parsedOutput.body;
|
|
4613
|
-
return throwDefaultError({
|
|
4614
|
-
output,
|
|
4615
|
-
parsedBody,
|
|
4616
|
-
errorCode
|
|
4617
|
-
});
|
|
4618
|
-
}
|
|
4619
|
-
}, "de_GetResourceConfigHistoryCommandError");
|
|
4620
3180
|
var de_GetResourceEvaluationSummaryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4621
3181
|
if (output.statusCode >= 300) {
|
|
4622
|
-
return
|
|
3182
|
+
return de_CommandError(output, context);
|
|
4623
3183
|
}
|
|
4624
3184
|
const data = await parseBody(output.body, context);
|
|
4625
3185
|
let contents = {};
|
|
@@ -4630,28 +3190,9 @@ var de_GetResourceEvaluationSummaryCommand = /* @__PURE__ */ __name(async (outpu
|
|
|
4630
3190
|
};
|
|
4631
3191
|
return response;
|
|
4632
3192
|
}, "de_GetResourceEvaluationSummaryCommand");
|
|
4633
|
-
var de_GetResourceEvaluationSummaryCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4634
|
-
const parsedOutput = {
|
|
4635
|
-
...output,
|
|
4636
|
-
body: await parseErrorBody(output.body, context)
|
|
4637
|
-
};
|
|
4638
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4639
|
-
switch (errorCode) {
|
|
4640
|
-
case "ResourceNotFoundException":
|
|
4641
|
-
case "com.amazonaws.configservice#ResourceNotFoundException":
|
|
4642
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4643
|
-
default:
|
|
4644
|
-
const parsedBody = parsedOutput.body;
|
|
4645
|
-
return throwDefaultError({
|
|
4646
|
-
output,
|
|
4647
|
-
parsedBody,
|
|
4648
|
-
errorCode
|
|
4649
|
-
});
|
|
4650
|
-
}
|
|
4651
|
-
}, "de_GetResourceEvaluationSummaryCommandError");
|
|
4652
3193
|
var de_GetStoredQueryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4653
3194
|
if (output.statusCode >= 300) {
|
|
4654
|
-
return
|
|
3195
|
+
return de_CommandError(output, context);
|
|
4655
3196
|
}
|
|
4656
3197
|
const data = await parseBody(output.body, context);
|
|
4657
3198
|
let contents = {};
|
|
@@ -4662,31 +3203,9 @@ var de_GetStoredQueryCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
4662
3203
|
};
|
|
4663
3204
|
return response;
|
|
4664
3205
|
}, "de_GetStoredQueryCommand");
|
|
4665
|
-
var de_GetStoredQueryCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4666
|
-
const parsedOutput = {
|
|
4667
|
-
...output,
|
|
4668
|
-
body: await parseErrorBody(output.body, context)
|
|
4669
|
-
};
|
|
4670
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4671
|
-
switch (errorCode) {
|
|
4672
|
-
case "ResourceNotFoundException":
|
|
4673
|
-
case "com.amazonaws.configservice#ResourceNotFoundException":
|
|
4674
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4675
|
-
case "ValidationException":
|
|
4676
|
-
case "com.amazonaws.configservice#ValidationException":
|
|
4677
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4678
|
-
default:
|
|
4679
|
-
const parsedBody = parsedOutput.body;
|
|
4680
|
-
return throwDefaultError({
|
|
4681
|
-
output,
|
|
4682
|
-
parsedBody,
|
|
4683
|
-
errorCode
|
|
4684
|
-
});
|
|
4685
|
-
}
|
|
4686
|
-
}, "de_GetStoredQueryCommandError");
|
|
4687
3206
|
var de_ListAggregateDiscoveredResourcesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4688
3207
|
if (output.statusCode >= 300) {
|
|
4689
|
-
return
|
|
3208
|
+
return de_CommandError(output, context);
|
|
4690
3209
|
}
|
|
4691
3210
|
const data = await parseBody(output.body, context);
|
|
4692
3211
|
let contents = {};
|
|
@@ -4697,37 +3216,9 @@ var de_ListAggregateDiscoveredResourcesCommand = /* @__PURE__ */ __name(async (o
|
|
|
4697
3216
|
};
|
|
4698
3217
|
return response;
|
|
4699
3218
|
}, "de_ListAggregateDiscoveredResourcesCommand");
|
|
4700
|
-
var de_ListAggregateDiscoveredResourcesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4701
|
-
const parsedOutput = {
|
|
4702
|
-
...output,
|
|
4703
|
-
body: await parseErrorBody(output.body, context)
|
|
4704
|
-
};
|
|
4705
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4706
|
-
switch (errorCode) {
|
|
4707
|
-
case "InvalidLimitException":
|
|
4708
|
-
case "com.amazonaws.configservice#InvalidLimitException":
|
|
4709
|
-
throw await de_InvalidLimitExceptionRes(parsedOutput, context);
|
|
4710
|
-
case "InvalidNextTokenException":
|
|
4711
|
-
case "com.amazonaws.configservice#InvalidNextTokenException":
|
|
4712
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
4713
|
-
case "NoSuchConfigurationAggregatorException":
|
|
4714
|
-
case "com.amazonaws.configservice#NoSuchConfigurationAggregatorException":
|
|
4715
|
-
throw await de_NoSuchConfigurationAggregatorExceptionRes(parsedOutput, context);
|
|
4716
|
-
case "ValidationException":
|
|
4717
|
-
case "com.amazonaws.configservice#ValidationException":
|
|
4718
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4719
|
-
default:
|
|
4720
|
-
const parsedBody = parsedOutput.body;
|
|
4721
|
-
return throwDefaultError({
|
|
4722
|
-
output,
|
|
4723
|
-
parsedBody,
|
|
4724
|
-
errorCode
|
|
4725
|
-
});
|
|
4726
|
-
}
|
|
4727
|
-
}, "de_ListAggregateDiscoveredResourcesCommandError");
|
|
4728
3219
|
var de_ListConformancePackComplianceScoresCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4729
3220
|
if (output.statusCode >= 300) {
|
|
4730
|
-
return
|
|
3221
|
+
return de_CommandError(output, context);
|
|
4731
3222
|
}
|
|
4732
3223
|
const data = await parseBody(output.body, context);
|
|
4733
3224
|
let contents = {};
|
|
@@ -4738,34 +3229,9 @@ var de_ListConformancePackComplianceScoresCommand = /* @__PURE__ */ __name(async
|
|
|
4738
3229
|
};
|
|
4739
3230
|
return response;
|
|
4740
3231
|
}, "de_ListConformancePackComplianceScoresCommand");
|
|
4741
|
-
var de_ListConformancePackComplianceScoresCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4742
|
-
const parsedOutput = {
|
|
4743
|
-
...output,
|
|
4744
|
-
body: await parseErrorBody(output.body, context)
|
|
4745
|
-
};
|
|
4746
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4747
|
-
switch (errorCode) {
|
|
4748
|
-
case "InvalidLimitException":
|
|
4749
|
-
case "com.amazonaws.configservice#InvalidLimitException":
|
|
4750
|
-
throw await de_InvalidLimitExceptionRes(parsedOutput, context);
|
|
4751
|
-
case "InvalidNextTokenException":
|
|
4752
|
-
case "com.amazonaws.configservice#InvalidNextTokenException":
|
|
4753
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
4754
|
-
case "InvalidParameterValueException":
|
|
4755
|
-
case "com.amazonaws.configservice#InvalidParameterValueException":
|
|
4756
|
-
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
4757
|
-
default:
|
|
4758
|
-
const parsedBody = parsedOutput.body;
|
|
4759
|
-
return throwDefaultError({
|
|
4760
|
-
output,
|
|
4761
|
-
parsedBody,
|
|
4762
|
-
errorCode
|
|
4763
|
-
});
|
|
4764
|
-
}
|
|
4765
|
-
}, "de_ListConformancePackComplianceScoresCommandError");
|
|
4766
3232
|
var de_ListDiscoveredResourcesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4767
3233
|
if (output.statusCode >= 300) {
|
|
4768
|
-
return
|
|
3234
|
+
return de_CommandError(output, context);
|
|
4769
3235
|
}
|
|
4770
3236
|
const data = await parseBody(output.body, context);
|
|
4771
3237
|
let contents = {};
|
|
@@ -4776,37 +3242,9 @@ var de_ListDiscoveredResourcesCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
4776
3242
|
};
|
|
4777
3243
|
return response;
|
|
4778
3244
|
}, "de_ListDiscoveredResourcesCommand");
|
|
4779
|
-
var de_ListDiscoveredResourcesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4780
|
-
const parsedOutput = {
|
|
4781
|
-
...output,
|
|
4782
|
-
body: await parseErrorBody(output.body, context)
|
|
4783
|
-
};
|
|
4784
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4785
|
-
switch (errorCode) {
|
|
4786
|
-
case "InvalidLimitException":
|
|
4787
|
-
case "com.amazonaws.configservice#InvalidLimitException":
|
|
4788
|
-
throw await de_InvalidLimitExceptionRes(parsedOutput, context);
|
|
4789
|
-
case "InvalidNextTokenException":
|
|
4790
|
-
case "com.amazonaws.configservice#InvalidNextTokenException":
|
|
4791
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
4792
|
-
case "NoAvailableConfigurationRecorderException":
|
|
4793
|
-
case "com.amazonaws.configservice#NoAvailableConfigurationRecorderException":
|
|
4794
|
-
throw await de_NoAvailableConfigurationRecorderExceptionRes(parsedOutput, context);
|
|
4795
|
-
case "ValidationException":
|
|
4796
|
-
case "com.amazonaws.configservice#ValidationException":
|
|
4797
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4798
|
-
default:
|
|
4799
|
-
const parsedBody = parsedOutput.body;
|
|
4800
|
-
return throwDefaultError({
|
|
4801
|
-
output,
|
|
4802
|
-
parsedBody,
|
|
4803
|
-
errorCode
|
|
4804
|
-
});
|
|
4805
|
-
}
|
|
4806
|
-
}, "de_ListDiscoveredResourcesCommandError");
|
|
4807
3245
|
var de_ListResourceEvaluationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4808
3246
|
if (output.statusCode >= 300) {
|
|
4809
|
-
return
|
|
3247
|
+
return de_CommandError(output, context);
|
|
4810
3248
|
}
|
|
4811
3249
|
const data = await parseBody(output.body, context);
|
|
4812
3250
|
let contents = {};
|
|
@@ -4817,34 +3255,9 @@ var de_ListResourceEvaluationsCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
4817
3255
|
};
|
|
4818
3256
|
return response;
|
|
4819
3257
|
}, "de_ListResourceEvaluationsCommand");
|
|
4820
|
-
var de_ListResourceEvaluationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4821
|
-
const parsedOutput = {
|
|
4822
|
-
...output,
|
|
4823
|
-
body: await parseErrorBody(output.body, context)
|
|
4824
|
-
};
|
|
4825
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4826
|
-
switch (errorCode) {
|
|
4827
|
-
case "InvalidNextTokenException":
|
|
4828
|
-
case "com.amazonaws.configservice#InvalidNextTokenException":
|
|
4829
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
4830
|
-
case "InvalidParameterValueException":
|
|
4831
|
-
case "com.amazonaws.configservice#InvalidParameterValueException":
|
|
4832
|
-
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
4833
|
-
case "InvalidTimeRangeException":
|
|
4834
|
-
case "com.amazonaws.configservice#InvalidTimeRangeException":
|
|
4835
|
-
throw await de_InvalidTimeRangeExceptionRes(parsedOutput, context);
|
|
4836
|
-
default:
|
|
4837
|
-
const parsedBody = parsedOutput.body;
|
|
4838
|
-
return throwDefaultError({
|
|
4839
|
-
output,
|
|
4840
|
-
parsedBody,
|
|
4841
|
-
errorCode
|
|
4842
|
-
});
|
|
4843
|
-
}
|
|
4844
|
-
}, "de_ListResourceEvaluationsCommandError");
|
|
4845
3258
|
var de_ListStoredQueriesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4846
3259
|
if (output.statusCode >= 300) {
|
|
4847
|
-
return
|
|
3260
|
+
return de_CommandError(output, context);
|
|
4848
3261
|
}
|
|
4849
3262
|
const data = await parseBody(output.body, context);
|
|
4850
3263
|
let contents = {};
|
|
@@ -4855,72 +3268,22 @@ var de_ListStoredQueriesCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
4855
3268
|
};
|
|
4856
3269
|
return response;
|
|
4857
3270
|
}, "de_ListStoredQueriesCommand");
|
|
4858
|
-
var
|
|
4859
|
-
|
|
4860
|
-
|
|
4861
|
-
|
|
4862
|
-
|
|
4863
|
-
|
|
4864
|
-
|
|
4865
|
-
|
|
4866
|
-
|
|
4867
|
-
|
|
4868
|
-
case "ValidationException":
|
|
4869
|
-
case "com.amazonaws.configservice#ValidationException":
|
|
4870
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4871
|
-
default:
|
|
4872
|
-
const parsedBody = parsedOutput.body;
|
|
4873
|
-
return throwDefaultError({
|
|
4874
|
-
output,
|
|
4875
|
-
parsedBody,
|
|
4876
|
-
errorCode
|
|
4877
|
-
});
|
|
4878
|
-
}
|
|
4879
|
-
}, "de_ListStoredQueriesCommandError");
|
|
4880
|
-
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4881
|
-
if (output.statusCode >= 300) {
|
|
4882
|
-
return de_ListTagsForResourceCommandError(output, context);
|
|
4883
|
-
}
|
|
4884
|
-
const data = await parseBody(output.body, context);
|
|
4885
|
-
let contents = {};
|
|
4886
|
-
contents = (0, import_smithy_client._json)(data);
|
|
4887
|
-
const response = {
|
|
4888
|
-
$metadata: deserializeMetadata(output),
|
|
4889
|
-
...contents
|
|
3271
|
+
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3272
|
+
if (output.statusCode >= 300) {
|
|
3273
|
+
return de_CommandError(output, context);
|
|
3274
|
+
}
|
|
3275
|
+
const data = await parseBody(output.body, context);
|
|
3276
|
+
let contents = {};
|
|
3277
|
+
contents = (0, import_smithy_client._json)(data);
|
|
3278
|
+
const response = {
|
|
3279
|
+
$metadata: deserializeMetadata(output),
|
|
3280
|
+
...contents
|
|
4890
3281
|
};
|
|
4891
3282
|
return response;
|
|
4892
3283
|
}, "de_ListTagsForResourceCommand");
|
|
4893
|
-
var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4894
|
-
const parsedOutput = {
|
|
4895
|
-
...output,
|
|
4896
|
-
body: await parseErrorBody(output.body, context)
|
|
4897
|
-
};
|
|
4898
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4899
|
-
switch (errorCode) {
|
|
4900
|
-
case "InvalidLimitException":
|
|
4901
|
-
case "com.amazonaws.configservice#InvalidLimitException":
|
|
4902
|
-
throw await de_InvalidLimitExceptionRes(parsedOutput, context);
|
|
4903
|
-
case "InvalidNextTokenException":
|
|
4904
|
-
case "com.amazonaws.configservice#InvalidNextTokenException":
|
|
4905
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
4906
|
-
case "ResourceNotFoundException":
|
|
4907
|
-
case "com.amazonaws.configservice#ResourceNotFoundException":
|
|
4908
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4909
|
-
case "ValidationException":
|
|
4910
|
-
case "com.amazonaws.configservice#ValidationException":
|
|
4911
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4912
|
-
default:
|
|
4913
|
-
const parsedBody = parsedOutput.body;
|
|
4914
|
-
return throwDefaultError({
|
|
4915
|
-
output,
|
|
4916
|
-
parsedBody,
|
|
4917
|
-
errorCode
|
|
4918
|
-
});
|
|
4919
|
-
}
|
|
4920
|
-
}, "de_ListTagsForResourceCommandError");
|
|
4921
3284
|
var de_PutAggregationAuthorizationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4922
3285
|
if (output.statusCode >= 300) {
|
|
4923
|
-
return
|
|
3286
|
+
return de_CommandError(output, context);
|
|
4924
3287
|
}
|
|
4925
3288
|
const data = await parseBody(output.body, context);
|
|
4926
3289
|
let contents = {};
|
|
@@ -4931,28 +3294,9 @@ var de_PutAggregationAuthorizationCommand = /* @__PURE__ */ __name(async (output
|
|
|
4931
3294
|
};
|
|
4932
3295
|
return response;
|
|
4933
3296
|
}, "de_PutAggregationAuthorizationCommand");
|
|
4934
|
-
var de_PutAggregationAuthorizationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4935
|
-
const parsedOutput = {
|
|
4936
|
-
...output,
|
|
4937
|
-
body: await parseErrorBody(output.body, context)
|
|
4938
|
-
};
|
|
4939
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4940
|
-
switch (errorCode) {
|
|
4941
|
-
case "InvalidParameterValueException":
|
|
4942
|
-
case "com.amazonaws.configservice#InvalidParameterValueException":
|
|
4943
|
-
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
4944
|
-
default:
|
|
4945
|
-
const parsedBody = parsedOutput.body;
|
|
4946
|
-
return throwDefaultError({
|
|
4947
|
-
output,
|
|
4948
|
-
parsedBody,
|
|
4949
|
-
errorCode
|
|
4950
|
-
});
|
|
4951
|
-
}
|
|
4952
|
-
}, "de_PutAggregationAuthorizationCommandError");
|
|
4953
3297
|
var de_PutConfigRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4954
3298
|
if (output.statusCode >= 300) {
|
|
4955
|
-
return
|
|
3299
|
+
return de_CommandError(output, context);
|
|
4956
3300
|
}
|
|
4957
3301
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
4958
3302
|
const response = {
|
|
@@ -4960,40 +3304,9 @@ var de_PutConfigRuleCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
4960
3304
|
};
|
|
4961
3305
|
return response;
|
|
4962
3306
|
}, "de_PutConfigRuleCommand");
|
|
4963
|
-
var de_PutConfigRuleCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4964
|
-
const parsedOutput = {
|
|
4965
|
-
...output,
|
|
4966
|
-
body: await parseErrorBody(output.body, context)
|
|
4967
|
-
};
|
|
4968
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4969
|
-
switch (errorCode) {
|
|
4970
|
-
case "InsufficientPermissionsException":
|
|
4971
|
-
case "com.amazonaws.configservice#InsufficientPermissionsException":
|
|
4972
|
-
throw await de_InsufficientPermissionsExceptionRes(parsedOutput, context);
|
|
4973
|
-
case "InvalidParameterValueException":
|
|
4974
|
-
case "com.amazonaws.configservice#InvalidParameterValueException":
|
|
4975
|
-
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
4976
|
-
case "MaxNumberOfConfigRulesExceededException":
|
|
4977
|
-
case "com.amazonaws.configservice#MaxNumberOfConfigRulesExceededException":
|
|
4978
|
-
throw await de_MaxNumberOfConfigRulesExceededExceptionRes(parsedOutput, context);
|
|
4979
|
-
case "NoAvailableConfigurationRecorderException":
|
|
4980
|
-
case "com.amazonaws.configservice#NoAvailableConfigurationRecorderException":
|
|
4981
|
-
throw await de_NoAvailableConfigurationRecorderExceptionRes(parsedOutput, context);
|
|
4982
|
-
case "ResourceInUseException":
|
|
4983
|
-
case "com.amazonaws.configservice#ResourceInUseException":
|
|
4984
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
4985
|
-
default:
|
|
4986
|
-
const parsedBody = parsedOutput.body;
|
|
4987
|
-
return throwDefaultError({
|
|
4988
|
-
output,
|
|
4989
|
-
parsedBody,
|
|
4990
|
-
errorCode
|
|
4991
|
-
});
|
|
4992
|
-
}
|
|
4993
|
-
}, "de_PutConfigRuleCommandError");
|
|
4994
3307
|
var de_PutConfigurationAggregatorCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4995
3308
|
if (output.statusCode >= 300) {
|
|
4996
|
-
return
|
|
3309
|
+
return de_CommandError(output, context);
|
|
4997
3310
|
}
|
|
4998
3311
|
const data = await parseBody(output.body, context);
|
|
4999
3312
|
let contents = {};
|
|
@@ -5004,43 +3317,9 @@ var de_PutConfigurationAggregatorCommand = /* @__PURE__ */ __name(async (output,
|
|
|
5004
3317
|
};
|
|
5005
3318
|
return response;
|
|
5006
3319
|
}, "de_PutConfigurationAggregatorCommand");
|
|
5007
|
-
var de_PutConfigurationAggregatorCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5008
|
-
const parsedOutput = {
|
|
5009
|
-
...output,
|
|
5010
|
-
body: await parseErrorBody(output.body, context)
|
|
5011
|
-
};
|
|
5012
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5013
|
-
switch (errorCode) {
|
|
5014
|
-
case "InvalidParameterValueException":
|
|
5015
|
-
case "com.amazonaws.configservice#InvalidParameterValueException":
|
|
5016
|
-
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
5017
|
-
case "InvalidRoleException":
|
|
5018
|
-
case "com.amazonaws.configservice#InvalidRoleException":
|
|
5019
|
-
throw await de_InvalidRoleExceptionRes(parsedOutput, context);
|
|
5020
|
-
case "LimitExceededException":
|
|
5021
|
-
case "com.amazonaws.configservice#LimitExceededException":
|
|
5022
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
5023
|
-
case "NoAvailableOrganizationException":
|
|
5024
|
-
case "com.amazonaws.configservice#NoAvailableOrganizationException":
|
|
5025
|
-
throw await de_NoAvailableOrganizationExceptionRes(parsedOutput, context);
|
|
5026
|
-
case "OrganizationAccessDeniedException":
|
|
5027
|
-
case "com.amazonaws.configservice#OrganizationAccessDeniedException":
|
|
5028
|
-
throw await de_OrganizationAccessDeniedExceptionRes(parsedOutput, context);
|
|
5029
|
-
case "OrganizationAllFeaturesNotEnabledException":
|
|
5030
|
-
case "com.amazonaws.configservice#OrganizationAllFeaturesNotEnabledException":
|
|
5031
|
-
throw await de_OrganizationAllFeaturesNotEnabledExceptionRes(parsedOutput, context);
|
|
5032
|
-
default:
|
|
5033
|
-
const parsedBody = parsedOutput.body;
|
|
5034
|
-
return throwDefaultError({
|
|
5035
|
-
output,
|
|
5036
|
-
parsedBody,
|
|
5037
|
-
errorCode
|
|
5038
|
-
});
|
|
5039
|
-
}
|
|
5040
|
-
}, "de_PutConfigurationAggregatorCommandError");
|
|
5041
3320
|
var de_PutConfigurationRecorderCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5042
3321
|
if (output.statusCode >= 300) {
|
|
5043
|
-
return
|
|
3322
|
+
return de_CommandError(output, context);
|
|
5044
3323
|
}
|
|
5045
3324
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
5046
3325
|
const response = {
|
|
@@ -5048,40 +3327,9 @@ var de_PutConfigurationRecorderCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
5048
3327
|
};
|
|
5049
3328
|
return response;
|
|
5050
3329
|
}, "de_PutConfigurationRecorderCommand");
|
|
5051
|
-
var de_PutConfigurationRecorderCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5052
|
-
const parsedOutput = {
|
|
5053
|
-
...output,
|
|
5054
|
-
body: await parseErrorBody(output.body, context)
|
|
5055
|
-
};
|
|
5056
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5057
|
-
switch (errorCode) {
|
|
5058
|
-
case "InvalidConfigurationRecorderNameException":
|
|
5059
|
-
case "com.amazonaws.configservice#InvalidConfigurationRecorderNameException":
|
|
5060
|
-
throw await de_InvalidConfigurationRecorderNameExceptionRes(parsedOutput, context);
|
|
5061
|
-
case "InvalidRecordingGroupException":
|
|
5062
|
-
case "com.amazonaws.configservice#InvalidRecordingGroupException":
|
|
5063
|
-
throw await de_InvalidRecordingGroupExceptionRes(parsedOutput, context);
|
|
5064
|
-
case "InvalidRoleException":
|
|
5065
|
-
case "com.amazonaws.configservice#InvalidRoleException":
|
|
5066
|
-
throw await de_InvalidRoleExceptionRes(parsedOutput, context);
|
|
5067
|
-
case "MaxNumberOfConfigurationRecordersExceededException":
|
|
5068
|
-
case "com.amazonaws.configservice#MaxNumberOfConfigurationRecordersExceededException":
|
|
5069
|
-
throw await de_MaxNumberOfConfigurationRecordersExceededExceptionRes(parsedOutput, context);
|
|
5070
|
-
case "ValidationException":
|
|
5071
|
-
case "com.amazonaws.configservice#ValidationException":
|
|
5072
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5073
|
-
default:
|
|
5074
|
-
const parsedBody = parsedOutput.body;
|
|
5075
|
-
return throwDefaultError({
|
|
5076
|
-
output,
|
|
5077
|
-
parsedBody,
|
|
5078
|
-
errorCode
|
|
5079
|
-
});
|
|
5080
|
-
}
|
|
5081
|
-
}, "de_PutConfigurationRecorderCommandError");
|
|
5082
3330
|
var de_PutConformancePackCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5083
3331
|
if (output.statusCode >= 300) {
|
|
5084
|
-
return
|
|
3332
|
+
return de_CommandError(output, context);
|
|
5085
3333
|
}
|
|
5086
3334
|
const data = await parseBody(output.body, context);
|
|
5087
3335
|
let contents = {};
|
|
@@ -5092,40 +3340,9 @@ var de_PutConformancePackCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
5092
3340
|
};
|
|
5093
3341
|
return response;
|
|
5094
3342
|
}, "de_PutConformancePackCommand");
|
|
5095
|
-
var de_PutConformancePackCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5096
|
-
const parsedOutput = {
|
|
5097
|
-
...output,
|
|
5098
|
-
body: await parseErrorBody(output.body, context)
|
|
5099
|
-
};
|
|
5100
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5101
|
-
switch (errorCode) {
|
|
5102
|
-
case "ConformancePackTemplateValidationException":
|
|
5103
|
-
case "com.amazonaws.configservice#ConformancePackTemplateValidationException":
|
|
5104
|
-
throw await de_ConformancePackTemplateValidationExceptionRes(parsedOutput, context);
|
|
5105
|
-
case "InsufficientPermissionsException":
|
|
5106
|
-
case "com.amazonaws.configservice#InsufficientPermissionsException":
|
|
5107
|
-
throw await de_InsufficientPermissionsExceptionRes(parsedOutput, context);
|
|
5108
|
-
case "InvalidParameterValueException":
|
|
5109
|
-
case "com.amazonaws.configservice#InvalidParameterValueException":
|
|
5110
|
-
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
5111
|
-
case "MaxNumberOfConformancePacksExceededException":
|
|
5112
|
-
case "com.amazonaws.configservice#MaxNumberOfConformancePacksExceededException":
|
|
5113
|
-
throw await de_MaxNumberOfConformancePacksExceededExceptionRes(parsedOutput, context);
|
|
5114
|
-
case "ResourceInUseException":
|
|
5115
|
-
case "com.amazonaws.configservice#ResourceInUseException":
|
|
5116
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
5117
|
-
default:
|
|
5118
|
-
const parsedBody = parsedOutput.body;
|
|
5119
|
-
return throwDefaultError({
|
|
5120
|
-
output,
|
|
5121
|
-
parsedBody,
|
|
5122
|
-
errorCode
|
|
5123
|
-
});
|
|
5124
|
-
}
|
|
5125
|
-
}, "de_PutConformancePackCommandError");
|
|
5126
3343
|
var de_PutDeliveryChannelCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5127
3344
|
if (output.statusCode >= 300) {
|
|
5128
|
-
return
|
|
3345
|
+
return de_CommandError(output, context);
|
|
5129
3346
|
}
|
|
5130
3347
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
5131
3348
|
const response = {
|
|
@@ -5133,49 +3350,9 @@ var de_PutDeliveryChannelCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
5133
3350
|
};
|
|
5134
3351
|
return response;
|
|
5135
3352
|
}, "de_PutDeliveryChannelCommand");
|
|
5136
|
-
var de_PutDeliveryChannelCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5137
|
-
const parsedOutput = {
|
|
5138
|
-
...output,
|
|
5139
|
-
body: await parseErrorBody(output.body, context)
|
|
5140
|
-
};
|
|
5141
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5142
|
-
switch (errorCode) {
|
|
5143
|
-
case "InsufficientDeliveryPolicyException":
|
|
5144
|
-
case "com.amazonaws.configservice#InsufficientDeliveryPolicyException":
|
|
5145
|
-
throw await de_InsufficientDeliveryPolicyExceptionRes(parsedOutput, context);
|
|
5146
|
-
case "InvalidDeliveryChannelNameException":
|
|
5147
|
-
case "com.amazonaws.configservice#InvalidDeliveryChannelNameException":
|
|
5148
|
-
throw await de_InvalidDeliveryChannelNameExceptionRes(parsedOutput, context);
|
|
5149
|
-
case "InvalidS3KeyPrefixException":
|
|
5150
|
-
case "com.amazonaws.configservice#InvalidS3KeyPrefixException":
|
|
5151
|
-
throw await de_InvalidS3KeyPrefixExceptionRes(parsedOutput, context);
|
|
5152
|
-
case "InvalidS3KmsKeyArnException":
|
|
5153
|
-
case "com.amazonaws.configservice#InvalidS3KmsKeyArnException":
|
|
5154
|
-
throw await de_InvalidS3KmsKeyArnExceptionRes(parsedOutput, context);
|
|
5155
|
-
case "InvalidSNSTopicARNException":
|
|
5156
|
-
case "com.amazonaws.configservice#InvalidSNSTopicARNException":
|
|
5157
|
-
throw await de_InvalidSNSTopicARNExceptionRes(parsedOutput, context);
|
|
5158
|
-
case "MaxNumberOfDeliveryChannelsExceededException":
|
|
5159
|
-
case "com.amazonaws.configservice#MaxNumberOfDeliveryChannelsExceededException":
|
|
5160
|
-
throw await de_MaxNumberOfDeliveryChannelsExceededExceptionRes(parsedOutput, context);
|
|
5161
|
-
case "NoAvailableConfigurationRecorderException":
|
|
5162
|
-
case "com.amazonaws.configservice#NoAvailableConfigurationRecorderException":
|
|
5163
|
-
throw await de_NoAvailableConfigurationRecorderExceptionRes(parsedOutput, context);
|
|
5164
|
-
case "NoSuchBucketException":
|
|
5165
|
-
case "com.amazonaws.configservice#NoSuchBucketException":
|
|
5166
|
-
throw await de_NoSuchBucketExceptionRes(parsedOutput, context);
|
|
5167
|
-
default:
|
|
5168
|
-
const parsedBody = parsedOutput.body;
|
|
5169
|
-
return throwDefaultError({
|
|
5170
|
-
output,
|
|
5171
|
-
parsedBody,
|
|
5172
|
-
errorCode
|
|
5173
|
-
});
|
|
5174
|
-
}
|
|
5175
|
-
}, "de_PutDeliveryChannelCommandError");
|
|
5176
3353
|
var de_PutEvaluationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5177
3354
|
if (output.statusCode >= 300) {
|
|
5178
|
-
return
|
|
3355
|
+
return de_CommandError(output, context);
|
|
5179
3356
|
}
|
|
5180
3357
|
const data = await parseBody(output.body, context);
|
|
5181
3358
|
let contents = {};
|
|
@@ -5186,34 +3363,9 @@ var de_PutEvaluationsCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
5186
3363
|
};
|
|
5187
3364
|
return response;
|
|
5188
3365
|
}, "de_PutEvaluationsCommand");
|
|
5189
|
-
var de_PutEvaluationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5190
|
-
const parsedOutput = {
|
|
5191
|
-
...output,
|
|
5192
|
-
body: await parseErrorBody(output.body, context)
|
|
5193
|
-
};
|
|
5194
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5195
|
-
switch (errorCode) {
|
|
5196
|
-
case "InvalidParameterValueException":
|
|
5197
|
-
case "com.amazonaws.configservice#InvalidParameterValueException":
|
|
5198
|
-
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
5199
|
-
case "InvalidResultTokenException":
|
|
5200
|
-
case "com.amazonaws.configservice#InvalidResultTokenException":
|
|
5201
|
-
throw await de_InvalidResultTokenExceptionRes(parsedOutput, context);
|
|
5202
|
-
case "NoSuchConfigRuleException":
|
|
5203
|
-
case "com.amazonaws.configservice#NoSuchConfigRuleException":
|
|
5204
|
-
throw await de_NoSuchConfigRuleExceptionRes(parsedOutput, context);
|
|
5205
|
-
default:
|
|
5206
|
-
const parsedBody = parsedOutput.body;
|
|
5207
|
-
return throwDefaultError({
|
|
5208
|
-
output,
|
|
5209
|
-
parsedBody,
|
|
5210
|
-
errorCode
|
|
5211
|
-
});
|
|
5212
|
-
}
|
|
5213
|
-
}, "de_PutEvaluationsCommandError");
|
|
5214
3366
|
var de_PutExternalEvaluationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5215
3367
|
if (output.statusCode >= 300) {
|
|
5216
|
-
return
|
|
3368
|
+
return de_CommandError(output, context);
|
|
5217
3369
|
}
|
|
5218
3370
|
const data = await parseBody(output.body, context);
|
|
5219
3371
|
let contents = {};
|
|
@@ -5224,84 +3376,22 @@ var de_PutExternalEvaluationCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
5224
3376
|
};
|
|
5225
3377
|
return response;
|
|
5226
3378
|
}, "de_PutExternalEvaluationCommand");
|
|
5227
|
-
var
|
|
5228
|
-
|
|
5229
|
-
|
|
5230
|
-
|
|
5231
|
-
|
|
5232
|
-
|
|
5233
|
-
|
|
5234
|
-
|
|
5235
|
-
|
|
5236
|
-
|
|
5237
|
-
case "NoSuchConfigRuleException":
|
|
5238
|
-
case "com.amazonaws.configservice#NoSuchConfigRuleException":
|
|
5239
|
-
throw await de_NoSuchConfigRuleExceptionRes(parsedOutput, context);
|
|
5240
|
-
default:
|
|
5241
|
-
const parsedBody = parsedOutput.body;
|
|
5242
|
-
return throwDefaultError({
|
|
5243
|
-
output,
|
|
5244
|
-
parsedBody,
|
|
5245
|
-
errorCode
|
|
5246
|
-
});
|
|
5247
|
-
}
|
|
5248
|
-
}, "de_PutExternalEvaluationCommandError");
|
|
5249
|
-
var de_PutOrganizationConfigRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5250
|
-
if (output.statusCode >= 300) {
|
|
5251
|
-
return de_PutOrganizationConfigRuleCommandError(output, context);
|
|
5252
|
-
}
|
|
5253
|
-
const data = await parseBody(output.body, context);
|
|
5254
|
-
let contents = {};
|
|
5255
|
-
contents = (0, import_smithy_client._json)(data);
|
|
5256
|
-
const response = {
|
|
5257
|
-
$metadata: deserializeMetadata(output),
|
|
5258
|
-
...contents
|
|
3379
|
+
var de_PutOrganizationConfigRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3380
|
+
if (output.statusCode >= 300) {
|
|
3381
|
+
return de_CommandError(output, context);
|
|
3382
|
+
}
|
|
3383
|
+
const data = await parseBody(output.body, context);
|
|
3384
|
+
let contents = {};
|
|
3385
|
+
contents = (0, import_smithy_client._json)(data);
|
|
3386
|
+
const response = {
|
|
3387
|
+
$metadata: deserializeMetadata(output),
|
|
3388
|
+
...contents
|
|
5259
3389
|
};
|
|
5260
3390
|
return response;
|
|
5261
3391
|
}, "de_PutOrganizationConfigRuleCommand");
|
|
5262
|
-
var de_PutOrganizationConfigRuleCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5263
|
-
const parsedOutput = {
|
|
5264
|
-
...output,
|
|
5265
|
-
body: await parseErrorBody(output.body, context)
|
|
5266
|
-
};
|
|
5267
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5268
|
-
switch (errorCode) {
|
|
5269
|
-
case "InsufficientPermissionsException":
|
|
5270
|
-
case "com.amazonaws.configservice#InsufficientPermissionsException":
|
|
5271
|
-
throw await de_InsufficientPermissionsExceptionRes(parsedOutput, context);
|
|
5272
|
-
case "InvalidParameterValueException":
|
|
5273
|
-
case "com.amazonaws.configservice#InvalidParameterValueException":
|
|
5274
|
-
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
5275
|
-
case "MaxNumberOfOrganizationConfigRulesExceededException":
|
|
5276
|
-
case "com.amazonaws.configservice#MaxNumberOfOrganizationConfigRulesExceededException":
|
|
5277
|
-
throw await de_MaxNumberOfOrganizationConfigRulesExceededExceptionRes(parsedOutput, context);
|
|
5278
|
-
case "NoAvailableOrganizationException":
|
|
5279
|
-
case "com.amazonaws.configservice#NoAvailableOrganizationException":
|
|
5280
|
-
throw await de_NoAvailableOrganizationExceptionRes(parsedOutput, context);
|
|
5281
|
-
case "OrganizationAccessDeniedException":
|
|
5282
|
-
case "com.amazonaws.configservice#OrganizationAccessDeniedException":
|
|
5283
|
-
throw await de_OrganizationAccessDeniedExceptionRes(parsedOutput, context);
|
|
5284
|
-
case "OrganizationAllFeaturesNotEnabledException":
|
|
5285
|
-
case "com.amazonaws.configservice#OrganizationAllFeaturesNotEnabledException":
|
|
5286
|
-
throw await de_OrganizationAllFeaturesNotEnabledExceptionRes(parsedOutput, context);
|
|
5287
|
-
case "ResourceInUseException":
|
|
5288
|
-
case "com.amazonaws.configservice#ResourceInUseException":
|
|
5289
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
5290
|
-
case "ValidationException":
|
|
5291
|
-
case "com.amazonaws.configservice#ValidationException":
|
|
5292
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5293
|
-
default:
|
|
5294
|
-
const parsedBody = parsedOutput.body;
|
|
5295
|
-
return throwDefaultError({
|
|
5296
|
-
output,
|
|
5297
|
-
parsedBody,
|
|
5298
|
-
errorCode
|
|
5299
|
-
});
|
|
5300
|
-
}
|
|
5301
|
-
}, "de_PutOrganizationConfigRuleCommandError");
|
|
5302
3392
|
var de_PutOrganizationConformancePackCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5303
3393
|
if (output.statusCode >= 300) {
|
|
5304
|
-
return
|
|
3394
|
+
return de_CommandError(output, context);
|
|
5305
3395
|
}
|
|
5306
3396
|
const data = await parseBody(output.body, context);
|
|
5307
3397
|
let contents = {};
|
|
@@ -5312,49 +3402,9 @@ var de_PutOrganizationConformancePackCommand = /* @__PURE__ */ __name(async (out
|
|
|
5312
3402
|
};
|
|
5313
3403
|
return response;
|
|
5314
3404
|
}, "de_PutOrganizationConformancePackCommand");
|
|
5315
|
-
var de_PutOrganizationConformancePackCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5316
|
-
const parsedOutput = {
|
|
5317
|
-
...output,
|
|
5318
|
-
body: await parseErrorBody(output.body, context)
|
|
5319
|
-
};
|
|
5320
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5321
|
-
switch (errorCode) {
|
|
5322
|
-
case "InsufficientPermissionsException":
|
|
5323
|
-
case "com.amazonaws.configservice#InsufficientPermissionsException":
|
|
5324
|
-
throw await de_InsufficientPermissionsExceptionRes(parsedOutput, context);
|
|
5325
|
-
case "MaxNumberOfOrganizationConformancePacksExceededException":
|
|
5326
|
-
case "com.amazonaws.configservice#MaxNumberOfOrganizationConformancePacksExceededException":
|
|
5327
|
-
throw await de_MaxNumberOfOrganizationConformancePacksExceededExceptionRes(parsedOutput, context);
|
|
5328
|
-
case "NoAvailableOrganizationException":
|
|
5329
|
-
case "com.amazonaws.configservice#NoAvailableOrganizationException":
|
|
5330
|
-
throw await de_NoAvailableOrganizationExceptionRes(parsedOutput, context);
|
|
5331
|
-
case "OrganizationAccessDeniedException":
|
|
5332
|
-
case "com.amazonaws.configservice#OrganizationAccessDeniedException":
|
|
5333
|
-
throw await de_OrganizationAccessDeniedExceptionRes(parsedOutput, context);
|
|
5334
|
-
case "OrganizationAllFeaturesNotEnabledException":
|
|
5335
|
-
case "com.amazonaws.configservice#OrganizationAllFeaturesNotEnabledException":
|
|
5336
|
-
throw await de_OrganizationAllFeaturesNotEnabledExceptionRes(parsedOutput, context);
|
|
5337
|
-
case "OrganizationConformancePackTemplateValidationException":
|
|
5338
|
-
case "com.amazonaws.configservice#OrganizationConformancePackTemplateValidationException":
|
|
5339
|
-
throw await de_OrganizationConformancePackTemplateValidationExceptionRes(parsedOutput, context);
|
|
5340
|
-
case "ResourceInUseException":
|
|
5341
|
-
case "com.amazonaws.configservice#ResourceInUseException":
|
|
5342
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
5343
|
-
case "ValidationException":
|
|
5344
|
-
case "com.amazonaws.configservice#ValidationException":
|
|
5345
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5346
|
-
default:
|
|
5347
|
-
const parsedBody = parsedOutput.body;
|
|
5348
|
-
return throwDefaultError({
|
|
5349
|
-
output,
|
|
5350
|
-
parsedBody,
|
|
5351
|
-
errorCode
|
|
5352
|
-
});
|
|
5353
|
-
}
|
|
5354
|
-
}, "de_PutOrganizationConformancePackCommandError");
|
|
5355
3405
|
var de_PutRemediationConfigurationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5356
3406
|
if (output.statusCode >= 300) {
|
|
5357
|
-
return
|
|
3407
|
+
return de_CommandError(output, context);
|
|
5358
3408
|
}
|
|
5359
3409
|
const data = await parseBody(output.body, context);
|
|
5360
3410
|
let contents = {};
|
|
@@ -5365,31 +3415,9 @@ var de_PutRemediationConfigurationsCommand = /* @__PURE__ */ __name(async (outpu
|
|
|
5365
3415
|
};
|
|
5366
3416
|
return response;
|
|
5367
3417
|
}, "de_PutRemediationConfigurationsCommand");
|
|
5368
|
-
var de_PutRemediationConfigurationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5369
|
-
const parsedOutput = {
|
|
5370
|
-
...output,
|
|
5371
|
-
body: await parseErrorBody(output.body, context)
|
|
5372
|
-
};
|
|
5373
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5374
|
-
switch (errorCode) {
|
|
5375
|
-
case "InsufficientPermissionsException":
|
|
5376
|
-
case "com.amazonaws.configservice#InsufficientPermissionsException":
|
|
5377
|
-
throw await de_InsufficientPermissionsExceptionRes(parsedOutput, context);
|
|
5378
|
-
case "InvalidParameterValueException":
|
|
5379
|
-
case "com.amazonaws.configservice#InvalidParameterValueException":
|
|
5380
|
-
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
5381
|
-
default:
|
|
5382
|
-
const parsedBody = parsedOutput.body;
|
|
5383
|
-
return throwDefaultError({
|
|
5384
|
-
output,
|
|
5385
|
-
parsedBody,
|
|
5386
|
-
errorCode
|
|
5387
|
-
});
|
|
5388
|
-
}
|
|
5389
|
-
}, "de_PutRemediationConfigurationsCommandError");
|
|
5390
3418
|
var de_PutRemediationExceptionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5391
3419
|
if (output.statusCode >= 300) {
|
|
5392
|
-
return
|
|
3420
|
+
return de_CommandError(output, context);
|
|
5393
3421
|
}
|
|
5394
3422
|
const data = await parseBody(output.body, context);
|
|
5395
3423
|
let contents = {};
|
|
@@ -5400,31 +3428,9 @@ var de_PutRemediationExceptionsCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
5400
3428
|
};
|
|
5401
3429
|
return response;
|
|
5402
3430
|
}, "de_PutRemediationExceptionsCommand");
|
|
5403
|
-
var de_PutRemediationExceptionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5404
|
-
const parsedOutput = {
|
|
5405
|
-
...output,
|
|
5406
|
-
body: await parseErrorBody(output.body, context)
|
|
5407
|
-
};
|
|
5408
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5409
|
-
switch (errorCode) {
|
|
5410
|
-
case "InsufficientPermissionsException":
|
|
5411
|
-
case "com.amazonaws.configservice#InsufficientPermissionsException":
|
|
5412
|
-
throw await de_InsufficientPermissionsExceptionRes(parsedOutput, context);
|
|
5413
|
-
case "InvalidParameterValueException":
|
|
5414
|
-
case "com.amazonaws.configservice#InvalidParameterValueException":
|
|
5415
|
-
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
5416
|
-
default:
|
|
5417
|
-
const parsedBody = parsedOutput.body;
|
|
5418
|
-
return throwDefaultError({
|
|
5419
|
-
output,
|
|
5420
|
-
parsedBody,
|
|
5421
|
-
errorCode
|
|
5422
|
-
});
|
|
5423
|
-
}
|
|
5424
|
-
}, "de_PutRemediationExceptionsCommandError");
|
|
5425
3431
|
var de_PutResourceConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5426
3432
|
if (output.statusCode >= 300) {
|
|
5427
|
-
return
|
|
3433
|
+
return de_CommandError(output, context);
|
|
5428
3434
|
}
|
|
5429
3435
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
5430
3436
|
const response = {
|
|
@@ -5432,37 +3438,9 @@ var de_PutResourceConfigCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
5432
3438
|
};
|
|
5433
3439
|
return response;
|
|
5434
3440
|
}, "de_PutResourceConfigCommand");
|
|
5435
|
-
var de_PutResourceConfigCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5436
|
-
const parsedOutput = {
|
|
5437
|
-
...output,
|
|
5438
|
-
body: await parseErrorBody(output.body, context)
|
|
5439
|
-
};
|
|
5440
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5441
|
-
switch (errorCode) {
|
|
5442
|
-
case "InsufficientPermissionsException":
|
|
5443
|
-
case "com.amazonaws.configservice#InsufficientPermissionsException":
|
|
5444
|
-
throw await de_InsufficientPermissionsExceptionRes(parsedOutput, context);
|
|
5445
|
-
case "MaxActiveResourcesExceededException":
|
|
5446
|
-
case "com.amazonaws.configservice#MaxActiveResourcesExceededException":
|
|
5447
|
-
throw await de_MaxActiveResourcesExceededExceptionRes(parsedOutput, context);
|
|
5448
|
-
case "NoRunningConfigurationRecorderException":
|
|
5449
|
-
case "com.amazonaws.configservice#NoRunningConfigurationRecorderException":
|
|
5450
|
-
throw await de_NoRunningConfigurationRecorderExceptionRes(parsedOutput, context);
|
|
5451
|
-
case "ValidationException":
|
|
5452
|
-
case "com.amazonaws.configservice#ValidationException":
|
|
5453
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5454
|
-
default:
|
|
5455
|
-
const parsedBody = parsedOutput.body;
|
|
5456
|
-
return throwDefaultError({
|
|
5457
|
-
output,
|
|
5458
|
-
parsedBody,
|
|
5459
|
-
errorCode
|
|
5460
|
-
});
|
|
5461
|
-
}
|
|
5462
|
-
}, "de_PutResourceConfigCommandError");
|
|
5463
3441
|
var de_PutRetentionConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5464
3442
|
if (output.statusCode >= 300) {
|
|
5465
|
-
return
|
|
3443
|
+
return de_CommandError(output, context);
|
|
5466
3444
|
}
|
|
5467
3445
|
const data = await parseBody(output.body, context);
|
|
5468
3446
|
let contents = {};
|
|
@@ -5473,31 +3451,9 @@ var de_PutRetentionConfigurationCommand = /* @__PURE__ */ __name(async (output,
|
|
|
5473
3451
|
};
|
|
5474
3452
|
return response;
|
|
5475
3453
|
}, "de_PutRetentionConfigurationCommand");
|
|
5476
|
-
var de_PutRetentionConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5477
|
-
const parsedOutput = {
|
|
5478
|
-
...output,
|
|
5479
|
-
body: await parseErrorBody(output.body, context)
|
|
5480
|
-
};
|
|
5481
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5482
|
-
switch (errorCode) {
|
|
5483
|
-
case "InvalidParameterValueException":
|
|
5484
|
-
case "com.amazonaws.configservice#InvalidParameterValueException":
|
|
5485
|
-
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
5486
|
-
case "MaxNumberOfRetentionConfigurationsExceededException":
|
|
5487
|
-
case "com.amazonaws.configservice#MaxNumberOfRetentionConfigurationsExceededException":
|
|
5488
|
-
throw await de_MaxNumberOfRetentionConfigurationsExceededExceptionRes(parsedOutput, context);
|
|
5489
|
-
default:
|
|
5490
|
-
const parsedBody = parsedOutput.body;
|
|
5491
|
-
return throwDefaultError({
|
|
5492
|
-
output,
|
|
5493
|
-
parsedBody,
|
|
5494
|
-
errorCode
|
|
5495
|
-
});
|
|
5496
|
-
}
|
|
5497
|
-
}, "de_PutRetentionConfigurationCommandError");
|
|
5498
3454
|
var de_PutStoredQueryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5499
3455
|
if (output.statusCode >= 300) {
|
|
5500
|
-
return
|
|
3456
|
+
return de_CommandError(output, context);
|
|
5501
3457
|
}
|
|
5502
3458
|
const data = await parseBody(output.body, context);
|
|
5503
3459
|
let contents = {};
|
|
@@ -5508,34 +3464,9 @@ var de_PutStoredQueryCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
5508
3464
|
};
|
|
5509
3465
|
return response;
|
|
5510
3466
|
}, "de_PutStoredQueryCommand");
|
|
5511
|
-
var de_PutStoredQueryCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5512
|
-
const parsedOutput = {
|
|
5513
|
-
...output,
|
|
5514
|
-
body: await parseErrorBody(output.body, context)
|
|
5515
|
-
};
|
|
5516
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5517
|
-
switch (errorCode) {
|
|
5518
|
-
case "ResourceConcurrentModificationException":
|
|
5519
|
-
case "com.amazonaws.configservice#ResourceConcurrentModificationException":
|
|
5520
|
-
throw await de_ResourceConcurrentModificationExceptionRes(parsedOutput, context);
|
|
5521
|
-
case "TooManyTagsException":
|
|
5522
|
-
case "com.amazonaws.configservice#TooManyTagsException":
|
|
5523
|
-
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
5524
|
-
case "ValidationException":
|
|
5525
|
-
case "com.amazonaws.configservice#ValidationException":
|
|
5526
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5527
|
-
default:
|
|
5528
|
-
const parsedBody = parsedOutput.body;
|
|
5529
|
-
return throwDefaultError({
|
|
5530
|
-
output,
|
|
5531
|
-
parsedBody,
|
|
5532
|
-
errorCode
|
|
5533
|
-
});
|
|
5534
|
-
}
|
|
5535
|
-
}, "de_PutStoredQueryCommandError");
|
|
5536
3467
|
var de_SelectAggregateResourceConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5537
3468
|
if (output.statusCode >= 300) {
|
|
5538
|
-
return
|
|
3469
|
+
return de_CommandError(output, context);
|
|
5539
3470
|
}
|
|
5540
3471
|
const data = await parseBody(output.body, context);
|
|
5541
3472
|
let contents = {};
|
|
@@ -5546,37 +3477,9 @@ var de_SelectAggregateResourceConfigCommand = /* @__PURE__ */ __name(async (outp
|
|
|
5546
3477
|
};
|
|
5547
3478
|
return response;
|
|
5548
3479
|
}, "de_SelectAggregateResourceConfigCommand");
|
|
5549
|
-
var de_SelectAggregateResourceConfigCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5550
|
-
const parsedOutput = {
|
|
5551
|
-
...output,
|
|
5552
|
-
body: await parseErrorBody(output.body, context)
|
|
5553
|
-
};
|
|
5554
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5555
|
-
switch (errorCode) {
|
|
5556
|
-
case "InvalidExpressionException":
|
|
5557
|
-
case "com.amazonaws.configservice#InvalidExpressionException":
|
|
5558
|
-
throw await de_InvalidExpressionExceptionRes(parsedOutput, context);
|
|
5559
|
-
case "InvalidLimitException":
|
|
5560
|
-
case "com.amazonaws.configservice#InvalidLimitException":
|
|
5561
|
-
throw await de_InvalidLimitExceptionRes(parsedOutput, context);
|
|
5562
|
-
case "InvalidNextTokenException":
|
|
5563
|
-
case "com.amazonaws.configservice#InvalidNextTokenException":
|
|
5564
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
5565
|
-
case "NoSuchConfigurationAggregatorException":
|
|
5566
|
-
case "com.amazonaws.configservice#NoSuchConfigurationAggregatorException":
|
|
5567
|
-
throw await de_NoSuchConfigurationAggregatorExceptionRes(parsedOutput, context);
|
|
5568
|
-
default:
|
|
5569
|
-
const parsedBody = parsedOutput.body;
|
|
5570
|
-
return throwDefaultError({
|
|
5571
|
-
output,
|
|
5572
|
-
parsedBody,
|
|
5573
|
-
errorCode
|
|
5574
|
-
});
|
|
5575
|
-
}
|
|
5576
|
-
}, "de_SelectAggregateResourceConfigCommandError");
|
|
5577
3480
|
var de_SelectResourceConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5578
3481
|
if (output.statusCode >= 300) {
|
|
5579
|
-
return
|
|
3482
|
+
return de_CommandError(output, context);
|
|
5580
3483
|
}
|
|
5581
3484
|
const data = await parseBody(output.body, context);
|
|
5582
3485
|
let contents = {};
|
|
@@ -5587,75 +3490,22 @@ var de_SelectResourceConfigCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
5587
3490
|
};
|
|
5588
3491
|
return response;
|
|
5589
3492
|
}, "de_SelectResourceConfigCommand");
|
|
5590
|
-
var
|
|
5591
|
-
|
|
5592
|
-
|
|
5593
|
-
|
|
5594
|
-
|
|
5595
|
-
|
|
5596
|
-
|
|
5597
|
-
|
|
5598
|
-
|
|
5599
|
-
|
|
5600
|
-
case "InvalidLimitException":
|
|
5601
|
-
case "com.amazonaws.configservice#InvalidLimitException":
|
|
5602
|
-
throw await de_InvalidLimitExceptionRes(parsedOutput, context);
|
|
5603
|
-
case "InvalidNextTokenException":
|
|
5604
|
-
case "com.amazonaws.configservice#InvalidNextTokenException":
|
|
5605
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
5606
|
-
default:
|
|
5607
|
-
const parsedBody = parsedOutput.body;
|
|
5608
|
-
return throwDefaultError({
|
|
5609
|
-
output,
|
|
5610
|
-
parsedBody,
|
|
5611
|
-
errorCode
|
|
5612
|
-
});
|
|
5613
|
-
}
|
|
5614
|
-
}, "de_SelectResourceConfigCommandError");
|
|
5615
|
-
var de_StartConfigRulesEvaluationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5616
|
-
if (output.statusCode >= 300) {
|
|
5617
|
-
return de_StartConfigRulesEvaluationCommandError(output, context);
|
|
5618
|
-
}
|
|
5619
|
-
const data = await parseBody(output.body, context);
|
|
5620
|
-
let contents = {};
|
|
5621
|
-
contents = (0, import_smithy_client._json)(data);
|
|
5622
|
-
const response = {
|
|
5623
|
-
$metadata: deserializeMetadata(output),
|
|
5624
|
-
...contents
|
|
3493
|
+
var de_StartConfigRulesEvaluationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3494
|
+
if (output.statusCode >= 300) {
|
|
3495
|
+
return de_CommandError(output, context);
|
|
3496
|
+
}
|
|
3497
|
+
const data = await parseBody(output.body, context);
|
|
3498
|
+
let contents = {};
|
|
3499
|
+
contents = (0, import_smithy_client._json)(data);
|
|
3500
|
+
const response = {
|
|
3501
|
+
$metadata: deserializeMetadata(output),
|
|
3502
|
+
...contents
|
|
5625
3503
|
};
|
|
5626
3504
|
return response;
|
|
5627
3505
|
}, "de_StartConfigRulesEvaluationCommand");
|
|
5628
|
-
var de_StartConfigRulesEvaluationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5629
|
-
const parsedOutput = {
|
|
5630
|
-
...output,
|
|
5631
|
-
body: await parseErrorBody(output.body, context)
|
|
5632
|
-
};
|
|
5633
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5634
|
-
switch (errorCode) {
|
|
5635
|
-
case "InvalidParameterValueException":
|
|
5636
|
-
case "com.amazonaws.configservice#InvalidParameterValueException":
|
|
5637
|
-
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
5638
|
-
case "LimitExceededException":
|
|
5639
|
-
case "com.amazonaws.configservice#LimitExceededException":
|
|
5640
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
5641
|
-
case "NoSuchConfigRuleException":
|
|
5642
|
-
case "com.amazonaws.configservice#NoSuchConfigRuleException":
|
|
5643
|
-
throw await de_NoSuchConfigRuleExceptionRes(parsedOutput, context);
|
|
5644
|
-
case "ResourceInUseException":
|
|
5645
|
-
case "com.amazonaws.configservice#ResourceInUseException":
|
|
5646
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
5647
|
-
default:
|
|
5648
|
-
const parsedBody = parsedOutput.body;
|
|
5649
|
-
return throwDefaultError({
|
|
5650
|
-
output,
|
|
5651
|
-
parsedBody,
|
|
5652
|
-
errorCode
|
|
5653
|
-
});
|
|
5654
|
-
}
|
|
5655
|
-
}, "de_StartConfigRulesEvaluationCommandError");
|
|
5656
3506
|
var de_StartConfigurationRecorderCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5657
3507
|
if (output.statusCode >= 300) {
|
|
5658
|
-
return
|
|
3508
|
+
return de_CommandError(output, context);
|
|
5659
3509
|
}
|
|
5660
3510
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
5661
3511
|
const response = {
|
|
@@ -5663,31 +3513,9 @@ var de_StartConfigurationRecorderCommand = /* @__PURE__ */ __name(async (output,
|
|
|
5663
3513
|
};
|
|
5664
3514
|
return response;
|
|
5665
3515
|
}, "de_StartConfigurationRecorderCommand");
|
|
5666
|
-
var de_StartConfigurationRecorderCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5667
|
-
const parsedOutput = {
|
|
5668
|
-
...output,
|
|
5669
|
-
body: await parseErrorBody(output.body, context)
|
|
5670
|
-
};
|
|
5671
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5672
|
-
switch (errorCode) {
|
|
5673
|
-
case "NoAvailableDeliveryChannelException":
|
|
5674
|
-
case "com.amazonaws.configservice#NoAvailableDeliveryChannelException":
|
|
5675
|
-
throw await de_NoAvailableDeliveryChannelExceptionRes(parsedOutput, context);
|
|
5676
|
-
case "NoSuchConfigurationRecorderException":
|
|
5677
|
-
case "com.amazonaws.configservice#NoSuchConfigurationRecorderException":
|
|
5678
|
-
throw await de_NoSuchConfigurationRecorderExceptionRes(parsedOutput, context);
|
|
5679
|
-
default:
|
|
5680
|
-
const parsedBody = parsedOutput.body;
|
|
5681
|
-
return throwDefaultError({
|
|
5682
|
-
output,
|
|
5683
|
-
parsedBody,
|
|
5684
|
-
errorCode
|
|
5685
|
-
});
|
|
5686
|
-
}
|
|
5687
|
-
}, "de_StartConfigurationRecorderCommandError");
|
|
5688
3516
|
var de_StartRemediationExecutionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5689
3517
|
if (output.statusCode >= 300) {
|
|
5690
|
-
return
|
|
3518
|
+
return de_CommandError(output, context);
|
|
5691
3519
|
}
|
|
5692
3520
|
const data = await parseBody(output.body, context);
|
|
5693
3521
|
let contents = {};
|
|
@@ -5698,34 +3526,9 @@ var de_StartRemediationExecutionCommand = /* @__PURE__ */ __name(async (output,
|
|
|
5698
3526
|
};
|
|
5699
3527
|
return response;
|
|
5700
3528
|
}, "de_StartRemediationExecutionCommand");
|
|
5701
|
-
var de_StartRemediationExecutionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5702
|
-
const parsedOutput = {
|
|
5703
|
-
...output,
|
|
5704
|
-
body: await parseErrorBody(output.body, context)
|
|
5705
|
-
};
|
|
5706
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5707
|
-
switch (errorCode) {
|
|
5708
|
-
case "InsufficientPermissionsException":
|
|
5709
|
-
case "com.amazonaws.configservice#InsufficientPermissionsException":
|
|
5710
|
-
throw await de_InsufficientPermissionsExceptionRes(parsedOutput, context);
|
|
5711
|
-
case "InvalidParameterValueException":
|
|
5712
|
-
case "com.amazonaws.configservice#InvalidParameterValueException":
|
|
5713
|
-
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
5714
|
-
case "NoSuchRemediationConfigurationException":
|
|
5715
|
-
case "com.amazonaws.configservice#NoSuchRemediationConfigurationException":
|
|
5716
|
-
throw await de_NoSuchRemediationConfigurationExceptionRes(parsedOutput, context);
|
|
5717
|
-
default:
|
|
5718
|
-
const parsedBody = parsedOutput.body;
|
|
5719
|
-
return throwDefaultError({
|
|
5720
|
-
output,
|
|
5721
|
-
parsedBody,
|
|
5722
|
-
errorCode
|
|
5723
|
-
});
|
|
5724
|
-
}
|
|
5725
|
-
}, "de_StartRemediationExecutionCommandError");
|
|
5726
3529
|
var de_StartResourceEvaluationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5727
3530
|
if (output.statusCode >= 300) {
|
|
5728
|
-
return
|
|
3531
|
+
return de_CommandError(output, context);
|
|
5729
3532
|
}
|
|
5730
3533
|
const data = await parseBody(output.body, context);
|
|
5731
3534
|
let contents = {};
|
|
@@ -5736,31 +3539,9 @@ var de_StartResourceEvaluationCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
5736
3539
|
};
|
|
5737
3540
|
return response;
|
|
5738
3541
|
}, "de_StartResourceEvaluationCommand");
|
|
5739
|
-
var de_StartResourceEvaluationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5740
|
-
const parsedOutput = {
|
|
5741
|
-
...output,
|
|
5742
|
-
body: await parseErrorBody(output.body, context)
|
|
5743
|
-
};
|
|
5744
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5745
|
-
switch (errorCode) {
|
|
5746
|
-
case "IdempotentParameterMismatch":
|
|
5747
|
-
case "com.amazonaws.configservice#IdempotentParameterMismatch":
|
|
5748
|
-
throw await de_IdempotentParameterMismatchRes(parsedOutput, context);
|
|
5749
|
-
case "InvalidParameterValueException":
|
|
5750
|
-
case "com.amazonaws.configservice#InvalidParameterValueException":
|
|
5751
|
-
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
5752
|
-
default:
|
|
5753
|
-
const parsedBody = parsedOutput.body;
|
|
5754
|
-
return throwDefaultError({
|
|
5755
|
-
output,
|
|
5756
|
-
parsedBody,
|
|
5757
|
-
errorCode
|
|
5758
|
-
});
|
|
5759
|
-
}
|
|
5760
|
-
}, "de_StartResourceEvaluationCommandError");
|
|
5761
3542
|
var de_StopConfigurationRecorderCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5762
3543
|
if (output.statusCode >= 300) {
|
|
5763
|
-
return
|
|
3544
|
+
return de_CommandError(output, context);
|
|
5764
3545
|
}
|
|
5765
3546
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
5766
3547
|
const response = {
|
|
@@ -5768,28 +3549,9 @@ var de_StopConfigurationRecorderCommand = /* @__PURE__ */ __name(async (output,
|
|
|
5768
3549
|
};
|
|
5769
3550
|
return response;
|
|
5770
3551
|
}, "de_StopConfigurationRecorderCommand");
|
|
5771
|
-
var de_StopConfigurationRecorderCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5772
|
-
const parsedOutput = {
|
|
5773
|
-
...output,
|
|
5774
|
-
body: await parseErrorBody(output.body, context)
|
|
5775
|
-
};
|
|
5776
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5777
|
-
switch (errorCode) {
|
|
5778
|
-
case "NoSuchConfigurationRecorderException":
|
|
5779
|
-
case "com.amazonaws.configservice#NoSuchConfigurationRecorderException":
|
|
5780
|
-
throw await de_NoSuchConfigurationRecorderExceptionRes(parsedOutput, context);
|
|
5781
|
-
default:
|
|
5782
|
-
const parsedBody = parsedOutput.body;
|
|
5783
|
-
return throwDefaultError({
|
|
5784
|
-
output,
|
|
5785
|
-
parsedBody,
|
|
5786
|
-
errorCode
|
|
5787
|
-
});
|
|
5788
|
-
}
|
|
5789
|
-
}, "de_StopConfigurationRecorderCommandError");
|
|
5790
3552
|
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5791
3553
|
if (output.statusCode >= 300) {
|
|
5792
|
-
return
|
|
3554
|
+
return de_CommandError(output, context);
|
|
5793
3555
|
}
|
|
5794
3556
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
5795
3557
|
const response = {
|
|
@@ -5797,34 +3559,9 @@ var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
5797
3559
|
};
|
|
5798
3560
|
return response;
|
|
5799
3561
|
}, "de_TagResourceCommand");
|
|
5800
|
-
var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5801
|
-
const parsedOutput = {
|
|
5802
|
-
...output,
|
|
5803
|
-
body: await parseErrorBody(output.body, context)
|
|
5804
|
-
};
|
|
5805
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5806
|
-
switch (errorCode) {
|
|
5807
|
-
case "ResourceNotFoundException":
|
|
5808
|
-
case "com.amazonaws.configservice#ResourceNotFoundException":
|
|
5809
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
5810
|
-
case "TooManyTagsException":
|
|
5811
|
-
case "com.amazonaws.configservice#TooManyTagsException":
|
|
5812
|
-
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
5813
|
-
case "ValidationException":
|
|
5814
|
-
case "com.amazonaws.configservice#ValidationException":
|
|
5815
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5816
|
-
default:
|
|
5817
|
-
const parsedBody = parsedOutput.body;
|
|
5818
|
-
return throwDefaultError({
|
|
5819
|
-
output,
|
|
5820
|
-
parsedBody,
|
|
5821
|
-
errorCode
|
|
5822
|
-
});
|
|
5823
|
-
}
|
|
5824
|
-
}, "de_TagResourceCommandError");
|
|
5825
3562
|
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5826
3563
|
if (output.statusCode >= 300) {
|
|
5827
|
-
return
|
|
3564
|
+
return de_CommandError(output, context);
|
|
5828
3565
|
}
|
|
5829
3566
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
5830
3567
|
const response = {
|
|
@@ -5832,19 +3569,175 @@ var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
5832
3569
|
};
|
|
5833
3570
|
return response;
|
|
5834
3571
|
}, "de_UntagResourceCommand");
|
|
5835
|
-
var
|
|
3572
|
+
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5836
3573
|
const parsedOutput = {
|
|
5837
3574
|
...output,
|
|
5838
3575
|
body: await parseErrorBody(output.body, context)
|
|
5839
3576
|
};
|
|
5840
3577
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5841
3578
|
switch (errorCode) {
|
|
5842
|
-
case "
|
|
5843
|
-
case "com.amazonaws.configservice#
|
|
5844
|
-
throw await
|
|
3579
|
+
case "NoSuchConfigurationAggregatorException":
|
|
3580
|
+
case "com.amazonaws.configservice#NoSuchConfigurationAggregatorException":
|
|
3581
|
+
throw await de_NoSuchConfigurationAggregatorExceptionRes(parsedOutput, context);
|
|
5845
3582
|
case "ValidationException":
|
|
5846
3583
|
case "com.amazonaws.configservice#ValidationException":
|
|
5847
3584
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3585
|
+
case "NoAvailableConfigurationRecorderException":
|
|
3586
|
+
case "com.amazonaws.configservice#NoAvailableConfigurationRecorderException":
|
|
3587
|
+
throw await de_NoAvailableConfigurationRecorderExceptionRes(parsedOutput, context);
|
|
3588
|
+
case "InvalidParameterValueException":
|
|
3589
|
+
case "com.amazonaws.configservice#InvalidParameterValueException":
|
|
3590
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
3591
|
+
case "NoSuchConfigRuleException":
|
|
3592
|
+
case "com.amazonaws.configservice#NoSuchConfigRuleException":
|
|
3593
|
+
throw await de_NoSuchConfigRuleExceptionRes(parsedOutput, context);
|
|
3594
|
+
case "ResourceInUseException":
|
|
3595
|
+
case "com.amazonaws.configservice#ResourceInUseException":
|
|
3596
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
3597
|
+
case "NoSuchConfigurationRecorderException":
|
|
3598
|
+
case "com.amazonaws.configservice#NoSuchConfigurationRecorderException":
|
|
3599
|
+
throw await de_NoSuchConfigurationRecorderExceptionRes(parsedOutput, context);
|
|
3600
|
+
case "NoSuchConformancePackException":
|
|
3601
|
+
case "com.amazonaws.configservice#NoSuchConformancePackException":
|
|
3602
|
+
throw await de_NoSuchConformancePackExceptionRes(parsedOutput, context);
|
|
3603
|
+
case "LastDeliveryChannelDeleteFailedException":
|
|
3604
|
+
case "com.amazonaws.configservice#LastDeliveryChannelDeleteFailedException":
|
|
3605
|
+
throw await de_LastDeliveryChannelDeleteFailedExceptionRes(parsedOutput, context);
|
|
3606
|
+
case "NoSuchDeliveryChannelException":
|
|
3607
|
+
case "com.amazonaws.configservice#NoSuchDeliveryChannelException":
|
|
3608
|
+
throw await de_NoSuchDeliveryChannelExceptionRes(parsedOutput, context);
|
|
3609
|
+
case "NoSuchOrganizationConfigRuleException":
|
|
3610
|
+
case "com.amazonaws.configservice#NoSuchOrganizationConfigRuleException":
|
|
3611
|
+
throw await de_NoSuchOrganizationConfigRuleExceptionRes(parsedOutput, context);
|
|
3612
|
+
case "OrganizationAccessDeniedException":
|
|
3613
|
+
case "com.amazonaws.configservice#OrganizationAccessDeniedException":
|
|
3614
|
+
throw await de_OrganizationAccessDeniedExceptionRes(parsedOutput, context);
|
|
3615
|
+
case "NoSuchOrganizationConformancePackException":
|
|
3616
|
+
case "com.amazonaws.configservice#NoSuchOrganizationConformancePackException":
|
|
3617
|
+
throw await de_NoSuchOrganizationConformancePackExceptionRes(parsedOutput, context);
|
|
3618
|
+
case "InsufficientPermissionsException":
|
|
3619
|
+
case "com.amazonaws.configservice#InsufficientPermissionsException":
|
|
3620
|
+
throw await de_InsufficientPermissionsExceptionRes(parsedOutput, context);
|
|
3621
|
+
case "NoSuchRemediationConfigurationException":
|
|
3622
|
+
case "com.amazonaws.configservice#NoSuchRemediationConfigurationException":
|
|
3623
|
+
throw await de_NoSuchRemediationConfigurationExceptionRes(parsedOutput, context);
|
|
3624
|
+
case "RemediationInProgressException":
|
|
3625
|
+
case "com.amazonaws.configservice#RemediationInProgressException":
|
|
3626
|
+
throw await de_RemediationInProgressExceptionRes(parsedOutput, context);
|
|
3627
|
+
case "NoSuchRemediationExceptionException":
|
|
3628
|
+
case "com.amazonaws.configservice#NoSuchRemediationExceptionException":
|
|
3629
|
+
throw await de_NoSuchRemediationExceptionExceptionRes(parsedOutput, context);
|
|
3630
|
+
case "NoRunningConfigurationRecorderException":
|
|
3631
|
+
case "com.amazonaws.configservice#NoRunningConfigurationRecorderException":
|
|
3632
|
+
throw await de_NoRunningConfigurationRecorderExceptionRes(parsedOutput, context);
|
|
3633
|
+
case "NoSuchRetentionConfigurationException":
|
|
3634
|
+
case "com.amazonaws.configservice#NoSuchRetentionConfigurationException":
|
|
3635
|
+
throw await de_NoSuchRetentionConfigurationExceptionRes(parsedOutput, context);
|
|
3636
|
+
case "ResourceNotFoundException":
|
|
3637
|
+
case "com.amazonaws.configservice#ResourceNotFoundException":
|
|
3638
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3639
|
+
case "InvalidLimitException":
|
|
3640
|
+
case "com.amazonaws.configservice#InvalidLimitException":
|
|
3641
|
+
throw await de_InvalidLimitExceptionRes(parsedOutput, context);
|
|
3642
|
+
case "InvalidNextTokenException":
|
|
3643
|
+
case "com.amazonaws.configservice#InvalidNextTokenException":
|
|
3644
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
3645
|
+
case "NoSuchConfigRuleInConformancePackException":
|
|
3646
|
+
case "com.amazonaws.configservice#NoSuchConfigRuleInConformancePackException":
|
|
3647
|
+
throw await de_NoSuchConfigRuleInConformancePackExceptionRes(parsedOutput, context);
|
|
3648
|
+
case "OversizedConfigurationItemException":
|
|
3649
|
+
case "com.amazonaws.configservice#OversizedConfigurationItemException":
|
|
3650
|
+
throw await de_OversizedConfigurationItemExceptionRes(parsedOutput, context);
|
|
3651
|
+
case "ResourceNotDiscoveredException":
|
|
3652
|
+
case "com.amazonaws.configservice#ResourceNotDiscoveredException":
|
|
3653
|
+
throw await de_ResourceNotDiscoveredExceptionRes(parsedOutput, context);
|
|
3654
|
+
case "InvalidTimeRangeException":
|
|
3655
|
+
case "com.amazonaws.configservice#InvalidTimeRangeException":
|
|
3656
|
+
throw await de_InvalidTimeRangeExceptionRes(parsedOutput, context);
|
|
3657
|
+
case "MaxNumberOfConfigRulesExceededException":
|
|
3658
|
+
case "com.amazonaws.configservice#MaxNumberOfConfigRulesExceededException":
|
|
3659
|
+
throw await de_MaxNumberOfConfigRulesExceededExceptionRes(parsedOutput, context);
|
|
3660
|
+
case "InvalidRoleException":
|
|
3661
|
+
case "com.amazonaws.configservice#InvalidRoleException":
|
|
3662
|
+
throw await de_InvalidRoleExceptionRes(parsedOutput, context);
|
|
3663
|
+
case "LimitExceededException":
|
|
3664
|
+
case "com.amazonaws.configservice#LimitExceededException":
|
|
3665
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
3666
|
+
case "NoAvailableOrganizationException":
|
|
3667
|
+
case "com.amazonaws.configservice#NoAvailableOrganizationException":
|
|
3668
|
+
throw await de_NoAvailableOrganizationExceptionRes(parsedOutput, context);
|
|
3669
|
+
case "OrganizationAllFeaturesNotEnabledException":
|
|
3670
|
+
case "com.amazonaws.configservice#OrganizationAllFeaturesNotEnabledException":
|
|
3671
|
+
throw await de_OrganizationAllFeaturesNotEnabledExceptionRes(parsedOutput, context);
|
|
3672
|
+
case "InvalidConfigurationRecorderNameException":
|
|
3673
|
+
case "com.amazonaws.configservice#InvalidConfigurationRecorderNameException":
|
|
3674
|
+
throw await de_InvalidConfigurationRecorderNameExceptionRes(parsedOutput, context);
|
|
3675
|
+
case "InvalidRecordingGroupException":
|
|
3676
|
+
case "com.amazonaws.configservice#InvalidRecordingGroupException":
|
|
3677
|
+
throw await de_InvalidRecordingGroupExceptionRes(parsedOutput, context);
|
|
3678
|
+
case "MaxNumberOfConfigurationRecordersExceededException":
|
|
3679
|
+
case "com.amazonaws.configservice#MaxNumberOfConfigurationRecordersExceededException":
|
|
3680
|
+
throw await de_MaxNumberOfConfigurationRecordersExceededExceptionRes(parsedOutput, context);
|
|
3681
|
+
case "ConformancePackTemplateValidationException":
|
|
3682
|
+
case "com.amazonaws.configservice#ConformancePackTemplateValidationException":
|
|
3683
|
+
throw await de_ConformancePackTemplateValidationExceptionRes(parsedOutput, context);
|
|
3684
|
+
case "MaxNumberOfConformancePacksExceededException":
|
|
3685
|
+
case "com.amazonaws.configservice#MaxNumberOfConformancePacksExceededException":
|
|
3686
|
+
throw await de_MaxNumberOfConformancePacksExceededExceptionRes(parsedOutput, context);
|
|
3687
|
+
case "InsufficientDeliveryPolicyException":
|
|
3688
|
+
case "com.amazonaws.configservice#InsufficientDeliveryPolicyException":
|
|
3689
|
+
throw await de_InsufficientDeliveryPolicyExceptionRes(parsedOutput, context);
|
|
3690
|
+
case "InvalidDeliveryChannelNameException":
|
|
3691
|
+
case "com.amazonaws.configservice#InvalidDeliveryChannelNameException":
|
|
3692
|
+
throw await de_InvalidDeliveryChannelNameExceptionRes(parsedOutput, context);
|
|
3693
|
+
case "InvalidS3KeyPrefixException":
|
|
3694
|
+
case "com.amazonaws.configservice#InvalidS3KeyPrefixException":
|
|
3695
|
+
throw await de_InvalidS3KeyPrefixExceptionRes(parsedOutput, context);
|
|
3696
|
+
case "InvalidS3KmsKeyArnException":
|
|
3697
|
+
case "com.amazonaws.configservice#InvalidS3KmsKeyArnException":
|
|
3698
|
+
throw await de_InvalidS3KmsKeyArnExceptionRes(parsedOutput, context);
|
|
3699
|
+
case "InvalidSNSTopicARNException":
|
|
3700
|
+
case "com.amazonaws.configservice#InvalidSNSTopicARNException":
|
|
3701
|
+
throw await de_InvalidSNSTopicARNExceptionRes(parsedOutput, context);
|
|
3702
|
+
case "MaxNumberOfDeliveryChannelsExceededException":
|
|
3703
|
+
case "com.amazonaws.configservice#MaxNumberOfDeliveryChannelsExceededException":
|
|
3704
|
+
throw await de_MaxNumberOfDeliveryChannelsExceededExceptionRes(parsedOutput, context);
|
|
3705
|
+
case "NoSuchBucketException":
|
|
3706
|
+
case "com.amazonaws.configservice#NoSuchBucketException":
|
|
3707
|
+
throw await de_NoSuchBucketExceptionRes(parsedOutput, context);
|
|
3708
|
+
case "InvalidResultTokenException":
|
|
3709
|
+
case "com.amazonaws.configservice#InvalidResultTokenException":
|
|
3710
|
+
throw await de_InvalidResultTokenExceptionRes(parsedOutput, context);
|
|
3711
|
+
case "MaxNumberOfOrganizationConfigRulesExceededException":
|
|
3712
|
+
case "com.amazonaws.configservice#MaxNumberOfOrganizationConfigRulesExceededException":
|
|
3713
|
+
throw await de_MaxNumberOfOrganizationConfigRulesExceededExceptionRes(parsedOutput, context);
|
|
3714
|
+
case "MaxNumberOfOrganizationConformancePacksExceededException":
|
|
3715
|
+
case "com.amazonaws.configservice#MaxNumberOfOrganizationConformancePacksExceededException":
|
|
3716
|
+
throw await de_MaxNumberOfOrganizationConformancePacksExceededExceptionRes(parsedOutput, context);
|
|
3717
|
+
case "OrganizationConformancePackTemplateValidationException":
|
|
3718
|
+
case "com.amazonaws.configservice#OrganizationConformancePackTemplateValidationException":
|
|
3719
|
+
throw await de_OrganizationConformancePackTemplateValidationExceptionRes(parsedOutput, context);
|
|
3720
|
+
case "MaxActiveResourcesExceededException":
|
|
3721
|
+
case "com.amazonaws.configservice#MaxActiveResourcesExceededException":
|
|
3722
|
+
throw await de_MaxActiveResourcesExceededExceptionRes(parsedOutput, context);
|
|
3723
|
+
case "MaxNumberOfRetentionConfigurationsExceededException":
|
|
3724
|
+
case "com.amazonaws.configservice#MaxNumberOfRetentionConfigurationsExceededException":
|
|
3725
|
+
throw await de_MaxNumberOfRetentionConfigurationsExceededExceptionRes(parsedOutput, context);
|
|
3726
|
+
case "ResourceConcurrentModificationException":
|
|
3727
|
+
case "com.amazonaws.configservice#ResourceConcurrentModificationException":
|
|
3728
|
+
throw await de_ResourceConcurrentModificationExceptionRes(parsedOutput, context);
|
|
3729
|
+
case "TooManyTagsException":
|
|
3730
|
+
case "com.amazonaws.configservice#TooManyTagsException":
|
|
3731
|
+
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
3732
|
+
case "InvalidExpressionException":
|
|
3733
|
+
case "com.amazonaws.configservice#InvalidExpressionException":
|
|
3734
|
+
throw await de_InvalidExpressionExceptionRes(parsedOutput, context);
|
|
3735
|
+
case "NoAvailableDeliveryChannelException":
|
|
3736
|
+
case "com.amazonaws.configservice#NoAvailableDeliveryChannelException":
|
|
3737
|
+
throw await de_NoAvailableDeliveryChannelExceptionRes(parsedOutput, context);
|
|
3738
|
+
case "IdempotentParameterMismatch":
|
|
3739
|
+
case "com.amazonaws.configservice#IdempotentParameterMismatch":
|
|
3740
|
+
throw await de_IdempotentParameterMismatchRes(parsedOutput, context);
|
|
5848
3741
|
default:
|
|
5849
3742
|
const parsedBody = parsedOutput.body;
|
|
5850
3743
|
return throwDefaultError({
|
|
@@ -5853,7 +3746,7 @@ var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context
|
|
|
5853
3746
|
errorCode
|
|
5854
3747
|
});
|
|
5855
3748
|
}
|
|
5856
|
-
}, "
|
|
3749
|
+
}, "de_CommandError");
|
|
5857
3750
|
var de_ConformancePackTemplateValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
5858
3751
|
const body = parsedOutput.body;
|
|
5859
3752
|
const deserialized = (0, import_smithy_client._json)(body);
|