@aws-sdk/client-resiliencehubv2 3.1056.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 (293) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +538 -0
  3. package/dist-cjs/auth/httpAuthSchemeProvider.js +46 -0
  4. package/dist-cjs/endpoint/bdd.js +49 -0
  5. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  6. package/dist-cjs/index.js +1357 -0
  7. package/dist-cjs/models/Resiliencehubv2ServiceException.js +12 -0
  8. package/dist-cjs/models/errors.js +105 -0
  9. package/dist-cjs/runtimeConfig.browser.js +36 -0
  10. package/dist-cjs/runtimeConfig.js +49 -0
  11. package/dist-cjs/runtimeConfig.native.js +15 -0
  12. package/dist-cjs/runtimeConfig.shared.js +42 -0
  13. package/dist-cjs/schemas/schemas_0.js +1785 -0
  14. package/dist-es/Resiliencehubv2.js +151 -0
  15. package/dist-es/Resiliencehubv2Client.js +47 -0
  16. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  17. package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
  18. package/dist-es/commands/CreateAssertionCommand.js +16 -0
  19. package/dist-es/commands/CreateInputSourceCommand.js +16 -0
  20. package/dist-es/commands/CreatePolicyCommand.js +16 -0
  21. package/dist-es/commands/CreateReportCommand.js +16 -0
  22. package/dist-es/commands/CreateServiceCommand.js +16 -0
  23. package/dist-es/commands/CreateServiceFunctionCommand.js +16 -0
  24. package/dist-es/commands/CreateServiceFunctionResourcesCommand.js +16 -0
  25. package/dist-es/commands/CreateSystemCommand.js +16 -0
  26. package/dist-es/commands/CreateUserJourneyCommand.js +16 -0
  27. package/dist-es/commands/DeleteAssertionCommand.js +16 -0
  28. package/dist-es/commands/DeleteInputSourceCommand.js +16 -0
  29. package/dist-es/commands/DeletePolicyCommand.js +16 -0
  30. package/dist-es/commands/DeleteServiceCommand.js +16 -0
  31. package/dist-es/commands/DeleteServiceFunctionCommand.js +16 -0
  32. package/dist-es/commands/DeleteServiceFunctionResourcesCommand.js +16 -0
  33. package/dist-es/commands/DeleteSystemCommand.js +16 -0
  34. package/dist-es/commands/DeleteUserJourneyCommand.js +16 -0
  35. package/dist-es/commands/GetFailureModeFindingCommand.js +16 -0
  36. package/dist-es/commands/GetPolicyCommand.js +16 -0
  37. package/dist-es/commands/GetServiceCommand.js +16 -0
  38. package/dist-es/commands/GetSystemCommand.js +16 -0
  39. package/dist-es/commands/GetUserJourneyCommand.js +16 -0
  40. package/dist-es/commands/ImportAppCommand.js +16 -0
  41. package/dist-es/commands/ImportPolicyCommand.js +16 -0
  42. package/dist-es/commands/ListAssertionsCommand.js +16 -0
  43. package/dist-es/commands/ListDependenciesCommand.js +16 -0
  44. package/dist-es/commands/ListFailureModeAssessmentsCommand.js +16 -0
  45. package/dist-es/commands/ListFailureModeFindingsCommand.js +16 -0
  46. package/dist-es/commands/ListInputSourcesCommand.js +16 -0
  47. package/dist-es/commands/ListPoliciesCommand.js +16 -0
  48. package/dist-es/commands/ListReportsCommand.js +16 -0
  49. package/dist-es/commands/ListResourcesCommand.js +16 -0
  50. package/dist-es/commands/ListServiceEventsCommand.js +16 -0
  51. package/dist-es/commands/ListServiceFunctionsCommand.js +16 -0
  52. package/dist-es/commands/ListServiceTopologyEdgesCommand.js +16 -0
  53. package/dist-es/commands/ListServicesCommand.js +16 -0
  54. package/dist-es/commands/ListSystemEventsCommand.js +16 -0
  55. package/dist-es/commands/ListSystemsCommand.js +16 -0
  56. package/dist-es/commands/ListTagsForResourceCommand.js +16 -0
  57. package/dist-es/commands/ListUserJourneysCommand.js +16 -0
  58. package/dist-es/commands/StartFailureModeAssessmentCommand.js +16 -0
  59. package/dist-es/commands/TagResourceCommand.js +16 -0
  60. package/dist-es/commands/UntagResourceCommand.js +16 -0
  61. package/dist-es/commands/UpdateAssertionCommand.js +16 -0
  62. package/dist-es/commands/UpdateDependencyCommand.js +16 -0
  63. package/dist-es/commands/UpdateFailureModeFindingCommand.js +16 -0
  64. package/dist-es/commands/UpdatePolicyCommand.js +16 -0
  65. package/dist-es/commands/UpdateServiceCommand.js +16 -0
  66. package/dist-es/commands/UpdateServiceFunctionCommand.js +16 -0
  67. package/dist-es/commands/UpdateSystemCommand.js +16 -0
  68. package/dist-es/commands/UpdateUserJourneyCommand.js +16 -0
  69. package/dist-es/commands/index.js +51 -0
  70. package/dist-es/endpoint/EndpointParameters.js +13 -0
  71. package/dist-es/endpoint/bdd.js +46 -0
  72. package/dist-es/endpoint/endpointResolver.js +14 -0
  73. package/dist-es/extensionConfiguration.js +1 -0
  74. package/dist-es/index.js +10 -0
  75. package/dist-es/models/Resiliencehubv2ServiceException.js +8 -0
  76. package/dist-es/models/enums.js +182 -0
  77. package/dist-es/models/errors.js +95 -0
  78. package/dist-es/models/models_0.js +1 -0
  79. package/dist-es/pagination/Interfaces.js +1 -0
  80. package/dist-es/pagination/ListAssertionsPaginator.js +4 -0
  81. package/dist-es/pagination/ListDependenciesPaginator.js +4 -0
  82. package/dist-es/pagination/ListFailureModeAssessmentsPaginator.js +4 -0
  83. package/dist-es/pagination/ListFailureModeFindingsPaginator.js +4 -0
  84. package/dist-es/pagination/ListInputSourcesPaginator.js +4 -0
  85. package/dist-es/pagination/ListPoliciesPaginator.js +4 -0
  86. package/dist-es/pagination/ListReportsPaginator.js +4 -0
  87. package/dist-es/pagination/ListResourcesPaginator.js +4 -0
  88. package/dist-es/pagination/ListServiceEventsPaginator.js +4 -0
  89. package/dist-es/pagination/ListServiceFunctionsPaginator.js +4 -0
  90. package/dist-es/pagination/ListServiceTopologyEdgesPaginator.js +4 -0
  91. package/dist-es/pagination/ListServicesPaginator.js +4 -0
  92. package/dist-es/pagination/ListSystemEventsPaginator.js +4 -0
  93. package/dist-es/pagination/ListSystemsPaginator.js +4 -0
  94. package/dist-es/pagination/ListUserJourneysPaginator.js +4 -0
  95. package/dist-es/pagination/index.js +16 -0
  96. package/dist-es/runtimeConfig.browser.js +31 -0
  97. package/dist-es/runtimeConfig.js +44 -0
  98. package/dist-es/runtimeConfig.native.js +11 -0
  99. package/dist-es/runtimeConfig.shared.js +38 -0
  100. package/dist-es/runtimeExtensions.js +9 -0
  101. package/dist-es/schemas/schemas_0.js +1777 -0
  102. package/dist-es/waiters/index.js +4 -0
  103. package/dist-es/waiters/waitForFailureModeAssessmentSuccess.js +64 -0
  104. package/dist-es/waiters/waitForReportSucceeded.js +64 -0
  105. package/dist-es/waiters/waitForServiceAssessmentCompleted.js +40 -0
  106. package/dist-es/waiters/waitForServiceResourceDiscoveryCompleted.js +49 -0
  107. package/dist-types/Resiliencehubv2.d.ts +502 -0
  108. package/dist-types/Resiliencehubv2Client.d.ts +237 -0
  109. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  110. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  111. package/dist-types/commands/CreateAssertionCommand.d.ts +103 -0
  112. package/dist-types/commands/CreateInputSourceCommand.d.ts +115 -0
  113. package/dist-types/commands/CreatePolicyCommand.d.ts +143 -0
  114. package/dist-types/commands/CreateReportCommand.d.ts +111 -0
  115. package/dist-types/commands/CreateServiceCommand.d.ts +243 -0
  116. package/dist-types/commands/CreateServiceFunctionCommand.d.ts +108 -0
  117. package/dist-types/commands/CreateServiceFunctionResourcesCommand.d.ts +99 -0
  118. package/dist-types/commands/CreateSystemCommand.d.ts +115 -0
  119. package/dist-types/commands/CreateUserJourneyCommand.d.ts +105 -0
  120. package/dist-types/commands/DeleteAssertionCommand.d.ts +89 -0
  121. package/dist-types/commands/DeleteInputSourceCommand.d.ts +90 -0
  122. package/dist-types/commands/DeletePolicyCommand.d.ts +91 -0
  123. package/dist-types/commands/DeleteServiceCommand.d.ts +91 -0
  124. package/dist-types/commands/DeleteServiceFunctionCommand.d.ts +92 -0
  125. package/dist-types/commands/DeleteServiceFunctionResourcesCommand.d.ts +99 -0
  126. package/dist-types/commands/DeleteSystemCommand.d.ts +91 -0
  127. package/dist-types/commands/DeleteUserJourneyCommand.d.ts +92 -0
  128. package/dist-types/commands/GetFailureModeFindingCommand.d.ts +124 -0
  129. package/dist-types/commands/GetPolicyCommand.d.ts +115 -0
  130. package/dist-types/commands/GetServiceCommand.d.ts +198 -0
  131. package/dist-types/commands/GetSystemCommand.d.ts +102 -0
  132. package/dist-types/commands/GetUserJourneyCommand.d.ts +96 -0
  133. package/dist-types/commands/ImportAppCommand.d.ts +217 -0
  134. package/dist-types/commands/ImportPolicyCommand.d.ts +128 -0
  135. package/dist-types/commands/ListAssertionsCommand.d.ts +101 -0
  136. package/dist-types/commands/ListDependenciesCommand.d.ts +120 -0
  137. package/dist-types/commands/ListFailureModeAssessmentsCommand.d.ts +113 -0
  138. package/dist-types/commands/ListFailureModeFindingsCommand.d.ts +106 -0
  139. package/dist-types/commands/ListInputSourcesCommand.d.ts +115 -0
  140. package/dist-types/commands/ListPoliciesCommand.d.ts +111 -0
  141. package/dist-types/commands/ListReportsCommand.d.ts +112 -0
  142. package/dist-types/commands/ListResourcesCommand.d.ts +108 -0
  143. package/dist-types/commands/ListServiceEventsCommand.d.ts +201 -0
  144. package/dist-types/commands/ListServiceFunctionsCommand.d.ts +103 -0
  145. package/dist-types/commands/ListServiceTopologyEdgesCommand.d.ts +99 -0
  146. package/dist-types/commands/ListServicesCommand.d.ts +128 -0
  147. package/dist-types/commands/ListSystemEventsCommand.d.ts +181 -0
  148. package/dist-types/commands/ListSystemsCommand.d.ts +100 -0
  149. package/dist-types/commands/ListTagsForResourceCommand.d.ts +93 -0
  150. package/dist-types/commands/ListUserJourneysCommand.d.ts +98 -0
  151. package/dist-types/commands/StartFailureModeAssessmentCommand.d.ts +98 -0
  152. package/dist-types/commands/TagResourceCommand.d.ts +92 -0
  153. package/dist-types/commands/UntagResourceCommand.d.ts +92 -0
  154. package/dist-types/commands/UpdateAssertionCommand.d.ts +100 -0
  155. package/dist-types/commands/UpdateDependencyCommand.d.ts +100 -0
  156. package/dist-types/commands/UpdateFailureModeFindingCommand.d.ts +129 -0
  157. package/dist-types/commands/UpdatePolicyCommand.d.ts +135 -0
  158. package/dist-types/commands/UpdateServiceCommand.d.ts +238 -0
  159. package/dist-types/commands/UpdateServiceFunctionCommand.d.ts +105 -0
  160. package/dist-types/commands/UpdateSystemCommand.d.ts +107 -0
  161. package/dist-types/commands/UpdateUserJourneyCommand.d.ts +102 -0
  162. package/dist-types/commands/index.d.ts +51 -0
  163. package/dist-types/endpoint/EndpointParameters.d.ts +50 -0
  164. package/dist-types/endpoint/bdd.d.ts +2 -0
  165. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  166. package/dist-types/extensionConfiguration.d.ts +9 -0
  167. package/dist-types/index.d.ts +18 -0
  168. package/dist-types/models/Resiliencehubv2ServiceException.d.ts +14 -0
  169. package/dist-types/models/enums.d.ts +422 -0
  170. package/dist-types/models/errors.d.ts +113 -0
  171. package/dist-types/models/models_0.d.ts +4947 -0
  172. package/dist-types/pagination/Interfaces.d.ts +8 -0
  173. package/dist-types/pagination/ListAssertionsPaginator.d.ts +7 -0
  174. package/dist-types/pagination/ListDependenciesPaginator.d.ts +7 -0
  175. package/dist-types/pagination/ListFailureModeAssessmentsPaginator.d.ts +7 -0
  176. package/dist-types/pagination/ListFailureModeFindingsPaginator.d.ts +7 -0
  177. package/dist-types/pagination/ListInputSourcesPaginator.d.ts +7 -0
  178. package/dist-types/pagination/ListPoliciesPaginator.d.ts +7 -0
  179. package/dist-types/pagination/ListReportsPaginator.d.ts +7 -0
  180. package/dist-types/pagination/ListResourcesPaginator.d.ts +7 -0
  181. package/dist-types/pagination/ListServiceEventsPaginator.d.ts +7 -0
  182. package/dist-types/pagination/ListServiceFunctionsPaginator.d.ts +7 -0
  183. package/dist-types/pagination/ListServiceTopologyEdgesPaginator.d.ts +7 -0
  184. package/dist-types/pagination/ListServicesPaginator.d.ts +7 -0
  185. package/dist-types/pagination/ListSystemEventsPaginator.d.ts +7 -0
  186. package/dist-types/pagination/ListSystemsPaginator.d.ts +7 -0
  187. package/dist-types/pagination/ListUserJourneysPaginator.d.ts +7 -0
  188. package/dist-types/pagination/index.d.ts +16 -0
  189. package/dist-types/runtimeConfig.browser.d.ts +55 -0
  190. package/dist-types/runtimeConfig.d.ts +55 -0
  191. package/dist-types/runtimeConfig.native.d.ts +54 -0
  192. package/dist-types/runtimeConfig.shared.d.ts +27 -0
  193. package/dist-types/runtimeExtensions.d.ts +17 -0
  194. package/dist-types/schemas/schemas_0.d.ts +259 -0
  195. package/dist-types/ts3.4/Resiliencehubv2.d.ts +1026 -0
  196. package/dist-types/ts3.4/Resiliencehubv2Client.d.ts +417 -0
  197. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  198. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
  199. package/dist-types/ts3.4/commands/CreateAssertionCommand.d.ts +52 -0
  200. package/dist-types/ts3.4/commands/CreateInputSourceCommand.d.ts +53 -0
  201. package/dist-types/ts3.4/commands/CreatePolicyCommand.d.ts +49 -0
  202. package/dist-types/ts3.4/commands/CreateReportCommand.d.ts +49 -0
  203. package/dist-types/ts3.4/commands/CreateServiceCommand.d.ts +52 -0
  204. package/dist-types/ts3.4/commands/CreateServiceFunctionCommand.d.ts +53 -0
  205. package/dist-types/ts3.4/commands/CreateServiceFunctionResourcesCommand.d.ts +53 -0
  206. package/dist-types/ts3.4/commands/CreateSystemCommand.d.ts +49 -0
  207. package/dist-types/ts3.4/commands/CreateUserJourneyCommand.d.ts +53 -0
  208. package/dist-types/ts3.4/commands/DeleteAssertionCommand.d.ts +52 -0
  209. package/dist-types/ts3.4/commands/DeleteInputSourceCommand.d.ts +53 -0
  210. package/dist-types/ts3.4/commands/DeletePolicyCommand.d.ts +49 -0
  211. package/dist-types/ts3.4/commands/DeleteServiceCommand.d.ts +52 -0
  212. package/dist-types/ts3.4/commands/DeleteServiceFunctionCommand.d.ts +53 -0
  213. package/dist-types/ts3.4/commands/DeleteServiceFunctionResourcesCommand.d.ts +53 -0
  214. package/dist-types/ts3.4/commands/DeleteSystemCommand.d.ts +49 -0
  215. package/dist-types/ts3.4/commands/DeleteUserJourneyCommand.d.ts +53 -0
  216. package/dist-types/ts3.4/commands/GetFailureModeFindingCommand.d.ts +53 -0
  217. package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +45 -0
  218. package/dist-types/ts3.4/commands/GetServiceCommand.d.ts +49 -0
  219. package/dist-types/ts3.4/commands/GetSystemCommand.d.ts +45 -0
  220. package/dist-types/ts3.4/commands/GetUserJourneyCommand.d.ts +52 -0
  221. package/dist-types/ts3.4/commands/ImportAppCommand.d.ts +45 -0
  222. package/dist-types/ts3.4/commands/ImportPolicyCommand.d.ts +49 -0
  223. package/dist-types/ts3.4/commands/ListAssertionsCommand.d.ts +52 -0
  224. package/dist-types/ts3.4/commands/ListDependenciesCommand.d.ts +52 -0
  225. package/dist-types/ts3.4/commands/ListFailureModeAssessmentsCommand.d.ts +53 -0
  226. package/dist-types/ts3.4/commands/ListFailureModeFindingsCommand.d.ts +53 -0
  227. package/dist-types/ts3.4/commands/ListInputSourcesCommand.d.ts +52 -0
  228. package/dist-types/ts3.4/commands/ListPoliciesCommand.d.ts +49 -0
  229. package/dist-types/ts3.4/commands/ListReportsCommand.d.ts +49 -0
  230. package/dist-types/ts3.4/commands/ListResourcesCommand.d.ts +52 -0
  231. package/dist-types/ts3.4/commands/ListServiceEventsCommand.d.ts +53 -0
  232. package/dist-types/ts3.4/commands/ListServiceFunctionsCommand.d.ts +53 -0
  233. package/dist-types/ts3.4/commands/ListServiceTopologyEdgesCommand.d.ts +53 -0
  234. package/dist-types/ts3.4/commands/ListServicesCommand.d.ts +49 -0
  235. package/dist-types/ts3.4/commands/ListSystemEventsCommand.d.ts +52 -0
  236. package/dist-types/ts3.4/commands/ListSystemsCommand.d.ts +49 -0
  237. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +53 -0
  238. package/dist-types/ts3.4/commands/ListUserJourneysCommand.d.ts +52 -0
  239. package/dist-types/ts3.4/commands/StartFailureModeAssessmentCommand.d.ts +53 -0
  240. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +49 -0
  241. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +52 -0
  242. package/dist-types/ts3.4/commands/UpdateAssertionCommand.d.ts +52 -0
  243. package/dist-types/ts3.4/commands/UpdateDependencyCommand.d.ts +52 -0
  244. package/dist-types/ts3.4/commands/UpdateFailureModeFindingCommand.d.ts +53 -0
  245. package/dist-types/ts3.4/commands/UpdatePolicyCommand.d.ts +49 -0
  246. package/dist-types/ts3.4/commands/UpdateServiceCommand.d.ts +52 -0
  247. package/dist-types/ts3.4/commands/UpdateServiceFunctionCommand.d.ts +53 -0
  248. package/dist-types/ts3.4/commands/UpdateSystemCommand.d.ts +49 -0
  249. package/dist-types/ts3.4/commands/UpdateUserJourneyCommand.d.ts +53 -0
  250. package/dist-types/ts3.4/commands/index.d.ts +51 -0
  251. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
  252. package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
  253. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  254. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  255. package/dist-types/ts3.4/index.d.ts +13 -0
  256. package/dist-types/ts3.4/models/Resiliencehubv2ServiceException.d.ts +9 -0
  257. package/dist-types/ts3.4/models/enums.d.ts +237 -0
  258. package/dist-types/ts3.4/models/errors.d.ts +56 -0
  259. package/dist-types/ts3.4/models/models_0.d.ts +1761 -0
  260. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  261. package/dist-types/ts3.4/pagination/ListAssertionsPaginator.d.ts +11 -0
  262. package/dist-types/ts3.4/pagination/ListDependenciesPaginator.d.ts +11 -0
  263. package/dist-types/ts3.4/pagination/ListFailureModeAssessmentsPaginator.d.ts +11 -0
  264. package/dist-types/ts3.4/pagination/ListFailureModeFindingsPaginator.d.ts +11 -0
  265. package/dist-types/ts3.4/pagination/ListInputSourcesPaginator.d.ts +11 -0
  266. package/dist-types/ts3.4/pagination/ListPoliciesPaginator.d.ts +11 -0
  267. package/dist-types/ts3.4/pagination/ListReportsPaginator.d.ts +11 -0
  268. package/dist-types/ts3.4/pagination/ListResourcesPaginator.d.ts +11 -0
  269. package/dist-types/ts3.4/pagination/ListServiceEventsPaginator.d.ts +11 -0
  270. package/dist-types/ts3.4/pagination/ListServiceFunctionsPaginator.d.ts +11 -0
  271. package/dist-types/ts3.4/pagination/ListServiceTopologyEdgesPaginator.d.ts +11 -0
  272. package/dist-types/ts3.4/pagination/ListServicesPaginator.d.ts +11 -0
  273. package/dist-types/ts3.4/pagination/ListSystemEventsPaginator.d.ts +11 -0
  274. package/dist-types/ts3.4/pagination/ListSystemsPaginator.d.ts +11 -0
  275. package/dist-types/ts3.4/pagination/ListUserJourneysPaginator.d.ts +11 -0
  276. package/dist-types/ts3.4/pagination/index.d.ts +16 -0
  277. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +102 -0
  278. package/dist-types/ts3.4/runtimeConfig.d.ts +97 -0
  279. package/dist-types/ts3.4/runtimeConfig.native.d.ts +106 -0
  280. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +32 -0
  281. package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
  282. package/dist-types/ts3.4/schemas/schemas_0.d.ts +259 -0
  283. package/dist-types/ts3.4/waiters/index.d.ts +4 -0
  284. package/dist-types/ts3.4/waiters/waitForFailureModeAssessmentSuccess.d.ts +19 -0
  285. package/dist-types/ts3.4/waiters/waitForReportSucceeded.d.ts +17 -0
  286. package/dist-types/ts3.4/waiters/waitForServiceAssessmentCompleted.d.ts +17 -0
  287. package/dist-types/ts3.4/waiters/waitForServiceResourceDiscoveryCompleted.d.ts +17 -0
  288. package/dist-types/waiters/index.d.ts +4 -0
  289. package/dist-types/waiters/waitForFailureModeAssessmentSuccess.d.ts +15 -0
  290. package/dist-types/waiters/waitForReportSucceeded.d.ts +15 -0
  291. package/dist-types/waiters/waitForServiceAssessmentCompleted.d.ts +15 -0
  292. package/dist-types/waiters/waitForServiceResourceDiscoveryCompleted.d.ts +15 -0
  293. package/package.json +71 -0
package/README.md ADDED
@@ -0,0 +1,538 @@
1
+ <!-- generated file, do not edit directly -->
2
+
3
+ # @aws-sdk/client-resiliencehubv2
4
+
5
+ ## Description
6
+
7
+ AWS SDK for JavaScript Resiliencehubv2 Client for Node.js, Browser and React Native.
8
+
9
+ <p>The next generation of AWS Resilience Hub is the single location in AWS where you assess and improve the resilience of your critical applications. It helps Site Reliability Engineers (SREs) and development teams proactively reason about resilience at scale — identifying failure modes, discovering hidden dependencies, and report on progress across the enterprise. </p>
10
+
11
+ ## Installing
12
+
13
+ To install this package, use the CLI of your favorite package manager:
14
+
15
+ - `npm install @aws-sdk/client-resiliencehubv2`
16
+ - `yarn add @aws-sdk/client-resiliencehubv2`
17
+ - `pnpm add @aws-sdk/client-resiliencehubv2`
18
+
19
+ ## Getting Started
20
+
21
+ ### Import
22
+
23
+ The AWS SDK is modulized by clients and commands.
24
+ To send a request, you only need to import the `Resiliencehubv2Client` and
25
+ the commands you need, for example `ListReportsCommand`:
26
+
27
+ ```js
28
+ // ES5 example
29
+ const { Resiliencehubv2Client, ListReportsCommand } = require("@aws-sdk/client-resiliencehubv2");
30
+ ```
31
+
32
+ ```ts
33
+ // ES6+ example
34
+ import { Resiliencehubv2Client, ListReportsCommand } from "@aws-sdk/client-resiliencehubv2";
35
+ ```
36
+
37
+ ### Usage
38
+
39
+ To send a request:
40
+
41
+ - Instantiate a client with configuration (e.g. credentials, region).
42
+ - See [docs/CLIENTS](https://github.com/aws/aws-sdk-js-v3/blob/main/supplemental-docs/CLIENTS.md) for configuration details.
43
+ - See [@aws-sdk/config](https://github.com/aws/aws-sdk-js-v3/blob/main/packages/config/README.md) for additional options.
44
+ - Instantiate a command with input parameters.
45
+ - Call the `send` operation on the client, providing the command object as input.
46
+
47
+ ```js
48
+ const client = new Resiliencehubv2Client({ region: "REGION" });
49
+
50
+ const params = { /** input parameters */ };
51
+ const command = new ListReportsCommand(params);
52
+ ```
53
+
54
+ #### Async/await
55
+
56
+ We recommend using the [await](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await)
57
+ operator to wait for the promise returned by send operation as follows:
58
+
59
+ ```js
60
+ // async/await.
61
+ try {
62
+ const data = await client.send(command);
63
+ // process data.
64
+ } catch (error) {
65
+ // error handling.
66
+ } finally {
67
+ // finally.
68
+ }
69
+ ```
70
+
71
+ #### Promises
72
+
73
+ You can also use [Promise chaining](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Using_promises#chaining).
74
+
75
+ ```js
76
+ client
77
+ .send(command)
78
+ .then((data) => {
79
+ // process data.
80
+ })
81
+ .catch((error) => {
82
+ // error handling.
83
+ })
84
+ .finally(() => {
85
+ // finally.
86
+ });
87
+ ```
88
+
89
+ #### Aggregated client
90
+
91
+ The aggregated client class is exported from the same package, but without the "Client" suffix.
92
+
93
+ `Resiliencehubv2` extends `Resiliencehubv2Client` and additionally supports all operations, waiters, and paginators as methods.
94
+ This style may be familiar to you from the AWS SDK for JavaScript v2.
95
+
96
+ If you are bundling the AWS SDK, we recommend using only the bare-bones client (`Resiliencehubv2Client`).
97
+ More details are in the blog post on
98
+ [modular packages in AWS SDK for JavaScript](https://aws.amazon.com/blogs/developer/modular-packages-in-aws-sdk-for-javascript/).
99
+
100
+ ```ts
101
+ import { Resiliencehubv2 } from "@aws-sdk/client-resiliencehubv2";
102
+
103
+ const client = new Resiliencehubv2({ region: "REGION" });
104
+
105
+ // async/await.
106
+ try {
107
+ const data = await client.listReports(params);
108
+ // process data.
109
+ } catch (error) {
110
+ // error handling.
111
+ }
112
+
113
+ // Promises.
114
+ client
115
+ .listReports(params)
116
+ .then((data) => {
117
+ // process data.
118
+ })
119
+ .catch((error) => {
120
+ // error handling.
121
+ });
122
+
123
+ // callbacks (not recommended).
124
+ client.listReports(params, (err, data) => {
125
+ // process err and data.
126
+ });
127
+ ```
128
+
129
+ ### Troubleshooting
130
+
131
+ When the service returns an exception, the error will include the exception information,
132
+ as well as response metadata (e.g. request id).
133
+
134
+ ```js
135
+ try {
136
+ const data = await client.send(command);
137
+ // process data.
138
+ } catch (error) {
139
+ const { requestId, cfId, extendedRequestId } = error.$metadata;
140
+ console.log({ requestId, cfId, extendedRequestId });
141
+ /**
142
+ * The keys within exceptions are also parsed.
143
+ * You can access them by specifying exception names:
144
+ * if (error.name === 'SomeServiceException') {
145
+ * const value = error.specialKeyInException;
146
+ * }
147
+ */
148
+ }
149
+ ```
150
+
151
+ See also [docs/ERROR_HANDLING](https://github.com/aws/aws-sdk-js-v3/blob/main/supplemental-docs/ERROR_HANDLING.md).
152
+
153
+ ## Getting Help
154
+
155
+ Please use these community resources for getting help.
156
+ We use GitHub issues for tracking bugs and feature requests, but have limited bandwidth to address them.
157
+
158
+ - Visit the [Developer Guide](https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/welcome.html)
159
+ or [API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/index.html).
160
+ - Check out the blog posts tagged with [`aws-sdk-js`](https://aws.amazon.com/blogs/developer/tag/aws-sdk-js/)
161
+ on AWS Developer Blog.
162
+ - Ask a question on [StackOverflow](https://stackoverflow.com/questions/tagged/aws-sdk-js) and tag it with `aws-sdk-js`.
163
+ - Join the AWS JavaScript community on [gitter](https://gitter.im/aws/aws-sdk-js-v3).
164
+ - If it turns out that you may have found a bug, please [open an issue](https://github.com/aws/aws-sdk-js-v3/issues/new/choose).
165
+
166
+ To test your universal JavaScript code in Node.js, browser and react-native environments,
167
+ visit our [code samples repo](https://github.com/aws-samples/aws-sdk-js-tests).
168
+
169
+ ## Contributing
170
+
171
+ This client code is generated automatically. Any modifications will be overwritten the next time the `@aws-sdk/client-resiliencehubv2` package is updated.
172
+ To contribute to client you can check our [generate clients scripts](https://github.com/aws/aws-sdk-js-v3/tree/main/scripts/generate-clients).
173
+
174
+ ## License
175
+
176
+ This SDK is distributed under the
177
+ [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0),
178
+ see LICENSE for more information.
179
+
180
+ ## Client Commands (Operations List)
181
+
182
+ <details>
183
+ <summary>
184
+ CreateAssertion
185
+ </summary>
186
+
187
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/CreateAssertionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/CreateAssertionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/CreateAssertionCommandOutput/)
188
+ </details>
189
+ <details>
190
+ <summary>
191
+ CreateInputSource
192
+ </summary>
193
+
194
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/CreateInputSourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/CreateInputSourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/CreateInputSourceCommandOutput/)
195
+ </details>
196
+ <details>
197
+ <summary>
198
+ CreatePolicy
199
+ </summary>
200
+
201
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/CreatePolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/CreatePolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/CreatePolicyCommandOutput/)
202
+ </details>
203
+ <details>
204
+ <summary>
205
+ CreateReport
206
+ </summary>
207
+
208
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/CreateReportCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/CreateReportCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/CreateReportCommandOutput/)
209
+ </details>
210
+ <details>
211
+ <summary>
212
+ CreateService
213
+ </summary>
214
+
215
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/CreateServiceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/CreateServiceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/CreateServiceCommandOutput/)
216
+ </details>
217
+ <details>
218
+ <summary>
219
+ CreateServiceFunction
220
+ </summary>
221
+
222
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/CreateServiceFunctionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/CreateServiceFunctionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/CreateServiceFunctionCommandOutput/)
223
+ </details>
224
+ <details>
225
+ <summary>
226
+ CreateServiceFunctionResources
227
+ </summary>
228
+
229
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/CreateServiceFunctionResourcesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/CreateServiceFunctionResourcesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/CreateServiceFunctionResourcesCommandOutput/)
230
+ </details>
231
+ <details>
232
+ <summary>
233
+ CreateSystem
234
+ </summary>
235
+
236
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/CreateSystemCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/CreateSystemCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/CreateSystemCommandOutput/)
237
+ </details>
238
+ <details>
239
+ <summary>
240
+ CreateUserJourney
241
+ </summary>
242
+
243
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/CreateUserJourneyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/CreateUserJourneyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/CreateUserJourneyCommandOutput/)
244
+ </details>
245
+ <details>
246
+ <summary>
247
+ DeleteAssertion
248
+ </summary>
249
+
250
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/DeleteAssertionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/DeleteAssertionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/DeleteAssertionCommandOutput/)
251
+ </details>
252
+ <details>
253
+ <summary>
254
+ DeleteInputSource
255
+ </summary>
256
+
257
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/DeleteInputSourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/DeleteInputSourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/DeleteInputSourceCommandOutput/)
258
+ </details>
259
+ <details>
260
+ <summary>
261
+ DeletePolicy
262
+ </summary>
263
+
264
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/DeletePolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/DeletePolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/DeletePolicyCommandOutput/)
265
+ </details>
266
+ <details>
267
+ <summary>
268
+ DeleteService
269
+ </summary>
270
+
271
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/DeleteServiceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/DeleteServiceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/DeleteServiceCommandOutput/)
272
+ </details>
273
+ <details>
274
+ <summary>
275
+ DeleteServiceFunction
276
+ </summary>
277
+
278
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/DeleteServiceFunctionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/DeleteServiceFunctionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/DeleteServiceFunctionCommandOutput/)
279
+ </details>
280
+ <details>
281
+ <summary>
282
+ DeleteServiceFunctionResources
283
+ </summary>
284
+
285
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/DeleteServiceFunctionResourcesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/DeleteServiceFunctionResourcesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/DeleteServiceFunctionResourcesCommandOutput/)
286
+ </details>
287
+ <details>
288
+ <summary>
289
+ DeleteSystem
290
+ </summary>
291
+
292
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/DeleteSystemCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/DeleteSystemCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/DeleteSystemCommandOutput/)
293
+ </details>
294
+ <details>
295
+ <summary>
296
+ DeleteUserJourney
297
+ </summary>
298
+
299
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/DeleteUserJourneyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/DeleteUserJourneyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/DeleteUserJourneyCommandOutput/)
300
+ </details>
301
+ <details>
302
+ <summary>
303
+ GetFailureModeFinding
304
+ </summary>
305
+
306
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/GetFailureModeFindingCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/GetFailureModeFindingCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/GetFailureModeFindingCommandOutput/)
307
+ </details>
308
+ <details>
309
+ <summary>
310
+ GetPolicy
311
+ </summary>
312
+
313
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/GetPolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/GetPolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/GetPolicyCommandOutput/)
314
+ </details>
315
+ <details>
316
+ <summary>
317
+ GetService
318
+ </summary>
319
+
320
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/GetServiceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/GetServiceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/GetServiceCommandOutput/)
321
+ </details>
322
+ <details>
323
+ <summary>
324
+ GetSystem
325
+ </summary>
326
+
327
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/GetSystemCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/GetSystemCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/GetSystemCommandOutput/)
328
+ </details>
329
+ <details>
330
+ <summary>
331
+ GetUserJourney
332
+ </summary>
333
+
334
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/GetUserJourneyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/GetUserJourneyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/GetUserJourneyCommandOutput/)
335
+ </details>
336
+ <details>
337
+ <summary>
338
+ ImportApp
339
+ </summary>
340
+
341
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/ImportAppCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ImportAppCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ImportAppCommandOutput/)
342
+ </details>
343
+ <details>
344
+ <summary>
345
+ ImportPolicy
346
+ </summary>
347
+
348
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/ImportPolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ImportPolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ImportPolicyCommandOutput/)
349
+ </details>
350
+ <details>
351
+ <summary>
352
+ ListAssertions
353
+ </summary>
354
+
355
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/ListAssertionsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ListAssertionsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ListAssertionsCommandOutput/)
356
+ </details>
357
+ <details>
358
+ <summary>
359
+ ListDependencies
360
+ </summary>
361
+
362
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/ListDependenciesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ListDependenciesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ListDependenciesCommandOutput/)
363
+ </details>
364
+ <details>
365
+ <summary>
366
+ ListFailureModeAssessments
367
+ </summary>
368
+
369
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/ListFailureModeAssessmentsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ListFailureModeAssessmentsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ListFailureModeAssessmentsCommandOutput/)
370
+ </details>
371
+ <details>
372
+ <summary>
373
+ ListFailureModeFindings
374
+ </summary>
375
+
376
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/ListFailureModeFindingsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ListFailureModeFindingsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ListFailureModeFindingsCommandOutput/)
377
+ </details>
378
+ <details>
379
+ <summary>
380
+ ListInputSources
381
+ </summary>
382
+
383
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/ListInputSourcesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ListInputSourcesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ListInputSourcesCommandOutput/)
384
+ </details>
385
+ <details>
386
+ <summary>
387
+ ListPolicies
388
+ </summary>
389
+
390
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/ListPoliciesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ListPoliciesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ListPoliciesCommandOutput/)
391
+ </details>
392
+ <details>
393
+ <summary>
394
+ ListReports
395
+ </summary>
396
+
397
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/ListReportsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ListReportsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ListReportsCommandOutput/)
398
+ </details>
399
+ <details>
400
+ <summary>
401
+ ListResources
402
+ </summary>
403
+
404
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/ListResourcesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ListResourcesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ListResourcesCommandOutput/)
405
+ </details>
406
+ <details>
407
+ <summary>
408
+ ListServiceEvents
409
+ </summary>
410
+
411
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/ListServiceEventsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ListServiceEventsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ListServiceEventsCommandOutput/)
412
+ </details>
413
+ <details>
414
+ <summary>
415
+ ListServiceFunctions
416
+ </summary>
417
+
418
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/ListServiceFunctionsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ListServiceFunctionsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ListServiceFunctionsCommandOutput/)
419
+ </details>
420
+ <details>
421
+ <summary>
422
+ ListServices
423
+ </summary>
424
+
425
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/ListServicesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ListServicesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ListServicesCommandOutput/)
426
+ </details>
427
+ <details>
428
+ <summary>
429
+ ListServiceTopologyEdges
430
+ </summary>
431
+
432
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/ListServiceTopologyEdgesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ListServiceTopologyEdgesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ListServiceTopologyEdgesCommandOutput/)
433
+ </details>
434
+ <details>
435
+ <summary>
436
+ ListSystemEvents
437
+ </summary>
438
+
439
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/ListSystemEventsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ListSystemEventsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ListSystemEventsCommandOutput/)
440
+ </details>
441
+ <details>
442
+ <summary>
443
+ ListSystems
444
+ </summary>
445
+
446
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/ListSystemsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ListSystemsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ListSystemsCommandOutput/)
447
+ </details>
448
+ <details>
449
+ <summary>
450
+ ListTagsForResource
451
+ </summary>
452
+
453
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/ListTagsForResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ListTagsForResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ListTagsForResourceCommandOutput/)
454
+ </details>
455
+ <details>
456
+ <summary>
457
+ ListUserJourneys
458
+ </summary>
459
+
460
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/ListUserJourneysCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ListUserJourneysCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ListUserJourneysCommandOutput/)
461
+ </details>
462
+ <details>
463
+ <summary>
464
+ StartFailureModeAssessment
465
+ </summary>
466
+
467
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/StartFailureModeAssessmentCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/StartFailureModeAssessmentCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/StartFailureModeAssessmentCommandOutput/)
468
+ </details>
469
+ <details>
470
+ <summary>
471
+ TagResource
472
+ </summary>
473
+
474
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/TagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/TagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/TagResourceCommandOutput/)
475
+ </details>
476
+ <details>
477
+ <summary>
478
+ UntagResource
479
+ </summary>
480
+
481
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/UntagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/UntagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/UntagResourceCommandOutput/)
482
+ </details>
483
+ <details>
484
+ <summary>
485
+ UpdateAssertion
486
+ </summary>
487
+
488
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/UpdateAssertionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/UpdateAssertionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/UpdateAssertionCommandOutput/)
489
+ </details>
490
+ <details>
491
+ <summary>
492
+ UpdateDependency
493
+ </summary>
494
+
495
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/UpdateDependencyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/UpdateDependencyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/UpdateDependencyCommandOutput/)
496
+ </details>
497
+ <details>
498
+ <summary>
499
+ UpdateFailureModeFinding
500
+ </summary>
501
+
502
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/UpdateFailureModeFindingCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/UpdateFailureModeFindingCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/UpdateFailureModeFindingCommandOutput/)
503
+ </details>
504
+ <details>
505
+ <summary>
506
+ UpdatePolicy
507
+ </summary>
508
+
509
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/UpdatePolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/UpdatePolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/UpdatePolicyCommandOutput/)
510
+ </details>
511
+ <details>
512
+ <summary>
513
+ UpdateService
514
+ </summary>
515
+
516
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/UpdateServiceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/UpdateServiceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/UpdateServiceCommandOutput/)
517
+ </details>
518
+ <details>
519
+ <summary>
520
+ UpdateServiceFunction
521
+ </summary>
522
+
523
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/UpdateServiceFunctionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/UpdateServiceFunctionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/UpdateServiceFunctionCommandOutput/)
524
+ </details>
525
+ <details>
526
+ <summary>
527
+ UpdateSystem
528
+ </summary>
529
+
530
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/UpdateSystemCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/UpdateSystemCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/UpdateSystemCommandOutput/)
531
+ </details>
532
+ <details>
533
+ <summary>
534
+ UpdateUserJourney
535
+ </summary>
536
+
537
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/UpdateUserJourneyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/UpdateUserJourneyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/UpdateUserJourneyCommandOutput/)
538
+ </details>
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.resolveHttpAuthSchemeConfig = exports.defaultResiliencehubv2HttpAuthSchemeProvider = exports.defaultResiliencehubv2HttpAuthSchemeParametersProvider = void 0;
4
+ const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
5
+ const client_1 = require("@smithy/core/client");
6
+ const defaultResiliencehubv2HttpAuthSchemeParametersProvider = async (config, context, input) => {
7
+ return {
8
+ operation: (0, client_1.getSmithyContext)(context).operation,
9
+ region: await (0, client_1.normalizeProvider)(config.region)() || (() => {
10
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
11
+ })(),
12
+ };
13
+ };
14
+ exports.defaultResiliencehubv2HttpAuthSchemeParametersProvider = defaultResiliencehubv2HttpAuthSchemeParametersProvider;
15
+ function createAwsAuthSigv4HttpAuthOption(authParameters) {
16
+ return {
17
+ schemeId: "aws.auth#sigv4",
18
+ signingProperties: {
19
+ name: "resiliencehub",
20
+ region: authParameters.region,
21
+ },
22
+ propertiesExtractor: (config, context) => ({
23
+ signingProperties: {
24
+ config,
25
+ context,
26
+ },
27
+ }),
28
+ };
29
+ }
30
+ const defaultResiliencehubv2HttpAuthSchemeProvider = (authParameters) => {
31
+ const options = [];
32
+ switch (authParameters.operation) {
33
+ default: {
34
+ options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
35
+ }
36
+ }
37
+ return options;
38
+ };
39
+ exports.defaultResiliencehubv2HttpAuthSchemeProvider = defaultResiliencehubv2HttpAuthSchemeProvider;
40
+ const resolveHttpAuthSchemeConfig = (config) => {
41
+ const config_0 = (0, httpAuthSchemes_1.resolveAwsSdkSigV4Config)(config);
42
+ return Object.assign(config_0, {
43
+ authSchemePreference: (0, client_1.normalizeProvider)(config.authSchemePreference ?? []),
44
+ });
45
+ };
46
+ exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.bdd = void 0;
4
+ const endpoints_1 = require("@smithy/core/endpoints");
5
+ const k = "ref";
6
+ const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
7
+ const _data = {
8
+ conditions: [
9
+ [c, [g]],
10
+ [c, j],
11
+ ["aws.partition", j, d],
12
+ [e, [{ [k]: "UseFIPS" }, b]],
13
+ [e, [{ [k]: "UseDualStack" }, b]],
14
+ [e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
15
+ [e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]]
16
+ ],
17
+ results: [
18
+ [a],
19
+ [a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
20
+ [a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
21
+ [g, i],
22
+ ["https://resiliencehub-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
23
+ [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
24
+ ["https://resiliencehub-fips.{Region}.{PartitionResult#dnsSuffix}", i],
25
+ [a, "FIPS is enabled but this partition does not support FIPS"],
26
+ ["https://resiliencehub.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
27
+ [a, "DualStack is enabled but this partition does not support DualStack"],
28
+ ["https://resiliencehub.{Region}.{PartitionResult#dnsSuffix}", i],
29
+ [a, "Invalid Configuration: Missing Region"]
30
+ ]
31
+ };
32
+ const root = 2;
33
+ const r = 100_000_000;
34
+ const nodes = new Int32Array([
35
+ -1, 1, -1,
36
+ 0, 12, 3,
37
+ 1, 4, r + 11,
38
+ 2, 5, r + 11,
39
+ 3, 8, 6,
40
+ 4, 7, r + 10,
41
+ 5, r + 8, r + 9,
42
+ 4, 10, 9,
43
+ 6, r + 6, r + 7,
44
+ 5, 11, r + 5,
45
+ 6, r + 4, r + 5,
46
+ 3, r + 1, 13,
47
+ 4, r + 2, r + 3,
48
+ ]);
49
+ exports.bdd = endpoints_1.BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);