@aws-sdk/client-resiliencehub 3.295.0 → 3.297.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 (80) hide show
  1. package/README.md +2 -2
  2. package/dist-cjs/models/models_0.js +12 -3
  3. package/dist-cjs/protocols/Aws_restJson1.js +78 -0
  4. package/dist-es/models/models_0.js +7 -0
  5. package/dist-es/protocols/Aws_restJson1.js +78 -0
  6. package/dist-types/Resiliencehub.d.ts +110 -57
  7. package/dist-types/ResiliencehubClient.d.ts +26 -6
  8. package/dist-types/commands/AddDraftAppVersionResourceMappingsCommand.d.ts +17 -1
  9. package/dist-types/commands/CreateAppCommand.d.ts +20 -4
  10. package/dist-types/commands/CreateAppVersionAppComponentCommand.d.ts +19 -3
  11. package/dist-types/commands/CreateAppVersionResourceCommand.d.ts +22 -6
  12. package/dist-types/commands/CreateRecommendationTemplateCommand.d.ts +18 -2
  13. package/dist-types/commands/CreateResiliencyPolicyCommand.d.ts +17 -1
  14. package/dist-types/commands/DeleteAppAssessmentCommand.d.ts +18 -2
  15. package/dist-types/commands/DeleteAppCommand.d.ts +18 -2
  16. package/dist-types/commands/DeleteAppInputSourceCommand.d.ts +18 -2
  17. package/dist-types/commands/DeleteAppVersionAppComponentCommand.d.ts +19 -3
  18. package/dist-types/commands/DeleteAppVersionResourceCommand.d.ts +20 -4
  19. package/dist-types/commands/DeleteRecommendationTemplateCommand.d.ts +17 -1
  20. package/dist-types/commands/DeleteResiliencyPolicyCommand.d.ts +17 -1
  21. package/dist-types/commands/DescribeAppAssessmentCommand.d.ts +18 -2
  22. package/dist-types/commands/DescribeAppCommand.d.ts +18 -2
  23. package/dist-types/commands/DescribeAppVersionAppComponentCommand.d.ts +18 -2
  24. package/dist-types/commands/DescribeAppVersionCommand.d.ts +18 -2
  25. package/dist-types/commands/DescribeAppVersionResourceCommand.d.ts +18 -2
  26. package/dist-types/commands/DescribeAppVersionResourcesResolutionStatusCommand.d.ts +17 -1
  27. package/dist-types/commands/DescribeAppVersionTemplateCommand.d.ts +18 -2
  28. package/dist-types/commands/DescribeDraftAppVersionResourcesImportStatusCommand.d.ts +17 -1
  29. package/dist-types/commands/DescribeResiliencyPolicyCommand.d.ts +18 -2
  30. package/dist-types/commands/ImportResourcesToDraftAppVersionCommand.d.ts +18 -2
  31. package/dist-types/commands/ListAlarmRecommendationsCommand.d.ts +18 -2
  32. package/dist-types/commands/ListAppAssessmentsCommand.d.ts +18 -2
  33. package/dist-types/commands/ListAppComponentCompliancesCommand.d.ts +18 -2
  34. package/dist-types/commands/ListAppComponentRecommendationsCommand.d.ts +18 -2
  35. package/dist-types/commands/ListAppInputSourcesCommand.d.ts +19 -3
  36. package/dist-types/commands/ListAppVersionAppComponentsCommand.d.ts +18 -2
  37. package/dist-types/commands/ListAppVersionResourceMappingsCommand.d.ts +17 -1
  38. package/dist-types/commands/ListAppVersionResourcesCommand.d.ts +18 -2
  39. package/dist-types/commands/ListAppVersionsCommand.d.ts +18 -2
  40. package/dist-types/commands/ListAppsCommand.d.ts +18 -2
  41. package/dist-types/commands/ListRecommendationTemplatesCommand.d.ts +18 -2
  42. package/dist-types/commands/ListResiliencyPoliciesCommand.d.ts +18 -2
  43. package/dist-types/commands/ListSopRecommendationsCommand.d.ts +18 -2
  44. package/dist-types/commands/ListSuggestedResiliencyPoliciesCommand.d.ts +18 -2
  45. package/dist-types/commands/ListTagsForResourceCommand.d.ts +18 -2
  46. package/dist-types/commands/ListTestRecommendationsCommand.d.ts +18 -2
  47. package/dist-types/commands/ListUnsupportedAppVersionResourcesCommand.d.ts +19 -3
  48. package/dist-types/commands/PublishAppVersionCommand.d.ts +18 -2
  49. package/dist-types/commands/PutDraftAppVersionTemplateCommand.d.ts +18 -2
  50. package/dist-types/commands/RemoveDraftAppVersionResourceMappingsCommand.d.ts +17 -1
  51. package/dist-types/commands/ResolveAppVersionResourcesCommand.d.ts +17 -1
  52. package/dist-types/commands/StartAppAssessmentCommand.d.ts +17 -1
  53. package/dist-types/commands/TagResourceCommand.d.ts +17 -1
  54. package/dist-types/commands/UntagResourceCommand.d.ts +17 -1
  55. package/dist-types/commands/UpdateAppCommand.d.ts +17 -1
  56. package/dist-types/commands/UpdateAppVersionAppComponentCommand.d.ts +19 -3
  57. package/dist-types/commands/UpdateAppVersionCommand.d.ts +20 -4
  58. package/dist-types/commands/UpdateAppVersionResourceCommand.d.ts +20 -4
  59. package/dist-types/commands/UpdateResiliencyPolicyCommand.d.ts +17 -1
  60. package/dist-types/models/ResiliencehubServiceException.d.ts +2 -0
  61. package/dist-types/models/models_0.d.ts +624 -43
  62. package/dist-types/pagination/Interfaces.d.ts +3 -0
  63. package/dist-types/pagination/ListAlarmRecommendationsPaginator.d.ts +3 -0
  64. package/dist-types/pagination/ListAppAssessmentsPaginator.d.ts +3 -0
  65. package/dist-types/pagination/ListAppComponentCompliancesPaginator.d.ts +3 -0
  66. package/dist-types/pagination/ListAppComponentRecommendationsPaginator.d.ts +3 -0
  67. package/dist-types/pagination/ListAppInputSourcesPaginator.d.ts +3 -0
  68. package/dist-types/pagination/ListAppVersionAppComponentsPaginator.d.ts +3 -0
  69. package/dist-types/pagination/ListAppVersionResourceMappingsPaginator.d.ts +3 -0
  70. package/dist-types/pagination/ListAppVersionResourcesPaginator.d.ts +3 -0
  71. package/dist-types/pagination/ListAppVersionsPaginator.d.ts +3 -0
  72. package/dist-types/pagination/ListAppsPaginator.d.ts +3 -0
  73. package/dist-types/pagination/ListRecommendationTemplatesPaginator.d.ts +3 -0
  74. package/dist-types/pagination/ListResiliencyPoliciesPaginator.d.ts +3 -0
  75. package/dist-types/pagination/ListSopRecommendationsPaginator.d.ts +3 -0
  76. package/dist-types/pagination/ListSuggestedResiliencyPoliciesPaginator.d.ts +3 -0
  77. package/dist-types/pagination/ListTestRecommendationsPaginator.d.ts +3 -0
  78. package/dist-types/pagination/ListUnsupportedAppVersionResourcesPaginator.d.ts +3 -0
  79. package/dist-types/ts3.4/models/models_0.d.ts +21 -0
  80. package/package.json +29 -29
@@ -4,24 +4,29 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { UpdateAppVersionResourceRequest, UpdateAppVersionResourceResponse } from "../models/models_0";
5
5
  import { ResiliencehubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResiliencehubClient";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link UpdateAppVersionResourceCommand}.
8
10
  */
9
11
  export interface UpdateAppVersionResourceCommandInput extends UpdateAppVersionResourceRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link UpdateAppVersionResourceCommand}.
13
17
  */
14
18
  export interface UpdateAppVersionResourceCommandOutput extends UpdateAppVersionResourceResponse, __MetadataBearer {
15
19
  }
16
20
  /**
17
- * <p>Updates the resource details in the AWS Resilience Hub application.</p>
21
+ * @public
22
+ * <p>Updates the resource details in the Resilience Hub application.</p>
18
23
  * <note>
19
24
  * <ul>
20
25
  * <li>
21
- * <p>This action has no effect outside AWS Resilience Hub.</p>
26
+ * <p>This action has no effect outside Resilience Hub.</p>
22
27
  * </li>
23
28
  * <li>
24
- * <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>
29
+ * <p>This API updates the Resilience Hub application draft version. To use this resource for running resiliency assessments, you must publish the Resilience Hub application using the <code>PublishAppVersion</code> API.</p>
25
30
  * </li>
26
31
  * <li>
27
32
  * <p>To update application version with new <code>physicalResourceID</code>, you must call
@@ -39,6 +44,8 @@ export interface UpdateAppVersionResourceCommandOutput extends UpdateAppVersionR
39
44
  * const response = await client.send(command);
40
45
  * ```
41
46
  *
47
+ * @param UpdateAppVersionResourceCommandInput - {@link UpdateAppVersionResourceCommandInput}
48
+ * @returns {@link UpdateAppVersionResourceCommandOutput}
42
49
  * @see {@link UpdateAppVersionResourceCommandInput} for command's `input` shape.
43
50
  * @see {@link UpdateAppVersionResourceCommandOutput} for command's `response` shape.
44
51
  * @see {@link ResiliencehubClientResolvedConfig | config} for ResiliencehubClient's `config` shape.
@@ -55,7 +62,7 @@ export interface UpdateAppVersionResourceCommandOutput extends UpdateAppVersionR
55
62
  * exception.</p>
56
63
  *
57
64
  * @throws {@link InternalServerException} (server fault)
58
- * <p>This exception occurs when there is an internal failure in the AWS Resilience Hub
65
+ * <p>This exception occurs when there is an internal failure in the Resilience Hub
59
66
  * service.</p>
60
67
  *
61
68
  * @throws {@link ResourceNotFoundException} (client fault)
@@ -76,11 +83,20 @@ export interface UpdateAppVersionResourceCommandOutput extends UpdateAppVersionR
76
83
  export declare class UpdateAppVersionResourceCommand extends $Command<UpdateAppVersionResourceCommandInput, UpdateAppVersionResourceCommandOutput, ResiliencehubClientResolvedConfig> {
77
84
  readonly input: UpdateAppVersionResourceCommandInput;
78
85
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
86
+ /**
87
+ * @public
88
+ */
79
89
  constructor(input: UpdateAppVersionResourceCommandInput);
80
90
  /**
81
91
  * @internal
82
92
  */
83
93
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResiliencehubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateAppVersionResourceCommandInput, UpdateAppVersionResourceCommandOutput>;
94
+ /**
95
+ * @internal
96
+ */
84
97
  private serialize;
98
+ /**
99
+ * @internal
100
+ */
85
101
  private deserialize;
86
102
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { UpdateResiliencyPolicyRequest, UpdateResiliencyPolicyResponse } from "../models/models_0";
5
5
  import { ResiliencehubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResiliencehubClient";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link UpdateResiliencyPolicyCommand}.
8
10
  */
9
11
  export interface UpdateResiliencyPolicyCommandInput extends UpdateResiliencyPolicyRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link UpdateResiliencyPolicyCommand}.
13
17
  */
14
18
  export interface UpdateResiliencyPolicyCommandOutput extends UpdateResiliencyPolicyResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Updates a resiliency policy.</p>
18
23
  * @example
19
24
  * Use a bare-bones client and the command you need to make an API call.
@@ -25,6 +30,8 @@ export interface UpdateResiliencyPolicyCommandOutput extends UpdateResiliencyPol
25
30
  * const response = await client.send(command);
26
31
  * ```
27
32
  *
33
+ * @param UpdateResiliencyPolicyCommandInput - {@link UpdateResiliencyPolicyCommandInput}
34
+ * @returns {@link UpdateResiliencyPolicyCommandOutput}
28
35
  * @see {@link UpdateResiliencyPolicyCommandInput} for command's `input` shape.
29
36
  * @see {@link UpdateResiliencyPolicyCommandOutput} for command's `response` shape.
30
37
  * @see {@link ResiliencehubClientResolvedConfig | config} for ResiliencehubClient's `config` shape.
@@ -41,7 +48,7 @@ export interface UpdateResiliencyPolicyCommandOutput extends UpdateResiliencyPol
41
48
  * exception.</p>
42
49
  *
43
50
  * @throws {@link InternalServerException} (server fault)
44
- * <p>This exception occurs when there is an internal failure in the AWS Resilience Hub
51
+ * <p>This exception occurs when there is an internal failure in the Resilience Hub
45
52
  * service.</p>
46
53
  *
47
54
  * @throws {@link ResourceNotFoundException} (client fault)
@@ -58,11 +65,20 @@ export interface UpdateResiliencyPolicyCommandOutput extends UpdateResiliencyPol
58
65
  export declare class UpdateResiliencyPolicyCommand extends $Command<UpdateResiliencyPolicyCommandInput, UpdateResiliencyPolicyCommandOutput, ResiliencehubClientResolvedConfig> {
59
66
  readonly input: UpdateResiliencyPolicyCommandInput;
60
67
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
68
+ /**
69
+ * @public
70
+ */
61
71
  constructor(input: UpdateResiliencyPolicyCommandInput);
62
72
  /**
63
73
  * @internal
64
74
  */
65
75
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResiliencehubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateResiliencyPolicyCommandInput, UpdateResiliencyPolicyCommandOutput>;
76
+ /**
77
+ * @internal
78
+ */
66
79
  private serialize;
80
+ /**
81
+ * @internal
82
+ */
67
83
  private deserialize;
68
84
  }
@@ -1,5 +1,7 @@
1
1
  import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
2
  /**
3
+ * @public
4
+ *
3
5
  * Base exception class for all service exceptions from Resiliencehub service.
4
6
  */
5
7
  export declare class ResiliencehubServiceException extends __ServiceException {