@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
@@ -0,0 +1,93 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
4
+ import type { Resiliencehubv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Resiliencehubv2Client";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListTagsForResourceCommand}.
14
+ */
15
+ export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListTagsForResourceCommand}.
21
+ */
22
+ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
23
+ }
24
+ declare const ListTagsForResourceCommand_base: {
25
+ new (input: ListTagsForResourceCommandInput): import("@smithy/core/client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, Resiliencehubv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListTagsForResourceCommandInput): import("@smithy/core/client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, Resiliencehubv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * <p>Lists the tags for a resource.</p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { Resiliencehubv2Client, ListTagsForResourceCommand } from "@aws-sdk/client-resiliencehubv2"; // ES Modules import
37
+ * // const { Resiliencehubv2Client, ListTagsForResourceCommand } = require("@aws-sdk/client-resiliencehubv2"); // CommonJS import
38
+ * // import type { Resiliencehubv2ClientConfig } from "@aws-sdk/client-resiliencehubv2";
39
+ * const config = {}; // type is Resiliencehubv2ClientConfig
40
+ * const client = new Resiliencehubv2Client(config);
41
+ * const input = { // ListTagsForResourceRequest
42
+ * resourceArn: "STRING_VALUE", // required
43
+ * };
44
+ * const command = new ListTagsForResourceCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // ListTagsForResourceResponse
47
+ * // tags: { // TagMap
48
+ * // "<keys>": "STRING_VALUE",
49
+ * // },
50
+ * // };
51
+ *
52
+ * ```
53
+ *
54
+ * @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
55
+ * @returns {@link ListTagsForResourceCommandOutput}
56
+ * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
57
+ * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
58
+ * @see {@link Resiliencehubv2ClientResolvedConfig | config} for Resiliencehubv2Client's `config` shape.
59
+ *
60
+ * @throws {@link AccessDeniedException} (client fault)
61
+ * <p>Access denied — caller lacks required permissions.</p>
62
+ *
63
+ * @throws {@link InternalServerException} (server fault)
64
+ * <p>Internal service error.</p>
65
+ *
66
+ * @throws {@link ResourceNotFoundException} (client fault)
67
+ * <p>Resource not found.</p>
68
+ *
69
+ * @throws {@link ThrottlingException} (client fault)
70
+ * <p>Too many requests — rate limit exceeded.</p>
71
+ *
72
+ * @throws {@link ValidationException} (client fault)
73
+ * <p>Validation error — invalid input parameters.</p>
74
+ *
75
+ * @throws {@link Resiliencehubv2ServiceException}
76
+ * <p>Base exception class for all service exceptions from Resiliencehubv2 service.</p>
77
+ *
78
+ *
79
+ * @public
80
+ */
81
+ export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
82
+ /** @internal type navigation helper, not in runtime. */
83
+ protected static __types: {
84
+ api: {
85
+ input: ListTagsForResourceRequest;
86
+ output: ListTagsForResourceResponse;
87
+ };
88
+ sdk: {
89
+ input: ListTagsForResourceCommandInput;
90
+ output: ListTagsForResourceCommandOutput;
91
+ };
92
+ };
93
+ }
@@ -0,0 +1,98 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { ListUserJourneysRequest, ListUserJourneysResponse } from "../models/models_0";
4
+ import type { Resiliencehubv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Resiliencehubv2Client";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListUserJourneysCommand}.
14
+ */
15
+ export interface ListUserJourneysCommandInput extends ListUserJourneysRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListUserJourneysCommand}.
21
+ */
22
+ export interface ListUserJourneysCommandOutput extends ListUserJourneysResponse, __MetadataBearer {
23
+ }
24
+ declare const ListUserJourneysCommand_base: {
25
+ new (input: ListUserJourneysCommandInput): import("@smithy/core/client").CommandImpl<ListUserJourneysCommandInput, ListUserJourneysCommandOutput, Resiliencehubv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListUserJourneysCommandInput): import("@smithy/core/client").CommandImpl<ListUserJourneysCommandInput, ListUserJourneysCommandOutput, Resiliencehubv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * <p>Lists user journeys for a system.</p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { Resiliencehubv2Client, ListUserJourneysCommand } from "@aws-sdk/client-resiliencehubv2"; // ES Modules import
37
+ * // const { Resiliencehubv2Client, ListUserJourneysCommand } = require("@aws-sdk/client-resiliencehubv2"); // CommonJS import
38
+ * // import type { Resiliencehubv2ClientConfig } from "@aws-sdk/client-resiliencehubv2";
39
+ * const config = {}; // type is Resiliencehubv2ClientConfig
40
+ * const client = new Resiliencehubv2Client(config);
41
+ * const input = { // ListUserJourneysRequest
42
+ * systemArn: "STRING_VALUE", // required
43
+ * maxResults: Number("int"),
44
+ * nextToken: "STRING_VALUE",
45
+ * };
46
+ * const command = new ListUserJourneysCommand(input);
47
+ * const response = await client.send(command);
48
+ * // { // ListUserJourneysResponse
49
+ * // userJourneySummaries: [ // UserJourneySummaryList // required
50
+ * // { // UserJourneySummary
51
+ * // userJourneyId: "STRING_VALUE", // required
52
+ * // name: "STRING_VALUE", // required
53
+ * // createdAt: new Date("TIMESTAMP"),
54
+ * // updatedAt: new Date("TIMESTAMP"),
55
+ * // },
56
+ * // ],
57
+ * // nextToken: "STRING_VALUE",
58
+ * // };
59
+ *
60
+ * ```
61
+ *
62
+ * @param ListUserJourneysCommandInput - {@link ListUserJourneysCommandInput}
63
+ * @returns {@link ListUserJourneysCommandOutput}
64
+ * @see {@link ListUserJourneysCommandInput} for command's `input` shape.
65
+ * @see {@link ListUserJourneysCommandOutput} for command's `response` shape.
66
+ * @see {@link Resiliencehubv2ClientResolvedConfig | config} for Resiliencehubv2Client's `config` shape.
67
+ *
68
+ * @throws {@link AccessDeniedException} (client fault)
69
+ * <p>Access denied — caller lacks required permissions.</p>
70
+ *
71
+ * @throws {@link InternalServerException} (server fault)
72
+ * <p>Internal service error.</p>
73
+ *
74
+ * @throws {@link ResourceNotFoundException} (client fault)
75
+ * <p>Resource not found.</p>
76
+ *
77
+ * @throws {@link ValidationException} (client fault)
78
+ * <p>Validation error — invalid input parameters.</p>
79
+ *
80
+ * @throws {@link Resiliencehubv2ServiceException}
81
+ * <p>Base exception class for all service exceptions from Resiliencehubv2 service.</p>
82
+ *
83
+ *
84
+ * @public
85
+ */
86
+ export declare class ListUserJourneysCommand extends ListUserJourneysCommand_base {
87
+ /** @internal type navigation helper, not in runtime. */
88
+ protected static __types: {
89
+ api: {
90
+ input: ListUserJourneysRequest;
91
+ output: ListUserJourneysResponse;
92
+ };
93
+ sdk: {
94
+ input: ListUserJourneysCommandInput;
95
+ output: ListUserJourneysCommandOutput;
96
+ };
97
+ };
98
+ }
@@ -0,0 +1,98 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { StartFailureModeAssessmentRequest, StartFailureModeAssessmentResponse } from "../models/models_0";
4
+ import type { Resiliencehubv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Resiliencehubv2Client";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link StartFailureModeAssessmentCommand}.
14
+ */
15
+ export interface StartFailureModeAssessmentCommandInput extends StartFailureModeAssessmentRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link StartFailureModeAssessmentCommand}.
21
+ */
22
+ export interface StartFailureModeAssessmentCommandOutput extends StartFailureModeAssessmentResponse, __MetadataBearer {
23
+ }
24
+ declare const StartFailureModeAssessmentCommand_base: {
25
+ new (input: StartFailureModeAssessmentCommandInput): import("@smithy/core/client").CommandImpl<StartFailureModeAssessmentCommandInput, StartFailureModeAssessmentCommandOutput, Resiliencehubv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: StartFailureModeAssessmentCommandInput): import("@smithy/core/client").CommandImpl<StartFailureModeAssessmentCommandInput, StartFailureModeAssessmentCommandOutput, Resiliencehubv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * <p>Start a failure mode assessment.</p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { Resiliencehubv2Client, StartFailureModeAssessmentCommand } from "@aws-sdk/client-resiliencehubv2"; // ES Modules import
37
+ * // const { Resiliencehubv2Client, StartFailureModeAssessmentCommand } = require("@aws-sdk/client-resiliencehubv2"); // CommonJS import
38
+ * // import type { Resiliencehubv2ClientConfig } from "@aws-sdk/client-resiliencehubv2";
39
+ * const config = {}; // type is Resiliencehubv2ClientConfig
40
+ * const client = new Resiliencehubv2Client(config);
41
+ * const input = { // StartFailureModeAssessmentRequest
42
+ * serviceArn: "STRING_VALUE", // required
43
+ * clientToken: "STRING_VALUE",
44
+ * };
45
+ * const command = new StartFailureModeAssessmentCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // StartFailureModeAssessmentResponse
48
+ * // assessmentId: "STRING_VALUE",
49
+ * // serviceArn: "STRING_VALUE",
50
+ * // assessmentStatus: "NOT_STARTED" || "PENDING" || "IN_PROGRESS" || "FAILED" || "SUCCESS",
51
+ * // startedAt: new Date("TIMESTAMP"),
52
+ * // };
53
+ *
54
+ * ```
55
+ *
56
+ * @param StartFailureModeAssessmentCommandInput - {@link StartFailureModeAssessmentCommandInput}
57
+ * @returns {@link StartFailureModeAssessmentCommandOutput}
58
+ * @see {@link StartFailureModeAssessmentCommandInput} for command's `input` shape.
59
+ * @see {@link StartFailureModeAssessmentCommandOutput} for command's `response` shape.
60
+ * @see {@link Resiliencehubv2ClientResolvedConfig | config} for Resiliencehubv2Client's `config` shape.
61
+ *
62
+ * @throws {@link AccessDeniedException} (client fault)
63
+ * <p>Access denied — caller lacks required permissions.</p>
64
+ *
65
+ * @throws {@link ConflictException} (client fault)
66
+ * <p>Conflict — resource already exists.</p>
67
+ *
68
+ * @throws {@link InternalServerException} (server fault)
69
+ * <p>Internal service error.</p>
70
+ *
71
+ * @throws {@link ResourceNotFoundException} (client fault)
72
+ * <p>Resource not found.</p>
73
+ *
74
+ * @throws {@link ThrottlingException} (client fault)
75
+ * <p>Too many requests — rate limit exceeded.</p>
76
+ *
77
+ * @throws {@link ValidationException} (client fault)
78
+ * <p>Validation error — invalid input parameters.</p>
79
+ *
80
+ * @throws {@link Resiliencehubv2ServiceException}
81
+ * <p>Base exception class for all service exceptions from Resiliencehubv2 service.</p>
82
+ *
83
+ *
84
+ * @public
85
+ */
86
+ export declare class StartFailureModeAssessmentCommand extends StartFailureModeAssessmentCommand_base {
87
+ /** @internal type navigation helper, not in runtime. */
88
+ protected static __types: {
89
+ api: {
90
+ input: StartFailureModeAssessmentRequest;
91
+ output: StartFailureModeAssessmentResponse;
92
+ };
93
+ sdk: {
94
+ input: StartFailureModeAssessmentCommandInput;
95
+ output: StartFailureModeAssessmentCommandOutput;
96
+ };
97
+ };
98
+ }
@@ -0,0 +1,92 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { TagResourceRequest, TagResourceResponse } from "../models/models_0";
4
+ import type { Resiliencehubv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Resiliencehubv2Client";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link TagResourceCommand}.
14
+ */
15
+ export interface TagResourceCommandInput extends TagResourceRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link TagResourceCommand}.
21
+ */
22
+ export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
23
+ }
24
+ declare const TagResourceCommand_base: {
25
+ new (input: TagResourceCommandInput): import("@smithy/core/client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, Resiliencehubv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: TagResourceCommandInput): import("@smithy/core/client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, Resiliencehubv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * <p>Adds tags to a resource.</p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { Resiliencehubv2Client, TagResourceCommand } from "@aws-sdk/client-resiliencehubv2"; // ES Modules import
37
+ * // const { Resiliencehubv2Client, TagResourceCommand } = require("@aws-sdk/client-resiliencehubv2"); // CommonJS import
38
+ * // import type { Resiliencehubv2ClientConfig } from "@aws-sdk/client-resiliencehubv2";
39
+ * const config = {}; // type is Resiliencehubv2ClientConfig
40
+ * const client = new Resiliencehubv2Client(config);
41
+ * const input = { // TagResourceRequest
42
+ * resourceArn: "STRING_VALUE", // required
43
+ * tags: { // TagMap // required
44
+ * "<keys>": "STRING_VALUE",
45
+ * },
46
+ * };
47
+ * const command = new TagResourceCommand(input);
48
+ * const response = await client.send(command);
49
+ * // {};
50
+ *
51
+ * ```
52
+ *
53
+ * @param TagResourceCommandInput - {@link TagResourceCommandInput}
54
+ * @returns {@link TagResourceCommandOutput}
55
+ * @see {@link TagResourceCommandInput} for command's `input` shape.
56
+ * @see {@link TagResourceCommandOutput} for command's `response` shape.
57
+ * @see {@link Resiliencehubv2ClientResolvedConfig | config} for Resiliencehubv2Client's `config` shape.
58
+ *
59
+ * @throws {@link AccessDeniedException} (client fault)
60
+ * <p>Access denied — caller lacks required permissions.</p>
61
+ *
62
+ * @throws {@link InternalServerException} (server fault)
63
+ * <p>Internal service error.</p>
64
+ *
65
+ * @throws {@link ResourceNotFoundException} (client fault)
66
+ * <p>Resource not found.</p>
67
+ *
68
+ * @throws {@link ThrottlingException} (client fault)
69
+ * <p>Too many requests — rate limit exceeded.</p>
70
+ *
71
+ * @throws {@link ValidationException} (client fault)
72
+ * <p>Validation error — invalid input parameters.</p>
73
+ *
74
+ * @throws {@link Resiliencehubv2ServiceException}
75
+ * <p>Base exception class for all service exceptions from Resiliencehubv2 service.</p>
76
+ *
77
+ *
78
+ * @public
79
+ */
80
+ export declare class TagResourceCommand extends TagResourceCommand_base {
81
+ /** @internal type navigation helper, not in runtime. */
82
+ protected static __types: {
83
+ api: {
84
+ input: TagResourceRequest;
85
+ output: {};
86
+ };
87
+ sdk: {
88
+ input: TagResourceCommandInput;
89
+ output: TagResourceCommandOutput;
90
+ };
91
+ };
92
+ }
@@ -0,0 +1,92 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
4
+ import type { Resiliencehubv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Resiliencehubv2Client";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UntagResourceCommand}.
14
+ */
15
+ export interface UntagResourceCommandInput extends UntagResourceRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UntagResourceCommand}.
21
+ */
22
+ export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
23
+ }
24
+ declare const UntagResourceCommand_base: {
25
+ new (input: UntagResourceCommandInput): import("@smithy/core/client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, Resiliencehubv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UntagResourceCommandInput): import("@smithy/core/client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, Resiliencehubv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * <p>Removes tags from a resource.</p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { Resiliencehubv2Client, UntagResourceCommand } from "@aws-sdk/client-resiliencehubv2"; // ES Modules import
37
+ * // const { Resiliencehubv2Client, UntagResourceCommand } = require("@aws-sdk/client-resiliencehubv2"); // CommonJS import
38
+ * // import type { Resiliencehubv2ClientConfig } from "@aws-sdk/client-resiliencehubv2";
39
+ * const config = {}; // type is Resiliencehubv2ClientConfig
40
+ * const client = new Resiliencehubv2Client(config);
41
+ * const input = { // UntagResourceRequest
42
+ * resourceArn: "STRING_VALUE", // required
43
+ * tagKeys: [ // TagKeyList // required
44
+ * "STRING_VALUE",
45
+ * ],
46
+ * };
47
+ * const command = new UntagResourceCommand(input);
48
+ * const response = await client.send(command);
49
+ * // {};
50
+ *
51
+ * ```
52
+ *
53
+ * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
54
+ * @returns {@link UntagResourceCommandOutput}
55
+ * @see {@link UntagResourceCommandInput} for command's `input` shape.
56
+ * @see {@link UntagResourceCommandOutput} for command's `response` shape.
57
+ * @see {@link Resiliencehubv2ClientResolvedConfig | config} for Resiliencehubv2Client's `config` shape.
58
+ *
59
+ * @throws {@link AccessDeniedException} (client fault)
60
+ * <p>Access denied — caller lacks required permissions.</p>
61
+ *
62
+ * @throws {@link InternalServerException} (server fault)
63
+ * <p>Internal service error.</p>
64
+ *
65
+ * @throws {@link ResourceNotFoundException} (client fault)
66
+ * <p>Resource not found.</p>
67
+ *
68
+ * @throws {@link ThrottlingException} (client fault)
69
+ * <p>Too many requests — rate limit exceeded.</p>
70
+ *
71
+ * @throws {@link ValidationException} (client fault)
72
+ * <p>Validation error — invalid input parameters.</p>
73
+ *
74
+ * @throws {@link Resiliencehubv2ServiceException}
75
+ * <p>Base exception class for all service exceptions from Resiliencehubv2 service.</p>
76
+ *
77
+ *
78
+ * @public
79
+ */
80
+ export declare class UntagResourceCommand extends UntagResourceCommand_base {
81
+ /** @internal type navigation helper, not in runtime. */
82
+ protected static __types: {
83
+ api: {
84
+ input: UntagResourceRequest;
85
+ output: {};
86
+ };
87
+ sdk: {
88
+ input: UntagResourceCommandInput;
89
+ output: UntagResourceCommandOutput;
90
+ };
91
+ };
92
+ }
@@ -0,0 +1,100 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { UpdateAssertionRequest, UpdateAssertionResponse } from "../models/models_0";
4
+ import type { Resiliencehubv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Resiliencehubv2Client";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateAssertionCommand}.
14
+ */
15
+ export interface UpdateAssertionCommandInput extends UpdateAssertionRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateAssertionCommand}.
21
+ */
22
+ export interface UpdateAssertionCommandOutput extends UpdateAssertionResponse, __MetadataBearer {
23
+ }
24
+ declare const UpdateAssertionCommand_base: {
25
+ new (input: UpdateAssertionCommandInput): import("@smithy/core/client").CommandImpl<UpdateAssertionCommandInput, UpdateAssertionCommandOutput, Resiliencehubv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UpdateAssertionCommandInput): import("@smithy/core/client").CommandImpl<UpdateAssertionCommandInput, UpdateAssertionCommandOutput, Resiliencehubv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * <p>Updates a resilience assertion.</p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { Resiliencehubv2Client, UpdateAssertionCommand } from "@aws-sdk/client-resiliencehubv2"; // ES Modules import
37
+ * // const { Resiliencehubv2Client, UpdateAssertionCommand } = require("@aws-sdk/client-resiliencehubv2"); // CommonJS import
38
+ * // import type { Resiliencehubv2ClientConfig } from "@aws-sdk/client-resiliencehubv2";
39
+ * const config = {}; // type is Resiliencehubv2ClientConfig
40
+ * const client = new Resiliencehubv2Client(config);
41
+ * const input = { // UpdateAssertionRequest
42
+ * serviceArn: "STRING_VALUE", // required
43
+ * assertionId: "STRING_VALUE", // required
44
+ * text: "STRING_VALUE",
45
+ * };
46
+ * const command = new UpdateAssertionCommand(input);
47
+ * const response = await client.send(command);
48
+ * // { // UpdateAssertionResponse
49
+ * // assertion: { // Assertion
50
+ * // serviceArn: "STRING_VALUE", // required
51
+ * // assertionId: "STRING_VALUE", // required
52
+ * // text: "STRING_VALUE", // required
53
+ * // source: "AI_GENERATED" || "USER", // required
54
+ * // createdAt: new Date("TIMESTAMP"),
55
+ * // updatedAt: new Date("TIMESTAMP"),
56
+ * // },
57
+ * // };
58
+ *
59
+ * ```
60
+ *
61
+ * @param UpdateAssertionCommandInput - {@link UpdateAssertionCommandInput}
62
+ * @returns {@link UpdateAssertionCommandOutput}
63
+ * @see {@link UpdateAssertionCommandInput} for command's `input` shape.
64
+ * @see {@link UpdateAssertionCommandOutput} for command's `response` shape.
65
+ * @see {@link Resiliencehubv2ClientResolvedConfig | config} for Resiliencehubv2Client's `config` shape.
66
+ *
67
+ * @throws {@link AccessDeniedException} (client fault)
68
+ * <p>Access denied — caller lacks required permissions.</p>
69
+ *
70
+ * @throws {@link ConflictException} (client fault)
71
+ * <p>Conflict — resource already exists.</p>
72
+ *
73
+ * @throws {@link InternalServerException} (server fault)
74
+ * <p>Internal service error.</p>
75
+ *
76
+ * @throws {@link ResourceNotFoundException} (client fault)
77
+ * <p>Resource not found.</p>
78
+ *
79
+ * @throws {@link ValidationException} (client fault)
80
+ * <p>Validation error — invalid input parameters.</p>
81
+ *
82
+ * @throws {@link Resiliencehubv2ServiceException}
83
+ * <p>Base exception class for all service exceptions from Resiliencehubv2 service.</p>
84
+ *
85
+ *
86
+ * @public
87
+ */
88
+ export declare class UpdateAssertionCommand extends UpdateAssertionCommand_base {
89
+ /** @internal type navigation helper, not in runtime. */
90
+ protected static __types: {
91
+ api: {
92
+ input: UpdateAssertionRequest;
93
+ output: UpdateAssertionResponse;
94
+ };
95
+ sdk: {
96
+ input: UpdateAssertionCommandInput;
97
+ output: UpdateAssertionCommandOutput;
98
+ };
99
+ };
100
+ }
@@ -0,0 +1,100 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { UpdateDependencyRequest, UpdateDependencyResponse } from "../models/models_0";
4
+ import type { Resiliencehubv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Resiliencehubv2Client";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateDependencyCommand}.
14
+ */
15
+ export interface UpdateDependencyCommandInput extends UpdateDependencyRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateDependencyCommand}.
21
+ */
22
+ export interface UpdateDependencyCommandOutput extends UpdateDependencyResponse, __MetadataBearer {
23
+ }
24
+ declare const UpdateDependencyCommand_base: {
25
+ new (input: UpdateDependencyCommandInput): import("@smithy/core/client").CommandImpl<UpdateDependencyCommandInput, UpdateDependencyCommandOutput, Resiliencehubv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UpdateDependencyCommandInput): import("@smithy/core/client").CommandImpl<UpdateDependencyCommandInput, UpdateDependencyCommandOutput, Resiliencehubv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * <p>Updates a dependency classification.</p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { Resiliencehubv2Client, UpdateDependencyCommand } from "@aws-sdk/client-resiliencehubv2"; // ES Modules import
37
+ * // const { Resiliencehubv2Client, UpdateDependencyCommand } = require("@aws-sdk/client-resiliencehubv2"); // CommonJS import
38
+ * // import type { Resiliencehubv2ClientConfig } from "@aws-sdk/client-resiliencehubv2";
39
+ * const config = {}; // type is Resiliencehubv2ClientConfig
40
+ * const client = new Resiliencehubv2Client(config);
41
+ * const input = { // UpdateDependencyRequest
42
+ * serviceArn: "STRING_VALUE", // required
43
+ * dependencyId: "STRING_VALUE", // required
44
+ * criticality: "HARD" || "SOFT" || "UNKNOWN",
45
+ * comment: "STRING_VALUE",
46
+ * };
47
+ * const command = new UpdateDependencyCommand(input);
48
+ * const response = await client.send(command);
49
+ * // { // UpdateDependencyResponse
50
+ * // dependencyId: "STRING_VALUE", // required
51
+ * // dependencyName: "STRING_VALUE", // required
52
+ * // location: "STRING_VALUE", // required
53
+ * // criticality: "HARD" || "SOFT" || "UNKNOWN", // required
54
+ * // comment: "STRING_VALUE",
55
+ * // provider: "STRING_VALUE",
56
+ * // updatedAt: new Date("TIMESTAMP"), // required
57
+ * // };
58
+ *
59
+ * ```
60
+ *
61
+ * @param UpdateDependencyCommandInput - {@link UpdateDependencyCommandInput}
62
+ * @returns {@link UpdateDependencyCommandOutput}
63
+ * @see {@link UpdateDependencyCommandInput} for command's `input` shape.
64
+ * @see {@link UpdateDependencyCommandOutput} for command's `response` shape.
65
+ * @see {@link Resiliencehubv2ClientResolvedConfig | config} for Resiliencehubv2Client's `config` shape.
66
+ *
67
+ * @throws {@link AccessDeniedException} (client fault)
68
+ * <p>Access denied — caller lacks required permissions.</p>
69
+ *
70
+ * @throws {@link ConflictException} (client fault)
71
+ * <p>Conflict — resource already exists.</p>
72
+ *
73
+ * @throws {@link InternalServerException} (server fault)
74
+ * <p>Internal service error.</p>
75
+ *
76
+ * @throws {@link ResourceNotFoundException} (client fault)
77
+ * <p>Resource not found.</p>
78
+ *
79
+ * @throws {@link ValidationException} (client fault)
80
+ * <p>Validation error — invalid input parameters.</p>
81
+ *
82
+ * @throws {@link Resiliencehubv2ServiceException}
83
+ * <p>Base exception class for all service exceptions from Resiliencehubv2 service.</p>
84
+ *
85
+ *
86
+ * @public
87
+ */
88
+ export declare class UpdateDependencyCommand extends UpdateDependencyCommand_base {
89
+ /** @internal type navigation helper, not in runtime. */
90
+ protected static __types: {
91
+ api: {
92
+ input: UpdateDependencyRequest;
93
+ output: UpdateDependencyResponse;
94
+ };
95
+ sdk: {
96
+ input: UpdateDependencyCommandInput;
97
+ output: UpdateDependencyCommandOutput;
98
+ };
99
+ };
100
+ }