@aws-sdk/client-resiliencehub 3.272.0 → 3.276.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.
Files changed (106) hide show
  1. package/dist-cjs/Resiliencehub.js +195 -0
  2. package/dist-cjs/commands/CreateAppVersionAppComponentCommand.js +46 -0
  3. package/dist-cjs/commands/CreateAppVersionResourceCommand.js +46 -0
  4. package/dist-cjs/commands/DeleteAppInputSourceCommand.js +46 -0
  5. package/dist-cjs/commands/DeleteAppVersionAppComponentCommand.js +46 -0
  6. package/dist-cjs/commands/DeleteAppVersionResourceCommand.js +46 -0
  7. package/dist-cjs/commands/DescribeAppVersionAppComponentCommand.js +46 -0
  8. package/dist-cjs/commands/DescribeAppVersionCommand.js +46 -0
  9. package/dist-cjs/commands/DescribeAppVersionResourceCommand.js +46 -0
  10. package/dist-cjs/commands/ListAppInputSourcesCommand.js +46 -0
  11. package/dist-cjs/commands/ListAppVersionAppComponentsCommand.js +46 -0
  12. package/dist-cjs/commands/UpdateAppVersionAppComponentCommand.js +46 -0
  13. package/dist-cjs/commands/UpdateAppVersionCommand.js +46 -0
  14. package/dist-cjs/commands/UpdateAppVersionResourceCommand.js +46 -0
  15. package/dist-cjs/commands/index.js +13 -0
  16. package/dist-cjs/endpoint/ruleset.js +3 -3
  17. package/dist-cjs/models/models_0.js +129 -15
  18. package/dist-cjs/pagination/ListAppInputSourcesPaginator.js +36 -0
  19. package/dist-cjs/pagination/ListAppVersionAppComponentsPaginator.js +36 -0
  20. package/dist-cjs/pagination/index.js +2 -0
  21. package/dist-cjs/protocols/Aws_restJson1.js +1293 -141
  22. package/dist-es/Resiliencehub.js +195 -0
  23. package/dist-es/commands/CreateAppVersionAppComponentCommand.js +42 -0
  24. package/dist-es/commands/CreateAppVersionResourceCommand.js +42 -0
  25. package/dist-es/commands/DeleteAppInputSourceCommand.js +42 -0
  26. package/dist-es/commands/DeleteAppVersionAppComponentCommand.js +42 -0
  27. package/dist-es/commands/DeleteAppVersionResourceCommand.js +42 -0
  28. package/dist-es/commands/DescribeAppVersionAppComponentCommand.js +42 -0
  29. package/dist-es/commands/DescribeAppVersionCommand.js +42 -0
  30. package/dist-es/commands/DescribeAppVersionResourceCommand.js +42 -0
  31. package/dist-es/commands/ListAppInputSourcesCommand.js +42 -0
  32. package/dist-es/commands/ListAppVersionAppComponentsCommand.js +42 -0
  33. package/dist-es/commands/UpdateAppVersionAppComponentCommand.js +42 -0
  34. package/dist-es/commands/UpdateAppVersionCommand.js +42 -0
  35. package/dist-es/commands/UpdateAppVersionResourceCommand.js +42 -0
  36. package/dist-es/commands/index.js +13 -0
  37. package/dist-es/endpoint/ruleset.js +3 -3
  38. package/dist-es/models/models_0.js +94 -8
  39. package/dist-es/pagination/ListAppInputSourcesPaginator.js +32 -0
  40. package/dist-es/pagination/ListAppVersionAppComponentsPaginator.js +32 -0
  41. package/dist-es/pagination/index.js +2 -0
  42. package/dist-es/protocols/Aws_restJson1.js +1254 -129
  43. package/dist-types/Resiliencehub.d.ts +218 -23
  44. package/dist-types/ResiliencehubClient.d.ts +15 -2
  45. package/dist-types/commands/AddDraftAppVersionResourceMappingsCommand.d.ts +1 -1
  46. package/dist-types/commands/CreateAppCommand.d.ts +3 -3
  47. package/dist-types/commands/CreateAppVersionAppComponentCommand.d.ts +40 -0
  48. package/dist-types/commands/CreateAppVersionResourceCommand.d.ts +55 -0
  49. package/dist-types/commands/CreateRecommendationTemplateCommand.d.ts +1 -1
  50. package/dist-types/commands/DeleteAppInputSourceCommand.d.ts +37 -0
  51. package/dist-types/commands/DeleteAppVersionAppComponentCommand.d.ts +47 -0
  52. package/dist-types/commands/DeleteAppVersionResourceCommand.d.ts +50 -0
  53. package/dist-types/commands/DescribeAppVersionAppComponentCommand.d.ts +37 -0
  54. package/dist-types/commands/DescribeAppVersionCommand.d.ts +37 -0
  55. package/dist-types/commands/DescribeAppVersionResourceCommand.d.ts +57 -0
  56. package/dist-types/commands/DescribeAppVersionTemplateCommand.d.ts +1 -1
  57. package/dist-types/commands/DescribeDraftAppVersionResourcesImportStatusCommand.d.ts +7 -0
  58. package/dist-types/commands/ImportResourcesToDraftAppVersionCommand.d.ts +2 -2
  59. package/dist-types/commands/ListAlarmRecommendationsCommand.d.ts +1 -1
  60. package/dist-types/commands/ListAppComponentCompliancesCommand.d.ts +1 -1
  61. package/dist-types/commands/ListAppComponentRecommendationsCommand.d.ts +1 -1
  62. package/dist-types/commands/ListAppInputSourcesCommand.d.ts +39 -0
  63. package/dist-types/commands/ListAppVersionAppComponentsCommand.d.ts +37 -0
  64. package/dist-types/commands/ListAppVersionResourcesCommand.d.ts +1 -1
  65. package/dist-types/commands/ListAppVersionsCommand.d.ts +1 -1
  66. package/dist-types/commands/ListAppsCommand.d.ts +10 -1
  67. package/dist-types/commands/ListRecommendationTemplatesCommand.d.ts +1 -1
  68. package/dist-types/commands/ListResiliencyPoliciesCommand.d.ts +1 -1
  69. package/dist-types/commands/ListSopRecommendationsCommand.d.ts +1 -1
  70. package/dist-types/commands/ListSuggestedResiliencyPoliciesCommand.d.ts +1 -1
  71. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  72. package/dist-types/commands/ListTestRecommendationsCommand.d.ts +1 -1
  73. package/dist-types/commands/ListUnsupportedAppVersionResourcesCommand.d.ts +1 -1
  74. package/dist-types/commands/PublishAppVersionCommand.d.ts +1 -1
  75. package/dist-types/commands/PutDraftAppVersionTemplateCommand.d.ts +1 -1
  76. package/dist-types/commands/UpdateAppVersionAppComponentCommand.d.ts +40 -0
  77. package/dist-types/commands/UpdateAppVersionCommand.d.ts +42 -0
  78. package/dist-types/commands/UpdateAppVersionResourceCommand.d.ts +51 -0
  79. package/dist-types/commands/index.d.ts +13 -0
  80. package/dist-types/models/models_0.d.ts +1377 -209
  81. package/dist-types/pagination/ListAppInputSourcesPaginator.d.ts +4 -0
  82. package/dist-types/pagination/ListAppVersionAppComponentsPaginator.d.ts +4 -0
  83. package/dist-types/pagination/index.d.ts +2 -0
  84. package/dist-types/protocols/Aws_restJson1.d.ts +39 -0
  85. package/dist-types/ts3.4/Resiliencehub.d.ts +221 -0
  86. package/dist-types/ts3.4/ResiliencehubClient.d.ts +78 -0
  87. package/dist-types/ts3.4/commands/CreateAppVersionAppComponentCommand.d.ts +41 -0
  88. package/dist-types/ts3.4/commands/CreateAppVersionResourceCommand.d.ts +41 -0
  89. package/dist-types/ts3.4/commands/DeleteAppInputSourceCommand.d.ts +41 -0
  90. package/dist-types/ts3.4/commands/DeleteAppVersionAppComponentCommand.d.ts +41 -0
  91. package/dist-types/ts3.4/commands/DeleteAppVersionResourceCommand.d.ts +41 -0
  92. package/dist-types/ts3.4/commands/DescribeAppVersionAppComponentCommand.d.ts +41 -0
  93. package/dist-types/ts3.4/commands/DescribeAppVersionCommand.d.ts +38 -0
  94. package/dist-types/ts3.4/commands/DescribeAppVersionResourceCommand.d.ts +41 -0
  95. package/dist-types/ts3.4/commands/ListAppInputSourcesCommand.d.ts +38 -0
  96. package/dist-types/ts3.4/commands/ListAppVersionAppComponentsCommand.d.ts +41 -0
  97. package/dist-types/ts3.4/commands/UpdateAppVersionAppComponentCommand.d.ts +41 -0
  98. package/dist-types/ts3.4/commands/UpdateAppVersionCommand.d.ts +37 -0
  99. package/dist-types/ts3.4/commands/UpdateAppVersionResourceCommand.d.ts +41 -0
  100. package/dist-types/ts3.4/commands/index.d.ts +13 -0
  101. package/dist-types/ts3.4/models/models_0.d.ts +278 -24
  102. package/dist-types/ts3.4/pagination/ListAppInputSourcesPaginator.d.ts +11 -0
  103. package/dist-types/ts3.4/pagination/ListAppVersionAppComponentsPaginator.d.ts +11 -0
  104. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  105. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +156 -0
  106. package/package.json +2 -2
@@ -1,14 +1,22 @@
1
1
  import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
2
  import { AddDraftAppVersionResourceMappingsCommandInput, AddDraftAppVersionResourceMappingsCommandOutput } from "./commands/AddDraftAppVersionResourceMappingsCommand";
3
3
  import { CreateAppCommandInput, CreateAppCommandOutput } from "./commands/CreateAppCommand";
4
+ import { CreateAppVersionAppComponentCommandInput, CreateAppVersionAppComponentCommandOutput } from "./commands/CreateAppVersionAppComponentCommand";
5
+ import { CreateAppVersionResourceCommandInput, CreateAppVersionResourceCommandOutput } from "./commands/CreateAppVersionResourceCommand";
4
6
  import { CreateRecommendationTemplateCommandInput, CreateRecommendationTemplateCommandOutput } from "./commands/CreateRecommendationTemplateCommand";
5
7
  import { CreateResiliencyPolicyCommandInput, CreateResiliencyPolicyCommandOutput } from "./commands/CreateResiliencyPolicyCommand";
6
8
  import { DeleteAppAssessmentCommandInput, DeleteAppAssessmentCommandOutput } from "./commands/DeleteAppAssessmentCommand";
7
9
  import { DeleteAppCommandInput, DeleteAppCommandOutput } from "./commands/DeleteAppCommand";
10
+ import { DeleteAppInputSourceCommandInput, DeleteAppInputSourceCommandOutput } from "./commands/DeleteAppInputSourceCommand";
11
+ import { DeleteAppVersionAppComponentCommandInput, DeleteAppVersionAppComponentCommandOutput } from "./commands/DeleteAppVersionAppComponentCommand";
12
+ import { DeleteAppVersionResourceCommandInput, DeleteAppVersionResourceCommandOutput } from "./commands/DeleteAppVersionResourceCommand";
8
13
  import { DeleteRecommendationTemplateCommandInput, DeleteRecommendationTemplateCommandOutput } from "./commands/DeleteRecommendationTemplateCommand";
9
14
  import { DeleteResiliencyPolicyCommandInput, DeleteResiliencyPolicyCommandOutput } from "./commands/DeleteResiliencyPolicyCommand";
10
15
  import { DescribeAppAssessmentCommandInput, DescribeAppAssessmentCommandOutput } from "./commands/DescribeAppAssessmentCommand";
11
16
  import { DescribeAppCommandInput, DescribeAppCommandOutput } from "./commands/DescribeAppCommand";
17
+ import { DescribeAppVersionAppComponentCommandInput, DescribeAppVersionAppComponentCommandOutput } from "./commands/DescribeAppVersionAppComponentCommand";
18
+ import { DescribeAppVersionCommandInput, DescribeAppVersionCommandOutput } from "./commands/DescribeAppVersionCommand";
19
+ import { DescribeAppVersionResourceCommandInput, DescribeAppVersionResourceCommandOutput } from "./commands/DescribeAppVersionResourceCommand";
12
20
  import { DescribeAppVersionResourcesResolutionStatusCommandInput, DescribeAppVersionResourcesResolutionStatusCommandOutput } from "./commands/DescribeAppVersionResourcesResolutionStatusCommand";
13
21
  import { DescribeAppVersionTemplateCommandInput, DescribeAppVersionTemplateCommandOutput } from "./commands/DescribeAppVersionTemplateCommand";
14
22
  import { DescribeDraftAppVersionResourcesImportStatusCommandInput, DescribeDraftAppVersionResourcesImportStatusCommandOutput } from "./commands/DescribeDraftAppVersionResourcesImportStatusCommand";
@@ -18,7 +26,9 @@ import { ListAlarmRecommendationsCommandInput, ListAlarmRecommendationsCommandOu
18
26
  import { ListAppAssessmentsCommandInput, ListAppAssessmentsCommandOutput } from "./commands/ListAppAssessmentsCommand";
19
27
  import { ListAppComponentCompliancesCommandInput, ListAppComponentCompliancesCommandOutput } from "./commands/ListAppComponentCompliancesCommand";
20
28
  import { ListAppComponentRecommendationsCommandInput, ListAppComponentRecommendationsCommandOutput } from "./commands/ListAppComponentRecommendationsCommand";
29
+ import { ListAppInputSourcesCommandInput, ListAppInputSourcesCommandOutput } from "./commands/ListAppInputSourcesCommand";
21
30
  import { ListAppsCommandInput, ListAppsCommandOutput } from "./commands/ListAppsCommand";
31
+ import { ListAppVersionAppComponentsCommandInput, ListAppVersionAppComponentsCommandOutput } from "./commands/ListAppVersionAppComponentsCommand";
22
32
  import { ListAppVersionResourceMappingsCommandInput, ListAppVersionResourceMappingsCommandOutput } from "./commands/ListAppVersionResourceMappingsCommand";
23
33
  import { ListAppVersionResourcesCommandInput, ListAppVersionResourcesCommandOutput } from "./commands/ListAppVersionResourcesCommand";
24
34
  import { ListAppVersionsCommandInput, ListAppVersionsCommandOutput } from "./commands/ListAppVersionsCommand";
@@ -37,6 +47,9 @@ import { StartAppAssessmentCommandInput, StartAppAssessmentCommandOutput } from
37
47
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
38
48
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
39
49
  import { UpdateAppCommandInput, UpdateAppCommandOutput } from "./commands/UpdateAppCommand";
50
+ import { UpdateAppVersionAppComponentCommandInput, UpdateAppVersionAppComponentCommandOutput } from "./commands/UpdateAppVersionAppComponentCommand";
51
+ import { UpdateAppVersionCommandInput, UpdateAppVersionCommandOutput } from "./commands/UpdateAppVersionCommand";
52
+ import { UpdateAppVersionResourceCommandInput, UpdateAppVersionResourceCommandOutput } from "./commands/UpdateAppVersionResourceCommand";
40
53
  import { UpdateResiliencyPolicyCommandInput, UpdateResiliencyPolicyCommandOutput } from "./commands/UpdateResiliencyPolicyCommand";
41
54
  import { ResiliencehubClient } from "./ResiliencehubClient";
42
55
  /**
@@ -48,17 +61,17 @@ import { ResiliencehubClient } from "./ResiliencehubClient";
48
61
  */
49
62
  export declare class Resiliencehub extends ResiliencehubClient {
50
63
  /**
51
- * <p>Adds the resource mapping for the draft application version.</p>
64
+ * <p>Adds the resource mapping for the draft application version. You can also update an existing resource mapping to a new physical resource.</p>
52
65
  */
53
66
  addDraftAppVersionResourceMappings(args: AddDraftAppVersionResourceMappingsCommandInput, options?: __HttpHandlerOptions): Promise<AddDraftAppVersionResourceMappingsCommandOutput>;
54
67
  addDraftAppVersionResourceMappings(args: AddDraftAppVersionResourceMappingsCommandInput, cb: (err: any, data?: AddDraftAppVersionResourceMappingsCommandOutput) => void): void;
55
68
  addDraftAppVersionResourceMappings(args: AddDraftAppVersionResourceMappingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddDraftAppVersionResourceMappingsCommandOutput) => void): void;
56
69
  /**
57
- * <p>Creates a Resilience Hub application. A Resilience Hub application is a collection of Amazon Web Services
70
+ * <p>Creates an AWS Resilience Hub application. An AWS Resilience Hub application is a collection of Amazon Web Services
58
71
  * resources structured to prevent and recover Amazon Web Services application disruptions. To describe a
59
- * Resilience Hub application, you provide an application name, resources from one or more–up to
72
+ * AWS Resilience Hub application, you provide an application name, resources from one or more–up to
60
73
  * five–CloudFormation stacks, and an appropriate resiliency policy.</p>
61
- * <p>After you create a Resilience Hub application, you publish it so that you can run a resiliency
74
+ * <p>After you create an AWS Resilience Hub application, you publish it so that you can run a resiliency
62
75
  * assessment on it. You can then use recommendations from the assessment to improve resiliency
63
76
  * by running another assessment, comparing results, and then iterating the process until you
64
77
  * achieve your goals for recovery time objective (RTO) and recovery point objective
@@ -68,7 +81,40 @@ export declare class Resiliencehub extends ResiliencehubClient {
68
81
  createApp(args: CreateAppCommandInput, cb: (err: any, data?: CreateAppCommandOutput) => void): void;
69
82
  createApp(args: CreateAppCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAppCommandOutput) => void): void;
70
83
  /**
71
- * <p>Creates a new recommendation template.</p>
84
+ * <p>Creates a new Application Component in the AWS Resilience Hub application.</p>
85
+ * <note>
86
+ * <p>This API updates the AWS Resilience Hub application draft version. To use this Application Component for running assessments, you must publish the AWS Resilience Hub application using the <code>PublishAppVersion</code> API.</p>
87
+ * </note>
88
+ */
89
+ createAppVersionAppComponent(args: CreateAppVersionAppComponentCommandInput, options?: __HttpHandlerOptions): Promise<CreateAppVersionAppComponentCommandOutput>;
90
+ createAppVersionAppComponent(args: CreateAppVersionAppComponentCommandInput, cb: (err: any, data?: CreateAppVersionAppComponentCommandOutput) => void): void;
91
+ createAppVersionAppComponent(args: CreateAppVersionAppComponentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAppVersionAppComponentCommandOutput) => void): void;
92
+ /**
93
+ * <p>Adds a resource to the AWS Resilience Hub applicationand assigns it to the specified
94
+ * Application Components. If you specify a new Application Component, AWS Resilience Hub will automatically
95
+ * create the Application Component.</p>
96
+ * <note>
97
+ * <ul>
98
+ * <li>
99
+ * <p>This action has no effect outside AWS Resilience Hub.</p>
100
+ * </li>
101
+ * <li>
102
+ * <p>This API updates the AWS Resilience Hub application draft version. To use this resource
103
+ * for running resiliency assessments, you must publish the AWS Resilience Hub application using
104
+ * the <code>PublishAppVersion</code> API.</p>
105
+ * </li>
106
+ * <li>
107
+ * <p>To update application version with new <code>physicalResourceID</code>, you must
108
+ * call <code>ResolveAppVersionResources</code> API.</p>
109
+ * </li>
110
+ * </ul>
111
+ * </note>
112
+ */
113
+ createAppVersionResource(args: CreateAppVersionResourceCommandInput, options?: __HttpHandlerOptions): Promise<CreateAppVersionResourceCommandOutput>;
114
+ createAppVersionResource(args: CreateAppVersionResourceCommandInput, cb: (err: any, data?: CreateAppVersionResourceCommandOutput) => void): void;
115
+ createAppVersionResource(args: CreateAppVersionResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAppVersionResourceCommandOutput) => void): void;
116
+ /**
117
+ * <p>Creates a new recommendation template for the AWS Resilience Hub application.</p>
72
118
  */
73
119
  createRecommendationTemplate(args: CreateRecommendationTemplateCommandInput, options?: __HttpHandlerOptions): Promise<CreateRecommendationTemplateCommandOutput>;
74
120
  createRecommendationTemplate(args: CreateRecommendationTemplateCommandInput, cb: (err: any, data?: CreateRecommendationTemplateCommandOutput) => void): void;
@@ -93,6 +139,47 @@ export declare class Resiliencehub extends ResiliencehubClient {
93
139
  deleteAppAssessment(args: DeleteAppAssessmentCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAppAssessmentCommandOutput>;
94
140
  deleteAppAssessment(args: DeleteAppAssessmentCommandInput, cb: (err: any, data?: DeleteAppAssessmentCommandOutput) => void): void;
95
141
  deleteAppAssessment(args: DeleteAppAssessmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAppAssessmentCommandOutput) => void): void;
142
+ /**
143
+ * <p>Deletes the input source and all of its imported resources from the AWS Resilience Hub application.</p>
144
+ */
145
+ deleteAppInputSource(args: DeleteAppInputSourceCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAppInputSourceCommandOutput>;
146
+ deleteAppInputSource(args: DeleteAppInputSourceCommandInput, cb: (err: any, data?: DeleteAppInputSourceCommandOutput) => void): void;
147
+ deleteAppInputSource(args: DeleteAppInputSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAppInputSourceCommandOutput) => void): void;
148
+ /**
149
+ * <p>Deletes an Application Component from the AWS Resilience Hub application.</p>
150
+ * <note>
151
+ * <ul>
152
+ * <li>
153
+ * <p>This API updates the AWS Resilience Hub application draft version. To use this Application Component for running assessments, you must publish the AWS Resilience Hub application using the <code>PublishAppVersion</code> API.</p>
154
+ * </li>
155
+ * <li>
156
+ * <p>You will not be able to delete an Application Component if it has resources associated with it.</p>
157
+ * </li>
158
+ * </ul>
159
+ * </note>
160
+ */
161
+ deleteAppVersionAppComponent(args: DeleteAppVersionAppComponentCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAppVersionAppComponentCommandOutput>;
162
+ deleteAppVersionAppComponent(args: DeleteAppVersionAppComponentCommandInput, cb: (err: any, data?: DeleteAppVersionAppComponentCommandOutput) => void): void;
163
+ deleteAppVersionAppComponent(args: DeleteAppVersionAppComponentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAppVersionAppComponentCommandOutput) => void): void;
164
+ /**
165
+ * <p>Deletes a resource from the AWS Resilience Hub application.</p>
166
+ * <note>
167
+ * <ul>
168
+ * <li>
169
+ * <p>You can only delete a manually added resource. To exclude non-manually added resources, use the <code>UpdateAppVersionResource</code> API.</p>
170
+ * </li>
171
+ * <li>
172
+ * <p>This action has no effect outside AWS Resilience Hub.</p>
173
+ * </li>
174
+ * <li>
175
+ * <p>This API updates the AWS Resilience Hub application draft version. To use this resource for running resiliency assessments, you must publish the AWS Resilience Hub application using the <code>PublishAppVersion</code> API.</p>
176
+ * </li>
177
+ * </ul>
178
+ * </note>
179
+ */
180
+ deleteAppVersionResource(args: DeleteAppVersionResourceCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAppVersionResourceCommandOutput>;
181
+ deleteAppVersionResource(args: DeleteAppVersionResourceCommandInput, cb: (err: any, data?: DeleteAppVersionResourceCommandOutput) => void): void;
182
+ deleteAppVersionResource(args: DeleteAppVersionResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAppVersionResourceCommandOutput) => void): void;
96
183
  /**
97
184
  * <p>Deletes a recommendation template. This is a destructive action that can't be
98
185
  * undone.</p>
@@ -118,6 +205,44 @@ export declare class Resiliencehub extends ResiliencehubClient {
118
205
  describeAppAssessment(args: DescribeAppAssessmentCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAppAssessmentCommandOutput>;
119
206
  describeAppAssessment(args: DescribeAppAssessmentCommandInput, cb: (err: any, data?: DescribeAppAssessmentCommandOutput) => void): void;
120
207
  describeAppAssessment(args: DescribeAppAssessmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAppAssessmentCommandOutput) => void): void;
208
+ /**
209
+ * <p>Describes the AWS Resilience Hub application version.</p>
210
+ */
211
+ describeAppVersion(args: DescribeAppVersionCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAppVersionCommandOutput>;
212
+ describeAppVersion(args: DescribeAppVersionCommandInput, cb: (err: any, data?: DescribeAppVersionCommandOutput) => void): void;
213
+ describeAppVersion(args: DescribeAppVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAppVersionCommandOutput) => void): void;
214
+ /**
215
+ * <p>Describes an Application Component in the AWS Resilience Hub application.</p>
216
+ */
217
+ describeAppVersionAppComponent(args: DescribeAppVersionAppComponentCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAppVersionAppComponentCommandOutput>;
218
+ describeAppVersionAppComponent(args: DescribeAppVersionAppComponentCommandInput, cb: (err: any, data?: DescribeAppVersionAppComponentCommandOutput) => void): void;
219
+ describeAppVersionAppComponent(args: DescribeAppVersionAppComponentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAppVersionAppComponentCommandOutput) => void): void;
220
+ /**
221
+ * <p>Describes a resource of the AWS Resilience Hub application.</p>
222
+ * <note>
223
+ * <p>This API accepts only one of the following parameters to descibe the resource:</p>
224
+ * <ul>
225
+ * <li>
226
+ * <p>
227
+ * <code>resourceName</code>
228
+ * </p>
229
+ * </li>
230
+ * <li>
231
+ * <p>
232
+ * <code>logicalResourceId</code>
233
+ * </p>
234
+ * </li>
235
+ * <li>
236
+ * <p>
237
+ * <code>physicalResourceId</code> (Along with <code>physicalResourceId</code>, you can also
238
+ * provide <code>awsAccountId</code>, and <code>awsRegion</code>)</p>
239
+ * </li>
240
+ * </ul>
241
+ * </note>
242
+ */
243
+ describeAppVersionResource(args: DescribeAppVersionResourceCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAppVersionResourceCommandOutput>;
244
+ describeAppVersionResource(args: DescribeAppVersionResourceCommandInput, cb: (err: any, data?: DescribeAppVersionResourceCommandOutput) => void): void;
245
+ describeAppVersionResource(args: DescribeAppVersionResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAppVersionResourceCommandOutput) => void): void;
121
246
  /**
122
247
  * <p>Returns the resolution status for the specified resolution identifier for an application
123
248
  * version. If <code>resolutionId</code> is not specified, the current resolution status is
@@ -127,13 +252,20 @@ export declare class Resiliencehub extends ResiliencehubClient {
127
252
  describeAppVersionResourcesResolutionStatus(args: DescribeAppVersionResourcesResolutionStatusCommandInput, cb: (err: any, data?: DescribeAppVersionResourcesResolutionStatusCommandOutput) => void): void;
128
253
  describeAppVersionResourcesResolutionStatus(args: DescribeAppVersionResourcesResolutionStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAppVersionResourcesResolutionStatusCommandOutput) => void): void;
129
254
  /**
130
- * <p>Describes details about an AWS Resilience Hub </p>
255
+ * <p>Describes details about an AWS Resilience Hub application.</p>
131
256
  */
132
257
  describeAppVersionTemplate(args: DescribeAppVersionTemplateCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAppVersionTemplateCommandOutput>;
133
258
  describeAppVersionTemplate(args: DescribeAppVersionTemplateCommandInput, cb: (err: any, data?: DescribeAppVersionTemplateCommandOutput) => void): void;
134
259
  describeAppVersionTemplate(args: DescribeAppVersionTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAppVersionTemplateCommandOutput) => void): void;
135
260
  /**
136
261
  * <p>Describes the status of importing resources to an application version.</p>
262
+ * <note>
263
+ * <p>If you get a 404 error with
264
+ * <code>ResourceImportStatusNotFoundAppMetadataException</code>, you must call
265
+ * <code>importResourcesToDraftAppVersion</code> after creating the application and before
266
+ * calling <code>describeDraftAppVersionResourcesImportStatus</code> to obtain the
267
+ * status.</p>
268
+ * </note>
137
269
  */
138
270
  describeDraftAppVersionResourcesImportStatus(args: DescribeDraftAppVersionResourcesImportStatusCommandInput, options?: __HttpHandlerOptions): Promise<DescribeDraftAppVersionResourcesImportStatusCommandOutput>;
139
271
  describeDraftAppVersionResourcesImportStatus(args: DescribeDraftAppVersionResourcesImportStatusCommandInput, cb: (err: any, data?: DescribeDraftAppVersionResourcesImportStatusCommandOutput) => void): void;
@@ -147,14 +279,14 @@ export declare class Resiliencehub extends ResiliencehubClient {
147
279
  describeResiliencyPolicy(args: DescribeResiliencyPolicyCommandInput, cb: (err: any, data?: DescribeResiliencyPolicyCommandOutput) => void): void;
148
280
  describeResiliencyPolicy(args: DescribeResiliencyPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeResiliencyPolicyCommandOutput) => void): void;
149
281
  /**
150
- * <p>Imports resources from sources such as a CloudFormation stack, resource-groups, or application
151
- * registry app to a draft application version.</p>
282
+ * <p>Imports resources to AWS Resilience Hub application draft version from different input sources. For more information about the input sources supported by AWS Resilience Hub, see <a href="https://docs.aws.amazon.com/resilience-hub/latest/userguide/discover-structure.html">Discover
283
+ * the structure and describe your Resilience Hub application</a>.</p>
152
284
  */
153
285
  importResourcesToDraftAppVersion(args: ImportResourcesToDraftAppVersionCommandInput, options?: __HttpHandlerOptions): Promise<ImportResourcesToDraftAppVersionCommandOutput>;
154
286
  importResourcesToDraftAppVersion(args: ImportResourcesToDraftAppVersionCommandInput, cb: (err: any, data?: ImportResourcesToDraftAppVersionCommandOutput) => void): void;
155
287
  importResourcesToDraftAppVersion(args: ImportResourcesToDraftAppVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ImportResourcesToDraftAppVersionCommandOutput) => void): void;
156
288
  /**
157
- * <p>Lists the alarm recommendations for a AWS Resilience Hub application.</p>
289
+ * <p>Lists the alarm recommendations for an AWS Resilience Hub application.</p>
158
290
  */
159
291
  listAlarmRecommendations(args: ListAlarmRecommendationsCommandInput, options?: __HttpHandlerOptions): Promise<ListAlarmRecommendationsCommandOutput>;
160
292
  listAlarmRecommendations(args: ListAlarmRecommendationsCommandInput, cb: (err: any, data?: ListAlarmRecommendationsCommandOutput) => void): void;
@@ -167,23 +299,46 @@ export declare class Resiliencehub extends ResiliencehubClient {
167
299
  listAppAssessments(args: ListAppAssessmentsCommandInput, cb: (err: any, data?: ListAppAssessmentsCommandOutput) => void): void;
168
300
  listAppAssessments(args: ListAppAssessmentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAppAssessmentsCommandOutput) => void): void;
169
301
  /**
170
- * <p>Lists the compliances for an AWS Resilience Hub component.</p>
302
+ * <p>Lists the compliances for an AWS Resilience Hub Application Component.</p>
171
303
  */
172
304
  listAppComponentCompliances(args: ListAppComponentCompliancesCommandInput, options?: __HttpHandlerOptions): Promise<ListAppComponentCompliancesCommandOutput>;
173
305
  listAppComponentCompliances(args: ListAppComponentCompliancesCommandInput, cb: (err: any, data?: ListAppComponentCompliancesCommandOutput) => void): void;
174
306
  listAppComponentCompliances(args: ListAppComponentCompliancesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAppComponentCompliancesCommandOutput) => void): void;
175
307
  /**
176
- * <p>Lists the recommendations for an AWS Resilience Hub component.</p>
308
+ * <p>Lists the recommendations for an AWS Resilience Hub Application Component.</p>
177
309
  */
178
310
  listAppComponentRecommendations(args: ListAppComponentRecommendationsCommandInput, options?: __HttpHandlerOptions): Promise<ListAppComponentRecommendationsCommandOutput>;
179
311
  listAppComponentRecommendations(args: ListAppComponentRecommendationsCommandInput, cb: (err: any, data?: ListAppComponentRecommendationsCommandOutput) => void): void;
180
312
  listAppComponentRecommendations(args: ListAppComponentRecommendationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAppComponentRecommendationsCommandOutput) => void): void;
181
313
  /**
182
- * <p>Lists your Resilience Hub applications.</p>
314
+ * <p>Lists all the input sources of the AWS Resilience Hub application. For more information about the
315
+ * input sources supported by AWS Resilience Hub, see <a href="https://docs.aws.amazon.com/resilience-hub/latest/userguide/discover-structure.html">Discover
316
+ * the structure and describe your Resilience Hub application</a>.</p>
317
+ */
318
+ listAppInputSources(args: ListAppInputSourcesCommandInput, options?: __HttpHandlerOptions): Promise<ListAppInputSourcesCommandOutput>;
319
+ listAppInputSources(args: ListAppInputSourcesCommandInput, cb: (err: any, data?: ListAppInputSourcesCommandOutput) => void): void;
320
+ listAppInputSources(args: ListAppInputSourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAppInputSourcesCommandOutput) => void): void;
321
+ /**
322
+ * <p>Lists your AWS Resilience Hub applications.</p>
323
+ * <note>
324
+ * <p>You can filter applications using only one filter at a time or without using any filter.
325
+ * If you try to filter applications using multiple filters, you will get the following
326
+ * error:</p>
327
+ * <p>
328
+ * <code>An error occurred (ValidationException) when calling the ListApps operation: Only
329
+ * one filter is supported for this operation.</code>
330
+ * </p>
331
+ * </note>
183
332
  */
184
333
  listApps(args: ListAppsCommandInput, options?: __HttpHandlerOptions): Promise<ListAppsCommandOutput>;
185
334
  listApps(args: ListAppsCommandInput, cb: (err: any, data?: ListAppsCommandOutput) => void): void;
186
335
  listApps(args: ListAppsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAppsCommandOutput) => void): void;
336
+ /**
337
+ * <p>Lists all the Application Components in the AWS Resilience Hub application.</p>
338
+ */
339
+ listAppVersionAppComponents(args: ListAppVersionAppComponentsCommandInput, options?: __HttpHandlerOptions): Promise<ListAppVersionAppComponentsCommandOutput>;
340
+ listAppVersionAppComponents(args: ListAppVersionAppComponentsCommandInput, cb: (err: any, data?: ListAppVersionAppComponentsCommandOutput) => void): void;
341
+ listAppVersionAppComponents(args: ListAppVersionAppComponentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAppVersionAppComponentsCommandOutput) => void): void;
187
342
  /**
188
343
  * <p>Lists how the resources in an application version are mapped/sourced from. Mappings can be
189
344
  * physical resource identifiers, CloudFormation stacks, resource-groups, or an application registry
@@ -193,50 +348,50 @@ export declare class Resiliencehub extends ResiliencehubClient {
193
348
  listAppVersionResourceMappings(args: ListAppVersionResourceMappingsCommandInput, cb: (err: any, data?: ListAppVersionResourceMappingsCommandOutput) => void): void;
194
349
  listAppVersionResourceMappings(args: ListAppVersionResourceMappingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAppVersionResourceMappingsCommandOutput) => void): void;
195
350
  /**
196
- * <p>Lists all the resources in an application version.</p>
351
+ * <p>Lists all the resources in an AWS Resilience Hub application.</p>
197
352
  */
198
353
  listAppVersionResources(args: ListAppVersionResourcesCommandInput, options?: __HttpHandlerOptions): Promise<ListAppVersionResourcesCommandOutput>;
199
354
  listAppVersionResources(args: ListAppVersionResourcesCommandInput, cb: (err: any, data?: ListAppVersionResourcesCommandOutput) => void): void;
200
355
  listAppVersionResources(args: ListAppVersionResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAppVersionResourcesCommandOutput) => void): void;
201
356
  /**
202
- * <p>Lists the different versions for the Resilience Hub applications.</p>
357
+ * <p>Lists the different versions for the AWS Resilience Hub applications.</p>
203
358
  */
204
359
  listAppVersions(args: ListAppVersionsCommandInput, options?: __HttpHandlerOptions): Promise<ListAppVersionsCommandOutput>;
205
360
  listAppVersions(args: ListAppVersionsCommandInput, cb: (err: any, data?: ListAppVersionsCommandOutput) => void): void;
206
361
  listAppVersions(args: ListAppVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAppVersionsCommandOutput) => void): void;
207
362
  /**
208
- * <p>Lists the recommendation templates for the Resilience Hub applications.</p>
363
+ * <p>Lists the recommendation templates for the AWS Resilience Hub applications.</p>
209
364
  */
210
365
  listRecommendationTemplates(args: ListRecommendationTemplatesCommandInput, options?: __HttpHandlerOptions): Promise<ListRecommendationTemplatesCommandOutput>;
211
366
  listRecommendationTemplates(args: ListRecommendationTemplatesCommandInput, cb: (err: any, data?: ListRecommendationTemplatesCommandOutput) => void): void;
212
367
  listRecommendationTemplates(args: ListRecommendationTemplatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRecommendationTemplatesCommandOutput) => void): void;
213
368
  /**
214
- * <p>Lists the resiliency policies for the Resilience Hub applications.</p>
369
+ * <p>Lists the resiliency policies for the AWS Resilience Hub applications.</p>
215
370
  */
216
371
  listResiliencyPolicies(args: ListResiliencyPoliciesCommandInput, options?: __HttpHandlerOptions): Promise<ListResiliencyPoliciesCommandOutput>;
217
372
  listResiliencyPolicies(args: ListResiliencyPoliciesCommandInput, cb: (err: any, data?: ListResiliencyPoliciesCommandOutput) => void): void;
218
373
  listResiliencyPolicies(args: ListResiliencyPoliciesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListResiliencyPoliciesCommandOutput) => void): void;
219
374
  /**
220
- * <p>Lists the standard operating procedure (SOP) recommendations for the Resilience Hub
375
+ * <p>Lists the standard operating procedure (SOP) recommendations for the AWS Resilience Hub
221
376
  * applications.</p>
222
377
  */
223
378
  listSopRecommendations(args: ListSopRecommendationsCommandInput, options?: __HttpHandlerOptions): Promise<ListSopRecommendationsCommandOutput>;
224
379
  listSopRecommendations(args: ListSopRecommendationsCommandInput, cb: (err: any, data?: ListSopRecommendationsCommandOutput) => void): void;
225
380
  listSopRecommendations(args: ListSopRecommendationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSopRecommendationsCommandOutput) => void): void;
226
381
  /**
227
- * <p>Lists the suggested resiliency policies for the Resilience Hub applications.</p>
382
+ * <p>Lists the suggested resiliency policies for the AWS Resilience Hub applications.</p>
228
383
  */
229
384
  listSuggestedResiliencyPolicies(args: ListSuggestedResiliencyPoliciesCommandInput, options?: __HttpHandlerOptions): Promise<ListSuggestedResiliencyPoliciesCommandOutput>;
230
385
  listSuggestedResiliencyPolicies(args: ListSuggestedResiliencyPoliciesCommandInput, cb: (err: any, data?: ListSuggestedResiliencyPoliciesCommandOutput) => void): void;
231
386
  listSuggestedResiliencyPolicies(args: ListSuggestedResiliencyPoliciesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSuggestedResiliencyPoliciesCommandOutput) => void): void;
232
387
  /**
233
- * <p>Lists the tags for your resources in your Resilience Hub applications.</p>
388
+ * <p>Lists the tags for your resources in your AWS Resilience Hub applications.</p>
234
389
  */
235
390
  listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
236
391
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
237
392
  listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
238
393
  /**
239
- * <p>Lists the test recommendations for the Resilience Hub application.</p>
394
+ * <p>Lists the test recommendations for the AWS Resilience Hub application.</p>
240
395
  */
241
396
  listTestRecommendations(args: ListTestRecommendationsCommandInput, options?: __HttpHandlerOptions): Promise<ListTestRecommendationsCommandOutput>;
242
397
  listTestRecommendations(args: ListTestRecommendationsCommandInput, cb: (err: any, data?: ListTestRecommendationsCommandOutput) => void): void;
@@ -244,19 +399,19 @@ export declare class Resiliencehub extends ResiliencehubClient {
244
399
  /**
245
400
  * <p>Lists the resources that are not currently supported in AWS Resilience Hub. An unsupported
246
401
  * resource is a resource that exists in the object that was used to create an app, but is not
247
- * supported by Resilience Hub.</p>
402
+ * supported by AWS Resilience Hub.</p>
248
403
  */
249
404
  listUnsupportedAppVersionResources(args: ListUnsupportedAppVersionResourcesCommandInput, options?: __HttpHandlerOptions): Promise<ListUnsupportedAppVersionResourcesCommandOutput>;
250
405
  listUnsupportedAppVersionResources(args: ListUnsupportedAppVersionResourcesCommandInput, cb: (err: any, data?: ListUnsupportedAppVersionResourcesCommandOutput) => void): void;
251
406
  listUnsupportedAppVersionResources(args: ListUnsupportedAppVersionResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListUnsupportedAppVersionResourcesCommandOutput) => void): void;
252
407
  /**
253
- * <p>Publishes a new version of a specific Resilience Hub application.</p>
408
+ * <p>Publishes a new version of a specific AWS Resilience Hub application.</p>
254
409
  */
255
410
  publishAppVersion(args: PublishAppVersionCommandInput, options?: __HttpHandlerOptions): Promise<PublishAppVersionCommandOutput>;
256
411
  publishAppVersion(args: PublishAppVersionCommandInput, cb: (err: any, data?: PublishAppVersionCommandOutput) => void): void;
257
412
  publishAppVersion(args: PublishAppVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PublishAppVersionCommandOutput) => void): void;
258
413
  /**
259
- * <p>Adds or updates the app template for a draft version of a Resilience Hub app.</p>
414
+ * <p>Adds or updates the app template for an AWS Resilience Hub application draft version.</p>
260
415
  */
261
416
  putDraftAppVersionTemplate(args: PutDraftAppVersionTemplateCommandInput, options?: __HttpHandlerOptions): Promise<PutDraftAppVersionTemplateCommandOutput>;
262
417
  putDraftAppVersionTemplate(args: PutDraftAppVersionTemplateCommandInput, cb: (err: any, data?: PutDraftAppVersionTemplateCommandOutput) => void): void;
@@ -297,6 +452,46 @@ export declare class Resiliencehub extends ResiliencehubClient {
297
452
  updateApp(args: UpdateAppCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAppCommandOutput>;
298
453
  updateApp(args: UpdateAppCommandInput, cb: (err: any, data?: UpdateAppCommandOutput) => void): void;
299
454
  updateApp(args: UpdateAppCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAppCommandOutput) => void): void;
455
+ /**
456
+ * <p>Updates the AWS Resilience Hub application version.</p>
457
+ * <note>
458
+ * <p>This API updates the AWS Resilience Hub application draft version. To use this information
459
+ * for running resiliency assessments, you must publish the AWS Resilience Hub application using the
460
+ * <code>PublishAppVersion</code> API.</p>
461
+ * </note>
462
+ */
463
+ updateAppVersion(args: UpdateAppVersionCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAppVersionCommandOutput>;
464
+ updateAppVersion(args: UpdateAppVersionCommandInput, cb: (err: any, data?: UpdateAppVersionCommandOutput) => void): void;
465
+ updateAppVersion(args: UpdateAppVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAppVersionCommandOutput) => void): void;
466
+ /**
467
+ * <p>Updates an existing Application Component in the AWS Resilience Hub application.</p>
468
+ * <note>
469
+ * <p>This API updates the AWS Resilience Hub application draft version. To use this Application Component for running assessments, you must publish the AWS Resilience Hub application using the <code>PublishAppVersion</code> API.</p>
470
+ * </note>
471
+ */
472
+ updateAppVersionAppComponent(args: UpdateAppVersionAppComponentCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAppVersionAppComponentCommandOutput>;
473
+ updateAppVersionAppComponent(args: UpdateAppVersionAppComponentCommandInput, cb: (err: any, data?: UpdateAppVersionAppComponentCommandOutput) => void): void;
474
+ updateAppVersionAppComponent(args: UpdateAppVersionAppComponentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAppVersionAppComponentCommandOutput) => void): void;
475
+ /**
476
+ * <p>Updates the resource details in the AWS Resilience Hub application.</p>
477
+ * <note>
478
+ * <ul>
479
+ * <li>
480
+ * <p>This action has no effect outside AWS Resilience Hub.</p>
481
+ * </li>
482
+ * <li>
483
+ * <p>This API updates the AWS Resilience Hub application draft version. To use this resource for running resiliency assessments, you must publish the AWS Resilience Hub application using the <code>PublishAppVersion</code> API.</p>
484
+ * </li>
485
+ * <li>
486
+ * <p>To update application version with new <code>physicalResourceID</code>, you must call
487
+ * <code>ResolveAppVersionResources</code> API.</p>
488
+ * </li>
489
+ * </ul>
490
+ * </note>
491
+ */
492
+ updateAppVersionResource(args: UpdateAppVersionResourceCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAppVersionResourceCommandOutput>;
493
+ updateAppVersionResource(args: UpdateAppVersionResourceCommandInput, cb: (err: any, data?: UpdateAppVersionResourceCommandOutput) => void): void;
494
+ updateAppVersionResource(args: UpdateAppVersionResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAppVersionResourceCommandOutput) => void): void;
300
495
  /**
301
496
  * <p>Updates a resiliency policy.</p>
302
497
  */
@@ -9,14 +9,22 @@ import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration
9
9
  import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Credentials as __Credentials, 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 "@aws-sdk/types";
10
10
  import { AddDraftAppVersionResourceMappingsCommandInput, AddDraftAppVersionResourceMappingsCommandOutput } from "./commands/AddDraftAppVersionResourceMappingsCommand";
11
11
  import { CreateAppCommandInput, CreateAppCommandOutput } from "./commands/CreateAppCommand";
12
+ import { CreateAppVersionAppComponentCommandInput, CreateAppVersionAppComponentCommandOutput } from "./commands/CreateAppVersionAppComponentCommand";
13
+ import { CreateAppVersionResourceCommandInput, CreateAppVersionResourceCommandOutput } from "./commands/CreateAppVersionResourceCommand";
12
14
  import { CreateRecommendationTemplateCommandInput, CreateRecommendationTemplateCommandOutput } from "./commands/CreateRecommendationTemplateCommand";
13
15
  import { CreateResiliencyPolicyCommandInput, CreateResiliencyPolicyCommandOutput } from "./commands/CreateResiliencyPolicyCommand";
14
16
  import { DeleteAppAssessmentCommandInput, DeleteAppAssessmentCommandOutput } from "./commands/DeleteAppAssessmentCommand";
15
17
  import { DeleteAppCommandInput, DeleteAppCommandOutput } from "./commands/DeleteAppCommand";
18
+ import { DeleteAppInputSourceCommandInput, DeleteAppInputSourceCommandOutput } from "./commands/DeleteAppInputSourceCommand";
19
+ import { DeleteAppVersionAppComponentCommandInput, DeleteAppVersionAppComponentCommandOutput } from "./commands/DeleteAppVersionAppComponentCommand";
20
+ import { DeleteAppVersionResourceCommandInput, DeleteAppVersionResourceCommandOutput } from "./commands/DeleteAppVersionResourceCommand";
16
21
  import { DeleteRecommendationTemplateCommandInput, DeleteRecommendationTemplateCommandOutput } from "./commands/DeleteRecommendationTemplateCommand";
17
22
  import { DeleteResiliencyPolicyCommandInput, DeleteResiliencyPolicyCommandOutput } from "./commands/DeleteResiliencyPolicyCommand";
18
23
  import { DescribeAppAssessmentCommandInput, DescribeAppAssessmentCommandOutput } from "./commands/DescribeAppAssessmentCommand";
19
24
  import { DescribeAppCommandInput, DescribeAppCommandOutput } from "./commands/DescribeAppCommand";
25
+ import { DescribeAppVersionAppComponentCommandInput, DescribeAppVersionAppComponentCommandOutput } from "./commands/DescribeAppVersionAppComponentCommand";
26
+ import { DescribeAppVersionCommandInput, DescribeAppVersionCommandOutput } from "./commands/DescribeAppVersionCommand";
27
+ import { DescribeAppVersionResourceCommandInput, DescribeAppVersionResourceCommandOutput } from "./commands/DescribeAppVersionResourceCommand";
20
28
  import { DescribeAppVersionResourcesResolutionStatusCommandInput, DescribeAppVersionResourcesResolutionStatusCommandOutput } from "./commands/DescribeAppVersionResourcesResolutionStatusCommand";
21
29
  import { DescribeAppVersionTemplateCommandInput, DescribeAppVersionTemplateCommandOutput } from "./commands/DescribeAppVersionTemplateCommand";
22
30
  import { DescribeDraftAppVersionResourcesImportStatusCommandInput, DescribeDraftAppVersionResourcesImportStatusCommandOutput } from "./commands/DescribeDraftAppVersionResourcesImportStatusCommand";
@@ -26,7 +34,9 @@ import { ListAlarmRecommendationsCommandInput, ListAlarmRecommendationsCommandOu
26
34
  import { ListAppAssessmentsCommandInput, ListAppAssessmentsCommandOutput } from "./commands/ListAppAssessmentsCommand";
27
35
  import { ListAppComponentCompliancesCommandInput, ListAppComponentCompliancesCommandOutput } from "./commands/ListAppComponentCompliancesCommand";
28
36
  import { ListAppComponentRecommendationsCommandInput, ListAppComponentRecommendationsCommandOutput } from "./commands/ListAppComponentRecommendationsCommand";
37
+ import { ListAppInputSourcesCommandInput, ListAppInputSourcesCommandOutput } from "./commands/ListAppInputSourcesCommand";
29
38
  import { ListAppsCommandInput, ListAppsCommandOutput } from "./commands/ListAppsCommand";
39
+ import { ListAppVersionAppComponentsCommandInput, ListAppVersionAppComponentsCommandOutput } from "./commands/ListAppVersionAppComponentsCommand";
30
40
  import { ListAppVersionResourceMappingsCommandInput, ListAppVersionResourceMappingsCommandOutput } from "./commands/ListAppVersionResourceMappingsCommand";
31
41
  import { ListAppVersionResourcesCommandInput, ListAppVersionResourcesCommandOutput } from "./commands/ListAppVersionResourcesCommand";
32
42
  import { ListAppVersionsCommandInput, ListAppVersionsCommandOutput } from "./commands/ListAppVersionsCommand";
@@ -45,10 +55,13 @@ import { StartAppAssessmentCommandInput, StartAppAssessmentCommandOutput } from
45
55
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
46
56
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
47
57
  import { UpdateAppCommandInput, UpdateAppCommandOutput } from "./commands/UpdateAppCommand";
58
+ import { UpdateAppVersionAppComponentCommandInput, UpdateAppVersionAppComponentCommandOutput } from "./commands/UpdateAppVersionAppComponentCommand";
59
+ import { UpdateAppVersionCommandInput, UpdateAppVersionCommandOutput } from "./commands/UpdateAppVersionCommand";
60
+ import { UpdateAppVersionResourceCommandInput, UpdateAppVersionResourceCommandOutput } from "./commands/UpdateAppVersionResourceCommand";
48
61
  import { UpdateResiliencyPolicyCommandInput, UpdateResiliencyPolicyCommandOutput } from "./commands/UpdateResiliencyPolicyCommand";
49
62
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
50
- export declare type ServiceInputTypes = AddDraftAppVersionResourceMappingsCommandInput | CreateAppCommandInput | CreateRecommendationTemplateCommandInput | CreateResiliencyPolicyCommandInput | DeleteAppAssessmentCommandInput | DeleteAppCommandInput | DeleteRecommendationTemplateCommandInput | DeleteResiliencyPolicyCommandInput | DescribeAppAssessmentCommandInput | DescribeAppCommandInput | DescribeAppVersionResourcesResolutionStatusCommandInput | DescribeAppVersionTemplateCommandInput | DescribeDraftAppVersionResourcesImportStatusCommandInput | DescribeResiliencyPolicyCommandInput | ImportResourcesToDraftAppVersionCommandInput | ListAlarmRecommendationsCommandInput | ListAppAssessmentsCommandInput | ListAppComponentCompliancesCommandInput | ListAppComponentRecommendationsCommandInput | ListAppVersionResourceMappingsCommandInput | ListAppVersionResourcesCommandInput | ListAppVersionsCommandInput | ListAppsCommandInput | ListRecommendationTemplatesCommandInput | ListResiliencyPoliciesCommandInput | ListSopRecommendationsCommandInput | ListSuggestedResiliencyPoliciesCommandInput | ListTagsForResourceCommandInput | ListTestRecommendationsCommandInput | ListUnsupportedAppVersionResourcesCommandInput | PublishAppVersionCommandInput | PutDraftAppVersionTemplateCommandInput | RemoveDraftAppVersionResourceMappingsCommandInput | ResolveAppVersionResourcesCommandInput | StartAppAssessmentCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAppCommandInput | UpdateResiliencyPolicyCommandInput;
51
- export declare type ServiceOutputTypes = AddDraftAppVersionResourceMappingsCommandOutput | CreateAppCommandOutput | CreateRecommendationTemplateCommandOutput | CreateResiliencyPolicyCommandOutput | DeleteAppAssessmentCommandOutput | DeleteAppCommandOutput | DeleteRecommendationTemplateCommandOutput | DeleteResiliencyPolicyCommandOutput | DescribeAppAssessmentCommandOutput | DescribeAppCommandOutput | DescribeAppVersionResourcesResolutionStatusCommandOutput | DescribeAppVersionTemplateCommandOutput | DescribeDraftAppVersionResourcesImportStatusCommandOutput | DescribeResiliencyPolicyCommandOutput | ImportResourcesToDraftAppVersionCommandOutput | ListAlarmRecommendationsCommandOutput | ListAppAssessmentsCommandOutput | ListAppComponentCompliancesCommandOutput | ListAppComponentRecommendationsCommandOutput | ListAppVersionResourceMappingsCommandOutput | ListAppVersionResourcesCommandOutput | ListAppVersionsCommandOutput | ListAppsCommandOutput | ListRecommendationTemplatesCommandOutput | ListResiliencyPoliciesCommandOutput | ListSopRecommendationsCommandOutput | ListSuggestedResiliencyPoliciesCommandOutput | ListTagsForResourceCommandOutput | ListTestRecommendationsCommandOutput | ListUnsupportedAppVersionResourcesCommandOutput | PublishAppVersionCommandOutput | PutDraftAppVersionTemplateCommandOutput | RemoveDraftAppVersionResourceMappingsCommandOutput | ResolveAppVersionResourcesCommandOutput | StartAppAssessmentCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAppCommandOutput | UpdateResiliencyPolicyCommandOutput;
63
+ export declare type ServiceInputTypes = AddDraftAppVersionResourceMappingsCommandInput | CreateAppCommandInput | CreateAppVersionAppComponentCommandInput | CreateAppVersionResourceCommandInput | CreateRecommendationTemplateCommandInput | CreateResiliencyPolicyCommandInput | DeleteAppAssessmentCommandInput | DeleteAppCommandInput | DeleteAppInputSourceCommandInput | DeleteAppVersionAppComponentCommandInput | DeleteAppVersionResourceCommandInput | DeleteRecommendationTemplateCommandInput | DeleteResiliencyPolicyCommandInput | DescribeAppAssessmentCommandInput | DescribeAppCommandInput | DescribeAppVersionAppComponentCommandInput | DescribeAppVersionCommandInput | DescribeAppVersionResourceCommandInput | DescribeAppVersionResourcesResolutionStatusCommandInput | DescribeAppVersionTemplateCommandInput | DescribeDraftAppVersionResourcesImportStatusCommandInput | DescribeResiliencyPolicyCommandInput | ImportResourcesToDraftAppVersionCommandInput | ListAlarmRecommendationsCommandInput | 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;
64
+ export declare type ServiceOutputTypes = AddDraftAppVersionResourceMappingsCommandOutput | CreateAppCommandOutput | CreateAppVersionAppComponentCommandOutput | CreateAppVersionResourceCommandOutput | CreateRecommendationTemplateCommandOutput | CreateResiliencyPolicyCommandOutput | DeleteAppAssessmentCommandOutput | DeleteAppCommandOutput | DeleteAppInputSourceCommandOutput | DeleteAppVersionAppComponentCommandOutput | DeleteAppVersionResourceCommandOutput | DeleteRecommendationTemplateCommandOutput | DeleteResiliencyPolicyCommandOutput | DescribeAppAssessmentCommandOutput | DescribeAppCommandOutput | DescribeAppVersionAppComponentCommandOutput | DescribeAppVersionCommandOutput | DescribeAppVersionResourceCommandOutput | DescribeAppVersionResourcesResolutionStatusCommandOutput | DescribeAppVersionTemplateCommandOutput | DescribeDraftAppVersionResourcesImportStatusCommandOutput | DescribeResiliencyPolicyCommandOutput | ImportResourcesToDraftAppVersionCommandOutput | ListAlarmRecommendationsCommandOutput | 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;
52
65
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
53
66
  /**
54
67
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
@@ -8,7 +8,7 @@ export interface AddDraftAppVersionResourceMappingsCommandInput extends AddDraft
8
8
  export interface AddDraftAppVersionResourceMappingsCommandOutput extends AddDraftAppVersionResourceMappingsResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Adds the resource mapping for the draft application version.</p>
11
+ * <p>Adds the resource mapping for the draft application version. You can also update an existing resource mapping to a new physical resource.</p>
12
12
  * @example
13
13
  * Use a bare-bones client and the command you need to make an API call.
14
14
  * ```javascript
@@ -8,11 +8,11 @@ export interface CreateAppCommandInput extends CreateAppRequest {
8
8
  export interface CreateAppCommandOutput extends CreateAppResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Creates a Resilience Hub application. A Resilience Hub application is a collection of Amazon Web Services
11
+ * <p>Creates an AWS Resilience Hub application. An AWS Resilience Hub application is a collection of Amazon Web Services
12
12
  * resources structured to prevent and recover Amazon Web Services application disruptions. To describe a
13
- * Resilience Hub application, you provide an application name, resources from one or more–up to
13
+ * AWS Resilience Hub application, you provide an application name, resources from one or more–up to
14
14
  * five–CloudFormation stacks, and an appropriate resiliency policy.</p>
15
- * <p>After you create a Resilience Hub application, you publish it so that you can run a resiliency
15
+ * <p>After you create an AWS Resilience Hub application, you publish it so that you can run a resiliency
16
16
  * assessment on it. You can then use recommendations from the assessment to improve resiliency
17
17
  * by running another assessment, comparing results, and then iterating the process until you
18
18
  * achieve your goals for recovery time objective (RTO) and recovery point objective
@@ -0,0 +1,40 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { CreateAppVersionAppComponentRequest, CreateAppVersionAppComponentResponse } from "../models/models_0";
5
+ import { ResiliencehubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResiliencehubClient";
6
+ export interface CreateAppVersionAppComponentCommandInput extends CreateAppVersionAppComponentRequest {
7
+ }
8
+ export interface CreateAppVersionAppComponentCommandOutput extends CreateAppVersionAppComponentResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Creates a new Application Component in the AWS Resilience Hub application.</p>
12
+ * <note>
13
+ * <p>This API updates the AWS Resilience Hub application draft version. To use this Application Component for running assessments, you must publish the AWS Resilience Hub application using the <code>PublishAppVersion</code> API.</p>
14
+ * </note>
15
+ * @example
16
+ * Use a bare-bones client and the command you need to make an API call.
17
+ * ```javascript
18
+ * import { ResiliencehubClient, CreateAppVersionAppComponentCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import
19
+ * // const { ResiliencehubClient, CreateAppVersionAppComponentCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import
20
+ * const client = new ResiliencehubClient(config);
21
+ * const command = new CreateAppVersionAppComponentCommand(input);
22
+ * const response = await client.send(command);
23
+ * ```
24
+ *
25
+ * @see {@link CreateAppVersionAppComponentCommandInput} for command's `input` shape.
26
+ * @see {@link CreateAppVersionAppComponentCommandOutput} for command's `response` shape.
27
+ * @see {@link ResiliencehubClientResolvedConfig | config} for ResiliencehubClient's `config` shape.
28
+ *
29
+ */
30
+ export declare class CreateAppVersionAppComponentCommand extends $Command<CreateAppVersionAppComponentCommandInput, CreateAppVersionAppComponentCommandOutput, ResiliencehubClientResolvedConfig> {
31
+ readonly input: CreateAppVersionAppComponentCommandInput;
32
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
33
+ constructor(input: CreateAppVersionAppComponentCommandInput);
34
+ /**
35
+ * @internal
36
+ */
37
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResiliencehubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateAppVersionAppComponentCommandInput, CreateAppVersionAppComponentCommandOutput>;
38
+ private serialize;
39
+ private deserialize;
40
+ }