@aws-sdk/client-resiliencehub 3.622.0 → 3.623.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/README.md +40 -0
- package/dist-cjs/index.js +366 -57
- package/dist-es/Resiliencehub.js +10 -0
- package/dist-es/commands/AcceptResourceGroupingRecommendationsCommand.js +24 -0
- package/dist-es/commands/DescribeResourceGroupingRecommendationTaskCommand.js +24 -0
- package/dist-es/commands/ListResourceGroupingRecommendationsCommand.js +24 -0
- package/dist-es/commands/RejectResourceGroupingRecommendationsCommand.js +24 -0
- package/dist-es/commands/StartResourceGroupingRecommendationTaskCommand.js +24 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +64 -38
- package/dist-es/pagination/ListResourceGroupingRecommendationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +171 -3
- package/dist-types/Resiliencehub.d.ts +36 -0
- package/dist-types/ResiliencehubClient.d.ts +7 -2
- package/dist-types/commands/AcceptResourceGroupingRecommendationsCommand.d.ts +89 -0
- package/dist-types/commands/AddDraftAppVersionResourceMappingsCommand.d.ts +10 -1
- package/dist-types/commands/CreateAppCommand.d.ts +8 -7
- package/dist-types/commands/CreateAppVersionAppComponentCommand.d.ts +3 -1
- package/dist-types/commands/CreateAppVersionResourceCommand.d.ts +5 -5
- package/dist-types/commands/CreateResiliencyPolicyCommand.d.ts +5 -3
- package/dist-types/commands/DeleteAppAssessmentCommand.d.ts +2 -2
- package/dist-types/commands/DeleteAppInputSourceCommand.d.ts +2 -1
- package/dist-types/commands/DeleteAppVersionAppComponentCommand.d.ts +5 -2
- package/dist-types/commands/DeleteAppVersionResourceCommand.d.ts +5 -2
- package/dist-types/commands/DescribeAppAssessmentCommand.d.ts +12 -0
- package/dist-types/commands/DescribeAppVersionResourceCommand.d.ts +3 -3
- package/dist-types/commands/DescribeDraftAppVersionResourcesImportStatusCommand.d.ts +1 -1
- package/dist-types/commands/DescribeResourceGroupingRecommendationTaskCommand.d.ts +81 -0
- package/dist-types/commands/ImportResourcesToDraftAppVersionCommand.d.ts +3 -2
- package/dist-types/commands/ListAppAssessmentResourceDriftsCommand.d.ts +2 -1
- package/dist-types/commands/ListAppAssessmentsCommand.d.ts +2 -2
- package/dist-types/commands/ListAppInputSourcesCommand.d.ts +2 -2
- package/dist-types/commands/ListResourceGroupingRecommendationsCommand.d.ts +120 -0
- package/dist-types/commands/ListSopRecommendationsCommand.d.ts +1 -2
- package/dist-types/commands/ListSuggestedResiliencyPoliciesCommand.d.ts +2 -1
- package/dist-types/commands/ListUnsupportedAppVersionResourcesCommand.d.ts +3 -3
- package/dist-types/commands/PutDraftAppVersionTemplateCommand.d.ts +2 -1
- package/dist-types/commands/RejectResourceGroupingRecommendationsCommand.d.ts +90 -0
- package/dist-types/commands/StartAppAssessmentCommand.d.ts +12 -0
- package/dist-types/commands/StartResourceGroupingRecommendationTaskCommand.d.ts +87 -0
- package/dist-types/commands/UpdateAppVersionAppComponentCommand.d.ts +3 -1
- package/dist-types/commands/UpdateAppVersionCommand.d.ts +3 -3
- package/dist-types/commands/UpdateAppVersionResourceCommand.d.ts +5 -3
- package/dist-types/commands/UpdateResiliencyPolicyCommand.d.ts +4 -4
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +600 -111
- package/dist-types/pagination/ListResourceGroupingRecommendationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
- package/dist-types/ts3.4/Resiliencehub.d.ts +116 -0
- package/dist-types/ts3.4/ResiliencehubClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/AcceptResourceGroupingRecommendationsCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/DescribeResourceGroupingRecommendationTaskCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/ListResourceGroupingRecommendationsCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/RejectResourceGroupingRecommendationsCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/StartResourceGroupingRecommendationTaskCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +155 -34
- package/dist-types/ts3.4/pagination/ListResourceGroupingRecommendationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
- package/package.json +5 -5
package/dist-cjs/index.js
CHANGED
|
@@ -21,6 +21,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
21
21
|
// src/index.ts
|
|
22
22
|
var src_exports = {};
|
|
23
23
|
__export(src_exports, {
|
|
24
|
+
AcceptResourceGroupingRecommendationsCommand: () => AcceptResourceGroupingRecommendationsCommand,
|
|
24
25
|
AccessDeniedException: () => AccessDeniedException,
|
|
25
26
|
AddDraftAppVersionResourceMappingsCommand: () => AddDraftAppVersionResourceMappingsCommand,
|
|
26
27
|
AlarmType: () => AlarmType,
|
|
@@ -68,6 +69,7 @@ __export(src_exports, {
|
|
|
68
69
|
DescribeDraftAppVersionResourcesImportStatusCommand: () => DescribeDraftAppVersionResourcesImportStatusCommand,
|
|
69
70
|
DescribeResiliencyPolicyCommand: () => DescribeResiliencyPolicyCommand,
|
|
70
71
|
DescribeResiliencyPolicyResponseFilterSensitiveLog: () => DescribeResiliencyPolicyResponseFilterSensitiveLog,
|
|
72
|
+
DescribeResourceGroupingRecommendationTaskCommand: () => DescribeResourceGroupingRecommendationTaskCommand,
|
|
71
73
|
DifferenceType: () => DifferenceType,
|
|
72
74
|
DisruptionType: () => DisruptionType,
|
|
73
75
|
DriftStatus: () => DriftStatus,
|
|
@@ -75,6 +77,9 @@ __export(src_exports, {
|
|
|
75
77
|
EstimatedCostTier: () => EstimatedCostTier,
|
|
76
78
|
EventType: () => EventType,
|
|
77
79
|
ExcludeRecommendationReason: () => ExcludeRecommendationReason,
|
|
80
|
+
GroupingRecommendationConfidenceLevel: () => GroupingRecommendationConfidenceLevel,
|
|
81
|
+
GroupingRecommendationRejectionReason: () => GroupingRecommendationRejectionReason,
|
|
82
|
+
GroupingRecommendationStatusType: () => GroupingRecommendationStatusType,
|
|
78
83
|
HaArchitecture: () => HaArchitecture,
|
|
79
84
|
ImportResourcesToDraftAppVersionCommand: () => ImportResourcesToDraftAppVersionCommand,
|
|
80
85
|
InternalServerException: () => InternalServerException,
|
|
@@ -94,6 +99,7 @@ __export(src_exports, {
|
|
|
94
99
|
ListRecommendationTemplatesResponseFilterSensitiveLog: () => ListRecommendationTemplatesResponseFilterSensitiveLog,
|
|
95
100
|
ListResiliencyPoliciesCommand: () => ListResiliencyPoliciesCommand,
|
|
96
101
|
ListResiliencyPoliciesResponseFilterSensitiveLog: () => ListResiliencyPoliciesResponseFilterSensitiveLog,
|
|
102
|
+
ListResourceGroupingRecommendationsCommand: () => ListResourceGroupingRecommendationsCommand,
|
|
97
103
|
ListSopRecommendationsCommand: () => ListSopRecommendationsCommand,
|
|
98
104
|
ListSuggestedResiliencyPoliciesCommand: () => ListSuggestedResiliencyPoliciesCommand,
|
|
99
105
|
ListSuggestedResiliencyPoliciesResponseFilterSensitiveLog: () => ListSuggestedResiliencyPoliciesResponseFilterSensitiveLog,
|
|
@@ -109,6 +115,7 @@ __export(src_exports, {
|
|
|
109
115
|
RecommendationStatus: () => RecommendationStatus,
|
|
110
116
|
RecommendationTemplateFilterSensitiveLog: () => RecommendationTemplateFilterSensitiveLog,
|
|
111
117
|
RecommendationTemplateStatus: () => RecommendationTemplateStatus,
|
|
118
|
+
RejectResourceGroupingRecommendationsCommand: () => RejectResourceGroupingRecommendationsCommand,
|
|
112
119
|
RemoveDraftAppVersionResourceMappingsCommand: () => RemoveDraftAppVersionResourceMappingsCommand,
|
|
113
120
|
RenderRecommendationType: () => RenderRecommendationType,
|
|
114
121
|
Resiliencehub: () => Resiliencehub,
|
|
@@ -124,11 +131,13 @@ __export(src_exports, {
|
|
|
124
131
|
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
125
132
|
ResourceResolutionStatusType: () => ResourceResolutionStatusType,
|
|
126
133
|
ResourceSourceType: () => ResourceSourceType,
|
|
134
|
+
ResourcesGroupingRecGenStatusType: () => ResourcesGroupingRecGenStatusType,
|
|
127
135
|
ServiceQuotaExceededException: () => ServiceQuotaExceededException,
|
|
128
136
|
SopServiceType: () => SopServiceType,
|
|
129
137
|
StartAppAssessmentCommand: () => StartAppAssessmentCommand,
|
|
130
138
|
StartAppAssessmentRequestFilterSensitiveLog: () => StartAppAssessmentRequestFilterSensitiveLog,
|
|
131
139
|
StartAppAssessmentResponseFilterSensitiveLog: () => StartAppAssessmentResponseFilterSensitiveLog,
|
|
140
|
+
StartResourceGroupingRecommendationTaskCommand: () => StartResourceGroupingRecommendationTaskCommand,
|
|
132
141
|
TagResourceCommand: () => TagResourceCommand,
|
|
133
142
|
TagResourceRequestFilterSensitiveLog: () => TagResourceRequestFilterSensitiveLog,
|
|
134
143
|
TemplateFormat: () => TemplateFormat,
|
|
@@ -160,6 +169,7 @@ __export(src_exports, {
|
|
|
160
169
|
paginateListApps: () => paginateListApps,
|
|
161
170
|
paginateListRecommendationTemplates: () => paginateListRecommendationTemplates,
|
|
162
171
|
paginateListResiliencyPolicies: () => paginateListResiliencyPolicies,
|
|
172
|
+
paginateListResourceGroupingRecommendations: () => paginateListResourceGroupingRecommendations,
|
|
163
173
|
paginateListSopRecommendations: () => paginateListSopRecommendations,
|
|
164
174
|
paginateListSuggestedResiliencyPolicies: () => paginateListSuggestedResiliencyPolicies,
|
|
165
175
|
paginateListTestRecommendations: () => paginateListTestRecommendations,
|
|
@@ -307,7 +317,7 @@ var ResiliencehubClient = _ResiliencehubClient;
|
|
|
307
317
|
// src/Resiliencehub.ts
|
|
308
318
|
|
|
309
319
|
|
|
310
|
-
// src/commands/
|
|
320
|
+
// src/commands/AcceptResourceGroupingRecommendationsCommand.ts
|
|
311
321
|
|
|
312
322
|
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
313
323
|
|
|
@@ -353,37 +363,6 @@ var _AccessDeniedException = class _AccessDeniedException extends ResiliencehubS
|
|
|
353
363
|
};
|
|
354
364
|
__name(_AccessDeniedException, "AccessDeniedException");
|
|
355
365
|
var AccessDeniedException = _AccessDeniedException;
|
|
356
|
-
var ResourceMappingType = {
|
|
357
|
-
APP_REGISTRY_APP: "AppRegistryApp",
|
|
358
|
-
CFN_STACK: "CfnStack",
|
|
359
|
-
EKS: "EKS",
|
|
360
|
-
RESOURCE: "Resource",
|
|
361
|
-
RESOURCE_GROUP: "ResourceGroup",
|
|
362
|
-
TERRAFORM: "Terraform"
|
|
363
|
-
};
|
|
364
|
-
var PhysicalIdentifierType = {
|
|
365
|
-
ARN: "Arn",
|
|
366
|
-
NATIVE: "Native"
|
|
367
|
-
};
|
|
368
|
-
var _ConflictException = class _ConflictException extends ResiliencehubServiceException {
|
|
369
|
-
/**
|
|
370
|
-
* @internal
|
|
371
|
-
*/
|
|
372
|
-
constructor(opts) {
|
|
373
|
-
super({
|
|
374
|
-
name: "ConflictException",
|
|
375
|
-
$fault: "client",
|
|
376
|
-
...opts
|
|
377
|
-
});
|
|
378
|
-
this.name = "ConflictException";
|
|
379
|
-
this.$fault = "client";
|
|
380
|
-
Object.setPrototypeOf(this, _ConflictException.prototype);
|
|
381
|
-
this.resourceId = opts.resourceId;
|
|
382
|
-
this.resourceType = opts.resourceType;
|
|
383
|
-
}
|
|
384
|
-
};
|
|
385
|
-
__name(_ConflictException, "ConflictException");
|
|
386
|
-
var ConflictException = _ConflictException;
|
|
387
366
|
var _InternalServerException = class _InternalServerException extends ResiliencehubServiceException {
|
|
388
367
|
/**
|
|
389
368
|
* @internal
|
|
@@ -455,6 +434,54 @@ var _ValidationException = class _ValidationException extends ResiliencehubServi
|
|
|
455
434
|
};
|
|
456
435
|
__name(_ValidationException, "ValidationException");
|
|
457
436
|
var ValidationException = _ValidationException;
|
|
437
|
+
var ResourceMappingType = {
|
|
438
|
+
APP_REGISTRY_APP: "AppRegistryApp",
|
|
439
|
+
CFN_STACK: "CfnStack",
|
|
440
|
+
EKS: "EKS",
|
|
441
|
+
RESOURCE: "Resource",
|
|
442
|
+
RESOURCE_GROUP: "ResourceGroup",
|
|
443
|
+
TERRAFORM: "Terraform"
|
|
444
|
+
};
|
|
445
|
+
var PhysicalIdentifierType = {
|
|
446
|
+
ARN: "Arn",
|
|
447
|
+
NATIVE: "Native"
|
|
448
|
+
};
|
|
449
|
+
var _ConflictException = class _ConflictException extends ResiliencehubServiceException {
|
|
450
|
+
/**
|
|
451
|
+
* @internal
|
|
452
|
+
*/
|
|
453
|
+
constructor(opts) {
|
|
454
|
+
super({
|
|
455
|
+
name: "ConflictException",
|
|
456
|
+
$fault: "client",
|
|
457
|
+
...opts
|
|
458
|
+
});
|
|
459
|
+
this.name = "ConflictException";
|
|
460
|
+
this.$fault = "client";
|
|
461
|
+
Object.setPrototypeOf(this, _ConflictException.prototype);
|
|
462
|
+
this.resourceId = opts.resourceId;
|
|
463
|
+
this.resourceType = opts.resourceType;
|
|
464
|
+
}
|
|
465
|
+
};
|
|
466
|
+
__name(_ConflictException, "ConflictException");
|
|
467
|
+
var ConflictException = _ConflictException;
|
|
468
|
+
var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends ResiliencehubServiceException {
|
|
469
|
+
/**
|
|
470
|
+
* @internal
|
|
471
|
+
*/
|
|
472
|
+
constructor(opts) {
|
|
473
|
+
super({
|
|
474
|
+
name: "ServiceQuotaExceededException",
|
|
475
|
+
$fault: "client",
|
|
476
|
+
...opts
|
|
477
|
+
});
|
|
478
|
+
this.name = "ServiceQuotaExceededException";
|
|
479
|
+
this.$fault = "client";
|
|
480
|
+
Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
|
|
481
|
+
}
|
|
482
|
+
};
|
|
483
|
+
__name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
|
|
484
|
+
var ServiceQuotaExceededException = _ServiceQuotaExceededException;
|
|
458
485
|
var ExcludeRecommendationReason = {
|
|
459
486
|
ALREADY_IMPLEMENTED: "AlreadyImplemented",
|
|
460
487
|
COMPLEXITY_OF_IMPLEMENTATION: "ComplexityOfImplementation",
|
|
@@ -479,6 +506,8 @@ var AppAssessmentScheduleType = {
|
|
|
479
506
|
};
|
|
480
507
|
var AppComplianceStatusType = {
|
|
481
508
|
CHANGES_DETECTED: "ChangesDetected",
|
|
509
|
+
MISSING_POLICY: "MissingPolicy",
|
|
510
|
+
NOT_APPLICABLE: "NotApplicable",
|
|
482
511
|
NOT_ASSESSED: "NotAssessed",
|
|
483
512
|
POLICY_BREACHED: "PolicyBreached",
|
|
484
513
|
POLICY_MET: "PolicyMet"
|
|
@@ -513,6 +542,8 @@ var DisruptionType = {
|
|
|
513
542
|
SOFTWARE: "Software"
|
|
514
543
|
};
|
|
515
544
|
var ComplianceStatus = {
|
|
545
|
+
MISSING_POLICY: "MissingPolicy",
|
|
546
|
+
NOT_APPLICABLE: "NotApplicable",
|
|
516
547
|
POLICY_BREACHED: "PolicyBreached",
|
|
517
548
|
POLICY_MET: "PolicyMet"
|
|
518
549
|
};
|
|
@@ -556,23 +587,6 @@ var ResiliencyScoreType = {
|
|
|
556
587
|
SOP: "Sop",
|
|
557
588
|
TEST: "Test"
|
|
558
589
|
};
|
|
559
|
-
var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends ResiliencehubServiceException {
|
|
560
|
-
/**
|
|
561
|
-
* @internal
|
|
562
|
-
*/
|
|
563
|
-
constructor(opts) {
|
|
564
|
-
super({
|
|
565
|
-
name: "ServiceQuotaExceededException",
|
|
566
|
-
$fault: "client",
|
|
567
|
-
...opts
|
|
568
|
-
});
|
|
569
|
-
this.name = "ServiceQuotaExceededException";
|
|
570
|
-
this.$fault = "client";
|
|
571
|
-
Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
|
|
572
|
-
}
|
|
573
|
-
};
|
|
574
|
-
__name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
|
|
575
|
-
var ServiceQuotaExceededException = _ServiceQuotaExceededException;
|
|
576
590
|
var ResourceSourceType = {
|
|
577
591
|
APP_TEMPLATE: "AppTemplate",
|
|
578
592
|
DISCOVERED: "Discovered"
|
|
@@ -604,6 +618,12 @@ var ResourceImportStatusType = {
|
|
|
604
618
|
PENDING: "Pending",
|
|
605
619
|
SUCCESS: "Success"
|
|
606
620
|
};
|
|
621
|
+
var ResourcesGroupingRecGenStatusType = {
|
|
622
|
+
FAILED: "Failed",
|
|
623
|
+
IN_PROGRESS: "InProgress",
|
|
624
|
+
PENDING: "Pending",
|
|
625
|
+
SUCCESS: "Success"
|
|
626
|
+
};
|
|
607
627
|
var ResourceImportStrategyType = {
|
|
608
628
|
ADD_ONLY: "AddOnly",
|
|
609
629
|
REPLACE_ALL: "ReplaceAll"
|
|
@@ -635,7 +655,23 @@ var ConfigRecommendationOptimizationType = {
|
|
|
635
655
|
var RecommendationComplianceStatus = {
|
|
636
656
|
BREACHED_CAN_MEET: "BreachedCanMeet",
|
|
637
657
|
BREACHED_UNATTAINABLE: "BreachedUnattainable",
|
|
638
|
-
MET_CAN_IMPROVE: "MetCanImprove"
|
|
658
|
+
MET_CAN_IMPROVE: "MetCanImprove",
|
|
659
|
+
MISSING_POLICY: "MissingPolicy"
|
|
660
|
+
};
|
|
661
|
+
var GroupingRecommendationConfidenceLevel = {
|
|
662
|
+
HIGH: "High",
|
|
663
|
+
MEDIUM: "Medium"
|
|
664
|
+
};
|
|
665
|
+
var GroupingRecommendationRejectionReason = {
|
|
666
|
+
DISTINCT_BUSINESS_PURPOSE: "DistinctBusinessPurpose",
|
|
667
|
+
DISTINCT_USER_GROUP_HANDLING: "DistinctUserGroupHandling",
|
|
668
|
+
OTHER: "Other",
|
|
669
|
+
SEPARATE_DATA_CONCERN: "SeparateDataConcern"
|
|
670
|
+
};
|
|
671
|
+
var GroupingRecommendationStatusType = {
|
|
672
|
+
ACCEPTED: "Accepted",
|
|
673
|
+
PENDING_DECISION: "PendingDecision",
|
|
674
|
+
REJECTED: "Rejected"
|
|
639
675
|
};
|
|
640
676
|
var SopServiceType = {
|
|
641
677
|
SSM: "SSM"
|
|
@@ -754,6 +790,22 @@ var UpdateResiliencyPolicyResponseFilterSensitiveLog = /* @__PURE__ */ __name((o
|
|
|
754
790
|
}), "UpdateResiliencyPolicyResponseFilterSensitiveLog");
|
|
755
791
|
|
|
756
792
|
// src/protocols/Aws_restJson1.ts
|
|
793
|
+
var se_AcceptResourceGroupingRecommendationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
794
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
795
|
+
const headers = {
|
|
796
|
+
"content-type": "application/json"
|
|
797
|
+
};
|
|
798
|
+
b.bp("/accept-resource-grouping-recommendations");
|
|
799
|
+
let body;
|
|
800
|
+
body = JSON.stringify(
|
|
801
|
+
(0, import_smithy_client.take)(input, {
|
|
802
|
+
appArn: [],
|
|
803
|
+
entries: (_) => (0, import_smithy_client._json)(_)
|
|
804
|
+
})
|
|
805
|
+
);
|
|
806
|
+
b.m("POST").h(headers).b(body);
|
|
807
|
+
return b.build();
|
|
808
|
+
}, "se_AcceptResourceGroupingRecommendationsCommand");
|
|
757
809
|
var se_AddDraftAppVersionResourceMappingsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
758
810
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
759
811
|
const headers = {
|
|
@@ -1164,6 +1216,22 @@ var se_DescribeResiliencyPolicyCommand = /* @__PURE__ */ __name(async (input, co
|
|
|
1164
1216
|
b.m("POST").h(headers).b(body);
|
|
1165
1217
|
return b.build();
|
|
1166
1218
|
}, "se_DescribeResiliencyPolicyCommand");
|
|
1219
|
+
var se_DescribeResourceGroupingRecommendationTaskCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1220
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1221
|
+
const headers = {
|
|
1222
|
+
"content-type": "application/json"
|
|
1223
|
+
};
|
|
1224
|
+
b.bp("/describe-resource-grouping-recommendation-task");
|
|
1225
|
+
let body;
|
|
1226
|
+
body = JSON.stringify(
|
|
1227
|
+
(0, import_smithy_client.take)(input, {
|
|
1228
|
+
appArn: [],
|
|
1229
|
+
groupingId: []
|
|
1230
|
+
})
|
|
1231
|
+
);
|
|
1232
|
+
b.m("POST").h(headers).b(body);
|
|
1233
|
+
return b.build();
|
|
1234
|
+
}, "se_DescribeResourceGroupingRecommendationTaskCommand");
|
|
1167
1235
|
var se_ImportResourcesToDraftAppVersionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1168
1236
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1169
1237
|
const headers = {
|
|
@@ -1425,6 +1493,19 @@ var se_ListResiliencyPoliciesCommand = /* @__PURE__ */ __name(async (input, cont
|
|
|
1425
1493
|
b.m("GET").h(headers).q(query).b(body);
|
|
1426
1494
|
return b.build();
|
|
1427
1495
|
}, "se_ListResiliencyPoliciesCommand");
|
|
1496
|
+
var se_ListResourceGroupingRecommendationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1497
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1498
|
+
const headers = {};
|
|
1499
|
+
b.bp("/list-resource-grouping-recommendations");
|
|
1500
|
+
const query = (0, import_smithy_client.map)({
|
|
1501
|
+
[_aA]: [, input[_aA]],
|
|
1502
|
+
[_nT]: [, input[_nT]],
|
|
1503
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]
|
|
1504
|
+
});
|
|
1505
|
+
let body;
|
|
1506
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
1507
|
+
return b.build();
|
|
1508
|
+
}, "se_ListResourceGroupingRecommendationsCommand");
|
|
1428
1509
|
var se_ListSopRecommendationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1429
1510
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1430
1511
|
const headers = {
|
|
@@ -1531,6 +1612,22 @@ var se_PutDraftAppVersionTemplateCommand = /* @__PURE__ */ __name(async (input,
|
|
|
1531
1612
|
b.m("POST").h(headers).b(body);
|
|
1532
1613
|
return b.build();
|
|
1533
1614
|
}, "se_PutDraftAppVersionTemplateCommand");
|
|
1615
|
+
var se_RejectResourceGroupingRecommendationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1616
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1617
|
+
const headers = {
|
|
1618
|
+
"content-type": "application/json"
|
|
1619
|
+
};
|
|
1620
|
+
b.bp("/reject-resource-grouping-recommendations");
|
|
1621
|
+
let body;
|
|
1622
|
+
body = JSON.stringify(
|
|
1623
|
+
(0, import_smithy_client.take)(input, {
|
|
1624
|
+
appArn: [],
|
|
1625
|
+
entries: (_) => (0, import_smithy_client._json)(_)
|
|
1626
|
+
})
|
|
1627
|
+
);
|
|
1628
|
+
b.m("POST").h(headers).b(body);
|
|
1629
|
+
return b.build();
|
|
1630
|
+
}, "se_RejectResourceGroupingRecommendationsCommand");
|
|
1534
1631
|
var se_RemoveDraftAppVersionResourceMappingsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1535
1632
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1536
1633
|
const headers = {
|
|
@@ -1587,6 +1684,21 @@ var se_StartAppAssessmentCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
1587
1684
|
b.m("POST").h(headers).b(body);
|
|
1588
1685
|
return b.build();
|
|
1589
1686
|
}, "se_StartAppAssessmentCommand");
|
|
1687
|
+
var se_StartResourceGroupingRecommendationTaskCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1688
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1689
|
+
const headers = {
|
|
1690
|
+
"content-type": "application/json"
|
|
1691
|
+
};
|
|
1692
|
+
b.bp("/start-resource-grouping-recommendation-task");
|
|
1693
|
+
let body;
|
|
1694
|
+
body = JSON.stringify(
|
|
1695
|
+
(0, import_smithy_client.take)(input, {
|
|
1696
|
+
appArn: []
|
|
1697
|
+
})
|
|
1698
|
+
);
|
|
1699
|
+
b.m("POST").h(headers).b(body);
|
|
1700
|
+
return b.build();
|
|
1701
|
+
}, "se_StartResourceGroupingRecommendationTaskCommand");
|
|
1590
1702
|
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1591
1703
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1592
1704
|
const headers = {
|
|
@@ -1718,6 +1830,21 @@ var se_UpdateResiliencyPolicyCommand = /* @__PURE__ */ __name(async (input, cont
|
|
|
1718
1830
|
b.m("POST").h(headers).b(body);
|
|
1719
1831
|
return b.build();
|
|
1720
1832
|
}, "se_UpdateResiliencyPolicyCommand");
|
|
1833
|
+
var de_AcceptResourceGroupingRecommendationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1834
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1835
|
+
return de_CommandError(output, context);
|
|
1836
|
+
}
|
|
1837
|
+
const contents = (0, import_smithy_client.map)({
|
|
1838
|
+
$metadata: deserializeMetadata(output)
|
|
1839
|
+
});
|
|
1840
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1841
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1842
|
+
appArn: import_smithy_client.expectString,
|
|
1843
|
+
failedEntries: import_smithy_client._json
|
|
1844
|
+
});
|
|
1845
|
+
Object.assign(contents, doc);
|
|
1846
|
+
return contents;
|
|
1847
|
+
}, "de_AcceptResourceGroupingRecommendationsCommand");
|
|
1721
1848
|
var de_AddDraftAppVersionResourceMappingsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1722
1849
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1723
1850
|
return de_CommandError(output, context);
|
|
@@ -2071,6 +2198,22 @@ var de_DescribeResiliencyPolicyCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
2071
2198
|
Object.assign(contents, doc);
|
|
2072
2199
|
return contents;
|
|
2073
2200
|
}, "de_DescribeResiliencyPolicyCommand");
|
|
2201
|
+
var de_DescribeResourceGroupingRecommendationTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2202
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2203
|
+
return de_CommandError(output, context);
|
|
2204
|
+
}
|
|
2205
|
+
const contents = (0, import_smithy_client.map)({
|
|
2206
|
+
$metadata: deserializeMetadata(output)
|
|
2207
|
+
});
|
|
2208
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2209
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2210
|
+
errorMessage: import_smithy_client.expectString,
|
|
2211
|
+
groupingId: import_smithy_client.expectString,
|
|
2212
|
+
status: import_smithy_client.expectString
|
|
2213
|
+
});
|
|
2214
|
+
Object.assign(contents, doc);
|
|
2215
|
+
return contents;
|
|
2216
|
+
}, "de_DescribeResourceGroupingRecommendationTaskCommand");
|
|
2074
2217
|
var de_ImportResourcesToDraftAppVersionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2075
2218
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2076
2219
|
return de_CommandError(output, context);
|
|
@@ -2303,6 +2446,21 @@ var de_ListResiliencyPoliciesCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
2303
2446
|
Object.assign(contents, doc);
|
|
2304
2447
|
return contents;
|
|
2305
2448
|
}, "de_ListResiliencyPoliciesCommand");
|
|
2449
|
+
var de_ListResourceGroupingRecommendationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2450
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2451
|
+
return de_CommandError(output, context);
|
|
2452
|
+
}
|
|
2453
|
+
const contents = (0, import_smithy_client.map)({
|
|
2454
|
+
$metadata: deserializeMetadata(output)
|
|
2455
|
+
});
|
|
2456
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2457
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2458
|
+
groupingRecommendations: (_) => de_GroupingRecommendationList(_, context),
|
|
2459
|
+
nextToken: import_smithy_client.expectString
|
|
2460
|
+
});
|
|
2461
|
+
Object.assign(contents, doc);
|
|
2462
|
+
return contents;
|
|
2463
|
+
}, "de_ListResourceGroupingRecommendationsCommand");
|
|
2306
2464
|
var de_ListSopRecommendationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2307
2465
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2308
2466
|
return de_CommandError(output, context);
|
|
@@ -2410,6 +2568,21 @@ var de_PutDraftAppVersionTemplateCommand = /* @__PURE__ */ __name(async (output,
|
|
|
2410
2568
|
Object.assign(contents, doc);
|
|
2411
2569
|
return contents;
|
|
2412
2570
|
}, "de_PutDraftAppVersionTemplateCommand");
|
|
2571
|
+
var de_RejectResourceGroupingRecommendationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2572
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2573
|
+
return de_CommandError(output, context);
|
|
2574
|
+
}
|
|
2575
|
+
const contents = (0, import_smithy_client.map)({
|
|
2576
|
+
$metadata: deserializeMetadata(output)
|
|
2577
|
+
});
|
|
2578
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2579
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2580
|
+
appArn: import_smithy_client.expectString,
|
|
2581
|
+
failedEntries: import_smithy_client._json
|
|
2582
|
+
});
|
|
2583
|
+
Object.assign(contents, doc);
|
|
2584
|
+
return contents;
|
|
2585
|
+
}, "de_RejectResourceGroupingRecommendationsCommand");
|
|
2413
2586
|
var de_RemoveDraftAppVersionResourceMappingsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2414
2587
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2415
2588
|
return de_CommandError(output, context);
|
|
@@ -2456,6 +2629,23 @@ var de_StartAppAssessmentCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
2456
2629
|
Object.assign(contents, doc);
|
|
2457
2630
|
return contents;
|
|
2458
2631
|
}, "de_StartAppAssessmentCommand");
|
|
2632
|
+
var de_StartResourceGroupingRecommendationTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2633
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2634
|
+
return de_CommandError(output, context);
|
|
2635
|
+
}
|
|
2636
|
+
const contents = (0, import_smithy_client.map)({
|
|
2637
|
+
$metadata: deserializeMetadata(output)
|
|
2638
|
+
});
|
|
2639
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2640
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2641
|
+
appArn: import_smithy_client.expectString,
|
|
2642
|
+
errorMessage: import_smithy_client.expectString,
|
|
2643
|
+
groupingId: import_smithy_client.expectString,
|
|
2644
|
+
status: import_smithy_client.expectString
|
|
2645
|
+
});
|
|
2646
|
+
Object.assign(contents, doc);
|
|
2647
|
+
return contents;
|
|
2648
|
+
}, "de_StartResourceGroupingRecommendationTaskCommand");
|
|
2459
2649
|
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2460
2650
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2461
2651
|
return de_CommandError(output, context);
|
|
@@ -2562,9 +2752,6 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2562
2752
|
case "AccessDeniedException":
|
|
2563
2753
|
case "com.amazonaws.resiliencehub#AccessDeniedException":
|
|
2564
2754
|
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2565
|
-
case "ConflictException":
|
|
2566
|
-
case "com.amazonaws.resiliencehub#ConflictException":
|
|
2567
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2568
2755
|
case "InternalServerException":
|
|
2569
2756
|
case "com.amazonaws.resiliencehub#InternalServerException":
|
|
2570
2757
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
@@ -2577,6 +2764,9 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2577
2764
|
case "ValidationException":
|
|
2578
2765
|
case "com.amazonaws.resiliencehub#ValidationException":
|
|
2579
2766
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2767
|
+
case "ConflictException":
|
|
2768
|
+
case "com.amazonaws.resiliencehub#ConflictException":
|
|
2769
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2580
2770
|
case "ServiceQuotaExceededException":
|
|
2581
2771
|
case "com.amazonaws.resiliencehub#ServiceQuotaExceededException":
|
|
2582
2772
|
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
@@ -2726,6 +2916,7 @@ var de_AppAssessment = /* @__PURE__ */ __name((output, context) => {
|
|
|
2726
2916
|
resiliencyScore: (_) => de_ResiliencyScore(_, context),
|
|
2727
2917
|
resourceErrorsDetails: import_smithy_client._json,
|
|
2728
2918
|
startTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2919
|
+
summary: import_smithy_client._json,
|
|
2729
2920
|
tags: import_smithy_client._json,
|
|
2730
2921
|
versionName: import_smithy_client.expectString
|
|
2731
2922
|
});
|
|
@@ -2855,6 +3046,25 @@ var de_DisruptionResiliencyScore = /* @__PURE__ */ __name((output, context) => {
|
|
|
2855
3046
|
return acc;
|
|
2856
3047
|
}, {});
|
|
2857
3048
|
}, "de_DisruptionResiliencyScore");
|
|
3049
|
+
var de_GroupingRecommendation = /* @__PURE__ */ __name((output, context) => {
|
|
3050
|
+
return (0, import_smithy_client.take)(output, {
|
|
3051
|
+
confidenceLevel: import_smithy_client.expectString,
|
|
3052
|
+
creationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3053
|
+
groupingAppComponent: import_smithy_client._json,
|
|
3054
|
+
groupingRecommendationId: import_smithy_client.expectString,
|
|
3055
|
+
recommendationReasons: import_smithy_client._json,
|
|
3056
|
+
rejectionReason: import_smithy_client.expectString,
|
|
3057
|
+
resources: import_smithy_client._json,
|
|
3058
|
+
score: import_smithy_client.limitedParseDouble,
|
|
3059
|
+
status: import_smithy_client.expectString
|
|
3060
|
+
});
|
|
3061
|
+
}, "de_GroupingRecommendation");
|
|
3062
|
+
var de_GroupingRecommendationList = /* @__PURE__ */ __name((output, context) => {
|
|
3063
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
3064
|
+
return de_GroupingRecommendation(entry, context);
|
|
3065
|
+
});
|
|
3066
|
+
return retVal;
|
|
3067
|
+
}, "de_GroupingRecommendationList");
|
|
2858
3068
|
var de_RecommendationTemplate = /* @__PURE__ */ __name((output, context) => {
|
|
2859
3069
|
return (0, import_smithy_client.take)(output, {
|
|
2860
3070
|
appArn: import_smithy_client.expectString,
|
|
@@ -2948,7 +3158,23 @@ var _s = "status";
|
|
|
2948
3158
|
var _tK = "tagKeys";
|
|
2949
3159
|
var _tLAT = "toLastAssessmentTime";
|
|
2950
3160
|
|
|
3161
|
+
// src/commands/AcceptResourceGroupingRecommendationsCommand.ts
|
|
3162
|
+
var _AcceptResourceGroupingRecommendationsCommand = class _AcceptResourceGroupingRecommendationsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3163
|
+
...commonParams
|
|
3164
|
+
}).m(function(Command, cs, config, o) {
|
|
3165
|
+
return [
|
|
3166
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3167
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3168
|
+
];
|
|
3169
|
+
}).s("AwsResilienceHub", "AcceptResourceGroupingRecommendations", {}).n("ResiliencehubClient", "AcceptResourceGroupingRecommendationsCommand").f(void 0, void 0).ser(se_AcceptResourceGroupingRecommendationsCommand).de(de_AcceptResourceGroupingRecommendationsCommand).build() {
|
|
3170
|
+
};
|
|
3171
|
+
__name(_AcceptResourceGroupingRecommendationsCommand, "AcceptResourceGroupingRecommendationsCommand");
|
|
3172
|
+
var AcceptResourceGroupingRecommendationsCommand = _AcceptResourceGroupingRecommendationsCommand;
|
|
3173
|
+
|
|
2951
3174
|
// src/commands/AddDraftAppVersionResourceMappingsCommand.ts
|
|
3175
|
+
|
|
3176
|
+
|
|
3177
|
+
|
|
2952
3178
|
var _AddDraftAppVersionResourceMappingsCommand = class _AddDraftAppVersionResourceMappingsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2953
3179
|
...commonParams
|
|
2954
3180
|
}).m(function(Command, cs, config, o) {
|
|
@@ -3313,6 +3539,22 @@ var _DescribeResiliencyPolicyCommand = class _DescribeResiliencyPolicyCommand ex
|
|
|
3313
3539
|
__name(_DescribeResiliencyPolicyCommand, "DescribeResiliencyPolicyCommand");
|
|
3314
3540
|
var DescribeResiliencyPolicyCommand = _DescribeResiliencyPolicyCommand;
|
|
3315
3541
|
|
|
3542
|
+
// src/commands/DescribeResourceGroupingRecommendationTaskCommand.ts
|
|
3543
|
+
|
|
3544
|
+
|
|
3545
|
+
|
|
3546
|
+
var _DescribeResourceGroupingRecommendationTaskCommand = class _DescribeResourceGroupingRecommendationTaskCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3547
|
+
...commonParams
|
|
3548
|
+
}).m(function(Command, cs, config, o) {
|
|
3549
|
+
return [
|
|
3550
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3551
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3552
|
+
];
|
|
3553
|
+
}).s("AwsResilienceHub", "DescribeResourceGroupingRecommendationTask", {}).n("ResiliencehubClient", "DescribeResourceGroupingRecommendationTaskCommand").f(void 0, void 0).ser(se_DescribeResourceGroupingRecommendationTaskCommand).de(de_DescribeResourceGroupingRecommendationTaskCommand).build() {
|
|
3554
|
+
};
|
|
3555
|
+
__name(_DescribeResourceGroupingRecommendationTaskCommand, "DescribeResourceGroupingRecommendationTaskCommand");
|
|
3556
|
+
var DescribeResourceGroupingRecommendationTaskCommand = _DescribeResourceGroupingRecommendationTaskCommand;
|
|
3557
|
+
|
|
3316
3558
|
// src/commands/ImportResourcesToDraftAppVersionCommand.ts
|
|
3317
3559
|
|
|
3318
3560
|
|
|
@@ -3553,6 +3795,22 @@ var _ListResiliencyPoliciesCommand = class _ListResiliencyPoliciesCommand extend
|
|
|
3553
3795
|
__name(_ListResiliencyPoliciesCommand, "ListResiliencyPoliciesCommand");
|
|
3554
3796
|
var ListResiliencyPoliciesCommand = _ListResiliencyPoliciesCommand;
|
|
3555
3797
|
|
|
3798
|
+
// src/commands/ListResourceGroupingRecommendationsCommand.ts
|
|
3799
|
+
|
|
3800
|
+
|
|
3801
|
+
|
|
3802
|
+
var _ListResourceGroupingRecommendationsCommand = class _ListResourceGroupingRecommendationsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3803
|
+
...commonParams
|
|
3804
|
+
}).m(function(Command, cs, config, o) {
|
|
3805
|
+
return [
|
|
3806
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3807
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3808
|
+
];
|
|
3809
|
+
}).s("AwsResilienceHub", "ListResourceGroupingRecommendations", {}).n("ResiliencehubClient", "ListResourceGroupingRecommendationsCommand").f(void 0, void 0).ser(se_ListResourceGroupingRecommendationsCommand).de(de_ListResourceGroupingRecommendationsCommand).build() {
|
|
3810
|
+
};
|
|
3811
|
+
__name(_ListResourceGroupingRecommendationsCommand, "ListResourceGroupingRecommendationsCommand");
|
|
3812
|
+
var ListResourceGroupingRecommendationsCommand = _ListResourceGroupingRecommendationsCommand;
|
|
3813
|
+
|
|
3556
3814
|
// src/commands/ListSopRecommendationsCommand.ts
|
|
3557
3815
|
|
|
3558
3816
|
|
|
@@ -3665,6 +3923,22 @@ var _PutDraftAppVersionTemplateCommand = class _PutDraftAppVersionTemplateComman
|
|
|
3665
3923
|
__name(_PutDraftAppVersionTemplateCommand, "PutDraftAppVersionTemplateCommand");
|
|
3666
3924
|
var PutDraftAppVersionTemplateCommand = _PutDraftAppVersionTemplateCommand;
|
|
3667
3925
|
|
|
3926
|
+
// src/commands/RejectResourceGroupingRecommendationsCommand.ts
|
|
3927
|
+
|
|
3928
|
+
|
|
3929
|
+
|
|
3930
|
+
var _RejectResourceGroupingRecommendationsCommand = class _RejectResourceGroupingRecommendationsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3931
|
+
...commonParams
|
|
3932
|
+
}).m(function(Command, cs, config, o) {
|
|
3933
|
+
return [
|
|
3934
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3935
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3936
|
+
];
|
|
3937
|
+
}).s("AwsResilienceHub", "RejectResourceGroupingRecommendations", {}).n("ResiliencehubClient", "RejectResourceGroupingRecommendationsCommand").f(void 0, void 0).ser(se_RejectResourceGroupingRecommendationsCommand).de(de_RejectResourceGroupingRecommendationsCommand).build() {
|
|
3938
|
+
};
|
|
3939
|
+
__name(_RejectResourceGroupingRecommendationsCommand, "RejectResourceGroupingRecommendationsCommand");
|
|
3940
|
+
var RejectResourceGroupingRecommendationsCommand = _RejectResourceGroupingRecommendationsCommand;
|
|
3941
|
+
|
|
3668
3942
|
// src/commands/RemoveDraftAppVersionResourceMappingsCommand.ts
|
|
3669
3943
|
|
|
3670
3944
|
|
|
@@ -3713,6 +3987,22 @@ var _StartAppAssessmentCommand = class _StartAppAssessmentCommand extends import
|
|
|
3713
3987
|
__name(_StartAppAssessmentCommand, "StartAppAssessmentCommand");
|
|
3714
3988
|
var StartAppAssessmentCommand = _StartAppAssessmentCommand;
|
|
3715
3989
|
|
|
3990
|
+
// src/commands/StartResourceGroupingRecommendationTaskCommand.ts
|
|
3991
|
+
|
|
3992
|
+
|
|
3993
|
+
|
|
3994
|
+
var _StartResourceGroupingRecommendationTaskCommand = class _StartResourceGroupingRecommendationTaskCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3995
|
+
...commonParams
|
|
3996
|
+
}).m(function(Command, cs, config, o) {
|
|
3997
|
+
return [
|
|
3998
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3999
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4000
|
+
];
|
|
4001
|
+
}).s("AwsResilienceHub", "StartResourceGroupingRecommendationTask", {}).n("ResiliencehubClient", "StartResourceGroupingRecommendationTaskCommand").f(void 0, void 0).ser(se_StartResourceGroupingRecommendationTaskCommand).de(de_StartResourceGroupingRecommendationTaskCommand).build() {
|
|
4002
|
+
};
|
|
4003
|
+
__name(_StartResourceGroupingRecommendationTaskCommand, "StartResourceGroupingRecommendationTaskCommand");
|
|
4004
|
+
var StartResourceGroupingRecommendationTaskCommand = _StartResourceGroupingRecommendationTaskCommand;
|
|
4005
|
+
|
|
3716
4006
|
// src/commands/TagResourceCommand.ts
|
|
3717
4007
|
|
|
3718
4008
|
|
|
@@ -3827,6 +4117,7 @@ var UpdateResiliencyPolicyCommand = _UpdateResiliencyPolicyCommand;
|
|
|
3827
4117
|
|
|
3828
4118
|
// src/Resiliencehub.ts
|
|
3829
4119
|
var commands = {
|
|
4120
|
+
AcceptResourceGroupingRecommendationsCommand,
|
|
3830
4121
|
AddDraftAppVersionResourceMappingsCommand,
|
|
3831
4122
|
BatchUpdateRecommendationStatusCommand,
|
|
3832
4123
|
CreateAppCommand,
|
|
@@ -3850,6 +4141,7 @@ var commands = {
|
|
|
3850
4141
|
DescribeAppVersionTemplateCommand,
|
|
3851
4142
|
DescribeDraftAppVersionResourcesImportStatusCommand,
|
|
3852
4143
|
DescribeResiliencyPolicyCommand,
|
|
4144
|
+
DescribeResourceGroupingRecommendationTaskCommand,
|
|
3853
4145
|
ImportResourcesToDraftAppVersionCommand,
|
|
3854
4146
|
ListAlarmRecommendationsCommand,
|
|
3855
4147
|
ListAppAssessmentComplianceDriftsCommand,
|
|
@@ -3865,6 +4157,7 @@ var commands = {
|
|
|
3865
4157
|
ListAppVersionsCommand,
|
|
3866
4158
|
ListRecommendationTemplatesCommand,
|
|
3867
4159
|
ListResiliencyPoliciesCommand,
|
|
4160
|
+
ListResourceGroupingRecommendationsCommand,
|
|
3868
4161
|
ListSopRecommendationsCommand,
|
|
3869
4162
|
ListSuggestedResiliencyPoliciesCommand,
|
|
3870
4163
|
ListTagsForResourceCommand,
|
|
@@ -3872,9 +4165,11 @@ var commands = {
|
|
|
3872
4165
|
ListUnsupportedAppVersionResourcesCommand,
|
|
3873
4166
|
PublishAppVersionCommand,
|
|
3874
4167
|
PutDraftAppVersionTemplateCommand,
|
|
4168
|
+
RejectResourceGroupingRecommendationsCommand,
|
|
3875
4169
|
RemoveDraftAppVersionResourceMappingsCommand,
|
|
3876
4170
|
ResolveAppVersionResourcesCommand,
|
|
3877
4171
|
StartAppAssessmentCommand,
|
|
4172
|
+
StartResourceGroupingRecommendationTaskCommand,
|
|
3878
4173
|
TagResourceCommand,
|
|
3879
4174
|
UntagResourceCommand,
|
|
3880
4175
|
UpdateAppCommand,
|
|
@@ -3945,6 +4240,10 @@ var paginateListRecommendationTemplates = (0, import_core.createPaginator)(Resil
|
|
|
3945
4240
|
|
|
3946
4241
|
var paginateListResiliencyPolicies = (0, import_core.createPaginator)(ResiliencehubClient, ListResiliencyPoliciesCommand, "nextToken", "nextToken", "maxResults");
|
|
3947
4242
|
|
|
4243
|
+
// src/pagination/ListResourceGroupingRecommendationsPaginator.ts
|
|
4244
|
+
|
|
4245
|
+
var paginateListResourceGroupingRecommendations = (0, import_core.createPaginator)(ResiliencehubClient, ListResourceGroupingRecommendationsCommand, "nextToken", "nextToken", "maxResults");
|
|
4246
|
+
|
|
3948
4247
|
// src/pagination/ListSopRecommendationsPaginator.ts
|
|
3949
4248
|
|
|
3950
4249
|
var paginateListSopRecommendations = (0, import_core.createPaginator)(ResiliencehubClient, ListSopRecommendationsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -3968,6 +4267,7 @@ var paginateListUnsupportedAppVersionResources = (0, import_core.createPaginator
|
|
|
3968
4267
|
ResiliencehubClient,
|
|
3969
4268
|
Resiliencehub,
|
|
3970
4269
|
$Command,
|
|
4270
|
+
AcceptResourceGroupingRecommendationsCommand,
|
|
3971
4271
|
AddDraftAppVersionResourceMappingsCommand,
|
|
3972
4272
|
BatchUpdateRecommendationStatusCommand,
|
|
3973
4273
|
CreateAppCommand,
|
|
@@ -3991,6 +4291,7 @@ var paginateListUnsupportedAppVersionResources = (0, import_core.createPaginator
|
|
|
3991
4291
|
DescribeAppVersionTemplateCommand,
|
|
3992
4292
|
DescribeDraftAppVersionResourcesImportStatusCommand,
|
|
3993
4293
|
DescribeResiliencyPolicyCommand,
|
|
4294
|
+
DescribeResourceGroupingRecommendationTaskCommand,
|
|
3994
4295
|
ImportResourcesToDraftAppVersionCommand,
|
|
3995
4296
|
ListAlarmRecommendationsCommand,
|
|
3996
4297
|
ListAppAssessmentComplianceDriftsCommand,
|
|
@@ -4006,6 +4307,7 @@ var paginateListUnsupportedAppVersionResources = (0, import_core.createPaginator
|
|
|
4006
4307
|
ListAppsCommand,
|
|
4007
4308
|
ListRecommendationTemplatesCommand,
|
|
4008
4309
|
ListResiliencyPoliciesCommand,
|
|
4310
|
+
ListResourceGroupingRecommendationsCommand,
|
|
4009
4311
|
ListSopRecommendationsCommand,
|
|
4010
4312
|
ListSuggestedResiliencyPoliciesCommand,
|
|
4011
4313
|
ListTagsForResourceCommand,
|
|
@@ -4013,9 +4315,11 @@ var paginateListUnsupportedAppVersionResources = (0, import_core.createPaginator
|
|
|
4013
4315
|
ListUnsupportedAppVersionResourcesCommand,
|
|
4014
4316
|
PublishAppVersionCommand,
|
|
4015
4317
|
PutDraftAppVersionTemplateCommand,
|
|
4318
|
+
RejectResourceGroupingRecommendationsCommand,
|
|
4016
4319
|
RemoveDraftAppVersionResourceMappingsCommand,
|
|
4017
4320
|
ResolveAppVersionResourcesCommand,
|
|
4018
4321
|
StartAppAssessmentCommand,
|
|
4322
|
+
StartResourceGroupingRecommendationTaskCommand,
|
|
4019
4323
|
TagResourceCommand,
|
|
4020
4324
|
UntagResourceCommand,
|
|
4021
4325
|
UpdateAppCommand,
|
|
@@ -4037,18 +4341,20 @@ var paginateListUnsupportedAppVersionResources = (0, import_core.createPaginator
|
|
|
4037
4341
|
paginateListApps,
|
|
4038
4342
|
paginateListRecommendationTemplates,
|
|
4039
4343
|
paginateListResiliencyPolicies,
|
|
4344
|
+
paginateListResourceGroupingRecommendations,
|
|
4040
4345
|
paginateListSopRecommendations,
|
|
4041
4346
|
paginateListSuggestedResiliencyPolicies,
|
|
4042
4347
|
paginateListTestRecommendations,
|
|
4043
4348
|
paginateListUnsupportedAppVersionResources,
|
|
4044
4349
|
AccessDeniedException,
|
|
4045
|
-
ResourceMappingType,
|
|
4046
|
-
PhysicalIdentifierType,
|
|
4047
|
-
ConflictException,
|
|
4048
4350
|
InternalServerException,
|
|
4049
4351
|
ResourceNotFoundException,
|
|
4050
4352
|
ThrottlingException,
|
|
4051
4353
|
ValidationException,
|
|
4354
|
+
ResourceMappingType,
|
|
4355
|
+
PhysicalIdentifierType,
|
|
4356
|
+
ConflictException,
|
|
4357
|
+
ServiceQuotaExceededException,
|
|
4052
4358
|
ExcludeRecommendationReason,
|
|
4053
4359
|
RecommendationStatus,
|
|
4054
4360
|
AlarmType,
|
|
@@ -4068,19 +4374,22 @@ var paginateListUnsupportedAppVersionResources = (0, import_core.createPaginator
|
|
|
4068
4374
|
EstimatedCostTier,
|
|
4069
4375
|
ResiliencyPolicyTier,
|
|
4070
4376
|
ResiliencyScoreType,
|
|
4071
|
-
ServiceQuotaExceededException,
|
|
4072
4377
|
ResourceSourceType,
|
|
4073
4378
|
TemplateFormat,
|
|
4074
4379
|
RenderRecommendationType,
|
|
4075
4380
|
RecommendationTemplateStatus,
|
|
4076
4381
|
ResourceResolutionStatusType,
|
|
4077
4382
|
ResourceImportStatusType,
|
|
4383
|
+
ResourcesGroupingRecGenStatusType,
|
|
4078
4384
|
ResourceImportStrategyType,
|
|
4079
4385
|
DifferenceType,
|
|
4080
4386
|
DriftType,
|
|
4081
4387
|
HaArchitecture,
|
|
4082
4388
|
ConfigRecommendationOptimizationType,
|
|
4083
4389
|
RecommendationComplianceStatus,
|
|
4390
|
+
GroupingRecommendationConfidenceLevel,
|
|
4391
|
+
GroupingRecommendationRejectionReason,
|
|
4392
|
+
GroupingRecommendationStatusType,
|
|
4084
4393
|
SopServiceType,
|
|
4085
4394
|
TestRisk,
|
|
4086
4395
|
TestType,
|