oci-opsi 2.9.0 → 2.11.1

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 (1018) hide show
  1. package/index.d.ts +1 -1
  2. package/index.js +1 -1
  3. package/lib/client.d.ts +304 -79
  4. package/lib/client.js +1767 -315
  5. package/lib/client.js.map +1 -1
  6. package/lib/model/action-type.d.ts +1 -1
  7. package/lib/model/action-type.js +1 -1
  8. package/lib/model/add-em-managed-external-exadata-insight-members-details.d.ts +1 -1
  9. package/lib/model/add-em-managed-external-exadata-insight-members-details.js +1 -1
  10. package/lib/model/add-exadata-insight-members-details.d.ts +1 -1
  11. package/lib/model/add-exadata-insight-members-details.js +1 -1
  12. package/lib/model/autonomous-database-configuration-summary.d.ts +1 -1
  13. package/lib/model/autonomous-database-configuration-summary.js +1 -1
  14. package/lib/model/autonomous-database-insight-summary.d.ts +1 -1
  15. package/lib/model/autonomous-database-insight-summary.js +1 -1
  16. package/lib/model/autonomous-database-insight.d.ts +1 -1
  17. package/lib/model/autonomous-database-insight.js +1 -1
  18. package/lib/model/awr-hub-lifecycle-state.d.ts +35 -0
  19. package/lib/model/awr-hub-lifecycle-state.js +46 -0
  20. package/lib/model/awr-hub-lifecycle-state.js.map +1 -0
  21. package/lib/model/awr-hub-summary-collection.d.ts +29 -0
  22. package/lib/model/awr-hub-summary-collection.js +64 -0
  23. package/lib/model/awr-hub-summary-collection.js.map +1 -0
  24. package/lib/model/awr-hub-summary.d.ts +93 -0
  25. package/lib/model/awr-hub-summary.js +32 -0
  26. package/lib/model/awr-hub-summary.js.map +1 -0
  27. package/lib/model/awr-hub.d.ts +93 -0
  28. package/lib/model/awr-hub.js +32 -0
  29. package/lib/model/awr-hub.js.map +1 -0
  30. package/lib/model/awr-hubs.d.ts +28 -0
  31. package/lib/model/awr-hubs.js +32 -0
  32. package/lib/model/awr-hubs.js.map +1 -0
  33. package/lib/model/awr-report-format-type.d.ts +31 -0
  34. package/lib/model/awr-report-format-type.js +42 -0
  35. package/lib/model/awr-report-format-type.js.map +1 -0
  36. package/lib/model/awr-report.d.ts +33 -0
  37. package/lib/model/awr-report.js +32 -0
  38. package/lib/model/awr-report.js.map +1 -0
  39. package/lib/model/awr-snapshot-collection.d.ts +29 -0
  40. package/lib/model/awr-snapshot-collection.js +64 -0
  41. package/lib/model/awr-snapshot-collection.js.map +1 -0
  42. package/lib/model/awr-snapshot-summary.d.ts +52 -0
  43. package/lib/model/awr-snapshot-summary.js +32 -0
  44. package/lib/model/awr-snapshot-summary.js.map +1 -0
  45. package/lib/model/awr-source-summary.d.ts +60 -0
  46. package/lib/model/awr-source-summary.js +32 -0
  47. package/lib/model/awr-source-summary.js.map +1 -0
  48. package/lib/model/change-database-insight-compartment-details.d.ts +1 -1
  49. package/lib/model/change-database-insight-compartment-details.js +1 -1
  50. package/lib/model/change-enterprise-manager-bridge-compartment-details.d.ts +1 -1
  51. package/lib/model/change-enterprise-manager-bridge-compartment-details.js +1 -1
  52. package/lib/model/change-exadata-insight-compartment-details.d.ts +1 -1
  53. package/lib/model/change-exadata-insight-compartment-details.js +1 -1
  54. package/lib/model/change-host-insight-compartment-details.d.ts +1 -1
  55. package/lib/model/change-host-insight-compartment-details.js +1 -1
  56. package/lib/model/connection-details.d.ts +1 -1
  57. package/lib/model/connection-details.js +1 -1
  58. package/lib/model/create-awr-hub-details.d.ts +58 -0
  59. package/lib/model/create-awr-hub-details.js +32 -0
  60. package/lib/model/create-awr-hub-details.js.map +1 -0
  61. package/lib/model/create-database-insight-details.d.ts +1 -1
  62. package/lib/model/create-database-insight-details.js +1 -1
  63. package/lib/model/create-em-managed-external-database-insight-details.d.ts +1 -1
  64. package/lib/model/create-em-managed-external-database-insight-details.js +1 -1
  65. package/lib/model/create-em-managed-external-exadata-insight-details.d.ts +1 -1
  66. package/lib/model/create-em-managed-external-exadata-insight-details.js +1 -1
  67. package/lib/model/create-em-managed-external-exadata-member-entity-details.d.ts +1 -1
  68. package/lib/model/create-em-managed-external-exadata-member-entity-details.js +1 -1
  69. package/lib/model/create-em-managed-external-host-insight-details.d.ts +1 -1
  70. package/lib/model/create-em-managed-external-host-insight-details.js +1 -1
  71. package/lib/model/create-enterprise-manager-bridge-details.d.ts +1 -1
  72. package/lib/model/create-enterprise-manager-bridge-details.js +1 -1
  73. package/lib/model/create-exadata-insight-details.d.ts +1 -1
  74. package/lib/model/create-exadata-insight-details.js +1 -1
  75. package/lib/model/create-host-insight-details.d.ts +1 -1
  76. package/lib/model/create-host-insight-details.js +1 -1
  77. package/lib/model/create-macs-managed-external-host-insight-details.d.ts +1 -1
  78. package/lib/model/create-macs-managed-external-host-insight-details.js +1 -1
  79. package/lib/model/create-operations-insights-warehouse-details.d.ts +60 -0
  80. package/lib/model/create-operations-insights-warehouse-details.js +32 -0
  81. package/lib/model/create-operations-insights-warehouse-details.js.map +1 -0
  82. package/lib/model/create-operations-insights-warehouse-user-details.d.ts +70 -0
  83. package/lib/model/create-operations-insights-warehouse-user-details.js +32 -0
  84. package/lib/model/create-operations-insights-warehouse-user-details.js.map +1 -0
  85. package/lib/model/credential-details.d.ts +1 -1
  86. package/lib/model/credential-details.js +1 -1
  87. package/lib/model/credentials-by-source.d.ts +1 -1
  88. package/lib/model/credentials-by-source.js +1 -1
  89. package/lib/model/d-bexternal-instance.d.ts +1 -1
  90. package/lib/model/d-bexternal-instance.js +1 -1
  91. package/lib/model/d-bexternal-properties.d.ts +1 -1
  92. package/lib/model/d-bexternal-properties.js +1 -1
  93. package/lib/model/d-bo-sconfig-instance.d.ts +1 -1
  94. package/lib/model/d-bo-sconfig-instance.js +1 -1
  95. package/lib/model/database-configuration-collection.d.ts +1 -1
  96. package/lib/model/database-configuration-collection.js +1 -1
  97. package/lib/model/database-configuration-metric-group.d.ts +1 -1
  98. package/lib/model/database-configuration-metric-group.js +1 -1
  99. package/lib/model/database-configuration-summary.d.ts +1 -1
  100. package/lib/model/database-configuration-summary.js +1 -1
  101. package/lib/model/database-details.d.ts +1 -1
  102. package/lib/model/database-details.js +1 -1
  103. package/lib/model/database-entity-source-all.d.ts +1 -1
  104. package/lib/model/database-entity-source-all.js +1 -1
  105. package/lib/model/database-entity-source.d.ts +1 -1
  106. package/lib/model/database-entity-source.js +1 -1
  107. package/lib/model/database-insight-summary.d.ts +1 -1
  108. package/lib/model/database-insight-summary.js +1 -1
  109. package/lib/model/database-insight.d.ts +1 -1
  110. package/lib/model/database-insight.js +1 -1
  111. package/lib/model/database-insights-collection.d.ts +1 -1
  112. package/lib/model/database-insights-collection.js +1 -1
  113. package/lib/model/database-insights.d.ts +1 -1
  114. package/lib/model/database-insights.js +1 -1
  115. package/lib/model/database.d.ts +1 -1
  116. package/lib/model/database.js +1 -1
  117. package/lib/model/disk-group-details.d.ts +1 -1
  118. package/lib/model/disk-group-details.js +1 -1
  119. package/lib/model/disk-group.d.ts +1 -1
  120. package/lib/model/disk-group.js +1 -1
  121. package/lib/model/download-operations-insights-warehouse-wallet-details.d.ts +28 -0
  122. package/lib/model/download-operations-insights-warehouse-wallet-details.js +32 -0
  123. package/lib/model/download-operations-insights-warehouse-wallet-details.js.map +1 -0
  124. package/lib/model/em-managed-external-database-configuration-summary.d.ts +1 -1
  125. package/lib/model/em-managed-external-database-configuration-summary.js +1 -1
  126. package/lib/model/em-managed-external-database-insight-summary.d.ts +1 -1
  127. package/lib/model/em-managed-external-database-insight-summary.js +1 -1
  128. package/lib/model/em-managed-external-database-insight.d.ts +1 -1
  129. package/lib/model/em-managed-external-database-insight.js +1 -1
  130. package/lib/model/em-managed-external-exadata-insight-summary.d.ts +1 -1
  131. package/lib/model/em-managed-external-exadata-insight-summary.js +1 -1
  132. package/lib/model/em-managed-external-exadata-insight.d.ts +1 -1
  133. package/lib/model/em-managed-external-exadata-insight.js +1 -1
  134. package/lib/model/em-managed-external-host-configuration-summary.d.ts +1 -1
  135. package/lib/model/em-managed-external-host-configuration-summary.js +1 -1
  136. package/lib/model/em-managed-external-host-insight-summary.d.ts +6 -1
  137. package/lib/model/em-managed-external-host-insight-summary.js +3 -1
  138. package/lib/model/em-managed-external-host-insight-summary.js.map +1 -1
  139. package/lib/model/em-managed-external-host-insight.d.ts +6 -1
  140. package/lib/model/em-managed-external-host-insight.js +3 -1
  141. package/lib/model/em-managed-external-host-insight.js.map +1 -1
  142. package/lib/model/enable-database-insight-details.d.ts +1 -1
  143. package/lib/model/enable-database-insight-details.js +1 -1
  144. package/lib/model/enable-em-managed-external-database-insight-details.d.ts +1 -1
  145. package/lib/model/enable-em-managed-external-database-insight-details.js +1 -1
  146. package/lib/model/enable-em-managed-external-exadata-insight-details.d.ts +1 -1
  147. package/lib/model/enable-em-managed-external-exadata-insight-details.js +1 -1
  148. package/lib/model/enable-em-managed-external-host-insight-details.d.ts +1 -1
  149. package/lib/model/enable-em-managed-external-host-insight-details.js +1 -1
  150. package/lib/model/enable-exadata-insight-details.d.ts +1 -1
  151. package/lib/model/enable-exadata-insight-details.js +1 -1
  152. package/lib/model/enable-host-insight-details.d.ts +1 -1
  153. package/lib/model/enable-host-insight-details.js +1 -1
  154. package/lib/model/enable-macs-managed-external-host-insight-details.d.ts +1 -1
  155. package/lib/model/enable-macs-managed-external-host-insight-details.js +1 -1
  156. package/lib/model/enterprise-manager-bridge-collection.d.ts +1 -1
  157. package/lib/model/enterprise-manager-bridge-collection.js +1 -1
  158. package/lib/model/enterprise-manager-bridge-summary.d.ts +1 -1
  159. package/lib/model/enterprise-manager-bridge-summary.js +1 -1
  160. package/lib/model/enterprise-manager-bridge.d.ts +1 -1
  161. package/lib/model/enterprise-manager-bridge.js +1 -1
  162. package/lib/model/enterprise-manager-bridges.d.ts +1 -1
  163. package/lib/model/enterprise-manager-bridges.js +1 -1
  164. package/lib/model/exadata-configuration-collection.d.ts +1 -1
  165. package/lib/model/exadata-configuration-collection.js +1 -1
  166. package/lib/model/exadata-configuration-summary.d.ts +1 -1
  167. package/lib/model/exadata-configuration-summary.js +1 -1
  168. package/lib/model/exadata-database-machine-configuration-summary.d.ts +1 -1
  169. package/lib/model/exadata-database-machine-configuration-summary.js +1 -1
  170. package/lib/model/exadata-database-statistics-summary.d.ts +1 -1
  171. package/lib/model/exadata-database-statistics-summary.js +1 -1
  172. package/lib/model/exadata-details.d.ts +1 -1
  173. package/lib/model/exadata-details.js +1 -1
  174. package/lib/model/exadata-diskgroup-statistics-summary.d.ts +1 -1
  175. package/lib/model/exadata-diskgroup-statistics-summary.js +1 -1
  176. package/lib/model/exadata-entity-source.d.ts +1 -1
  177. package/lib/model/exadata-entity-source.js +1 -1
  178. package/lib/model/exadata-host-statistics-summary.d.ts +1 -1
  179. package/lib/model/exadata-host-statistics-summary.js +1 -1
  180. package/lib/model/exadata-insight-lifecycle-state.d.ts +1 -1
  181. package/lib/model/exadata-insight-lifecycle-state.js +1 -1
  182. package/lib/model/exadata-insight-resource-capacity-trend-aggregation.d.ts +1 -1
  183. package/lib/model/exadata-insight-resource-capacity-trend-aggregation.js +1 -1
  184. package/lib/model/exadata-insight-resource-capacity-trend-summary.d.ts +1 -1
  185. package/lib/model/exadata-insight-resource-capacity-trend-summary.js +1 -1
  186. package/lib/model/exadata-insight-resource-forecast-trend-summary.d.ts +1 -1
  187. package/lib/model/exadata-insight-resource-forecast-trend-summary.js +1 -1
  188. package/lib/model/exadata-insight-resource-insight-utilization-item.d.ts +1 -1
  189. package/lib/model/exadata-insight-resource-insight-utilization-item.js +1 -1
  190. package/lib/model/exadata-insight-resource-statistics-aggregation.d.ts +1 -1
  191. package/lib/model/exadata-insight-resource-statistics-aggregation.js +1 -1
  192. package/lib/model/exadata-insight-resource-statistics.d.ts +1 -1
  193. package/lib/model/exadata-insight-resource-statistics.js +1 -1
  194. package/lib/model/exadata-insight-summary-collection.d.ts +1 -1
  195. package/lib/model/exadata-insight-summary-collection.js +1 -1
  196. package/lib/model/exadata-insight-summary.d.ts +1 -1
  197. package/lib/model/exadata-insight-summary.js +1 -1
  198. package/lib/model/exadata-insight.d.ts +1 -1
  199. package/lib/model/exadata-insight.js +1 -1
  200. package/lib/model/exadata-insights.d.ts +1 -1
  201. package/lib/model/exadata-insights.js +1 -1
  202. package/lib/model/exadata-member-collection.d.ts +1 -1
  203. package/lib/model/exadata-member-collection.js +1 -1
  204. package/lib/model/exadata-member-summary.d.ts +1 -1
  205. package/lib/model/exadata-member-summary.js +1 -1
  206. package/lib/model/exadata-rack-type.d.ts +1 -1
  207. package/lib/model/exadata-rack-type.js +1 -1
  208. package/lib/model/exadata-storage-server-statistics-summary.d.ts +1 -1
  209. package/lib/model/exadata-storage-server-statistics-summary.js +1 -1
  210. package/lib/model/exadata-type.d.ts +1 -1
  211. package/lib/model/exadata-type.js +1 -1
  212. package/lib/model/historical-data-item.d.ts +1 -1
  213. package/lib/model/historical-data-item.js +1 -1
  214. package/lib/model/host-configuration-collection.d.ts +1 -1
  215. package/lib/model/host-configuration-collection.js +1 -1
  216. package/lib/model/host-configuration-metric-group.d.ts +1 -1
  217. package/lib/model/host-configuration-metric-group.js +1 -1
  218. package/lib/model/host-configuration-summary.d.ts +6 -1
  219. package/lib/model/host-configuration-summary.js +3 -1
  220. package/lib/model/host-configuration-summary.js.map +1 -1
  221. package/lib/model/host-cpu-hardware-configuration.d.ts +1 -1
  222. package/lib/model/host-cpu-hardware-configuration.js +1 -1
  223. package/lib/model/host-cpu-statistics.d.ts +1 -1
  224. package/lib/model/host-cpu-statistics.js +1 -1
  225. package/lib/model/host-cpu-usage.d.ts +1 -1
  226. package/lib/model/host-cpu-usage.js +1 -1
  227. package/lib/model/host-details.d.ts +6 -1
  228. package/lib/model/host-details.js +3 -1
  229. package/lib/model/host-details.js.map +1 -1
  230. package/lib/model/host-entities.d.ts +1 -1
  231. package/lib/model/host-entities.js +1 -1
  232. package/lib/model/host-entity-source.d.ts +1 -1
  233. package/lib/model/host-entity-source.js +1 -1
  234. package/lib/model/host-hardware-configuration.d.ts +1 -1
  235. package/lib/model/host-hardware-configuration.js +1 -1
  236. package/lib/model/host-importable-agent-entity-summary.d.ts +6 -1
  237. package/lib/model/host-importable-agent-entity-summary.js +3 -1
  238. package/lib/model/host-importable-agent-entity-summary.js.map +1 -1
  239. package/lib/model/host-insight-resource-statistics-aggregation.d.ts +1 -1
  240. package/lib/model/host-insight-resource-statistics-aggregation.js +1 -1
  241. package/lib/model/host-insight-summary-collection.d.ts +1 -1
  242. package/lib/model/host-insight-summary-collection.js +1 -1
  243. package/lib/model/host-insight-summary.d.ts +1 -1
  244. package/lib/model/host-insight-summary.js +1 -1
  245. package/lib/model/host-insight.d.ts +1 -1
  246. package/lib/model/host-insight.js +1 -1
  247. package/lib/model/host-insights.d.ts +1 -1
  248. package/lib/model/host-insights.js +1 -1
  249. package/lib/model/host-instance-map.d.ts +1 -1
  250. package/lib/model/host-instance-map.js +1 -1
  251. package/lib/model/host-memory-configuration.d.ts +1 -1
  252. package/lib/model/host-memory-configuration.js +1 -1
  253. package/lib/model/host-memory-statistics.d.ts +1 -1
  254. package/lib/model/host-memory-statistics.js +1 -1
  255. package/lib/model/host-memory-usage.d.ts +1 -1
  256. package/lib/model/host-memory-usage.js +1 -1
  257. package/lib/model/host-network-activity-summary.d.ts +1 -1
  258. package/lib/model/host-network-activity-summary.js +1 -1
  259. package/lib/model/host-network-configuration.d.ts +1 -1
  260. package/lib/model/host-network-configuration.js +1 -1
  261. package/lib/model/host-performance-metric-group.d.ts +1 -1
  262. package/lib/model/host-performance-metric-group.js +1 -1
  263. package/lib/model/host-product.d.ts +1 -1
  264. package/lib/model/host-product.js +1 -1
  265. package/lib/model/host-resource-allocation.d.ts +1 -1
  266. package/lib/model/host-resource-allocation.js +1 -1
  267. package/lib/model/host-resource-capacity-trend-aggregation.d.ts +1 -1
  268. package/lib/model/host-resource-capacity-trend-aggregation.js +1 -1
  269. package/lib/model/host-resource-statistics.d.ts +1 -1
  270. package/lib/model/host-resource-statistics.js +1 -1
  271. package/lib/model/host.d.ts +1 -1
  272. package/lib/model/host.js +1 -1
  273. package/lib/model/hosted-entity-collection.d.ts +1 -1
  274. package/lib/model/hosted-entity-collection.js +1 -1
  275. package/lib/model/hosted-entity-summary.d.ts +1 -1
  276. package/lib/model/hosted-entity-summary.js +1 -1
  277. package/lib/model/importable-agent-entity-source.d.ts +1 -1
  278. package/lib/model/importable-agent-entity-source.js +1 -1
  279. package/lib/model/importable-agent-entity-summary-collection.d.ts +1 -1
  280. package/lib/model/importable-agent-entity-summary-collection.js +1 -1
  281. package/lib/model/importable-agent-entity-summary.d.ts +1 -1
  282. package/lib/model/importable-agent-entity-summary.js +1 -1
  283. package/lib/model/importable-enterprise-manager-entity-collection.d.ts +1 -1
  284. package/lib/model/importable-enterprise-manager-entity-collection.js +1 -1
  285. package/lib/model/importable-enterprise-manager-entity.d.ts +1 -1
  286. package/lib/model/importable-enterprise-manager-entity.js +1 -1
  287. package/lib/model/index.d.ts +65 -1
  288. package/lib/model/index.js +71 -6
  289. package/lib/model/index.js.map +1 -1
  290. package/lib/model/ingest-database-configuration-details.d.ts +1 -1
  291. package/lib/model/ingest-database-configuration-details.js +1 -1
  292. package/lib/model/ingest-database-configuration-response-details.d.ts +1 -1
  293. package/lib/model/ingest-database-configuration-response-details.js +1 -1
  294. package/lib/model/ingest-host-configuration-details.d.ts +1 -1
  295. package/lib/model/ingest-host-configuration-details.js +1 -1
  296. package/lib/model/ingest-host-configuration-response-details.d.ts +1 -1
  297. package/lib/model/ingest-host-configuration-response-details.js +1 -1
  298. package/lib/model/ingest-host-metrics-details.d.ts +1 -1
  299. package/lib/model/ingest-host-metrics-details.js +1 -1
  300. package/lib/model/ingest-host-metrics-response-details.d.ts +1 -1
  301. package/lib/model/ingest-host-metrics-response-details.js +1 -1
  302. package/lib/model/ingest-sql-bucket-details.d.ts +1 -1
  303. package/lib/model/ingest-sql-bucket-details.js +1 -1
  304. package/lib/model/ingest-sql-bucket-response-details.d.ts +1 -1
  305. package/lib/model/ingest-sql-bucket-response-details.js +1 -1
  306. package/lib/model/ingest-sql-plan-lines-details.d.ts +1 -1
  307. package/lib/model/ingest-sql-plan-lines-details.js +1 -1
  308. package/lib/model/ingest-sql-plan-lines-response-details.d.ts +1 -1
  309. package/lib/model/ingest-sql-plan-lines-response-details.js +1 -1
  310. package/lib/model/ingest-sql-stats-details.d.ts +30 -0
  311. package/lib/model/ingest-sql-stats-details.js +64 -0
  312. package/lib/model/ingest-sql-stats-details.js.map +1 -0
  313. package/lib/model/ingest-sql-stats-response-details.d.ts +30 -0
  314. package/lib/model/ingest-sql-stats-response-details.js +32 -0
  315. package/lib/model/ingest-sql-stats-response-details.js.map +1 -0
  316. package/lib/model/ingest-sql-text-details.d.ts +1 -1
  317. package/lib/model/ingest-sql-text-details.js +1 -1
  318. package/lib/model/ingest-sql-text-response-details.d.ts +1 -1
  319. package/lib/model/ingest-sql-text-response-details.js +1 -1
  320. package/lib/model/instance-metrics.d.ts +1 -1
  321. package/lib/model/instance-metrics.js +1 -1
  322. package/lib/model/lifecycle-state.d.ts +1 -1
  323. package/lib/model/lifecycle-state.js +1 -1
  324. package/lib/model/macs-managed-external-database-configuration-summary.d.ts +1 -1
  325. package/lib/model/macs-managed-external-database-configuration-summary.js +1 -1
  326. package/lib/model/macs-managed-external-database-insight-summary.d.ts +1 -1
  327. package/lib/model/macs-managed-external-database-insight-summary.js +1 -1
  328. package/lib/model/macs-managed-external-database-insight.d.ts +1 -1
  329. package/lib/model/macs-managed-external-database-insight.js +1 -1
  330. package/lib/model/macs-managed-external-host-configuration-summary.d.ts +1 -1
  331. package/lib/model/macs-managed-external-host-configuration-summary.js +1 -1
  332. package/lib/model/macs-managed-external-host-insight-summary.d.ts +6 -1
  333. package/lib/model/macs-managed-external-host-insight-summary.js +3 -1
  334. package/lib/model/macs-managed-external-host-insight-summary.js.map +1 -1
  335. package/lib/model/macs-managed-external-host-insight.d.ts +6 -1
  336. package/lib/model/macs-managed-external-host-insight.js +3 -1
  337. package/lib/model/macs-managed-external-host-insight.js.map +1 -1
  338. package/lib/model/operation-status.d.ts +1 -1
  339. package/lib/model/operation-status.js +1 -1
  340. package/lib/model/operation-type.d.ts +14 -1
  341. package/lib/model/operation-type.js +14 -1
  342. package/lib/model/operation-type.js.map +1 -1
  343. package/lib/model/operations-insights-warehouse-lifecycle-state.d.ts +35 -0
  344. package/lib/model/operations-insights-warehouse-lifecycle-state.js +46 -0
  345. package/lib/model/operations-insights-warehouse-lifecycle-state.js.map +1 -0
  346. package/lib/model/operations-insights-warehouse-summary-collection.d.ts +29 -0
  347. package/lib/model/operations-insights-warehouse-summary-collection.js +64 -0
  348. package/lib/model/operations-insights-warehouse-summary-collection.js.map +1 -0
  349. package/lib/model/operations-insights-warehouse-summary.d.ts +113 -0
  350. package/lib/model/operations-insights-warehouse-summary.js +32 -0
  351. package/lib/model/operations-insights-warehouse-summary.js.map +1 -0
  352. package/lib/model/operations-insights-warehouse-user-lifecycle-state.d.ts +35 -0
  353. package/lib/model/operations-insights-warehouse-user-lifecycle-state.js +46 -0
  354. package/lib/model/operations-insights-warehouse-user-lifecycle-state.js.map +1 -0
  355. package/lib/model/operations-insights-warehouse-user-summary-collection.d.ts +29 -0
  356. package/lib/model/operations-insights-warehouse-user-summary-collection.js +64 -0
  357. package/lib/model/operations-insights-warehouse-user-summary-collection.js.map +1 -0
  358. package/lib/model/operations-insights-warehouse-user-summary.d.ts +101 -0
  359. package/lib/model/operations-insights-warehouse-user-summary.js +32 -0
  360. package/lib/model/operations-insights-warehouse-user-summary.js.map +1 -0
  361. package/lib/model/operations-insights-warehouse-user.d.ts +101 -0
  362. package/lib/model/operations-insights-warehouse-user.js +32 -0
  363. package/lib/model/operations-insights-warehouse-user.js.map +1 -0
  364. package/lib/model/operations-insights-warehouse-users.d.ts +28 -0
  365. package/lib/model/operations-insights-warehouse-users.js +32 -0
  366. package/lib/model/operations-insights-warehouse-users.js.map +1 -0
  367. package/lib/model/operations-insights-warehouse.d.ts +113 -0
  368. package/lib/model/operations-insights-warehouse.js +32 -0
  369. package/lib/model/operations-insights-warehouse.js.map +1 -0
  370. package/lib/model/operations-insights-warehouses.d.ts +28 -0
  371. package/lib/model/operations-insights-warehouses.js +32 -0
  372. package/lib/model/operations-insights-warehouses.js.map +1 -0
  373. package/lib/model/projected-data-item.d.ts +1 -1
  374. package/lib/model/projected-data-item.js +1 -1
  375. package/lib/model/resource-capacity-trend-aggregation.d.ts +1 -1
  376. package/lib/model/resource-capacity-trend-aggregation.js +1 -1
  377. package/lib/model/resource-insight-current-utilization.d.ts +1 -1
  378. package/lib/model/resource-insight-current-utilization.js +1 -1
  379. package/lib/model/resource-insight-projected-utilization-item.d.ts +1 -1
  380. package/lib/model/resource-insight-projected-utilization-item.js +1 -1
  381. package/lib/model/resource-insight-projected-utilization.d.ts +1 -1
  382. package/lib/model/resource-insight-projected-utilization.js +1 -1
  383. package/lib/model/resource-statistics-aggregation.d.ts +1 -1
  384. package/lib/model/resource-statistics-aggregation.js +1 -1
  385. package/lib/model/resource-statistics.d.ts +1 -1
  386. package/lib/model/resource-statistics.js +1 -1
  387. package/lib/model/resource-status.d.ts +1 -1
  388. package/lib/model/resource-status.js +1 -1
  389. package/lib/model/resource-usage-summary.d.ts +1 -1
  390. package/lib/model/resource-usage-summary.js +1 -1
  391. package/lib/model/resource-usage-trend-aggregation.d.ts +1 -1
  392. package/lib/model/resource-usage-trend-aggregation.js +1 -1
  393. package/lib/model/sort-order.d.ts +1 -1
  394. package/lib/model/sort-order.js +1 -1
  395. package/lib/model/sql-bucket.d.ts +1 -1
  396. package/lib/model/sql-bucket.js +1 -1
  397. package/lib/model/sql-insight-aggregation-collection.d.ts +1 -1
  398. package/lib/model/sql-insight-aggregation-collection.js +1 -1
  399. package/lib/model/sql-insight-aggregation.d.ts +1 -1
  400. package/lib/model/sql-insight-aggregation.js +1 -1
  401. package/lib/model/sql-insight-thresholds.d.ts +1 -1
  402. package/lib/model/sql-insight-thresholds.js +1 -1
  403. package/lib/model/sql-inventory.d.ts +1 -1
  404. package/lib/model/sql-inventory.js +1 -1
  405. package/lib/model/sql-plan-collection.d.ts +1 -1
  406. package/lib/model/sql-plan-collection.js +1 -1
  407. package/lib/model/sql-plan-insight-aggregation-collection.d.ts +1 -1
  408. package/lib/model/sql-plan-insight-aggregation-collection.js +1 -1
  409. package/lib/model/sql-plan-insight-aggregation.d.ts +1 -1
  410. package/lib/model/sql-plan-insight-aggregation.js +1 -1
  411. package/lib/model/sql-plan-insights.d.ts +1 -1
  412. package/lib/model/sql-plan-insights.js +1 -1
  413. package/lib/model/sql-plan-line.d.ts +1 -1
  414. package/lib/model/sql-plan-line.js +1 -1
  415. package/lib/model/sql-plan-summary.d.ts +1 -1
  416. package/lib/model/sql-plan-summary.js +1 -1
  417. package/lib/model/sql-response-time-distribution-aggregation-collection.d.ts +1 -1
  418. package/lib/model/sql-response-time-distribution-aggregation-collection.js +1 -1
  419. package/lib/model/sql-response-time-distribution-aggregation.d.ts +1 -1
  420. package/lib/model/sql-response-time-distribution-aggregation.js +1 -1
  421. package/lib/model/sql-search-collection.d.ts +1 -1
  422. package/lib/model/sql-search-collection.js +1 -1
  423. package/lib/model/sql-search-summary.d.ts +1 -1
  424. package/lib/model/sql-search-summary.js +1 -1
  425. package/lib/model/sql-statistic-aggregation-collection.d.ts +1 -1
  426. package/lib/model/sql-statistic-aggregation-collection.js +1 -1
  427. package/lib/model/sql-statistic-aggregation.d.ts +1 -1
  428. package/lib/model/sql-statistic-aggregation.js +1 -1
  429. package/lib/model/sql-statistics-time-series-aggregation-collection.d.ts +1 -1
  430. package/lib/model/sql-statistics-time-series-aggregation-collection.js +1 -1
  431. package/lib/model/sql-statistics-time-series-aggregation.d.ts +1 -1
  432. package/lib/model/sql-statistics-time-series-aggregation.js +1 -1
  433. package/lib/model/sql-statistics-time-series-by-plan-aggregation-collection.d.ts +1 -1
  434. package/lib/model/sql-statistics-time-series-by-plan-aggregation-collection.js +1 -1
  435. package/lib/model/sql-statistics-time-series-by-plan-aggregation.d.ts +1 -1
  436. package/lib/model/sql-statistics-time-series-by-plan-aggregation.js +1 -1
  437. package/lib/model/sql-statistics-time-series.d.ts +1 -1
  438. package/lib/model/sql-statistics-time-series.js +1 -1
  439. package/lib/model/sql-statistics.d.ts +1 -1
  440. package/lib/model/sql-statistics.js +1 -1
  441. package/lib/model/sql-stats.d.ts +301 -0
  442. package/lib/model/sql-stats.js +32 -0
  443. package/lib/model/sql-stats.js.map +1 -0
  444. package/lib/model/sql-text-collection.d.ts +1 -1
  445. package/lib/model/sql-text-collection.js +1 -1
  446. package/lib/model/sql-text-summary.d.ts +1 -1
  447. package/lib/model/sql-text-summary.js +1 -1
  448. package/lib/model/sql-text.d.ts +1 -1
  449. package/lib/model/sql-text.js +1 -1
  450. package/lib/model/storage-server-details.d.ts +1 -1
  451. package/lib/model/storage-server-details.js +1 -1
  452. package/lib/model/storage-server.d.ts +1 -1
  453. package/lib/model/storage-server.js +1 -1
  454. package/lib/model/summarize-awr-sources-summaries-collection.d.ts +29 -0
  455. package/lib/model/summarize-awr-sources-summaries-collection.js +64 -0
  456. package/lib/model/summarize-awr-sources-summaries-collection.js.map +1 -0
  457. package/lib/model/summarize-database-insight-resource-capacity-trend-aggregation-collection.d.ts +1 -1
  458. package/lib/model/summarize-database-insight-resource-capacity-trend-aggregation-collection.js +1 -1
  459. package/lib/model/summarize-database-insight-resource-forecast-trend-aggregation.d.ts +1 -1
  460. package/lib/model/summarize-database-insight-resource-forecast-trend-aggregation.js +1 -1
  461. package/lib/model/summarize-database-insight-resource-statistics-aggregation-collection.d.ts +1 -1
  462. package/lib/model/summarize-database-insight-resource-statistics-aggregation-collection.js +1 -1
  463. package/lib/model/summarize-database-insight-resource-usage-aggregation.d.ts +1 -1
  464. package/lib/model/summarize-database-insight-resource-usage-aggregation.js +1 -1
  465. package/lib/model/summarize-database-insight-resource-usage-trend-aggregation-collection.d.ts +1 -1
  466. package/lib/model/summarize-database-insight-resource-usage-trend-aggregation-collection.js +1 -1
  467. package/lib/model/summarize-database-insight-resource-utilization-insight-aggregation.d.ts +1 -1
  468. package/lib/model/summarize-database-insight-resource-utilization-insight-aggregation.js +1 -1
  469. package/lib/model/summarize-database-insight-tablespace-usage-trend-aggregation-collection.d.ts +1 -1
  470. package/lib/model/summarize-database-insight-tablespace-usage-trend-aggregation-collection.js +1 -1
  471. package/lib/model/summarize-exadata-insight-resource-capacity-trend-aggregation.d.ts +1 -1
  472. package/lib/model/summarize-exadata-insight-resource-capacity-trend-aggregation.js +1 -1
  473. package/lib/model/summarize-exadata-insight-resource-capacity-trend-collection.d.ts +1 -1
  474. package/lib/model/summarize-exadata-insight-resource-capacity-trend-collection.js +1 -1
  475. package/lib/model/summarize-exadata-insight-resource-forecast-trend-aggregation.d.ts +1 -1
  476. package/lib/model/summarize-exadata-insight-resource-forecast-trend-aggregation.js +1 -1
  477. package/lib/model/summarize-exadata-insight-resource-forecast-trend-collection.d.ts +1 -1
  478. package/lib/model/summarize-exadata-insight-resource-forecast-trend-collection.js +1 -1
  479. package/lib/model/summarize-exadata-insight-resource-statistics-aggregation-collection.d.ts +1 -1
  480. package/lib/model/summarize-exadata-insight-resource-statistics-aggregation-collection.js +1 -1
  481. package/lib/model/summarize-exadata-insight-resource-usage-aggregation.d.ts +1 -1
  482. package/lib/model/summarize-exadata-insight-resource-usage-aggregation.js +1 -1
  483. package/lib/model/summarize-exadata-insight-resource-usage-collection.d.ts +1 -1
  484. package/lib/model/summarize-exadata-insight-resource-usage-collection.js +1 -1
  485. package/lib/model/summarize-exadata-insight-resource-utilization-insight-aggregation.d.ts +1 -1
  486. package/lib/model/summarize-exadata-insight-resource-utilization-insight-aggregation.js +1 -1
  487. package/lib/model/summarize-host-insight-resource-capacity-trend-aggregation-collection.d.ts +1 -1
  488. package/lib/model/summarize-host-insight-resource-capacity-trend-aggregation-collection.js +1 -1
  489. package/lib/model/summarize-host-insight-resource-forecast-trend-aggregation.d.ts +1 -1
  490. package/lib/model/summarize-host-insight-resource-forecast-trend-aggregation.js +1 -1
  491. package/lib/model/summarize-host-insight-resource-statistics-aggregation-collection.d.ts +1 -1
  492. package/lib/model/summarize-host-insight-resource-statistics-aggregation-collection.js +1 -1
  493. package/lib/model/summarize-host-insight-resource-usage-aggregation.d.ts +1 -1
  494. package/lib/model/summarize-host-insight-resource-usage-aggregation.js +1 -1
  495. package/lib/model/summarize-host-insight-resource-usage-trend-aggregation-collection.d.ts +1 -1
  496. package/lib/model/summarize-host-insight-resource-usage-trend-aggregation-collection.js +1 -1
  497. package/lib/model/summarize-host-insight-resource-utilization-insight-aggregation.d.ts +1 -1
  498. package/lib/model/summarize-host-insight-resource-utilization-insight-aggregation.js +1 -1
  499. package/lib/model/summarize-operations-insights-warehouse-resource-usage-aggregation.d.ts +43 -0
  500. package/lib/model/summarize-operations-insights-warehouse-resource-usage-aggregation.js +32 -0
  501. package/lib/model/summarize-operations-insights-warehouse-resource-usage-aggregation.js.map +1 -0
  502. package/lib/model/summary-statistics.d.ts +1 -1
  503. package/lib/model/summary-statistics.js +1 -1
  504. package/lib/model/tablespace-usage-trend-aggregation.d.ts +1 -1
  505. package/lib/model/tablespace-usage-trend-aggregation.js +1 -1
  506. package/lib/model/tablespace-usage-trend.d.ts +1 -1
  507. package/lib/model/tablespace-usage-trend.js +1 -1
  508. package/lib/model/update-autonomous-database-insight-details.d.ts +1 -1
  509. package/lib/model/update-autonomous-database-insight-details.js +1 -1
  510. package/lib/model/update-awr-hub-details.d.ts +46 -0
  511. package/lib/model/update-awr-hub-details.js +32 -0
  512. package/lib/model/update-awr-hub-details.js.map +1 -0
  513. package/lib/model/update-database-insight-details.d.ts +1 -1
  514. package/lib/model/update-database-insight-details.js +1 -1
  515. package/lib/model/update-em-managed-external-database-insight-details.d.ts +1 -1
  516. package/lib/model/update-em-managed-external-database-insight-details.js +1 -1
  517. package/lib/model/update-em-managed-external-exadata-insight-details.d.ts +1 -1
  518. package/lib/model/update-em-managed-external-exadata-insight-details.js +1 -1
  519. package/lib/model/update-em-managed-external-host-insight-details.d.ts +1 -1
  520. package/lib/model/update-em-managed-external-host-insight-details.js +1 -1
  521. package/lib/model/update-enterprise-manager-bridge-details.d.ts +1 -1
  522. package/lib/model/update-enterprise-manager-bridge-details.js +1 -1
  523. package/lib/model/update-exadata-insight-details.d.ts +1 -1
  524. package/lib/model/update-exadata-insight-details.js +1 -1
  525. package/lib/model/update-host-insight-details.d.ts +1 -1
  526. package/lib/model/update-host-insight-details.js +1 -1
  527. package/lib/model/update-macs-managed-external-database-insight-details.d.ts +1 -1
  528. package/lib/model/update-macs-managed-external-database-insight-details.js +1 -1
  529. package/lib/model/update-macs-managed-external-host-insight-details.d.ts +1 -1
  530. package/lib/model/update-macs-managed-external-host-insight-details.js +1 -1
  531. package/lib/model/update-operations-insights-warehouse-details.d.ts +56 -0
  532. package/lib/model/update-operations-insights-warehouse-details.js +32 -0
  533. package/lib/model/update-operations-insights-warehouse-details.js.map +1 -0
  534. package/lib/model/update-operations-insights-warehouse-user-details.d.ts +58 -0
  535. package/lib/model/update-operations-insights-warehouse-user-details.js +32 -0
  536. package/lib/model/update-operations-insights-warehouse-user-details.js.map +1 -0
  537. package/lib/model/usage-unit.d.ts +1 -1
  538. package/lib/model/usage-unit.js +1 -1
  539. package/lib/model/work-request-collection.d.ts +1 -1
  540. package/lib/model/work-request-collection.js +1 -1
  541. package/lib/model/work-request-error-collection.d.ts +1 -1
  542. package/lib/model/work-request-error-collection.js +1 -1
  543. package/lib/model/work-request-error.d.ts +1 -1
  544. package/lib/model/work-request-error.js +1 -1
  545. package/lib/model/work-request-log-entry-collection.d.ts +1 -1
  546. package/lib/model/work-request-log-entry-collection.js +1 -1
  547. package/lib/model/work-request-log-entry.d.ts +1 -1
  548. package/lib/model/work-request-log-entry.js +1 -1
  549. package/lib/model/work-request-resource-metadata-key.d.ts +1 -1
  550. package/lib/model/work-request-resource-metadata-key.js +1 -1
  551. package/lib/model/work-request-resource.d.ts +1 -1
  552. package/lib/model/work-request-resource.js +1 -1
  553. package/lib/model/work-request.d.ts +1 -1
  554. package/lib/model/work-request.js +1 -1
  555. package/lib/model/work-requests.d.ts +1 -1
  556. package/lib/model/work-requests.js +1 -1
  557. package/lib/operationsinsights-waiter.d.ts +25 -1
  558. package/lib/operationsinsights-waiter.js +37 -1
  559. package/lib/operationsinsights-waiter.js.map +1 -1
  560. package/lib/request/add-exadata-insight-members-request.d.ts +2 -2
  561. package/lib/request/add-exadata-insight-members-request.js +1 -1
  562. package/lib/request/change-database-insight-compartment-request.d.ts +2 -2
  563. package/lib/request/change-database-insight-compartment-request.js +1 -1
  564. package/lib/request/change-enterprise-manager-bridge-compartment-request.d.ts +2 -2
  565. package/lib/request/change-enterprise-manager-bridge-compartment-request.js +1 -1
  566. package/lib/request/change-exadata-insight-compartment-request.d.ts +2 -2
  567. package/lib/request/change-exadata-insight-compartment-request.js +1 -1
  568. package/lib/request/change-host-insight-compartment-request.d.ts +2 -2
  569. package/lib/request/change-host-insight-compartment-request.js +1 -1
  570. package/lib/request/create-awr-hub-request.d.ts +39 -0
  571. package/lib/request/create-awr-hub-request.js +15 -0
  572. package/lib/request/create-awr-hub-request.js.map +1 -0
  573. package/lib/request/create-database-insight-request.d.ts +2 -2
  574. package/lib/request/create-database-insight-request.js +1 -1
  575. package/lib/request/create-enterprise-manager-bridge-request.d.ts +2 -2
  576. package/lib/request/create-enterprise-manager-bridge-request.js +1 -1
  577. package/lib/request/create-exadata-insight-request.d.ts +2 -2
  578. package/lib/request/create-exadata-insight-request.js +1 -1
  579. package/lib/request/create-host-insight-request.d.ts +2 -2
  580. package/lib/request/create-host-insight-request.js +1 -1
  581. package/lib/request/create-operations-insights-warehouse-request.d.ts +39 -0
  582. package/lib/request/create-operations-insights-warehouse-request.js +15 -0
  583. package/lib/request/create-operations-insights-warehouse-request.js.map +1 -0
  584. package/lib/request/create-operations-insights-warehouse-user-request.d.ts +39 -0
  585. package/lib/request/create-operations-insights-warehouse-user-request.js +15 -0
  586. package/lib/request/create-operations-insights-warehouse-user-request.js.map +1 -0
  587. package/lib/request/delete-awr-hub-request.d.ts +35 -0
  588. package/lib/request/delete-awr-hub-request.js +15 -0
  589. package/lib/request/delete-awr-hub-request.js.map +1 -0
  590. package/lib/request/delete-database-insight-request.d.ts +2 -2
  591. package/lib/request/delete-database-insight-request.js +1 -1
  592. package/lib/request/delete-enterprise-manager-bridge-request.d.ts +2 -2
  593. package/lib/request/delete-enterprise-manager-bridge-request.js +1 -1
  594. package/lib/request/delete-exadata-insight-request.d.ts +2 -2
  595. package/lib/request/delete-exadata-insight-request.js +1 -1
  596. package/lib/request/delete-host-insight-request.d.ts +2 -2
  597. package/lib/request/delete-host-insight-request.js +1 -1
  598. package/lib/request/delete-operations-insights-warehouse-request.d.ts +35 -0
  599. package/lib/request/delete-operations-insights-warehouse-request.js +15 -0
  600. package/lib/request/delete-operations-insights-warehouse-request.js.map +1 -0
  601. package/lib/request/delete-operations-insights-warehouse-user-request.d.ts +35 -0
  602. package/lib/request/delete-operations-insights-warehouse-user-request.js +15 -0
  603. package/lib/request/delete-operations-insights-warehouse-user-request.js.map +1 -0
  604. package/lib/request/disable-database-insight-request.d.ts +2 -2
  605. package/lib/request/disable-database-insight-request.js +1 -1
  606. package/lib/request/disable-exadata-insight-request.d.ts +2 -2
  607. package/lib/request/disable-exadata-insight-request.js +1 -1
  608. package/lib/request/disable-host-insight-request.d.ts +2 -2
  609. package/lib/request/disable-host-insight-request.js +1 -1
  610. package/lib/request/download-operations-insights-warehouse-wallet-request.d.ts +43 -0
  611. package/lib/request/download-operations-insights-warehouse-wallet-request.js +15 -0
  612. package/lib/request/download-operations-insights-warehouse-wallet-request.js.map +1 -0
  613. package/lib/request/enable-database-insight-request.d.ts +2 -2
  614. package/lib/request/enable-database-insight-request.js +1 -1
  615. package/lib/request/enable-exadata-insight-request.d.ts +2 -2
  616. package/lib/request/enable-exadata-insight-request.js +1 -1
  617. package/lib/request/enable-host-insight-request.d.ts +2 -2
  618. package/lib/request/enable-host-insight-request.js +1 -1
  619. package/lib/request/get-awr-hub-request.d.ts +28 -0
  620. package/lib/request/get-awr-hub-request.js +15 -0
  621. package/lib/request/get-awr-hub-request.js.map +1 -0
  622. package/lib/request/get-awr-report-request.d.ts +61 -0
  623. package/lib/request/get-awr-report-request.js +15 -0
  624. package/lib/request/get-awr-report-request.js.map +1 -0
  625. package/lib/request/get-database-insight-request.d.ts +2 -2
  626. package/lib/request/get-database-insight-request.js +1 -1
  627. package/lib/request/get-enterprise-manager-bridge-request.d.ts +2 -2
  628. package/lib/request/get-enterprise-manager-bridge-request.js +1 -1
  629. package/lib/request/get-exadata-insight-request.d.ts +2 -2
  630. package/lib/request/get-exadata-insight-request.js +1 -1
  631. package/lib/request/get-host-insight-request.d.ts +2 -2
  632. package/lib/request/get-host-insight-request.js +1 -1
  633. package/lib/request/get-operations-insights-warehouse-request.d.ts +28 -0
  634. package/lib/request/get-operations-insights-warehouse-request.js +15 -0
  635. package/lib/request/get-operations-insights-warehouse-request.js.map +1 -0
  636. package/lib/request/get-operations-insights-warehouse-user-request.d.ts +28 -0
  637. package/lib/request/get-operations-insights-warehouse-user-request.js +15 -0
  638. package/lib/request/get-operations-insights-warehouse-user-request.js.map +1 -0
  639. package/lib/request/get-work-request-request.d.ts +2 -2
  640. package/lib/request/get-work-request-request.js +1 -1
  641. package/lib/request/index.d.ts +45 -1
  642. package/lib/request/index.js +12 -2
  643. package/lib/request/index.js.map +1 -1
  644. package/lib/request/ingest-database-configuration-request.d.ts +2 -2
  645. package/lib/request/ingest-database-configuration-request.js +1 -1
  646. package/lib/request/ingest-host-configuration-request.d.ts +2 -2
  647. package/lib/request/ingest-host-configuration-request.js +1 -1
  648. package/lib/request/ingest-host-metrics-request.d.ts +2 -2
  649. package/lib/request/ingest-host-metrics-request.js +1 -1
  650. package/lib/request/ingest-sql-bucket-request.d.ts +2 -2
  651. package/lib/request/ingest-sql-bucket-request.js +1 -1
  652. package/lib/request/ingest-sql-plan-lines-request.d.ts +2 -2
  653. package/lib/request/ingest-sql-plan-lines-request.js +1 -1
  654. package/lib/request/ingest-sql-stats-request.d.ts +56 -0
  655. package/lib/request/ingest-sql-stats-request.js +15 -0
  656. package/lib/request/ingest-sql-stats-request.js.map +1 -0
  657. package/lib/request/ingest-sql-text-request.d.ts +2 -2
  658. package/lib/request/ingest-sql-text-request.js +1 -1
  659. package/lib/request/list-awr-hubs-request.d.ts +77 -0
  660. package/lib/request/list-awr-hubs-request.js +24 -0
  661. package/lib/request/list-awr-hubs-request.js.map +1 -0
  662. package/lib/request/list-awr-snapshots-request.d.ts +74 -0
  663. package/lib/request/list-awr-snapshots-request.js +24 -0
  664. package/lib/request/list-awr-snapshots-request.js.map +1 -0
  665. package/lib/request/list-database-configurations-request.d.ts +2 -2
  666. package/lib/request/list-database-configurations-request.js +1 -1
  667. package/lib/request/list-database-insights-request.d.ts +2 -2
  668. package/lib/request/list-database-insights-request.js +1 -1
  669. package/lib/request/list-enterprise-manager-bridges-request.d.ts +2 -2
  670. package/lib/request/list-enterprise-manager-bridges-request.js +1 -1
  671. package/lib/request/list-exadata-configurations-request.d.ts +2 -2
  672. package/lib/request/list-exadata-configurations-request.js +1 -1
  673. package/lib/request/list-exadata-insights-request.d.ts +2 -2
  674. package/lib/request/list-exadata-insights-request.js +1 -1
  675. package/lib/request/list-host-configurations-request.d.ts +7 -4
  676. package/lib/request/list-host-configurations-request.js +3 -1
  677. package/lib/request/list-host-configurations-request.js.map +1 -1
  678. package/lib/request/list-host-insights-request.d.ts +7 -4
  679. package/lib/request/list-host-insights-request.js +3 -1
  680. package/lib/request/list-host-insights-request.js.map +1 -1
  681. package/lib/request/list-hosted-entities-request.d.ts +7 -4
  682. package/lib/request/list-hosted-entities-request.js +3 -1
  683. package/lib/request/list-hosted-entities-request.js.map +1 -1
  684. package/lib/request/list-importable-agent-entities-request.d.ts +2 -2
  685. package/lib/request/list-importable-agent-entities-request.js +1 -1
  686. package/lib/request/list-importable-enterprise-manager-entities-request.d.ts +2 -2
  687. package/lib/request/list-importable-enterprise-manager-entities-request.js +1 -1
  688. package/lib/request/list-operations-insights-warehouse-users-request.d.ts +77 -0
  689. package/lib/request/list-operations-insights-warehouse-users-request.js +24 -0
  690. package/lib/request/list-operations-insights-warehouse-users-request.js.map +1 -0
  691. package/lib/request/list-operations-insights-warehouses-request.d.ts +73 -0
  692. package/lib/request/list-operations-insights-warehouses-request.js +24 -0
  693. package/lib/request/list-operations-insights-warehouses-request.js.map +1 -0
  694. package/lib/request/list-sql-plans-request.d.ts +2 -2
  695. package/lib/request/list-sql-plans-request.js +1 -1
  696. package/lib/request/list-sql-searches-request.d.ts +2 -2
  697. package/lib/request/list-sql-searches-request.js +1 -1
  698. package/lib/request/list-sql-texts-request.d.ts +2 -2
  699. package/lib/request/list-sql-texts-request.js +1 -1
  700. package/lib/request/list-work-request-errors-request.d.ts +2 -2
  701. package/lib/request/list-work-request-errors-request.js +1 -1
  702. package/lib/request/list-work-request-logs-request.d.ts +2 -2
  703. package/lib/request/list-work-request-logs-request.js +1 -1
  704. package/lib/request/list-work-requests-request.d.ts +2 -2
  705. package/lib/request/list-work-requests-request.js +1 -1
  706. package/lib/request/rotate-operations-insights-warehouse-wallet-request.d.ts +35 -0
  707. package/lib/request/rotate-operations-insights-warehouse-wallet-request.js +15 -0
  708. package/lib/request/rotate-operations-insights-warehouse-wallet-request.js.map +1 -0
  709. package/lib/request/summarize-awr-sources-summaries-request.d.ts +70 -0
  710. package/lib/request/summarize-awr-sources-summaries-request.js +24 -0
  711. package/lib/request/summarize-awr-sources-summaries-request.js.map +1 -0
  712. package/lib/request/summarize-database-insight-resource-capacity-trend-request.d.ts +2 -2
  713. package/lib/request/summarize-database-insight-resource-capacity-trend-request.js +1 -1
  714. package/lib/request/summarize-database-insight-resource-forecast-trend-request.d.ts +2 -2
  715. package/lib/request/summarize-database-insight-resource-forecast-trend-request.js +1 -1
  716. package/lib/request/summarize-database-insight-resource-statistics-request.d.ts +2 -2
  717. package/lib/request/summarize-database-insight-resource-statistics-request.js +1 -1
  718. package/lib/request/summarize-database-insight-resource-usage-request.d.ts +2 -2
  719. package/lib/request/summarize-database-insight-resource-usage-request.js +1 -1
  720. package/lib/request/summarize-database-insight-resource-usage-trend-request.d.ts +2 -2
  721. package/lib/request/summarize-database-insight-resource-usage-trend-request.js +1 -1
  722. package/lib/request/summarize-database-insight-resource-utilization-insight-request.d.ts +2 -2
  723. package/lib/request/summarize-database-insight-resource-utilization-insight-request.js +1 -1
  724. package/lib/request/summarize-database-insight-tablespace-usage-trend-request.d.ts +2 -2
  725. package/lib/request/summarize-database-insight-tablespace-usage-trend-request.js +1 -1
  726. package/lib/request/summarize-exadata-insight-resource-capacity-trend-aggregated-request.d.ts +2 -2
  727. package/lib/request/summarize-exadata-insight-resource-capacity-trend-aggregated-request.js +1 -1
  728. package/lib/request/summarize-exadata-insight-resource-capacity-trend-request.d.ts +2 -2
  729. package/lib/request/summarize-exadata-insight-resource-capacity-trend-request.js +1 -1
  730. package/lib/request/summarize-exadata-insight-resource-forecast-trend-aggregated-request.d.ts +2 -2
  731. package/lib/request/summarize-exadata-insight-resource-forecast-trend-aggregated-request.js +1 -1
  732. package/lib/request/summarize-exadata-insight-resource-forecast-trend-request.d.ts +2 -2
  733. package/lib/request/summarize-exadata-insight-resource-forecast-trend-request.js +1 -1
  734. package/lib/request/summarize-exadata-insight-resource-statistics-request.d.ts +2 -2
  735. package/lib/request/summarize-exadata-insight-resource-statistics-request.js +1 -1
  736. package/lib/request/summarize-exadata-insight-resource-usage-aggregated-request.d.ts +2 -2
  737. package/lib/request/summarize-exadata-insight-resource-usage-aggregated-request.js +1 -1
  738. package/lib/request/summarize-exadata-insight-resource-usage-request.d.ts +2 -2
  739. package/lib/request/summarize-exadata-insight-resource-usage-request.js +1 -1
  740. package/lib/request/summarize-exadata-insight-resource-utilization-insight-request.d.ts +2 -2
  741. package/lib/request/summarize-exadata-insight-resource-utilization-insight-request.js +1 -1
  742. package/lib/request/summarize-exadata-members-request.d.ts +2 -2
  743. package/lib/request/summarize-exadata-members-request.js +1 -1
  744. package/lib/request/summarize-host-insight-resource-capacity-trend-request.d.ts +7 -4
  745. package/lib/request/summarize-host-insight-resource-capacity-trend-request.js +3 -1
  746. package/lib/request/summarize-host-insight-resource-capacity-trend-request.js.map +1 -1
  747. package/lib/request/summarize-host-insight-resource-forecast-trend-request.d.ts +7 -4
  748. package/lib/request/summarize-host-insight-resource-forecast-trend-request.js +3 -1
  749. package/lib/request/summarize-host-insight-resource-forecast-trend-request.js.map +1 -1
  750. package/lib/request/summarize-host-insight-resource-statistics-request.d.ts +7 -4
  751. package/lib/request/summarize-host-insight-resource-statistics-request.js +3 -1
  752. package/lib/request/summarize-host-insight-resource-statistics-request.js.map +1 -1
  753. package/lib/request/summarize-host-insight-resource-usage-request.d.ts +7 -4
  754. package/lib/request/summarize-host-insight-resource-usage-request.js +3 -1
  755. package/lib/request/summarize-host-insight-resource-usage-request.js.map +1 -1
  756. package/lib/request/summarize-host-insight-resource-usage-trend-request.d.ts +7 -4
  757. package/lib/request/summarize-host-insight-resource-usage-trend-request.js +3 -1
  758. package/lib/request/summarize-host-insight-resource-usage-trend-request.js.map +1 -1
  759. package/lib/request/summarize-host-insight-resource-utilization-insight-request.d.ts +7 -4
  760. package/lib/request/summarize-host-insight-resource-utilization-insight-request.js +3 -1
  761. package/lib/request/summarize-host-insight-resource-utilization-insight-request.js.map +1 -1
  762. package/lib/request/summarize-operations-insights-warehouse-resource-usage-request.d.ts +28 -0
  763. package/lib/request/summarize-operations-insights-warehouse-resource-usage-request.js +15 -0
  764. package/lib/request/summarize-operations-insights-warehouse-resource-usage-request.js.map +1 -0
  765. package/lib/request/summarize-sql-insights-request.d.ts +2 -2
  766. package/lib/request/summarize-sql-insights-request.js +1 -1
  767. package/lib/request/summarize-sql-plan-insights-request.d.ts +2 -2
  768. package/lib/request/summarize-sql-plan-insights-request.js +1 -1
  769. package/lib/request/summarize-sql-response-time-distributions-request.d.ts +2 -2
  770. package/lib/request/summarize-sql-response-time-distributions-request.js +1 -1
  771. package/lib/request/summarize-sql-statistics-request.d.ts +2 -2
  772. package/lib/request/summarize-sql-statistics-request.js +1 -1
  773. package/lib/request/summarize-sql-statistics-time-series-by-plan-request.d.ts +2 -2
  774. package/lib/request/summarize-sql-statistics-time-series-by-plan-request.js +1 -1
  775. package/lib/request/summarize-sql-statistics-time-series-request.d.ts +2 -2
  776. package/lib/request/summarize-sql-statistics-time-series-request.js +1 -1
  777. package/lib/request/update-awr-hub-request.d.ts +40 -0
  778. package/lib/request/update-awr-hub-request.js +15 -0
  779. package/lib/request/update-awr-hub-request.js.map +1 -0
  780. package/lib/request/update-database-insight-request.d.ts +2 -2
  781. package/lib/request/update-database-insight-request.js +1 -1
  782. package/lib/request/update-enterprise-manager-bridge-request.d.ts +2 -2
  783. package/lib/request/update-enterprise-manager-bridge-request.js +1 -1
  784. package/lib/request/update-exadata-insight-request.d.ts +2 -2
  785. package/lib/request/update-exadata-insight-request.js +1 -1
  786. package/lib/request/update-host-insight-request.d.ts +2 -2
  787. package/lib/request/update-host-insight-request.js +1 -1
  788. package/lib/request/update-operations-insights-warehouse-request.d.ts +40 -0
  789. package/lib/request/update-operations-insights-warehouse-request.js +15 -0
  790. package/lib/request/update-operations-insights-warehouse-request.js.map +1 -0
  791. package/lib/request/update-operations-insights-warehouse-user-request.d.ts +40 -0
  792. package/lib/request/update-operations-insights-warehouse-user-request.js +15 -0
  793. package/lib/request/update-operations-insights-warehouse-user-request.js.map +1 -0
  794. package/lib/response/add-exadata-insight-members-response.d.ts +1 -1
  795. package/lib/response/add-exadata-insight-members-response.js +1 -1
  796. package/lib/response/change-database-insight-compartment-response.d.ts +1 -1
  797. package/lib/response/change-database-insight-compartment-response.js +1 -1
  798. package/lib/response/change-enterprise-manager-bridge-compartment-response.d.ts +1 -1
  799. package/lib/response/change-enterprise-manager-bridge-compartment-response.js +1 -1
  800. package/lib/response/change-exadata-insight-compartment-response.d.ts +1 -1
  801. package/lib/response/change-exadata-insight-compartment-response.js +1 -1
  802. package/lib/response/change-host-insight-compartment-response.d.ts +1 -1
  803. package/lib/response/change-host-insight-compartment-response.js +1 -1
  804. package/lib/response/create-awr-hub-response.d.ts +43 -0
  805. package/lib/response/create-awr-hub-response.js +15 -0
  806. package/lib/response/create-awr-hub-response.js.map +1 -0
  807. package/lib/response/create-database-insight-response.d.ts +1 -1
  808. package/lib/response/create-database-insight-response.js +1 -1
  809. package/lib/response/create-enterprise-manager-bridge-response.d.ts +1 -1
  810. package/lib/response/create-enterprise-manager-bridge-response.js +1 -1
  811. package/lib/response/create-exadata-insight-response.d.ts +1 -1
  812. package/lib/response/create-exadata-insight-response.js +1 -1
  813. package/lib/response/create-host-insight-response.d.ts +1 -1
  814. package/lib/response/create-host-insight-response.js +1 -1
  815. package/lib/response/create-operations-insights-warehouse-response.d.ts +43 -0
  816. package/lib/response/create-operations-insights-warehouse-response.js +15 -0
  817. package/lib/response/create-operations-insights-warehouse-response.js.map +1 -0
  818. package/lib/response/create-operations-insights-warehouse-user-response.d.ts +43 -0
  819. package/lib/response/create-operations-insights-warehouse-user-response.js +15 -0
  820. package/lib/response/create-operations-insights-warehouse-user-response.js.map +1 -0
  821. package/lib/response/delete-awr-hub-response.d.ts +25 -0
  822. package/lib/response/delete-awr-hub-response.js +15 -0
  823. package/lib/response/delete-awr-hub-response.js.map +1 -0
  824. package/lib/response/delete-database-insight-response.d.ts +1 -1
  825. package/lib/response/delete-database-insight-response.js +1 -1
  826. package/lib/response/delete-enterprise-manager-bridge-response.d.ts +1 -1
  827. package/lib/response/delete-enterprise-manager-bridge-response.js +1 -1
  828. package/lib/response/delete-exadata-insight-response.d.ts +1 -1
  829. package/lib/response/delete-exadata-insight-response.js +1 -1
  830. package/lib/response/delete-host-insight-response.d.ts +1 -1
  831. package/lib/response/delete-host-insight-response.js +1 -1
  832. package/lib/response/delete-operations-insights-warehouse-response.d.ts +25 -0
  833. package/lib/response/delete-operations-insights-warehouse-response.js +15 -0
  834. package/lib/response/delete-operations-insights-warehouse-response.js.map +1 -0
  835. package/lib/response/delete-operations-insights-warehouse-user-response.d.ts +25 -0
  836. package/lib/response/delete-operations-insights-warehouse-user-response.js +15 -0
  837. package/lib/response/delete-operations-insights-warehouse-user-response.js.map +1 -0
  838. package/lib/response/disable-database-insight-response.d.ts +1 -1
  839. package/lib/response/disable-database-insight-response.js +1 -1
  840. package/lib/response/disable-exadata-insight-response.d.ts +1 -1
  841. package/lib/response/disable-exadata-insight-response.js +1 -1
  842. package/lib/response/disable-host-insight-response.d.ts +1 -1
  843. package/lib/response/disable-host-insight-response.js +1 -1
  844. package/lib/response/download-operations-insights-warehouse-wallet-response.d.ts +38 -0
  845. package/lib/response/download-operations-insights-warehouse-wallet-response.js +15 -0
  846. package/lib/response/download-operations-insights-warehouse-wallet-response.js.map +1 -0
  847. package/lib/response/enable-database-insight-response.d.ts +1 -1
  848. package/lib/response/enable-database-insight-response.js +1 -1
  849. package/lib/response/enable-exadata-insight-response.d.ts +1 -1
  850. package/lib/response/enable-exadata-insight-response.js +1 -1
  851. package/lib/response/enable-host-insight-response.d.ts +1 -1
  852. package/lib/response/enable-host-insight-response.js +1 -1
  853. package/lib/response/get-awr-hub-response.d.ts +30 -0
  854. package/lib/response/get-awr-hub-response.js +15 -0
  855. package/lib/response/get-awr-hub-response.js.map +1 -0
  856. package/lib/response/get-awr-report-response.d.ts +25 -0
  857. package/lib/response/get-awr-report-response.js +15 -0
  858. package/lib/response/get-awr-report-response.js.map +1 -0
  859. package/lib/response/get-database-insight-response.d.ts +1 -1
  860. package/lib/response/get-database-insight-response.js +1 -1
  861. package/lib/response/get-enterprise-manager-bridge-response.d.ts +1 -1
  862. package/lib/response/get-enterprise-manager-bridge-response.js +1 -1
  863. package/lib/response/get-exadata-insight-response.d.ts +1 -1
  864. package/lib/response/get-exadata-insight-response.js +1 -1
  865. package/lib/response/get-host-insight-response.d.ts +1 -1
  866. package/lib/response/get-host-insight-response.js +1 -1
  867. package/lib/response/get-operations-insights-warehouse-response.d.ts +30 -0
  868. package/lib/response/get-operations-insights-warehouse-response.js +15 -0
  869. package/lib/response/get-operations-insights-warehouse-response.js.map +1 -0
  870. package/lib/response/get-operations-insights-warehouse-user-response.d.ts +30 -0
  871. package/lib/response/get-operations-insights-warehouse-user-response.js +15 -0
  872. package/lib/response/get-operations-insights-warehouse-user-response.js.map +1 -0
  873. package/lib/response/get-work-request-response.d.ts +1 -1
  874. package/lib/response/get-work-request-response.js +1 -1
  875. package/lib/response/index.d.ts +45 -1
  876. package/lib/response/index.js +1 -1
  877. package/lib/response/ingest-database-configuration-response.d.ts +1 -1
  878. package/lib/response/ingest-database-configuration-response.js +1 -1
  879. package/lib/response/ingest-host-configuration-response.d.ts +1 -1
  880. package/lib/response/ingest-host-configuration-response.js +1 -1
  881. package/lib/response/ingest-host-metrics-response.d.ts +1 -1
  882. package/lib/response/ingest-host-metrics-response.js +1 -1
  883. package/lib/response/ingest-sql-bucket-response.d.ts +1 -1
  884. package/lib/response/ingest-sql-bucket-response.js +1 -1
  885. package/lib/response/ingest-sql-plan-lines-response.d.ts +1 -1
  886. package/lib/response/ingest-sql-plan-lines-response.js +1 -1
  887. package/lib/response/ingest-sql-stats-response.d.ts +30 -0
  888. package/lib/response/ingest-sql-stats-response.js +15 -0
  889. package/lib/response/ingest-sql-stats-response.js.map +1 -0
  890. package/lib/response/ingest-sql-text-response.d.ts +1 -1
  891. package/lib/response/ingest-sql-text-response.js +1 -1
  892. package/lib/response/list-awr-hubs-response.d.ts +32 -0
  893. package/lib/response/list-awr-hubs-response.js +15 -0
  894. package/lib/response/list-awr-hubs-response.js.map +1 -0
  895. package/lib/response/list-awr-snapshots-response.d.ts +32 -0
  896. package/lib/response/list-awr-snapshots-response.js +15 -0
  897. package/lib/response/list-awr-snapshots-response.js.map +1 -0
  898. package/lib/response/list-database-configurations-response.d.ts +1 -1
  899. package/lib/response/list-database-configurations-response.js +1 -1
  900. package/lib/response/list-database-insights-response.d.ts +1 -1
  901. package/lib/response/list-database-insights-response.js +1 -1
  902. package/lib/response/list-enterprise-manager-bridges-response.d.ts +1 -1
  903. package/lib/response/list-enterprise-manager-bridges-response.js +1 -1
  904. package/lib/response/list-exadata-configurations-response.d.ts +1 -1
  905. package/lib/response/list-exadata-configurations-response.js +1 -1
  906. package/lib/response/list-exadata-insights-response.d.ts +1 -1
  907. package/lib/response/list-exadata-insights-response.js +1 -1
  908. package/lib/response/list-host-configurations-response.d.ts +1 -1
  909. package/lib/response/list-host-configurations-response.js +1 -1
  910. package/lib/response/list-host-insights-response.d.ts +1 -1
  911. package/lib/response/list-host-insights-response.js +1 -1
  912. package/lib/response/list-hosted-entities-response.d.ts +1 -1
  913. package/lib/response/list-hosted-entities-response.js +1 -1
  914. package/lib/response/list-importable-agent-entities-response.d.ts +1 -1
  915. package/lib/response/list-importable-agent-entities-response.js +1 -1
  916. package/lib/response/list-importable-enterprise-manager-entities-response.d.ts +1 -1
  917. package/lib/response/list-importable-enterprise-manager-entities-response.js +1 -1
  918. package/lib/response/list-operations-insights-warehouse-users-response.d.ts +32 -0
  919. package/lib/response/list-operations-insights-warehouse-users-response.js +15 -0
  920. package/lib/response/list-operations-insights-warehouse-users-response.js.map +1 -0
  921. package/lib/response/list-operations-insights-warehouses-response.d.ts +32 -0
  922. package/lib/response/list-operations-insights-warehouses-response.js +15 -0
  923. package/lib/response/list-operations-insights-warehouses-response.js.map +1 -0
  924. package/lib/response/list-sql-plans-response.d.ts +1 -1
  925. package/lib/response/list-sql-plans-response.js +1 -1
  926. package/lib/response/list-sql-searches-response.d.ts +1 -1
  927. package/lib/response/list-sql-searches-response.js +1 -1
  928. package/lib/response/list-sql-texts-response.d.ts +1 -1
  929. package/lib/response/list-sql-texts-response.js +1 -1
  930. package/lib/response/list-work-request-errors-response.d.ts +1 -1
  931. package/lib/response/list-work-request-errors-response.js +1 -1
  932. package/lib/response/list-work-request-logs-response.d.ts +1 -1
  933. package/lib/response/list-work-request-logs-response.js +1 -1
  934. package/lib/response/list-work-requests-response.d.ts +1 -1
  935. package/lib/response/list-work-requests-response.js +1 -1
  936. package/lib/response/rotate-operations-insights-warehouse-wallet-response.d.ts +25 -0
  937. package/lib/response/rotate-operations-insights-warehouse-wallet-response.js +15 -0
  938. package/lib/response/rotate-operations-insights-warehouse-wallet-response.js.map +1 -0
  939. package/lib/response/summarize-awr-sources-summaries-response.d.ts +32 -0
  940. package/lib/response/summarize-awr-sources-summaries-response.js +15 -0
  941. package/lib/response/summarize-awr-sources-summaries-response.js.map +1 -0
  942. package/lib/response/summarize-database-insight-resource-capacity-trend-response.d.ts +1 -1
  943. package/lib/response/summarize-database-insight-resource-capacity-trend-response.js +1 -1
  944. package/lib/response/summarize-database-insight-resource-forecast-trend-response.d.ts +1 -1
  945. package/lib/response/summarize-database-insight-resource-forecast-trend-response.js +1 -1
  946. package/lib/response/summarize-database-insight-resource-statistics-response.d.ts +1 -1
  947. package/lib/response/summarize-database-insight-resource-statistics-response.js +1 -1
  948. package/lib/response/summarize-database-insight-resource-usage-response.d.ts +1 -1
  949. package/lib/response/summarize-database-insight-resource-usage-response.js +1 -1
  950. package/lib/response/summarize-database-insight-resource-usage-trend-response.d.ts +1 -1
  951. package/lib/response/summarize-database-insight-resource-usage-trend-response.js +1 -1
  952. package/lib/response/summarize-database-insight-resource-utilization-insight-response.d.ts +1 -1
  953. package/lib/response/summarize-database-insight-resource-utilization-insight-response.js +1 -1
  954. package/lib/response/summarize-database-insight-tablespace-usage-trend-response.d.ts +1 -1
  955. package/lib/response/summarize-database-insight-tablespace-usage-trend-response.js +1 -1
  956. package/lib/response/summarize-exadata-insight-resource-capacity-trend-aggregated-response.d.ts +1 -1
  957. package/lib/response/summarize-exadata-insight-resource-capacity-trend-aggregated-response.js +1 -1
  958. package/lib/response/summarize-exadata-insight-resource-capacity-trend-response.d.ts +1 -1
  959. package/lib/response/summarize-exadata-insight-resource-capacity-trend-response.js +1 -1
  960. package/lib/response/summarize-exadata-insight-resource-forecast-trend-aggregated-response.d.ts +1 -1
  961. package/lib/response/summarize-exadata-insight-resource-forecast-trend-aggregated-response.js +1 -1
  962. package/lib/response/summarize-exadata-insight-resource-forecast-trend-response.d.ts +1 -1
  963. package/lib/response/summarize-exadata-insight-resource-forecast-trend-response.js +1 -1
  964. package/lib/response/summarize-exadata-insight-resource-statistics-response.d.ts +1 -1
  965. package/lib/response/summarize-exadata-insight-resource-statistics-response.js +1 -1
  966. package/lib/response/summarize-exadata-insight-resource-usage-aggregated-response.d.ts +1 -1
  967. package/lib/response/summarize-exadata-insight-resource-usage-aggregated-response.js +1 -1
  968. package/lib/response/summarize-exadata-insight-resource-usage-response.d.ts +1 -1
  969. package/lib/response/summarize-exadata-insight-resource-usage-response.js +1 -1
  970. package/lib/response/summarize-exadata-insight-resource-utilization-insight-response.d.ts +1 -1
  971. package/lib/response/summarize-exadata-insight-resource-utilization-insight-response.js +1 -1
  972. package/lib/response/summarize-exadata-members-response.d.ts +1 -1
  973. package/lib/response/summarize-exadata-members-response.js +1 -1
  974. package/lib/response/summarize-host-insight-resource-capacity-trend-response.d.ts +1 -1
  975. package/lib/response/summarize-host-insight-resource-capacity-trend-response.js +1 -1
  976. package/lib/response/summarize-host-insight-resource-forecast-trend-response.d.ts +1 -1
  977. package/lib/response/summarize-host-insight-resource-forecast-trend-response.js +1 -1
  978. package/lib/response/summarize-host-insight-resource-statistics-response.d.ts +1 -1
  979. package/lib/response/summarize-host-insight-resource-statistics-response.js +1 -1
  980. package/lib/response/summarize-host-insight-resource-usage-response.d.ts +1 -1
  981. package/lib/response/summarize-host-insight-resource-usage-response.js +1 -1
  982. package/lib/response/summarize-host-insight-resource-usage-trend-response.d.ts +1 -1
  983. package/lib/response/summarize-host-insight-resource-usage-trend-response.js +1 -1
  984. package/lib/response/summarize-host-insight-resource-utilization-insight-response.d.ts +1 -1
  985. package/lib/response/summarize-host-insight-resource-utilization-insight-response.js +1 -1
  986. package/lib/response/summarize-operations-insights-warehouse-resource-usage-response.d.ts +30 -0
  987. package/lib/response/summarize-operations-insights-warehouse-resource-usage-response.js +15 -0
  988. package/lib/response/summarize-operations-insights-warehouse-resource-usage-response.js.map +1 -0
  989. package/lib/response/summarize-sql-insights-response.d.ts +1 -1
  990. package/lib/response/summarize-sql-insights-response.js +1 -1
  991. package/lib/response/summarize-sql-plan-insights-response.d.ts +1 -1
  992. package/lib/response/summarize-sql-plan-insights-response.js +1 -1
  993. package/lib/response/summarize-sql-response-time-distributions-response.d.ts +1 -1
  994. package/lib/response/summarize-sql-response-time-distributions-response.js +1 -1
  995. package/lib/response/summarize-sql-statistics-response.d.ts +1 -1
  996. package/lib/response/summarize-sql-statistics-response.js +1 -1
  997. package/lib/response/summarize-sql-statistics-time-series-by-plan-response.d.ts +1 -1
  998. package/lib/response/summarize-sql-statistics-time-series-by-plan-response.js +1 -1
  999. package/lib/response/summarize-sql-statistics-time-series-response.d.ts +1 -1
  1000. package/lib/response/summarize-sql-statistics-time-series-response.js +1 -1
  1001. package/lib/response/update-awr-hub-response.d.ts +25 -0
  1002. package/lib/response/update-awr-hub-response.js +15 -0
  1003. package/lib/response/update-awr-hub-response.js.map +1 -0
  1004. package/lib/response/update-database-insight-response.d.ts +1 -1
  1005. package/lib/response/update-database-insight-response.js +1 -1
  1006. package/lib/response/update-enterprise-manager-bridge-response.d.ts +1 -1
  1007. package/lib/response/update-enterprise-manager-bridge-response.js +1 -1
  1008. package/lib/response/update-exadata-insight-response.d.ts +1 -1
  1009. package/lib/response/update-exadata-insight-response.js +1 -1
  1010. package/lib/response/update-host-insight-response.d.ts +1 -1
  1011. package/lib/response/update-host-insight-response.js +1 -1
  1012. package/lib/response/update-operations-insights-warehouse-response.d.ts +25 -0
  1013. package/lib/response/update-operations-insights-warehouse-response.js +15 -0
  1014. package/lib/response/update-operations-insights-warehouse-response.js.map +1 -0
  1015. package/lib/response/update-operations-insights-warehouse-user-response.d.ts +25 -0
  1016. package/lib/response/update-operations-insights-warehouse-user-response.js +15 -0
  1017. package/lib/response/update-operations-insights-warehouse-user-response.js.map +1 -0
  1018. package/package.json +3 -3
package/lib/client.js CHANGED
@@ -11,7 +11,7 @@ see [About Oracle Cloud Infrastructure Operations Insights](https://docs.cloud.o
11
11
  * NOTE: This class is auto generated by OracleSDKGenerator.
12
12
  * Do not edit the class manually.
13
13
  *
14
- * Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
14
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
15
15
  * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
16
16
  */
17
17
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
@@ -153,7 +153,7 @@ class OperationsInsightsClient {
153
153
  * @param AddExadataInsightMembersRequest
154
154
  * @return AddExadataInsightMembersResponse
155
155
  * @throws OciError when an error occurs
156
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/AddExadataInsightMembers.ts.html |here} to see how to use AddExadataInsightMembers API.
156
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/AddExadataInsightMembers.ts.html |here} to see how to use AddExadataInsightMembers API.
157
157
  */
158
158
  addExadataInsightMembers(addExadataInsightMembersRequest) {
159
159
  return __awaiter(this, void 0, void 0, function* () {
@@ -213,7 +213,7 @@ class OperationsInsightsClient {
213
213
  * @param ChangeDatabaseInsightCompartmentRequest
214
214
  * @return ChangeDatabaseInsightCompartmentResponse
215
215
  * @throws OciError when an error occurs
216
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/ChangeDatabaseInsightCompartment.ts.html |here} to see how to use ChangeDatabaseInsightCompartment API.
216
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/ChangeDatabaseInsightCompartment.ts.html |here} to see how to use ChangeDatabaseInsightCompartment API.
217
217
  */
218
218
  changeDatabaseInsightCompartment(changeDatabaseInsightCompartmentRequest) {
219
219
  return __awaiter(this, void 0, void 0, function* () {
@@ -273,7 +273,7 @@ class OperationsInsightsClient {
273
273
  * @param ChangeEnterpriseManagerBridgeCompartmentRequest
274
274
  * @return ChangeEnterpriseManagerBridgeCompartmentResponse
275
275
  * @throws OciError when an error occurs
276
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/ChangeEnterpriseManagerBridgeCompartment.ts.html |here} to see how to use ChangeEnterpriseManagerBridgeCompartment API.
276
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/ChangeEnterpriseManagerBridgeCompartment.ts.html |here} to see how to use ChangeEnterpriseManagerBridgeCompartment API.
277
277
  */
278
278
  changeEnterpriseManagerBridgeCompartment(changeEnterpriseManagerBridgeCompartmentRequest) {
279
279
  return __awaiter(this, void 0, void 0, function* () {
@@ -332,7 +332,7 @@ class OperationsInsightsClient {
332
332
  * @param ChangeExadataInsightCompartmentRequest
333
333
  * @return ChangeExadataInsightCompartmentResponse
334
334
  * @throws OciError when an error occurs
335
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/ChangeExadataInsightCompartment.ts.html |here} to see how to use ChangeExadataInsightCompartment API.
335
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/ChangeExadataInsightCompartment.ts.html |here} to see how to use ChangeExadataInsightCompartment API.
336
336
  */
337
337
  changeExadataInsightCompartment(changeExadataInsightCompartmentRequest) {
338
338
  return __awaiter(this, void 0, void 0, function* () {
@@ -392,7 +392,7 @@ class OperationsInsightsClient {
392
392
  * @param ChangeHostInsightCompartmentRequest
393
393
  * @return ChangeHostInsightCompartmentResponse
394
394
  * @throws OciError when an error occurs
395
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/ChangeHostInsightCompartment.ts.html |here} to see how to use ChangeHostInsightCompartment API.
395
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/ChangeHostInsightCompartment.ts.html |here} to see how to use ChangeHostInsightCompartment API.
396
396
  */
397
397
  changeHostInsightCompartment(changeHostInsightCompartmentRequest) {
398
398
  return __awaiter(this, void 0, void 0, function* () {
@@ -446,6 +446,84 @@ class OperationsInsightsClient {
446
446
  }
447
447
  });
448
448
  }
449
+ /**
450
+ * Create a AWR hub resource for the tenant in Operations Insights.
451
+ * This resource will be created in root compartment.
452
+ *
453
+ * This operation does not retry by default if the user has not defined a retry configuration.
454
+ * @param CreateAwrHubRequest
455
+ * @return CreateAwrHubResponse
456
+ * @throws OciError when an error occurs
457
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/CreateAwrHub.ts.html |here} to see how to use CreateAwrHub API.
458
+ */
459
+ createAwrHub(createAwrHubRequest) {
460
+ return __awaiter(this, void 0, void 0, function* () {
461
+ if (this.logger)
462
+ this.logger.debug("Calling operation OperationsInsightsClient#createAwrHub.");
463
+ const pathParams = {};
464
+ const queryParams = {};
465
+ let headerParams = {
466
+ "Content-Type": common.Constants.APPLICATION_JSON,
467
+ "opc-retry-token": createAwrHubRequest.opcRetryToken,
468
+ "opc-request-id": createAwrHubRequest.opcRequestId
469
+ };
470
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
471
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createAwrHubRequest.retryConfiguration, specRetryConfiguration);
472
+ if (this.logger)
473
+ retrier.logger = this.logger;
474
+ const request = yield oci_common_1.composeRequest({
475
+ baseEndpoint: this._endpoint,
476
+ defaultHeaders: this._defaultHeaders,
477
+ path: "/awrHubs",
478
+ method: "POST",
479
+ bodyContent: common.ObjectSerializer.serialize(createAwrHubRequest.createAwrHubDetails, "CreateAwrHubDetails", model.CreateAwrHubDetails.getJsonObj),
480
+ pathParams: pathParams,
481
+ headerParams: headerParams,
482
+ queryParams: queryParams
483
+ });
484
+ try {
485
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
486
+ const sdkResponse = oci_common_1.composeResponse({
487
+ responseObject: {},
488
+ body: yield response.json(),
489
+ bodyKey: "awrHub",
490
+ bodyModel: model.AwrHub,
491
+ type: "model.AwrHub",
492
+ responseHeaders: [
493
+ {
494
+ value: response.headers.get("opc-work-request-id"),
495
+ key: "opcWorkRequestId",
496
+ dataType: "string"
497
+ },
498
+ {
499
+ value: response.headers.get("opc-request-id"),
500
+ key: "opcRequestId",
501
+ dataType: "string"
502
+ },
503
+ {
504
+ value: response.headers.get("location"),
505
+ key: "location",
506
+ dataType: "string"
507
+ },
508
+ {
509
+ value: response.headers.get("content-location"),
510
+ key: "contentLocation",
511
+ dataType: "string"
512
+ },
513
+ {
514
+ value: response.headers.get("etag"),
515
+ key: "etag",
516
+ dataType: "string"
517
+ }
518
+ ]
519
+ });
520
+ return sdkResponse;
521
+ }
522
+ catch (err) {
523
+ throw err;
524
+ }
525
+ });
526
+ }
449
527
  /**
450
528
  * Create a Database Insight resource for a database in Operations Insights. The database will be enabled in Operations Insights. Database metric collection and analysis will be started.
451
529
  *
@@ -453,7 +531,7 @@ class OperationsInsightsClient {
453
531
  * @param CreateDatabaseInsightRequest
454
532
  * @return CreateDatabaseInsightResponse
455
533
  * @throws OciError when an error occurs
456
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/CreateDatabaseInsight.ts.html |here} to see how to use CreateDatabaseInsight API.
534
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/CreateDatabaseInsight.ts.html |here} to see how to use CreateDatabaseInsight API.
457
535
  */
458
536
  createDatabaseInsight(createDatabaseInsightRequest) {
459
537
  return __awaiter(this, void 0, void 0, function* () {
@@ -530,7 +608,7 @@ class OperationsInsightsClient {
530
608
  * @param CreateEnterpriseManagerBridgeRequest
531
609
  * @return CreateEnterpriseManagerBridgeResponse
532
610
  * @throws OciError when an error occurs
533
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/CreateEnterpriseManagerBridge.ts.html |here} to see how to use CreateEnterpriseManagerBridge API.
611
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/CreateEnterpriseManagerBridge.ts.html |here} to see how to use CreateEnterpriseManagerBridge API.
534
612
  */
535
613
  createEnterpriseManagerBridge(createEnterpriseManagerBridgeRequest) {
536
614
  return __awaiter(this, void 0, void 0, function* () {
@@ -607,7 +685,7 @@ class OperationsInsightsClient {
607
685
  * @param CreateExadataInsightRequest
608
686
  * @return CreateExadataInsightResponse
609
687
  * @throws OciError when an error occurs
610
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/CreateExadataInsight.ts.html |here} to see how to use CreateExadataInsight API.
688
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/CreateExadataInsight.ts.html |here} to see how to use CreateExadataInsight API.
611
689
  */
612
690
  createExadataInsight(createExadataInsightRequest) {
613
691
  return __awaiter(this, void 0, void 0, function* () {
@@ -684,7 +762,7 @@ class OperationsInsightsClient {
684
762
  * @param CreateHostInsightRequest
685
763
  * @return CreateHostInsightResponse
686
764
  * @throws OciError when an error occurs
687
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/CreateHostInsight.ts.html |here} to see how to use CreateHostInsight API.
765
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/CreateHostInsight.ts.html |here} to see how to use CreateHostInsight API.
688
766
  */
689
767
  createHostInsight(createHostInsightRequest) {
690
768
  return __awaiter(this, void 0, void 0, function* () {
@@ -755,35 +833,36 @@ class OperationsInsightsClient {
755
833
  });
756
834
  }
757
835
  /**
758
- * Deletes a database insight. The database insight will be deleted and cannot be enabled again.
836
+ * Create a Operations Insights Warehouse resource for the tenant in Operations Insights. New ADW will be provisioned for this tenant.
837
+ * There is only expected to be 1 warehouse per tenant. The warehouse is expected to be in the root compartment.
838
+ *
759
839
  * This operation does not retry by default if the user has not defined a retry configuration.
760
- * @param DeleteDatabaseInsightRequest
761
- * @return DeleteDatabaseInsightResponse
840
+ * @param CreateOperationsInsightsWarehouseRequest
841
+ * @return CreateOperationsInsightsWarehouseResponse
762
842
  * @throws OciError when an error occurs
763
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/DeleteDatabaseInsight.ts.html |here} to see how to use DeleteDatabaseInsight API.
843
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/CreateOperationsInsightsWarehouse.ts.html |here} to see how to use CreateOperationsInsightsWarehouse API.
764
844
  */
765
- deleteDatabaseInsight(deleteDatabaseInsightRequest) {
845
+ createOperationsInsightsWarehouse(createOperationsInsightsWarehouseRequest) {
766
846
  return __awaiter(this, void 0, void 0, function* () {
767
847
  if (this.logger)
768
- this.logger.debug("Calling operation OperationsInsightsClient#deleteDatabaseInsight.");
769
- const pathParams = {
770
- "{databaseInsightId}": deleteDatabaseInsightRequest.databaseInsightId
771
- };
848
+ this.logger.debug("Calling operation OperationsInsightsClient#createOperationsInsightsWarehouse.");
849
+ const pathParams = {};
772
850
  const queryParams = {};
773
851
  let headerParams = {
774
852
  "Content-Type": common.Constants.APPLICATION_JSON,
775
- "if-match": deleteDatabaseInsightRequest.ifMatch,
776
- "opc-request-id": deleteDatabaseInsightRequest.opcRequestId
853
+ "opc-retry-token": createOperationsInsightsWarehouseRequest.opcRetryToken,
854
+ "opc-request-id": createOperationsInsightsWarehouseRequest.opcRequestId
777
855
  };
778
856
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
779
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteDatabaseInsightRequest.retryConfiguration, specRetryConfiguration);
857
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createOperationsInsightsWarehouseRequest.retryConfiguration, specRetryConfiguration);
780
858
  if (this.logger)
781
859
  retrier.logger = this.logger;
782
860
  const request = yield oci_common_1.composeRequest({
783
861
  baseEndpoint: this._endpoint,
784
862
  defaultHeaders: this._defaultHeaders,
785
- path: "/databaseInsights/{databaseInsightId}",
786
- method: "DELETE",
863
+ path: "/operationsInsightsWarehouses",
864
+ method: "POST",
865
+ bodyContent: common.ObjectSerializer.serialize(createOperationsInsightsWarehouseRequest.createOperationsInsightsWarehouseDetails, "CreateOperationsInsightsWarehouseDetails", model.CreateOperationsInsightsWarehouseDetails.getJsonObj),
787
866
  pathParams: pathParams,
788
867
  headerParams: headerParams,
789
868
  queryParams: queryParams
@@ -792,6 +871,10 @@ class OperationsInsightsClient {
792
871
  const response = yield retrier.makeServiceCall(this._httpClient, request);
793
872
  const sdkResponse = oci_common_1.composeResponse({
794
873
  responseObject: {},
874
+ body: yield response.json(),
875
+ bodyKey: "operationsInsightsWarehouse",
876
+ bodyModel: model.OperationsInsightsWarehouse,
877
+ type: "model.OperationsInsightsWarehouse",
795
878
  responseHeaders: [
796
879
  {
797
880
  value: response.headers.get("opc-work-request-id"),
@@ -802,6 +885,21 @@ class OperationsInsightsClient {
802
885
  value: response.headers.get("opc-request-id"),
803
886
  key: "opcRequestId",
804
887
  dataType: "string"
888
+ },
889
+ {
890
+ value: response.headers.get("location"),
891
+ key: "location",
892
+ dataType: "string"
893
+ },
894
+ {
895
+ value: response.headers.get("content-location"),
896
+ key: "contentLocation",
897
+ dataType: "string"
898
+ },
899
+ {
900
+ value: response.headers.get("etag"),
901
+ key: "etag",
902
+ dataType: "string"
805
903
  }
806
904
  ]
807
905
  });
@@ -813,35 +911,36 @@ class OperationsInsightsClient {
813
911
  });
814
912
  }
815
913
  /**
816
- * Deletes an Operations Insights Enterprise Manager bridge. If any database insight is still referencing this bridge, the operation will fail.
914
+ * Create a Operations Insights Warehouse user resource for the tenant in Operations Insights.
915
+ * This resource will be created in root compartment.
916
+ *
817
917
  * This operation does not retry by default if the user has not defined a retry configuration.
818
- * @param DeleteEnterpriseManagerBridgeRequest
819
- * @return DeleteEnterpriseManagerBridgeResponse
918
+ * @param CreateOperationsInsightsWarehouseUserRequest
919
+ * @return CreateOperationsInsightsWarehouseUserResponse
820
920
  * @throws OciError when an error occurs
821
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/DeleteEnterpriseManagerBridge.ts.html |here} to see how to use DeleteEnterpriseManagerBridge API.
921
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/CreateOperationsInsightsWarehouseUser.ts.html |here} to see how to use CreateOperationsInsightsWarehouseUser API.
822
922
  */
823
- deleteEnterpriseManagerBridge(deleteEnterpriseManagerBridgeRequest) {
923
+ createOperationsInsightsWarehouseUser(createOperationsInsightsWarehouseUserRequest) {
824
924
  return __awaiter(this, void 0, void 0, function* () {
825
925
  if (this.logger)
826
- this.logger.debug("Calling operation OperationsInsightsClient#deleteEnterpriseManagerBridge.");
827
- const pathParams = {
828
- "{enterpriseManagerBridgeId}": deleteEnterpriseManagerBridgeRequest.enterpriseManagerBridgeId
829
- };
926
+ this.logger.debug("Calling operation OperationsInsightsClient#createOperationsInsightsWarehouseUser.");
927
+ const pathParams = {};
830
928
  const queryParams = {};
831
929
  let headerParams = {
832
930
  "Content-Type": common.Constants.APPLICATION_JSON,
833
- "if-match": deleteEnterpriseManagerBridgeRequest.ifMatch,
834
- "opc-request-id": deleteEnterpriseManagerBridgeRequest.opcRequestId
931
+ "opc-retry-token": createOperationsInsightsWarehouseUserRequest.opcRetryToken,
932
+ "opc-request-id": createOperationsInsightsWarehouseUserRequest.opcRequestId
835
933
  };
836
934
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
837
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteEnterpriseManagerBridgeRequest.retryConfiguration, specRetryConfiguration);
935
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createOperationsInsightsWarehouseUserRequest.retryConfiguration, specRetryConfiguration);
838
936
  if (this.logger)
839
937
  retrier.logger = this.logger;
840
938
  const request = yield oci_common_1.composeRequest({
841
939
  baseEndpoint: this._endpoint,
842
940
  defaultHeaders: this._defaultHeaders,
843
- path: "/enterpriseManagerBridges/{enterpriseManagerBridgeId}",
844
- method: "DELETE",
941
+ path: "/operationsInsightsWarehouseUsers",
942
+ method: "POST",
943
+ bodyContent: common.ObjectSerializer.serialize(createOperationsInsightsWarehouseUserRequest.createOperationsInsightsWarehouseUserDetails, "CreateOperationsInsightsWarehouseUserDetails", model.CreateOperationsInsightsWarehouseUserDetails.getJsonObj),
845
944
  pathParams: pathParams,
846
945
  headerParams: headerParams,
847
946
  queryParams: queryParams
@@ -850,6 +949,10 @@ class OperationsInsightsClient {
850
949
  const response = yield retrier.makeServiceCall(this._httpClient, request);
851
950
  const sdkResponse = oci_common_1.composeResponse({
852
951
  responseObject: {},
952
+ body: yield response.json(),
953
+ bodyKey: "operationsInsightsWarehouseUser",
954
+ bodyModel: model.OperationsInsightsWarehouseUser,
955
+ type: "model.OperationsInsightsWarehouseUser",
853
956
  responseHeaders: [
854
957
  {
855
958
  value: response.headers.get("opc-work-request-id"),
@@ -860,6 +963,21 @@ class OperationsInsightsClient {
860
963
  value: response.headers.get("opc-request-id"),
861
964
  key: "opcRequestId",
862
965
  dataType: "string"
966
+ },
967
+ {
968
+ value: response.headers.get("location"),
969
+ key: "location",
970
+ dataType: "string"
971
+ },
972
+ {
973
+ value: response.headers.get("content-location"),
974
+ key: "contentLocation",
975
+ dataType: "string"
976
+ },
977
+ {
978
+ value: response.headers.get("etag"),
979
+ key: "etag",
980
+ dataType: "string"
863
981
  }
864
982
  ]
865
983
  });
@@ -871,34 +989,34 @@ class OperationsInsightsClient {
871
989
  });
872
990
  }
873
991
  /**
874
- * Deletes an Exadata insight. The Exadata insight will be deleted and cannot be enabled again.
992
+ * Deletes an AWR hub.
875
993
  * This operation does not retry by default if the user has not defined a retry configuration.
876
- * @param DeleteExadataInsightRequest
877
- * @return DeleteExadataInsightResponse
994
+ * @param DeleteAwrHubRequest
995
+ * @return DeleteAwrHubResponse
878
996
  * @throws OciError when an error occurs
879
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/DeleteExadataInsight.ts.html |here} to see how to use DeleteExadataInsight API.
997
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/DeleteAwrHub.ts.html |here} to see how to use DeleteAwrHub API.
880
998
  */
881
- deleteExadataInsight(deleteExadataInsightRequest) {
999
+ deleteAwrHub(deleteAwrHubRequest) {
882
1000
  return __awaiter(this, void 0, void 0, function* () {
883
1001
  if (this.logger)
884
- this.logger.debug("Calling operation OperationsInsightsClient#deleteExadataInsight.");
1002
+ this.logger.debug("Calling operation OperationsInsightsClient#deleteAwrHub.");
885
1003
  const pathParams = {
886
- "{exadataInsightId}": deleteExadataInsightRequest.exadataInsightId
1004
+ "{awrHubId}": deleteAwrHubRequest.awrHubId
887
1005
  };
888
1006
  const queryParams = {};
889
1007
  let headerParams = {
890
1008
  "Content-Type": common.Constants.APPLICATION_JSON,
891
- "if-match": deleteExadataInsightRequest.ifMatch,
892
- "opc-request-id": deleteExadataInsightRequest.opcRequestId
1009
+ "if-match": deleteAwrHubRequest.ifMatch,
1010
+ "opc-request-id": deleteAwrHubRequest.opcRequestId
893
1011
  };
894
1012
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
895
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteExadataInsightRequest.retryConfiguration, specRetryConfiguration);
1013
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteAwrHubRequest.retryConfiguration, specRetryConfiguration);
896
1014
  if (this.logger)
897
1015
  retrier.logger = this.logger;
898
1016
  const request = yield oci_common_1.composeRequest({
899
1017
  baseEndpoint: this._endpoint,
900
1018
  defaultHeaders: this._defaultHeaders,
901
- path: "/exadataInsights/{exadataInsightId}",
1019
+ path: "/awrHubs/{awrHubId}",
902
1020
  method: "DELETE",
903
1021
  pathParams: pathParams,
904
1022
  headerParams: headerParams,
@@ -929,34 +1047,34 @@ class OperationsInsightsClient {
929
1047
  });
930
1048
  }
931
1049
  /**
932
- * Deletes a host insight. The host insight will be deleted and cannot be enabled again.
1050
+ * Deletes a database insight. The database insight will be deleted and cannot be enabled again.
933
1051
  * This operation does not retry by default if the user has not defined a retry configuration.
934
- * @param DeleteHostInsightRequest
935
- * @return DeleteHostInsightResponse
1052
+ * @param DeleteDatabaseInsightRequest
1053
+ * @return DeleteDatabaseInsightResponse
936
1054
  * @throws OciError when an error occurs
937
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/DeleteHostInsight.ts.html |here} to see how to use DeleteHostInsight API.
1055
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/DeleteDatabaseInsight.ts.html |here} to see how to use DeleteDatabaseInsight API.
938
1056
  */
939
- deleteHostInsight(deleteHostInsightRequest) {
1057
+ deleteDatabaseInsight(deleteDatabaseInsightRequest) {
940
1058
  return __awaiter(this, void 0, void 0, function* () {
941
1059
  if (this.logger)
942
- this.logger.debug("Calling operation OperationsInsightsClient#deleteHostInsight.");
1060
+ this.logger.debug("Calling operation OperationsInsightsClient#deleteDatabaseInsight.");
943
1061
  const pathParams = {
944
- "{hostInsightId}": deleteHostInsightRequest.hostInsightId
1062
+ "{databaseInsightId}": deleteDatabaseInsightRequest.databaseInsightId
945
1063
  };
946
1064
  const queryParams = {};
947
1065
  let headerParams = {
948
1066
  "Content-Type": common.Constants.APPLICATION_JSON,
949
- "if-match": deleteHostInsightRequest.ifMatch,
950
- "opc-request-id": deleteHostInsightRequest.opcRequestId
1067
+ "if-match": deleteDatabaseInsightRequest.ifMatch,
1068
+ "opc-request-id": deleteDatabaseInsightRequest.opcRequestId
951
1069
  };
952
1070
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
953
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteHostInsightRequest.retryConfiguration, specRetryConfiguration);
1071
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteDatabaseInsightRequest.retryConfiguration, specRetryConfiguration);
954
1072
  if (this.logger)
955
1073
  retrier.logger = this.logger;
956
1074
  const request = yield oci_common_1.composeRequest({
957
1075
  baseEndpoint: this._endpoint,
958
1076
  defaultHeaders: this._defaultHeaders,
959
- path: "/hostInsights/{hostInsightId}",
1077
+ path: "/databaseInsights/{databaseInsightId}",
960
1078
  method: "DELETE",
961
1079
  pathParams: pathParams,
962
1080
  headerParams: headerParams,
@@ -987,36 +1105,35 @@ class OperationsInsightsClient {
987
1105
  });
988
1106
  }
989
1107
  /**
990
- * Disables a database in Operations Insights. Database metric collection and analysis will be stopped.
1108
+ * Deletes an Operations Insights Enterprise Manager bridge. If any database insight is still referencing this bridge, the operation will fail.
991
1109
  * This operation does not retry by default if the user has not defined a retry configuration.
992
- * @param DisableDatabaseInsightRequest
993
- * @return DisableDatabaseInsightResponse
1110
+ * @param DeleteEnterpriseManagerBridgeRequest
1111
+ * @return DeleteEnterpriseManagerBridgeResponse
994
1112
  * @throws OciError when an error occurs
995
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/DisableDatabaseInsight.ts.html |here} to see how to use DisableDatabaseInsight API.
1113
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/DeleteEnterpriseManagerBridge.ts.html |here} to see how to use DeleteEnterpriseManagerBridge API.
996
1114
  */
997
- disableDatabaseInsight(disableDatabaseInsightRequest) {
1115
+ deleteEnterpriseManagerBridge(deleteEnterpriseManagerBridgeRequest) {
998
1116
  return __awaiter(this, void 0, void 0, function* () {
999
1117
  if (this.logger)
1000
- this.logger.debug("Calling operation OperationsInsightsClient#disableDatabaseInsight.");
1118
+ this.logger.debug("Calling operation OperationsInsightsClient#deleteEnterpriseManagerBridge.");
1001
1119
  const pathParams = {
1002
- "{databaseInsightId}": disableDatabaseInsightRequest.databaseInsightId
1120
+ "{enterpriseManagerBridgeId}": deleteEnterpriseManagerBridgeRequest.enterpriseManagerBridgeId
1003
1121
  };
1004
1122
  const queryParams = {};
1005
1123
  let headerParams = {
1006
1124
  "Content-Type": common.Constants.APPLICATION_JSON,
1007
- "if-match": disableDatabaseInsightRequest.ifMatch,
1008
- "opc-request-id": disableDatabaseInsightRequest.opcRequestId,
1009
- "opc-retry-token": disableDatabaseInsightRequest.opcRetryToken
1125
+ "if-match": deleteEnterpriseManagerBridgeRequest.ifMatch,
1126
+ "opc-request-id": deleteEnterpriseManagerBridgeRequest.opcRequestId
1010
1127
  };
1011
1128
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1012
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, disableDatabaseInsightRequest.retryConfiguration, specRetryConfiguration);
1129
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteEnterpriseManagerBridgeRequest.retryConfiguration, specRetryConfiguration);
1013
1130
  if (this.logger)
1014
1131
  retrier.logger = this.logger;
1015
1132
  const request = yield oci_common_1.composeRequest({
1016
1133
  baseEndpoint: this._endpoint,
1017
1134
  defaultHeaders: this._defaultHeaders,
1018
- path: "/databaseInsights/{databaseInsightId}/actions/disable",
1019
- method: "POST",
1135
+ path: "/enterpriseManagerBridges/{enterpriseManagerBridgeId}",
1136
+ method: "DELETE",
1020
1137
  pathParams: pathParams,
1021
1138
  headerParams: headerParams,
1022
1139
  queryParams: queryParams
@@ -1046,36 +1163,35 @@ class OperationsInsightsClient {
1046
1163
  });
1047
1164
  }
1048
1165
  /**
1049
- * Disables an Exadata system in Operations Insights. Exadata-related metric collection and analysis will be stopped.
1166
+ * Deletes an Exadata insight. The Exadata insight will be deleted and cannot be enabled again.
1050
1167
  * This operation does not retry by default if the user has not defined a retry configuration.
1051
- * @param DisableExadataInsightRequest
1052
- * @return DisableExadataInsightResponse
1168
+ * @param DeleteExadataInsightRequest
1169
+ * @return DeleteExadataInsightResponse
1053
1170
  * @throws OciError when an error occurs
1054
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/DisableExadataInsight.ts.html |here} to see how to use DisableExadataInsight API.
1171
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/DeleteExadataInsight.ts.html |here} to see how to use DeleteExadataInsight API.
1055
1172
  */
1056
- disableExadataInsight(disableExadataInsightRequest) {
1173
+ deleteExadataInsight(deleteExadataInsightRequest) {
1057
1174
  return __awaiter(this, void 0, void 0, function* () {
1058
1175
  if (this.logger)
1059
- this.logger.debug("Calling operation OperationsInsightsClient#disableExadataInsight.");
1176
+ this.logger.debug("Calling operation OperationsInsightsClient#deleteExadataInsight.");
1060
1177
  const pathParams = {
1061
- "{exadataInsightId}": disableExadataInsightRequest.exadataInsightId
1178
+ "{exadataInsightId}": deleteExadataInsightRequest.exadataInsightId
1062
1179
  };
1063
1180
  const queryParams = {};
1064
1181
  let headerParams = {
1065
1182
  "Content-Type": common.Constants.APPLICATION_JSON,
1066
- "if-match": disableExadataInsightRequest.ifMatch,
1067
- "opc-request-id": disableExadataInsightRequest.opcRequestId,
1068
- "opc-retry-token": disableExadataInsightRequest.opcRetryToken
1183
+ "if-match": deleteExadataInsightRequest.ifMatch,
1184
+ "opc-request-id": deleteExadataInsightRequest.opcRequestId
1069
1185
  };
1070
1186
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1071
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, disableExadataInsightRequest.retryConfiguration, specRetryConfiguration);
1187
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteExadataInsightRequest.retryConfiguration, specRetryConfiguration);
1072
1188
  if (this.logger)
1073
1189
  retrier.logger = this.logger;
1074
1190
  const request = yield oci_common_1.composeRequest({
1075
1191
  baseEndpoint: this._endpoint,
1076
1192
  defaultHeaders: this._defaultHeaders,
1077
- path: "/exadataInsights/{exadataInsightId}/actions/disable",
1078
- method: "POST",
1193
+ path: "/exadataInsights/{exadataInsightId}",
1194
+ method: "DELETE",
1079
1195
  pathParams: pathParams,
1080
1196
  headerParams: headerParams,
1081
1197
  queryParams: queryParams
@@ -1105,36 +1221,35 @@ class OperationsInsightsClient {
1105
1221
  });
1106
1222
  }
1107
1223
  /**
1108
- * Disables a host in Operations Insights. Host metric collection and analysis will be stopped.
1224
+ * Deletes a host insight. The host insight will be deleted and cannot be enabled again.
1109
1225
  * This operation does not retry by default if the user has not defined a retry configuration.
1110
- * @param DisableHostInsightRequest
1111
- * @return DisableHostInsightResponse
1226
+ * @param DeleteHostInsightRequest
1227
+ * @return DeleteHostInsightResponse
1112
1228
  * @throws OciError when an error occurs
1113
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/DisableHostInsight.ts.html |here} to see how to use DisableHostInsight API.
1229
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/DeleteHostInsight.ts.html |here} to see how to use DeleteHostInsight API.
1114
1230
  */
1115
- disableHostInsight(disableHostInsightRequest) {
1231
+ deleteHostInsight(deleteHostInsightRequest) {
1116
1232
  return __awaiter(this, void 0, void 0, function* () {
1117
1233
  if (this.logger)
1118
- this.logger.debug("Calling operation OperationsInsightsClient#disableHostInsight.");
1234
+ this.logger.debug("Calling operation OperationsInsightsClient#deleteHostInsight.");
1119
1235
  const pathParams = {
1120
- "{hostInsightId}": disableHostInsightRequest.hostInsightId
1236
+ "{hostInsightId}": deleteHostInsightRequest.hostInsightId
1121
1237
  };
1122
1238
  const queryParams = {};
1123
1239
  let headerParams = {
1124
1240
  "Content-Type": common.Constants.APPLICATION_JSON,
1125
- "if-match": disableHostInsightRequest.ifMatch,
1126
- "opc-request-id": disableHostInsightRequest.opcRequestId,
1127
- "opc-retry-token": disableHostInsightRequest.opcRetryToken
1241
+ "if-match": deleteHostInsightRequest.ifMatch,
1242
+ "opc-request-id": deleteHostInsightRequest.opcRequestId
1128
1243
  };
1129
1244
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1130
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, disableHostInsightRequest.retryConfiguration, specRetryConfiguration);
1245
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteHostInsightRequest.retryConfiguration, specRetryConfiguration);
1131
1246
  if (this.logger)
1132
1247
  retrier.logger = this.logger;
1133
1248
  const request = yield oci_common_1.composeRequest({
1134
1249
  baseEndpoint: this._endpoint,
1135
1250
  defaultHeaders: this._defaultHeaders,
1136
- path: "/hostInsights/{hostInsightId}/actions/disable",
1137
- method: "POST",
1251
+ path: "/hostInsights/{hostInsightId}",
1252
+ method: "DELETE",
1138
1253
  pathParams: pathParams,
1139
1254
  headerParams: headerParams,
1140
1255
  queryParams: queryParams
@@ -1164,37 +1279,39 @@ class OperationsInsightsClient {
1164
1279
  });
1165
1280
  }
1166
1281
  /**
1167
- * Enables a database in Operations Insights. Database metric collection and analysis will be started.
1282
+ * Deletes an Operations Insights Warehouse. There is only expected to be 1 warehouse per tenant.
1283
+ * The warehouse is expected to be in the root compartment.
1284
+ * User must delete AWR Hub resource for this warehouse before calling this operation.
1285
+ * User must delete the warehouse users before calling this operation.
1286
+ *
1168
1287
  * This operation does not retry by default if the user has not defined a retry configuration.
1169
- * @param EnableDatabaseInsightRequest
1170
- * @return EnableDatabaseInsightResponse
1288
+ * @param DeleteOperationsInsightsWarehouseRequest
1289
+ * @return DeleteOperationsInsightsWarehouseResponse
1171
1290
  * @throws OciError when an error occurs
1172
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/EnableDatabaseInsight.ts.html |here} to see how to use EnableDatabaseInsight API.
1291
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/DeleteOperationsInsightsWarehouse.ts.html |here} to see how to use DeleteOperationsInsightsWarehouse API.
1173
1292
  */
1174
- enableDatabaseInsight(enableDatabaseInsightRequest) {
1293
+ deleteOperationsInsightsWarehouse(deleteOperationsInsightsWarehouseRequest) {
1175
1294
  return __awaiter(this, void 0, void 0, function* () {
1176
1295
  if (this.logger)
1177
- this.logger.debug("Calling operation OperationsInsightsClient#enableDatabaseInsight.");
1296
+ this.logger.debug("Calling operation OperationsInsightsClient#deleteOperationsInsightsWarehouse.");
1178
1297
  const pathParams = {
1179
- "{databaseInsightId}": enableDatabaseInsightRequest.databaseInsightId
1298
+ "{operationsInsightsWarehouseId}": deleteOperationsInsightsWarehouseRequest.operationsInsightsWarehouseId
1180
1299
  };
1181
1300
  const queryParams = {};
1182
1301
  let headerParams = {
1183
1302
  "Content-Type": common.Constants.APPLICATION_JSON,
1184
- "if-match": enableDatabaseInsightRequest.ifMatch,
1185
- "opc-request-id": enableDatabaseInsightRequest.opcRequestId,
1186
- "opc-retry-token": enableDatabaseInsightRequest.opcRetryToken
1303
+ "if-match": deleteOperationsInsightsWarehouseRequest.ifMatch,
1304
+ "opc-request-id": deleteOperationsInsightsWarehouseRequest.opcRequestId
1187
1305
  };
1188
1306
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1189
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, enableDatabaseInsightRequest.retryConfiguration, specRetryConfiguration);
1307
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteOperationsInsightsWarehouseRequest.retryConfiguration, specRetryConfiguration);
1190
1308
  if (this.logger)
1191
1309
  retrier.logger = this.logger;
1192
1310
  const request = yield oci_common_1.composeRequest({
1193
1311
  baseEndpoint: this._endpoint,
1194
1312
  defaultHeaders: this._defaultHeaders,
1195
- path: "/databaseInsights/{databaseInsightId}/actions/enable",
1196
- method: "POST",
1197
- bodyContent: common.ObjectSerializer.serialize(enableDatabaseInsightRequest.enableDatabaseInsightDetails, "EnableDatabaseInsightDetails", model.EnableDatabaseInsightDetails.getJsonObj),
1313
+ path: "/operationsInsightsWarehouses/{operationsInsightsWarehouseId}",
1314
+ method: "DELETE",
1198
1315
  pathParams: pathParams,
1199
1316
  headerParams: headerParams,
1200
1317
  queryParams: queryParams
@@ -1224,37 +1341,35 @@ class OperationsInsightsClient {
1224
1341
  });
1225
1342
  }
1226
1343
  /**
1227
- * Enables an Exadata system in Operations Insights. Exadata-related metric collection and analysis will be started.
1344
+ * Deletes an Operations Insights Warehouse User.
1228
1345
  * This operation does not retry by default if the user has not defined a retry configuration.
1229
- * @param EnableExadataInsightRequest
1230
- * @return EnableExadataInsightResponse
1346
+ * @param DeleteOperationsInsightsWarehouseUserRequest
1347
+ * @return DeleteOperationsInsightsWarehouseUserResponse
1231
1348
  * @throws OciError when an error occurs
1232
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/EnableExadataInsight.ts.html |here} to see how to use EnableExadataInsight API.
1349
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/DeleteOperationsInsightsWarehouseUser.ts.html |here} to see how to use DeleteOperationsInsightsWarehouseUser API.
1233
1350
  */
1234
- enableExadataInsight(enableExadataInsightRequest) {
1351
+ deleteOperationsInsightsWarehouseUser(deleteOperationsInsightsWarehouseUserRequest) {
1235
1352
  return __awaiter(this, void 0, void 0, function* () {
1236
1353
  if (this.logger)
1237
- this.logger.debug("Calling operation OperationsInsightsClient#enableExadataInsight.");
1354
+ this.logger.debug("Calling operation OperationsInsightsClient#deleteOperationsInsightsWarehouseUser.");
1238
1355
  const pathParams = {
1239
- "{exadataInsightId}": enableExadataInsightRequest.exadataInsightId
1356
+ "{operationsInsightsWarehouseUserId}": deleteOperationsInsightsWarehouseUserRequest.operationsInsightsWarehouseUserId
1240
1357
  };
1241
1358
  const queryParams = {};
1242
1359
  let headerParams = {
1243
1360
  "Content-Type": common.Constants.APPLICATION_JSON,
1244
- "if-match": enableExadataInsightRequest.ifMatch,
1245
- "opc-request-id": enableExadataInsightRequest.opcRequestId,
1246
- "opc-retry-token": enableExadataInsightRequest.opcRetryToken
1361
+ "if-match": deleteOperationsInsightsWarehouseUserRequest.ifMatch,
1362
+ "opc-request-id": deleteOperationsInsightsWarehouseUserRequest.opcRequestId
1247
1363
  };
1248
1364
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1249
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, enableExadataInsightRequest.retryConfiguration, specRetryConfiguration);
1365
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteOperationsInsightsWarehouseUserRequest.retryConfiguration, specRetryConfiguration);
1250
1366
  if (this.logger)
1251
1367
  retrier.logger = this.logger;
1252
1368
  const request = yield oci_common_1.composeRequest({
1253
1369
  baseEndpoint: this._endpoint,
1254
1370
  defaultHeaders: this._defaultHeaders,
1255
- path: "/exadataInsights/{exadataInsightId}/actions/enable",
1256
- method: "POST",
1257
- bodyContent: common.ObjectSerializer.serialize(enableExadataInsightRequest.enableExadataInsightDetails, "EnableExadataInsightDetails", model.EnableExadataInsightDetails.getJsonObj),
1371
+ path: "/operationsInsightsWarehouseUsers/{operationsInsightsWarehouseUserId}",
1372
+ method: "DELETE",
1258
1373
  pathParams: pathParams,
1259
1374
  headerParams: headerParams,
1260
1375
  queryParams: queryParams
@@ -1284,37 +1399,651 @@ class OperationsInsightsClient {
1284
1399
  });
1285
1400
  }
1286
1401
  /**
1287
- * Enables a host in Operations Insights. Host metric collection and analysis will be started.
1402
+ * Disables a database in Operations Insights. Database metric collection and analysis will be stopped.
1403
+ * This operation does not retry by default if the user has not defined a retry configuration.
1404
+ * @param DisableDatabaseInsightRequest
1405
+ * @return DisableDatabaseInsightResponse
1406
+ * @throws OciError when an error occurs
1407
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/DisableDatabaseInsight.ts.html |here} to see how to use DisableDatabaseInsight API.
1408
+ */
1409
+ disableDatabaseInsight(disableDatabaseInsightRequest) {
1410
+ return __awaiter(this, void 0, void 0, function* () {
1411
+ if (this.logger)
1412
+ this.logger.debug("Calling operation OperationsInsightsClient#disableDatabaseInsight.");
1413
+ const pathParams = {
1414
+ "{databaseInsightId}": disableDatabaseInsightRequest.databaseInsightId
1415
+ };
1416
+ const queryParams = {};
1417
+ let headerParams = {
1418
+ "Content-Type": common.Constants.APPLICATION_JSON,
1419
+ "if-match": disableDatabaseInsightRequest.ifMatch,
1420
+ "opc-request-id": disableDatabaseInsightRequest.opcRequestId,
1421
+ "opc-retry-token": disableDatabaseInsightRequest.opcRetryToken
1422
+ };
1423
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1424
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, disableDatabaseInsightRequest.retryConfiguration, specRetryConfiguration);
1425
+ if (this.logger)
1426
+ retrier.logger = this.logger;
1427
+ const request = yield oci_common_1.composeRequest({
1428
+ baseEndpoint: this._endpoint,
1429
+ defaultHeaders: this._defaultHeaders,
1430
+ path: "/databaseInsights/{databaseInsightId}/actions/disable",
1431
+ method: "POST",
1432
+ pathParams: pathParams,
1433
+ headerParams: headerParams,
1434
+ queryParams: queryParams
1435
+ });
1436
+ try {
1437
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
1438
+ const sdkResponse = oci_common_1.composeResponse({
1439
+ responseObject: {},
1440
+ responseHeaders: [
1441
+ {
1442
+ value: response.headers.get("opc-work-request-id"),
1443
+ key: "opcWorkRequestId",
1444
+ dataType: "string"
1445
+ },
1446
+ {
1447
+ value: response.headers.get("opc-request-id"),
1448
+ key: "opcRequestId",
1449
+ dataType: "string"
1450
+ }
1451
+ ]
1452
+ });
1453
+ return sdkResponse;
1454
+ }
1455
+ catch (err) {
1456
+ throw err;
1457
+ }
1458
+ });
1459
+ }
1460
+ /**
1461
+ * Disables an Exadata system in Operations Insights. Exadata-related metric collection and analysis will be stopped.
1462
+ * This operation does not retry by default if the user has not defined a retry configuration.
1463
+ * @param DisableExadataInsightRequest
1464
+ * @return DisableExadataInsightResponse
1465
+ * @throws OciError when an error occurs
1466
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/DisableExadataInsight.ts.html |here} to see how to use DisableExadataInsight API.
1467
+ */
1468
+ disableExadataInsight(disableExadataInsightRequest) {
1469
+ return __awaiter(this, void 0, void 0, function* () {
1470
+ if (this.logger)
1471
+ this.logger.debug("Calling operation OperationsInsightsClient#disableExadataInsight.");
1472
+ const pathParams = {
1473
+ "{exadataInsightId}": disableExadataInsightRequest.exadataInsightId
1474
+ };
1475
+ const queryParams = {};
1476
+ let headerParams = {
1477
+ "Content-Type": common.Constants.APPLICATION_JSON,
1478
+ "if-match": disableExadataInsightRequest.ifMatch,
1479
+ "opc-request-id": disableExadataInsightRequest.opcRequestId,
1480
+ "opc-retry-token": disableExadataInsightRequest.opcRetryToken
1481
+ };
1482
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1483
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, disableExadataInsightRequest.retryConfiguration, specRetryConfiguration);
1484
+ if (this.logger)
1485
+ retrier.logger = this.logger;
1486
+ const request = yield oci_common_1.composeRequest({
1487
+ baseEndpoint: this._endpoint,
1488
+ defaultHeaders: this._defaultHeaders,
1489
+ path: "/exadataInsights/{exadataInsightId}/actions/disable",
1490
+ method: "POST",
1491
+ pathParams: pathParams,
1492
+ headerParams: headerParams,
1493
+ queryParams: queryParams
1494
+ });
1495
+ try {
1496
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
1497
+ const sdkResponse = oci_common_1.composeResponse({
1498
+ responseObject: {},
1499
+ responseHeaders: [
1500
+ {
1501
+ value: response.headers.get("opc-work-request-id"),
1502
+ key: "opcWorkRequestId",
1503
+ dataType: "string"
1504
+ },
1505
+ {
1506
+ value: response.headers.get("opc-request-id"),
1507
+ key: "opcRequestId",
1508
+ dataType: "string"
1509
+ }
1510
+ ]
1511
+ });
1512
+ return sdkResponse;
1513
+ }
1514
+ catch (err) {
1515
+ throw err;
1516
+ }
1517
+ });
1518
+ }
1519
+ /**
1520
+ * Disables a host in Operations Insights. Host metric collection and analysis will be stopped.
1521
+ * This operation does not retry by default if the user has not defined a retry configuration.
1522
+ * @param DisableHostInsightRequest
1523
+ * @return DisableHostInsightResponse
1524
+ * @throws OciError when an error occurs
1525
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/DisableHostInsight.ts.html |here} to see how to use DisableHostInsight API.
1526
+ */
1527
+ disableHostInsight(disableHostInsightRequest) {
1528
+ return __awaiter(this, void 0, void 0, function* () {
1529
+ if (this.logger)
1530
+ this.logger.debug("Calling operation OperationsInsightsClient#disableHostInsight.");
1531
+ const pathParams = {
1532
+ "{hostInsightId}": disableHostInsightRequest.hostInsightId
1533
+ };
1534
+ const queryParams = {};
1535
+ let headerParams = {
1536
+ "Content-Type": common.Constants.APPLICATION_JSON,
1537
+ "if-match": disableHostInsightRequest.ifMatch,
1538
+ "opc-request-id": disableHostInsightRequest.opcRequestId,
1539
+ "opc-retry-token": disableHostInsightRequest.opcRetryToken
1540
+ };
1541
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1542
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, disableHostInsightRequest.retryConfiguration, specRetryConfiguration);
1543
+ if (this.logger)
1544
+ retrier.logger = this.logger;
1545
+ const request = yield oci_common_1.composeRequest({
1546
+ baseEndpoint: this._endpoint,
1547
+ defaultHeaders: this._defaultHeaders,
1548
+ path: "/hostInsights/{hostInsightId}/actions/disable",
1549
+ method: "POST",
1550
+ pathParams: pathParams,
1551
+ headerParams: headerParams,
1552
+ queryParams: queryParams
1553
+ });
1554
+ try {
1555
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
1556
+ const sdkResponse = oci_common_1.composeResponse({
1557
+ responseObject: {},
1558
+ responseHeaders: [
1559
+ {
1560
+ value: response.headers.get("opc-work-request-id"),
1561
+ key: "opcWorkRequestId",
1562
+ dataType: "string"
1563
+ },
1564
+ {
1565
+ value: response.headers.get("opc-request-id"),
1566
+ key: "opcRequestId",
1567
+ dataType: "string"
1568
+ }
1569
+ ]
1570
+ });
1571
+ return sdkResponse;
1572
+ }
1573
+ catch (err) {
1574
+ throw err;
1575
+ }
1576
+ });
1577
+ }
1578
+ /**
1579
+ * Download the ADW wallet for Operations Insights Warehouse using which the Hub data is exposed.
1580
+ * This operation does not retry by default if the user has not defined a retry configuration.
1581
+ * @param DownloadOperationsInsightsWarehouseWalletRequest
1582
+ * @return DownloadOperationsInsightsWarehouseWalletResponse
1583
+ * @throws OciError when an error occurs
1584
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/DownloadOperationsInsightsWarehouseWallet.ts.html |here} to see how to use DownloadOperationsInsightsWarehouseWallet API.
1585
+ */
1586
+ downloadOperationsInsightsWarehouseWallet(downloadOperationsInsightsWarehouseWalletRequest) {
1587
+ return __awaiter(this, void 0, void 0, function* () {
1588
+ if (this.logger)
1589
+ this.logger.debug("Calling operation OperationsInsightsClient#downloadOperationsInsightsWarehouseWallet.");
1590
+ const pathParams = {
1591
+ "{operationsInsightsWarehouseId}": downloadOperationsInsightsWarehouseWalletRequest.operationsInsightsWarehouseId
1592
+ };
1593
+ const queryParams = {};
1594
+ let headerParams = {
1595
+ "Content-Type": common.Constants.APPLICATION_JSON,
1596
+ "opc-request-id": downloadOperationsInsightsWarehouseWalletRequest.opcRequestId,
1597
+ "opc-retry-token": downloadOperationsInsightsWarehouseWalletRequest.opcRetryToken
1598
+ };
1599
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1600
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, downloadOperationsInsightsWarehouseWalletRequest.retryConfiguration, specRetryConfiguration);
1601
+ if (this.logger)
1602
+ retrier.logger = this.logger;
1603
+ const request = yield oci_common_1.composeRequest({
1604
+ baseEndpoint: this._endpoint,
1605
+ defaultHeaders: this._defaultHeaders,
1606
+ path: "/operationsInsightsWarehouses/{operationsInsightsWarehouseId}/actions/downloadWarehouseWallet",
1607
+ method: "POST",
1608
+ bodyContent: common.ObjectSerializer.serialize(downloadOperationsInsightsWarehouseWalletRequest.downloadOperationsInsightsWarehouseWalletDetails, "DownloadOperationsInsightsWarehouseWalletDetails", model.DownloadOperationsInsightsWarehouseWalletDetails.getJsonObj),
1609
+ pathParams: pathParams,
1610
+ headerParams: headerParams,
1611
+ queryParams: queryParams
1612
+ });
1613
+ try {
1614
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
1615
+ const sdkResponse = oci_common_1.composeResponse({
1616
+ responseObject: {},
1617
+ body: response.body,
1618
+ bodyKey: "value",
1619
+ bodyModel: "string",
1620
+ responseHeaders: [
1621
+ {
1622
+ value: response.headers.get("etag"),
1623
+ key: "etag",
1624
+ dataType: "string"
1625
+ },
1626
+ {
1627
+ value: response.headers.get("opc-request-id"),
1628
+ key: "opcRequestId",
1629
+ dataType: "string"
1630
+ },
1631
+ {
1632
+ value: response.headers.get("content-length"),
1633
+ key: "contentLength",
1634
+ dataType: "number"
1635
+ },
1636
+ {
1637
+ value: response.headers.get("last-modified"),
1638
+ key: "lastModified",
1639
+ dataType: "Date"
1640
+ }
1641
+ ]
1642
+ });
1643
+ return sdkResponse;
1644
+ }
1645
+ catch (err) {
1646
+ throw err;
1647
+ }
1648
+ });
1649
+ }
1650
+ /**
1651
+ * Enables a database in Operations Insights. Database metric collection and analysis will be started.
1652
+ * This operation does not retry by default if the user has not defined a retry configuration.
1653
+ * @param EnableDatabaseInsightRequest
1654
+ * @return EnableDatabaseInsightResponse
1655
+ * @throws OciError when an error occurs
1656
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/EnableDatabaseInsight.ts.html |here} to see how to use EnableDatabaseInsight API.
1657
+ */
1658
+ enableDatabaseInsight(enableDatabaseInsightRequest) {
1659
+ return __awaiter(this, void 0, void 0, function* () {
1660
+ if (this.logger)
1661
+ this.logger.debug("Calling operation OperationsInsightsClient#enableDatabaseInsight.");
1662
+ const pathParams = {
1663
+ "{databaseInsightId}": enableDatabaseInsightRequest.databaseInsightId
1664
+ };
1665
+ const queryParams = {};
1666
+ let headerParams = {
1667
+ "Content-Type": common.Constants.APPLICATION_JSON,
1668
+ "if-match": enableDatabaseInsightRequest.ifMatch,
1669
+ "opc-request-id": enableDatabaseInsightRequest.opcRequestId,
1670
+ "opc-retry-token": enableDatabaseInsightRequest.opcRetryToken
1671
+ };
1672
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1673
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, enableDatabaseInsightRequest.retryConfiguration, specRetryConfiguration);
1674
+ if (this.logger)
1675
+ retrier.logger = this.logger;
1676
+ const request = yield oci_common_1.composeRequest({
1677
+ baseEndpoint: this._endpoint,
1678
+ defaultHeaders: this._defaultHeaders,
1679
+ path: "/databaseInsights/{databaseInsightId}/actions/enable",
1680
+ method: "POST",
1681
+ bodyContent: common.ObjectSerializer.serialize(enableDatabaseInsightRequest.enableDatabaseInsightDetails, "EnableDatabaseInsightDetails", model.EnableDatabaseInsightDetails.getJsonObj),
1682
+ pathParams: pathParams,
1683
+ headerParams: headerParams,
1684
+ queryParams: queryParams
1685
+ });
1686
+ try {
1687
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
1688
+ const sdkResponse = oci_common_1.composeResponse({
1689
+ responseObject: {},
1690
+ responseHeaders: [
1691
+ {
1692
+ value: response.headers.get("opc-work-request-id"),
1693
+ key: "opcWorkRequestId",
1694
+ dataType: "string"
1695
+ },
1696
+ {
1697
+ value: response.headers.get("opc-request-id"),
1698
+ key: "opcRequestId",
1699
+ dataType: "string"
1700
+ }
1701
+ ]
1702
+ });
1703
+ return sdkResponse;
1704
+ }
1705
+ catch (err) {
1706
+ throw err;
1707
+ }
1708
+ });
1709
+ }
1710
+ /**
1711
+ * Enables an Exadata system in Operations Insights. Exadata-related metric collection and analysis will be started.
1712
+ * This operation does not retry by default if the user has not defined a retry configuration.
1713
+ * @param EnableExadataInsightRequest
1714
+ * @return EnableExadataInsightResponse
1715
+ * @throws OciError when an error occurs
1716
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/EnableExadataInsight.ts.html |here} to see how to use EnableExadataInsight API.
1717
+ */
1718
+ enableExadataInsight(enableExadataInsightRequest) {
1719
+ return __awaiter(this, void 0, void 0, function* () {
1720
+ if (this.logger)
1721
+ this.logger.debug("Calling operation OperationsInsightsClient#enableExadataInsight.");
1722
+ const pathParams = {
1723
+ "{exadataInsightId}": enableExadataInsightRequest.exadataInsightId
1724
+ };
1725
+ const queryParams = {};
1726
+ let headerParams = {
1727
+ "Content-Type": common.Constants.APPLICATION_JSON,
1728
+ "if-match": enableExadataInsightRequest.ifMatch,
1729
+ "opc-request-id": enableExadataInsightRequest.opcRequestId,
1730
+ "opc-retry-token": enableExadataInsightRequest.opcRetryToken
1731
+ };
1732
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1733
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, enableExadataInsightRequest.retryConfiguration, specRetryConfiguration);
1734
+ if (this.logger)
1735
+ retrier.logger = this.logger;
1736
+ const request = yield oci_common_1.composeRequest({
1737
+ baseEndpoint: this._endpoint,
1738
+ defaultHeaders: this._defaultHeaders,
1739
+ path: "/exadataInsights/{exadataInsightId}/actions/enable",
1740
+ method: "POST",
1741
+ bodyContent: common.ObjectSerializer.serialize(enableExadataInsightRequest.enableExadataInsightDetails, "EnableExadataInsightDetails", model.EnableExadataInsightDetails.getJsonObj),
1742
+ pathParams: pathParams,
1743
+ headerParams: headerParams,
1744
+ queryParams: queryParams
1745
+ });
1746
+ try {
1747
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
1748
+ const sdkResponse = oci_common_1.composeResponse({
1749
+ responseObject: {},
1750
+ responseHeaders: [
1751
+ {
1752
+ value: response.headers.get("opc-work-request-id"),
1753
+ key: "opcWorkRequestId",
1754
+ dataType: "string"
1755
+ },
1756
+ {
1757
+ value: response.headers.get("opc-request-id"),
1758
+ key: "opcRequestId",
1759
+ dataType: "string"
1760
+ }
1761
+ ]
1762
+ });
1763
+ return sdkResponse;
1764
+ }
1765
+ catch (err) {
1766
+ throw err;
1767
+ }
1768
+ });
1769
+ }
1770
+ /**
1771
+ * Enables a host in Operations Insights. Host metric collection and analysis will be started.
1288
1772
  * This operation does not retry by default if the user has not defined a retry configuration.
1289
1773
  * @param EnableHostInsightRequest
1290
1774
  * @return EnableHostInsightResponse
1291
1775
  * @throws OciError when an error occurs
1292
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/EnableHostInsight.ts.html |here} to see how to use EnableHostInsight API.
1776
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/EnableHostInsight.ts.html |here} to see how to use EnableHostInsight API.
1293
1777
  */
1294
1778
  enableHostInsight(enableHostInsightRequest) {
1295
1779
  return __awaiter(this, void 0, void 0, function* () {
1296
1780
  if (this.logger)
1297
1781
  this.logger.debug("Calling operation OperationsInsightsClient#enableHostInsight.");
1298
1782
  const pathParams = {
1299
- "{hostInsightId}": enableHostInsightRequest.hostInsightId
1783
+ "{hostInsightId}": enableHostInsightRequest.hostInsightId
1784
+ };
1785
+ const queryParams = {};
1786
+ let headerParams = {
1787
+ "Content-Type": common.Constants.APPLICATION_JSON,
1788
+ "if-match": enableHostInsightRequest.ifMatch,
1789
+ "opc-request-id": enableHostInsightRequest.opcRequestId,
1790
+ "opc-retry-token": enableHostInsightRequest.opcRetryToken
1791
+ };
1792
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1793
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, enableHostInsightRequest.retryConfiguration, specRetryConfiguration);
1794
+ if (this.logger)
1795
+ retrier.logger = this.logger;
1796
+ const request = yield oci_common_1.composeRequest({
1797
+ baseEndpoint: this._endpoint,
1798
+ defaultHeaders: this._defaultHeaders,
1799
+ path: "/hostInsights/{hostInsightId}/actions/enable",
1800
+ method: "POST",
1801
+ bodyContent: common.ObjectSerializer.serialize(enableHostInsightRequest.enableHostInsightDetails, "EnableHostInsightDetails", model.EnableHostInsightDetails.getJsonObj),
1802
+ pathParams: pathParams,
1803
+ headerParams: headerParams,
1804
+ queryParams: queryParams
1805
+ });
1806
+ try {
1807
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
1808
+ const sdkResponse = oci_common_1.composeResponse({
1809
+ responseObject: {},
1810
+ responseHeaders: [
1811
+ {
1812
+ value: response.headers.get("opc-work-request-id"),
1813
+ key: "opcWorkRequestId",
1814
+ dataType: "string"
1815
+ },
1816
+ {
1817
+ value: response.headers.get("opc-request-id"),
1818
+ key: "opcRequestId",
1819
+ dataType: "string"
1820
+ }
1821
+ ]
1822
+ });
1823
+ return sdkResponse;
1824
+ }
1825
+ catch (err) {
1826
+ throw err;
1827
+ }
1828
+ });
1829
+ }
1830
+ /**
1831
+ * Gets details of an AWR hub.
1832
+ * This operation does not retry by default if the user has not defined a retry configuration.
1833
+ * @param GetAwrHubRequest
1834
+ * @return GetAwrHubResponse
1835
+ * @throws OciError when an error occurs
1836
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/GetAwrHub.ts.html |here} to see how to use GetAwrHub API.
1837
+ */
1838
+ getAwrHub(getAwrHubRequest) {
1839
+ return __awaiter(this, void 0, void 0, function* () {
1840
+ if (this.logger)
1841
+ this.logger.debug("Calling operation OperationsInsightsClient#getAwrHub.");
1842
+ const pathParams = {
1843
+ "{awrHubId}": getAwrHubRequest.awrHubId
1844
+ };
1845
+ const queryParams = {};
1846
+ let headerParams = {
1847
+ "Content-Type": common.Constants.APPLICATION_JSON,
1848
+ "opc-request-id": getAwrHubRequest.opcRequestId
1849
+ };
1850
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1851
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getAwrHubRequest.retryConfiguration, specRetryConfiguration);
1852
+ if (this.logger)
1853
+ retrier.logger = this.logger;
1854
+ const request = yield oci_common_1.composeRequest({
1855
+ baseEndpoint: this._endpoint,
1856
+ defaultHeaders: this._defaultHeaders,
1857
+ path: "/awrHubs/{awrHubId}",
1858
+ method: "GET",
1859
+ pathParams: pathParams,
1860
+ headerParams: headerParams,
1861
+ queryParams: queryParams
1862
+ });
1863
+ try {
1864
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
1865
+ const sdkResponse = oci_common_1.composeResponse({
1866
+ responseObject: {},
1867
+ body: yield response.json(),
1868
+ bodyKey: "awrHub",
1869
+ bodyModel: model.AwrHub,
1870
+ type: "model.AwrHub",
1871
+ responseHeaders: [
1872
+ {
1873
+ value: response.headers.get("etag"),
1874
+ key: "etag",
1875
+ dataType: "string"
1876
+ },
1877
+ {
1878
+ value: response.headers.get("opc-request-id"),
1879
+ key: "opcRequestId",
1880
+ dataType: "string"
1881
+ }
1882
+ ]
1883
+ });
1884
+ return sdkResponse;
1885
+ }
1886
+ catch (err) {
1887
+ throw err;
1888
+ }
1889
+ });
1890
+ }
1891
+ /**
1892
+ * Gets the AWR report for the specified source database in the AWR hub. The difference between the timeGreaterThanOrEqualTo and timeLessThanOrEqualTo should not be greater than 7 days.
1893
+ * Either beginSnapshotIdentifierGreaterThanOrEqualTo & endSnapshotIdentifierLessThanOrEqualTo params Or timeGreaterThanOrEqualTo & timeLessThanOrEqualTo params are required.
1894
+ *
1895
+ * This operation does not retry by default if the user has not defined a retry configuration.
1896
+ * @param GetAwrReportRequest
1897
+ * @return GetAwrReportResponse
1898
+ * @throws OciError when an error occurs
1899
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/GetAwrReport.ts.html |here} to see how to use GetAwrReport API.
1900
+ */
1901
+ getAwrReport(getAwrReportRequest) {
1902
+ return __awaiter(this, void 0, void 0, function* () {
1903
+ if (this.logger)
1904
+ this.logger.debug("Calling operation OperationsInsightsClient#getAwrReport.");
1905
+ const pathParams = {
1906
+ "{awrHubId}": getAwrReportRequest.awrHubId
1907
+ };
1908
+ const queryParams = {
1909
+ "awrSourceDatabaseIdentifier": getAwrReportRequest.awrSourceDatabaseIdentifier,
1910
+ "reportFormat": getAwrReportRequest.reportFormat,
1911
+ "instanceNumber": getAwrReportRequest.instanceNumber,
1912
+ "beginSnapshotIdentifierGreaterThanOrEqualTo": getAwrReportRequest.beginSnapshotIdentifierGreaterThanOrEqualTo,
1913
+ "endSnapshotIdentifierLessThanOrEqualTo": getAwrReportRequest.endSnapshotIdentifierLessThanOrEqualTo,
1914
+ "timeGreaterThanOrEqualTo": getAwrReportRequest.timeGreaterThanOrEqualTo,
1915
+ "timeLessThanOrEqualTo": getAwrReportRequest.timeLessThanOrEqualTo
1916
+ };
1917
+ let headerParams = {
1918
+ "Content-Type": common.Constants.APPLICATION_JSON,
1919
+ "opc-request-id": getAwrReportRequest.opcRequestId
1920
+ };
1921
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1922
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getAwrReportRequest.retryConfiguration, specRetryConfiguration);
1923
+ if (this.logger)
1924
+ retrier.logger = this.logger;
1925
+ const request = yield oci_common_1.composeRequest({
1926
+ baseEndpoint: this._endpoint,
1927
+ defaultHeaders: this._defaultHeaders,
1928
+ path: "/awrHubs/{awrHubId}/awrReport",
1929
+ method: "GET",
1930
+ pathParams: pathParams,
1931
+ headerParams: headerParams,
1932
+ queryParams: queryParams
1933
+ });
1934
+ try {
1935
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
1936
+ const sdkResponse = oci_common_1.composeResponse({
1937
+ responseObject: {},
1938
+ body: yield response.json(),
1939
+ bodyKey: "awrReport",
1940
+ bodyModel: model.AwrReport,
1941
+ type: "model.AwrReport",
1942
+ responseHeaders: [
1943
+ {
1944
+ value: response.headers.get("opc-request-id"),
1945
+ key: "opcRequestId",
1946
+ dataType: "string"
1947
+ }
1948
+ ]
1949
+ });
1950
+ return sdkResponse;
1951
+ }
1952
+ catch (err) {
1953
+ throw err;
1954
+ }
1955
+ });
1956
+ }
1957
+ /**
1958
+ * Gets details of a database insight.
1959
+ * This operation does not retry by default if the user has not defined a retry configuration.
1960
+ * @param GetDatabaseInsightRequest
1961
+ * @return GetDatabaseInsightResponse
1962
+ * @throws OciError when an error occurs
1963
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/GetDatabaseInsight.ts.html |here} to see how to use GetDatabaseInsight API.
1964
+ */
1965
+ getDatabaseInsight(getDatabaseInsightRequest) {
1966
+ return __awaiter(this, void 0, void 0, function* () {
1967
+ if (this.logger)
1968
+ this.logger.debug("Calling operation OperationsInsightsClient#getDatabaseInsight.");
1969
+ const pathParams = {
1970
+ "{databaseInsightId}": getDatabaseInsightRequest.databaseInsightId
1971
+ };
1972
+ const queryParams = {};
1973
+ let headerParams = {
1974
+ "Content-Type": common.Constants.APPLICATION_JSON,
1975
+ "opc-request-id": getDatabaseInsightRequest.opcRequestId
1976
+ };
1977
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1978
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDatabaseInsightRequest.retryConfiguration, specRetryConfiguration);
1979
+ if (this.logger)
1980
+ retrier.logger = this.logger;
1981
+ const request = yield oci_common_1.composeRequest({
1982
+ baseEndpoint: this._endpoint,
1983
+ defaultHeaders: this._defaultHeaders,
1984
+ path: "/databaseInsights/{databaseInsightId}",
1985
+ method: "GET",
1986
+ pathParams: pathParams,
1987
+ headerParams: headerParams,
1988
+ queryParams: queryParams
1989
+ });
1990
+ try {
1991
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
1992
+ const sdkResponse = oci_common_1.composeResponse({
1993
+ responseObject: {},
1994
+ body: yield response.json(),
1995
+ bodyKey: "databaseInsight",
1996
+ bodyModel: model.DatabaseInsight,
1997
+ type: "model.DatabaseInsight",
1998
+ responseHeaders: [
1999
+ {
2000
+ value: response.headers.get("etag"),
2001
+ key: "etag",
2002
+ dataType: "string"
2003
+ },
2004
+ {
2005
+ value: response.headers.get("opc-request-id"),
2006
+ key: "opcRequestId",
2007
+ dataType: "string"
2008
+ }
2009
+ ]
2010
+ });
2011
+ return sdkResponse;
2012
+ }
2013
+ catch (err) {
2014
+ throw err;
2015
+ }
2016
+ });
2017
+ }
2018
+ /**
2019
+ * Gets details of an Operations Insights Enterprise Manager bridge.
2020
+ * This operation does not retry by default if the user has not defined a retry configuration.
2021
+ * @param GetEnterpriseManagerBridgeRequest
2022
+ * @return GetEnterpriseManagerBridgeResponse
2023
+ * @throws OciError when an error occurs
2024
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/GetEnterpriseManagerBridge.ts.html |here} to see how to use GetEnterpriseManagerBridge API.
2025
+ */
2026
+ getEnterpriseManagerBridge(getEnterpriseManagerBridgeRequest) {
2027
+ return __awaiter(this, void 0, void 0, function* () {
2028
+ if (this.logger)
2029
+ this.logger.debug("Calling operation OperationsInsightsClient#getEnterpriseManagerBridge.");
2030
+ const pathParams = {
2031
+ "{enterpriseManagerBridgeId}": getEnterpriseManagerBridgeRequest.enterpriseManagerBridgeId
1300
2032
  };
1301
2033
  const queryParams = {};
1302
2034
  let headerParams = {
1303
2035
  "Content-Type": common.Constants.APPLICATION_JSON,
1304
- "if-match": enableHostInsightRequest.ifMatch,
1305
- "opc-request-id": enableHostInsightRequest.opcRequestId,
1306
- "opc-retry-token": enableHostInsightRequest.opcRetryToken
2036
+ "opc-request-id": getEnterpriseManagerBridgeRequest.opcRequestId
1307
2037
  };
1308
2038
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1309
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, enableHostInsightRequest.retryConfiguration, specRetryConfiguration);
2039
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getEnterpriseManagerBridgeRequest.retryConfiguration, specRetryConfiguration);
1310
2040
  if (this.logger)
1311
2041
  retrier.logger = this.logger;
1312
2042
  const request = yield oci_common_1.composeRequest({
1313
2043
  baseEndpoint: this._endpoint,
1314
2044
  defaultHeaders: this._defaultHeaders,
1315
- path: "/hostInsights/{hostInsightId}/actions/enable",
1316
- method: "POST",
1317
- bodyContent: common.ObjectSerializer.serialize(enableHostInsightRequest.enableHostInsightDetails, "EnableHostInsightDetails", model.EnableHostInsightDetails.getJsonObj),
2045
+ path: "/enterpriseManagerBridges/{enterpriseManagerBridgeId}",
2046
+ method: "GET",
1318
2047
  pathParams: pathParams,
1319
2048
  headerParams: headerParams,
1320
2049
  queryParams: queryParams
@@ -1323,10 +2052,14 @@ class OperationsInsightsClient {
1323
2052
  const response = yield retrier.makeServiceCall(this._httpClient, request);
1324
2053
  const sdkResponse = oci_common_1.composeResponse({
1325
2054
  responseObject: {},
2055
+ body: yield response.json(),
2056
+ bodyKey: "enterpriseManagerBridge",
2057
+ bodyModel: model.EnterpriseManagerBridge,
2058
+ type: "model.EnterpriseManagerBridge",
1326
2059
  responseHeaders: [
1327
2060
  {
1328
- value: response.headers.get("opc-work-request-id"),
1329
- key: "opcWorkRequestId",
2061
+ value: response.headers.get("etag"),
2062
+ key: "etag",
1330
2063
  dataType: "string"
1331
2064
  },
1332
2065
  {
@@ -1344,33 +2077,33 @@ class OperationsInsightsClient {
1344
2077
  });
1345
2078
  }
1346
2079
  /**
1347
- * Gets details of a database insight.
2080
+ * Gets details of an Exadata insight.
1348
2081
  * This operation does not retry by default if the user has not defined a retry configuration.
1349
- * @param GetDatabaseInsightRequest
1350
- * @return GetDatabaseInsightResponse
2082
+ * @param GetExadataInsightRequest
2083
+ * @return GetExadataInsightResponse
1351
2084
  * @throws OciError when an error occurs
1352
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/GetDatabaseInsight.ts.html |here} to see how to use GetDatabaseInsight API.
2085
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/GetExadataInsight.ts.html |here} to see how to use GetExadataInsight API.
1353
2086
  */
1354
- getDatabaseInsight(getDatabaseInsightRequest) {
2087
+ getExadataInsight(getExadataInsightRequest) {
1355
2088
  return __awaiter(this, void 0, void 0, function* () {
1356
2089
  if (this.logger)
1357
- this.logger.debug("Calling operation OperationsInsightsClient#getDatabaseInsight.");
2090
+ this.logger.debug("Calling operation OperationsInsightsClient#getExadataInsight.");
1358
2091
  const pathParams = {
1359
- "{databaseInsightId}": getDatabaseInsightRequest.databaseInsightId
2092
+ "{exadataInsightId}": getExadataInsightRequest.exadataInsightId
1360
2093
  };
1361
2094
  const queryParams = {};
1362
2095
  let headerParams = {
1363
2096
  "Content-Type": common.Constants.APPLICATION_JSON,
1364
- "opc-request-id": getDatabaseInsightRequest.opcRequestId
2097
+ "opc-request-id": getExadataInsightRequest.opcRequestId
1365
2098
  };
1366
2099
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1367
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDatabaseInsightRequest.retryConfiguration, specRetryConfiguration);
2100
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getExadataInsightRequest.retryConfiguration, specRetryConfiguration);
1368
2101
  if (this.logger)
1369
2102
  retrier.logger = this.logger;
1370
2103
  const request = yield oci_common_1.composeRequest({
1371
2104
  baseEndpoint: this._endpoint,
1372
2105
  defaultHeaders: this._defaultHeaders,
1373
- path: "/databaseInsights/{databaseInsightId}",
2106
+ path: "/exadataInsights/{exadataInsightId}",
1374
2107
  method: "GET",
1375
2108
  pathParams: pathParams,
1376
2109
  headerParams: headerParams,
@@ -1381,9 +2114,9 @@ class OperationsInsightsClient {
1381
2114
  const sdkResponse = oci_common_1.composeResponse({
1382
2115
  responseObject: {},
1383
2116
  body: yield response.json(),
1384
- bodyKey: "databaseInsight",
1385
- bodyModel: model.DatabaseInsight,
1386
- type: "model.DatabaseInsight",
2117
+ bodyKey: "exadataInsight",
2118
+ bodyModel: model.ExadataInsight,
2119
+ type: "model.ExadataInsight",
1387
2120
  responseHeaders: [
1388
2121
  {
1389
2122
  value: response.headers.get("etag"),
@@ -1405,33 +2138,33 @@ class OperationsInsightsClient {
1405
2138
  });
1406
2139
  }
1407
2140
  /**
1408
- * Gets details of an Operations Insights Enterprise Manager bridge.
2141
+ * Gets details of a host insight.
1409
2142
  * This operation does not retry by default if the user has not defined a retry configuration.
1410
- * @param GetEnterpriseManagerBridgeRequest
1411
- * @return GetEnterpriseManagerBridgeResponse
2143
+ * @param GetHostInsightRequest
2144
+ * @return GetHostInsightResponse
1412
2145
  * @throws OciError when an error occurs
1413
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/GetEnterpriseManagerBridge.ts.html |here} to see how to use GetEnterpriseManagerBridge API.
2146
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/GetHostInsight.ts.html |here} to see how to use GetHostInsight API.
1414
2147
  */
1415
- getEnterpriseManagerBridge(getEnterpriseManagerBridgeRequest) {
2148
+ getHostInsight(getHostInsightRequest) {
1416
2149
  return __awaiter(this, void 0, void 0, function* () {
1417
2150
  if (this.logger)
1418
- this.logger.debug("Calling operation OperationsInsightsClient#getEnterpriseManagerBridge.");
2151
+ this.logger.debug("Calling operation OperationsInsightsClient#getHostInsight.");
1419
2152
  const pathParams = {
1420
- "{enterpriseManagerBridgeId}": getEnterpriseManagerBridgeRequest.enterpriseManagerBridgeId
2153
+ "{hostInsightId}": getHostInsightRequest.hostInsightId
1421
2154
  };
1422
2155
  const queryParams = {};
1423
2156
  let headerParams = {
1424
2157
  "Content-Type": common.Constants.APPLICATION_JSON,
1425
- "opc-request-id": getEnterpriseManagerBridgeRequest.opcRequestId
2158
+ "opc-request-id": getHostInsightRequest.opcRequestId
1426
2159
  };
1427
2160
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1428
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getEnterpriseManagerBridgeRequest.retryConfiguration, specRetryConfiguration);
2161
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getHostInsightRequest.retryConfiguration, specRetryConfiguration);
1429
2162
  if (this.logger)
1430
2163
  retrier.logger = this.logger;
1431
2164
  const request = yield oci_common_1.composeRequest({
1432
2165
  baseEndpoint: this._endpoint,
1433
2166
  defaultHeaders: this._defaultHeaders,
1434
- path: "/enterpriseManagerBridges/{enterpriseManagerBridgeId}",
2167
+ path: "/hostInsights/{hostInsightId}",
1435
2168
  method: "GET",
1436
2169
  pathParams: pathParams,
1437
2170
  headerParams: headerParams,
@@ -1442,9 +2175,9 @@ class OperationsInsightsClient {
1442
2175
  const sdkResponse = oci_common_1.composeResponse({
1443
2176
  responseObject: {},
1444
2177
  body: yield response.json(),
1445
- bodyKey: "enterpriseManagerBridge",
1446
- bodyModel: model.EnterpriseManagerBridge,
1447
- type: "model.EnterpriseManagerBridge",
2178
+ bodyKey: "hostInsight",
2179
+ bodyModel: model.HostInsight,
2180
+ type: "model.HostInsight",
1448
2181
  responseHeaders: [
1449
2182
  {
1450
2183
  value: response.headers.get("etag"),
@@ -1466,33 +2199,35 @@ class OperationsInsightsClient {
1466
2199
  });
1467
2200
  }
1468
2201
  /**
1469
- * Gets details of an Exadata insight.
2202
+ * Gets details of an Operations Insights Warehouse.
2203
+ * There is only expected to be 1 warehouse per tenant. The warehouse is expected to be in the root compartment.
2204
+ *
1470
2205
  * This operation does not retry by default if the user has not defined a retry configuration.
1471
- * @param GetExadataInsightRequest
1472
- * @return GetExadataInsightResponse
2206
+ * @param GetOperationsInsightsWarehouseRequest
2207
+ * @return GetOperationsInsightsWarehouseResponse
1473
2208
  * @throws OciError when an error occurs
1474
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/GetExadataInsight.ts.html |here} to see how to use GetExadataInsight API.
2209
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/GetOperationsInsightsWarehouse.ts.html |here} to see how to use GetOperationsInsightsWarehouse API.
1475
2210
  */
1476
- getExadataInsight(getExadataInsightRequest) {
2211
+ getOperationsInsightsWarehouse(getOperationsInsightsWarehouseRequest) {
1477
2212
  return __awaiter(this, void 0, void 0, function* () {
1478
2213
  if (this.logger)
1479
- this.logger.debug("Calling operation OperationsInsightsClient#getExadataInsight.");
2214
+ this.logger.debug("Calling operation OperationsInsightsClient#getOperationsInsightsWarehouse.");
1480
2215
  const pathParams = {
1481
- "{exadataInsightId}": getExadataInsightRequest.exadataInsightId
2216
+ "{operationsInsightsWarehouseId}": getOperationsInsightsWarehouseRequest.operationsInsightsWarehouseId
1482
2217
  };
1483
2218
  const queryParams = {};
1484
2219
  let headerParams = {
1485
2220
  "Content-Type": common.Constants.APPLICATION_JSON,
1486
- "opc-request-id": getExadataInsightRequest.opcRequestId
2221
+ "opc-request-id": getOperationsInsightsWarehouseRequest.opcRequestId
1487
2222
  };
1488
2223
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1489
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getExadataInsightRequest.retryConfiguration, specRetryConfiguration);
2224
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getOperationsInsightsWarehouseRequest.retryConfiguration, specRetryConfiguration);
1490
2225
  if (this.logger)
1491
2226
  retrier.logger = this.logger;
1492
2227
  const request = yield oci_common_1.composeRequest({
1493
2228
  baseEndpoint: this._endpoint,
1494
2229
  defaultHeaders: this._defaultHeaders,
1495
- path: "/exadataInsights/{exadataInsightId}",
2230
+ path: "/operationsInsightsWarehouses/{operationsInsightsWarehouseId}",
1496
2231
  method: "GET",
1497
2232
  pathParams: pathParams,
1498
2233
  headerParams: headerParams,
@@ -1503,9 +2238,9 @@ class OperationsInsightsClient {
1503
2238
  const sdkResponse = oci_common_1.composeResponse({
1504
2239
  responseObject: {},
1505
2240
  body: yield response.json(),
1506
- bodyKey: "exadataInsight",
1507
- bodyModel: model.ExadataInsight,
1508
- type: "model.ExadataInsight",
2241
+ bodyKey: "operationsInsightsWarehouse",
2242
+ bodyModel: model.OperationsInsightsWarehouse,
2243
+ type: "model.OperationsInsightsWarehouse",
1509
2244
  responseHeaders: [
1510
2245
  {
1511
2246
  value: response.headers.get("etag"),
@@ -1527,33 +2262,33 @@ class OperationsInsightsClient {
1527
2262
  });
1528
2263
  }
1529
2264
  /**
1530
- * Gets details of a host insight.
2265
+ * Gets details of an Operations Insights Warehouse User.
1531
2266
  * This operation does not retry by default if the user has not defined a retry configuration.
1532
- * @param GetHostInsightRequest
1533
- * @return GetHostInsightResponse
2267
+ * @param GetOperationsInsightsWarehouseUserRequest
2268
+ * @return GetOperationsInsightsWarehouseUserResponse
1534
2269
  * @throws OciError when an error occurs
1535
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/GetHostInsight.ts.html |here} to see how to use GetHostInsight API.
2270
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/GetOperationsInsightsWarehouseUser.ts.html |here} to see how to use GetOperationsInsightsWarehouseUser API.
1536
2271
  */
1537
- getHostInsight(getHostInsightRequest) {
2272
+ getOperationsInsightsWarehouseUser(getOperationsInsightsWarehouseUserRequest) {
1538
2273
  return __awaiter(this, void 0, void 0, function* () {
1539
2274
  if (this.logger)
1540
- this.logger.debug("Calling operation OperationsInsightsClient#getHostInsight.");
2275
+ this.logger.debug("Calling operation OperationsInsightsClient#getOperationsInsightsWarehouseUser.");
1541
2276
  const pathParams = {
1542
- "{hostInsightId}": getHostInsightRequest.hostInsightId
2277
+ "{operationsInsightsWarehouseUserId}": getOperationsInsightsWarehouseUserRequest.operationsInsightsWarehouseUserId
1543
2278
  };
1544
2279
  const queryParams = {};
1545
2280
  let headerParams = {
1546
2281
  "Content-Type": common.Constants.APPLICATION_JSON,
1547
- "opc-request-id": getHostInsightRequest.opcRequestId
2282
+ "opc-request-id": getOperationsInsightsWarehouseUserRequest.opcRequestId
1548
2283
  };
1549
2284
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1550
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getHostInsightRequest.retryConfiguration, specRetryConfiguration);
2285
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getOperationsInsightsWarehouseUserRequest.retryConfiguration, specRetryConfiguration);
1551
2286
  if (this.logger)
1552
2287
  retrier.logger = this.logger;
1553
2288
  const request = yield oci_common_1.composeRequest({
1554
2289
  baseEndpoint: this._endpoint,
1555
2290
  defaultHeaders: this._defaultHeaders,
1556
- path: "/hostInsights/{hostInsightId}",
2291
+ path: "/operationsInsightsWarehouseUsers/{operationsInsightsWarehouseUserId}",
1557
2292
  method: "GET",
1558
2293
  pathParams: pathParams,
1559
2294
  headerParams: headerParams,
@@ -1564,9 +2299,9 @@ class OperationsInsightsClient {
1564
2299
  const sdkResponse = oci_common_1.composeResponse({
1565
2300
  responseObject: {},
1566
2301
  body: yield response.json(),
1567
- bodyKey: "hostInsight",
1568
- bodyModel: model.HostInsight,
1569
- type: "model.HostInsight",
2302
+ bodyKey: "operationsInsightsWarehouseUser",
2303
+ bodyModel: model.OperationsInsightsWarehouseUser,
2304
+ type: "model.OperationsInsightsWarehouseUser",
1570
2305
  responseHeaders: [
1571
2306
  {
1572
2307
  value: response.headers.get("etag"),
@@ -1593,7 +2328,7 @@ class OperationsInsightsClient {
1593
2328
  * @param GetWorkRequestRequest
1594
2329
  * @return GetWorkRequestResponse
1595
2330
  * @throws OciError when an error occurs
1596
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
2331
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
1597
2332
  */
1598
2333
  getWorkRequest(getWorkRequestRequest) {
1599
2334
  return __awaiter(this, void 0, void 0, function* () {
@@ -1659,7 +2394,7 @@ class OperationsInsightsClient {
1659
2394
  * @param IngestDatabaseConfigurationRequest
1660
2395
  * @return IngestDatabaseConfigurationResponse
1661
2396
  * @throws OciError when an error occurs
1662
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/IngestDatabaseConfiguration.ts.html |here} to see how to use IngestDatabaseConfiguration API.
2397
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/IngestDatabaseConfiguration.ts.html |here} to see how to use IngestDatabaseConfiguration API.
1663
2398
  */
1664
2399
  ingestDatabaseConfiguration(ingestDatabaseConfigurationRequest) {
1665
2400
  return __awaiter(this, void 0, void 0, function* () {
@@ -1724,7 +2459,7 @@ class OperationsInsightsClient {
1724
2459
  * @param IngestHostConfigurationRequest
1725
2460
  * @return IngestHostConfigurationResponse
1726
2461
  * @throws OciError when an error occurs
1727
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/IngestHostConfiguration.ts.html |here} to see how to use IngestHostConfiguration API.
2462
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/IngestHostConfiguration.ts.html |here} to see how to use IngestHostConfiguration API.
1728
2463
  */
1729
2464
  ingestHostConfiguration(ingestHostConfigurationRequest) {
1730
2465
  return __awaiter(this, void 0, void 0, function* () {
@@ -1788,7 +2523,7 @@ class OperationsInsightsClient {
1788
2523
  * @param IngestHostMetricsRequest
1789
2524
  * @return IngestHostMetricsResponse
1790
2525
  * @throws OciError when an error occurs
1791
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/IngestHostMetrics.ts.html |here} to see how to use IngestHostMetrics API.
2526
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/IngestHostMetrics.ts.html |here} to see how to use IngestHostMetrics API.
1792
2527
  */
1793
2528
  ingestHostMetrics(ingestHostMetricsRequest) {
1794
2529
  return __awaiter(this, void 0, void 0, function* () {
@@ -1854,7 +2589,7 @@ class OperationsInsightsClient {
1854
2589
  * @param IngestSqlBucketRequest
1855
2590
  * @return IngestSqlBucketResponse
1856
2591
  * @throws OciError when an error occurs
1857
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/IngestSqlBucket.ts.html |here} to see how to use IngestSqlBucket API.
2592
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/IngestSqlBucket.ts.html |here} to see how to use IngestSqlBucket API.
1858
2593
  */
1859
2594
  ingestSqlBucket(ingestSqlBucketRequest) {
1860
2595
  return __awaiter(this, void 0, void 0, function* () {
@@ -1922,7 +2657,7 @@ class OperationsInsightsClient {
1922
2657
  * @param IngestSqlPlanLinesRequest
1923
2658
  * @return IngestSqlPlanLinesResponse
1924
2659
  * @throws OciError when an error occurs
1925
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/IngestSqlPlanLines.ts.html |here} to see how to use IngestSqlPlanLines API.
2660
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/IngestSqlPlanLines.ts.html |here} to see how to use IngestSqlPlanLines API.
1926
2661
  */
1927
2662
  ingestSqlPlanLines(ingestSqlPlanLinesRequest) {
1928
2663
  return __awaiter(this, void 0, void 0, function* () {
@@ -1982,6 +2717,73 @@ class OperationsInsightsClient {
1982
2717
  }
1983
2718
  });
1984
2719
  }
2720
+ /**
2721
+ * The SQL Stats endpoint takes in a JSON payload, persists it in Operations Insights ingest pipeline.
2722
+ * Either databaseId or id must be specified.
2723
+ *
2724
+ * This operation does not retry by default if the user has not defined a retry configuration.
2725
+ * @param IngestSqlStatsRequest
2726
+ * @return IngestSqlStatsResponse
2727
+ * @throws OciError when an error occurs
2728
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/IngestSqlStats.ts.html |here} to see how to use IngestSqlStats API.
2729
+ */
2730
+ ingestSqlStats(ingestSqlStatsRequest) {
2731
+ return __awaiter(this, void 0, void 0, function* () {
2732
+ if (this.logger)
2733
+ this.logger.debug("Calling operation OperationsInsightsClient#ingestSqlStats.");
2734
+ const pathParams = {};
2735
+ const queryParams = {
2736
+ "databaseId": ingestSqlStatsRequest.databaseId,
2737
+ "id": ingestSqlStatsRequest.id
2738
+ };
2739
+ let headerParams = {
2740
+ "Content-Type": common.Constants.APPLICATION_JSON,
2741
+ "opc-request-id": ingestSqlStatsRequest.opcRequestId,
2742
+ "if-match": ingestSqlStatsRequest.ifMatch,
2743
+ "opc-retry-token": ingestSqlStatsRequest.opcRetryToken
2744
+ };
2745
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
2746
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, ingestSqlStatsRequest.retryConfiguration, specRetryConfiguration);
2747
+ if (this.logger)
2748
+ retrier.logger = this.logger;
2749
+ const request = yield oci_common_1.composeRequest({
2750
+ baseEndpoint: this._endpoint,
2751
+ defaultHeaders: this._defaultHeaders,
2752
+ path: "/databaseInsights/actions/ingestSqlStatsMetric",
2753
+ method: "POST",
2754
+ bodyContent: common.ObjectSerializer.serialize(ingestSqlStatsRequest.ingestSqlStatsDetails, "IngestSqlStatsDetails", model.IngestSqlStatsDetails.getJsonObj),
2755
+ pathParams: pathParams,
2756
+ headerParams: headerParams,
2757
+ queryParams: queryParams
2758
+ });
2759
+ try {
2760
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
2761
+ const sdkResponse = oci_common_1.composeResponse({
2762
+ responseObject: {},
2763
+ body: yield response.json(),
2764
+ bodyKey: "ingestSqlStatsResponseDetails",
2765
+ bodyModel: model.IngestSqlStatsResponseDetails,
2766
+ type: "model.IngestSqlStatsResponseDetails",
2767
+ responseHeaders: [
2768
+ {
2769
+ value: response.headers.get("opc-request-id"),
2770
+ key: "opcRequestId",
2771
+ dataType: "string"
2772
+ },
2773
+ {
2774
+ value: response.headers.get("etag"),
2775
+ key: "etag",
2776
+ dataType: "string"
2777
+ }
2778
+ ]
2779
+ });
2780
+ return sdkResponse;
2781
+ }
2782
+ catch (err) {
2783
+ throw err;
2784
+ }
2785
+ });
2786
+ }
1985
2787
  /**
1986
2788
  * The SqlText endpoint takes in a JSON payload, persists it in Operation Insights ingest pipeline.
1987
2789
  * Either databaseId or id must be specified.
@@ -1991,34 +2793,175 @@ class OperationsInsightsClient {
1991
2793
  * @param IngestSqlTextRequest
1992
2794
  * @return IngestSqlTextResponse
1993
2795
  * @throws OciError when an error occurs
1994
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/IngestSqlText.ts.html |here} to see how to use IngestSqlText API.
2796
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/IngestSqlText.ts.html |here} to see how to use IngestSqlText API.
2797
+ */
2798
+ ingestSqlText(ingestSqlTextRequest) {
2799
+ return __awaiter(this, void 0, void 0, function* () {
2800
+ if (this.logger)
2801
+ this.logger.debug("Calling operation OperationsInsightsClient#ingestSqlText.");
2802
+ const pathParams = {};
2803
+ const queryParams = {
2804
+ "compartmentId": ingestSqlTextRequest.compartmentId,
2805
+ "databaseId": ingestSqlTextRequest.databaseId,
2806
+ "id": ingestSqlTextRequest.id
2807
+ };
2808
+ let headerParams = {
2809
+ "Content-Type": common.Constants.APPLICATION_JSON,
2810
+ "opc-request-id": ingestSqlTextRequest.opcRequestId,
2811
+ "if-match": ingestSqlTextRequest.ifMatch,
2812
+ "opc-retry-token": ingestSqlTextRequest.opcRetryToken
2813
+ };
2814
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
2815
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, ingestSqlTextRequest.retryConfiguration, specRetryConfiguration);
2816
+ if (this.logger)
2817
+ retrier.logger = this.logger;
2818
+ const request = yield oci_common_1.composeRequest({
2819
+ baseEndpoint: this._endpoint,
2820
+ defaultHeaders: this._defaultHeaders,
2821
+ path: "/databaseInsights/actions/ingestSqlText",
2822
+ method: "POST",
2823
+ bodyContent: common.ObjectSerializer.serialize(ingestSqlTextRequest.ingestSqlTextDetails, "IngestSqlTextDetails", model.IngestSqlTextDetails.getJsonObj),
2824
+ pathParams: pathParams,
2825
+ headerParams: headerParams,
2826
+ queryParams: queryParams
2827
+ });
2828
+ try {
2829
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
2830
+ const sdkResponse = oci_common_1.composeResponse({
2831
+ responseObject: {},
2832
+ body: yield response.json(),
2833
+ bodyKey: "ingestSqlTextResponseDetails",
2834
+ bodyModel: model.IngestSqlTextResponseDetails,
2835
+ type: "model.IngestSqlTextResponseDetails",
2836
+ responseHeaders: [
2837
+ {
2838
+ value: response.headers.get("opc-request-id"),
2839
+ key: "opcRequestId",
2840
+ dataType: "string"
2841
+ },
2842
+ {
2843
+ value: response.headers.get("etag"),
2844
+ key: "etag",
2845
+ dataType: "string"
2846
+ }
2847
+ ]
2848
+ });
2849
+ return sdkResponse;
2850
+ }
2851
+ catch (err) {
2852
+ throw err;
2853
+ }
2854
+ });
2855
+ }
2856
+ /**
2857
+ * Gets a list of AWR hubs. Either compartmentId or id must be specified. All these resources are expected to be in root compartment.
2858
+ *
2859
+ * This operation does not retry by default if the user has not defined a retry configuration.
2860
+ * @param ListAwrHubsRequest
2861
+ * @return ListAwrHubsResponse
2862
+ * @throws OciError when an error occurs
2863
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/ListAwrHubs.ts.html |here} to see how to use ListAwrHubs API.
2864
+ */
2865
+ listAwrHubs(listAwrHubsRequest) {
2866
+ return __awaiter(this, void 0, void 0, function* () {
2867
+ if (this.logger)
2868
+ this.logger.debug("Calling operation OperationsInsightsClient#listAwrHubs.");
2869
+ const pathParams = {};
2870
+ const queryParams = {
2871
+ "compartmentId": listAwrHubsRequest.compartmentId,
2872
+ "displayName": listAwrHubsRequest.displayName,
2873
+ "id": listAwrHubsRequest.id,
2874
+ "operationsInsightsWarehouseId": listAwrHubsRequest.operationsInsightsWarehouseId,
2875
+ "lifecycleState": listAwrHubsRequest.lifecycleState,
2876
+ "limit": listAwrHubsRequest.limit,
2877
+ "page": listAwrHubsRequest.page,
2878
+ "sortOrder": listAwrHubsRequest.sortOrder,
2879
+ "sortBy": listAwrHubsRequest.sortBy
2880
+ };
2881
+ let headerParams = {
2882
+ "Content-Type": common.Constants.APPLICATION_JSON,
2883
+ "opc-request-id": listAwrHubsRequest.opcRequestId
2884
+ };
2885
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
2886
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAwrHubsRequest.retryConfiguration, specRetryConfiguration);
2887
+ if (this.logger)
2888
+ retrier.logger = this.logger;
2889
+ const request = yield oci_common_1.composeRequest({
2890
+ baseEndpoint: this._endpoint,
2891
+ defaultHeaders: this._defaultHeaders,
2892
+ path: "/awrHubs",
2893
+ method: "GET",
2894
+ pathParams: pathParams,
2895
+ headerParams: headerParams,
2896
+ queryParams: queryParams
2897
+ });
2898
+ try {
2899
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
2900
+ const sdkResponse = oci_common_1.composeResponse({
2901
+ responseObject: {},
2902
+ body: yield response.json(),
2903
+ bodyKey: "awrHubSummaryCollection",
2904
+ bodyModel: model.AwrHubSummaryCollection,
2905
+ type: "model.AwrHubSummaryCollection",
2906
+ responseHeaders: [
2907
+ {
2908
+ value: response.headers.get("opc-request-id"),
2909
+ key: "opcRequestId",
2910
+ dataType: "string"
2911
+ },
2912
+ {
2913
+ value: response.headers.get("opc-next-page"),
2914
+ key: "opcNextPage",
2915
+ dataType: "string"
2916
+ }
2917
+ ]
2918
+ });
2919
+ return sdkResponse;
2920
+ }
2921
+ catch (err) {
2922
+ throw err;
2923
+ }
2924
+ });
2925
+ }
2926
+ /**
2927
+ * Lists AWR snapshots for the specified source database in the AWR hub. The difference between the timeGreaterThanOrEqualTo and timeLessThanOrEqualTo should not exceed an elapsed range of 1 day.
2928
+ * The timeGreaterThanOrEqualTo & timeLessThanOrEqualTo params are optional. If these params are not provided, by default last 1 day snapshots will be returned.
2929
+ *
2930
+ * This operation does not retry by default if the user has not defined a retry configuration.
2931
+ * @param ListAwrSnapshotsRequest
2932
+ * @return ListAwrSnapshotsResponse
2933
+ * @throws OciError when an error occurs
2934
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/ListAwrSnapshots.ts.html |here} to see how to use ListAwrSnapshots API.
1995
2935
  */
1996
- ingestSqlText(ingestSqlTextRequest) {
2936
+ listAwrSnapshots(listAwrSnapshotsRequest) {
1997
2937
  return __awaiter(this, void 0, void 0, function* () {
1998
2938
  if (this.logger)
1999
- this.logger.debug("Calling operation OperationsInsightsClient#ingestSqlText.");
2000
- const pathParams = {};
2939
+ this.logger.debug("Calling operation OperationsInsightsClient#listAwrSnapshots.");
2940
+ const pathParams = {
2941
+ "{awrHubId}": listAwrSnapshotsRequest.awrHubId
2942
+ };
2001
2943
  const queryParams = {
2002
- "compartmentId": ingestSqlTextRequest.compartmentId,
2003
- "databaseId": ingestSqlTextRequest.databaseId,
2004
- "id": ingestSqlTextRequest.id
2944
+ "awrSourceDatabaseIdentifier": listAwrSnapshotsRequest.awrSourceDatabaseIdentifier,
2945
+ "timeGreaterThanOrEqualTo": listAwrSnapshotsRequest.timeGreaterThanOrEqualTo,
2946
+ "timeLessThanOrEqualTo": listAwrSnapshotsRequest.timeLessThanOrEqualTo,
2947
+ "limit": listAwrSnapshotsRequest.limit,
2948
+ "page": listAwrSnapshotsRequest.page,
2949
+ "sortOrder": listAwrSnapshotsRequest.sortOrder,
2950
+ "sortBy": listAwrSnapshotsRequest.sortBy
2005
2951
  };
2006
2952
  let headerParams = {
2007
2953
  "Content-Type": common.Constants.APPLICATION_JSON,
2008
- "opc-request-id": ingestSqlTextRequest.opcRequestId,
2009
- "if-match": ingestSqlTextRequest.ifMatch,
2010
- "opc-retry-token": ingestSqlTextRequest.opcRetryToken
2954
+ "opc-request-id": listAwrSnapshotsRequest.opcRequestId
2011
2955
  };
2012
2956
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
2013
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, ingestSqlTextRequest.retryConfiguration, specRetryConfiguration);
2957
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAwrSnapshotsRequest.retryConfiguration, specRetryConfiguration);
2014
2958
  if (this.logger)
2015
2959
  retrier.logger = this.logger;
2016
2960
  const request = yield oci_common_1.composeRequest({
2017
2961
  baseEndpoint: this._endpoint,
2018
2962
  defaultHeaders: this._defaultHeaders,
2019
- path: "/databaseInsights/actions/ingestSqlText",
2020
- method: "POST",
2021
- bodyContent: common.ObjectSerializer.serialize(ingestSqlTextRequest.ingestSqlTextDetails, "IngestSqlTextDetails", model.IngestSqlTextDetails.getJsonObj),
2963
+ path: "/awrHubs/{awrHubId}/awrSnapshots",
2964
+ method: "GET",
2022
2965
  pathParams: pathParams,
2023
2966
  headerParams: headerParams,
2024
2967
  queryParams: queryParams
@@ -2028,9 +2971,9 @@ class OperationsInsightsClient {
2028
2971
  const sdkResponse = oci_common_1.composeResponse({
2029
2972
  responseObject: {},
2030
2973
  body: yield response.json(),
2031
- bodyKey: "ingestSqlTextResponseDetails",
2032
- bodyModel: model.IngestSqlTextResponseDetails,
2033
- type: "model.IngestSqlTextResponseDetails",
2974
+ bodyKey: "awrSnapshotCollection",
2975
+ bodyModel: model.AwrSnapshotCollection,
2976
+ type: "model.AwrSnapshotCollection",
2034
2977
  responseHeaders: [
2035
2978
  {
2036
2979
  value: response.headers.get("opc-request-id"),
@@ -2038,8 +2981,8 @@ class OperationsInsightsClient {
2038
2981
  dataType: "string"
2039
2982
  },
2040
2983
  {
2041
- value: response.headers.get("etag"),
2042
- key: "etag",
2984
+ value: response.headers.get("opc-next-page"),
2985
+ key: "opcNextPage",
2043
2986
  dataType: "string"
2044
2987
  }
2045
2988
  ]
@@ -2059,7 +3002,7 @@ class OperationsInsightsClient {
2059
3002
  * @param ListDatabaseConfigurationsRequest
2060
3003
  * @return ListDatabaseConfigurationsResponse
2061
3004
  * @throws OciError when an error occurs
2062
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/ListDatabaseConfigurations.ts.html |here} to see how to use ListDatabaseConfigurations API.
3005
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/ListDatabaseConfigurations.ts.html |here} to see how to use ListDatabaseConfigurations API.
2063
3006
  */
2064
3007
  listDatabaseConfigurations(listDatabaseConfigurationsRequest) {
2065
3008
  return __awaiter(this, void 0, void 0, function* () {
@@ -2143,7 +3086,7 @@ class OperationsInsightsClient {
2143
3086
  * @param ListDatabaseInsightsRequest
2144
3087
  * @return ListDatabaseInsightsResponse
2145
3088
  * @throws OciError when an error occurs
2146
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/ListDatabaseInsights.ts.html |here} to see how to use ListDatabaseInsights API.
3089
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/ListDatabaseInsights.ts.html |here} to see how to use ListDatabaseInsights API.
2147
3090
  */
2148
3091
  listDatabaseInsights(listDatabaseInsightsRequest) {
2149
3092
  return __awaiter(this, void 0, void 0, function* () {
@@ -2224,7 +3167,7 @@ class OperationsInsightsClient {
2224
3167
  * @param ListEnterpriseManagerBridgesRequest
2225
3168
  * @return ListEnterpriseManagerBridgesResponse
2226
3169
  * @throws OciError when an error occurs
2227
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/ListEnterpriseManagerBridges.ts.html |here} to see how to use ListEnterpriseManagerBridges API.
3170
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/ListEnterpriseManagerBridges.ts.html |here} to see how to use ListEnterpriseManagerBridges API.
2228
3171
  */
2229
3172
  listEnterpriseManagerBridges(listEnterpriseManagerBridgesRequest) {
2230
3173
  return __awaiter(this, void 0, void 0, function* () {
@@ -2293,7 +3236,7 @@ class OperationsInsightsClient {
2293
3236
  * @param ListExadataConfigurationsRequest
2294
3237
  * @return ListExadataConfigurationsResponse
2295
3238
  * @throws OciError when an error occurs
2296
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/ListExadataConfigurations.ts.html |here} to see how to use ListExadataConfigurations API.
3239
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/ListExadataConfigurations.ts.html |here} to see how to use ListExadataConfigurations API.
2297
3240
  */
2298
3241
  listExadataConfigurations(listExadataConfigurationsRequest) {
2299
3242
  return __awaiter(this, void 0, void 0, function* () {
@@ -2371,7 +3314,7 @@ class OperationsInsightsClient {
2371
3314
  * @param ListExadataInsightsRequest
2372
3315
  * @return ListExadataInsightsResponse
2373
3316
  * @throws OciError when an error occurs
2374
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/ListExadataInsights.ts.html |here} to see how to use ListExadataInsights API.
3317
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/ListExadataInsights.ts.html |here} to see how to use ListExadataInsights API.
2375
3318
  */
2376
3319
  listExadataInsights(listExadataInsightsRequest) {
2377
3320
  return __awaiter(this, void 0, void 0, function* () {
@@ -2449,7 +3392,7 @@ class OperationsInsightsClient {
2449
3392
  * @param ListHostConfigurationsRequest
2450
3393
  * @return ListHostConfigurationsResponse
2451
3394
  * @throws OciError when an error occurs
2452
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/ListHostConfigurations.ts.html |here} to see how to use ListHostConfigurations API.
3395
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/ListHostConfigurations.ts.html |here} to see how to use ListHostConfigurations API.
2453
3396
  */
2454
3397
  listHostConfigurations(listHostConfigurationsRequest) {
2455
3398
  return __awaiter(this, void 0, void 0, function* () {
@@ -2530,7 +3473,7 @@ class OperationsInsightsClient {
2530
3473
  * @param ListHostInsightsRequest
2531
3474
  * @return ListHostInsightsResponse
2532
3475
  * @throws OciError when an error occurs
2533
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/ListHostInsights.ts.html |here} to see how to use ListHostInsights API.
3476
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/ListHostInsights.ts.html |here} to see how to use ListHostInsights API.
2534
3477
  */
2535
3478
  listHostInsights(listHostInsightsRequest) {
2536
3479
  return __awaiter(this, void 0, void 0, function* () {
@@ -2609,7 +3552,7 @@ class OperationsInsightsClient {
2609
3552
  * @param ListHostedEntitiesRequest
2610
3553
  * @return ListHostedEntitiesResponse
2611
3554
  * @throws OciError when an error occurs
2612
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/ListHostedEntities.ts.html |here} to see how to use ListHostedEntities API.
3555
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/ListHostedEntities.ts.html |here} to see how to use ListHostedEntities API.
2613
3556
  */
2614
3557
  listHostedEntities(listHostedEntitiesRequest) {
2615
3558
  return __awaiter(this, void 0, void 0, function* () {
@@ -2685,7 +3628,7 @@ class OperationsInsightsClient {
2685
3628
  * @param ListImportableAgentEntitiesRequest
2686
3629
  * @return ListImportableAgentEntitiesResponse
2687
3630
  * @throws OciError when an error occurs
2688
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/ListImportableAgentEntities.ts.html |here} to see how to use ListImportableAgentEntities API.
3631
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/ListImportableAgentEntities.ts.html |here} to see how to use ListImportableAgentEntities API.
2689
3632
  */
2690
3633
  listImportableAgentEntities(listImportableAgentEntitiesRequest) {
2691
3634
  return __awaiter(this, void 0, void 0, function* () {
@@ -2751,7 +3694,7 @@ class OperationsInsightsClient {
2751
3694
  * @param ListImportableEnterpriseManagerEntitiesRequest
2752
3695
  * @return ListImportableEnterpriseManagerEntitiesResponse
2753
3696
  * @throws OciError when an error occurs
2754
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/ListImportableEnterpriseManagerEntities.ts.html |here} to see how to use ListImportableEnterpriseManagerEntities API.
3697
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/ListImportableEnterpriseManagerEntities.ts.html |here} to see how to use ListImportableEnterpriseManagerEntities API.
2755
3698
  */
2756
3699
  listImportableEnterpriseManagerEntities(listImportableEnterpriseManagerEntitiesRequest) {
2757
3700
  return __awaiter(this, void 0, void 0, function* () {
@@ -2812,6 +3755,146 @@ class OperationsInsightsClient {
2812
3755
  }
2813
3756
  });
2814
3757
  }
3758
+ /**
3759
+ * Gets a list of Operations Insights Warehouse users. Either compartmentId or id must be specified. All these resources are expected to be in root compartment.
3760
+ *
3761
+ * This operation does not retry by default if the user has not defined a retry configuration.
3762
+ * @param ListOperationsInsightsWarehouseUsersRequest
3763
+ * @return ListOperationsInsightsWarehouseUsersResponse
3764
+ * @throws OciError when an error occurs
3765
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/ListOperationsInsightsWarehouseUsers.ts.html |here} to see how to use ListOperationsInsightsWarehouseUsers API.
3766
+ */
3767
+ listOperationsInsightsWarehouseUsers(listOperationsInsightsWarehouseUsersRequest) {
3768
+ return __awaiter(this, void 0, void 0, function* () {
3769
+ if (this.logger)
3770
+ this.logger.debug("Calling operation OperationsInsightsClient#listOperationsInsightsWarehouseUsers.");
3771
+ const pathParams = {};
3772
+ const queryParams = {
3773
+ "compartmentId": listOperationsInsightsWarehouseUsersRequest.compartmentId,
3774
+ "displayName": listOperationsInsightsWarehouseUsersRequest.displayName,
3775
+ "id": listOperationsInsightsWarehouseUsersRequest.id,
3776
+ "operationsInsightsWarehouseId": listOperationsInsightsWarehouseUsersRequest.operationsInsightsWarehouseId,
3777
+ "lifecycleState": listOperationsInsightsWarehouseUsersRequest.lifecycleState,
3778
+ "limit": listOperationsInsightsWarehouseUsersRequest.limit,
3779
+ "page": listOperationsInsightsWarehouseUsersRequest.page,
3780
+ "sortOrder": listOperationsInsightsWarehouseUsersRequest.sortOrder,
3781
+ "sortBy": listOperationsInsightsWarehouseUsersRequest.sortBy
3782
+ };
3783
+ let headerParams = {
3784
+ "Content-Type": common.Constants.APPLICATION_JSON,
3785
+ "opc-request-id": listOperationsInsightsWarehouseUsersRequest.opcRequestId
3786
+ };
3787
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
3788
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listOperationsInsightsWarehouseUsersRequest.retryConfiguration, specRetryConfiguration);
3789
+ if (this.logger)
3790
+ retrier.logger = this.logger;
3791
+ const request = yield oci_common_1.composeRequest({
3792
+ baseEndpoint: this._endpoint,
3793
+ defaultHeaders: this._defaultHeaders,
3794
+ path: "/operationsInsightsWarehouseUsers",
3795
+ method: "GET",
3796
+ pathParams: pathParams,
3797
+ headerParams: headerParams,
3798
+ queryParams: queryParams
3799
+ });
3800
+ try {
3801
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
3802
+ const sdkResponse = oci_common_1.composeResponse({
3803
+ responseObject: {},
3804
+ body: yield response.json(),
3805
+ bodyKey: "operationsInsightsWarehouseUserSummaryCollection",
3806
+ bodyModel: model.OperationsInsightsWarehouseUserSummaryCollection,
3807
+ type: "model.OperationsInsightsWarehouseUserSummaryCollection",
3808
+ responseHeaders: [
3809
+ {
3810
+ value: response.headers.get("opc-request-id"),
3811
+ key: "opcRequestId",
3812
+ dataType: "string"
3813
+ },
3814
+ {
3815
+ value: response.headers.get("opc-next-page"),
3816
+ key: "opcNextPage",
3817
+ dataType: "string"
3818
+ }
3819
+ ]
3820
+ });
3821
+ return sdkResponse;
3822
+ }
3823
+ catch (err) {
3824
+ throw err;
3825
+ }
3826
+ });
3827
+ }
3828
+ /**
3829
+ * Gets a list of Operations Insights warehouses. Either compartmentId or id must be specified.
3830
+ * There is only expected to be 1 warehouse per tenant. The warehouse is expected to be in the root compartment.
3831
+ *
3832
+ * This operation does not retry by default if the user has not defined a retry configuration.
3833
+ * @param ListOperationsInsightsWarehousesRequest
3834
+ * @return ListOperationsInsightsWarehousesResponse
3835
+ * @throws OciError when an error occurs
3836
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/ListOperationsInsightsWarehouses.ts.html |here} to see how to use ListOperationsInsightsWarehouses API.
3837
+ */
3838
+ listOperationsInsightsWarehouses(listOperationsInsightsWarehousesRequest) {
3839
+ return __awaiter(this, void 0, void 0, function* () {
3840
+ if (this.logger)
3841
+ this.logger.debug("Calling operation OperationsInsightsClient#listOperationsInsightsWarehouses.");
3842
+ const pathParams = {};
3843
+ const queryParams = {
3844
+ "compartmentId": listOperationsInsightsWarehousesRequest.compartmentId,
3845
+ "displayName": listOperationsInsightsWarehousesRequest.displayName,
3846
+ "id": listOperationsInsightsWarehousesRequest.id,
3847
+ "lifecycleState": listOperationsInsightsWarehousesRequest.lifecycleState,
3848
+ "limit": listOperationsInsightsWarehousesRequest.limit,
3849
+ "page": listOperationsInsightsWarehousesRequest.page,
3850
+ "sortOrder": listOperationsInsightsWarehousesRequest.sortOrder,
3851
+ "sortBy": listOperationsInsightsWarehousesRequest.sortBy
3852
+ };
3853
+ let headerParams = {
3854
+ "Content-Type": common.Constants.APPLICATION_JSON,
3855
+ "opc-request-id": listOperationsInsightsWarehousesRequest.opcRequestId
3856
+ };
3857
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
3858
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listOperationsInsightsWarehousesRequest.retryConfiguration, specRetryConfiguration);
3859
+ if (this.logger)
3860
+ retrier.logger = this.logger;
3861
+ const request = yield oci_common_1.composeRequest({
3862
+ baseEndpoint: this._endpoint,
3863
+ defaultHeaders: this._defaultHeaders,
3864
+ path: "/operationsInsightsWarehouses",
3865
+ method: "GET",
3866
+ pathParams: pathParams,
3867
+ headerParams: headerParams,
3868
+ queryParams: queryParams
3869
+ });
3870
+ try {
3871
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
3872
+ const sdkResponse = oci_common_1.composeResponse({
3873
+ responseObject: {},
3874
+ body: yield response.json(),
3875
+ bodyKey: "operationsInsightsWarehouseSummaryCollection",
3876
+ bodyModel: model.OperationsInsightsWarehouseSummaryCollection,
3877
+ type: "model.OperationsInsightsWarehouseSummaryCollection",
3878
+ responseHeaders: [
3879
+ {
3880
+ value: response.headers.get("opc-request-id"),
3881
+ key: "opcRequestId",
3882
+ dataType: "string"
3883
+ },
3884
+ {
3885
+ value: response.headers.get("opc-next-page"),
3886
+ key: "opcNextPage",
3887
+ dataType: "string"
3888
+ }
3889
+ ]
3890
+ });
3891
+ return sdkResponse;
3892
+ }
3893
+ catch (err) {
3894
+ throw err;
3895
+ }
3896
+ });
3897
+ }
2815
3898
  /**
2816
3899
  * Query SQL Warehouse to list the plan xml for a given SQL execution plan. This returns a SqlPlanCollection object, but is currently limited to a single plan.
2817
3900
  * Either databaseId or id must be specified.
@@ -2820,7 +3903,7 @@ class OperationsInsightsClient {
2820
3903
  * @param ListSqlPlansRequest
2821
3904
  * @return ListSqlPlansResponse
2822
3905
  * @throws OciError when an error occurs
2823
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/ListSqlPlans.ts.html |here} to see how to use ListSqlPlans API.
3906
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/ListSqlPlans.ts.html |here} to see how to use ListSqlPlans API.
2824
3907
  */
2825
3908
  listSqlPlans(listSqlPlansRequest) {
2826
3909
  return __awaiter(this, void 0, void 0, function* () {
@@ -2888,7 +3971,7 @@ class OperationsInsightsClient {
2888
3971
  * @param ListSqlSearchesRequest
2889
3972
  * @return ListSqlSearchesResponse
2890
3973
  * @throws OciError when an error occurs
2891
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/ListSqlSearches.ts.html |here} to see how to use ListSqlSearches API.
3974
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/ListSqlSearches.ts.html |here} to see how to use ListSqlSearches API.
2892
3975
  */
2893
3976
  listSqlSearches(listSqlSearchesRequest) {
2894
3977
  return __awaiter(this, void 0, void 0, function* () {
@@ -2960,7 +4043,7 @@ class OperationsInsightsClient {
2960
4043
  * @param ListSqlTextsRequest
2961
4044
  * @return ListSqlTextsResponse
2962
4045
  * @throws OciError when an error occurs
2963
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/ListSqlTexts.ts.html |here} to see how to use ListSqlTexts API.
4046
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/ListSqlTexts.ts.html |here} to see how to use ListSqlTexts API.
2964
4047
  */
2965
4048
  listSqlTexts(listSqlTextsRequest) {
2966
4049
  return __awaiter(this, void 0, void 0, function* () {
@@ -3031,7 +4114,7 @@ class OperationsInsightsClient {
3031
4114
  * @param ListWorkRequestErrorsRequest
3032
4115
  * @return ListWorkRequestErrorsResponse
3033
4116
  * @throws OciError when an error occurs
3034
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
4117
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
3035
4118
  */
3036
4119
  listWorkRequestErrors(listWorkRequestErrorsRequest) {
3037
4120
  return __awaiter(this, void 0, void 0, function* () {
@@ -3068,18 +4151,155 @@ class OperationsInsightsClient {
3068
4151
  const sdkResponse = oci_common_1.composeResponse({
3069
4152
  responseObject: {},
3070
4153
  body: yield response.json(),
3071
- bodyKey: "workRequestErrorCollection",
3072
- bodyModel: model.WorkRequestErrorCollection,
3073
- type: "model.WorkRequestErrorCollection",
4154
+ bodyKey: "workRequestErrorCollection",
4155
+ bodyModel: model.WorkRequestErrorCollection,
4156
+ type: "model.WorkRequestErrorCollection",
4157
+ responseHeaders: [
4158
+ {
4159
+ value: response.headers.get("opc-next-page"),
4160
+ key: "opcNextPage",
4161
+ dataType: "string"
4162
+ },
4163
+ {
4164
+ value: response.headers.get("opc-request-id"),
4165
+ key: "opcRequestId",
4166
+ dataType: "string"
4167
+ }
4168
+ ]
4169
+ });
4170
+ return sdkResponse;
4171
+ }
4172
+ catch (err) {
4173
+ throw err;
4174
+ }
4175
+ });
4176
+ }
4177
+ /**
4178
+ * Return a (paginated) list of logs for a given work request.
4179
+ *
4180
+ * This operation does not retry by default if the user has not defined a retry configuration.
4181
+ * @param ListWorkRequestLogsRequest
4182
+ * @return ListWorkRequestLogsResponse
4183
+ * @throws OciError when an error occurs
4184
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
4185
+ */
4186
+ listWorkRequestLogs(listWorkRequestLogsRequest) {
4187
+ return __awaiter(this, void 0, void 0, function* () {
4188
+ if (this.logger)
4189
+ this.logger.debug("Calling operation OperationsInsightsClient#listWorkRequestLogs.");
4190
+ const pathParams = {
4191
+ "{workRequestId}": listWorkRequestLogsRequest.workRequestId
4192
+ };
4193
+ const queryParams = {
4194
+ "page": listWorkRequestLogsRequest.page,
4195
+ "limit": listWorkRequestLogsRequest.limit,
4196
+ "sortBy": listWorkRequestLogsRequest.sortBy,
4197
+ "sortOrder": listWorkRequestLogsRequest.sortOrder
4198
+ };
4199
+ let headerParams = {
4200
+ "Content-Type": common.Constants.APPLICATION_JSON,
4201
+ "opc-request-id": listWorkRequestLogsRequest.opcRequestId
4202
+ };
4203
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
4204
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
4205
+ if (this.logger)
4206
+ retrier.logger = this.logger;
4207
+ const request = yield oci_common_1.composeRequest({
4208
+ baseEndpoint: this._endpoint,
4209
+ defaultHeaders: this._defaultHeaders,
4210
+ path: "/workRequests/{workRequestId}/logs",
4211
+ method: "GET",
4212
+ pathParams: pathParams,
4213
+ headerParams: headerParams,
4214
+ queryParams: queryParams
4215
+ });
4216
+ try {
4217
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
4218
+ const sdkResponse = oci_common_1.composeResponse({
4219
+ responseObject: {},
4220
+ body: yield response.json(),
4221
+ bodyKey: "workRequestLogEntryCollection",
4222
+ bodyModel: model.WorkRequestLogEntryCollection,
4223
+ type: "model.WorkRequestLogEntryCollection",
4224
+ responseHeaders: [
4225
+ {
4226
+ value: response.headers.get("opc-next-page"),
4227
+ key: "opcNextPage",
4228
+ dataType: "string"
4229
+ },
4230
+ {
4231
+ value: response.headers.get("opc-request-id"),
4232
+ key: "opcRequestId",
4233
+ dataType: "string"
4234
+ }
4235
+ ]
4236
+ });
4237
+ return sdkResponse;
4238
+ }
4239
+ catch (err) {
4240
+ throw err;
4241
+ }
4242
+ });
4243
+ }
4244
+ /**
4245
+ * Lists the work requests in a compartment. Either compartmentId or id must be specified. Only one of id, resourceId or relatedResourceId can be specified optionally.
4246
+ *
4247
+ * This operation does not retry by default if the user has not defined a retry configuration.
4248
+ * @param ListWorkRequestsRequest
4249
+ * @return ListWorkRequestsResponse
4250
+ * @throws OciError when an error occurs
4251
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
4252
+ */
4253
+ listWorkRequests(listWorkRequestsRequest) {
4254
+ return __awaiter(this, void 0, void 0, function* () {
4255
+ if (this.logger)
4256
+ this.logger.debug("Calling operation OperationsInsightsClient#listWorkRequests.");
4257
+ const pathParams = {};
4258
+ const queryParams = {
4259
+ "page": listWorkRequestsRequest.page,
4260
+ "limit": listWorkRequestsRequest.limit,
4261
+ "compartmentId": listWorkRequestsRequest.compartmentId,
4262
+ "id": listWorkRequestsRequest.id,
4263
+ "status": listWorkRequestsRequest.status,
4264
+ "resourceId": listWorkRequestsRequest.resourceId,
4265
+ "relatedResourceId": listWorkRequestsRequest.relatedResourceId,
4266
+ "sortOrder": listWorkRequestsRequest.sortOrder,
4267
+ "sortBy": listWorkRequestsRequest.sortBy
4268
+ };
4269
+ let headerParams = {
4270
+ "Content-Type": common.Constants.APPLICATION_JSON,
4271
+ "opc-request-id": listWorkRequestsRequest.opcRequestId
4272
+ };
4273
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
4274
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
4275
+ if (this.logger)
4276
+ retrier.logger = this.logger;
4277
+ const request = yield oci_common_1.composeRequest({
4278
+ baseEndpoint: this._endpoint,
4279
+ defaultHeaders: this._defaultHeaders,
4280
+ path: "/workRequests",
4281
+ method: "GET",
4282
+ pathParams: pathParams,
4283
+ headerParams: headerParams,
4284
+ queryParams: queryParams
4285
+ });
4286
+ try {
4287
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
4288
+ const sdkResponse = oci_common_1.composeResponse({
4289
+ responseObject: {},
4290
+ body: yield response.json(),
4291
+ bodyKey: "workRequestCollection",
4292
+ bodyModel: model.WorkRequestCollection,
4293
+ type: "model.WorkRequestCollection",
3074
4294
  responseHeaders: [
3075
4295
  {
3076
- value: response.headers.get("opc-next-page"),
3077
- key: "opcNextPage",
4296
+ value: response.headers.get("opc-request-id"),
4297
+ key: "opcRequestId",
3078
4298
  dataType: "string"
3079
4299
  },
3080
4300
  {
3081
- value: response.headers.get("opc-request-id"),
3082
- key: "opcRequestId",
4301
+ value: response.headers.get("opc-next-page"),
4302
+ key: "opcNextPage",
3083
4303
  dataType: "string"
3084
4304
  }
3085
4305
  ]
@@ -3092,40 +4312,35 @@ class OperationsInsightsClient {
3092
4312
  });
3093
4313
  }
3094
4314
  /**
3095
- * Return a (paginated) list of logs for a given work request.
3096
- *
4315
+ * Rotate the ADW wallet for Operations Insights Warehouse using which the Hub data is exposed.
3097
4316
  * This operation does not retry by default if the user has not defined a retry configuration.
3098
- * @param ListWorkRequestLogsRequest
3099
- * @return ListWorkRequestLogsResponse
4317
+ * @param RotateOperationsInsightsWarehouseWalletRequest
4318
+ * @return RotateOperationsInsightsWarehouseWalletResponse
3100
4319
  * @throws OciError when an error occurs
3101
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
4320
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/RotateOperationsInsightsWarehouseWallet.ts.html |here} to see how to use RotateOperationsInsightsWarehouseWallet API.
3102
4321
  */
3103
- listWorkRequestLogs(listWorkRequestLogsRequest) {
4322
+ rotateOperationsInsightsWarehouseWallet(rotateOperationsInsightsWarehouseWalletRequest) {
3104
4323
  return __awaiter(this, void 0, void 0, function* () {
3105
4324
  if (this.logger)
3106
- this.logger.debug("Calling operation OperationsInsightsClient#listWorkRequestLogs.");
4325
+ this.logger.debug("Calling operation OperationsInsightsClient#rotateOperationsInsightsWarehouseWallet.");
3107
4326
  const pathParams = {
3108
- "{workRequestId}": listWorkRequestLogsRequest.workRequestId
3109
- };
3110
- const queryParams = {
3111
- "page": listWorkRequestLogsRequest.page,
3112
- "limit": listWorkRequestLogsRequest.limit,
3113
- "sortBy": listWorkRequestLogsRequest.sortBy,
3114
- "sortOrder": listWorkRequestLogsRequest.sortOrder
4327
+ "{operationsInsightsWarehouseId}": rotateOperationsInsightsWarehouseWalletRequest.operationsInsightsWarehouseId
3115
4328
  };
4329
+ const queryParams = {};
3116
4330
  let headerParams = {
3117
4331
  "Content-Type": common.Constants.APPLICATION_JSON,
3118
- "opc-request-id": listWorkRequestLogsRequest.opcRequestId
4332
+ "opc-request-id": rotateOperationsInsightsWarehouseWalletRequest.opcRequestId,
4333
+ "if-match": rotateOperationsInsightsWarehouseWalletRequest.ifMatch
3119
4334
  };
3120
4335
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
3121
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
4336
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, rotateOperationsInsightsWarehouseWalletRequest.retryConfiguration, specRetryConfiguration);
3122
4337
  if (this.logger)
3123
4338
  retrier.logger = this.logger;
3124
4339
  const request = yield oci_common_1.composeRequest({
3125
4340
  baseEndpoint: this._endpoint,
3126
4341
  defaultHeaders: this._defaultHeaders,
3127
- path: "/workRequests/{workRequestId}/logs",
3128
- method: "GET",
4342
+ path: "/operationsInsightsWarehouses/{operationsInsightsWarehouseId}/actions/rotateWarehouseWallet",
4343
+ method: "POST",
3129
4344
  pathParams: pathParams,
3130
4345
  headerParams: headerParams,
3131
4346
  queryParams: queryParams
@@ -3134,14 +4349,10 @@ class OperationsInsightsClient {
3134
4349
  const response = yield retrier.makeServiceCall(this._httpClient, request);
3135
4350
  const sdkResponse = oci_common_1.composeResponse({
3136
4351
  responseObject: {},
3137
- body: yield response.json(),
3138
- bodyKey: "workRequestLogEntryCollection",
3139
- bodyModel: model.WorkRequestLogEntryCollection,
3140
- type: "model.WorkRequestLogEntryCollection",
3141
4352
  responseHeaders: [
3142
4353
  {
3143
- value: response.headers.get("opc-next-page"),
3144
- key: "opcNextPage",
4354
+ value: response.headers.get("opc-work-request-id"),
4355
+ key: "opcWorkRequestId",
3145
4356
  dataType: "string"
3146
4357
  },
3147
4358
  {
@@ -3159,42 +4370,41 @@ class OperationsInsightsClient {
3159
4370
  });
3160
4371
  }
3161
4372
  /**
3162
- * Lists the work requests in a compartment. Either compartmentId or id must be specified. Only one of id, resourceId or relatedResourceId can be specified optionally.
4373
+ * Gets a list of summary of AWR Sources.
3163
4374
  *
3164
4375
  * This operation does not retry by default if the user has not defined a retry configuration.
3165
- * @param ListWorkRequestsRequest
3166
- * @return ListWorkRequestsResponse
4376
+ * @param SummarizeAwrSourcesSummariesRequest
4377
+ * @return SummarizeAwrSourcesSummariesResponse
3167
4378
  * @throws OciError when an error occurs
3168
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
4379
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/SummarizeAwrSourcesSummaries.ts.html |here} to see how to use SummarizeAwrSourcesSummaries API.
3169
4380
  */
3170
- listWorkRequests(listWorkRequestsRequest) {
4381
+ summarizeAwrSourcesSummaries(summarizeAwrSourcesSummariesRequest) {
3171
4382
  return __awaiter(this, void 0, void 0, function* () {
3172
4383
  if (this.logger)
3173
- this.logger.debug("Calling operation OperationsInsightsClient#listWorkRequests.");
3174
- const pathParams = {};
4384
+ this.logger.debug("Calling operation OperationsInsightsClient#summarizeAwrSourcesSummaries.");
4385
+ const pathParams = {
4386
+ "{awrHubId}": summarizeAwrSourcesSummariesRequest.awrHubId
4387
+ };
3175
4388
  const queryParams = {
3176
- "page": listWorkRequestsRequest.page,
3177
- "limit": listWorkRequestsRequest.limit,
3178
- "compartmentId": listWorkRequestsRequest.compartmentId,
3179
- "id": listWorkRequestsRequest.id,
3180
- "status": listWorkRequestsRequest.status,
3181
- "resourceId": listWorkRequestsRequest.resourceId,
3182
- "relatedResourceId": listWorkRequestsRequest.relatedResourceId,
3183
- "sortOrder": listWorkRequestsRequest.sortOrder,
3184
- "sortBy": listWorkRequestsRequest.sortBy
4389
+ "compartmentId": summarizeAwrSourcesSummariesRequest.compartmentId,
4390
+ "name": summarizeAwrSourcesSummariesRequest.name,
4391
+ "limit": summarizeAwrSourcesSummariesRequest.limit,
4392
+ "page": summarizeAwrSourcesSummariesRequest.page,
4393
+ "sortBy": summarizeAwrSourcesSummariesRequest.sortBy,
4394
+ "sortOrder": summarizeAwrSourcesSummariesRequest.sortOrder
3185
4395
  };
3186
4396
  let headerParams = {
3187
4397
  "Content-Type": common.Constants.APPLICATION_JSON,
3188
- "opc-request-id": listWorkRequestsRequest.opcRequestId
4398
+ "opc-request-id": summarizeAwrSourcesSummariesRequest.opcRequestId
3189
4399
  };
3190
4400
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
3191
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
4401
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeAwrSourcesSummariesRequest.retryConfiguration, specRetryConfiguration);
3192
4402
  if (this.logger)
3193
4403
  retrier.logger = this.logger;
3194
4404
  const request = yield oci_common_1.composeRequest({
3195
4405
  baseEndpoint: this._endpoint,
3196
4406
  defaultHeaders: this._defaultHeaders,
3197
- path: "/workRequests",
4407
+ path: "/awrHubs/{awrHubId}/awrSourcesSummary",
3198
4408
  method: "GET",
3199
4409
  pathParams: pathParams,
3200
4410
  headerParams: headerParams,
@@ -3205,9 +4415,9 @@ class OperationsInsightsClient {
3205
4415
  const sdkResponse = oci_common_1.composeResponse({
3206
4416
  responseObject: {},
3207
4417
  body: yield response.json(),
3208
- bodyKey: "workRequestCollection",
3209
- bodyModel: model.WorkRequestCollection,
3210
- type: "model.WorkRequestCollection",
4418
+ bodyKey: "summarizeAwrSourcesSummariesCollection",
4419
+ bodyModel: model.SummarizeAwrSourcesSummariesCollection,
4420
+ type: "model.SummarizeAwrSourcesSummariesCollection",
3211
4421
  responseHeaders: [
3212
4422
  {
3213
4423
  value: response.headers.get("opc-request-id"),
@@ -3237,7 +4447,7 @@ class OperationsInsightsClient {
3237
4447
  * @param SummarizeDatabaseInsightResourceCapacityTrendRequest
3238
4448
  * @return SummarizeDatabaseInsightResourceCapacityTrendResponse
3239
4449
  * @throws OciError when an error occurs
3240
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/SummarizeDatabaseInsightResourceCapacityTrend.ts.html |here} to see how to use SummarizeDatabaseInsightResourceCapacityTrend API.
4450
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/SummarizeDatabaseInsightResourceCapacityTrend.ts.html |here} to see how to use SummarizeDatabaseInsightResourceCapacityTrend API.
3241
4451
  */
3242
4452
  summarizeDatabaseInsightResourceCapacityTrend(summarizeDatabaseInsightResourceCapacityTrendRequest) {
3243
4453
  return __awaiter(this, void 0, void 0, function* () {
@@ -3321,7 +4531,7 @@ class OperationsInsightsClient {
3321
4531
  * @param SummarizeDatabaseInsightResourceForecastTrendRequest
3322
4532
  * @return SummarizeDatabaseInsightResourceForecastTrendResponse
3323
4533
  * @throws OciError when an error occurs
3324
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/SummarizeDatabaseInsightResourceForecastTrend.ts.html |here} to see how to use SummarizeDatabaseInsightResourceForecastTrend API.
4534
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/SummarizeDatabaseInsightResourceForecastTrend.ts.html |here} to see how to use SummarizeDatabaseInsightResourceForecastTrend API.
3325
4535
  */
3326
4536
  summarizeDatabaseInsightResourceForecastTrend(summarizeDatabaseInsightResourceForecastTrendRequest) {
3327
4537
  return __awaiter(this, void 0, void 0, function* () {
@@ -3407,7 +4617,7 @@ class OperationsInsightsClient {
3407
4617
  * @param SummarizeDatabaseInsightResourceStatisticsRequest
3408
4618
  * @return SummarizeDatabaseInsightResourceStatisticsResponse
3409
4619
  * @throws OciError when an error occurs
3410
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/SummarizeDatabaseInsightResourceStatistics.ts.html |here} to see how to use SummarizeDatabaseInsightResourceStatistics API.
4620
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/SummarizeDatabaseInsightResourceStatistics.ts.html |here} to see how to use SummarizeDatabaseInsightResourceStatistics API.
3411
4621
  */
3412
4622
  summarizeDatabaseInsightResourceStatistics(summarizeDatabaseInsightResourceStatisticsRequest) {
3413
4623
  return __awaiter(this, void 0, void 0, function* () {
@@ -3495,7 +4705,7 @@ class OperationsInsightsClient {
3495
4705
  * @param SummarizeDatabaseInsightResourceUsageRequest
3496
4706
  * @return SummarizeDatabaseInsightResourceUsageResponse
3497
4707
  * @throws OciError when an error occurs
3498
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/SummarizeDatabaseInsightResourceUsage.ts.html |here} to see how to use SummarizeDatabaseInsightResourceUsage API.
4708
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/SummarizeDatabaseInsightResourceUsage.ts.html |here} to see how to use SummarizeDatabaseInsightResourceUsage API.
3499
4709
  */
3500
4710
  summarizeDatabaseInsightResourceUsage(summarizeDatabaseInsightResourceUsageRequest) {
3501
4711
  return __awaiter(this, void 0, void 0, function* () {
@@ -3576,7 +4786,7 @@ class OperationsInsightsClient {
3576
4786
  * @param SummarizeDatabaseInsightResourceUsageTrendRequest
3577
4787
  * @return SummarizeDatabaseInsightResourceUsageTrendResponse
3578
4788
  * @throws OciError when an error occurs
3579
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/SummarizeDatabaseInsightResourceUsageTrend.ts.html |here} to see how to use SummarizeDatabaseInsightResourceUsageTrend API.
4789
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/SummarizeDatabaseInsightResourceUsageTrend.ts.html |here} to see how to use SummarizeDatabaseInsightResourceUsageTrend API.
3580
4790
  */
3581
4791
  summarizeDatabaseInsightResourceUsageTrend(summarizeDatabaseInsightResourceUsageTrendRequest) {
3582
4792
  return __awaiter(this, void 0, void 0, function* () {
@@ -3657,7 +4867,7 @@ class OperationsInsightsClient {
3657
4867
  * @param SummarizeDatabaseInsightResourceUtilizationInsightRequest
3658
4868
  * @return SummarizeDatabaseInsightResourceUtilizationInsightResponse
3659
4869
  * @throws OciError when an error occurs
3660
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/SummarizeDatabaseInsightResourceUtilizationInsight.ts.html |here} to see how to use SummarizeDatabaseInsightResourceUtilizationInsight API.
4870
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/SummarizeDatabaseInsightResourceUtilizationInsight.ts.html |here} to see how to use SummarizeDatabaseInsightResourceUtilizationInsight API.
3661
4871
  */
3662
4872
  summarizeDatabaseInsightResourceUtilizationInsight(summarizeDatabaseInsightResourceUtilizationInsightRequest) {
3663
4873
  return __awaiter(this, void 0, void 0, function* () {
@@ -3738,7 +4948,7 @@ class OperationsInsightsClient {
3738
4948
  * @param SummarizeDatabaseInsightTablespaceUsageTrendRequest
3739
4949
  * @return SummarizeDatabaseInsightTablespaceUsageTrendResponse
3740
4950
  * @throws OciError when an error occurs
3741
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/SummarizeDatabaseInsightTablespaceUsageTrend.ts.html |here} to see how to use SummarizeDatabaseInsightTablespaceUsageTrend API.
4951
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/SummarizeDatabaseInsightTablespaceUsageTrend.ts.html |here} to see how to use SummarizeDatabaseInsightTablespaceUsageTrend API.
3742
4952
  */
3743
4953
  summarizeDatabaseInsightTablespaceUsageTrend(summarizeDatabaseInsightTablespaceUsageTrendRequest) {
3744
4954
  return __awaiter(this, void 0, void 0, function* () {
@@ -3814,7 +5024,7 @@ class OperationsInsightsClient {
3814
5024
  * @param SummarizeExadataInsightResourceCapacityTrendRequest
3815
5025
  * @return SummarizeExadataInsightResourceCapacityTrendResponse
3816
5026
  * @throws OciError when an error occurs
3817
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/SummarizeExadataInsightResourceCapacityTrend.ts.html |here} to see how to use SummarizeExadataInsightResourceCapacityTrend API.
5027
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/SummarizeExadataInsightResourceCapacityTrend.ts.html |here} to see how to use SummarizeExadataInsightResourceCapacityTrend API.
3818
5028
  */
3819
5029
  summarizeExadataInsightResourceCapacityTrend(summarizeExadataInsightResourceCapacityTrendRequest) {
3820
5030
  return __awaiter(this, void 0, void 0, function* () {
@@ -3896,7 +5106,7 @@ class OperationsInsightsClient {
3896
5106
  * @param SummarizeExadataInsightResourceCapacityTrendAggregatedRequest
3897
5107
  * @return SummarizeExadataInsightResourceCapacityTrendAggregatedResponse
3898
5108
  * @throws OciError when an error occurs
3899
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/SummarizeExadataInsightResourceCapacityTrendAggregated.ts.html |here} to see how to use SummarizeExadataInsightResourceCapacityTrendAggregated API.
5109
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/SummarizeExadataInsightResourceCapacityTrendAggregated.ts.html |here} to see how to use SummarizeExadataInsightResourceCapacityTrendAggregated API.
3900
5110
  */
3901
5111
  summarizeExadataInsightResourceCapacityTrendAggregated(summarizeExadataInsightResourceCapacityTrendAggregatedRequest) {
3902
5112
  return __awaiter(this, void 0, void 0, function* () {
@@ -3981,7 +5191,7 @@ class OperationsInsightsClient {
3981
5191
  * @param SummarizeExadataInsightResourceForecastTrendRequest
3982
5192
  * @return SummarizeExadataInsightResourceForecastTrendResponse
3983
5193
  * @throws OciError when an error occurs
3984
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/SummarizeExadataInsightResourceForecastTrend.ts.html |here} to see how to use SummarizeExadataInsightResourceForecastTrend API.
5194
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/SummarizeExadataInsightResourceForecastTrend.ts.html |here} to see how to use SummarizeExadataInsightResourceForecastTrend API.
3985
5195
  */
3986
5196
  summarizeExadataInsightResourceForecastTrend(summarizeExadataInsightResourceForecastTrendRequest) {
3987
5197
  return __awaiter(this, void 0, void 0, function* () {
@@ -4066,7 +5276,7 @@ class OperationsInsightsClient {
4066
5276
  * @param SummarizeExadataInsightResourceForecastTrendAggregatedRequest
4067
5277
  * @return SummarizeExadataInsightResourceForecastTrendAggregatedResponse
4068
5278
  * @throws OciError when an error occurs
4069
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/SummarizeExadataInsightResourceForecastTrendAggregated.ts.html |here} to see how to use SummarizeExadataInsightResourceForecastTrendAggregated API.
5279
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/SummarizeExadataInsightResourceForecastTrendAggregated.ts.html |here} to see how to use SummarizeExadataInsightResourceForecastTrendAggregated API.
4070
5280
  */
4071
5281
  summarizeExadataInsightResourceForecastTrendAggregated(summarizeExadataInsightResourceForecastTrendAggregatedRequest) {
4072
5282
  return __awaiter(this, void 0, void 0, function* () {
@@ -4151,7 +5361,7 @@ class OperationsInsightsClient {
4151
5361
  * @param SummarizeExadataInsightResourceStatisticsRequest
4152
5362
  * @return SummarizeExadataInsightResourceStatisticsResponse
4153
5363
  * @throws OciError when an error occurs
4154
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/SummarizeExadataInsightResourceStatistics.ts.html |here} to see how to use SummarizeExadataInsightResourceStatistics API.
5364
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/SummarizeExadataInsightResourceStatistics.ts.html |here} to see how to use SummarizeExadataInsightResourceStatistics API.
4155
5365
  */
4156
5366
  summarizeExadataInsightResourceStatistics(summarizeExadataInsightResourceStatisticsRequest) {
4157
5367
  return __awaiter(this, void 0, void 0, function* () {
@@ -4236,7 +5446,7 @@ class OperationsInsightsClient {
4236
5446
  * @param SummarizeExadataInsightResourceUsageRequest
4237
5447
  * @return SummarizeExadataInsightResourceUsageResponse
4238
5448
  * @throws OciError when an error occurs
4239
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/SummarizeExadataInsightResourceUsage.ts.html |here} to see how to use SummarizeExadataInsightResourceUsage API.
5449
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/SummarizeExadataInsightResourceUsage.ts.html |here} to see how to use SummarizeExadataInsightResourceUsage API.
4240
5450
  */
4241
5451
  summarizeExadataInsightResourceUsage(summarizeExadataInsightResourceUsageRequest) {
4242
5452
  return __awaiter(this, void 0, void 0, function* () {
@@ -4321,7 +5531,7 @@ class OperationsInsightsClient {
4321
5531
  * @param SummarizeExadataInsightResourceUsageAggregatedRequest
4322
5532
  * @return SummarizeExadataInsightResourceUsageAggregatedResponse
4323
5533
  * @throws OciError when an error occurs
4324
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/SummarizeExadataInsightResourceUsageAggregated.ts.html |here} to see how to use SummarizeExadataInsightResourceUsageAggregated API.
5534
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/SummarizeExadataInsightResourceUsageAggregated.ts.html |here} to see how to use SummarizeExadataInsightResourceUsageAggregated API.
4325
5535
  */
4326
5536
  summarizeExadataInsightResourceUsageAggregated(summarizeExadataInsightResourceUsageAggregatedRequest) {
4327
5537
  return __awaiter(this, void 0, void 0, function* () {
@@ -4397,7 +5607,7 @@ class OperationsInsightsClient {
4397
5607
  * @param SummarizeExadataInsightResourceUtilizationInsightRequest
4398
5608
  * @return SummarizeExadataInsightResourceUtilizationInsightResponse
4399
5609
  * @throws OciError when an error occurs
4400
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/SummarizeExadataInsightResourceUtilizationInsight.ts.html |here} to see how to use SummarizeExadataInsightResourceUtilizationInsight API.
5610
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/SummarizeExadataInsightResourceUtilizationInsight.ts.html |here} to see how to use SummarizeExadataInsightResourceUtilizationInsight API.
4401
5611
  */
4402
5612
  summarizeExadataInsightResourceUtilizationInsight(summarizeExadataInsightResourceUtilizationInsightRequest) {
4403
5613
  return __awaiter(this, void 0, void 0, function* () {
@@ -4480,7 +5690,7 @@ class OperationsInsightsClient {
4480
5690
  * @param SummarizeExadataMembersRequest
4481
5691
  * @return SummarizeExadataMembersResponse
4482
5692
  * @throws OciError when an error occurs
4483
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/SummarizeExadataMembers.ts.html |here} to see how to use SummarizeExadataMembers API.
5693
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/SummarizeExadataMembers.ts.html |here} to see how to use SummarizeExadataMembers API.
4484
5694
  */
4485
5695
  summarizeExadataMembers(summarizeExadataMembersRequest) {
4486
5696
  return __awaiter(this, void 0, void 0, function* () {
@@ -4554,7 +5764,7 @@ class OperationsInsightsClient {
4554
5764
  * @param SummarizeHostInsightResourceCapacityTrendRequest
4555
5765
  * @return SummarizeHostInsightResourceCapacityTrendResponse
4556
5766
  * @throws OciError when an error occurs
4557
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/SummarizeHostInsightResourceCapacityTrend.ts.html |here} to see how to use SummarizeHostInsightResourceCapacityTrend API.
5767
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/SummarizeHostInsightResourceCapacityTrend.ts.html |here} to see how to use SummarizeHostInsightResourceCapacityTrend API.
4558
5768
  */
4559
5769
  summarizeHostInsightResourceCapacityTrend(summarizeHostInsightResourceCapacityTrendRequest) {
4560
5770
  return __awaiter(this, void 0, void 0, function* () {
@@ -4633,7 +5843,7 @@ class OperationsInsightsClient {
4633
5843
  * @param SummarizeHostInsightResourceForecastTrendRequest
4634
5844
  * @return SummarizeHostInsightResourceForecastTrendResponse
4635
5845
  * @throws OciError when an error occurs
4636
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/SummarizeHostInsightResourceForecastTrend.ts.html |here} to see how to use SummarizeHostInsightResourceForecastTrend API.
5846
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/SummarizeHostInsightResourceForecastTrend.ts.html |here} to see how to use SummarizeHostInsightResourceForecastTrend API.
4637
5847
  */
4638
5848
  summarizeHostInsightResourceForecastTrend(summarizeHostInsightResourceForecastTrendRequest) {
4639
5849
  return __awaiter(this, void 0, void 0, function* () {
@@ -4709,7 +5919,7 @@ class OperationsInsightsClient {
4709
5919
  * @param SummarizeHostInsightResourceStatisticsRequest
4710
5920
  * @return SummarizeHostInsightResourceStatisticsResponse
4711
5921
  * @throws OciError when an error occurs
4712
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/SummarizeHostInsightResourceStatistics.ts.html |here} to see how to use SummarizeHostInsightResourceStatistics API.
5922
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/SummarizeHostInsightResourceStatistics.ts.html |here} to see how to use SummarizeHostInsightResourceStatistics API.
4713
5923
  */
4714
5924
  summarizeHostInsightResourceStatistics(summarizeHostInsightResourceStatisticsRequest) {
4715
5925
  return __awaiter(this, void 0, void 0, function* () {
@@ -4793,7 +6003,7 @@ class OperationsInsightsClient {
4793
6003
  * @param SummarizeHostInsightResourceUsageRequest
4794
6004
  * @return SummarizeHostInsightResourceUsageResponse
4795
6005
  * @throws OciError when an error occurs
4796
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/SummarizeHostInsightResourceUsage.ts.html |here} to see how to use SummarizeHostInsightResourceUsage API.
6006
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/SummarizeHostInsightResourceUsage.ts.html |here} to see how to use SummarizeHostInsightResourceUsage API.
4797
6007
  */
4798
6008
  summarizeHostInsightResourceUsage(summarizeHostInsightResourceUsageRequest) {
4799
6009
  return __awaiter(this, void 0, void 0, function* () {
@@ -4866,7 +6076,7 @@ class OperationsInsightsClient {
4866
6076
  * @param SummarizeHostInsightResourceUsageTrendRequest
4867
6077
  * @return SummarizeHostInsightResourceUsageTrendResponse
4868
6078
  * @throws OciError when an error occurs
4869
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/SummarizeHostInsightResourceUsageTrend.ts.html |here} to see how to use SummarizeHostInsightResourceUsageTrend API.
6079
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/SummarizeHostInsightResourceUsageTrend.ts.html |here} to see how to use SummarizeHostInsightResourceUsageTrend API.
4870
6080
  */
4871
6081
  summarizeHostInsightResourceUsageTrend(summarizeHostInsightResourceUsageTrendRequest) {
4872
6082
  return __awaiter(this, void 0, void 0, function* () {
@@ -4944,7 +6154,7 @@ class OperationsInsightsClient {
4944
6154
  * @param SummarizeHostInsightResourceUtilizationInsightRequest
4945
6155
  * @return SummarizeHostInsightResourceUtilizationInsightResponse
4946
6156
  * @throws OciError when an error occurs
4947
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/SummarizeHostInsightResourceUtilizationInsight.ts.html |here} to see how to use SummarizeHostInsightResourceUtilizationInsight API.
6157
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/SummarizeHostInsightResourceUtilizationInsight.ts.html |here} to see how to use SummarizeHostInsightResourceUtilizationInsight API.
4948
6158
  */
4949
6159
  summarizeHostInsightResourceUtilizationInsight(summarizeHostInsightResourceUtilizationInsightRequest) {
4950
6160
  return __awaiter(this, void 0, void 0, function* () {
@@ -5008,6 +6218,69 @@ class OperationsInsightsClient {
5008
6218
  }
5009
6219
  });
5010
6220
  }
6221
+ /**
6222
+ * Gets the details of resources used by an Operations Insights Warehouse.
6223
+ * There is only expected to be 1 warehouse per tenant. The warehouse is expected to be in the root compartment.
6224
+ *
6225
+ * This operation does not retry by default if the user has not defined a retry configuration.
6226
+ * @param SummarizeOperationsInsightsWarehouseResourceUsageRequest
6227
+ * @return SummarizeOperationsInsightsWarehouseResourceUsageResponse
6228
+ * @throws OciError when an error occurs
6229
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/SummarizeOperationsInsightsWarehouseResourceUsage.ts.html |here} to see how to use SummarizeOperationsInsightsWarehouseResourceUsage API.
6230
+ */
6231
+ summarizeOperationsInsightsWarehouseResourceUsage(summarizeOperationsInsightsWarehouseResourceUsageRequest) {
6232
+ return __awaiter(this, void 0, void 0, function* () {
6233
+ if (this.logger)
6234
+ this.logger.debug("Calling operation OperationsInsightsClient#summarizeOperationsInsightsWarehouseResourceUsage.");
6235
+ const pathParams = {
6236
+ "{operationsInsightsWarehouseId}": summarizeOperationsInsightsWarehouseResourceUsageRequest.operationsInsightsWarehouseId
6237
+ };
6238
+ const queryParams = {};
6239
+ let headerParams = {
6240
+ "Content-Type": common.Constants.APPLICATION_JSON,
6241
+ "opc-request-id": summarizeOperationsInsightsWarehouseResourceUsageRequest.opcRequestId
6242
+ };
6243
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
6244
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeOperationsInsightsWarehouseResourceUsageRequest.retryConfiguration, specRetryConfiguration);
6245
+ if (this.logger)
6246
+ retrier.logger = this.logger;
6247
+ const request = yield oci_common_1.composeRequest({
6248
+ baseEndpoint: this._endpoint,
6249
+ defaultHeaders: this._defaultHeaders,
6250
+ path: "/operationsInsightsWarehouses/{operationsInsightsWarehouseId}/resourceUsageSummary",
6251
+ method: "GET",
6252
+ pathParams: pathParams,
6253
+ headerParams: headerParams,
6254
+ queryParams: queryParams
6255
+ });
6256
+ try {
6257
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
6258
+ const sdkResponse = oci_common_1.composeResponse({
6259
+ responseObject: {},
6260
+ body: yield response.json(),
6261
+ bodyKey: "summarizeOperationsInsightsWarehouseResourceUsageAggregation",
6262
+ bodyModel: model.SummarizeOperationsInsightsWarehouseResourceUsageAggregation,
6263
+ type: "model.SummarizeOperationsInsightsWarehouseResourceUsageAggregation",
6264
+ responseHeaders: [
6265
+ {
6266
+ value: response.headers.get("etag"),
6267
+ key: "etag",
6268
+ dataType: "string"
6269
+ },
6270
+ {
6271
+ value: response.headers.get("opc-request-id"),
6272
+ key: "opcRequestId",
6273
+ dataType: "string"
6274
+ }
6275
+ ]
6276
+ });
6277
+ return sdkResponse;
6278
+ }
6279
+ catch (err) {
6280
+ throw err;
6281
+ }
6282
+ });
6283
+ }
5011
6284
  /**
5012
6285
  * Query SQL Warehouse to get the performance insights for SQLs taking greater than X% database time for a given
5013
6286
  * time period across the given databases or database types in a compartment and in all sub-compartments if specified.
@@ -5016,7 +6289,7 @@ class OperationsInsightsClient {
5016
6289
  * @param SummarizeSqlInsightsRequest
5017
6290
  * @return SummarizeSqlInsightsResponse
5018
6291
  * @throws OciError when an error occurs
5019
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/SummarizeSqlInsights.ts.html |here} to see how to use SummarizeSqlInsights API.
6292
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/SummarizeSqlInsights.ts.html |here} to see how to use SummarizeSqlInsights API.
5020
6293
  */
5021
6294
  summarizeSqlInsights(summarizeSqlInsightsRequest) {
5022
6295
  return __awaiter(this, void 0, void 0, function* () {
@@ -5095,7 +6368,7 @@ class OperationsInsightsClient {
5095
6368
  * @param SummarizeSqlPlanInsightsRequest
5096
6369
  * @return SummarizeSqlPlanInsightsResponse
5097
6370
  * @throws OciError when an error occurs
5098
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/SummarizeSqlPlanInsights.ts.html |here} to see how to use SummarizeSqlPlanInsights API.
6371
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/SummarizeSqlPlanInsights.ts.html |here} to see how to use SummarizeSqlPlanInsights API.
5099
6372
  */
5100
6373
  summarizeSqlPlanInsights(summarizeSqlPlanInsightsRequest) {
5101
6374
  return __awaiter(this, void 0, void 0, function* () {
@@ -5165,7 +6438,7 @@ class OperationsInsightsClient {
5165
6438
  * @param SummarizeSqlResponseTimeDistributionsRequest
5166
6439
  * @return SummarizeSqlResponseTimeDistributionsResponse
5167
6440
  * @throws OciError when an error occurs
5168
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/SummarizeSqlResponseTimeDistributions.ts.html |here} to see how to use SummarizeSqlResponseTimeDistributions API.
6441
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/SummarizeSqlResponseTimeDistributions.ts.html |here} to see how to use SummarizeSqlResponseTimeDistributions API.
5169
6442
  */
5170
6443
  summarizeSqlResponseTimeDistributions(summarizeSqlResponseTimeDistributionsRequest) {
5171
6444
  return __awaiter(this, void 0, void 0, function* () {
@@ -5235,7 +6508,7 @@ class OperationsInsightsClient {
5235
6508
  * @param SummarizeSqlStatisticsRequest
5236
6509
  * @return SummarizeSqlStatisticsResponse
5237
6510
  * @throws OciError when an error occurs
5238
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/SummarizeSqlStatistics.ts.html |here} to see how to use SummarizeSqlStatistics API.
6511
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/SummarizeSqlStatistics.ts.html |here} to see how to use SummarizeSqlStatistics API.
5239
6512
  */
5240
6513
  summarizeSqlStatistics(summarizeSqlStatisticsRequest) {
5241
6514
  return __awaiter(this, void 0, void 0, function* () {
@@ -5319,7 +6592,7 @@ class OperationsInsightsClient {
5319
6592
  * @param SummarizeSqlStatisticsTimeSeriesRequest
5320
6593
  * @return SummarizeSqlStatisticsTimeSeriesResponse
5321
6594
  * @throws OciError when an error occurs
5322
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/SummarizeSqlStatisticsTimeSeries.ts.html |here} to see how to use SummarizeSqlStatisticsTimeSeries API.
6595
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/SummarizeSqlStatisticsTimeSeries.ts.html |here} to see how to use SummarizeSqlStatisticsTimeSeries API.
5323
6596
  */
5324
6597
  summarizeSqlStatisticsTimeSeries(summarizeSqlStatisticsTimeSeriesRequest) {
5325
6598
  return __awaiter(this, void 0, void 0, function* () {
@@ -5397,7 +6670,7 @@ class OperationsInsightsClient {
5397
6670
  * @param SummarizeSqlStatisticsTimeSeriesByPlanRequest
5398
6671
  * @return SummarizeSqlStatisticsTimeSeriesByPlanResponse
5399
6672
  * @throws OciError when an error occurs
5400
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/SummarizeSqlStatisticsTimeSeriesByPlan.ts.html |here} to see how to use SummarizeSqlStatisticsTimeSeriesByPlan API.
6673
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/SummarizeSqlStatisticsTimeSeriesByPlan.ts.html |here} to see how to use SummarizeSqlStatisticsTimeSeriesByPlan API.
5401
6674
  */
5402
6675
  summarizeSqlStatisticsTimeSeriesByPlan(summarizeSqlStatisticsTimeSeriesByPlanRequest) {
5403
6676
  return __awaiter(this, void 0, void 0, function* () {
@@ -5459,13 +6732,72 @@ class OperationsInsightsClient {
5459
6732
  }
5460
6733
  });
5461
6734
  }
6735
+ /**
6736
+ * Updates the configuration of a hub .
6737
+ * This operation does not retry by default if the user has not defined a retry configuration.
6738
+ * @param UpdateAwrHubRequest
6739
+ * @return UpdateAwrHubResponse
6740
+ * @throws OciError when an error occurs
6741
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/UpdateAwrHub.ts.html |here} to see how to use UpdateAwrHub API.
6742
+ */
6743
+ updateAwrHub(updateAwrHubRequest) {
6744
+ return __awaiter(this, void 0, void 0, function* () {
6745
+ if (this.logger)
6746
+ this.logger.debug("Calling operation OperationsInsightsClient#updateAwrHub.");
6747
+ const pathParams = {
6748
+ "{awrHubId}": updateAwrHubRequest.awrHubId
6749
+ };
6750
+ const queryParams = {};
6751
+ let headerParams = {
6752
+ "Content-Type": common.Constants.APPLICATION_JSON,
6753
+ "if-match": updateAwrHubRequest.ifMatch,
6754
+ "opc-request-id": updateAwrHubRequest.opcRequestId
6755
+ };
6756
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
6757
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateAwrHubRequest.retryConfiguration, specRetryConfiguration);
6758
+ if (this.logger)
6759
+ retrier.logger = this.logger;
6760
+ const request = yield oci_common_1.composeRequest({
6761
+ baseEndpoint: this._endpoint,
6762
+ defaultHeaders: this._defaultHeaders,
6763
+ path: "/awrHubs/{awrHubId}",
6764
+ method: "PUT",
6765
+ bodyContent: common.ObjectSerializer.serialize(updateAwrHubRequest.updateAwrHubDetails, "UpdateAwrHubDetails", model.UpdateAwrHubDetails.getJsonObj),
6766
+ pathParams: pathParams,
6767
+ headerParams: headerParams,
6768
+ queryParams: queryParams
6769
+ });
6770
+ try {
6771
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
6772
+ const sdkResponse = oci_common_1.composeResponse({
6773
+ responseObject: {},
6774
+ responseHeaders: [
6775
+ {
6776
+ value: response.headers.get("opc-work-request-id"),
6777
+ key: "opcWorkRequestId",
6778
+ dataType: "string"
6779
+ },
6780
+ {
6781
+ value: response.headers.get("opc-request-id"),
6782
+ key: "opcRequestId",
6783
+ dataType: "string"
6784
+ }
6785
+ ]
6786
+ });
6787
+ return sdkResponse;
6788
+ }
6789
+ catch (err) {
6790
+ throw err;
6791
+ }
6792
+ });
6793
+ }
5462
6794
  /**
5463
6795
  * Updates configuration of a database insight.
5464
6796
  * This operation does not retry by default if the user has not defined a retry configuration.
5465
6797
  * @param UpdateDatabaseInsightRequest
5466
6798
  * @return UpdateDatabaseInsightResponse
5467
6799
  * @throws OciError when an error occurs
5468
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/UpdateDatabaseInsight.ts.html |here} to see how to use UpdateDatabaseInsight API.
6800
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/UpdateDatabaseInsight.ts.html |here} to see how to use UpdateDatabaseInsight API.
5469
6801
  */
5470
6802
  updateDatabaseInsight(updateDatabaseInsightRequest) {
5471
6803
  return __awaiter(this, void 0, void 0, function* () {
@@ -5524,7 +6856,7 @@ class OperationsInsightsClient {
5524
6856
  * @param UpdateEnterpriseManagerBridgeRequest
5525
6857
  * @return UpdateEnterpriseManagerBridgeResponse
5526
6858
  * @throws OciError when an error occurs
5527
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/UpdateEnterpriseManagerBridge.ts.html |here} to see how to use UpdateEnterpriseManagerBridge API.
6859
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/UpdateEnterpriseManagerBridge.ts.html |here} to see how to use UpdateEnterpriseManagerBridge API.
5528
6860
  */
5529
6861
  updateEnterpriseManagerBridge(updateEnterpriseManagerBridgeRequest) {
5530
6862
  return __awaiter(this, void 0, void 0, function* () {
@@ -5583,7 +6915,7 @@ class OperationsInsightsClient {
5583
6915
  * @param UpdateExadataInsightRequest
5584
6916
  * @return UpdateExadataInsightResponse
5585
6917
  * @throws OciError when an error occurs
5586
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/UpdateExadataInsight.ts.html |here} to see how to use UpdateExadataInsight API.
6918
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/UpdateExadataInsight.ts.html |here} to see how to use UpdateExadataInsight API.
5587
6919
  */
5588
6920
  updateExadataInsight(updateExadataInsightRequest) {
5589
6921
  return __awaiter(this, void 0, void 0, function* () {
@@ -5642,7 +6974,7 @@ class OperationsInsightsClient {
5642
6974
  * @param UpdateHostInsightRequest
5643
6975
  * @return UpdateHostInsightResponse
5644
6976
  * @throws OciError when an error occurs
5645
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/opsi/UpdateHostInsight.ts.html |here} to see how to use UpdateHostInsight API.
6977
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/UpdateHostInsight.ts.html |here} to see how to use UpdateHostInsight API.
5646
6978
  */
5647
6979
  updateHostInsight(updateHostInsightRequest) {
5648
6980
  return __awaiter(this, void 0, void 0, function* () {
@@ -5695,6 +7027,126 @@ class OperationsInsightsClient {
5695
7027
  }
5696
7028
  });
5697
7029
  }
7030
+ /**
7031
+ * Updates the configuration of an Operations Insights Warehouse.
7032
+ * There is only expected to be 1 warehouse per tenant. The warehouse is expected to be in the root compartment.
7033
+ *
7034
+ * This operation does not retry by default if the user has not defined a retry configuration.
7035
+ * @param UpdateOperationsInsightsWarehouseRequest
7036
+ * @return UpdateOperationsInsightsWarehouseResponse
7037
+ * @throws OciError when an error occurs
7038
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/UpdateOperationsInsightsWarehouse.ts.html |here} to see how to use UpdateOperationsInsightsWarehouse API.
7039
+ */
7040
+ updateOperationsInsightsWarehouse(updateOperationsInsightsWarehouseRequest) {
7041
+ return __awaiter(this, void 0, void 0, function* () {
7042
+ if (this.logger)
7043
+ this.logger.debug("Calling operation OperationsInsightsClient#updateOperationsInsightsWarehouse.");
7044
+ const pathParams = {
7045
+ "{operationsInsightsWarehouseId}": updateOperationsInsightsWarehouseRequest.operationsInsightsWarehouseId
7046
+ };
7047
+ const queryParams = {};
7048
+ let headerParams = {
7049
+ "Content-Type": common.Constants.APPLICATION_JSON,
7050
+ "if-match": updateOperationsInsightsWarehouseRequest.ifMatch,
7051
+ "opc-request-id": updateOperationsInsightsWarehouseRequest.opcRequestId
7052
+ };
7053
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
7054
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateOperationsInsightsWarehouseRequest.retryConfiguration, specRetryConfiguration);
7055
+ if (this.logger)
7056
+ retrier.logger = this.logger;
7057
+ const request = yield oci_common_1.composeRequest({
7058
+ baseEndpoint: this._endpoint,
7059
+ defaultHeaders: this._defaultHeaders,
7060
+ path: "/operationsInsightsWarehouses/{operationsInsightsWarehouseId}",
7061
+ method: "PUT",
7062
+ bodyContent: common.ObjectSerializer.serialize(updateOperationsInsightsWarehouseRequest.updateOperationsInsightsWarehouseDetails, "UpdateOperationsInsightsWarehouseDetails", model.UpdateOperationsInsightsWarehouseDetails.getJsonObj),
7063
+ pathParams: pathParams,
7064
+ headerParams: headerParams,
7065
+ queryParams: queryParams
7066
+ });
7067
+ try {
7068
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
7069
+ const sdkResponse = oci_common_1.composeResponse({
7070
+ responseObject: {},
7071
+ responseHeaders: [
7072
+ {
7073
+ value: response.headers.get("opc-work-request-id"),
7074
+ key: "opcWorkRequestId",
7075
+ dataType: "string"
7076
+ },
7077
+ {
7078
+ value: response.headers.get("opc-request-id"),
7079
+ key: "opcRequestId",
7080
+ dataType: "string"
7081
+ }
7082
+ ]
7083
+ });
7084
+ return sdkResponse;
7085
+ }
7086
+ catch (err) {
7087
+ throw err;
7088
+ }
7089
+ });
7090
+ }
7091
+ /**
7092
+ * Updates the configuration of an Operations Insights Warehouse User.
7093
+ * This operation does not retry by default if the user has not defined a retry configuration.
7094
+ * @param UpdateOperationsInsightsWarehouseUserRequest
7095
+ * @return UpdateOperationsInsightsWarehouseUserResponse
7096
+ * @throws OciError when an error occurs
7097
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/opsi/UpdateOperationsInsightsWarehouseUser.ts.html |here} to see how to use UpdateOperationsInsightsWarehouseUser API.
7098
+ */
7099
+ updateOperationsInsightsWarehouseUser(updateOperationsInsightsWarehouseUserRequest) {
7100
+ return __awaiter(this, void 0, void 0, function* () {
7101
+ if (this.logger)
7102
+ this.logger.debug("Calling operation OperationsInsightsClient#updateOperationsInsightsWarehouseUser.");
7103
+ const pathParams = {
7104
+ "{operationsInsightsWarehouseUserId}": updateOperationsInsightsWarehouseUserRequest.operationsInsightsWarehouseUserId
7105
+ };
7106
+ const queryParams = {};
7107
+ let headerParams = {
7108
+ "Content-Type": common.Constants.APPLICATION_JSON,
7109
+ "if-match": updateOperationsInsightsWarehouseUserRequest.ifMatch,
7110
+ "opc-request-id": updateOperationsInsightsWarehouseUserRequest.opcRequestId
7111
+ };
7112
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
7113
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateOperationsInsightsWarehouseUserRequest.retryConfiguration, specRetryConfiguration);
7114
+ if (this.logger)
7115
+ retrier.logger = this.logger;
7116
+ const request = yield oci_common_1.composeRequest({
7117
+ baseEndpoint: this._endpoint,
7118
+ defaultHeaders: this._defaultHeaders,
7119
+ path: "/operationsInsightsWarehouseUsers/{operationsInsightsWarehouseUserId}",
7120
+ method: "PUT",
7121
+ bodyContent: common.ObjectSerializer.serialize(updateOperationsInsightsWarehouseUserRequest.updateOperationsInsightsWarehouseUserDetails, "UpdateOperationsInsightsWarehouseUserDetails", model.UpdateOperationsInsightsWarehouseUserDetails.getJsonObj),
7122
+ pathParams: pathParams,
7123
+ headerParams: headerParams,
7124
+ queryParams: queryParams
7125
+ });
7126
+ try {
7127
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
7128
+ const sdkResponse = oci_common_1.composeResponse({
7129
+ responseObject: {},
7130
+ responseHeaders: [
7131
+ {
7132
+ value: response.headers.get("opc-work-request-id"),
7133
+ key: "opcWorkRequestId",
7134
+ dataType: "string"
7135
+ },
7136
+ {
7137
+ value: response.headers.get("opc-request-id"),
7138
+ key: "opcRequestId",
7139
+ dataType: "string"
7140
+ }
7141
+ ]
7142
+ });
7143
+ return sdkResponse;
7144
+ }
7145
+ catch (err) {
7146
+ throw err;
7147
+ }
7148
+ });
7149
+ }
5698
7150
  }
5699
7151
  exports.OperationsInsightsClient = OperationsInsightsClient;
5700
7152
  OperationsInsightsClient.serviceEndpointTemplate = "https://operationsinsights.{region}.oci.{secondLevelDomain}";