@aws-sdk/client-resiliencehub 3.478.0 → 3.484.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 (221) hide show
  1. package/dist-cjs/commands/AddDraftAppVersionResourceMappingsCommand.js +18 -41
  2. package/dist-cjs/commands/BatchUpdateRecommendationStatusCommand.js +18 -41
  3. package/dist-cjs/commands/CreateAppCommand.js +18 -41
  4. package/dist-cjs/commands/CreateAppVersionAppComponentCommand.js +18 -41
  5. package/dist-cjs/commands/CreateAppVersionResourceCommand.js +18 -41
  6. package/dist-cjs/commands/CreateRecommendationTemplateCommand.js +18 -41
  7. package/dist-cjs/commands/CreateResiliencyPolicyCommand.js +18 -41
  8. package/dist-cjs/commands/DeleteAppAssessmentCommand.js +18 -41
  9. package/dist-cjs/commands/DeleteAppCommand.js +18 -41
  10. package/dist-cjs/commands/DeleteAppInputSourceCommand.js +18 -41
  11. package/dist-cjs/commands/DeleteAppVersionAppComponentCommand.js +18 -41
  12. package/dist-cjs/commands/DeleteAppVersionResourceCommand.js +18 -41
  13. package/dist-cjs/commands/DeleteRecommendationTemplateCommand.js +18 -41
  14. package/dist-cjs/commands/DeleteResiliencyPolicyCommand.js +18 -41
  15. package/dist-cjs/commands/DescribeAppAssessmentCommand.js +18 -41
  16. package/dist-cjs/commands/DescribeAppCommand.js +18 -41
  17. package/dist-cjs/commands/DescribeAppVersionAppComponentCommand.js +18 -41
  18. package/dist-cjs/commands/DescribeAppVersionCommand.js +18 -41
  19. package/dist-cjs/commands/DescribeAppVersionResourceCommand.js +18 -41
  20. package/dist-cjs/commands/DescribeAppVersionResourcesResolutionStatusCommand.js +18 -41
  21. package/dist-cjs/commands/DescribeAppVersionTemplateCommand.js +18 -41
  22. package/dist-cjs/commands/DescribeDraftAppVersionResourcesImportStatusCommand.js +18 -41
  23. package/dist-cjs/commands/DescribeResiliencyPolicyCommand.js +18 -41
  24. package/dist-cjs/commands/ImportResourcesToDraftAppVersionCommand.js +18 -41
  25. package/dist-cjs/commands/ListAlarmRecommendationsCommand.js +18 -41
  26. package/dist-cjs/commands/ListAppAssessmentComplianceDriftsCommand.js +18 -41
  27. package/dist-cjs/commands/ListAppAssessmentsCommand.js +18 -41
  28. package/dist-cjs/commands/ListAppComponentCompliancesCommand.js +18 -41
  29. package/dist-cjs/commands/ListAppComponentRecommendationsCommand.js +18 -41
  30. package/dist-cjs/commands/ListAppInputSourcesCommand.js +18 -41
  31. package/dist-cjs/commands/ListAppVersionAppComponentsCommand.js +18 -41
  32. package/dist-cjs/commands/ListAppVersionResourceMappingsCommand.js +18 -41
  33. package/dist-cjs/commands/ListAppVersionResourcesCommand.js +18 -41
  34. package/dist-cjs/commands/ListAppVersionsCommand.js +18 -41
  35. package/dist-cjs/commands/ListAppsCommand.js +18 -41
  36. package/dist-cjs/commands/ListRecommendationTemplatesCommand.js +18 -41
  37. package/dist-cjs/commands/ListResiliencyPoliciesCommand.js +18 -41
  38. package/dist-cjs/commands/ListSopRecommendationsCommand.js +18 -41
  39. package/dist-cjs/commands/ListSuggestedResiliencyPoliciesCommand.js +18 -41
  40. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  41. package/dist-cjs/commands/ListTestRecommendationsCommand.js +18 -41
  42. package/dist-cjs/commands/ListUnsupportedAppVersionResourcesCommand.js +18 -41
  43. package/dist-cjs/commands/PublishAppVersionCommand.js +18 -41
  44. package/dist-cjs/commands/PutDraftAppVersionTemplateCommand.js +18 -41
  45. package/dist-cjs/commands/RemoveDraftAppVersionResourceMappingsCommand.js +18 -41
  46. package/dist-cjs/commands/ResolveAppVersionResourcesCommand.js +18 -41
  47. package/dist-cjs/commands/StartAppAssessmentCommand.js +18 -41
  48. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  49. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  50. package/dist-cjs/commands/UpdateAppCommand.js +18 -41
  51. package/dist-cjs/commands/UpdateAppVersionAppComponentCommand.js +18 -41
  52. package/dist-cjs/commands/UpdateAppVersionCommand.js +18 -41
  53. package/dist-cjs/commands/UpdateAppVersionResourceCommand.js +18 -41
  54. package/dist-cjs/commands/UpdateResiliencyPolicyCommand.js +18 -41
  55. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  56. package/dist-es/commands/AddDraftAppVersionResourceMappingsCommand.js +18 -41
  57. package/dist-es/commands/BatchUpdateRecommendationStatusCommand.js +18 -41
  58. package/dist-es/commands/CreateAppCommand.js +18 -41
  59. package/dist-es/commands/CreateAppVersionAppComponentCommand.js +18 -41
  60. package/dist-es/commands/CreateAppVersionResourceCommand.js +18 -41
  61. package/dist-es/commands/CreateRecommendationTemplateCommand.js +18 -41
  62. package/dist-es/commands/CreateResiliencyPolicyCommand.js +18 -41
  63. package/dist-es/commands/DeleteAppAssessmentCommand.js +18 -41
  64. package/dist-es/commands/DeleteAppCommand.js +18 -41
  65. package/dist-es/commands/DeleteAppInputSourceCommand.js +18 -41
  66. package/dist-es/commands/DeleteAppVersionAppComponentCommand.js +18 -41
  67. package/dist-es/commands/DeleteAppVersionResourceCommand.js +18 -41
  68. package/dist-es/commands/DeleteRecommendationTemplateCommand.js +18 -41
  69. package/dist-es/commands/DeleteResiliencyPolicyCommand.js +18 -41
  70. package/dist-es/commands/DescribeAppAssessmentCommand.js +18 -41
  71. package/dist-es/commands/DescribeAppCommand.js +18 -41
  72. package/dist-es/commands/DescribeAppVersionAppComponentCommand.js +18 -41
  73. package/dist-es/commands/DescribeAppVersionCommand.js +18 -41
  74. package/dist-es/commands/DescribeAppVersionResourceCommand.js +18 -41
  75. package/dist-es/commands/DescribeAppVersionResourcesResolutionStatusCommand.js +18 -41
  76. package/dist-es/commands/DescribeAppVersionTemplateCommand.js +18 -41
  77. package/dist-es/commands/DescribeDraftAppVersionResourcesImportStatusCommand.js +18 -41
  78. package/dist-es/commands/DescribeResiliencyPolicyCommand.js +18 -41
  79. package/dist-es/commands/ImportResourcesToDraftAppVersionCommand.js +18 -41
  80. package/dist-es/commands/ListAlarmRecommendationsCommand.js +18 -41
  81. package/dist-es/commands/ListAppAssessmentComplianceDriftsCommand.js +18 -41
  82. package/dist-es/commands/ListAppAssessmentsCommand.js +18 -41
  83. package/dist-es/commands/ListAppComponentCompliancesCommand.js +18 -41
  84. package/dist-es/commands/ListAppComponentRecommendationsCommand.js +18 -41
  85. package/dist-es/commands/ListAppInputSourcesCommand.js +18 -41
  86. package/dist-es/commands/ListAppVersionAppComponentsCommand.js +18 -41
  87. package/dist-es/commands/ListAppVersionResourceMappingsCommand.js +18 -41
  88. package/dist-es/commands/ListAppVersionResourcesCommand.js +18 -41
  89. package/dist-es/commands/ListAppVersionsCommand.js +18 -41
  90. package/dist-es/commands/ListAppsCommand.js +18 -41
  91. package/dist-es/commands/ListRecommendationTemplatesCommand.js +18 -41
  92. package/dist-es/commands/ListResiliencyPoliciesCommand.js +18 -41
  93. package/dist-es/commands/ListSopRecommendationsCommand.js +18 -41
  94. package/dist-es/commands/ListSuggestedResiliencyPoliciesCommand.js +18 -41
  95. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  96. package/dist-es/commands/ListTestRecommendationsCommand.js +18 -41
  97. package/dist-es/commands/ListUnsupportedAppVersionResourcesCommand.js +18 -41
  98. package/dist-es/commands/PublishAppVersionCommand.js +18 -41
  99. package/dist-es/commands/PutDraftAppVersionTemplateCommand.js +18 -41
  100. package/dist-es/commands/RemoveDraftAppVersionResourceMappingsCommand.js +18 -41
  101. package/dist-es/commands/ResolveAppVersionResourcesCommand.js +18 -41
  102. package/dist-es/commands/StartAppAssessmentCommand.js +18 -41
  103. package/dist-es/commands/TagResourceCommand.js +18 -41
  104. package/dist-es/commands/UntagResourceCommand.js +18 -41
  105. package/dist-es/commands/UpdateAppCommand.js +18 -41
  106. package/dist-es/commands/UpdateAppVersionAppComponentCommand.js +18 -41
  107. package/dist-es/commands/UpdateAppVersionCommand.js +18 -41
  108. package/dist-es/commands/UpdateAppVersionResourceCommand.js +18 -41
  109. package/dist-es/commands/UpdateResiliencyPolicyCommand.js +18 -41
  110. package/dist-es/endpoint/EndpointParameters.js +6 -0
  111. package/dist-types/commands/AddDraftAppVersionResourceMappingsCommand.d.ts +6 -21
  112. package/dist-types/commands/BatchUpdateRecommendationStatusCommand.d.ts +6 -21
  113. package/dist-types/commands/CreateAppCommand.d.ts +6 -21
  114. package/dist-types/commands/CreateAppVersionAppComponentCommand.d.ts +6 -21
  115. package/dist-types/commands/CreateAppVersionResourceCommand.d.ts +6 -21
  116. package/dist-types/commands/CreateRecommendationTemplateCommand.d.ts +6 -21
  117. package/dist-types/commands/CreateResiliencyPolicyCommand.d.ts +6 -21
  118. package/dist-types/commands/DeleteAppAssessmentCommand.d.ts +6 -21
  119. package/dist-types/commands/DeleteAppCommand.d.ts +6 -21
  120. package/dist-types/commands/DeleteAppInputSourceCommand.d.ts +6 -21
  121. package/dist-types/commands/DeleteAppVersionAppComponentCommand.d.ts +6 -21
  122. package/dist-types/commands/DeleteAppVersionResourceCommand.d.ts +6 -21
  123. package/dist-types/commands/DeleteRecommendationTemplateCommand.d.ts +6 -21
  124. package/dist-types/commands/DeleteResiliencyPolicyCommand.d.ts +6 -21
  125. package/dist-types/commands/DescribeAppAssessmentCommand.d.ts +6 -21
  126. package/dist-types/commands/DescribeAppCommand.d.ts +6 -21
  127. package/dist-types/commands/DescribeAppVersionAppComponentCommand.d.ts +6 -21
  128. package/dist-types/commands/DescribeAppVersionCommand.d.ts +6 -21
  129. package/dist-types/commands/DescribeAppVersionResourceCommand.d.ts +6 -21
  130. package/dist-types/commands/DescribeAppVersionResourcesResolutionStatusCommand.d.ts +6 -21
  131. package/dist-types/commands/DescribeAppVersionTemplateCommand.d.ts +6 -21
  132. package/dist-types/commands/DescribeDraftAppVersionResourcesImportStatusCommand.d.ts +6 -21
  133. package/dist-types/commands/DescribeResiliencyPolicyCommand.d.ts +6 -21
  134. package/dist-types/commands/ImportResourcesToDraftAppVersionCommand.d.ts +6 -21
  135. package/dist-types/commands/ListAlarmRecommendationsCommand.d.ts +6 -21
  136. package/dist-types/commands/ListAppAssessmentComplianceDriftsCommand.d.ts +6 -21
  137. package/dist-types/commands/ListAppAssessmentsCommand.d.ts +6 -21
  138. package/dist-types/commands/ListAppComponentCompliancesCommand.d.ts +6 -21
  139. package/dist-types/commands/ListAppComponentRecommendationsCommand.d.ts +6 -21
  140. package/dist-types/commands/ListAppInputSourcesCommand.d.ts +6 -21
  141. package/dist-types/commands/ListAppVersionAppComponentsCommand.d.ts +6 -21
  142. package/dist-types/commands/ListAppVersionResourceMappingsCommand.d.ts +6 -21
  143. package/dist-types/commands/ListAppVersionResourcesCommand.d.ts +6 -21
  144. package/dist-types/commands/ListAppVersionsCommand.d.ts +6 -21
  145. package/dist-types/commands/ListAppsCommand.d.ts +6 -21
  146. package/dist-types/commands/ListRecommendationTemplatesCommand.d.ts +6 -21
  147. package/dist-types/commands/ListResiliencyPoliciesCommand.d.ts +6 -21
  148. package/dist-types/commands/ListSopRecommendationsCommand.d.ts +6 -21
  149. package/dist-types/commands/ListSuggestedResiliencyPoliciesCommand.d.ts +6 -21
  150. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  151. package/dist-types/commands/ListTestRecommendationsCommand.d.ts +6 -21
  152. package/dist-types/commands/ListUnsupportedAppVersionResourcesCommand.d.ts +6 -21
  153. package/dist-types/commands/PublishAppVersionCommand.d.ts +6 -21
  154. package/dist-types/commands/PutDraftAppVersionTemplateCommand.d.ts +6 -21
  155. package/dist-types/commands/RemoveDraftAppVersionResourceMappingsCommand.d.ts +6 -21
  156. package/dist-types/commands/ResolveAppVersionResourcesCommand.d.ts +6 -21
  157. package/dist-types/commands/StartAppAssessmentCommand.d.ts +6 -21
  158. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  159. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  160. package/dist-types/commands/UpdateAppCommand.d.ts +6 -21
  161. package/dist-types/commands/UpdateAppVersionAppComponentCommand.d.ts +6 -21
  162. package/dist-types/commands/UpdateAppVersionCommand.d.ts +6 -21
  163. package/dist-types/commands/UpdateAppVersionResourceCommand.d.ts +6 -21
  164. package/dist-types/commands/UpdateResiliencyPolicyCommand.d.ts +6 -21
  165. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  166. package/dist-types/ts3.4/commands/AddDraftAppVersionResourceMappingsCommand.d.ts +12 -24
  167. package/dist-types/ts3.4/commands/BatchUpdateRecommendationStatusCommand.d.ts +12 -24
  168. package/dist-types/ts3.4/commands/CreateAppCommand.d.ts +14 -23
  169. package/dist-types/ts3.4/commands/CreateAppVersionAppComponentCommand.d.ts +12 -24
  170. package/dist-types/ts3.4/commands/CreateAppVersionResourceCommand.d.ts +12 -24
  171. package/dist-types/ts3.4/commands/CreateRecommendationTemplateCommand.d.ts +12 -24
  172. package/dist-types/ts3.4/commands/CreateResiliencyPolicyCommand.d.ts +12 -24
  173. package/dist-types/ts3.4/commands/DeleteAppAssessmentCommand.d.ts +14 -23
  174. package/dist-types/ts3.4/commands/DeleteAppCommand.d.ts +14 -23
  175. package/dist-types/ts3.4/commands/DeleteAppInputSourceCommand.d.ts +12 -24
  176. package/dist-types/ts3.4/commands/DeleteAppVersionAppComponentCommand.d.ts +12 -24
  177. package/dist-types/ts3.4/commands/DeleteAppVersionResourceCommand.d.ts +12 -24
  178. package/dist-types/ts3.4/commands/DeleteRecommendationTemplateCommand.d.ts +12 -24
  179. package/dist-types/ts3.4/commands/DeleteResiliencyPolicyCommand.d.ts +12 -24
  180. package/dist-types/ts3.4/commands/DescribeAppAssessmentCommand.d.ts +12 -24
  181. package/dist-types/ts3.4/commands/DescribeAppCommand.d.ts +14 -23
  182. package/dist-types/ts3.4/commands/DescribeAppVersionAppComponentCommand.d.ts +12 -24
  183. package/dist-types/ts3.4/commands/DescribeAppVersionCommand.d.ts +14 -23
  184. package/dist-types/ts3.4/commands/DescribeAppVersionResourceCommand.d.ts +12 -24
  185. package/dist-types/ts3.4/commands/DescribeAppVersionResourcesResolutionStatusCommand.d.ts +12 -24
  186. package/dist-types/ts3.4/commands/DescribeAppVersionTemplateCommand.d.ts +12 -24
  187. package/dist-types/ts3.4/commands/DescribeDraftAppVersionResourcesImportStatusCommand.d.ts +12 -24
  188. package/dist-types/ts3.4/commands/DescribeResiliencyPolicyCommand.d.ts +12 -24
  189. package/dist-types/ts3.4/commands/ImportResourcesToDraftAppVersionCommand.d.ts +12 -24
  190. package/dist-types/ts3.4/commands/ListAlarmRecommendationsCommand.d.ts +12 -24
  191. package/dist-types/ts3.4/commands/ListAppAssessmentComplianceDriftsCommand.d.ts +12 -24
  192. package/dist-types/ts3.4/commands/ListAppAssessmentsCommand.d.ts +14 -23
  193. package/dist-types/ts3.4/commands/ListAppComponentCompliancesCommand.d.ts +12 -24
  194. package/dist-types/ts3.4/commands/ListAppComponentRecommendationsCommand.d.ts +12 -24
  195. package/dist-types/ts3.4/commands/ListAppInputSourcesCommand.d.ts +14 -23
  196. package/dist-types/ts3.4/commands/ListAppVersionAppComponentsCommand.d.ts +12 -24
  197. package/dist-types/ts3.4/commands/ListAppVersionResourceMappingsCommand.d.ts +12 -24
  198. package/dist-types/ts3.4/commands/ListAppVersionResourcesCommand.d.ts +12 -24
  199. package/dist-types/ts3.4/commands/ListAppVersionsCommand.d.ts +14 -23
  200. package/dist-types/ts3.4/commands/ListAppsCommand.d.ts +14 -23
  201. package/dist-types/ts3.4/commands/ListRecommendationTemplatesCommand.d.ts +12 -24
  202. package/dist-types/ts3.4/commands/ListResiliencyPoliciesCommand.d.ts +12 -24
  203. package/dist-types/ts3.4/commands/ListSopRecommendationsCommand.d.ts +12 -24
  204. package/dist-types/ts3.4/commands/ListSuggestedResiliencyPoliciesCommand.d.ts +12 -24
  205. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  206. package/dist-types/ts3.4/commands/ListTestRecommendationsCommand.d.ts +12 -24
  207. package/dist-types/ts3.4/commands/ListUnsupportedAppVersionResourcesCommand.d.ts +12 -24
  208. package/dist-types/ts3.4/commands/PublishAppVersionCommand.d.ts +14 -23
  209. package/dist-types/ts3.4/commands/PutDraftAppVersionTemplateCommand.d.ts +12 -24
  210. package/dist-types/ts3.4/commands/RemoveDraftAppVersionResourceMappingsCommand.d.ts +12 -24
  211. package/dist-types/ts3.4/commands/ResolveAppVersionResourcesCommand.d.ts +12 -24
  212. package/dist-types/ts3.4/commands/StartAppAssessmentCommand.d.ts +14 -23
  213. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  214. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  215. package/dist-types/ts3.4/commands/UpdateAppCommand.d.ts +14 -23
  216. package/dist-types/ts3.4/commands/UpdateAppVersionAppComponentCommand.d.ts +12 -24
  217. package/dist-types/ts3.4/commands/UpdateAppVersionCommand.d.ts +14 -23
  218. package/dist-types/ts3.4/commands/UpdateAppVersionResourceCommand.d.ts +12 -24
  219. package/dist-types/ts3.4/commands/UpdateResiliencyPolicyCommand.d.ts +12 -24
  220. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  221. package/package.json +11 -11
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class ListAppComponentCompliancesCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListAppComponentCompliancesCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "ResiliencehubClient";
29
- const commandName = "ListAppComponentCompliancesCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AwsResilienceHub",
38
- operation: "ListAppComponentCompliances",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_ListAppComponentCompliancesCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_ListAppComponentCompliancesCommand)(output, context);
49
- }
10
+ class ListAppComponentCompliancesCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AwsResilienceHub", "ListAppComponentCompliances", {})
22
+ .n("ResiliencehubClient", "ListAppComponentCompliancesCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_ListAppComponentCompliancesCommand)
25
+ .de(Aws_restJson1_1.de_ListAppComponentCompliancesCommand)
26
+ .build() {
50
27
  }
51
28
  exports.ListAppComponentCompliancesCommand = ListAppComponentCompliancesCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class ListAppComponentRecommendationsCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListAppComponentRecommendationsCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "ResiliencehubClient";
29
- const commandName = "ListAppComponentRecommendationsCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AwsResilienceHub",
38
- operation: "ListAppComponentRecommendations",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_ListAppComponentRecommendationsCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_ListAppComponentRecommendationsCommand)(output, context);
49
- }
10
+ class ListAppComponentRecommendationsCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AwsResilienceHub", "ListAppComponentRecommendations", {})
22
+ .n("ResiliencehubClient", "ListAppComponentRecommendationsCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_ListAppComponentRecommendationsCommand)
25
+ .de(Aws_restJson1_1.de_ListAppComponentRecommendationsCommand)
26
+ .build() {
50
27
  }
51
28
  exports.ListAppComponentRecommendationsCommand = ListAppComponentRecommendationsCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class ListAppInputSourcesCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListAppInputSourcesCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "ResiliencehubClient";
29
- const commandName = "ListAppInputSourcesCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AwsResilienceHub",
38
- operation: "ListAppInputSources",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_ListAppInputSourcesCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_ListAppInputSourcesCommand)(output, context);
49
- }
10
+ class ListAppInputSourcesCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AwsResilienceHub", "ListAppInputSources", {})
22
+ .n("ResiliencehubClient", "ListAppInputSourcesCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_ListAppInputSourcesCommand)
25
+ .de(Aws_restJson1_1.de_ListAppInputSourcesCommand)
26
+ .build() {
50
27
  }
51
28
  exports.ListAppInputSourcesCommand = ListAppInputSourcesCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class ListAppVersionAppComponentsCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListAppVersionAppComponentsCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "ResiliencehubClient";
29
- const commandName = "ListAppVersionAppComponentsCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AwsResilienceHub",
38
- operation: "ListAppVersionAppComponents",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_ListAppVersionAppComponentsCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_ListAppVersionAppComponentsCommand)(output, context);
49
- }
10
+ class ListAppVersionAppComponentsCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AwsResilienceHub", "ListAppVersionAppComponents", {})
22
+ .n("ResiliencehubClient", "ListAppVersionAppComponentsCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_ListAppVersionAppComponentsCommand)
25
+ .de(Aws_restJson1_1.de_ListAppVersionAppComponentsCommand)
26
+ .build() {
50
27
  }
51
28
  exports.ListAppVersionAppComponentsCommand = ListAppVersionAppComponentsCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class ListAppVersionResourceMappingsCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListAppVersionResourceMappingsCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "ResiliencehubClient";
29
- const commandName = "ListAppVersionResourceMappingsCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AwsResilienceHub",
38
- operation: "ListAppVersionResourceMappings",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_ListAppVersionResourceMappingsCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_ListAppVersionResourceMappingsCommand)(output, context);
49
- }
10
+ class ListAppVersionResourceMappingsCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AwsResilienceHub", "ListAppVersionResourceMappings", {})
22
+ .n("ResiliencehubClient", "ListAppVersionResourceMappingsCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_ListAppVersionResourceMappingsCommand)
25
+ .de(Aws_restJson1_1.de_ListAppVersionResourceMappingsCommand)
26
+ .build() {
50
27
  }
51
28
  exports.ListAppVersionResourceMappingsCommand = ListAppVersionResourceMappingsCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class ListAppVersionResourcesCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListAppVersionResourcesCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "ResiliencehubClient";
29
- const commandName = "ListAppVersionResourcesCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AwsResilienceHub",
38
- operation: "ListAppVersionResources",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_ListAppVersionResourcesCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_ListAppVersionResourcesCommand)(output, context);
49
- }
10
+ class ListAppVersionResourcesCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AwsResilienceHub", "ListAppVersionResources", {})
22
+ .n("ResiliencehubClient", "ListAppVersionResourcesCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_ListAppVersionResourcesCommand)
25
+ .de(Aws_restJson1_1.de_ListAppVersionResourcesCommand)
26
+ .build() {
50
27
  }
51
28
  exports.ListAppVersionResourcesCommand = ListAppVersionResourcesCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class ListAppVersionsCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListAppVersionsCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "ResiliencehubClient";
29
- const commandName = "ListAppVersionsCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AwsResilienceHub",
38
- operation: "ListAppVersions",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_ListAppVersionsCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_ListAppVersionsCommand)(output, context);
49
- }
10
+ class ListAppVersionsCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AwsResilienceHub", "ListAppVersions", {})
22
+ .n("ResiliencehubClient", "ListAppVersionsCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_ListAppVersionsCommand)
25
+ .de(Aws_restJson1_1.de_ListAppVersionsCommand)
26
+ .build() {
50
27
  }
51
28
  exports.ListAppVersionsCommand = ListAppVersionsCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class ListAppsCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListAppsCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "ResiliencehubClient";
29
- const commandName = "ListAppsCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AwsResilienceHub",
38
- operation: "ListApps",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_ListAppsCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_ListAppsCommand)(output, context);
49
- }
10
+ class ListAppsCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AwsResilienceHub", "ListApps", {})
22
+ .n("ResiliencehubClient", "ListAppsCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_ListAppsCommand)
25
+ .de(Aws_restJson1_1.de_ListAppsCommand)
26
+ .build() {
50
27
  }
51
28
  exports.ListAppsCommand = ListAppsCommand;
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const models_0_1 = require("../models/models_0");
10
10
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
- class ListRecommendationTemplatesCommand extends smithy_client_1.Command {
12
- static getEndpointParameterInstructions() {
13
- return {
14
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
- Endpoint: { type: "builtInParams", name: "endpoint" },
16
- Region: { type: "builtInParams", name: "region" },
17
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
- };
19
- }
20
- constructor(input) {
21
- super();
22
- this.input = input;
23
- }
24
- resolveMiddleware(clientStack, configuration, options) {
25
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListRecommendationTemplatesCommand.getEndpointParameterInstructions()));
27
- const stack = clientStack.concat(this.middlewareStack);
28
- const { logger } = configuration;
29
- const clientName = "ResiliencehubClient";
30
- const commandName = "ListRecommendationTemplatesCommand";
31
- const handlerExecutionContext = {
32
- logger,
33
- clientName,
34
- commandName,
35
- inputFilterSensitiveLog: (_) => _,
36
- outputFilterSensitiveLog: models_0_1.ListRecommendationTemplatesResponseFilterSensitiveLog,
37
- [types_1.SMITHY_CONTEXT_KEY]: {
38
- service: "AwsResilienceHub",
39
- operation: "ListRecommendationTemplates",
40
- },
41
- };
42
- const { requestHandler } = configuration;
43
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
- }
45
- serialize(input, context) {
46
- return (0, Aws_restJson1_1.se_ListRecommendationTemplatesCommand)(input, context);
47
- }
48
- deserialize(output, context) {
49
- return (0, Aws_restJson1_1.de_ListRecommendationTemplatesCommand)(output, context);
50
- }
11
+ class ListRecommendationTemplatesCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep({
14
+ ...EndpointParameters_1.commonParams,
15
+ })
16
+ .m(function (Command, cs, config, o) {
17
+ return [
18
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
19
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
20
+ ];
21
+ })
22
+ .s("AwsResilienceHub", "ListRecommendationTemplates", {})
23
+ .n("ResiliencehubClient", "ListRecommendationTemplatesCommand")
24
+ .f(void 0, models_0_1.ListRecommendationTemplatesResponseFilterSensitiveLog)
25
+ .ser(Aws_restJson1_1.se_ListRecommendationTemplatesCommand)
26
+ .de(Aws_restJson1_1.de_ListRecommendationTemplatesCommand)
27
+ .build() {
51
28
  }
52
29
  exports.ListRecommendationTemplatesCommand = ListRecommendationTemplatesCommand;