@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,490 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { CreateAlertInput, CreateAlertOutput } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link CreateAlertCommand}.
11
+ */
12
+ export interface CreateAlertCommandInput extends CreateAlertInput {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link CreateAlertCommand}.
18
+ */
19
+ export interface CreateAlertCommandOutput extends CreateAlertOutput, __MetadataBearer {
20
+ }
21
+ declare const CreateAlertCommand_base: {
22
+ new (input: CreateAlertCommandInput): import("@smithy/core/client").CommandImpl<CreateAlertCommandInput, CreateAlertCommandOutput, import("..").CloudWatchOmniClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateAlertCommandInput): import("@smithy/core/client").CommandImpl<CreateAlertCommandInput, CreateAlertCommandOutput, import("..").CloudWatchOmniClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * Creates a new alert within a space.
28
+ *
29
+ * Use GetAlert and ListAlerts to retrieve alerts, UpdateAlert to modify one,
30
+ * and DeleteAlert to remove it.
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { CloudWatchOmniClient, CreateAlertCommand } from "@aws-sdk/client-cloudwatchomni"; // ES Modules import
35
+ * // const { CloudWatchOmniClient, CreateAlertCommand } = require("@aws-sdk/client-cloudwatchomni"); // CommonJS import
36
+ * // import type { CloudWatchOmniClientConfig } from "@aws-sdk/client-cloudwatchomni";
37
+ * const config = {}; // type is CloudWatchOmniClientConfig
38
+ * const client = new CloudWatchOmniClient(config);
39
+ * const input = { // CreateAlertInput
40
+ * spaceId: "STRING_VALUE", // required
41
+ * profileId: "STRING_VALUE", // required
42
+ * name: "STRING_VALUE", // required
43
+ * description: "STRING_VALUE",
44
+ * rule: { // Rule Union: only one key present
45
+ * telemetryRule: { // TelemetryRule
46
+ * query: { // AlertRuleQuery
47
+ * language: "SQL" || "PROMQL", // required
48
+ * expression: "STRING_VALUE", // required
49
+ * },
50
+ * condition: { // AlertCondition
51
+ * thresholdMode: "COUNT_OF_RESULTS" || "FIELD_VALUE",
52
+ * thresholdField: "STRING_VALUE",
53
+ * comparator: "GT" || "LT" || "GTE" || "LTE",
54
+ * warningThreshold: Number("double"),
55
+ * criticalThreshold: Number("double"),
56
+ * },
57
+ * evaluation: { // AlertEvaluation
58
+ * intervalSeconds: Number("int"), // required
59
+ * pendingDurationSeconds: Number("int"),
60
+ * recoveryDurationSeconds: Number("int"),
61
+ * },
62
+ * noData: { // NoData
63
+ * treatAs: "OK" || "WARNING" || "CRITICAL" || "NODATA", // required
64
+ * },
65
+ * },
66
+ * },
67
+ * notificationsEnabled: true || false,
68
+ * tags: { // TagMap
69
+ * "<keys>": "STRING_VALUE",
70
+ * },
71
+ * notificationRules: [ // NotificationRuleList
72
+ * { // NotificationRule
73
+ * trigger: { // NotificationTrigger
74
+ * stateValues: [ // AlertStateList
75
+ * "OK" || "WARNING" || "CRITICAL" || "NODATA",
76
+ * ],
77
+ * },
78
+ * target: { // NotificationTarget
79
+ * type: "sns" || "slack" || "pagerduty", // required
80
+ * arn: "STRING_VALUE", // required
81
+ * metadata: { // NotificationTargetMetadata
82
+ * "<keys>": "STRING_VALUE",
83
+ * },
84
+ * },
85
+ * },
86
+ * ],
87
+ * clientToken: "STRING_VALUE",
88
+ * };
89
+ * const command = new CreateAlertCommand(input);
90
+ * const response = await client.send(command);
91
+ * // { // CreateAlertOutput
92
+ * // alertArn: "STRING_VALUE",
93
+ * // alert: { // Alert
94
+ * // name: "STRING_VALUE", // required
95
+ * // alertId: "STRING_VALUE",
96
+ * // description: "STRING_VALUE",
97
+ * // accountId: "STRING_VALUE", // required
98
+ * // spaceId: "STRING_VALUE",
99
+ * // profileId: "STRING_VALUE",
100
+ * // rule: { // Rule Union: only one key present
101
+ * // telemetryRule: { // TelemetryRule
102
+ * // query: { // AlertRuleQuery
103
+ * // language: "SQL" || "PROMQL", // required
104
+ * // expression: "STRING_VALUE", // required
105
+ * // },
106
+ * // condition: { // AlertCondition
107
+ * // thresholdMode: "COUNT_OF_RESULTS" || "FIELD_VALUE",
108
+ * // thresholdField: "STRING_VALUE",
109
+ * // comparator: "GT" || "LT" || "GTE" || "LTE",
110
+ * // warningThreshold: Number("double"),
111
+ * // criticalThreshold: Number("double"),
112
+ * // },
113
+ * // evaluation: { // AlertEvaluation
114
+ * // intervalSeconds: Number("int"), // required
115
+ * // pendingDurationSeconds: Number("int"),
116
+ * // recoveryDurationSeconds: Number("int"),
117
+ * // },
118
+ * // noData: { // NoData
119
+ * // treatAs: "OK" || "WARNING" || "CRITICAL" || "NODATA", // required
120
+ * // },
121
+ * // },
122
+ * // },
123
+ * // notificationStatus: "ENABLED" || "DISABLED",
124
+ * // state: { // AlertStateInfo
125
+ * // value: "OK" || "WARNING" || "CRITICAL" || "NODATA", // required
126
+ * // transitionedAt: new Date("TIMESTAMP"),
127
+ * // contributorSummary: { // ContributorSummary
128
+ * // warningCount: Number("int"),
129
+ * // criticalCount: Number("int"),
130
+ * // },
131
+ * // data: { // AlertStateData
132
+ * // thresholdBreached: Number("double"),
133
+ * // },
134
+ * // },
135
+ * // notificationRules: [ // NotificationRuleList
136
+ * // { // NotificationRule
137
+ * // trigger: { // NotificationTrigger
138
+ * // stateValues: [ // AlertStateList
139
+ * // "OK" || "WARNING" || "CRITICAL" || "NODATA",
140
+ * // ],
141
+ * // },
142
+ * // target: { // NotificationTarget
143
+ * // type: "sns" || "slack" || "pagerduty", // required
144
+ * // arn: "STRING_VALUE", // required
145
+ * // metadata: { // NotificationTargetMetadata
146
+ * // "<keys>": "STRING_VALUE",
147
+ * // },
148
+ * // },
149
+ * // },
150
+ * // ],
151
+ * // createdAt: new Date("TIMESTAMP"), // required
152
+ * // updatedAt: new Date("TIMESTAMP"), // required
153
+ * // alertArn: "STRING_VALUE", // required
154
+ * // },
155
+ * // };
156
+ *
157
+ * ```
158
+ *
159
+ * @param CreateAlertCommandInput - {@link CreateAlertCommandInput}
160
+ * @returns {@link CreateAlertCommandOutput}
161
+ * @see {@link CreateAlertCommandInput} for command's `input` shape.
162
+ * @see {@link CreateAlertCommandOutput} for command's `response` shape.
163
+ * @see {@link CloudWatchOmniClientResolvedConfig | config} for CloudWatchOmniClient's `config` shape.
164
+ *
165
+ * @throws {@link AccessDeniedException} (client fault)
166
+ * The caller is not authorized to perform this action.
167
+ *
168
+ * @throws {@link ConflictException} (client fault)
169
+ * The operation could not be completed because of a conflict with the current
170
+ * state of the resource.
171
+ *
172
+ * @throws {@link InternalServerException} (server fault)
173
+ * An unexpected error occurred while processing the request.
174
+ *
175
+ * @throws {@link ResourceNotFoundException} (client fault)
176
+ * The specified resource does not exist.
177
+ *
178
+ * @throws {@link ServiceQuotaExceededException} (client fault)
179
+ * A service quota was exceeded.
180
+ *
181
+ * @throws {@link ThrottlingException} (client fault)
182
+ * The request was throttled due to exceeding the allowed request rate.
183
+ *
184
+ * @throws {@link ValidationException} (client fault)
185
+ * A parameter is specified incorrectly.
186
+ *
187
+ * @throws {@link CloudWatchOmniServiceException}
188
+ * <p>Base exception class for all service exceptions from CloudWatchOmni service.</p>
189
+ *
190
+ *
191
+ * @example Create an alert on a field value
192
+ * ```javascript
193
+ * // The following example creates an alert whose threshold is compared against a named field of each result row, so every service the query groups by is tracked as its own contributor. FIELD_VALUE requires thresholdField. Payloads are shown as JSON; on the wire they are CBOR-encoded.
194
+ * const input = {
195
+ * clientToken: "3f2a9c1e-7b04-4d8a-9e15-6c2b8d0f4a73",
196
+ * description: "Alerts when a service logs more errors than its accepted rate.",
197
+ * name: "service-error-count-elevated",
198
+ * notificationRules: [
199
+ * {
200
+ * target: {
201
+ * arn: "arn:aws:cloudwatch:us-east-1:123456789012:integration/a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d",
202
+ * metadata: {
203
+ * channel: "oncall-alerts"
204
+ * },
205
+ * type: "slack"
206
+ * },
207
+ * trigger: {
208
+ * stateValues: [
209
+ * "CRITICAL"
210
+ * ]
211
+ * }
212
+ * }
213
+ * ],
214
+ * notificationsEnabled: true,
215
+ * profileId: "analyst-readonly",
216
+ * rule: {
217
+ * telemetryRule: {
218
+ * condition: {
219
+ * comparator: "GT",
220
+ * criticalThreshold: 200.0,
221
+ * thresholdField: "error_count",
222
+ * thresholdMode: "FIELD_VALUE",
223
+ * warningThreshold: 50.0
224
+ * },
225
+ * evaluation: {
226
+ * intervalSeconds: 300,
227
+ * pendingDurationSeconds: 600,
228
+ * recoveryDurationSeconds: 300
229
+ * },
230
+ * noData: {
231
+ * treatAs: "NODATA"
232
+ * },
233
+ * query: {
234
+ * expression: `SELECT resource['attributes']['service.name'] AS service, COUNT(*) AS error_count FROM "logs.default" WHERE severityText = 'ERROR' GROUP BY service`,
235
+ * language: "SQL"
236
+ * }
237
+ * }
238
+ * },
239
+ * spaceId: "a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d",
240
+ * tags: {
241
+ * Team: "observability"
242
+ * }
243
+ * };
244
+ * const command = new CreateAlertCommand(input);
245
+ * const response = await client.send(command);
246
+ * /* response is
247
+ * {
248
+ * alert: {
249
+ * accountId: "123456789012",
250
+ * alertArn: "arn:aws:cloudwatch:us-east-1:123456789012:alert/c3d4e5f67a8b4c9d8e0f1a2b3c4d5e6f",
251
+ * alertId: "c3d4e5f67a8b4c9d8e0f1a2b3c4d5e6f",
252
+ * createdAt: "2026-09-16T14:22:31Z",
253
+ * description: "Alerts when a service logs more errors than its accepted rate.",
254
+ * name: "service-error-count-elevated",
255
+ * notificationRules: [
256
+ * {
257
+ * target: {
258
+ * arn: "arn:aws:cloudwatch:us-east-1:123456789012:integration/a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d",
259
+ * metadata: {
260
+ * channel: "oncall-alerts"
261
+ * },
262
+ * type: "slack"
263
+ * },
264
+ * trigger: {
265
+ * stateValues: [
266
+ * "CRITICAL"
267
+ * ]
268
+ * }
269
+ * }
270
+ * ],
271
+ * notificationStatus: "ENABLED",
272
+ * profileId: "analyst-readonly",
273
+ * rule: {
274
+ * telemetryRule: {
275
+ * condition: {
276
+ * comparator: "GT",
277
+ * criticalThreshold: 200.0,
278
+ * thresholdField: "error_count",
279
+ * thresholdMode: "FIELD_VALUE",
280
+ * warningThreshold: 50.0
281
+ * },
282
+ * evaluation: {
283
+ * intervalSeconds: 300,
284
+ * pendingDurationSeconds: 600,
285
+ * recoveryDurationSeconds: 300
286
+ * },
287
+ * noData: {
288
+ * treatAs: "NODATA"
289
+ * },
290
+ * query: {
291
+ * expression: `SELECT resource['attributes']['service.name'] AS service, COUNT(*) AS error_count FROM "logs.default" WHERE severityText = 'ERROR' GROUP BY service`,
292
+ * language: "SQL"
293
+ * }
294
+ * }
295
+ * },
296
+ * spaceId: "a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d",
297
+ * updatedAt: "2026-09-16T14:22:31Z"
298
+ * }
299
+ * }
300
+ * *\/
301
+ * ```
302
+ *
303
+ * @example Create an alert on the number of matching rows
304
+ * ```javascript
305
+ * // The following example creates an alert whose threshold is compared against how many rows the query returns, rather than a value within them. COUNT_OF_RESULTS takes no thresholdField. Notifications are created disabled, so the alert evaluates and records state without sending anything, and an empty result set is treated as OK rather than as missing data. Payloads are shown as JSON; on the wire they are CBOR-encoded.
306
+ * const input = {
307
+ * description: "Counts checkout responses that returned a server error.",
308
+ * name: "service-checkout-5xx-responses",
309
+ * notificationsEnabled: false,
310
+ * profileId: "analyst-readonly",
311
+ * rule: {
312
+ * telemetryRule: {
313
+ * condition: {
314
+ * comparator: "GT",
315
+ * criticalThreshold: 50.0,
316
+ * thresholdMode: "COUNT_OF_RESULTS",
317
+ * warningThreshold: 10.0
318
+ * },
319
+ * evaluation: {
320
+ * intervalSeconds: 60,
321
+ * pendingDurationSeconds: 120
322
+ * },
323
+ * noData: {
324
+ * treatAs: "OK"
325
+ * },
326
+ * query: {
327
+ * expression: `SELECT * FROM "logs.default" WHERE resource['attributes']['service.name'] = 'checkout' AND attributes['http.response.status_code'] >= 500`,
328
+ * language: "SQL"
329
+ * }
330
+ * }
331
+ * },
332
+ * spaceId: "a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d"
333
+ * };
334
+ * const command = new CreateAlertCommand(input);
335
+ * const response = await client.send(command);
336
+ * /* response is
337
+ * {
338
+ * alert: {
339
+ * accountId: "123456789012",
340
+ * alertArn: "arn:aws:cloudwatch:us-east-1:123456789012:alert/d4e5f6a78b9c4d0e9f1a2b3c4d5e6f70",
341
+ * alertId: "d4e5f6a78b9c4d0e9f1a2b3c4d5e6f70",
342
+ * createdAt: "2026-09-16T14:22:31Z",
343
+ * description: "Counts checkout responses that returned a server error.",
344
+ * name: "service-checkout-5xx-responses",
345
+ * notificationStatus: "DISABLED",
346
+ * profileId: "analyst-readonly",
347
+ * rule: {
348
+ * telemetryRule: {
349
+ * condition: {
350
+ * comparator: "GT",
351
+ * criticalThreshold: 50.0,
352
+ * thresholdMode: "COUNT_OF_RESULTS",
353
+ * warningThreshold: 10.0
354
+ * },
355
+ * evaluation: {
356
+ * intervalSeconds: 60,
357
+ * pendingDurationSeconds: 120
358
+ * },
359
+ * noData: {
360
+ * treatAs: "OK"
361
+ * },
362
+ * query: {
363
+ * expression: `SELECT * FROM "logs.default" WHERE resource['attributes']['service.name'] = 'checkout' AND attributes['http.response.status_code'] >= 500`,
364
+ * language: "SQL"
365
+ * }
366
+ * }
367
+ * },
368
+ * spaceId: "a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d",
369
+ * updatedAt: "2026-09-16T14:22:31Z"
370
+ * }
371
+ * }
372
+ * *\/
373
+ * ```
374
+ *
375
+ * @example Create an alert from a PromQL query
376
+ * ```javascript
377
+ * // The following example creates an alert from a PromQL expression instead of SQL. A PromQL rule compares against the series value, which is carried as the `value` field, so the condition is FIELD_VALUE with thresholdField set to `value`. Notifications go to an Amazon SNS topic, whose ARN is the topic itself rather than an integration. Payloads are shown as JSON; on the wire they are CBOR-encoded.
378
+ * const input = {
379
+ * description: "Alerts on the checkout server error rate over a five-minute window.",
380
+ * name: "checkout-error-rate-promql",
381
+ * notificationRules: [
382
+ * {
383
+ * target: {
384
+ * arn: "arn:aws:sns:us-east-1:123456789012:checkout-oncall",
385
+ * type: "sns"
386
+ * },
387
+ * trigger: {
388
+ * stateValues: [
389
+ * "WARNING",
390
+ * "CRITICAL"
391
+ * ]
392
+ * }
393
+ * }
394
+ * ],
395
+ * profileId: "analyst-readonly",
396
+ * rule: {
397
+ * telemetryRule: {
398
+ * condition: {
399
+ * comparator: "GT",
400
+ * criticalThreshold: 0.1,
401
+ * thresholdField: "value",
402
+ * thresholdMode: "FIELD_VALUE",
403
+ * warningThreshold: 0.05
404
+ * },
405
+ * evaluation: {
406
+ * intervalSeconds: 300,
407
+ * pendingDurationSeconds: 300
408
+ * },
409
+ * noData: {
410
+ * treatAs: "NODATA"
411
+ * },
412
+ * query: {
413
+ * expression: `sum by (service_name) (rate(http_server_errors_total{service_name="checkout"}[5m]))`,
414
+ * language: "PROMQL"
415
+ * }
416
+ * }
417
+ * },
418
+ * spaceId: "a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d"
419
+ * };
420
+ * const command = new CreateAlertCommand(input);
421
+ * const response = await client.send(command);
422
+ * /* response is
423
+ * {
424
+ * alert: {
425
+ * accountId: "123456789012",
426
+ * alertArn: "arn:aws:cloudwatch:us-east-1:123456789012:alert/e5f6a78b9c0d4e1f8a2b3c4d5e6f7081",
427
+ * alertId: "e5f6a78b9c0d4e1f8a2b3c4d5e6f7081",
428
+ * createdAt: "2026-09-16T14:22:31Z",
429
+ * description: "Alerts on the checkout server error rate over a five-minute window.",
430
+ * name: "checkout-error-rate-promql",
431
+ * notificationRules: [
432
+ * {
433
+ * target: {
434
+ * arn: "arn:aws:sns:us-east-1:123456789012:checkout-oncall",
435
+ * type: "sns"
436
+ * },
437
+ * trigger: {
438
+ * stateValues: [
439
+ * "WARNING",
440
+ * "CRITICAL"
441
+ * ]
442
+ * }
443
+ * }
444
+ * ],
445
+ * notificationStatus: "ENABLED",
446
+ * profileId: "analyst-readonly",
447
+ * rule: {
448
+ * telemetryRule: {
449
+ * condition: {
450
+ * comparator: "GT",
451
+ * criticalThreshold: 0.1,
452
+ * thresholdField: "value",
453
+ * thresholdMode: "FIELD_VALUE",
454
+ * warningThreshold: 0.05
455
+ * },
456
+ * evaluation: {
457
+ * intervalSeconds: 300,
458
+ * pendingDurationSeconds: 300
459
+ * },
460
+ * noData: {
461
+ * treatAs: "NODATA"
462
+ * },
463
+ * query: {
464
+ * expression: `sum by (service_name) (rate(http_server_errors_total{service_name="checkout"}[5m]))`,
465
+ * language: "PROMQL"
466
+ * }
467
+ * }
468
+ * },
469
+ * spaceId: "a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d",
470
+ * updatedAt: "2026-09-16T14:22:31Z"
471
+ * }
472
+ * }
473
+ * *\/
474
+ * ```
475
+ *
476
+ * @public
477
+ */
478
+ export declare class CreateAlertCommand extends CreateAlertCommand_base {
479
+ /** @internal type navigation helper, not in runtime. */
480
+ protected static __types: {
481
+ api: {
482
+ input: CreateAlertInput;
483
+ output: CreateAlertOutput;
484
+ };
485
+ sdk: {
486
+ input: CreateAlertCommandInput;
487
+ output: CreateAlertCommandOutput;
488
+ };
489
+ };
490
+ }
@@ -0,0 +1,169 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { CreateDomainAccessGrantForOrganizationInput, CreateDomainAccessGrantForOrganizationOutput } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link CreateDomainAccessGrantForOrganizationCommand}.
11
+ */
12
+ export interface CreateDomainAccessGrantForOrganizationCommandInput extends CreateDomainAccessGrantForOrganizationInput {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link CreateDomainAccessGrantForOrganizationCommand}.
18
+ */
19
+ export interface CreateDomainAccessGrantForOrganizationCommandOutput extends CreateDomainAccessGrantForOrganizationOutput, __MetadataBearer {
20
+ }
21
+ declare const CreateDomainAccessGrantForOrganizationCommand_base: {
22
+ new (input: CreateDomainAccessGrantForOrganizationCommandInput): import("@smithy/core/client").CommandImpl<CreateDomainAccessGrantForOrganizationCommandInput, CreateDomainAccessGrantForOrganizationCommandOutput, import("..").CloudWatchOmniClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateDomainAccessGrantForOrganizationCommandInput): import("@smithy/core/client").CommandImpl<CreateDomainAccessGrantForOrganizationCommandInput, CreateDomainAccessGrantForOrganizationCommandOutput, import("..").CloudWatchOmniClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * Creates an AccessGrant that authorizes a principal to administer an
28
+ * organization domain.
29
+ * @example
30
+ * Use a bare-bones client and the command you need to make an API call.
31
+ * ```javascript
32
+ * import { CloudWatchOmniClient, CreateDomainAccessGrantForOrganizationCommand } from "@aws-sdk/client-cloudwatchomni"; // ES Modules import
33
+ * // const { CloudWatchOmniClient, CreateDomainAccessGrantForOrganizationCommand } = require("@aws-sdk/client-cloudwatchomni"); // CommonJS import
34
+ * // import type { CloudWatchOmniClientConfig } from "@aws-sdk/client-cloudwatchomni";
35
+ * const config = {}; // type is CloudWatchOmniClientConfig
36
+ * const client = new CloudWatchOmniClient(config);
37
+ * const input = { // CreateDomainAccessGrantForOrganizationInput
38
+ * domainId: "STRING_VALUE", // required
39
+ * name: "STRING_VALUE", // required
40
+ * principal: { // OrganizationAccessGrantPrincipal
41
+ * principalType: "IDC_USER" || "IDC_GROUP" || "IAM_USER" || "IAM_ROLE" || "IAM_ROOT", // required
42
+ * principalId: "STRING_VALUE",
43
+ * principalAttributes: [ // AccessGrantPrincipalAttributeList
44
+ * { // AccessGrantPrincipalAttribute
45
+ * key: "STRING_VALUE", // required
46
+ * value: "STRING_VALUE", // required
47
+ * },
48
+ * ],
49
+ * },
50
+ * permission: "ADMIN", // required
51
+ * tags: { // TagMap
52
+ * "<keys>": "STRING_VALUE",
53
+ * },
54
+ * clientToken: "STRING_VALUE",
55
+ * };
56
+ * const command = new CreateDomainAccessGrantForOrganizationCommand(input);
57
+ * const response = await client.send(command);
58
+ * // { // CreateDomainAccessGrantForOrganizationOutput
59
+ * // accessGrant: { // OrganizationAccessGrant
60
+ * // grantId: "STRING_VALUE", // required
61
+ * // grantArn: "STRING_VALUE", // required
62
+ * // name: "STRING_VALUE",
63
+ * // domainId: "STRING_VALUE", // required
64
+ * // principal: { // OrganizationAccessGrantPrincipal
65
+ * // principalType: "IDC_USER" || "IDC_GROUP" || "IAM_USER" || "IAM_ROLE" || "IAM_ROOT", // required
66
+ * // principalId: "STRING_VALUE",
67
+ * // principalAttributes: [ // AccessGrantPrincipalAttributeList
68
+ * // { // AccessGrantPrincipalAttribute
69
+ * // key: "STRING_VALUE", // required
70
+ * // value: "STRING_VALUE", // required
71
+ * // },
72
+ * // ],
73
+ * // },
74
+ * // permission: "ADMIN", // required
75
+ * // grantType: "SERVICE_MANAGED" || "CUSTOMER_MANAGED", // required
76
+ * // createdBy: "STRING_VALUE", // required
77
+ * // createdAt: new Date("TIMESTAMP"), // required
78
+ * // updatedAt: new Date("TIMESTAMP"), // required
79
+ * // },
80
+ * // };
81
+ *
82
+ * ```
83
+ *
84
+ * @param CreateDomainAccessGrantForOrganizationCommandInput - {@link CreateDomainAccessGrantForOrganizationCommandInput}
85
+ * @returns {@link CreateDomainAccessGrantForOrganizationCommandOutput}
86
+ * @see {@link CreateDomainAccessGrantForOrganizationCommandInput} for command's `input` shape.
87
+ * @see {@link CreateDomainAccessGrantForOrganizationCommandOutput} for command's `response` shape.
88
+ * @see {@link CloudWatchOmniClientResolvedConfig | config} for CloudWatchOmniClient's `config` shape.
89
+ *
90
+ * @throws {@link AccessDeniedException} (client fault)
91
+ * The caller is not authorized to perform this action.
92
+ *
93
+ * @throws {@link ConflictException} (client fault)
94
+ * The operation could not be completed because of a conflict with the current
95
+ * state of the resource.
96
+ *
97
+ * @throws {@link InternalServerException} (server fault)
98
+ * An unexpected error occurred while processing the request.
99
+ *
100
+ * @throws {@link ResourceNotFoundException} (client fault)
101
+ * The specified resource does not exist.
102
+ *
103
+ * @throws {@link ServiceQuotaExceededException} (client fault)
104
+ * A service quota was exceeded.
105
+ *
106
+ * @throws {@link ThrottlingException} (client fault)
107
+ * The request was throttled due to exceeding the allowed request rate.
108
+ *
109
+ * @throws {@link ValidationException} (client fault)
110
+ * A parameter is specified incorrectly.
111
+ *
112
+ * @throws {@link CloudWatchOmniServiceException}
113
+ * <p>Base exception class for all service exceptions from CloudWatchOmni service.</p>
114
+ *
115
+ *
116
+ * @example Create an organization domain access grant
117
+ * ```javascript
118
+ * // The following example grants an Identity Center user administrative access to an organization domain. Payloads are shown as JSON; on the wire they are CBOR-encoded.
119
+ * const input = {
120
+ * clientToken: "3f2a9c1e-7b04-4d8a-9e15-6c2b8d0f4a73",
121
+ * domainId: "d-1a2b3c4d5e",
122
+ * name: "org-domain-admin",
123
+ * permission: "ADMIN",
124
+ * principal: {
125
+ * principalId: "94b6c7d8-1a2b-4c3d-9e4f-5a6b7c8d9e0f",
126
+ * principalType: "IDC_USER"
127
+ * },
128
+ * tags: {
129
+ * Team: "observability"
130
+ * }
131
+ * };
132
+ * const command = new CreateDomainAccessGrantForOrganizationCommand(input);
133
+ * const response = await client.send(command);
134
+ * /* response is
135
+ * {
136
+ * accessGrant: {
137
+ * createdAt: "2026-09-16T14:22:31Z",
138
+ * createdBy: "arn:aws:iam::123456789012:role/ObservabilityAdmin",
139
+ * domainId: "d-1a2b3c4d5e",
140
+ * grantArn: "arn:aws:cloudwatch:us-east-1:123456789012:organization-access-grant/7f3e9d21-4c8b-4f6a-b1d2-3e4f5a6b7c8d",
141
+ * grantId: "7f3e9d21-4c8b-4f6a-b1d2-3e4f5a6b7c8d",
142
+ * grantType: "CUSTOMER_MANAGED",
143
+ * name: "org-domain-admin",
144
+ * permission: "ADMIN",
145
+ * principal: {
146
+ * principalId: "94b6c7d8-1a2b-4c3d-9e4f-5a6b7c8d9e0f",
147
+ * principalType: "IDC_USER"
148
+ * },
149
+ * updatedAt: "2026-09-16T14:22:31Z"
150
+ * }
151
+ * }
152
+ * *\/
153
+ * ```
154
+ *
155
+ * @public
156
+ */
157
+ export declare class CreateDomainAccessGrantForOrganizationCommand extends CreateDomainAccessGrantForOrganizationCommand_base {
158
+ /** @internal type navigation helper, not in runtime. */
159
+ protected static __types: {
160
+ api: {
161
+ input: CreateDomainAccessGrantForOrganizationInput;
162
+ output: CreateDomainAccessGrantForOrganizationOutput;
163
+ };
164
+ sdk: {
165
+ input: CreateDomainAccessGrantForOrganizationCommandInput;
166
+ output: CreateDomainAccessGrantForOrganizationCommandOutput;
167
+ };
168
+ };
169
+ }