@aws-sdk/client-cloudwatchomni 3.1138.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 (301) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +611 -0
  3. package/dist-cjs/index.js +3006 -0
  4. package/dist-es/CloudWatchOmni.js +161 -0
  5. package/dist-es/CloudWatchOmniClient.js +47 -0
  6. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  7. package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
  8. package/dist-es/commandBuilder.js +6 -0
  9. package/dist-es/commands/CreateAccessGrantCommand.js +4 -0
  10. package/dist-es/commands/CreateAccessProfileCommand.js +4 -0
  11. package/dist-es/commands/CreateAlertCommand.js +4 -0
  12. package/dist-es/commands/CreateDomainAccessGrantForOrganizationCommand.js +4 -0
  13. package/dist-es/commands/CreateDomainCommand.js +4 -0
  14. package/dist-es/commands/CreateDomainForOrganizationCommand.js +4 -0
  15. package/dist-es/commands/CreateIntegrationCommand.js +4 -0
  16. package/dist-es/commands/CreateOmniDashboardCommand.js +4 -0
  17. package/dist-es/commands/CreateOneTimeDeepLinkCodeCommand.js +4 -0
  18. package/dist-es/commands/CreateSpaceCommand.js +4 -0
  19. package/dist-es/commands/CreateViewCommand.js +4 -0
  20. package/dist-es/commands/DeleteAccessGrantCommand.js +4 -0
  21. package/dist-es/commands/DeleteAccessProfileCommand.js +4 -0
  22. package/dist-es/commands/DeleteAlertCommand.js +4 -0
  23. package/dist-es/commands/DeleteDomainAccessGrantForOrganizationCommand.js +4 -0
  24. package/dist-es/commands/DeleteDomainCommand.js +4 -0
  25. package/dist-es/commands/DeleteDomainForOrganizationCommand.js +4 -0
  26. package/dist-es/commands/DeleteIntegrationCommand.js +4 -0
  27. package/dist-es/commands/DeleteOmniDashboardCommand.js +4 -0
  28. package/dist-es/commands/DeleteSpaceCommand.js +4 -0
  29. package/dist-es/commands/DeleteViewCommand.js +4 -0
  30. package/dist-es/commands/GetAccessGrantCommand.js +4 -0
  31. package/dist-es/commands/GetAccessProfileCommand.js +4 -0
  32. package/dist-es/commands/GetAlertCommand.js +4 -0
  33. package/dist-es/commands/GetContextGraphCommand.js +4 -0
  34. package/dist-es/commands/GetDomainAccessGrantForOrganizationCommand.js +4 -0
  35. package/dist-es/commands/GetDomainCommand.js +4 -0
  36. package/dist-es/commands/GetDomainForOrganizationCommand.js +4 -0
  37. package/dist-es/commands/GetIntegrationCommand.js +4 -0
  38. package/dist-es/commands/GetIntelligenceConfigurationCommand.js +4 -0
  39. package/dist-es/commands/GetOmniDashboardCommand.js +4 -0
  40. package/dist-es/commands/GetSpaceCommand.js +4 -0
  41. package/dist-es/commands/GetSpaceCredentialsForOrganizationCommand.js +4 -0
  42. package/dist-es/commands/GetTelemetryQueryResultsCommand.js +4 -0
  43. package/dist-es/commands/GetViewCommand.js +4 -0
  44. package/dist-es/commands/ListAccessGrantsCommand.js +4 -0
  45. package/dist-es/commands/ListAccessProfilesCommand.js +4 -0
  46. package/dist-es/commands/ListAlertsCommand.js +4 -0
  47. package/dist-es/commands/ListDomainAccessGrantsForOrganizationCommand.js +4 -0
  48. package/dist-es/commands/ListDomainsCommand.js +4 -0
  49. package/dist-es/commands/ListIntegrationsCommand.js +4 -0
  50. package/dist-es/commands/ListOmniDashboardsCommand.js +4 -0
  51. package/dist-es/commands/ListSpacesCommand.js +4 -0
  52. package/dist-es/commands/ListSpacesForOrganizationCommand.js +4 -0
  53. package/dist-es/commands/ListTelemetryFieldsCommand.js +4 -0
  54. package/dist-es/commands/ListTelemetryQuerySessionsCommand.js +4 -0
  55. package/dist-es/commands/ListViewsCommand.js +4 -0
  56. package/dist-es/commands/PutIntelligenceConfigurationCommand.js +4 -0
  57. package/dist-es/commands/SearchPrincipalsCommand.js +4 -0
  58. package/dist-es/commands/StartTelemetryQueryCommand.js +4 -0
  59. package/dist-es/commands/StartTelemetryQuerySessionCommand.js +4 -0
  60. package/dist-es/commands/StopTelemetryQueryCommand.js +4 -0
  61. package/dist-es/commands/StopTelemetryQuerySessionCommand.js +4 -0
  62. package/dist-es/commands/UpdateAccessProfileCommand.js +4 -0
  63. package/dist-es/commands/UpdateAlertCommand.js +4 -0
  64. package/dist-es/commands/UpdateDomainCommand.js +4 -0
  65. package/dist-es/commands/UpdateDomainForOrganizationCommand.js +4 -0
  66. package/dist-es/commands/UpdateIntegrationCommand.js +4 -0
  67. package/dist-es/commands/UpdateOmniDashboardCommand.js +4 -0
  68. package/dist-es/commands/UpdateSpaceCommand.js +4 -0
  69. package/dist-es/commands/UpdateViewCommand.js +4 -0
  70. package/dist-es/commands/index.js +61 -0
  71. package/dist-es/endpoint/EndpointParameters.js +11 -0
  72. package/dist-es/endpoint/bdd.js +29 -0
  73. package/dist-es/endpoint/endpointResolver.js +14 -0
  74. package/dist-es/extensionConfiguration.js +1 -0
  75. package/dist-es/index.js +10 -0
  76. package/dist-es/models/CloudWatchOmniServiceException.js +8 -0
  77. package/dist-es/models/enums.js +182 -0
  78. package/dist-es/models/errors.js +109 -0
  79. package/dist-es/models/models_0.js +1 -0
  80. package/dist-es/pagination/GetContextGraphPaginator.js +4 -0
  81. package/dist-es/pagination/GetTelemetryQueryResultsPaginator.js +4 -0
  82. package/dist-es/pagination/Interfaces.js +1 -0
  83. package/dist-es/pagination/ListAccessGrantsPaginator.js +4 -0
  84. package/dist-es/pagination/ListAccessProfilesPaginator.js +4 -0
  85. package/dist-es/pagination/ListAlertsPaginator.js +4 -0
  86. package/dist-es/pagination/ListDomainAccessGrantsForOrganizationPaginator.js +4 -0
  87. package/dist-es/pagination/ListDomainsPaginator.js +4 -0
  88. package/dist-es/pagination/ListIntegrationsPaginator.js +4 -0
  89. package/dist-es/pagination/ListOmniDashboardsPaginator.js +4 -0
  90. package/dist-es/pagination/ListSpacesForOrganizationPaginator.js +4 -0
  91. package/dist-es/pagination/ListSpacesPaginator.js +4 -0
  92. package/dist-es/pagination/ListTelemetryFieldsPaginator.js +4 -0
  93. package/dist-es/pagination/ListTelemetryQuerySessionsPaginator.js +4 -0
  94. package/dist-es/pagination/ListViewsPaginator.js +4 -0
  95. package/dist-es/pagination/SearchPrincipalsPaginator.js +4 -0
  96. package/dist-es/pagination/index.js +16 -0
  97. package/dist-es/runtimeConfig.browser.js +29 -0
  98. package/dist-es/runtimeConfig.js +43 -0
  99. package/dist-es/runtimeConfig.native.js +9 -0
  100. package/dist-es/runtimeConfig.shared.js +40 -0
  101. package/dist-es/runtimeExtensions.js +9 -0
  102. package/dist-es/schemas/schemas_0.js +1807 -0
  103. package/dist-types/CloudWatchOmni.d.ts +562 -0
  104. package/dist-types/CloudWatchOmniClient.d.ts +250 -0
  105. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  106. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  107. package/dist-types/commandBuilder.d.ts +18 -0
  108. package/dist-types/commands/CreateAccessGrantCommand.d.ts +285 -0
  109. package/dist-types/commands/CreateAccessProfileCommand.d.ts +143 -0
  110. package/dist-types/commands/CreateAlertCommand.d.ts +490 -0
  111. package/dist-types/commands/CreateDomainAccessGrantForOrganizationCommand.d.ts +169 -0
  112. package/dist-types/commands/CreateDomainCommand.d.ts +174 -0
  113. package/dist-types/commands/CreateDomainForOrganizationCommand.d.ts +177 -0
  114. package/dist-types/commands/CreateIntegrationCommand.d.ts +158 -0
  115. package/dist-types/commands/CreateOmniDashboardCommand.d.ts +149 -0
  116. package/dist-types/commands/CreateOneTimeDeepLinkCodeCommand.d.ts +112 -0
  117. package/dist-types/commands/CreateSpaceCommand.d.ts +166 -0
  118. package/dist-types/commands/CreateViewCommand.d.ts +131 -0
  119. package/dist-types/commands/DeleteAccessGrantCommand.d.ts +100 -0
  120. package/dist-types/commands/DeleteAccessProfileCommand.d.ts +102 -0
  121. package/dist-types/commands/DeleteAlertCommand.d.ts +98 -0
  122. package/dist-types/commands/DeleteDomainAccessGrantForOrganizationCommand.d.ts +101 -0
  123. package/dist-types/commands/DeleteDomainCommand.d.ts +101 -0
  124. package/dist-types/commands/DeleteDomainForOrganizationCommand.d.ts +101 -0
  125. package/dist-types/commands/DeleteIntegrationCommand.d.ts +100 -0
  126. package/dist-types/commands/DeleteOmniDashboardCommand.d.ts +96 -0
  127. package/dist-types/commands/DeleteSpaceCommand.d.ts +94 -0
  128. package/dist-types/commands/DeleteViewCommand.d.ts +100 -0
  129. package/dist-types/commands/GetAccessGrantCommand.d.ts +192 -0
  130. package/dist-types/commands/GetAccessProfileCommand.d.ts +126 -0
  131. package/dist-types/commands/GetAlertCommand.d.ts +224 -0
  132. package/dist-types/commands/GetContextGraphCommand.d.ts +393 -0
  133. package/dist-types/commands/GetDomainAccessGrantForOrganizationCommand.d.ts +135 -0
  134. package/dist-types/commands/GetDomainCommand.d.ts +143 -0
  135. package/dist-types/commands/GetDomainForOrganizationCommand.d.ts +149 -0
  136. package/dist-types/commands/GetIntegrationCommand.d.ts +134 -0
  137. package/dist-types/commands/GetIntelligenceConfigurationCommand.d.ts +102 -0
  138. package/dist-types/commands/GetOmniDashboardCommand.d.ts +127 -0
  139. package/dist-types/commands/GetSpaceCommand.d.ts +134 -0
  140. package/dist-types/commands/GetSpaceCredentialsForOrganizationCommand.d.ts +125 -0
  141. package/dist-types/commands/GetTelemetryQueryResultsCommand.d.ts +138 -0
  142. package/dist-types/commands/GetViewCommand.d.ts +110 -0
  143. package/dist-types/commands/ListAccessGrantsCommand.d.ts +160 -0
  144. package/dist-types/commands/ListAccessProfilesCommand.d.ts +129 -0
  145. package/dist-types/commands/ListAlertsCommand.d.ts +191 -0
  146. package/dist-types/commands/ListDomainAccessGrantsForOrganizationCommand.d.ts +162 -0
  147. package/dist-types/commands/ListDomainsCommand.d.ts +131 -0
  148. package/dist-types/commands/ListIntegrationsCommand.d.ts +135 -0
  149. package/dist-types/commands/ListOmniDashboardsCommand.d.ts +139 -0
  150. package/dist-types/commands/ListSpacesCommand.d.ts +139 -0
  151. package/dist-types/commands/ListSpacesForOrganizationCommand.d.ts +138 -0
  152. package/dist-types/commands/ListTelemetryFieldsCommand.d.ts +137 -0
  153. package/dist-types/commands/ListTelemetryQuerySessionsCommand.d.ts +114 -0
  154. package/dist-types/commands/ListViewsCommand.d.ts +119 -0
  155. package/dist-types/commands/PutIntelligenceConfigurationCommand.d.ts +108 -0
  156. package/dist-types/commands/SearchPrincipalsCommand.d.ts +130 -0
  157. package/dist-types/commands/StartTelemetryQueryCommand.d.ts +106 -0
  158. package/dist-types/commands/StartTelemetryQuerySessionCommand.d.ts +106 -0
  159. package/dist-types/commands/StopTelemetryQueryCommand.d.ts +97 -0
  160. package/dist-types/commands/StopTelemetryQuerySessionCommand.d.ts +97 -0
  161. package/dist-types/commands/UpdateAccessProfileCommand.d.ts +134 -0
  162. package/dist-types/commands/UpdateAlertCommand.d.ts +159 -0
  163. package/dist-types/commands/UpdateDomainCommand.d.ts +163 -0
  164. package/dist-types/commands/UpdateDomainForOrganizationCommand.d.ts +167 -0
  165. package/dist-types/commands/UpdateIntegrationCommand.d.ts +156 -0
  166. package/dist-types/commands/UpdateOmniDashboardCommand.d.ts +140 -0
  167. package/dist-types/commands/UpdateSpaceCommand.d.ts +149 -0
  168. package/dist-types/commands/UpdateViewCommand.d.ts +123 -0
  169. package/dist-types/commands/index.d.ts +61 -0
  170. package/dist-types/endpoint/EndpointParameters.d.ts +44 -0
  171. package/dist-types/endpoint/bdd.d.ts +2 -0
  172. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  173. package/dist-types/extensionConfiguration.d.ts +9 -0
  174. package/dist-types/index.d.ts +21 -0
  175. package/dist-types/models/CloudWatchOmniServiceException.d.ts +14 -0
  176. package/dist-types/models/enums.d.ts +655 -0
  177. package/dist-types/models/errors.d.ts +142 -0
  178. package/dist-types/models/models_0.d.ts +4583 -0
  179. package/dist-types/pagination/GetContextGraphPaginator.d.ts +7 -0
  180. package/dist-types/pagination/GetTelemetryQueryResultsPaginator.d.ts +7 -0
  181. package/dist-types/pagination/Interfaces.d.ts +8 -0
  182. package/dist-types/pagination/ListAccessGrantsPaginator.d.ts +7 -0
  183. package/dist-types/pagination/ListAccessProfilesPaginator.d.ts +7 -0
  184. package/dist-types/pagination/ListAlertsPaginator.d.ts +7 -0
  185. package/dist-types/pagination/ListDomainAccessGrantsForOrganizationPaginator.d.ts +7 -0
  186. package/dist-types/pagination/ListDomainsPaginator.d.ts +7 -0
  187. package/dist-types/pagination/ListIntegrationsPaginator.d.ts +7 -0
  188. package/dist-types/pagination/ListOmniDashboardsPaginator.d.ts +7 -0
  189. package/dist-types/pagination/ListSpacesForOrganizationPaginator.d.ts +7 -0
  190. package/dist-types/pagination/ListSpacesPaginator.d.ts +7 -0
  191. package/dist-types/pagination/ListTelemetryFieldsPaginator.d.ts +7 -0
  192. package/dist-types/pagination/ListTelemetryQuerySessionsPaginator.d.ts +7 -0
  193. package/dist-types/pagination/ListViewsPaginator.d.ts +7 -0
  194. package/dist-types/pagination/SearchPrincipalsPaginator.d.ts +7 -0
  195. package/dist-types/pagination/index.d.ts +16 -0
  196. package/dist-types/runtimeConfig.browser.d.ts +57 -0
  197. package/dist-types/runtimeConfig.d.ts +57 -0
  198. package/dist-types/runtimeConfig.native.d.ts +56 -0
  199. package/dist-types/runtimeConfig.shared.d.ts +28 -0
  200. package/dist-types/runtimeExtensions.d.ts +17 -0
  201. package/dist-types/schemas/schemas_0.d.ts +264 -0
  202. package/dist-types/ts3.4/CloudWatchOmni.d.ts +1106 -0
  203. package/dist-types/ts3.4/CloudWatchOmniClient.d.ts +416 -0
  204. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +25 -0
  205. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +43 -0
  206. package/dist-types/ts3.4/commandBuilder.d.ts +40 -0
  207. package/dist-types/ts3.4/commands/CreateAccessGrantCommand.d.ts +38 -0
  208. package/dist-types/ts3.4/commands/CreateAccessProfileCommand.d.ts +39 -0
  209. package/dist-types/ts3.4/commands/CreateAlertCommand.d.ts +38 -0
  210. package/dist-types/ts3.4/commands/CreateDomainAccessGrantForOrganizationCommand.d.ts +42 -0
  211. package/dist-types/ts3.4/commands/CreateDomainCommand.d.ts +38 -0
  212. package/dist-types/ts3.4/commands/CreateDomainForOrganizationCommand.d.ts +42 -0
  213. package/dist-types/ts3.4/commands/CreateIntegrationCommand.d.ts +38 -0
  214. package/dist-types/ts3.4/commands/CreateOmniDashboardCommand.d.ts +39 -0
  215. package/dist-types/ts3.4/commands/CreateOneTimeDeepLinkCodeCommand.d.ts +42 -0
  216. package/dist-types/ts3.4/commands/CreateSpaceCommand.d.ts +38 -0
  217. package/dist-types/ts3.4/commands/CreateViewCommand.d.ts +38 -0
  218. package/dist-types/ts3.4/commands/DeleteAccessGrantCommand.d.ts +38 -0
  219. package/dist-types/ts3.4/commands/DeleteAccessProfileCommand.d.ts +39 -0
  220. package/dist-types/ts3.4/commands/DeleteAlertCommand.d.ts +38 -0
  221. package/dist-types/ts3.4/commands/DeleteDomainAccessGrantForOrganizationCommand.d.ts +42 -0
  222. package/dist-types/ts3.4/commands/DeleteDomainCommand.d.ts +38 -0
  223. package/dist-types/ts3.4/commands/DeleteDomainForOrganizationCommand.d.ts +42 -0
  224. package/dist-types/ts3.4/commands/DeleteIntegrationCommand.d.ts +38 -0
  225. package/dist-types/ts3.4/commands/DeleteOmniDashboardCommand.d.ts +39 -0
  226. package/dist-types/ts3.4/commands/DeleteSpaceCommand.d.ts +38 -0
  227. package/dist-types/ts3.4/commands/DeleteViewCommand.d.ts +38 -0
  228. package/dist-types/ts3.4/commands/GetAccessGrantCommand.d.ts +38 -0
  229. package/dist-types/ts3.4/commands/GetAccessProfileCommand.d.ts +38 -0
  230. package/dist-types/ts3.4/commands/GetAlertCommand.d.ts +38 -0
  231. package/dist-types/ts3.4/commands/GetContextGraphCommand.d.ts +38 -0
  232. package/dist-types/ts3.4/commands/GetDomainAccessGrantForOrganizationCommand.d.ts +42 -0
  233. package/dist-types/ts3.4/commands/GetDomainCommand.d.ts +38 -0
  234. package/dist-types/ts3.4/commands/GetDomainForOrganizationCommand.d.ts +39 -0
  235. package/dist-types/ts3.4/commands/GetIntegrationCommand.d.ts +38 -0
  236. package/dist-types/ts3.4/commands/GetIntelligenceConfigurationCommand.d.ts +42 -0
  237. package/dist-types/ts3.4/commands/GetOmniDashboardCommand.d.ts +38 -0
  238. package/dist-types/ts3.4/commands/GetSpaceCommand.d.ts +38 -0
  239. package/dist-types/ts3.4/commands/GetSpaceCredentialsForOrganizationCommand.d.ts +42 -0
  240. package/dist-types/ts3.4/commands/GetTelemetryQueryResultsCommand.d.ts +42 -0
  241. package/dist-types/ts3.4/commands/GetViewCommand.d.ts +38 -0
  242. package/dist-types/ts3.4/commands/ListAccessGrantsCommand.d.ts +38 -0
  243. package/dist-types/ts3.4/commands/ListAccessProfilesCommand.d.ts +39 -0
  244. package/dist-types/ts3.4/commands/ListAlertsCommand.d.ts +38 -0
  245. package/dist-types/ts3.4/commands/ListDomainAccessGrantsForOrganizationCommand.d.ts +42 -0
  246. package/dist-types/ts3.4/commands/ListDomainsCommand.d.ts +38 -0
  247. package/dist-types/ts3.4/commands/ListIntegrationsCommand.d.ts +38 -0
  248. package/dist-types/ts3.4/commands/ListOmniDashboardsCommand.d.ts +39 -0
  249. package/dist-types/ts3.4/commands/ListSpacesCommand.d.ts +38 -0
  250. package/dist-types/ts3.4/commands/ListSpacesForOrganizationCommand.d.ts +42 -0
  251. package/dist-types/ts3.4/commands/ListTelemetryFieldsCommand.d.ts +39 -0
  252. package/dist-types/ts3.4/commands/ListTelemetryQuerySessionsCommand.d.ts +42 -0
  253. package/dist-types/ts3.4/commands/ListViewsCommand.d.ts +38 -0
  254. package/dist-types/ts3.4/commands/PutIntelligenceConfigurationCommand.d.ts +42 -0
  255. package/dist-types/ts3.4/commands/SearchPrincipalsCommand.d.ts +38 -0
  256. package/dist-types/ts3.4/commands/StartTelemetryQueryCommand.d.ts +39 -0
  257. package/dist-types/ts3.4/commands/StartTelemetryQuerySessionCommand.d.ts +42 -0
  258. package/dist-types/ts3.4/commands/StopTelemetryQueryCommand.d.ts +39 -0
  259. package/dist-types/ts3.4/commands/StopTelemetryQuerySessionCommand.d.ts +42 -0
  260. package/dist-types/ts3.4/commands/UpdateAccessProfileCommand.d.ts +39 -0
  261. package/dist-types/ts3.4/commands/UpdateAlertCommand.d.ts +38 -0
  262. package/dist-types/ts3.4/commands/UpdateDomainCommand.d.ts +38 -0
  263. package/dist-types/ts3.4/commands/UpdateDomainForOrganizationCommand.d.ts +42 -0
  264. package/dist-types/ts3.4/commands/UpdateIntegrationCommand.d.ts +38 -0
  265. package/dist-types/ts3.4/commands/UpdateOmniDashboardCommand.d.ts +39 -0
  266. package/dist-types/ts3.4/commands/UpdateSpaceCommand.d.ts +38 -0
  267. package/dist-types/ts3.4/commands/UpdateViewCommand.d.ts +38 -0
  268. package/dist-types/ts3.4/commands/index.d.ts +61 -0
  269. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
  270. package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
  271. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  272. package/dist-types/ts3.4/extensionConfiguration.d.ts +10 -0
  273. package/dist-types/ts3.4/index.d.ts +13 -0
  274. package/dist-types/ts3.4/models/CloudWatchOmniServiceException.d.ts +9 -0
  275. package/dist-types/ts3.4/models/enums.d.ts +223 -0
  276. package/dist-types/ts3.4/models/errors.d.ts +51 -0
  277. package/dist-types/ts3.4/models/models_0.d.ts +1116 -0
  278. package/dist-types/ts3.4/pagination/GetContextGraphPaginator.d.ts +11 -0
  279. package/dist-types/ts3.4/pagination/GetTelemetryQueryResultsPaginator.d.ts +11 -0
  280. package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
  281. package/dist-types/ts3.4/pagination/ListAccessGrantsPaginator.d.ts +11 -0
  282. package/dist-types/ts3.4/pagination/ListAccessProfilesPaginator.d.ts +11 -0
  283. package/dist-types/ts3.4/pagination/ListAlertsPaginator.d.ts +8 -0
  284. package/dist-types/ts3.4/pagination/ListDomainAccessGrantsForOrganizationPaginator.d.ts +11 -0
  285. package/dist-types/ts3.4/pagination/ListDomainsPaginator.d.ts +8 -0
  286. package/dist-types/ts3.4/pagination/ListIntegrationsPaginator.d.ts +11 -0
  287. package/dist-types/ts3.4/pagination/ListOmniDashboardsPaginator.d.ts +11 -0
  288. package/dist-types/ts3.4/pagination/ListSpacesForOrganizationPaginator.d.ts +11 -0
  289. package/dist-types/ts3.4/pagination/ListSpacesPaginator.d.ts +8 -0
  290. package/dist-types/ts3.4/pagination/ListTelemetryFieldsPaginator.d.ts +11 -0
  291. package/dist-types/ts3.4/pagination/ListTelemetryQuerySessionsPaginator.d.ts +11 -0
  292. package/dist-types/ts3.4/pagination/ListViewsPaginator.d.ts +8 -0
  293. package/dist-types/ts3.4/pagination/SearchPrincipalsPaginator.d.ts +11 -0
  294. package/dist-types/ts3.4/pagination/index.d.ts +16 -0
  295. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
  296. package/dist-types/ts3.4/runtimeConfig.d.ts +95 -0
  297. package/dist-types/ts3.4/runtimeConfig.native.d.ts +97 -0
  298. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +31 -0
  299. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  300. package/dist-types/ts3.4/schemas/schemas_0.d.ts +264 -0
  301. package/package.json +69 -0
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { StopTelemetryQuerySession$ } from "../schemas/schemas_0";
3
+ export class StopTelemetryQuerySessionCommand extends command(_ep0, _mw0, "StopTelemetryQuerySession", StopTelemetryQuerySession$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { UpdateAccessProfile$ } from "../schemas/schemas_0";
3
+ export class UpdateAccessProfileCommand extends command(_ep0, _mw0, "UpdateAccessProfile", UpdateAccessProfile$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { UpdateAlert$ } from "../schemas/schemas_0";
3
+ export class UpdateAlertCommand extends command(_ep0, _mw0, "UpdateAlert", UpdateAlert$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { UpdateDomain$ } from "../schemas/schemas_0";
3
+ export class UpdateDomainCommand extends command(_ep0, _mw0, "UpdateDomain", UpdateDomain$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { UpdateDomainForOrganization$ } from "../schemas/schemas_0";
3
+ export class UpdateDomainForOrganizationCommand extends command(_ep0, _mw0, "UpdateDomainForOrganization", UpdateDomainForOrganization$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { UpdateIntegration$ } from "../schemas/schemas_0";
3
+ export class UpdateIntegrationCommand extends command(_ep0, _mw0, "UpdateIntegration", UpdateIntegration$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { UpdateOmniDashboard$ } from "../schemas/schemas_0";
3
+ export class UpdateOmniDashboardCommand extends command(_ep0, _mw0, "UpdateOmniDashboard", UpdateOmniDashboard$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { UpdateSpace$ } from "../schemas/schemas_0";
3
+ export class UpdateSpaceCommand extends command(_ep0, _mw0, "UpdateSpace", UpdateSpace$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { UpdateView$ } from "../schemas/schemas_0";
3
+ export class UpdateViewCommand extends command(_ep0, _mw0, "UpdateView", UpdateView$) {
4
+ }
@@ -0,0 +1,61 @@
1
+ export * from "./CreateAccessGrantCommand";
2
+ export * from "./CreateAccessProfileCommand";
3
+ export * from "./CreateAlertCommand";
4
+ export * from "./CreateDomainAccessGrantForOrganizationCommand";
5
+ export * from "./CreateDomainCommand";
6
+ export * from "./CreateDomainForOrganizationCommand";
7
+ export * from "./CreateIntegrationCommand";
8
+ export * from "./CreateOmniDashboardCommand";
9
+ export * from "./CreateOneTimeDeepLinkCodeCommand";
10
+ export * from "./CreateSpaceCommand";
11
+ export * from "./CreateViewCommand";
12
+ export * from "./DeleteAccessGrantCommand";
13
+ export * from "./DeleteAccessProfileCommand";
14
+ export * from "./DeleteAlertCommand";
15
+ export * from "./DeleteDomainAccessGrantForOrganizationCommand";
16
+ export * from "./DeleteDomainCommand";
17
+ export * from "./DeleteDomainForOrganizationCommand";
18
+ export * from "./DeleteIntegrationCommand";
19
+ export * from "./DeleteOmniDashboardCommand";
20
+ export * from "./DeleteSpaceCommand";
21
+ export * from "./DeleteViewCommand";
22
+ export * from "./GetAccessGrantCommand";
23
+ export * from "./GetAccessProfileCommand";
24
+ export * from "./GetAlertCommand";
25
+ export * from "./GetContextGraphCommand";
26
+ export * from "./GetDomainAccessGrantForOrganizationCommand";
27
+ export * from "./GetDomainCommand";
28
+ export * from "./GetDomainForOrganizationCommand";
29
+ export * from "./GetIntegrationCommand";
30
+ export * from "./GetIntelligenceConfigurationCommand";
31
+ export * from "./GetOmniDashboardCommand";
32
+ export * from "./GetSpaceCommand";
33
+ export * from "./GetSpaceCredentialsForOrganizationCommand";
34
+ export * from "./GetTelemetryQueryResultsCommand";
35
+ export * from "./GetViewCommand";
36
+ export * from "./ListAccessGrantsCommand";
37
+ export * from "./ListAccessProfilesCommand";
38
+ export * from "./ListAlertsCommand";
39
+ export * from "./ListDomainAccessGrantsForOrganizationCommand";
40
+ export * from "./ListDomainsCommand";
41
+ export * from "./ListIntegrationsCommand";
42
+ export * from "./ListOmniDashboardsCommand";
43
+ export * from "./ListSpacesCommand";
44
+ export * from "./ListSpacesForOrganizationCommand";
45
+ export * from "./ListTelemetryFieldsCommand";
46
+ export * from "./ListTelemetryQuerySessionsCommand";
47
+ export * from "./ListViewsCommand";
48
+ export * from "./PutIntelligenceConfigurationCommand";
49
+ export * from "./SearchPrincipalsCommand";
50
+ export * from "./StartTelemetryQueryCommand";
51
+ export * from "./StartTelemetryQuerySessionCommand";
52
+ export * from "./StopTelemetryQueryCommand";
53
+ export * from "./StopTelemetryQuerySessionCommand";
54
+ export * from "./UpdateAccessProfileCommand";
55
+ export * from "./UpdateAlertCommand";
56
+ export * from "./UpdateDomainCommand";
57
+ export * from "./UpdateDomainForOrganizationCommand";
58
+ export * from "./UpdateIntegrationCommand";
59
+ export * from "./UpdateOmniDashboardCommand";
60
+ export * from "./UpdateSpaceCommand";
61
+ export * from "./UpdateViewCommand";
@@ -0,0 +1,11 @@
1
+ export const resolveClientEndpointParameters = (options) => {
2
+ return Object.assign(options, {
3
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
4
+ defaultSigningName: "cloudwatch",
5
+ });
6
+ };
7
+ export const commonParams = {
8
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
9
+ Endpoint: { type: "builtInParams", name: "endpoint" },
10
+ Region: { type: "builtInParams", name: "region" },
11
+ };
@@ -0,0 +1,29 @@
1
+ import { BinaryDecisionDiagram } from "@smithy/core/endpoints";
2
+ const a = "isSet", b = { "ref": "Endpoint" }, c = [{ "ref": "Region" }];
3
+ const _data = {
4
+ conditions: [
5
+ [a, [b]],
6
+ [a, c],
7
+ ["aws.partition", c, "PartitionResult"],
8
+ ["booleanEquals", [{ ref: "UseFIPS" }, true]]
9
+ ],
10
+ results: [
11
+ [-1],
12
+ [-1, "Invalid Configuration: FIPS and custom endpoint are not supported"],
13
+ [b, {}],
14
+ ["https://cloudwatch-omni-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", {}],
15
+ ["https://cloudwatch-omni.{Region}.{PartitionResult#dualStackDnsSuffix}", {}],
16
+ [-1, "Invalid Configuration: Missing Region"]
17
+ ]
18
+ };
19
+ const root = 2;
20
+ const r = 100_000_000;
21
+ const nodes = new Int32Array([
22
+ -1, 1, -1,
23
+ 0, 6, 3,
24
+ 1, 4, r + 5,
25
+ 2, 5, r + 5,
26
+ 3, r + 3, r + 4,
27
+ 3, r + 1, r + 2,
28
+ ]);
29
+ export const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
@@ -0,0 +1,14 @@
1
+ import { awsEndpointFunctions } from "@aws-sdk/core/client";
2
+ import { customEndpointFunctions, decideEndpoint, EndpointCache } from "@smithy/core/endpoints";
3
+ import { bdd } from "./bdd";
4
+ const cache = new EndpointCache({
5
+ size: 50,
6
+ params: ["Endpoint", "Region", "UseFIPS"],
7
+ });
8
+ export const defaultEndpointResolver = (endpointParams, context = {}) => {
9
+ return cache.get(endpointParams, () => decideEndpoint(bdd, {
10
+ endpointParams: endpointParams,
11
+ logger: context.logger,
12
+ }));
13
+ };
14
+ customEndpointFunctions.aws = awsEndpointFunctions;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,10 @@
1
+ export * from "./CloudWatchOmniClient";
2
+ export * from "./CloudWatchOmni";
3
+ export * from "./commands";
4
+ export { Command as $Command } from "@smithy/core/client";
5
+ export * from "./pagination";
6
+ export * from "./schemas/schemas_0";
7
+ export * from "./models/enums";
8
+ export * from "./models/errors";
9
+ export * from "./models/models_0";
10
+ export { CloudWatchOmniServiceException } from "./models/CloudWatchOmniServiceException";
@@ -0,0 +1,8 @@
1
+ import { ServiceException as __ServiceException, } from "@smithy/core/client";
2
+ export { __ServiceException };
3
+ export class CloudWatchOmniServiceException extends __ServiceException {
4
+ constructor(options) {
5
+ super(options);
6
+ Object.setPrototypeOf(this, CloudWatchOmniServiceException.prototype);
7
+ }
8
+ }
@@ -0,0 +1,182 @@
1
+ export const AccessGrantType = {
2
+ CUSTOMER_MANAGED: "CUSTOMER_MANAGED",
3
+ SERVICE_MANAGED: "SERVICE_MANAGED",
4
+ };
5
+ export const AccessGrantPermission = {
6
+ CUSTOM: "CUSTOM",
7
+ READ: "READ",
8
+ READ_WRITE_DELETE: "READ_WRITE_DELETE",
9
+ SPACE_ADMIN: "SPACE_ADMIN",
10
+ };
11
+ export const AccessGrantPrincipalType = {
12
+ ACCESS_PROFILE: "ACCESS_PROFILE",
13
+ AGENT: "AGENT",
14
+ ALERT: "ALERT",
15
+ IAM_ROLE: "IAM_ROLE",
16
+ IAM_ROOT: "IAM_ROOT",
17
+ IAM_USER: "IAM_USER",
18
+ IDC_GROUP: "IDC_GROUP",
19
+ IDC_USER: "IDC_USER",
20
+ };
21
+ export const RowScopeOperator = {
22
+ IN: "IN",
23
+ };
24
+ export const SignalType = {
25
+ LOGS: "LOGS",
26
+ TRACES: "TRACES",
27
+ };
28
+ export const AssumeStatus = {
29
+ ALLOWED: "ALLOWED",
30
+ DENIED: "DENIED",
31
+ };
32
+ export const AccessProfileType = {
33
+ CUSTOMER_MANAGED: "CUSTOMER_MANAGED",
34
+ SERVICE_MANAGED: "SERVICE_MANAGED",
35
+ };
36
+ export const NotificationTargetType = {
37
+ PAGERDUTY: "pagerduty",
38
+ SLACK: "slack",
39
+ SNS: "sns",
40
+ };
41
+ export const AlertState = {
42
+ CRITICAL: "CRITICAL",
43
+ NODATA: "NODATA",
44
+ OK: "OK",
45
+ WARNING: "WARNING",
46
+ };
47
+ export const NotificationStatus = {
48
+ DISABLED: "DISABLED",
49
+ ENABLED: "ENABLED",
50
+ };
51
+ export const Comparator = {
52
+ GT: "GT",
53
+ GTE: "GTE",
54
+ LT: "LT",
55
+ LTE: "LTE",
56
+ };
57
+ export const ThresholdMode = {
58
+ COUNT_OF_RESULTS: "COUNT_OF_RESULTS",
59
+ FIELD_VALUE: "FIELD_VALUE",
60
+ };
61
+ export const QueryLanguage = {
62
+ PROMQL: "PROMQL",
63
+ SQL: "SQL",
64
+ };
65
+ export const AlertSortField = {
66
+ NAME: "NAME",
67
+ STATE: "STATE",
68
+ };
69
+ export const AlertSortOrder = {
70
+ ASC: "ASC",
71
+ DESC: "DESC",
72
+ };
73
+ export const AuthType = {
74
+ API_KEY: "API_KEY",
75
+ NONE: "NONE",
76
+ OAUTH2: "OAUTH2",
77
+ };
78
+ export const IdentityProvider = {
79
+ IAM: "IAM",
80
+ IDC: "IDC",
81
+ };
82
+ export const DomainStatus = {
83
+ ACTIVE: "ACTIVE",
84
+ };
85
+ export const OrganizationGrantPermission = {
86
+ ADMIN: "ADMIN",
87
+ };
88
+ export const OrganizationGrantPrincipalType = {
89
+ IAM_ROLE: "IAM_ROLE",
90
+ IAM_ROOT: "IAM_ROOT",
91
+ IAM_USER: "IAM_USER",
92
+ IDC_GROUP: "IDC_GROUP",
93
+ IDC_USER: "IDC_USER",
94
+ };
95
+ export const IntegrationType = {
96
+ AWS_CONFIG_SLREC: "AWS_CONFIG_SLREC",
97
+ AWS_INTEGRATION: "AWS_INTEGRATION",
98
+ EXTERNAL_AGENT: "EXTERNAL_AGENT",
99
+ SLACK: "SLACK",
100
+ };
101
+ export const Scope = {
102
+ ACCOUNT: "ACCOUNT",
103
+ ORGANIZATION: "ORGANIZATION",
104
+ };
105
+ export const IntegrationStatus = {
106
+ ACTIVE: "ACTIVE",
107
+ DELETED: "DELETED",
108
+ ERROR: "ERROR",
109
+ FAILED: "FAILED",
110
+ PENDING: "PENDING",
111
+ PENDING_OAUTH: "PENDING_OAUTH",
112
+ };
113
+ export const EncryptionStrategy = {
114
+ AWS_OWNED: "AWS_OWNED",
115
+ CUSTOMER_MANAGED: "CUSTOMER_MANAGED",
116
+ };
117
+ export const SpaceStatus = {
118
+ ACTIVE: "ACTIVE",
119
+ MOVING: "MOVING",
120
+ SUSPENDED: "SUSPENDED",
121
+ };
122
+ export const ViewType = {
123
+ MANAGED: "MANAGED",
124
+ USER: "USER",
125
+ };
126
+ export const EdgeType = {
127
+ ACCESSES: "ACCESSES",
128
+ CALLS: "CALLS",
129
+ RUNS_ON: "RUNS_ON",
130
+ };
131
+ export const Source = {
132
+ AWS_INTEGRATION: "AWS_INTEGRATION",
133
+ AZURE_VNET_FLOW_LOG: "AZURE_VNET_FLOW_LOG",
134
+ CLOUDFRONT_ACCESS_LOG: "CLOUDFRONT_ACCESS_LOG",
135
+ CLOUDTRAIL: "CLOUDTRAIL",
136
+ CODE_SEMANTICS: "CODE_SEMANTICS",
137
+ CONFIG: "CONFIG",
138
+ ELB_ACCESS_LOG: "ELB_ACCESS_LOG",
139
+ IAM_POLICY: "IAM_POLICY",
140
+ S3_ACCESS_LOG: "S3_ACCESS_LOG",
141
+ TELEMETRY: "TELEMETRY",
142
+ VPC_FLOW_LOG: "VPC_FLOW_LOG",
143
+ WAF_ACCESS_LOG: "WAF_ACCESS_LOG",
144
+ };
145
+ export const NodeCategory = {
146
+ COMPUTE: "COMPUTE",
147
+ DATABASE: "DATABASE",
148
+ GEN_AI_AGENT: "GEN_AI_AGENT",
149
+ GEN_AI_MODEL: "GEN_AI_MODEL",
150
+ MESSAGING_QUEUE: "MESSAGING_QUEUE",
151
+ NETWORK: "NETWORK",
152
+ STORAGE: "STORAGE",
153
+ };
154
+ export const NodeType = {
155
+ REMOTE_SERVICE: "REMOTE_SERVICE",
156
+ RESOURCE: "RESOURCE",
157
+ SERVICE: "SERVICE",
158
+ };
159
+ export const Signal = {
160
+ CONFIG: "CONFIG",
161
+ LOGS: "LOGS",
162
+ METRICS: "METRICS",
163
+ TRACES: "TRACES",
164
+ UNKNOWN: "UNKNOWN",
165
+ };
166
+ export const OrganizationCredentialType = {
167
+ SPACE_OPERATION: "SPACE_OPERATION",
168
+ };
169
+ export const QueryStatus = {
170
+ CANCELLED: "Cancelled",
171
+ COMPLETE: "Complete",
172
+ FAILED: "Failed",
173
+ RUNNING: "Running",
174
+ };
175
+ export const TelemetryType = {
176
+ LOGS: "LOGS",
177
+ TRACES: "TRACES",
178
+ };
179
+ export const PrincipalType = {
180
+ GROUP: "GROUP",
181
+ USER: "USER",
182
+ };
@@ -0,0 +1,109 @@
1
+ import { CloudWatchOmniServiceException as __BaseException } from "./CloudWatchOmniServiceException";
2
+ export class AccessDeniedException extends __BaseException {
3
+ name = "AccessDeniedException";
4
+ $fault = "client";
5
+ constructor(opts) {
6
+ super({
7
+ name: "AccessDeniedException",
8
+ $fault: "client",
9
+ ...opts,
10
+ });
11
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
12
+ }
13
+ }
14
+ export class ConflictException extends __BaseException {
15
+ name = "ConflictException";
16
+ $fault = "client";
17
+ conflictType;
18
+ resourceId;
19
+ resourceType;
20
+ errorCode;
21
+ constructor(opts) {
22
+ super({
23
+ name: "ConflictException",
24
+ $fault: "client",
25
+ ...opts,
26
+ });
27
+ Object.setPrototypeOf(this, ConflictException.prototype);
28
+ this.conflictType = opts.conflictType;
29
+ this.resourceId = opts.resourceId;
30
+ this.resourceType = opts.resourceType;
31
+ this.errorCode = opts.errorCode;
32
+ }
33
+ }
34
+ export class InternalServerException extends __BaseException {
35
+ name = "InternalServerException";
36
+ $fault = "server";
37
+ $retryable = {};
38
+ errorCode;
39
+ constructor(opts) {
40
+ super({
41
+ name: "InternalServerException",
42
+ $fault: "server",
43
+ ...opts,
44
+ });
45
+ Object.setPrototypeOf(this, InternalServerException.prototype);
46
+ this.errorCode = opts.errorCode;
47
+ }
48
+ }
49
+ export class ResourceNotFoundException extends __BaseException {
50
+ name = "ResourceNotFoundException";
51
+ $fault = "client";
52
+ resourceType;
53
+ resourceId;
54
+ errorCode;
55
+ constructor(opts) {
56
+ super({
57
+ name: "ResourceNotFoundException",
58
+ $fault: "client",
59
+ ...opts,
60
+ });
61
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
62
+ this.resourceType = opts.resourceType;
63
+ this.resourceId = opts.resourceId;
64
+ this.errorCode = opts.errorCode;
65
+ }
66
+ }
67
+ export class ServiceQuotaExceededException extends __BaseException {
68
+ name = "ServiceQuotaExceededException";
69
+ $fault = "client";
70
+ constructor(opts) {
71
+ super({
72
+ name: "ServiceQuotaExceededException",
73
+ $fault: "client",
74
+ ...opts,
75
+ });
76
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
77
+ }
78
+ }
79
+ export class ThrottlingException extends __BaseException {
80
+ name = "ThrottlingException";
81
+ $fault = "client";
82
+ $retryable = {
83
+ throttling: true,
84
+ };
85
+ retryAfterSeconds;
86
+ constructor(opts) {
87
+ super({
88
+ name: "ThrottlingException",
89
+ $fault: "client",
90
+ ...opts,
91
+ });
92
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
93
+ this.retryAfterSeconds = opts.retryAfterSeconds;
94
+ }
95
+ }
96
+ export class ValidationException extends __BaseException {
97
+ name = "ValidationException";
98
+ $fault = "client";
99
+ errorCode;
100
+ constructor(opts) {
101
+ super({
102
+ name: "ValidationException",
103
+ $fault: "client",
104
+ ...opts,
105
+ });
106
+ Object.setPrototypeOf(this, ValidationException.prototype);
107
+ this.errorCode = opts.errorCode;
108
+ }
109
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { CloudWatchOmniClient } from "../CloudWatchOmniClient";
3
+ import { GetContextGraphCommand, } from "../commands/GetContextGraphCommand";
4
+ export const paginateGetContextGraph = createPaginator(CloudWatchOmniClient, GetContextGraphCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { CloudWatchOmniClient } from "../CloudWatchOmniClient";
3
+ import { GetTelemetryQueryResultsCommand, } from "../commands/GetTelemetryQueryResultsCommand";
4
+ export const paginateGetTelemetryQueryResults = createPaginator(CloudWatchOmniClient, GetTelemetryQueryResultsCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { CloudWatchOmniClient } from "../CloudWatchOmniClient";
3
+ import { ListAccessGrantsCommand, } from "../commands/ListAccessGrantsCommand";
4
+ export const paginateListAccessGrants = createPaginator(CloudWatchOmniClient, ListAccessGrantsCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { CloudWatchOmniClient } from "../CloudWatchOmniClient";
3
+ import { ListAccessProfilesCommand, } from "../commands/ListAccessProfilesCommand";
4
+ export const paginateListAccessProfiles = createPaginator(CloudWatchOmniClient, ListAccessProfilesCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { CloudWatchOmniClient } from "../CloudWatchOmniClient";
3
+ import { ListAlertsCommand } from "../commands/ListAlertsCommand";
4
+ export const paginateListAlerts = createPaginator(CloudWatchOmniClient, ListAlertsCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { CloudWatchOmniClient } from "../CloudWatchOmniClient";
3
+ import { ListDomainAccessGrantsForOrganizationCommand, } from "../commands/ListDomainAccessGrantsForOrganizationCommand";
4
+ export const paginateListDomainAccessGrantsForOrganization = createPaginator(CloudWatchOmniClient, ListDomainAccessGrantsForOrganizationCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { CloudWatchOmniClient } from "../CloudWatchOmniClient";
3
+ import { ListDomainsCommand } from "../commands/ListDomainsCommand";
4
+ export const paginateListDomains = createPaginator(CloudWatchOmniClient, ListDomainsCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { CloudWatchOmniClient } from "../CloudWatchOmniClient";
3
+ import { ListIntegrationsCommand, } from "../commands/ListIntegrationsCommand";
4
+ export const paginateListIntegrations = createPaginator(CloudWatchOmniClient, ListIntegrationsCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { CloudWatchOmniClient } from "../CloudWatchOmniClient";
3
+ import { ListOmniDashboardsCommand, } from "../commands/ListOmniDashboardsCommand";
4
+ export const paginateListOmniDashboards = createPaginator(CloudWatchOmniClient, ListOmniDashboardsCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { CloudWatchOmniClient } from "../CloudWatchOmniClient";
3
+ import { ListSpacesForOrganizationCommand, } from "../commands/ListSpacesForOrganizationCommand";
4
+ export const paginateListSpacesForOrganization = createPaginator(CloudWatchOmniClient, ListSpacesForOrganizationCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { CloudWatchOmniClient } from "../CloudWatchOmniClient";
3
+ import { ListSpacesCommand } from "../commands/ListSpacesCommand";
4
+ export const paginateListSpaces = createPaginator(CloudWatchOmniClient, ListSpacesCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { CloudWatchOmniClient } from "../CloudWatchOmniClient";
3
+ import { ListTelemetryFieldsCommand, } from "../commands/ListTelemetryFieldsCommand";
4
+ export const paginateListTelemetryFields = createPaginator(CloudWatchOmniClient, ListTelemetryFieldsCommand, "nextToken", "nextToken", "");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { CloudWatchOmniClient } from "../CloudWatchOmniClient";
3
+ import { ListTelemetryQuerySessionsCommand, } from "../commands/ListTelemetryQuerySessionsCommand";
4
+ export const paginateListTelemetryQuerySessions = createPaginator(CloudWatchOmniClient, ListTelemetryQuerySessionsCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { CloudWatchOmniClient } from "../CloudWatchOmniClient";
3
+ import { ListViewsCommand } from "../commands/ListViewsCommand";
4
+ export const paginateListViews = createPaginator(CloudWatchOmniClient, ListViewsCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { CloudWatchOmniClient } from "../CloudWatchOmniClient";
3
+ import { SearchPrincipalsCommand, } from "../commands/SearchPrincipalsCommand";
4
+ export const paginateSearchPrincipals = createPaginator(CloudWatchOmniClient, SearchPrincipalsCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,16 @@
1
+ export * from "./Interfaces";
2
+ export * from "./GetContextGraphPaginator";
3
+ export * from "./GetTelemetryQueryResultsPaginator";
4
+ export * from "./ListAccessGrantsPaginator";
5
+ export * from "./ListAccessProfilesPaginator";
6
+ export * from "./ListAlertsPaginator";
7
+ export * from "./ListDomainAccessGrantsForOrganizationPaginator";
8
+ export * from "./ListDomainsPaginator";
9
+ export * from "./ListIntegrationsPaginator";
10
+ export * from "./ListOmniDashboardsPaginator";
11
+ export * from "./ListSpacesPaginator";
12
+ export * from "./ListSpacesForOrganizationPaginator";
13
+ export * from "./ListTelemetryFieldsPaginator";
14
+ export * from "./ListTelemetryQuerySessionsPaginator";
15
+ export * from "./ListViewsPaginator";
16
+ export * from "./SearchPrincipalsPaginator";
@@ -0,0 +1,29 @@
1
+ import packageInfo from "../package.json";
2
+ import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
3
+ import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
4
+ import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
5
+ import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/core/retry";
6
+ import { calculateBodyLength } from "@smithy/core/serde";
7
+ import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
8
+ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
9
+ export const getRuntimeConfig = (config) => {
10
+ const defaultsMode = resolveDefaultsModeConfig(config);
11
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
12
+ const clientSharedValues = getSharedRuntimeConfig(config);
13
+ return {
14
+ ...clientSharedValues,
15
+ ...config,
16
+ runtime: "browser",
17
+ defaultsMode,
18
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
19
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
20
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
21
+ maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
22
+ region: config?.region ?? invalidProvider("Region is missing"),
23
+ requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
24
+ retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
25
+ streamCollector: config?.streamCollector ?? streamCollector,
26
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
27
+ useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
28
+ };
29
+ };