@aws-sdk/client-resiliencehub 3.986.0 → 3.988.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 +82 -2225
- package/dist-cjs/models/ResiliencehubServiceException.js +12 -0
- package/dist-cjs/models/errors.js +105 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +1836 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +80 -74
- package/dist-types/schemas/schemas_0.d.ts +15 -8
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +10 -8
- package/package.json +13 -13
|
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
|
6
6
|
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
7
7
|
import { defaultResiliencehubHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
|
|
8
8
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
9
|
+
import { errorTypeRegistries } from "./schemas/schemas_0";
|
|
9
10
|
export const getRuntimeConfig = (config) => {
|
|
10
11
|
return {
|
|
11
12
|
apiVersion: "2020-04-30",
|
|
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
26
27
|
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
27
28
|
protocolSettings: config?.protocolSettings ?? {
|
|
28
29
|
defaultNamespace: "com.amazonaws.resiliencehub",
|
|
30
|
+
errorTypeRegistries,
|
|
29
31
|
version: "2020-04-30",
|
|
30
32
|
serviceTarget: "AwsResilienceHub",
|
|
31
33
|
},
|
|
@@ -360,7 +360,7 @@ const _dSa = "dataSource";
|
|
|
360
360
|
const _dSi = "disruptionScore";
|
|
361
361
|
const _dT = "driftType";
|
|
362
362
|
const _dTi = "diffType";
|
|
363
|
-
const _e = "
|
|
363
|
+
const _e = "error";
|
|
364
364
|
const _eA = "experimentArn";
|
|
365
365
|
const _eC = "excludedCount";
|
|
366
366
|
const _eCA = "eksClusterArn";
|
|
@@ -387,7 +387,7 @@ const _eTI = "experimentTemplateId";
|
|
|
387
387
|
const _eTn = "entityType";
|
|
388
388
|
const _eTv = "eventType";
|
|
389
389
|
const _eV = "expectedValue";
|
|
390
|
-
const
|
|
390
|
+
const _en = "entries";
|
|
391
391
|
const _ex = "excluded";
|
|
392
392
|
const _f = "field";
|
|
393
393
|
const _fD = "forceDelete";
|
|
@@ -458,14 +458,14 @@ const _rED = "resourceErrorsDetails";
|
|
|
458
458
|
const _rEe = "resourceErrors";
|
|
459
459
|
const _rGN = "resourceGroupName";
|
|
460
460
|
const _rGNe = "resourceGroupNames";
|
|
461
|
-
const _rI = "
|
|
461
|
+
const _rI = "resourceId";
|
|
462
462
|
const _rIS = "rtoInSecs";
|
|
463
463
|
const _rISp = "rpoInSecs";
|
|
464
|
-
const _rIe = "
|
|
464
|
+
const _rIe = "recommendationId";
|
|
465
465
|
const _rIec = "recommendationIds";
|
|
466
|
-
const
|
|
467
|
-
const
|
|
468
|
-
const
|
|
466
|
+
const _rIef = "referenceId";
|
|
467
|
+
const _rIes = "resolutionId";
|
|
468
|
+
const _rIeso = "resourceIdentifier";
|
|
469
469
|
const _rM = "resourceMappings";
|
|
470
470
|
const _rN = "resourceName";
|
|
471
471
|
const _rNe = "resourceNames";
|
|
@@ -487,7 +487,7 @@ const _re = "recommendation";
|
|
|
487
487
|
const _rea = "reason";
|
|
488
488
|
const _res = "resources";
|
|
489
489
|
const _ro = "rows";
|
|
490
|
-
const _s = "
|
|
490
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.resiliencehub";
|
|
491
491
|
const _sA = "sourceArn";
|
|
492
492
|
const _sACI = "sourceAppComponentIds";
|
|
493
493
|
const _sAo = "sourceArns";
|
|
@@ -503,8 +503,8 @@ const _sTe = "serviceType";
|
|
|
503
503
|
const _sTo = "sourceType";
|
|
504
504
|
const _sc = "score";
|
|
505
505
|
const _se = "server";
|
|
506
|
-
const
|
|
507
|
-
const
|
|
506
|
+
const _so = "source";
|
|
507
|
+
const _sor = "sorts";
|
|
508
508
|
const _st = "status";
|
|
509
509
|
const _su = "summary";
|
|
510
510
|
const _t = "type";
|
|
@@ -528,6 +528,56 @@ const n0 = "com.amazonaws.resiliencehub";
|
|
|
528
528
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
529
529
|
import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/errors";
|
|
530
530
|
import { ResiliencehubServiceException } from "../models/ResiliencehubServiceException";
|
|
531
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
532
|
+
export var ResiliencehubServiceException$ = [-3, _s, "ResiliencehubServiceException", 0, [], []];
|
|
533
|
+
_s_registry.registerError(ResiliencehubServiceException$, ResiliencehubServiceException);
|
|
534
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
535
|
+
export var AccessDeniedException$ = [-3, n0, _ADE,
|
|
536
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
537
|
+
[_m],
|
|
538
|
+
[0]
|
|
539
|
+
];
|
|
540
|
+
n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
|
|
541
|
+
export var ConflictException$ = [-3, n0, _CE,
|
|
542
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
543
|
+
[_m, _rI, _rT],
|
|
544
|
+
[0, 0, 0]
|
|
545
|
+
];
|
|
546
|
+
n0_registry.registerError(ConflictException$, ConflictException);
|
|
547
|
+
export var InternalServerException$ = [-3, n0, _ISE,
|
|
548
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
549
|
+
[_m],
|
|
550
|
+
[0]
|
|
551
|
+
];
|
|
552
|
+
n0_registry.registerError(InternalServerException$, InternalServerException);
|
|
553
|
+
export var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
554
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
555
|
+
[_m, _rI, _rT],
|
|
556
|
+
[0, 0, 0]
|
|
557
|
+
];
|
|
558
|
+
n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
559
|
+
export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
560
|
+
{ [_e]: _c, [_hE]: 402 },
|
|
561
|
+
[_m],
|
|
562
|
+
[0]
|
|
563
|
+
];
|
|
564
|
+
n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
565
|
+
export var ThrottlingException$ = [-3, n0, _TE,
|
|
566
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
567
|
+
[_m, _rAS],
|
|
568
|
+
[0, 1]
|
|
569
|
+
];
|
|
570
|
+
n0_registry.registerError(ThrottlingException$, ThrottlingException);
|
|
571
|
+
export var ValidationException$ = [-3, n0, _VE,
|
|
572
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
573
|
+
[_m],
|
|
574
|
+
[0]
|
|
575
|
+
];
|
|
576
|
+
n0_registry.registerError(ValidationException$, ValidationException);
|
|
577
|
+
export const errorTypeRegistries = [
|
|
578
|
+
_s_registry,
|
|
579
|
+
n0_registry,
|
|
580
|
+
];
|
|
531
581
|
export var AcceptGroupingRecommendationEntry$ = [3, n0, _AGRE,
|
|
532
582
|
0,
|
|
533
583
|
[_gRI],
|
|
@@ -535,7 +585,7 @@ export var AcceptGroupingRecommendationEntry$ = [3, n0, _AGRE,
|
|
|
535
585
|
];
|
|
536
586
|
export var AcceptResourceGroupingRecommendationsRequest$ = [3, n0, _ARGRR,
|
|
537
587
|
0,
|
|
538
|
-
[_aA,
|
|
588
|
+
[_aA, _en],
|
|
539
589
|
[0, () => AcceptGroupingRecommendationEntries], 2
|
|
540
590
|
];
|
|
541
591
|
export var AcceptResourceGroupingRecommendationsResponse$ = [3, n0, _ARGRRc,
|
|
@@ -543,12 +593,6 @@ export var AcceptResourceGroupingRecommendationsResponse$ = [3, n0, _ARGRRc,
|
|
|
543
593
|
[_aA, _fE],
|
|
544
594
|
[0, () => FailedGroupingRecommendationEntries], 2
|
|
545
595
|
];
|
|
546
|
-
export var AccessDeniedException$ = [-3, n0, _ADE,
|
|
547
|
-
{ [_er]: _c, [_hE]: 403 },
|
|
548
|
-
[_m],
|
|
549
|
-
[0]
|
|
550
|
-
];
|
|
551
|
-
TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
|
|
552
596
|
export var AddDraftAppVersionResourceMappingsRequest$ = [3, n0, _ADAVRMR,
|
|
553
597
|
0,
|
|
554
598
|
[_aA, _rM],
|
|
@@ -561,12 +605,12 @@ export var AddDraftAppVersionResourceMappingsResponse$ = [3, n0, _ADAVRMRd,
|
|
|
561
605
|
];
|
|
562
606
|
export var Alarm$ = [3, n0, _A,
|
|
563
607
|
0,
|
|
564
|
-
[_aAl,
|
|
608
|
+
[_aAl, _so],
|
|
565
609
|
[0, 0]
|
|
566
610
|
];
|
|
567
611
|
export var AlarmRecommendation$ = [3, n0, _AR,
|
|
568
612
|
0,
|
|
569
|
-
[
|
|
613
|
+
[_rIe, _rIef, _n, _t, _d, _aCN, _i, _p, _aCNp, _rS],
|
|
570
614
|
[0, 0, 0, 0, 0, 0, () => RecommendationItemList, 0, 64 | 0, 0], 4
|
|
571
615
|
];
|
|
572
616
|
export var App$ = [3, n0, _Ap,
|
|
@@ -636,7 +680,7 @@ export var BatchUpdateRecommendationStatusResponse$ = [3, n0, _BURSRa,
|
|
|
636
680
|
];
|
|
637
681
|
export var BatchUpdateRecommendationStatusSuccessfulEntry$ = [3, n0, _BURSSE,
|
|
638
682
|
0,
|
|
639
|
-
[_eI,
|
|
683
|
+
[_eI, _rIef, _ex, _it, _aCI, _eR],
|
|
640
684
|
[0, 0, 2, () => UpdateRecommendationStatusItem$, 0, 0], 3
|
|
641
685
|
];
|
|
642
686
|
export var ComplianceDrift$ = [3, n0, _CD,
|
|
@@ -656,15 +700,9 @@ export var Condition$ = [3, n0, _C,
|
|
|
656
700
|
];
|
|
657
701
|
export var ConfigRecommendation$ = [3, n0, _CRo,
|
|
658
702
|
0,
|
|
659
|
-
[_oT, _n,
|
|
703
|
+
[_oT, _n, _rIef, _co, _aCN, _com, _rCe, _d, _sC, _hA],
|
|
660
704
|
[0, 0, 0, () => Cost$, 0, () => AssessmentCompliance, () => RecommendationCompliance, 0, 64 | 0, 0], 3
|
|
661
705
|
];
|
|
662
|
-
export var ConflictException$ = [-3, n0, _CE,
|
|
663
|
-
{ [_er]: _c, [_hE]: 409 },
|
|
664
|
-
[_m, _rIes, _rT],
|
|
665
|
-
[0, 0, 0]
|
|
666
|
-
];
|
|
667
|
-
TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
|
|
668
706
|
export var Cost$ = [3, n0, _Co,
|
|
669
707
|
0,
|
|
670
708
|
[_a, _cu, _fr],
|
|
@@ -837,12 +875,12 @@ export var DescribeAppVersionResourceResponse$ = [3, n0, _DAVRResc,
|
|
|
837
875
|
];
|
|
838
876
|
export var DescribeAppVersionResourcesResolutionStatusRequest$ = [3, n0, _DAVRRSR,
|
|
839
877
|
0,
|
|
840
|
-
[_aA, _aV,
|
|
878
|
+
[_aA, _aV, _rIes],
|
|
841
879
|
[0, 0, 0], 2
|
|
842
880
|
];
|
|
843
881
|
export var DescribeAppVersionResourcesResolutionStatusResponse$ = [3, n0, _DAVRRSRe,
|
|
844
882
|
0,
|
|
845
|
-
[_aA, _aV,
|
|
883
|
+
[_aA, _aV, _rIes, _st, _eM],
|
|
846
884
|
[0, 0, 0, 0, 0], 4
|
|
847
885
|
];
|
|
848
886
|
export var DescribeAppVersionResponse$ = [3, n0, _DAVRe,
|
|
@@ -970,12 +1008,6 @@ export var ImportResourcesToDraftAppVersionResponse$ = [3, n0, _IRTDAVRm,
|
|
|
970
1008
|
[_aA, _aV, _st, _sAo, _tSe, _eSk],
|
|
971
1009
|
[0, 0, 0, 64 | 0, () => TerraformSourceList, () => EksSourceList], 3
|
|
972
1010
|
];
|
|
973
|
-
export var InternalServerException$ = [-3, n0, _ISE,
|
|
974
|
-
{ [_er]: _se, [_hE]: 500 },
|
|
975
|
-
[_m],
|
|
976
|
-
[0]
|
|
977
|
-
];
|
|
978
|
-
TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
|
|
979
1011
|
export var ListAlarmRecommendationsRequest$ = [3, n0, _LARR,
|
|
980
1012
|
0,
|
|
981
1013
|
[_aAs, _nT, _mR],
|
|
@@ -1078,12 +1110,12 @@ export var ListAppVersionResourceMappingsResponse$ = [3, n0, _LAVRMRi,
|
|
|
1078
1110
|
];
|
|
1079
1111
|
export var ListAppVersionResourcesRequest$ = [3, n0, _LAVRR,
|
|
1080
1112
|
0,
|
|
1081
|
-
[_aA, _aV,
|
|
1113
|
+
[_aA, _aV, _rIes, _nT, _mR],
|
|
1082
1114
|
[0, 0, 0, 0, 1], 2
|
|
1083
1115
|
];
|
|
1084
1116
|
export var ListAppVersionResourcesResponse$ = [3, n0, _LAVRRi,
|
|
1085
1117
|
0,
|
|
1086
|
-
[_pRh,
|
|
1118
|
+
[_pRh, _rIes, _nT],
|
|
1087
1119
|
[() => PhysicalResourceList, 0, 0], 2
|
|
1088
1120
|
];
|
|
1089
1121
|
export var ListAppVersionsRequest$ = [3, n0, _LAVR,
|
|
@@ -1098,7 +1130,7 @@ export var ListAppVersionsResponse$ = [3, n0, _LAVRi,
|
|
|
1098
1130
|
];
|
|
1099
1131
|
export var ListMetricsRequest$ = [3, n0, _LMR,
|
|
1100
1132
|
0,
|
|
1101
|
-
[_nT, _mR, _fi, _dSa, _con,
|
|
1133
|
+
[_nT, _mR, _fi, _dSa, _con, _sor],
|
|
1102
1134
|
[0, 1, () => FieldList, 0, () => ConditionList, () => SortList]
|
|
1103
1135
|
];
|
|
1104
1136
|
export var ListMetricsResponse$ = [3, n0, _LMRi,
|
|
@@ -1178,12 +1210,12 @@ export var ListTestRecommendationsResponse$ = [3, n0, _LTRRi,
|
|
|
1178
1210
|
];
|
|
1179
1211
|
export var ListUnsupportedAppVersionResourcesRequest$ = [3, n0, _LUAVRR,
|
|
1180
1212
|
0,
|
|
1181
|
-
[_aA, _aV,
|
|
1213
|
+
[_aA, _aV, _rIes, _nT, _mR],
|
|
1182
1214
|
[0, 0, 0, 0, 1], 2
|
|
1183
1215
|
];
|
|
1184
1216
|
export var ListUnsupportedAppVersionResourcesResponse$ = [3, n0, _LUAVRRi,
|
|
1185
1217
|
0,
|
|
1186
|
-
[_uR,
|
|
1218
|
+
[_uR, _rIes, _nT],
|
|
1187
1219
|
[() => UnsupportedResourceList, 0, 0], 2
|
|
1188
1220
|
];
|
|
1189
1221
|
export var LogicalResourceId$ = [3, n0, _LRI,
|
|
@@ -1233,7 +1265,7 @@ export var RecommendationDisruptionCompliance$ = [3, n0, _RDC,
|
|
|
1233
1265
|
];
|
|
1234
1266
|
export var RecommendationItem$ = [3, n0, _RI,
|
|
1235
1267
|
0,
|
|
1236
|
-
[
|
|
1268
|
+
[_rI, _tAI, _tRa, _aIl, _ex, _eR, _lDE, _dA],
|
|
1237
1269
|
[0, 0, 0, 2, 2, 0, () => Experiment$, () => Alarm$]
|
|
1238
1270
|
];
|
|
1239
1271
|
export var RecommendationTemplate$ = [3, n0, _RT,
|
|
@@ -1248,7 +1280,7 @@ export var RejectGroupingRecommendationEntry$ = [3, n0, _RGRE,
|
|
|
1248
1280
|
];
|
|
1249
1281
|
export var RejectResourceGroupingRecommendationsRequest$ = [3, n0, _RRGRR,
|
|
1250
1282
|
0,
|
|
1251
|
-
[_aA,
|
|
1283
|
+
[_aA, _en],
|
|
1252
1284
|
[0, () => RejectGroupingRecommendationEntries], 2
|
|
1253
1285
|
];
|
|
1254
1286
|
export var RejectResourceGroupingRecommendationsResponse$ = [3, n0, _RRGRRe,
|
|
@@ -1283,12 +1315,12 @@ export var ResolveAppVersionResourcesRequest$ = [3, n0, _RAVRR,
|
|
|
1283
1315
|
];
|
|
1284
1316
|
export var ResolveAppVersionResourcesResponse$ = [3, n0, _RAVRRe,
|
|
1285
1317
|
0,
|
|
1286
|
-
[_aA, _aV,
|
|
1318
|
+
[_aA, _aV, _rIes, _st],
|
|
1287
1319
|
[0, 0, 0, 0], 4
|
|
1288
1320
|
];
|
|
1289
1321
|
export var ResourceDrift$ = [3, n0, _RD,
|
|
1290
1322
|
0,
|
|
1291
|
-
[_aA, _aV,
|
|
1323
|
+
[_aA, _aV, _rIef, _rIeso, _dTi],
|
|
1292
1324
|
[0, 0, 0, () => ResourceIdentifier$, 0]
|
|
1293
1325
|
];
|
|
1294
1326
|
export var ResourceError$ = [3, n0, _RE,
|
|
@@ -1311,12 +1343,6 @@ export var ResourceMapping$ = [3, n0, _RM,
|
|
|
1311
1343
|
[_mT, _pRI, _rN, _lSN, _aRANp, _rGN, _tSN, _eSN],
|
|
1312
1344
|
[0, () => PhysicalResourceId$, 0, 0, 0, 0, 0, 0], 2
|
|
1313
1345
|
];
|
|
1314
|
-
export var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
1315
|
-
{ [_er]: _c, [_hE]: 404 },
|
|
1316
|
-
[_m, _rIes, _rT],
|
|
1317
|
-
[0, 0, 0]
|
|
1318
|
-
];
|
|
1319
|
-
TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
1320
1346
|
export var S3Location$ = [3, n0, _SL,
|
|
1321
1347
|
0,
|
|
1322
1348
|
[_b, _pr],
|
|
@@ -1327,15 +1353,9 @@ export var ScoringComponentResiliencyScore$ = [3, n0, _SCRS,
|
|
|
1327
1353
|
[_sc, _pS, _oC, _eC],
|
|
1328
1354
|
[1, 1, 1, 1]
|
|
1329
1355
|
];
|
|
1330
|
-
export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
1331
|
-
{ [_er]: _c, [_hE]: 402 },
|
|
1332
|
-
[_m],
|
|
1333
|
-
[0]
|
|
1334
|
-
];
|
|
1335
|
-
TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
1336
1356
|
export var SopRecommendation$ = [3, n0, _SR,
|
|
1337
1357
|
0,
|
|
1338
|
-
[_sTe,
|
|
1358
|
+
[_sTe, _rIe, _rIef, _aCN, _d, _n, _i, _p, _rS],
|
|
1339
1359
|
[0, 0, 0, 0, 0, 0, () => RecommendationItemList, 0, 0], 3
|
|
1340
1360
|
];
|
|
1341
1361
|
export var Sort$ = [3, n0, _S,
|
|
@@ -1390,15 +1410,9 @@ export var TerraformSource$ = [3, n0, _TS,
|
|
|
1390
1410
|
];
|
|
1391
1411
|
export var TestRecommendation$ = [3, n0, _TR,
|
|
1392
1412
|
0,
|
|
1393
|
-
[
|
|
1413
|
+
[_rIef, _rIe, _aCI, _aCN, _n, _int, _r, _t, _d, _i, _p, _dOA, _rS],
|
|
1394
1414
|
[0, 0, 0, 0, 0, 0, 0, 0, 0, () => RecommendationItemList, 0, 64 | 0, 0], 1
|
|
1395
1415
|
];
|
|
1396
|
-
export var ThrottlingException$ = [-3, n0, _TE,
|
|
1397
|
-
{ [_er]: _c, [_hE]: 429 },
|
|
1398
|
-
[_m, _rAS],
|
|
1399
|
-
[0, 1]
|
|
1400
|
-
];
|
|
1401
|
-
TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
|
|
1402
1416
|
export var UnsupportedResource$ = [3, n0, _UR,
|
|
1403
1417
|
0,
|
|
1404
1418
|
[_lRI, _pRI, _rT, _uRS],
|
|
@@ -1456,12 +1470,12 @@ export var UpdateAppVersionResponse$ = [3, n0, _UAVRp,
|
|
|
1456
1470
|
];
|
|
1457
1471
|
export var UpdateRecommendationStatusItem$ = [3, n0, _URSI,
|
|
1458
1472
|
0,
|
|
1459
|
-
[
|
|
1473
|
+
[_rI, _tAI, _tRa],
|
|
1460
1474
|
[0, 0, 0]
|
|
1461
1475
|
];
|
|
1462
1476
|
export var UpdateRecommendationStatusRequestEntry$ = [3, n0, _URSRE,
|
|
1463
1477
|
0,
|
|
1464
|
-
[_eI,
|
|
1478
|
+
[_eI, _rIef, _ex, _it, _aCI, _eR],
|
|
1465
1479
|
[0, 0, 2, () => UpdateRecommendationStatusItem$, 0, 0], 3
|
|
1466
1480
|
];
|
|
1467
1481
|
export var UpdateResiliencyPolicyRequest$ = [3, n0, _URPR,
|
|
@@ -1474,14 +1488,6 @@ export var UpdateResiliencyPolicyResponse$ = [3, n0, _URPRp,
|
|
|
1474
1488
|
[_po],
|
|
1475
1489
|
[[() => ResiliencyPolicy$, 0]], 1
|
|
1476
1490
|
];
|
|
1477
|
-
export var ValidationException$ = [-3, n0, _VE,
|
|
1478
|
-
{ [_er]: _c, [_hE]: 400 },
|
|
1479
|
-
[_m],
|
|
1480
|
-
[0]
|
|
1481
|
-
];
|
|
1482
|
-
TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
|
|
1483
|
-
export var ResiliencehubServiceException$ = [-3, _sm, "ResiliencehubServiceException", 0, [], []];
|
|
1484
|
-
TypeRegistry.for(_sm).registerError(ResiliencehubServiceException$, ResiliencehubServiceException);
|
|
1485
1491
|
var AcceptGroupingRecommendationEntries = [1, n0, _AGREc,
|
|
1486
1492
|
0, () => AcceptGroupingRecommendationEntry$
|
|
1487
1493
|
];
|
|
@@ -1,8 +1,22 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
1
2
|
import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
3
|
+
export declare var ResiliencehubServiceException$: StaticErrorSchema;
|
|
4
|
+
export declare var AccessDeniedException$: StaticErrorSchema;
|
|
5
|
+
export declare var ConflictException$: StaticErrorSchema;
|
|
6
|
+
export declare var InternalServerException$: StaticErrorSchema;
|
|
7
|
+
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
8
|
+
export declare var ServiceQuotaExceededException$: StaticErrorSchema;
|
|
9
|
+
export declare var ThrottlingException$: StaticErrorSchema;
|
|
10
|
+
export declare var ValidationException$: StaticErrorSchema;
|
|
11
|
+
/**
|
|
12
|
+
* TypeRegistry instances containing modeled errors.
|
|
13
|
+
* @internal
|
|
14
|
+
*
|
|
15
|
+
*/
|
|
16
|
+
export declare const errorTypeRegistries: TypeRegistry[];
|
|
2
17
|
export declare var AcceptGroupingRecommendationEntry$: StaticStructureSchema;
|
|
3
18
|
export declare var AcceptResourceGroupingRecommendationsRequest$: StaticStructureSchema;
|
|
4
19
|
export declare var AcceptResourceGroupingRecommendationsResponse$: StaticStructureSchema;
|
|
5
|
-
export declare var AccessDeniedException$: StaticErrorSchema;
|
|
6
20
|
export declare var AddDraftAppVersionResourceMappingsRequest$: StaticStructureSchema;
|
|
7
21
|
export declare var AddDraftAppVersionResourceMappingsResponse$: StaticStructureSchema;
|
|
8
22
|
export declare var Alarm$: StaticStructureSchema;
|
|
@@ -25,7 +39,6 @@ export declare var ComplianceDrift$: StaticStructureSchema;
|
|
|
25
39
|
export declare var ComponentRecommendation$: StaticStructureSchema;
|
|
26
40
|
export declare var Condition$: StaticStructureSchema;
|
|
27
41
|
export declare var ConfigRecommendation$: StaticStructureSchema;
|
|
28
|
-
export declare var ConflictException$: StaticErrorSchema;
|
|
29
42
|
export declare var Cost$: StaticStructureSchema;
|
|
30
43
|
export declare var CreateAppRequest$: StaticStructureSchema;
|
|
31
44
|
export declare var CreateAppResponse$: StaticStructureSchema;
|
|
@@ -87,7 +100,6 @@ export declare var GroupingRecommendation$: StaticStructureSchema;
|
|
|
87
100
|
export declare var GroupingResource$: StaticStructureSchema;
|
|
88
101
|
export declare var ImportResourcesToDraftAppVersionRequest$: StaticStructureSchema;
|
|
89
102
|
export declare var ImportResourcesToDraftAppVersionResponse$: StaticStructureSchema;
|
|
90
|
-
export declare var InternalServerException$: StaticErrorSchema;
|
|
91
103
|
export declare var ListAlarmRecommendationsRequest$: StaticStructureSchema;
|
|
92
104
|
export declare var ListAlarmRecommendationsResponse$: StaticStructureSchema;
|
|
93
105
|
export declare var ListAppAssessmentComplianceDriftsRequest$: StaticStructureSchema;
|
|
@@ -155,10 +167,8 @@ export declare var ResourceError$: StaticStructureSchema;
|
|
|
155
167
|
export declare var ResourceErrorsDetails$: StaticStructureSchema;
|
|
156
168
|
export declare var ResourceIdentifier$: StaticStructureSchema;
|
|
157
169
|
export declare var ResourceMapping$: StaticStructureSchema;
|
|
158
|
-
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
159
170
|
export declare var S3Location$: StaticStructureSchema;
|
|
160
171
|
export declare var ScoringComponentResiliencyScore$: StaticStructureSchema;
|
|
161
|
-
export declare var ServiceQuotaExceededException$: StaticErrorSchema;
|
|
162
172
|
export declare var SopRecommendation$: StaticStructureSchema;
|
|
163
173
|
export declare var Sort$: StaticStructureSchema;
|
|
164
174
|
export declare var StartAppAssessmentRequest$: StaticStructureSchema;
|
|
@@ -171,7 +181,6 @@ export declare var TagResourceRequest$: StaticStructureSchema;
|
|
|
171
181
|
export declare var TagResourceResponse$: StaticStructureSchema;
|
|
172
182
|
export declare var TerraformSource$: StaticStructureSchema;
|
|
173
183
|
export declare var TestRecommendation$: StaticStructureSchema;
|
|
174
|
-
export declare var ThrottlingException$: StaticErrorSchema;
|
|
175
184
|
export declare var UnsupportedResource$: StaticStructureSchema;
|
|
176
185
|
export declare var UntagResourceRequest$: StaticStructureSchema;
|
|
177
186
|
export declare var UntagResourceResponse$: StaticStructureSchema;
|
|
@@ -187,8 +196,6 @@ export declare var UpdateRecommendationStatusItem$: StaticStructureSchema;
|
|
|
187
196
|
export declare var UpdateRecommendationStatusRequestEntry$: StaticStructureSchema;
|
|
188
197
|
export declare var UpdateResiliencyPolicyRequest$: StaticStructureSchema;
|
|
189
198
|
export declare var UpdateResiliencyPolicyResponse$: StaticStructureSchema;
|
|
190
|
-
export declare var ValidationException$: StaticErrorSchema;
|
|
191
|
-
export declare var ResiliencehubServiceException$: StaticErrorSchema;
|
|
192
199
|
export declare var AcceptResourceGroupingRecommendations$: StaticOperationSchema;
|
|
193
200
|
export declare var AddDraftAppVersionResourceMappings$: StaticOperationSchema;
|
|
194
201
|
export declare var BatchUpdateRecommendationStatus$: StaticOperationSchema;
|
|
@@ -1,12 +1,21 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
1
2
|
import {
|
|
2
3
|
StaticErrorSchema,
|
|
3
4
|
StaticOperationSchema,
|
|
4
5
|
StaticStructureSchema,
|
|
5
6
|
} from "@smithy/types";
|
|
7
|
+
export declare var ResiliencehubServiceException$: StaticErrorSchema;
|
|
8
|
+
export declare var AccessDeniedException$: StaticErrorSchema;
|
|
9
|
+
export declare var ConflictException$: StaticErrorSchema;
|
|
10
|
+
export declare var InternalServerException$: StaticErrorSchema;
|
|
11
|
+
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
12
|
+
export declare var ServiceQuotaExceededException$: StaticErrorSchema;
|
|
13
|
+
export declare var ThrottlingException$: StaticErrorSchema;
|
|
14
|
+
export declare var ValidationException$: StaticErrorSchema;
|
|
15
|
+
export declare const errorTypeRegistries: TypeRegistry[];
|
|
6
16
|
export declare var AcceptGroupingRecommendationEntry$: StaticStructureSchema;
|
|
7
17
|
export declare var AcceptResourceGroupingRecommendationsRequest$: StaticStructureSchema;
|
|
8
18
|
export declare var AcceptResourceGroupingRecommendationsResponse$: StaticStructureSchema;
|
|
9
|
-
export declare var AccessDeniedException$: StaticErrorSchema;
|
|
10
19
|
export declare var AddDraftAppVersionResourceMappingsRequest$: StaticStructureSchema;
|
|
11
20
|
export declare var AddDraftAppVersionResourceMappingsResponse$: StaticStructureSchema;
|
|
12
21
|
export declare var Alarm$: StaticStructureSchema;
|
|
@@ -29,7 +38,6 @@ export declare var ComplianceDrift$: StaticStructureSchema;
|
|
|
29
38
|
export declare var ComponentRecommendation$: StaticStructureSchema;
|
|
30
39
|
export declare var Condition$: StaticStructureSchema;
|
|
31
40
|
export declare var ConfigRecommendation$: StaticStructureSchema;
|
|
32
|
-
export declare var ConflictException$: StaticErrorSchema;
|
|
33
41
|
export declare var Cost$: StaticStructureSchema;
|
|
34
42
|
export declare var CreateAppRequest$: StaticStructureSchema;
|
|
35
43
|
export declare var CreateAppResponse$: StaticStructureSchema;
|
|
@@ -91,7 +99,6 @@ export declare var GroupingRecommendation$: StaticStructureSchema;
|
|
|
91
99
|
export declare var GroupingResource$: StaticStructureSchema;
|
|
92
100
|
export declare var ImportResourcesToDraftAppVersionRequest$: StaticStructureSchema;
|
|
93
101
|
export declare var ImportResourcesToDraftAppVersionResponse$: StaticStructureSchema;
|
|
94
|
-
export declare var InternalServerException$: StaticErrorSchema;
|
|
95
102
|
export declare var ListAlarmRecommendationsRequest$: StaticStructureSchema;
|
|
96
103
|
export declare var ListAlarmRecommendationsResponse$: StaticStructureSchema;
|
|
97
104
|
export declare var ListAppAssessmentComplianceDriftsRequest$: StaticStructureSchema;
|
|
@@ -159,10 +166,8 @@ export declare var ResourceError$: StaticStructureSchema;
|
|
|
159
166
|
export declare var ResourceErrorsDetails$: StaticStructureSchema;
|
|
160
167
|
export declare var ResourceIdentifier$: StaticStructureSchema;
|
|
161
168
|
export declare var ResourceMapping$: StaticStructureSchema;
|
|
162
|
-
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
163
169
|
export declare var S3Location$: StaticStructureSchema;
|
|
164
170
|
export declare var ScoringComponentResiliencyScore$: StaticStructureSchema;
|
|
165
|
-
export declare var ServiceQuotaExceededException$: StaticErrorSchema;
|
|
166
171
|
export declare var SopRecommendation$: StaticStructureSchema;
|
|
167
172
|
export declare var Sort$: StaticStructureSchema;
|
|
168
173
|
export declare var StartAppAssessmentRequest$: StaticStructureSchema;
|
|
@@ -175,7 +180,6 @@ export declare var TagResourceRequest$: StaticStructureSchema;
|
|
|
175
180
|
export declare var TagResourceResponse$: StaticStructureSchema;
|
|
176
181
|
export declare var TerraformSource$: StaticStructureSchema;
|
|
177
182
|
export declare var TestRecommendation$: StaticStructureSchema;
|
|
178
|
-
export declare var ThrottlingException$: StaticErrorSchema;
|
|
179
183
|
export declare var UnsupportedResource$: StaticStructureSchema;
|
|
180
184
|
export declare var UntagResourceRequest$: StaticStructureSchema;
|
|
181
185
|
export declare var UntagResourceResponse$: StaticStructureSchema;
|
|
@@ -191,8 +195,6 @@ export declare var UpdateRecommendationStatusItem$: StaticStructureSchema;
|
|
|
191
195
|
export declare var UpdateRecommendationStatusRequestEntry$: StaticStructureSchema;
|
|
192
196
|
export declare var UpdateResiliencyPolicyRequest$: StaticStructureSchema;
|
|
193
197
|
export declare var UpdateResiliencyPolicyResponse$: StaticStructureSchema;
|
|
194
|
-
export declare var ValidationException$: StaticErrorSchema;
|
|
195
|
-
export declare var ResiliencehubServiceException$: StaticErrorSchema;
|
|
196
198
|
export declare var AcceptResourceGroupingRecommendations$: StaticOperationSchema;
|
|
197
199
|
export declare var AddDraftAppVersionResourceMappings$: StaticOperationSchema;
|
|
198
200
|
export declare var BatchUpdateRecommendationStatus$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-resiliencehub",
|
|
3
3
|
"description": "AWS SDK for JavaScript Resiliencehub Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.988.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-resiliencehub",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.973.8",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.7",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "^3.972.3",
|
|
27
27
|
"@aws-sdk/middleware-logger": "^3.972.3",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "^3.972.3",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.8",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "^3.972.3",
|
|
31
31
|
"@aws-sdk/types": "^3.973.1",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.988.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "^3.972.3",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.6",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.23.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.14",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.31",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
|
-
"@smithy/node-http-handler": "^4.4.
|
|
46
|
+
"@smithy/node-http-handler": "^4.4.10",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.11.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.3",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.30",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.33",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|