@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
@@ -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 { UpdateAppVersionAppComponentRequest, UpdateAppVersionAppComponentResponse } from "../models/models_0";
5
+ import { ResiliencehubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResiliencehubClient";
6
+ export interface UpdateAppVersionAppComponentCommandInput extends UpdateAppVersionAppComponentRequest {
7
+ }
8
+ export interface UpdateAppVersionAppComponentCommandOutput extends UpdateAppVersionAppComponentResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Updates an existing 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, UpdateAppVersionAppComponentCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import
19
+ * // const { ResiliencehubClient, UpdateAppVersionAppComponentCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import
20
+ * const client = new ResiliencehubClient(config);
21
+ * const command = new UpdateAppVersionAppComponentCommand(input);
22
+ * const response = await client.send(command);
23
+ * ```
24
+ *
25
+ * @see {@link UpdateAppVersionAppComponentCommandInput} for command's `input` shape.
26
+ * @see {@link UpdateAppVersionAppComponentCommandOutput} for command's `response` shape.
27
+ * @see {@link ResiliencehubClientResolvedConfig | config} for ResiliencehubClient's `config` shape.
28
+ *
29
+ */
30
+ export declare class UpdateAppVersionAppComponentCommand extends $Command<UpdateAppVersionAppComponentCommandInput, UpdateAppVersionAppComponentCommandOutput, ResiliencehubClientResolvedConfig> {
31
+ readonly input: UpdateAppVersionAppComponentCommandInput;
32
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
33
+ constructor(input: UpdateAppVersionAppComponentCommandInput);
34
+ /**
35
+ * @internal
36
+ */
37
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResiliencehubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateAppVersionAppComponentCommandInput, UpdateAppVersionAppComponentCommandOutput>;
38
+ private serialize;
39
+ private deserialize;
40
+ }
@@ -0,0 +1,42 @@
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 { UpdateAppVersionRequest, UpdateAppVersionResponse } from "../models/models_0";
5
+ import { ResiliencehubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResiliencehubClient";
6
+ export interface UpdateAppVersionCommandInput extends UpdateAppVersionRequest {
7
+ }
8
+ export interface UpdateAppVersionCommandOutput extends UpdateAppVersionResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Updates the AWS Resilience Hub application version.</p>
12
+ * <note>
13
+ * <p>This API updates the AWS Resilience Hub application draft version. To use this information
14
+ * for running resiliency assessments, you must publish the AWS Resilience Hub application using the
15
+ * <code>PublishAppVersion</code> API.</p>
16
+ * </note>
17
+ * @example
18
+ * Use a bare-bones client and the command you need to make an API call.
19
+ * ```javascript
20
+ * import { ResiliencehubClient, UpdateAppVersionCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import
21
+ * // const { ResiliencehubClient, UpdateAppVersionCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import
22
+ * const client = new ResiliencehubClient(config);
23
+ * const command = new UpdateAppVersionCommand(input);
24
+ * const response = await client.send(command);
25
+ * ```
26
+ *
27
+ * @see {@link UpdateAppVersionCommandInput} for command's `input` shape.
28
+ * @see {@link UpdateAppVersionCommandOutput} for command's `response` shape.
29
+ * @see {@link ResiliencehubClientResolvedConfig | config} for ResiliencehubClient's `config` shape.
30
+ *
31
+ */
32
+ export declare class UpdateAppVersionCommand extends $Command<UpdateAppVersionCommandInput, UpdateAppVersionCommandOutput, ResiliencehubClientResolvedConfig> {
33
+ readonly input: UpdateAppVersionCommandInput;
34
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
35
+ constructor(input: UpdateAppVersionCommandInput);
36
+ /**
37
+ * @internal
38
+ */
39
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResiliencehubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateAppVersionCommandInput, UpdateAppVersionCommandOutput>;
40
+ private serialize;
41
+ private deserialize;
42
+ }
@@ -0,0 +1,51 @@
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 { UpdateAppVersionResourceRequest, UpdateAppVersionResourceResponse } from "../models/models_0";
5
+ import { ResiliencehubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResiliencehubClient";
6
+ export interface UpdateAppVersionResourceCommandInput extends UpdateAppVersionResourceRequest {
7
+ }
8
+ export interface UpdateAppVersionResourceCommandOutput extends UpdateAppVersionResourceResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Updates the resource details in the AWS Resilience Hub application.</p>
12
+ * <note>
13
+ * <ul>
14
+ * <li>
15
+ * <p>This action has no effect outside AWS Resilience Hub.</p>
16
+ * </li>
17
+ * <li>
18
+ * <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>
19
+ * </li>
20
+ * <li>
21
+ * <p>To update application version with new <code>physicalResourceID</code>, you must call
22
+ * <code>ResolveAppVersionResources</code> API.</p>
23
+ * </li>
24
+ * </ul>
25
+ * </note>
26
+ * @example
27
+ * Use a bare-bones client and the command you need to make an API call.
28
+ * ```javascript
29
+ * import { ResiliencehubClient, UpdateAppVersionResourceCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import
30
+ * // const { ResiliencehubClient, UpdateAppVersionResourceCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import
31
+ * const client = new ResiliencehubClient(config);
32
+ * const command = new UpdateAppVersionResourceCommand(input);
33
+ * const response = await client.send(command);
34
+ * ```
35
+ *
36
+ * @see {@link UpdateAppVersionResourceCommandInput} for command's `input` shape.
37
+ * @see {@link UpdateAppVersionResourceCommandOutput} for command's `response` shape.
38
+ * @see {@link ResiliencehubClientResolvedConfig | config} for ResiliencehubClient's `config` shape.
39
+ *
40
+ */
41
+ export declare class UpdateAppVersionResourceCommand extends $Command<UpdateAppVersionResourceCommandInput, UpdateAppVersionResourceCommandOutput, ResiliencehubClientResolvedConfig> {
42
+ readonly input: UpdateAppVersionResourceCommandInput;
43
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
44
+ constructor(input: UpdateAppVersionResourceCommandInput);
45
+ /**
46
+ * @internal
47
+ */
48
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResiliencehubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateAppVersionResourceCommandInput, UpdateAppVersionResourceCommandOutput>;
49
+ private serialize;
50
+ private deserialize;
51
+ }
@@ -1,13 +1,21 @@
1
1
  export * from "./AddDraftAppVersionResourceMappingsCommand";
2
2
  export * from "./CreateAppCommand";
3
+ export * from "./CreateAppVersionAppComponentCommand";
4
+ export * from "./CreateAppVersionResourceCommand";
3
5
  export * from "./CreateRecommendationTemplateCommand";
4
6
  export * from "./CreateResiliencyPolicyCommand";
5
7
  export * from "./DeleteAppAssessmentCommand";
6
8
  export * from "./DeleteAppCommand";
9
+ export * from "./DeleteAppInputSourceCommand";
10
+ export * from "./DeleteAppVersionAppComponentCommand";
11
+ export * from "./DeleteAppVersionResourceCommand";
7
12
  export * from "./DeleteRecommendationTemplateCommand";
8
13
  export * from "./DeleteResiliencyPolicyCommand";
9
14
  export * from "./DescribeAppAssessmentCommand";
10
15
  export * from "./DescribeAppCommand";
16
+ export * from "./DescribeAppVersionAppComponentCommand";
17
+ export * from "./DescribeAppVersionCommand";
18
+ export * from "./DescribeAppVersionResourceCommand";
11
19
  export * from "./DescribeAppVersionResourcesResolutionStatusCommand";
12
20
  export * from "./DescribeAppVersionTemplateCommand";
13
21
  export * from "./DescribeDraftAppVersionResourcesImportStatusCommand";
@@ -17,6 +25,8 @@ export * from "./ListAlarmRecommendationsCommand";
17
25
  export * from "./ListAppAssessmentsCommand";
18
26
  export * from "./ListAppComponentCompliancesCommand";
19
27
  export * from "./ListAppComponentRecommendationsCommand";
28
+ export * from "./ListAppInputSourcesCommand";
29
+ export * from "./ListAppVersionAppComponentsCommand";
20
30
  export * from "./ListAppVersionResourceMappingsCommand";
21
31
  export * from "./ListAppVersionResourcesCommand";
22
32
  export * from "./ListAppVersionsCommand";
@@ -36,4 +46,7 @@ export * from "./StartAppAssessmentCommand";
36
46
  export * from "./TagResourceCommand";
37
47
  export * from "./UntagResourceCommand";
38
48
  export * from "./UpdateAppCommand";
49
+ export * from "./UpdateAppVersionAppComponentCommand";
50
+ export * from "./UpdateAppVersionCommand";
51
+ export * from "./UpdateAppVersionResourceCommand";
39
52
  export * from "./UpdateResiliencyPolicyCommand";