@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
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
|
+
import { AcceptResourceGroupingRecommendationsCommandInput, AcceptResourceGroupingRecommendationsCommandOutput } from "./commands/AcceptResourceGroupingRecommendationsCommand";
|
|
2
3
|
import { AddDraftAppVersionResourceMappingsCommandInput, AddDraftAppVersionResourceMappingsCommandOutput } from "./commands/AddDraftAppVersionResourceMappingsCommand";
|
|
3
4
|
import { BatchUpdateRecommendationStatusCommandInput, BatchUpdateRecommendationStatusCommandOutput } from "./commands/BatchUpdateRecommendationStatusCommand";
|
|
4
5
|
import { CreateAppCommandInput, CreateAppCommandOutput } from "./commands/CreateAppCommand";
|
|
@@ -22,6 +23,7 @@ import { DescribeAppVersionResourcesResolutionStatusCommandInput, DescribeAppVer
|
|
|
22
23
|
import { DescribeAppVersionTemplateCommandInput, DescribeAppVersionTemplateCommandOutput } from "./commands/DescribeAppVersionTemplateCommand";
|
|
23
24
|
import { DescribeDraftAppVersionResourcesImportStatusCommandInput, DescribeDraftAppVersionResourcesImportStatusCommandOutput } from "./commands/DescribeDraftAppVersionResourcesImportStatusCommand";
|
|
24
25
|
import { DescribeResiliencyPolicyCommandInput, DescribeResiliencyPolicyCommandOutput } from "./commands/DescribeResiliencyPolicyCommand";
|
|
26
|
+
import { DescribeResourceGroupingRecommendationTaskCommandInput, DescribeResourceGroupingRecommendationTaskCommandOutput } from "./commands/DescribeResourceGroupingRecommendationTaskCommand";
|
|
25
27
|
import { ImportResourcesToDraftAppVersionCommandInput, ImportResourcesToDraftAppVersionCommandOutput } from "./commands/ImportResourcesToDraftAppVersionCommand";
|
|
26
28
|
import { ListAlarmRecommendationsCommandInput, ListAlarmRecommendationsCommandOutput } from "./commands/ListAlarmRecommendationsCommand";
|
|
27
29
|
import { ListAppAssessmentComplianceDriftsCommandInput, ListAppAssessmentComplianceDriftsCommandOutput } from "./commands/ListAppAssessmentComplianceDriftsCommand";
|
|
@@ -37,6 +39,7 @@ import { ListAppVersionResourcesCommandInput, ListAppVersionResourcesCommandOutp
|
|
|
37
39
|
import { ListAppVersionsCommandInput, ListAppVersionsCommandOutput } from "./commands/ListAppVersionsCommand";
|
|
38
40
|
import { ListRecommendationTemplatesCommandInput, ListRecommendationTemplatesCommandOutput } from "./commands/ListRecommendationTemplatesCommand";
|
|
39
41
|
import { ListResiliencyPoliciesCommandInput, ListResiliencyPoliciesCommandOutput } from "./commands/ListResiliencyPoliciesCommand";
|
|
42
|
+
import { ListResourceGroupingRecommendationsCommandInput, ListResourceGroupingRecommendationsCommandOutput } from "./commands/ListResourceGroupingRecommendationsCommand";
|
|
40
43
|
import { ListSopRecommendationsCommandInput, ListSopRecommendationsCommandOutput } from "./commands/ListSopRecommendationsCommand";
|
|
41
44
|
import { ListSuggestedResiliencyPoliciesCommandInput, ListSuggestedResiliencyPoliciesCommandOutput } from "./commands/ListSuggestedResiliencyPoliciesCommand";
|
|
42
45
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
@@ -44,9 +47,11 @@ import { ListTestRecommendationsCommandInput, ListTestRecommendationsCommandOutp
|
|
|
44
47
|
import { ListUnsupportedAppVersionResourcesCommandInput, ListUnsupportedAppVersionResourcesCommandOutput } from "./commands/ListUnsupportedAppVersionResourcesCommand";
|
|
45
48
|
import { PublishAppVersionCommandInput, PublishAppVersionCommandOutput } from "./commands/PublishAppVersionCommand";
|
|
46
49
|
import { PutDraftAppVersionTemplateCommandInput, PutDraftAppVersionTemplateCommandOutput } from "./commands/PutDraftAppVersionTemplateCommand";
|
|
50
|
+
import { RejectResourceGroupingRecommendationsCommandInput, RejectResourceGroupingRecommendationsCommandOutput } from "./commands/RejectResourceGroupingRecommendationsCommand";
|
|
47
51
|
import { RemoveDraftAppVersionResourceMappingsCommandInput, RemoveDraftAppVersionResourceMappingsCommandOutput } from "./commands/RemoveDraftAppVersionResourceMappingsCommand";
|
|
48
52
|
import { ResolveAppVersionResourcesCommandInput, ResolveAppVersionResourcesCommandOutput } from "./commands/ResolveAppVersionResourcesCommand";
|
|
49
53
|
import { StartAppAssessmentCommandInput, StartAppAssessmentCommandOutput } from "./commands/StartAppAssessmentCommand";
|
|
54
|
+
import { StartResourceGroupingRecommendationTaskCommandInput, StartResourceGroupingRecommendationTaskCommandOutput } from "./commands/StartResourceGroupingRecommendationTaskCommand";
|
|
50
55
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
51
56
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
52
57
|
import { UpdateAppCommandInput, UpdateAppCommandOutput } from "./commands/UpdateAppCommand";
|
|
@@ -56,6 +61,12 @@ import { UpdateAppVersionResourceCommandInput, UpdateAppVersionResourceCommandOu
|
|
|
56
61
|
import { UpdateResiliencyPolicyCommandInput, UpdateResiliencyPolicyCommandOutput } from "./commands/UpdateResiliencyPolicyCommand";
|
|
57
62
|
import { ResiliencehubClient } from "./ResiliencehubClient";
|
|
58
63
|
export interface Resiliencehub {
|
|
64
|
+
/**
|
|
65
|
+
* @see {@link AcceptResourceGroupingRecommendationsCommand}
|
|
66
|
+
*/
|
|
67
|
+
acceptResourceGroupingRecommendations(args: AcceptResourceGroupingRecommendationsCommandInput, options?: __HttpHandlerOptions): Promise<AcceptResourceGroupingRecommendationsCommandOutput>;
|
|
68
|
+
acceptResourceGroupingRecommendations(args: AcceptResourceGroupingRecommendationsCommandInput, cb: (err: any, data?: AcceptResourceGroupingRecommendationsCommandOutput) => void): void;
|
|
69
|
+
acceptResourceGroupingRecommendations(args: AcceptResourceGroupingRecommendationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AcceptResourceGroupingRecommendationsCommandOutput) => void): void;
|
|
59
70
|
/**
|
|
60
71
|
* @see {@link AddDraftAppVersionResourceMappingsCommand}
|
|
61
72
|
*/
|
|
@@ -194,6 +205,12 @@ export interface Resiliencehub {
|
|
|
194
205
|
describeResiliencyPolicy(args: DescribeResiliencyPolicyCommandInput, options?: __HttpHandlerOptions): Promise<DescribeResiliencyPolicyCommandOutput>;
|
|
195
206
|
describeResiliencyPolicy(args: DescribeResiliencyPolicyCommandInput, cb: (err: any, data?: DescribeResiliencyPolicyCommandOutput) => void): void;
|
|
196
207
|
describeResiliencyPolicy(args: DescribeResiliencyPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeResiliencyPolicyCommandOutput) => void): void;
|
|
208
|
+
/**
|
|
209
|
+
* @see {@link DescribeResourceGroupingRecommendationTaskCommand}
|
|
210
|
+
*/
|
|
211
|
+
describeResourceGroupingRecommendationTask(args: DescribeResourceGroupingRecommendationTaskCommandInput, options?: __HttpHandlerOptions): Promise<DescribeResourceGroupingRecommendationTaskCommandOutput>;
|
|
212
|
+
describeResourceGroupingRecommendationTask(args: DescribeResourceGroupingRecommendationTaskCommandInput, cb: (err: any, data?: DescribeResourceGroupingRecommendationTaskCommandOutput) => void): void;
|
|
213
|
+
describeResourceGroupingRecommendationTask(args: DescribeResourceGroupingRecommendationTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeResourceGroupingRecommendationTaskCommandOutput) => void): void;
|
|
197
214
|
/**
|
|
198
215
|
* @see {@link ImportResourcesToDraftAppVersionCommand}
|
|
199
216
|
*/
|
|
@@ -288,6 +305,13 @@ export interface Resiliencehub {
|
|
|
288
305
|
listResiliencyPolicies(args: ListResiliencyPoliciesCommandInput, options?: __HttpHandlerOptions): Promise<ListResiliencyPoliciesCommandOutput>;
|
|
289
306
|
listResiliencyPolicies(args: ListResiliencyPoliciesCommandInput, cb: (err: any, data?: ListResiliencyPoliciesCommandOutput) => void): void;
|
|
290
307
|
listResiliencyPolicies(args: ListResiliencyPoliciesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListResiliencyPoliciesCommandOutput) => void): void;
|
|
308
|
+
/**
|
|
309
|
+
* @see {@link ListResourceGroupingRecommendationsCommand}
|
|
310
|
+
*/
|
|
311
|
+
listResourceGroupingRecommendations(): Promise<ListResourceGroupingRecommendationsCommandOutput>;
|
|
312
|
+
listResourceGroupingRecommendations(args: ListResourceGroupingRecommendationsCommandInput, options?: __HttpHandlerOptions): Promise<ListResourceGroupingRecommendationsCommandOutput>;
|
|
313
|
+
listResourceGroupingRecommendations(args: ListResourceGroupingRecommendationsCommandInput, cb: (err: any, data?: ListResourceGroupingRecommendationsCommandOutput) => void): void;
|
|
314
|
+
listResourceGroupingRecommendations(args: ListResourceGroupingRecommendationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListResourceGroupingRecommendationsCommandOutput) => void): void;
|
|
291
315
|
/**
|
|
292
316
|
* @see {@link ListSopRecommendationsCommand}
|
|
293
317
|
*/
|
|
@@ -331,6 +355,12 @@ export interface Resiliencehub {
|
|
|
331
355
|
putDraftAppVersionTemplate(args: PutDraftAppVersionTemplateCommandInput, options?: __HttpHandlerOptions): Promise<PutDraftAppVersionTemplateCommandOutput>;
|
|
332
356
|
putDraftAppVersionTemplate(args: PutDraftAppVersionTemplateCommandInput, cb: (err: any, data?: PutDraftAppVersionTemplateCommandOutput) => void): void;
|
|
333
357
|
putDraftAppVersionTemplate(args: PutDraftAppVersionTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutDraftAppVersionTemplateCommandOutput) => void): void;
|
|
358
|
+
/**
|
|
359
|
+
* @see {@link RejectResourceGroupingRecommendationsCommand}
|
|
360
|
+
*/
|
|
361
|
+
rejectResourceGroupingRecommendations(args: RejectResourceGroupingRecommendationsCommandInput, options?: __HttpHandlerOptions): Promise<RejectResourceGroupingRecommendationsCommandOutput>;
|
|
362
|
+
rejectResourceGroupingRecommendations(args: RejectResourceGroupingRecommendationsCommandInput, cb: (err: any, data?: RejectResourceGroupingRecommendationsCommandOutput) => void): void;
|
|
363
|
+
rejectResourceGroupingRecommendations(args: RejectResourceGroupingRecommendationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RejectResourceGroupingRecommendationsCommandOutput) => void): void;
|
|
334
364
|
/**
|
|
335
365
|
* @see {@link RemoveDraftAppVersionResourceMappingsCommand}
|
|
336
366
|
*/
|
|
@@ -349,6 +379,12 @@ export interface Resiliencehub {
|
|
|
349
379
|
startAppAssessment(args: StartAppAssessmentCommandInput, options?: __HttpHandlerOptions): Promise<StartAppAssessmentCommandOutput>;
|
|
350
380
|
startAppAssessment(args: StartAppAssessmentCommandInput, cb: (err: any, data?: StartAppAssessmentCommandOutput) => void): void;
|
|
351
381
|
startAppAssessment(args: StartAppAssessmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartAppAssessmentCommandOutput) => void): void;
|
|
382
|
+
/**
|
|
383
|
+
* @see {@link StartResourceGroupingRecommendationTaskCommand}
|
|
384
|
+
*/
|
|
385
|
+
startResourceGroupingRecommendationTask(args: StartResourceGroupingRecommendationTaskCommandInput, options?: __HttpHandlerOptions): Promise<StartResourceGroupingRecommendationTaskCommandOutput>;
|
|
386
|
+
startResourceGroupingRecommendationTask(args: StartResourceGroupingRecommendationTaskCommandInput, cb: (err: any, data?: StartResourceGroupingRecommendationTaskCommandOutput) => void): void;
|
|
387
|
+
startResourceGroupingRecommendationTask(args: StartResourceGroupingRecommendationTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartResourceGroupingRecommendationTaskCommandOutput) => void): void;
|
|
352
388
|
/**
|
|
353
389
|
* @see {@link TagResourceCommand}
|
|
354
390
|
*/
|
|
@@ -7,6 +7,7 @@ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol
|
|
|
7
7
|
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
|
|
8
8
|
import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
9
|
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
|
+
import { AcceptResourceGroupingRecommendationsCommandInput, AcceptResourceGroupingRecommendationsCommandOutput } from "./commands/AcceptResourceGroupingRecommendationsCommand";
|
|
10
11
|
import { AddDraftAppVersionResourceMappingsCommandInput, AddDraftAppVersionResourceMappingsCommandOutput } from "./commands/AddDraftAppVersionResourceMappingsCommand";
|
|
11
12
|
import { BatchUpdateRecommendationStatusCommandInput, BatchUpdateRecommendationStatusCommandOutput } from "./commands/BatchUpdateRecommendationStatusCommand";
|
|
12
13
|
import { CreateAppCommandInput, CreateAppCommandOutput } from "./commands/CreateAppCommand";
|
|
@@ -30,6 +31,7 @@ import { DescribeAppVersionResourcesResolutionStatusCommandInput, DescribeAppVer
|
|
|
30
31
|
import { DescribeAppVersionTemplateCommandInput, DescribeAppVersionTemplateCommandOutput } from "./commands/DescribeAppVersionTemplateCommand";
|
|
31
32
|
import { DescribeDraftAppVersionResourcesImportStatusCommandInput, DescribeDraftAppVersionResourcesImportStatusCommandOutput } from "./commands/DescribeDraftAppVersionResourcesImportStatusCommand";
|
|
32
33
|
import { DescribeResiliencyPolicyCommandInput, DescribeResiliencyPolicyCommandOutput } from "./commands/DescribeResiliencyPolicyCommand";
|
|
34
|
+
import { DescribeResourceGroupingRecommendationTaskCommandInput, DescribeResourceGroupingRecommendationTaskCommandOutput } from "./commands/DescribeResourceGroupingRecommendationTaskCommand";
|
|
33
35
|
import { ImportResourcesToDraftAppVersionCommandInput, ImportResourcesToDraftAppVersionCommandOutput } from "./commands/ImportResourcesToDraftAppVersionCommand";
|
|
34
36
|
import { ListAlarmRecommendationsCommandInput, ListAlarmRecommendationsCommandOutput } from "./commands/ListAlarmRecommendationsCommand";
|
|
35
37
|
import { ListAppAssessmentComplianceDriftsCommandInput, ListAppAssessmentComplianceDriftsCommandOutput } from "./commands/ListAppAssessmentComplianceDriftsCommand";
|
|
@@ -45,6 +47,7 @@ import { ListAppVersionResourcesCommandInput, ListAppVersionResourcesCommandOutp
|
|
|
45
47
|
import { ListAppVersionsCommandInput, ListAppVersionsCommandOutput } from "./commands/ListAppVersionsCommand";
|
|
46
48
|
import { ListRecommendationTemplatesCommandInput, ListRecommendationTemplatesCommandOutput } from "./commands/ListRecommendationTemplatesCommand";
|
|
47
49
|
import { ListResiliencyPoliciesCommandInput, ListResiliencyPoliciesCommandOutput } from "./commands/ListResiliencyPoliciesCommand";
|
|
50
|
+
import { ListResourceGroupingRecommendationsCommandInput, ListResourceGroupingRecommendationsCommandOutput } from "./commands/ListResourceGroupingRecommendationsCommand";
|
|
48
51
|
import { ListSopRecommendationsCommandInput, ListSopRecommendationsCommandOutput } from "./commands/ListSopRecommendationsCommand";
|
|
49
52
|
import { ListSuggestedResiliencyPoliciesCommandInput, ListSuggestedResiliencyPoliciesCommandOutput } from "./commands/ListSuggestedResiliencyPoliciesCommand";
|
|
50
53
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
@@ -52,9 +55,11 @@ import { ListTestRecommendationsCommandInput, ListTestRecommendationsCommandOutp
|
|
|
52
55
|
import { ListUnsupportedAppVersionResourcesCommandInput, ListUnsupportedAppVersionResourcesCommandOutput } from "./commands/ListUnsupportedAppVersionResourcesCommand";
|
|
53
56
|
import { PublishAppVersionCommandInput, PublishAppVersionCommandOutput } from "./commands/PublishAppVersionCommand";
|
|
54
57
|
import { PutDraftAppVersionTemplateCommandInput, PutDraftAppVersionTemplateCommandOutput } from "./commands/PutDraftAppVersionTemplateCommand";
|
|
58
|
+
import { RejectResourceGroupingRecommendationsCommandInput, RejectResourceGroupingRecommendationsCommandOutput } from "./commands/RejectResourceGroupingRecommendationsCommand";
|
|
55
59
|
import { RemoveDraftAppVersionResourceMappingsCommandInput, RemoveDraftAppVersionResourceMappingsCommandOutput } from "./commands/RemoveDraftAppVersionResourceMappingsCommand";
|
|
56
60
|
import { ResolveAppVersionResourcesCommandInput, ResolveAppVersionResourcesCommandOutput } from "./commands/ResolveAppVersionResourcesCommand";
|
|
57
61
|
import { StartAppAssessmentCommandInput, StartAppAssessmentCommandOutput } from "./commands/StartAppAssessmentCommand";
|
|
62
|
+
import { StartResourceGroupingRecommendationTaskCommandInput, StartResourceGroupingRecommendationTaskCommandOutput } from "./commands/StartResourceGroupingRecommendationTaskCommand";
|
|
58
63
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
59
64
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
60
65
|
import { UpdateAppCommandInput, UpdateAppCommandOutput } from "./commands/UpdateAppCommand";
|
|
@@ -68,11 +73,11 @@ export { __Client };
|
|
|
68
73
|
/**
|
|
69
74
|
* @public
|
|
70
75
|
*/
|
|
71
|
-
export type ServiceInputTypes = AddDraftAppVersionResourceMappingsCommandInput | BatchUpdateRecommendationStatusCommandInput | CreateAppCommandInput | CreateAppVersionAppComponentCommandInput | CreateAppVersionResourceCommandInput | CreateRecommendationTemplateCommandInput | CreateResiliencyPolicyCommandInput | DeleteAppAssessmentCommandInput | DeleteAppCommandInput | DeleteAppInputSourceCommandInput | DeleteAppVersionAppComponentCommandInput | DeleteAppVersionResourceCommandInput | DeleteRecommendationTemplateCommandInput | DeleteResiliencyPolicyCommandInput | DescribeAppAssessmentCommandInput | DescribeAppCommandInput | DescribeAppVersionAppComponentCommandInput | DescribeAppVersionCommandInput | DescribeAppVersionResourceCommandInput | DescribeAppVersionResourcesResolutionStatusCommandInput | DescribeAppVersionTemplateCommandInput | DescribeDraftAppVersionResourcesImportStatusCommandInput | DescribeResiliencyPolicyCommandInput | ImportResourcesToDraftAppVersionCommandInput | ListAlarmRecommendationsCommandInput | ListAppAssessmentComplianceDriftsCommandInput | ListAppAssessmentResourceDriftsCommandInput | ListAppAssessmentsCommandInput | ListAppComponentCompliancesCommandInput | ListAppComponentRecommendationsCommandInput | ListAppInputSourcesCommandInput | ListAppVersionAppComponentsCommandInput | ListAppVersionResourceMappingsCommandInput | ListAppVersionResourcesCommandInput | ListAppVersionsCommandInput | ListAppsCommandInput | ListRecommendationTemplatesCommandInput | ListResiliencyPoliciesCommandInput | ListSopRecommendationsCommandInput | ListSuggestedResiliencyPoliciesCommandInput | ListTagsForResourceCommandInput | ListTestRecommendationsCommandInput | ListUnsupportedAppVersionResourcesCommandInput | PublishAppVersionCommandInput | PutDraftAppVersionTemplateCommandInput | RemoveDraftAppVersionResourceMappingsCommandInput | ResolveAppVersionResourcesCommandInput | StartAppAssessmentCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAppCommandInput | UpdateAppVersionAppComponentCommandInput | UpdateAppVersionCommandInput | UpdateAppVersionResourceCommandInput | UpdateResiliencyPolicyCommandInput;
|
|
76
|
+
export type ServiceInputTypes = AcceptResourceGroupingRecommendationsCommandInput | AddDraftAppVersionResourceMappingsCommandInput | BatchUpdateRecommendationStatusCommandInput | CreateAppCommandInput | CreateAppVersionAppComponentCommandInput | CreateAppVersionResourceCommandInput | CreateRecommendationTemplateCommandInput | CreateResiliencyPolicyCommandInput | DeleteAppAssessmentCommandInput | DeleteAppCommandInput | DeleteAppInputSourceCommandInput | DeleteAppVersionAppComponentCommandInput | DeleteAppVersionResourceCommandInput | DeleteRecommendationTemplateCommandInput | DeleteResiliencyPolicyCommandInput | DescribeAppAssessmentCommandInput | DescribeAppCommandInput | DescribeAppVersionAppComponentCommandInput | DescribeAppVersionCommandInput | DescribeAppVersionResourceCommandInput | DescribeAppVersionResourcesResolutionStatusCommandInput | DescribeAppVersionTemplateCommandInput | DescribeDraftAppVersionResourcesImportStatusCommandInput | DescribeResiliencyPolicyCommandInput | DescribeResourceGroupingRecommendationTaskCommandInput | ImportResourcesToDraftAppVersionCommandInput | ListAlarmRecommendationsCommandInput | ListAppAssessmentComplianceDriftsCommandInput | ListAppAssessmentResourceDriftsCommandInput | ListAppAssessmentsCommandInput | ListAppComponentCompliancesCommandInput | ListAppComponentRecommendationsCommandInput | ListAppInputSourcesCommandInput | ListAppVersionAppComponentsCommandInput | ListAppVersionResourceMappingsCommandInput | ListAppVersionResourcesCommandInput | ListAppVersionsCommandInput | ListAppsCommandInput | ListRecommendationTemplatesCommandInput | ListResiliencyPoliciesCommandInput | ListResourceGroupingRecommendationsCommandInput | ListSopRecommendationsCommandInput | ListSuggestedResiliencyPoliciesCommandInput | ListTagsForResourceCommandInput | ListTestRecommendationsCommandInput | ListUnsupportedAppVersionResourcesCommandInput | PublishAppVersionCommandInput | PutDraftAppVersionTemplateCommandInput | RejectResourceGroupingRecommendationsCommandInput | RemoveDraftAppVersionResourceMappingsCommandInput | ResolveAppVersionResourcesCommandInput | StartAppAssessmentCommandInput | StartResourceGroupingRecommendationTaskCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAppCommandInput | UpdateAppVersionAppComponentCommandInput | UpdateAppVersionCommandInput | UpdateAppVersionResourceCommandInput | UpdateResiliencyPolicyCommandInput;
|
|
72
77
|
/**
|
|
73
78
|
* @public
|
|
74
79
|
*/
|
|
75
|
-
export type ServiceOutputTypes = AddDraftAppVersionResourceMappingsCommandOutput | BatchUpdateRecommendationStatusCommandOutput | CreateAppCommandOutput | CreateAppVersionAppComponentCommandOutput | CreateAppVersionResourceCommandOutput | CreateRecommendationTemplateCommandOutput | CreateResiliencyPolicyCommandOutput | DeleteAppAssessmentCommandOutput | DeleteAppCommandOutput | DeleteAppInputSourceCommandOutput | DeleteAppVersionAppComponentCommandOutput | DeleteAppVersionResourceCommandOutput | DeleteRecommendationTemplateCommandOutput | DeleteResiliencyPolicyCommandOutput | DescribeAppAssessmentCommandOutput | DescribeAppCommandOutput | DescribeAppVersionAppComponentCommandOutput | DescribeAppVersionCommandOutput | DescribeAppVersionResourceCommandOutput | DescribeAppVersionResourcesResolutionStatusCommandOutput | DescribeAppVersionTemplateCommandOutput | DescribeDraftAppVersionResourcesImportStatusCommandOutput | DescribeResiliencyPolicyCommandOutput | ImportResourcesToDraftAppVersionCommandOutput | ListAlarmRecommendationsCommandOutput | ListAppAssessmentComplianceDriftsCommandOutput | ListAppAssessmentResourceDriftsCommandOutput | ListAppAssessmentsCommandOutput | ListAppComponentCompliancesCommandOutput | ListAppComponentRecommendationsCommandOutput | ListAppInputSourcesCommandOutput | ListAppVersionAppComponentsCommandOutput | ListAppVersionResourceMappingsCommandOutput | ListAppVersionResourcesCommandOutput | ListAppVersionsCommandOutput | ListAppsCommandOutput | ListRecommendationTemplatesCommandOutput | ListResiliencyPoliciesCommandOutput | ListSopRecommendationsCommandOutput | ListSuggestedResiliencyPoliciesCommandOutput | ListTagsForResourceCommandOutput | ListTestRecommendationsCommandOutput | ListUnsupportedAppVersionResourcesCommandOutput | PublishAppVersionCommandOutput | PutDraftAppVersionTemplateCommandOutput | RemoveDraftAppVersionResourceMappingsCommandOutput | ResolveAppVersionResourcesCommandOutput | StartAppAssessmentCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAppCommandOutput | UpdateAppVersionAppComponentCommandOutput | UpdateAppVersionCommandOutput | UpdateAppVersionResourceCommandOutput | UpdateResiliencyPolicyCommandOutput;
|
|
80
|
+
export type ServiceOutputTypes = AcceptResourceGroupingRecommendationsCommandOutput | AddDraftAppVersionResourceMappingsCommandOutput | BatchUpdateRecommendationStatusCommandOutput | CreateAppCommandOutput | CreateAppVersionAppComponentCommandOutput | CreateAppVersionResourceCommandOutput | CreateRecommendationTemplateCommandOutput | CreateResiliencyPolicyCommandOutput | DeleteAppAssessmentCommandOutput | DeleteAppCommandOutput | DeleteAppInputSourceCommandOutput | DeleteAppVersionAppComponentCommandOutput | DeleteAppVersionResourceCommandOutput | DeleteRecommendationTemplateCommandOutput | DeleteResiliencyPolicyCommandOutput | DescribeAppAssessmentCommandOutput | DescribeAppCommandOutput | DescribeAppVersionAppComponentCommandOutput | DescribeAppVersionCommandOutput | DescribeAppVersionResourceCommandOutput | DescribeAppVersionResourcesResolutionStatusCommandOutput | DescribeAppVersionTemplateCommandOutput | DescribeDraftAppVersionResourcesImportStatusCommandOutput | DescribeResiliencyPolicyCommandOutput | DescribeResourceGroupingRecommendationTaskCommandOutput | ImportResourcesToDraftAppVersionCommandOutput | ListAlarmRecommendationsCommandOutput | ListAppAssessmentComplianceDriftsCommandOutput | ListAppAssessmentResourceDriftsCommandOutput | ListAppAssessmentsCommandOutput | ListAppComponentCompliancesCommandOutput | ListAppComponentRecommendationsCommandOutput | ListAppInputSourcesCommandOutput | ListAppVersionAppComponentsCommandOutput | ListAppVersionResourceMappingsCommandOutput | ListAppVersionResourcesCommandOutput | ListAppVersionsCommandOutput | ListAppsCommandOutput | ListRecommendationTemplatesCommandOutput | ListResiliencyPoliciesCommandOutput | ListResourceGroupingRecommendationsCommandOutput | ListSopRecommendationsCommandOutput | ListSuggestedResiliencyPoliciesCommandOutput | ListTagsForResourceCommandOutput | ListTestRecommendationsCommandOutput | ListUnsupportedAppVersionResourcesCommandOutput | PublishAppVersionCommandOutput | PutDraftAppVersionTemplateCommandOutput | RejectResourceGroupingRecommendationsCommandOutput | RemoveDraftAppVersionResourceMappingsCommandOutput | ResolveAppVersionResourcesCommandOutput | StartAppAssessmentCommandOutput | StartResourceGroupingRecommendationTaskCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAppCommandOutput | UpdateAppVersionAppComponentCommandOutput | UpdateAppVersionCommandOutput | UpdateAppVersionResourceCommandOutput | UpdateResiliencyPolicyCommandOutput;
|
|
76
81
|
/**
|
|
77
82
|
* @public
|
|
78
83
|
*/
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { AcceptResourceGroupingRecommendationsRequest, AcceptResourceGroupingRecommendationsResponse } from "../models/models_0";
|
|
4
|
+
import { ResiliencehubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResiliencehubClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link AcceptResourceGroupingRecommendationsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface AcceptResourceGroupingRecommendationsCommandInput extends AcceptResourceGroupingRecommendationsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link AcceptResourceGroupingRecommendationsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface AcceptResourceGroupingRecommendationsCommandOutput extends AcceptResourceGroupingRecommendationsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const AcceptResourceGroupingRecommendationsCommand_base: {
|
|
25
|
+
new (input: AcceptResourceGroupingRecommendationsCommandInput): import("@smithy/smithy-client").CommandImpl<AcceptResourceGroupingRecommendationsCommandInput, AcceptResourceGroupingRecommendationsCommandOutput, ResiliencehubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: AcceptResourceGroupingRecommendationsCommandInput): import("@smithy/smithy-client").CommandImpl<AcceptResourceGroupingRecommendationsCommandInput, AcceptResourceGroupingRecommendationsCommandOutput, ResiliencehubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Accepts the resource grouping recommendations suggested by Resilience Hub for your application.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ResiliencehubClient, AcceptResourceGroupingRecommendationsCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import
|
|
35
|
+
* // const { ResiliencehubClient, AcceptResourceGroupingRecommendationsCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import
|
|
36
|
+
* const client = new ResiliencehubClient(config);
|
|
37
|
+
* const input = { // AcceptResourceGroupingRecommendationsRequest
|
|
38
|
+
* appArn: "STRING_VALUE", // required
|
|
39
|
+
* entries: [ // AcceptGroupingRecommendationEntries // required
|
|
40
|
+
* { // AcceptGroupingRecommendationEntry
|
|
41
|
+
* groupingRecommendationId: "STRING_VALUE", // required
|
|
42
|
+
* },
|
|
43
|
+
* ],
|
|
44
|
+
* };
|
|
45
|
+
* const command = new AcceptResourceGroupingRecommendationsCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // AcceptResourceGroupingRecommendationsResponse
|
|
48
|
+
* // appArn: "STRING_VALUE", // required
|
|
49
|
+
* // failedEntries: [ // FailedGroupingRecommendationEntries // required
|
|
50
|
+
* // { // FailedGroupingRecommendationEntry
|
|
51
|
+
* // groupingRecommendationId: "STRING_VALUE", // required
|
|
52
|
+
* // errorMessage: "STRING_VALUE", // required
|
|
53
|
+
* // },
|
|
54
|
+
* // ],
|
|
55
|
+
* // };
|
|
56
|
+
*
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
59
|
+
* @param AcceptResourceGroupingRecommendationsCommandInput - {@link AcceptResourceGroupingRecommendationsCommandInput}
|
|
60
|
+
* @returns {@link AcceptResourceGroupingRecommendationsCommandOutput}
|
|
61
|
+
* @see {@link AcceptResourceGroupingRecommendationsCommandInput} for command's `input` shape.
|
|
62
|
+
* @see {@link AcceptResourceGroupingRecommendationsCommandOutput} for command's `response` shape.
|
|
63
|
+
* @see {@link ResiliencehubClientResolvedConfig | config} for ResiliencehubClient's `config` shape.
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
66
|
+
* <p>You don't have permissions to perform the requested operation. The user or role that is
|
|
67
|
+
* making the request must have at least one IAM permissions policy attached that grants the
|
|
68
|
+
* required permissions.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link InternalServerException} (server fault)
|
|
71
|
+
* <p>This exception occurs when there is an internal failure in the Resilience Hub
|
|
72
|
+
* service.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
75
|
+
* <p>This exception occurs when the specified resource could not be found.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
78
|
+
* <p>This exception occurs when you have exceeded the limit on the number of requests per second.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ValidationException} (client fault)
|
|
81
|
+
* <p>This exception occurs when a request is not valid.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ResiliencehubServiceException}
|
|
84
|
+
* <p>Base exception class for all service exceptions from Resiliencehub service.</p>
|
|
85
|
+
*
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
export declare class AcceptResourceGroupingRecommendationsCommand extends AcceptResourceGroupingRecommendationsCommand_base {
|
|
89
|
+
}
|
|
@@ -27,7 +27,12 @@ declare const AddDraftAppVersionResourceMappingsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Adds the source of resource-maps to the draft version of an application. During
|
|
30
|
+
* <p>Adds the source of resource-maps to the draft version of an application. During
|
|
31
|
+
* assessment, Resilience Hub will use these resource-maps to resolve the latest physical
|
|
32
|
+
* ID for each resource in the application template. For more information about different types
|
|
33
|
+
* of resources supported by Resilience Hub and how to add them in your application, see
|
|
34
|
+
* <a href="https://docs.aws.amazon.com/resilience-hub/latest/userguide/how-app-manage.html">Step
|
|
35
|
+
* 2: How is your application managed?</a> in the Resilience Hub User Guide.</p>
|
|
31
36
|
* @example
|
|
32
37
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
38
|
* ```javascript
|
|
@@ -104,6 +109,10 @@ declare const AddDraftAppVersionResourceMappingsCommand_base: {
|
|
|
104
109
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
105
110
|
* <p>This exception occurs when the specified resource could not be found.</p>
|
|
106
111
|
*
|
|
112
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
113
|
+
* <p>This exception occurs when you have exceeded your service quota. To perform the requested action, remove some of the
|
|
114
|
+
* relevant resources, or use Service Quotas to request a service quota increase.</p>
|
|
115
|
+
*
|
|
107
116
|
* @throws {@link ThrottlingException} (client fault)
|
|
108
117
|
* <p>This exception occurs when you have exceeded the limit on the number of requests per second.</p>
|
|
109
118
|
*
|
|
@@ -28,14 +28,15 @@ declare const CreateAppCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>Creates an Resilience Hub application. An Resilience Hub application is a
|
|
31
|
-
* collection of Amazon Web Services resources structured to prevent and recover Amazon Web Services application disruptions. To describe a Resilience Hub application,
|
|
32
|
-
*
|
|
33
|
-
* resiliency policy. In addition, you can also add resources that are located on Amazon Elastic Kubernetes Service (Amazon EKS) clusters as optional resources. For more information
|
|
31
|
+
* collection of Amazon Web Services resources structured to prevent and recover Amazon Web Services application disruptions. To describe a Resilience Hub application, you provide an
|
|
32
|
+
* application name, resources from one or more CloudFormation stacks, Resource Groups, Terraform state files, AppRegistry applications, and an appropriate
|
|
33
|
+
* resiliency policy. In addition, you can also add resources that are located on Amazon Elastic Kubernetes Service (Amazon EKS) clusters as optional resources. For more information
|
|
34
|
+
* about the number of resources supported per application, see <a href="https://docs.aws.amazon.com/general/latest/gr/resiliencehub.html#limits_resiliencehub">Service
|
|
34
35
|
* quotas</a>.</p>
|
|
35
|
-
* <p>After you create an Resilience Hub application, you publish it so that you can run
|
|
36
|
-
* assessment on it. You can then use recommendations from the assessment to improve
|
|
37
|
-
* by running another assessment, comparing results, and then iterating the process
|
|
38
|
-
* achieve your goals for recovery time objective (RTO) and recovery point objective
|
|
36
|
+
* <p>After you create an Resilience Hub application, you publish it so that you can run
|
|
37
|
+
* a resiliency assessment on it. You can then use recommendations from the assessment to improve
|
|
38
|
+
* resiliency by running another assessment, comparing results, and then iterating the process
|
|
39
|
+
* until you achieve your goals for recovery time objective (RTO) and recovery point objective
|
|
39
40
|
* (RPO).</p>
|
|
40
41
|
* @example
|
|
41
42
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -29,7 +29,9 @@ declare const CreateAppVersionAppComponentCommand_base: {
|
|
|
29
29
|
/**
|
|
30
30
|
* <p>Creates a new Application Component in the Resilience Hub application.</p>
|
|
31
31
|
* <note>
|
|
32
|
-
* <p>This API updates the Resilience Hub application draft version. To use this
|
|
32
|
+
* <p>This API updates the Resilience Hub application draft version. To use this
|
|
33
|
+
* Application Component for running assessments, you must publish the Resilience Hub
|
|
34
|
+
* application using the <code>PublishAppVersion</code> API.</p>
|
|
33
35
|
* </note>
|
|
34
36
|
* @example
|
|
35
37
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -28,17 +28,17 @@ declare const CreateAppVersionResourceCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>Adds a resource to the Resilience Hub application and assigns it to the specified
|
|
31
|
-
* Application Components. If you specify a new Application Component, Resilience Hub will
|
|
32
|
-
* create the Application Component.</p>
|
|
31
|
+
* Application Components. If you specify a new Application Component, Resilience Hub will
|
|
32
|
+
* automatically create the Application Component.</p>
|
|
33
33
|
* <note>
|
|
34
34
|
* <ul>
|
|
35
35
|
* <li>
|
|
36
36
|
* <p>This action has no effect outside Resilience Hub.</p>
|
|
37
37
|
* </li>
|
|
38
38
|
* <li>
|
|
39
|
-
* <p>This API updates the Resilience Hub application draft version. To use this
|
|
40
|
-
* for running resiliency assessments, you must publish the Resilience Hub
|
|
41
|
-
* the <code>PublishAppVersion</code> API.</p>
|
|
39
|
+
* <p>This API updates the Resilience Hub application draft version. To use this
|
|
40
|
+
* resource for running resiliency assessments, you must publish the Resilience Hub
|
|
41
|
+
* application using the <code>PublishAppVersion</code> API.</p>
|
|
42
42
|
* </li>
|
|
43
43
|
* <li>
|
|
44
44
|
* <p>To update application version with new <code>physicalResourceID</code>, you must
|
|
@@ -29,9 +29,11 @@ declare const CreateResiliencyPolicyCommand_base: {
|
|
|
29
29
|
/**
|
|
30
30
|
* <p>Creates a resiliency policy for an application.</p>
|
|
31
31
|
* <note>
|
|
32
|
-
* <p>Resilience Hub allows you to provide a value of zero for <code>rtoInSecs</code>
|
|
33
|
-
*
|
|
34
|
-
*
|
|
32
|
+
* <p>Resilience Hub allows you to provide a value of zero for <code>rtoInSecs</code>
|
|
33
|
+
* and <code>rpoInSecs</code> of your resiliency policy. But, while assessing your application,
|
|
34
|
+
* the lowest possible assessment result is near zero. Hence, if you provide value zero for
|
|
35
|
+
* <code>rtoInSecs</code> and <code>rpoInSecs</code>, the estimated workload RTO and
|
|
36
|
+
* estimated workload RPO result will be near zero and the <b>Compliance
|
|
35
37
|
* status</b> for your application will be set to <b>Policy
|
|
36
38
|
* breached</b>.</p>
|
|
37
39
|
* </note>
|
|
@@ -27,8 +27,8 @@ declare const DeleteAppAssessmentCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Deletes an Resilience Hub application assessment. This is a destructive action
|
|
31
|
-
* be undone.</p>
|
|
30
|
+
* <p>Deletes an Resilience Hub application assessment. This is a destructive action
|
|
31
|
+
* that can't be undone.</p>
|
|
32
32
|
* @example
|
|
33
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
34
|
* ```javascript
|
|
@@ -27,7 +27,8 @@ declare const DeleteAppInputSourceCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Deletes the input source and all of its imported resources from the Resilience Hub
|
|
30
|
+
* <p>Deletes the input source and all of its imported resources from the Resilience Hub
|
|
31
|
+
* application.</p>
|
|
31
32
|
* @example
|
|
32
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
34
|
* ```javascript
|
|
@@ -31,10 +31,13 @@ declare const DeleteAppVersionAppComponentCommand_base: {
|
|
|
31
31
|
* <note>
|
|
32
32
|
* <ul>
|
|
33
33
|
* <li>
|
|
34
|
-
* <p>This API updates the Resilience Hub application draft version. To use this
|
|
34
|
+
* <p>This API updates the Resilience Hub application draft version. To use this
|
|
35
|
+
* Application Component for running assessments, you must publish the Resilience Hub
|
|
36
|
+
* application using the <code>PublishAppVersion</code> API.</p>
|
|
35
37
|
* </li>
|
|
36
38
|
* <li>
|
|
37
|
-
* <p>You will not be able to delete an Application Component if it has resources associated
|
|
39
|
+
* <p>You will not be able to delete an Application Component if it has resources associated
|
|
40
|
+
* with it.</p>
|
|
38
41
|
* </li>
|
|
39
42
|
* </ul>
|
|
40
43
|
* </note>
|
|
@@ -31,13 +31,16 @@ declare const DeleteAppVersionResourceCommand_base: {
|
|
|
31
31
|
* <note>
|
|
32
32
|
* <ul>
|
|
33
33
|
* <li>
|
|
34
|
-
* <p>You can only delete a manually added resource. To exclude non-manually added
|
|
34
|
+
* <p>You can only delete a manually added resource. To exclude non-manually added
|
|
35
|
+
* resources, use the <code>UpdateAppVersionResource</code> API.</p>
|
|
35
36
|
* </li>
|
|
36
37
|
* <li>
|
|
37
38
|
* <p>This action has no effect outside Resilience Hub.</p>
|
|
38
39
|
* </li>
|
|
39
40
|
* <li>
|
|
40
|
-
* <p>This API updates the Resilience Hub application draft version. To use this
|
|
41
|
+
* <p>This API updates the Resilience Hub application draft version. To use this
|
|
42
|
+
* resource for running resiliency assessments, you must publish the Resilience Hub
|
|
43
|
+
* application using the <code>PublishAppVersion</code> API.</p>
|
|
41
44
|
* </li>
|
|
42
45
|
* </ul>
|
|
43
46
|
* </note>
|
|
@@ -117,6 +117,18 @@ declare const DescribeAppAssessmentCommand_base: {
|
|
|
117
117
|
* // },
|
|
118
118
|
* // versionName: "STRING_VALUE",
|
|
119
119
|
* // driftStatus: "STRING_VALUE",
|
|
120
|
+
* // summary: { // AssessmentSummary
|
|
121
|
+
* // summary: "STRING_VALUE",
|
|
122
|
+
* // riskRecommendations: [ // AssessmentRiskRecommendationList
|
|
123
|
+
* // { // AssessmentRiskRecommendation
|
|
124
|
+
* // risk: "STRING_VALUE",
|
|
125
|
+
* // recommendation: "STRING_VALUE",
|
|
126
|
+
* // appComponents: [ // AppComponentNameList
|
|
127
|
+
* // "STRING_VALUE",
|
|
128
|
+
* // ],
|
|
129
|
+
* // },
|
|
130
|
+
* // ],
|
|
131
|
+
* // },
|
|
120
132
|
* // },
|
|
121
133
|
* // };
|
|
122
134
|
*
|
|
@@ -29,7 +29,7 @@ declare const DescribeAppVersionResourceCommand_base: {
|
|
|
29
29
|
/**
|
|
30
30
|
* <p>Describes a resource of the Resilience Hub application.</p>
|
|
31
31
|
* <note>
|
|
32
|
-
* <p>This API accepts only one of the following parameters to
|
|
32
|
+
* <p>This API accepts only one of the following parameters to describe the resource:</p>
|
|
33
33
|
* <ul>
|
|
34
34
|
* <li>
|
|
35
35
|
* <p>
|
|
@@ -43,8 +43,8 @@ declare const DescribeAppVersionResourceCommand_base: {
|
|
|
43
43
|
* </li>
|
|
44
44
|
* <li>
|
|
45
45
|
* <p>
|
|
46
|
-
* <code>physicalResourceId</code> (Along with <code>physicalResourceId</code>, you can
|
|
47
|
-
* provide <code>awsAccountId</code>, and <code>awsRegion</code>)</p>
|
|
46
|
+
* <code>physicalResourceId</code> (Along with <code>physicalResourceId</code>, you can
|
|
47
|
+
* also provide <code>awsAccountId</code>, and <code>awsRegion</code>)</p>
|
|
48
48
|
* </li>
|
|
49
49
|
* </ul>
|
|
50
50
|
* </note>
|
|
@@ -31,7 +31,7 @@ declare const DescribeDraftAppVersionResourcesImportStatusCommand_base: {
|
|
|
31
31
|
* <note>
|
|
32
32
|
* <p>If you get a 404 error with
|
|
33
33
|
* <code>ResourceImportStatusNotFoundAppMetadataException</code>, you must call
|
|
34
|
-
* <code>importResourcesToDraftAppVersion</code>
|
|
34
|
+
* <code>importResourcesToDraftAppVersion</code> after creating the application and before
|
|
35
35
|
* calling <code>describeDraftAppVersionResourcesImportStatus</code> to obtain the
|
|
36
36
|
* status.</p>
|
|
37
37
|
* </note>
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DescribeResourceGroupingRecommendationTaskRequest, DescribeResourceGroupingRecommendationTaskResponse } from "../models/models_0";
|
|
4
|
+
import { ResiliencehubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResiliencehubClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DescribeResourceGroupingRecommendationTaskCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DescribeResourceGroupingRecommendationTaskCommandInput extends DescribeResourceGroupingRecommendationTaskRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DescribeResourceGroupingRecommendationTaskCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DescribeResourceGroupingRecommendationTaskCommandOutput extends DescribeResourceGroupingRecommendationTaskResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DescribeResourceGroupingRecommendationTaskCommand_base: {
|
|
25
|
+
new (input: DescribeResourceGroupingRecommendationTaskCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeResourceGroupingRecommendationTaskCommandInput, DescribeResourceGroupingRecommendationTaskCommandOutput, ResiliencehubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: DescribeResourceGroupingRecommendationTaskCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeResourceGroupingRecommendationTaskCommandInput, DescribeResourceGroupingRecommendationTaskCommandOutput, ResiliencehubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Describes the resource grouping recommendation tasks run by Resilience Hub for your application.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ResiliencehubClient, DescribeResourceGroupingRecommendationTaskCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import
|
|
35
|
+
* // const { ResiliencehubClient, DescribeResourceGroupingRecommendationTaskCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import
|
|
36
|
+
* const client = new ResiliencehubClient(config);
|
|
37
|
+
* const input = { // DescribeResourceGroupingRecommendationTaskRequest
|
|
38
|
+
* appArn: "STRING_VALUE", // required
|
|
39
|
+
* groupingId: "STRING_VALUE",
|
|
40
|
+
* };
|
|
41
|
+
* const command = new DescribeResourceGroupingRecommendationTaskCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // DescribeResourceGroupingRecommendationTaskResponse
|
|
44
|
+
* // groupingId: "STRING_VALUE", // required
|
|
45
|
+
* // status: "STRING_VALUE", // required
|
|
46
|
+
* // errorMessage: "STRING_VALUE",
|
|
47
|
+
* // };
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @param DescribeResourceGroupingRecommendationTaskCommandInput - {@link DescribeResourceGroupingRecommendationTaskCommandInput}
|
|
52
|
+
* @returns {@link DescribeResourceGroupingRecommendationTaskCommandOutput}
|
|
53
|
+
* @see {@link DescribeResourceGroupingRecommendationTaskCommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link DescribeResourceGroupingRecommendationTaskCommandOutput} for command's `response` shape.
|
|
55
|
+
* @see {@link ResiliencehubClientResolvedConfig | config} for ResiliencehubClient's `config` shape.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
58
|
+
* <p>You don't have permissions to perform the requested operation. The user or role that is
|
|
59
|
+
* making the request must have at least one IAM permissions policy attached that grants the
|
|
60
|
+
* required permissions.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link InternalServerException} (server fault)
|
|
63
|
+
* <p>This exception occurs when there is an internal failure in the Resilience Hub
|
|
64
|
+
* service.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
67
|
+
* <p>This exception occurs when the specified resource could not be found.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
70
|
+
* <p>This exception occurs when you have exceeded the limit on the number of requests per second.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ValidationException} (client fault)
|
|
73
|
+
* <p>This exception occurs when a request is not valid.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ResiliencehubServiceException}
|
|
76
|
+
* <p>Base exception class for all service exceptions from Resiliencehub service.</p>
|
|
77
|
+
*
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
export declare class DescribeResourceGroupingRecommendationTaskCommand extends DescribeResourceGroupingRecommendationTaskCommand_base {
|
|
81
|
+
}
|
|
@@ -27,8 +27,9 @@ declare const ImportResourcesToDraftAppVersionCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Imports resources to Resilience Hub application draft version from different input
|
|
31
|
-
*
|
|
30
|
+
* <p>Imports resources to Resilience Hub application draft version from different input
|
|
31
|
+
* sources. For more information about the input sources supported by Resilience Hub, see
|
|
32
|
+
* <a href="https://docs.aws.amazon.com/resilience-hub/latest/userguide/discover-structure.html">Discover the structure and describe your Resilience Hub application</a>.</p>
|
|
32
33
|
* @example
|
|
33
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
35
|
* ```javascript
|
|
@@ -27,7 +27,8 @@ declare const ListAppAssessmentResourceDriftsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Indicates the list of resource drifts that were detected while running an
|
|
30
|
+
* <p>Indicates the list of resource drifts that were detected while running an
|
|
31
|
+
* assessment.</p>
|
|
31
32
|
* @example
|
|
32
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
34
|
* ```javascript
|
|
@@ -27,8 +27,8 @@ declare const ListAppAssessmentsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Lists the assessments for an Resilience Hub application. You can use request
|
|
31
|
-
* refine the results for the response object.</p>
|
|
30
|
+
* <p>Lists the assessments for an Resilience Hub application. You can use request
|
|
31
|
+
* parameters to refine the results for the response object.</p>
|
|
32
32
|
* @example
|
|
33
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
34
|
* ```javascript
|
|
@@ -27,8 +27,8 @@ declare const ListAppInputSourcesCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Lists all the input sources of the Resilience Hub application. For more
|
|
31
|
-
* input sources supported by Resilience Hub, see <a href="https://docs.aws.amazon.com/resilience-hub/latest/userguide/discover-structure.html">Discover
|
|
30
|
+
* <p>Lists all the input sources of the Resilience Hub application. For more
|
|
31
|
+
* information about the input sources supported by Resilience Hub, see <a href="https://docs.aws.amazon.com/resilience-hub/latest/userguide/discover-structure.html">Discover
|
|
32
32
|
* the structure and describe your Resilience Hub application</a>.</p>
|
|
33
33
|
* @example
|
|
34
34
|
* Use a bare-bones client and the command you need to make an API call.
|