oci-optimizer 2.75.0 → 2.76.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 (250) hide show
  1. package/index.d.ts +1 -1
  2. package/index.js +1 -1
  3. package/lib/client.d.ts +52 -52
  4. package/lib/client.js +89 -80
  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/action.d.ts +1 -1
  9. package/lib/model/action.js +1 -1
  10. package/lib/model/bulk-apply-recommendations-details.d.ts +1 -1
  11. package/lib/model/bulk-apply-recommendations-details.js +1 -1
  12. package/lib/model/bulk-apply-resource-action.d.ts +1 -1
  13. package/lib/model/bulk-apply-resource-action.js +1 -1
  14. package/lib/model/category-collection.d.ts +1 -1
  15. package/lib/model/category-collection.js +1 -1
  16. package/lib/model/category-summary.d.ts +1 -1
  17. package/lib/model/category-summary.js +1 -1
  18. package/lib/model/category.d.ts +1 -1
  19. package/lib/model/category.js +1 -1
  20. package/lib/model/create-profile-details.d.ts +11 -1
  21. package/lib/model/create-profile-details.js +1 -1
  22. package/lib/model/create-profile-details.js.map +1 -1
  23. package/lib/model/enrollment-status-collection.d.ts +1 -1
  24. package/lib/model/enrollment-status-collection.js +1 -1
  25. package/lib/model/enrollment-status-summary.d.ts +1 -1
  26. package/lib/model/enrollment-status-summary.js +1 -1
  27. package/lib/model/enrollment-status.d.ts +1 -1
  28. package/lib/model/enrollment-status.js +1 -1
  29. package/lib/model/evaluated-metric.d.ts +1 -1
  30. package/lib/model/evaluated-metric.js +1 -1
  31. package/lib/model/history-collection.d.ts +1 -1
  32. package/lib/model/history-collection.js +1 -1
  33. package/lib/model/history-summary.d.ts +1 -1
  34. package/lib/model/history-summary.js +1 -1
  35. package/lib/model/importance.d.ts +1 -1
  36. package/lib/model/importance.js +1 -1
  37. package/lib/model/index.d.ts +1 -1
  38. package/lib/model/index.js +1 -1
  39. package/lib/model/level-configuration.d.ts +1 -1
  40. package/lib/model/level-configuration.js +1 -1
  41. package/lib/model/levels-configuration.d.ts +1 -1
  42. package/lib/model/levels-configuration.js +1 -1
  43. package/lib/model/lifecycle-state.d.ts +1 -1
  44. package/lib/model/lifecycle-state.js +1 -1
  45. package/lib/model/operation-status.d.ts +1 -1
  46. package/lib/model/operation-status.js +1 -1
  47. package/lib/model/operation-type.d.ts +1 -1
  48. package/lib/model/operation-type.js +1 -1
  49. package/lib/model/optimizer-enrollment-status.d.ts +1 -1
  50. package/lib/model/optimizer-enrollment-status.js +1 -1
  51. package/lib/model/profile-collection.d.ts +1 -1
  52. package/lib/model/profile-collection.js +1 -1
  53. package/lib/model/profile-level-collection.d.ts +1 -1
  54. package/lib/model/profile-level-collection.js +1 -1
  55. package/lib/model/profile-level-summary.d.ts +1 -1
  56. package/lib/model/profile-level-summary.js +1 -1
  57. package/lib/model/profile-summary.d.ts +11 -1
  58. package/lib/model/profile-summary.js +1 -1
  59. package/lib/model/profile-summary.js.map +1 -1
  60. package/lib/model/profile.d.ts +11 -1
  61. package/lib/model/profile.js +1 -1
  62. package/lib/model/profile.js.map +1 -1
  63. package/lib/model/query-details.d.ts +1 -1
  64. package/lib/model/query-details.js +1 -1
  65. package/lib/model/queryable-field-collection.d.ts +1 -1
  66. package/lib/model/queryable-field-collection.js +1 -1
  67. package/lib/model/queryable-field-summary.d.ts +1 -1
  68. package/lib/model/queryable-field-summary.js +1 -1
  69. package/lib/model/recommendation-collection.d.ts +1 -1
  70. package/lib/model/recommendation-collection.js +1 -1
  71. package/lib/model/recommendation-count.d.ts +1 -1
  72. package/lib/model/recommendation-count.js +1 -1
  73. package/lib/model/recommendation-strategy-collection.d.ts +1 -1
  74. package/lib/model/recommendation-strategy-collection.js +1 -1
  75. package/lib/model/recommendation-strategy-summary.d.ts +1 -1
  76. package/lib/model/recommendation-strategy-summary.js +1 -1
  77. package/lib/model/recommendation-summary.d.ts +1 -1
  78. package/lib/model/recommendation-summary.js +1 -1
  79. package/lib/model/recommendation.d.ts +1 -1
  80. package/lib/model/recommendation.js +1 -1
  81. package/lib/model/resource-action-collection.d.ts +1 -1
  82. package/lib/model/resource-action-collection.js +1 -1
  83. package/lib/model/resource-action-summary.d.ts +1 -1
  84. package/lib/model/resource-action-summary.js +1 -1
  85. package/lib/model/resource-action.d.ts +1 -1
  86. package/lib/model/resource-action.js +1 -1
  87. package/lib/model/resource-count.d.ts +1 -1
  88. package/lib/model/resource-count.js +1 -1
  89. package/lib/model/sort-order.d.ts +1 -1
  90. package/lib/model/sort-order.js +1 -1
  91. package/lib/model/status.d.ts +1 -1
  92. package/lib/model/status.js +1 -1
  93. package/lib/model/strategy-parameter-type.d.ts +1 -1
  94. package/lib/model/strategy-parameter-type.js +1 -1
  95. package/lib/model/strategy-parameter.d.ts +1 -1
  96. package/lib/model/strategy-parameter.js +1 -1
  97. package/lib/model/strategy.d.ts +1 -1
  98. package/lib/model/strategy.js +1 -1
  99. package/lib/model/supported-level.d.ts +1 -1
  100. package/lib/model/supported-level.js +1 -1
  101. package/lib/model/supported-levels.d.ts +1 -1
  102. package/lib/model/supported-levels.js +1 -1
  103. package/lib/model/tag-value-type.d.ts +1 -1
  104. package/lib/model/tag-value-type.js +1 -1
  105. package/lib/model/target-compartments.d.ts +1 -1
  106. package/lib/model/target-compartments.js +1 -1
  107. package/lib/model/target-tag.d.ts +1 -1
  108. package/lib/model/target-tag.js +1 -1
  109. package/lib/model/target-tags.d.ts +1 -1
  110. package/lib/model/target-tags.js +1 -1
  111. package/lib/model/update-enrollment-status-details.d.ts +1 -1
  112. package/lib/model/update-enrollment-status-details.js +1 -1
  113. package/lib/model/update-profile-details.d.ts +11 -1
  114. package/lib/model/update-profile-details.js +1 -1
  115. package/lib/model/update-profile-details.js.map +1 -1
  116. package/lib/model/update-recommendation-details.d.ts +1 -1
  117. package/lib/model/update-recommendation-details.js +1 -1
  118. package/lib/model/update-resource-action-details.d.ts +1 -1
  119. package/lib/model/update-resource-action-details.js +1 -1
  120. package/lib/model/work-request-action-type.d.ts +1 -1
  121. package/lib/model/work-request-action-type.js +1 -1
  122. package/lib/model/work-request-collection.d.ts +1 -1
  123. package/lib/model/work-request-collection.js +1 -1
  124. package/lib/model/work-request-error-collection.d.ts +1 -1
  125. package/lib/model/work-request-error-collection.js +1 -1
  126. package/lib/model/work-request-error.d.ts +1 -1
  127. package/lib/model/work-request-error.js +1 -1
  128. package/lib/model/work-request-log-entry-collection.d.ts +1 -1
  129. package/lib/model/work-request-log-entry-collection.js +1 -1
  130. package/lib/model/work-request-log-entry.d.ts +1 -1
  131. package/lib/model/work-request-log-entry.js +1 -1
  132. package/lib/model/work-request-resource-metadata-key.d.ts +1 -1
  133. package/lib/model/work-request-resource-metadata-key.js +1 -1
  134. package/lib/model/work-request-resource.d.ts +1 -1
  135. package/lib/model/work-request-resource.js +1 -1
  136. package/lib/model/work-request.d.ts +1 -1
  137. package/lib/model/work-request.js +1 -1
  138. package/lib/optimizer-waiter.d.ts +1 -1
  139. package/lib/optimizer-waiter.js +1 -1
  140. package/lib/request/bulk-apply-recommendations-request.d.ts +2 -2
  141. package/lib/request/bulk-apply-recommendations-request.js +1 -1
  142. package/lib/request/create-profile-request.d.ts +2 -2
  143. package/lib/request/create-profile-request.js +1 -1
  144. package/lib/request/delete-profile-request.d.ts +2 -2
  145. package/lib/request/delete-profile-request.js +1 -1
  146. package/lib/request/filter-resource-actions-request.d.ts +6 -2
  147. package/lib/request/filter-resource-actions-request.js +1 -1
  148. package/lib/request/get-category-request.d.ts +2 -2
  149. package/lib/request/get-category-request.js +1 -1
  150. package/lib/request/get-enrollment-status-request.d.ts +2 -2
  151. package/lib/request/get-enrollment-status-request.js +1 -1
  152. package/lib/request/get-profile-request.d.ts +2 -2
  153. package/lib/request/get-profile-request.js +1 -1
  154. package/lib/request/get-recommendation-request.d.ts +2 -2
  155. package/lib/request/get-recommendation-request.js +1 -1
  156. package/lib/request/get-resource-action-request.d.ts +6 -2
  157. package/lib/request/get-resource-action-request.js +1 -1
  158. package/lib/request/get-work-request-request.d.ts +2 -2
  159. package/lib/request/get-work-request-request.js +1 -1
  160. package/lib/request/index.d.ts +1 -1
  161. package/lib/request/index.js +1 -1
  162. package/lib/request/list-categories-request.d.ts +2 -2
  163. package/lib/request/list-categories-request.js +1 -1
  164. package/lib/request/list-enrollment-statuses-request.d.ts +2 -2
  165. package/lib/request/list-enrollment-statuses-request.js +1 -1
  166. package/lib/request/list-histories-request.d.ts +6 -2
  167. package/lib/request/list-histories-request.js +1 -1
  168. package/lib/request/list-histories-request.js.map +1 -1
  169. package/lib/request/list-profile-levels-request.d.ts +2 -2
  170. package/lib/request/list-profile-levels-request.js +1 -1
  171. package/lib/request/list-profiles-request.d.ts +2 -2
  172. package/lib/request/list-profiles-request.js +1 -1
  173. package/lib/request/list-recommendation-strategies-request.d.ts +2 -2
  174. package/lib/request/list-recommendation-strategies-request.js +1 -1
  175. package/lib/request/list-recommendations-request.d.ts +2 -2
  176. package/lib/request/list-recommendations-request.js +1 -1
  177. package/lib/request/list-resource-action-queryable-fields-request.d.ts +2 -2
  178. package/lib/request/list-resource-action-queryable-fields-request.js +1 -1
  179. package/lib/request/list-resource-actions-request.d.ts +6 -2
  180. package/lib/request/list-resource-actions-request.js +1 -1
  181. package/lib/request/list-resource-actions-request.js.map +1 -1
  182. package/lib/request/list-work-request-errors-request.d.ts +2 -2
  183. package/lib/request/list-work-request-errors-request.js +1 -1
  184. package/lib/request/list-work-request-logs-request.d.ts +2 -2
  185. package/lib/request/list-work-request-logs-request.js +1 -1
  186. package/lib/request/list-work-requests-request.d.ts +2 -2
  187. package/lib/request/list-work-requests-request.js +1 -1
  188. package/lib/request/update-enrollment-status-request.d.ts +2 -2
  189. package/lib/request/update-enrollment-status-request.js +1 -1
  190. package/lib/request/update-profile-request.d.ts +2 -2
  191. package/lib/request/update-profile-request.js +1 -1
  192. package/lib/request/update-recommendation-request.d.ts +2 -2
  193. package/lib/request/update-recommendation-request.js +1 -1
  194. package/lib/request/update-resource-action-request.d.ts +2 -2
  195. package/lib/request/update-resource-action-request.js +1 -1
  196. package/lib/response/bulk-apply-recommendations-response.d.ts +1 -1
  197. package/lib/response/bulk-apply-recommendations-response.js +1 -1
  198. package/lib/response/create-profile-response.d.ts +1 -1
  199. package/lib/response/create-profile-response.js +1 -1
  200. package/lib/response/delete-profile-response.d.ts +1 -1
  201. package/lib/response/delete-profile-response.js +1 -1
  202. package/lib/response/filter-resource-actions-response.d.ts +1 -1
  203. package/lib/response/filter-resource-actions-response.js +1 -1
  204. package/lib/response/get-category-response.d.ts +1 -1
  205. package/lib/response/get-category-response.js +1 -1
  206. package/lib/response/get-enrollment-status-response.d.ts +1 -1
  207. package/lib/response/get-enrollment-status-response.js +1 -1
  208. package/lib/response/get-profile-response.d.ts +1 -1
  209. package/lib/response/get-profile-response.js +1 -1
  210. package/lib/response/get-recommendation-response.d.ts +1 -1
  211. package/lib/response/get-recommendation-response.js +1 -1
  212. package/lib/response/get-resource-action-response.d.ts +1 -1
  213. package/lib/response/get-resource-action-response.js +1 -1
  214. package/lib/response/get-work-request-response.d.ts +1 -1
  215. package/lib/response/get-work-request-response.js +1 -1
  216. package/lib/response/index.d.ts +1 -1
  217. package/lib/response/index.js +1 -1
  218. package/lib/response/list-categories-response.d.ts +1 -1
  219. package/lib/response/list-categories-response.js +1 -1
  220. package/lib/response/list-enrollment-statuses-response.d.ts +1 -1
  221. package/lib/response/list-enrollment-statuses-response.js +1 -1
  222. package/lib/response/list-histories-response.d.ts +1 -1
  223. package/lib/response/list-histories-response.js +1 -1
  224. package/lib/response/list-profile-levels-response.d.ts +1 -1
  225. package/lib/response/list-profile-levels-response.js +1 -1
  226. package/lib/response/list-profiles-response.d.ts +1 -1
  227. package/lib/response/list-profiles-response.js +1 -1
  228. package/lib/response/list-recommendation-strategies-response.d.ts +1 -1
  229. package/lib/response/list-recommendation-strategies-response.js +1 -1
  230. package/lib/response/list-recommendations-response.d.ts +1 -1
  231. package/lib/response/list-recommendations-response.js +1 -1
  232. package/lib/response/list-resource-action-queryable-fields-response.d.ts +1 -1
  233. package/lib/response/list-resource-action-queryable-fields-response.js +1 -1
  234. package/lib/response/list-resource-actions-response.d.ts +1 -1
  235. package/lib/response/list-resource-actions-response.js +1 -1
  236. package/lib/response/list-work-request-errors-response.d.ts +1 -1
  237. package/lib/response/list-work-request-errors-response.js +1 -1
  238. package/lib/response/list-work-request-logs-response.d.ts +1 -1
  239. package/lib/response/list-work-request-logs-response.js +1 -1
  240. package/lib/response/list-work-requests-response.d.ts +1 -1
  241. package/lib/response/list-work-requests-response.js +1 -1
  242. package/lib/response/update-enrollment-status-response.d.ts +1 -1
  243. package/lib/response/update-enrollment-status-response.js +1 -1
  244. package/lib/response/update-profile-response.d.ts +1 -1
  245. package/lib/response/update-profile-response.js +1 -1
  246. package/lib/response/update-recommendation-response.d.ts +1 -1
  247. package/lib/response/update-recommendation-response.js +1 -1
  248. package/lib/response/update-resource-action-response.d.ts +1 -1
  249. package/lib/response/update-resource-action-response.js +1 -1
  250. package/package.json +3 -3
package/lib/client.js CHANGED
@@ -11,7 +11,7 @@ For more information, see [Cloud Advisor](/Content/CloudAdvisor/Concepts/cloudad
11
11
  * NOTE: This class is auto generated by OracleSDKGenerator.
12
12
  * Do not edit the class manually.
13
13
  *
14
- * Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
14
+ * Copyright (c) 2020, 2024, 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) {
@@ -83,6 +83,10 @@ class OptimizerClient {
83
83
  ? clientConfiguration.bodyDuplexMode
84
84
  : undefined;
85
85
  }
86
+ if (!oci_common_1.developerToolConfiguration.isServiceEnabled("optimizer")) {
87
+ let errmsg = "The developerToolConfiguration configuration disabled this service, this behavior is controlled by developerToolConfiguration.ociEnabledServiceSet variable. Please check if your local developer_tool_configuration file has configured the service you're targeting or contact the cloud provider on the availability of this service : ";
88
+ throw errmsg.concat("optimizer");
89
+ }
86
90
  // if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
87
91
  const specCircuitBreakerEnabled = true;
88
92
  if (!this._circuitBreaker &&
@@ -183,11 +187,11 @@ class OptimizerClient {
183
187
  /**
184
188
  * Applies the specified recommendations to the resources.
185
189
  *
186
- * This operation does not retry by default if the user has not defined a retry configuration.
190
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
187
191
  * @param BulkApplyRecommendationsRequest
188
192
  * @return BulkApplyRecommendationsResponse
189
193
  * @throws OciError when an error occurs
190
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/optimizer/BulkApplyRecommendations.ts.html |here} to see how to use BulkApplyRecommendations API.
194
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.1/optimizer/BulkApplyRecommendations.ts.html |here} to see how to use BulkApplyRecommendations API.
191
195
  */
192
196
  bulkApplyRecommendations(bulkApplyRecommendationsRequest) {
193
197
  return __awaiter(this, void 0, void 0, function* () {
@@ -204,7 +208,7 @@ class OptimizerClient {
204
208
  "opc-request-id": bulkApplyRecommendationsRequest.opcRequestId,
205
209
  "opc-retry-token": bulkApplyRecommendationsRequest.opcRetryToken
206
210
  };
207
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
211
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
208
212
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, bulkApplyRecommendationsRequest.retryConfiguration, specRetryConfiguration);
209
213
  if (this.logger)
210
214
  retrier.logger = this.logger;
@@ -245,11 +249,11 @@ class OptimizerClient {
245
249
  /**
246
250
  * Creates a new profile.
247
251
  *
248
- * This operation does not retry by default if the user has not defined a retry configuration.
252
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
249
253
  * @param CreateProfileRequest
250
254
  * @return CreateProfileResponse
251
255
  * @throws OciError when an error occurs
252
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/optimizer/CreateProfile.ts.html |here} to see how to use CreateProfile API.
256
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.1/optimizer/CreateProfile.ts.html |here} to see how to use CreateProfile API.
253
257
  */
254
258
  createProfile(createProfileRequest) {
255
259
  return __awaiter(this, void 0, void 0, function* () {
@@ -264,7 +268,7 @@ class OptimizerClient {
264
268
  "opc-request-id": createProfileRequest.opcRequestId,
265
269
  "opc-retry-token": createProfileRequest.opcRetryToken
266
270
  };
267
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
271
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
268
272
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createProfileRequest.retryConfiguration, specRetryConfiguration);
269
273
  if (this.logger)
270
274
  retrier.logger = this.logger;
@@ -309,11 +313,11 @@ class OptimizerClient {
309
313
  /**
310
314
  * Deletes the specified profile. Uses the profile's OCID to determine which profile to delete.
311
315
  *
312
- * This operation does not retry by default if the user has not defined a retry configuration.
316
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
313
317
  * @param DeleteProfileRequest
314
318
  * @return DeleteProfileResponse
315
319
  * @throws OciError when an error occurs
316
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/optimizer/DeleteProfile.ts.html |here} to see how to use DeleteProfile API.
320
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.1/optimizer/DeleteProfile.ts.html |here} to see how to use DeleteProfile API.
317
321
  */
318
322
  deleteProfile(deleteProfileRequest) {
319
323
  return __awaiter(this, void 0, void 0, function* () {
@@ -330,7 +334,7 @@ class OptimizerClient {
330
334
  "if-match": deleteProfileRequest.ifMatch,
331
335
  "opc-request-id": deleteProfileRequest.opcRequestId
332
336
  };
333
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
337
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
334
338
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteProfileRequest.retryConfiguration, specRetryConfiguration);
335
339
  if (this.logger)
336
340
  retrier.logger = this.logger;
@@ -365,11 +369,11 @@ class OptimizerClient {
365
369
  /**
366
370
  * Queries the Cloud Advisor resource actions that are supported.
367
371
  *
368
- * This operation does not retry by default if the user has not defined a retry configuration.
372
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
369
373
  * @param FilterResourceActionsRequest
370
374
  * @return FilterResourceActionsResponse
371
375
  * @throws OciError when an error occurs
372
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/optimizer/FilterResourceActions.ts.html |here} to see how to use FilterResourceActions API.
376
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.1/optimizer/FilterResourceActions.ts.html |here} to see how to use FilterResourceActions API.
373
377
  */
374
378
  filterResourceActions(filterResourceActionsRequest) {
375
379
  return __awaiter(this, void 0, void 0, function* () {
@@ -385,6 +389,7 @@ class OptimizerClient {
385
389
  "recommendationName": filterResourceActionsRequest.recommendationName,
386
390
  "childTenancyIds": filterResourceActionsRequest.childTenancyIds,
387
391
  "includeOrganization": filterResourceActionsRequest.includeOrganization,
392
+ "includeResourceMetadata": filterResourceActionsRequest.includeResourceMetadata,
388
393
  "limit": filterResourceActionsRequest.limit,
389
394
  "page": filterResourceActionsRequest.page
390
395
  };
@@ -392,7 +397,7 @@ class OptimizerClient {
392
397
  "Content-Type": common.Constants.APPLICATION_JSON,
393
398
  "opc-request-id": filterResourceActionsRequest.opcRequestId
394
399
  };
395
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
400
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
396
401
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, filterResourceActionsRequest.retryConfiguration, specRetryConfiguration);
397
402
  if (this.logger)
398
403
  retrier.logger = this.logger;
@@ -442,11 +447,11 @@ class OptimizerClient {
442
447
  /**
443
448
  * Gets the category that corresponds to the specified OCID.
444
449
  *
445
- * This operation does not retry by default if the user has not defined a retry configuration.
450
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
446
451
  * @param GetCategoryRequest
447
452
  * @return GetCategoryResponse
448
453
  * @throws OciError when an error occurs
449
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/optimizer/GetCategory.ts.html |here} to see how to use GetCategory API.
454
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.1/optimizer/GetCategory.ts.html |here} to see how to use GetCategory API.
450
455
  */
451
456
  getCategory(getCategoryRequest) {
452
457
  return __awaiter(this, void 0, void 0, function* () {
@@ -462,7 +467,7 @@ class OptimizerClient {
462
467
  "Content-Type": common.Constants.APPLICATION_JSON,
463
468
  "opc-request-id": getCategoryRequest.opcRequestId
464
469
  };
465
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
470
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
466
471
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getCategoryRequest.retryConfiguration, specRetryConfiguration);
467
472
  if (this.logger)
468
473
  retrier.logger = this.logger;
@@ -501,11 +506,11 @@ class OptimizerClient {
501
506
  /**
502
507
  * Gets the Cloud Advisor enrollment status.
503
508
  *
504
- * This operation does not retry by default if the user has not defined a retry configuration.
509
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
505
510
  * @param GetEnrollmentStatusRequest
506
511
  * @return GetEnrollmentStatusResponse
507
512
  * @throws OciError when an error occurs
508
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/optimizer/GetEnrollmentStatus.ts.html |here} to see how to use GetEnrollmentStatus API.
513
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.1/optimizer/GetEnrollmentStatus.ts.html |here} to see how to use GetEnrollmentStatus API.
509
514
  */
510
515
  getEnrollmentStatus(getEnrollmentStatusRequest) {
511
516
  return __awaiter(this, void 0, void 0, function* () {
@@ -521,7 +526,7 @@ class OptimizerClient {
521
526
  "Content-Type": common.Constants.APPLICATION_JSON,
522
527
  "opc-request-id": getEnrollmentStatusRequest.opcRequestId
523
528
  };
524
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
529
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
525
530
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getEnrollmentStatusRequest.retryConfiguration, specRetryConfiguration);
526
531
  if (this.logger)
527
532
  retrier.logger = this.logger;
@@ -565,11 +570,11 @@ class OptimizerClient {
565
570
  /**
566
571
  * Gets the specified profile's information. Uses the profile's OCID to determine which profile to retrieve.
567
572
  *
568
- * This operation does not retry by default if the user has not defined a retry configuration.
573
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
569
574
  * @param GetProfileRequest
570
575
  * @return GetProfileResponse
571
576
  * @throws OciError when an error occurs
572
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/optimizer/GetProfile.ts.html |here} to see how to use GetProfile API.
577
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.1/optimizer/GetProfile.ts.html |here} to see how to use GetProfile API.
573
578
  */
574
579
  getProfile(getProfileRequest) {
575
580
  return __awaiter(this, void 0, void 0, function* () {
@@ -585,7 +590,7 @@ class OptimizerClient {
585
590
  "Content-Type": common.Constants.APPLICATION_JSON,
586
591
  "opc-request-id": getProfileRequest.opcRequestId
587
592
  };
588
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
593
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
589
594
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getProfileRequest.retryConfiguration, specRetryConfiguration);
590
595
  if (this.logger)
591
596
  retrier.logger = this.logger;
@@ -629,11 +634,11 @@ class OptimizerClient {
629
634
  /**
630
635
  * Gets the recommendation for the specified OCID.
631
636
  *
632
- * This operation does not retry by default if the user has not defined a retry configuration.
637
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
633
638
  * @param GetRecommendationRequest
634
639
  * @return GetRecommendationResponse
635
640
  * @throws OciError when an error occurs
636
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/optimizer/GetRecommendation.ts.html |here} to see how to use GetRecommendation API.
641
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.1/optimizer/GetRecommendation.ts.html |here} to see how to use GetRecommendation API.
637
642
  */
638
643
  getRecommendation(getRecommendationRequest) {
639
644
  return __awaiter(this, void 0, void 0, function* () {
@@ -649,7 +654,7 @@ class OptimizerClient {
649
654
  "Content-Type": common.Constants.APPLICATION_JSON,
650
655
  "opc-request-id": getRecommendationRequest.opcRequestId
651
656
  };
652
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
657
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
653
658
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getRecommendationRequest.retryConfiguration, specRetryConfiguration);
654
659
  if (this.logger)
655
660
  retrier.logger = this.logger;
@@ -693,11 +698,11 @@ class OptimizerClient {
693
698
  /**
694
699
  * Gets the resource action that corresponds to the specified OCID.
695
700
  *
696
- * This operation does not retry by default if the user has not defined a retry configuration.
701
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
697
702
  * @param GetResourceActionRequest
698
703
  * @return GetResourceActionResponse
699
704
  * @throws OciError when an error occurs
700
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/optimizer/GetResourceAction.ts.html |here} to see how to use GetResourceAction API.
705
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.1/optimizer/GetResourceAction.ts.html |here} to see how to use GetResourceAction API.
701
706
  */
702
707
  getResourceAction(getResourceActionRequest) {
703
708
  return __awaiter(this, void 0, void 0, function* () {
@@ -708,12 +713,14 @@ class OptimizerClient {
708
713
  const pathParams = {
709
714
  "{resourceActionId}": getResourceActionRequest.resourceActionId
710
715
  };
711
- const queryParams = {};
716
+ const queryParams = {
717
+ "includeResourceMetadata": getResourceActionRequest.includeResourceMetadata
718
+ };
712
719
  let headerParams = {
713
720
  "Content-Type": common.Constants.APPLICATION_JSON,
714
721
  "opc-request-id": getResourceActionRequest.opcRequestId
715
722
  };
716
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
723
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
717
724
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getResourceActionRequest.retryConfiguration, specRetryConfiguration);
718
725
  if (this.logger)
719
726
  retrier.logger = this.logger;
@@ -756,11 +763,11 @@ class OptimizerClient {
756
763
  }
757
764
  /**
758
765
  * Gets the status of the work request associated with the specified ID.
759
- * This operation does not retry by default if the user has not defined a retry configuration.
766
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
760
767
  * @param GetWorkRequestRequest
761
768
  * @return GetWorkRequestResponse
762
769
  * @throws OciError when an error occurs
763
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/optimizer/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
770
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.1/optimizer/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
764
771
  */
765
772
  getWorkRequest(getWorkRequestRequest) {
766
773
  return __awaiter(this, void 0, void 0, function* () {
@@ -776,7 +783,7 @@ class OptimizerClient {
776
783
  "Content-Type": common.Constants.APPLICATION_JSON,
777
784
  "opc-request-id": getWorkRequestRequest.opcRequestId
778
785
  };
779
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
786
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
780
787
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
781
788
  if (this.logger)
782
789
  retrier.logger = this.logger;
@@ -820,11 +827,11 @@ class OptimizerClient {
820
827
  /**
821
828
  * Lists the supported Cloud Advisor categories.
822
829
  *
823
- * This operation does not retry by default if the user has not defined a retry configuration.
830
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
824
831
  * @param ListCategoriesRequest
825
832
  * @return ListCategoriesResponse
826
833
  * @throws OciError when an error occurs
827
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/optimizer/ListCategories.ts.html |here} to see how to use ListCategories API.
834
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.1/optimizer/ListCategories.ts.html |here} to see how to use ListCategories API.
828
835
  */
829
836
  listCategories(listCategoriesRequest) {
830
837
  return __awaiter(this, void 0, void 0, function* () {
@@ -849,7 +856,7 @@ class OptimizerClient {
849
856
  "Content-Type": common.Constants.APPLICATION_JSON,
850
857
  "opc-request-id": listCategoriesRequest.opcRequestId
851
858
  };
852
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
859
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
853
860
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listCategoriesRequest.retryConfiguration, specRetryConfiguration);
854
861
  if (this.logger)
855
862
  retrier.logger = this.logger;
@@ -898,11 +905,11 @@ class OptimizerClient {
898
905
  /**
899
906
  * Lists the Cloud Advisor enrollment statuses.
900
907
  *
901
- * This operation does not retry by default if the user has not defined a retry configuration.
908
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
902
909
  * @param ListEnrollmentStatusesRequest
903
910
  * @return ListEnrollmentStatusesResponse
904
911
  * @throws OciError when an error occurs
905
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/optimizer/ListEnrollmentStatuses.ts.html |here} to see how to use ListEnrollmentStatuses API.
912
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.1/optimizer/ListEnrollmentStatuses.ts.html |here} to see how to use ListEnrollmentStatuses API.
906
913
  */
907
914
  listEnrollmentStatuses(listEnrollmentStatusesRequest) {
908
915
  return __awaiter(this, void 0, void 0, function* () {
@@ -924,7 +931,7 @@ class OptimizerClient {
924
931
  "Content-Type": common.Constants.APPLICATION_JSON,
925
932
  "opc-request-id": listEnrollmentStatusesRequest.opcRequestId
926
933
  };
927
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
934
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
928
935
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listEnrollmentStatusesRequest.retryConfiguration, specRetryConfiguration);
929
936
  if (this.logger)
930
937
  retrier.logger = this.logger;
@@ -974,11 +981,11 @@ class OptimizerClient {
974
981
  * Lists changes to the recommendations based on user activity.
975
982
  * For example, lists when recommendations have been implemented, dismissed, postponed, or reactivated.
976
983
  *
977
- * This operation does not retry by default if the user has not defined a retry configuration.
984
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
978
985
  * @param ListHistoriesRequest
979
986
  * @return ListHistoriesResponse
980
987
  * @throws OciError when an error occurs
981
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/optimizer/ListHistories.ts.html |here} to see how to use ListHistories API.
988
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.1/optimizer/ListHistories.ts.html |here} to see how to use ListHistories API.
982
989
  */
983
990
  listHistories(listHistoriesRequest) {
984
991
  return __awaiter(this, void 0, void 0, function* () {
@@ -999,13 +1006,14 @@ class OptimizerClient {
999
1006
  "sortOrder": listHistoriesRequest.sortOrder,
1000
1007
  "sortBy": listHistoriesRequest.sortBy,
1001
1008
  "lifecycleState": listHistoriesRequest.lifecycleState,
1002
- "status": listHistoriesRequest.status
1009
+ "status": listHistoriesRequest.status,
1010
+ "includeResourceMetadata": listHistoriesRequest.includeResourceMetadata
1003
1011
  };
1004
1012
  let headerParams = {
1005
1013
  "Content-Type": common.Constants.APPLICATION_JSON,
1006
1014
  "opc-request-id": listHistoriesRequest.opcRequestId
1007
1015
  };
1008
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
1016
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1009
1017
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listHistoriesRequest.retryConfiguration, specRetryConfiguration);
1010
1018
  if (this.logger)
1011
1019
  retrier.logger = this.logger;
@@ -1054,11 +1062,11 @@ class OptimizerClient {
1054
1062
  /**
1055
1063
  * Lists the existing profile levels.
1056
1064
  *
1057
- * This operation does not retry by default if the user has not defined a retry configuration.
1065
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1058
1066
  * @param ListProfileLevelsRequest
1059
1067
  * @return ListProfileLevelsResponse
1060
1068
  * @throws OciError when an error occurs
1061
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/optimizer/ListProfileLevels.ts.html |here} to see how to use ListProfileLevels API.
1069
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.1/optimizer/ListProfileLevels.ts.html |here} to see how to use ListProfileLevels API.
1062
1070
  */
1063
1071
  listProfileLevels(listProfileLevelsRequest) {
1064
1072
  return __awaiter(this, void 0, void 0, function* () {
@@ -1081,7 +1089,7 @@ class OptimizerClient {
1081
1089
  "Content-Type": common.Constants.APPLICATION_JSON,
1082
1090
  "opc-request-id": listProfileLevelsRequest.opcRequestId
1083
1091
  };
1084
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
1092
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1085
1093
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listProfileLevelsRequest.retryConfiguration, specRetryConfiguration);
1086
1094
  if (this.logger)
1087
1095
  retrier.logger = this.logger;
@@ -1130,11 +1138,11 @@ class OptimizerClient {
1130
1138
  /**
1131
1139
  * Lists the existing profiles.
1132
1140
  *
1133
- * This operation does not retry by default if the user has not defined a retry configuration.
1141
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1134
1142
  * @param ListProfilesRequest
1135
1143
  * @return ListProfilesResponse
1136
1144
  * @throws OciError when an error occurs
1137
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/optimizer/ListProfiles.ts.html |here} to see how to use ListProfiles API.
1145
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.1/optimizer/ListProfiles.ts.html |here} to see how to use ListProfiles API.
1138
1146
  */
1139
1147
  listProfiles(listProfilesRequest) {
1140
1148
  return __awaiter(this, void 0, void 0, function* () {
@@ -1156,7 +1164,7 @@ class OptimizerClient {
1156
1164
  "Content-Type": common.Constants.APPLICATION_JSON,
1157
1165
  "opc-request-id": listProfilesRequest.opcRequestId
1158
1166
  };
1159
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
1167
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1160
1168
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listProfilesRequest.retryConfiguration, specRetryConfiguration);
1161
1169
  if (this.logger)
1162
1170
  retrier.logger = this.logger;
@@ -1205,11 +1213,11 @@ class OptimizerClient {
1205
1213
  /**
1206
1214
  * Lists the existing strategies.
1207
1215
  *
1208
- * This operation does not retry by default if the user has not defined a retry configuration.
1216
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1209
1217
  * @param ListRecommendationStrategiesRequest
1210
1218
  * @return ListRecommendationStrategiesResponse
1211
1219
  * @throws OciError when an error occurs
1212
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/optimizer/ListRecommendationStrategies.ts.html |here} to see how to use ListRecommendationStrategies API.
1220
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.1/optimizer/ListRecommendationStrategies.ts.html |here} to see how to use ListRecommendationStrategies API.
1213
1221
  */
1214
1222
  listRecommendationStrategies(listRecommendationStrategiesRequest) {
1215
1223
  return __awaiter(this, void 0, void 0, function* () {
@@ -1232,7 +1240,7 @@ class OptimizerClient {
1232
1240
  "Content-Type": common.Constants.APPLICATION_JSON,
1233
1241
  "opc-request-id": listRecommendationStrategiesRequest.opcRequestId
1234
1242
  };
1235
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
1243
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1236
1244
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listRecommendationStrategiesRequest.retryConfiguration, specRetryConfiguration);
1237
1245
  if (this.logger)
1238
1246
  retrier.logger = this.logger;
@@ -1281,11 +1289,11 @@ class OptimizerClient {
1281
1289
  /**
1282
1290
  * Lists the Cloud Advisor recommendations that are currently supported.
1283
1291
  *
1284
- * This operation does not retry by default if the user has not defined a retry configuration.
1292
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1285
1293
  * @param ListRecommendationsRequest
1286
1294
  * @return ListRecommendationsResponse
1287
1295
  * @throws OciError when an error occurs
1288
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/optimizer/ListRecommendations.ts.html |here} to see how to use ListRecommendations API.
1296
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.1/optimizer/ListRecommendations.ts.html |here} to see how to use ListRecommendations API.
1289
1297
  */
1290
1298
  listRecommendations(listRecommendationsRequest) {
1291
1299
  return __awaiter(this, void 0, void 0, function* () {
@@ -1313,7 +1321,7 @@ class OptimizerClient {
1313
1321
  "Content-Type": common.Constants.APPLICATION_JSON,
1314
1322
  "opc-request-id": listRecommendationsRequest.opcRequestId
1315
1323
  };
1316
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
1324
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1317
1325
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listRecommendationsRequest.retryConfiguration, specRetryConfiguration);
1318
1326
  if (this.logger)
1319
1327
  retrier.logger = this.logger;
@@ -1362,11 +1370,11 @@ class OptimizerClient {
1362
1370
  /**
1363
1371
  * Lists the fields that are indexed for querying and their associated value types.
1364
1372
  *
1365
- * This operation does not retry by default if the user has not defined a retry configuration.
1373
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1366
1374
  * @param ListResourceActionQueryableFieldsRequest
1367
1375
  * @return ListResourceActionQueryableFieldsResponse
1368
1376
  * @throws OciError when an error occurs
1369
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/optimizer/ListResourceActionQueryableFields.ts.html |here} to see how to use ListResourceActionQueryableFields API.
1377
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.1/optimizer/ListResourceActionQueryableFields.ts.html |here} to see how to use ListResourceActionQueryableFields API.
1370
1378
  */
1371
1379
  listResourceActionQueryableFields(listResourceActionQueryableFieldsRequest) {
1372
1380
  return __awaiter(this, void 0, void 0, function* () {
@@ -1385,7 +1393,7 @@ class OptimizerClient {
1385
1393
  "Content-Type": common.Constants.APPLICATION_JSON,
1386
1394
  "opc-request-id": listResourceActionQueryableFieldsRequest.opcRequestId
1387
1395
  };
1388
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
1396
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1389
1397
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listResourceActionQueryableFieldsRequest.retryConfiguration, specRetryConfiguration);
1390
1398
  if (this.logger)
1391
1399
  retrier.logger = this.logger;
@@ -1434,11 +1442,11 @@ class OptimizerClient {
1434
1442
  /**
1435
1443
  * Lists the Cloud Advisor resource actions that are supported.
1436
1444
  *
1437
- * This operation does not retry by default if the user has not defined a retry configuration.
1445
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1438
1446
  * @param ListResourceActionsRequest
1439
1447
  * @return ListResourceActionsResponse
1440
1448
  * @throws OciError when an error occurs
1441
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/optimizer/ListResourceActions.ts.html |here} to see how to use ListResourceActions API.
1449
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.1/optimizer/ListResourceActions.ts.html |here} to see how to use ListResourceActions API.
1442
1450
  */
1443
1451
  listResourceActions(listResourceActionsRequest) {
1444
1452
  return __awaiter(this, void 0, void 0, function* () {
@@ -1461,13 +1469,14 @@ class OptimizerClient {
1461
1469
  "sortOrder": listResourceActionsRequest.sortOrder,
1462
1470
  "sortBy": listResourceActionsRequest.sortBy,
1463
1471
  "lifecycleState": listResourceActionsRequest.lifecycleState,
1464
- "status": listResourceActionsRequest.status
1472
+ "status": listResourceActionsRequest.status,
1473
+ "includeResourceMetadata": listResourceActionsRequest.includeResourceMetadata
1465
1474
  };
1466
1475
  let headerParams = {
1467
1476
  "Content-Type": common.Constants.APPLICATION_JSON,
1468
1477
  "opc-request-id": listResourceActionsRequest.opcRequestId
1469
1478
  };
1470
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
1479
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1471
1480
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listResourceActionsRequest.retryConfiguration, specRetryConfiguration);
1472
1481
  if (this.logger)
1473
1482
  retrier.logger = this.logger;
@@ -1516,11 +1525,11 @@ class OptimizerClient {
1516
1525
  /**
1517
1526
  * Lists errors associated with the specified work request.
1518
1527
  *
1519
- * This operation does not retry by default if the user has not defined a retry configuration.
1528
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1520
1529
  * @param ListWorkRequestErrorsRequest
1521
1530
  * @return ListWorkRequestErrorsResponse
1522
1531
  * @throws OciError when an error occurs
1523
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/optimizer/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
1532
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.1/optimizer/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
1524
1533
  */
1525
1534
  listWorkRequestErrors(listWorkRequestErrorsRequest) {
1526
1535
  return __awaiter(this, void 0, void 0, function* () {
@@ -1539,7 +1548,7 @@ class OptimizerClient {
1539
1548
  "Content-Type": common.Constants.APPLICATION_JSON,
1540
1549
  "opc-request-id": listWorkRequestErrorsRequest.opcRequestId
1541
1550
  };
1542
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
1551
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1543
1552
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
1544
1553
  if (this.logger)
1545
1554
  retrier.logger = this.logger;
@@ -1583,11 +1592,11 @@ class OptimizerClient {
1583
1592
  /**
1584
1593
  * Lists the logs associated with the specified work request.
1585
1594
  *
1586
- * This operation does not retry by default if the user has not defined a retry configuration.
1595
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1587
1596
  * @param ListWorkRequestLogsRequest
1588
1597
  * @return ListWorkRequestLogsResponse
1589
1598
  * @throws OciError when an error occurs
1590
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/optimizer/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
1599
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.1/optimizer/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
1591
1600
  */
1592
1601
  listWorkRequestLogs(listWorkRequestLogsRequest) {
1593
1602
  return __awaiter(this, void 0, void 0, function* () {
@@ -1606,7 +1615,7 @@ class OptimizerClient {
1606
1615
  "Content-Type": common.Constants.APPLICATION_JSON,
1607
1616
  "opc-request-id": listWorkRequestLogsRequest.opcRequestId
1608
1617
  };
1609
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
1618
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1610
1619
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
1611
1620
  if (this.logger)
1612
1621
  retrier.logger = this.logger;
@@ -1650,11 +1659,11 @@ class OptimizerClient {
1650
1659
  /**
1651
1660
  * Lists the work requests in the tenancy. The tenancy is the root compartment.
1652
1661
  *
1653
- * This operation does not retry by default if the user has not defined a retry configuration.
1662
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1654
1663
  * @param ListWorkRequestsRequest
1655
1664
  * @return ListWorkRequestsResponse
1656
1665
  * @throws OciError when an error occurs
1657
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/optimizer/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
1666
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.1/optimizer/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
1658
1667
  */
1659
1668
  listWorkRequests(listWorkRequestsRequest) {
1660
1669
  return __awaiter(this, void 0, void 0, function* () {
@@ -1672,7 +1681,7 @@ class OptimizerClient {
1672
1681
  "Content-Type": common.Constants.APPLICATION_JSON,
1673
1682
  "opc-request-id": listWorkRequestsRequest.opcRequestId
1674
1683
  };
1675
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
1684
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1676
1685
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
1677
1686
  if (this.logger)
1678
1687
  retrier.logger = this.logger;
@@ -1716,11 +1725,11 @@ class OptimizerClient {
1716
1725
  /**
1717
1726
  * Updates the enrollment status of the tenancy.
1718
1727
  *
1719
- * This operation does not retry by default if the user has not defined a retry configuration.
1728
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1720
1729
  * @param UpdateEnrollmentStatusRequest
1721
1730
  * @return UpdateEnrollmentStatusResponse
1722
1731
  * @throws OciError when an error occurs
1723
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/optimizer/UpdateEnrollmentStatus.ts.html |here} to see how to use UpdateEnrollmentStatus API.
1732
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.1/optimizer/UpdateEnrollmentStatus.ts.html |here} to see how to use UpdateEnrollmentStatus API.
1724
1733
  */
1725
1734
  updateEnrollmentStatus(updateEnrollmentStatusRequest) {
1726
1735
  return __awaiter(this, void 0, void 0, function* () {
@@ -1737,7 +1746,7 @@ class OptimizerClient {
1737
1746
  "opc-request-id": updateEnrollmentStatusRequest.opcRequestId,
1738
1747
  "if-match": updateEnrollmentStatusRequest.ifMatch
1739
1748
  };
1740
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
1749
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1741
1750
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateEnrollmentStatusRequest.retryConfiguration, specRetryConfiguration);
1742
1751
  if (this.logger)
1743
1752
  retrier.logger = this.logger;
@@ -1782,11 +1791,11 @@ class OptimizerClient {
1782
1791
  /**
1783
1792
  * Updates the specified profile. Uses the profile's OCID to determine which profile to update.
1784
1793
  *
1785
- * This operation does not retry by default if the user has not defined a retry configuration.
1794
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1786
1795
  * @param UpdateProfileRequest
1787
1796
  * @return UpdateProfileResponse
1788
1797
  * @throws OciError when an error occurs
1789
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/optimizer/UpdateProfile.ts.html |here} to see how to use UpdateProfile API.
1798
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.1/optimizer/UpdateProfile.ts.html |here} to see how to use UpdateProfile API.
1790
1799
  */
1791
1800
  updateProfile(updateProfileRequest) {
1792
1801
  return __awaiter(this, void 0, void 0, function* () {
@@ -1803,7 +1812,7 @@ class OptimizerClient {
1803
1812
  "if-match": updateProfileRequest.ifMatch,
1804
1813
  "opc-request-id": updateProfileRequest.opcRequestId
1805
1814
  };
1806
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
1815
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1807
1816
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateProfileRequest.retryConfiguration, specRetryConfiguration);
1808
1817
  if (this.logger)
1809
1818
  retrier.logger = this.logger;
@@ -1857,7 +1866,7 @@ class OptimizerClient {
1857
1866
  * @param UpdateRecommendationRequest
1858
1867
  * @return UpdateRecommendationResponse
1859
1868
  * @throws OciError when an error occurs
1860
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/optimizer/UpdateRecommendation.ts.html |here} to see how to use UpdateRecommendation API.
1869
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.1/optimizer/UpdateRecommendation.ts.html |here} to see how to use UpdateRecommendation API.
1861
1870
  */
1862
1871
  updateRecommendation(updateRecommendationRequest) {
1863
1872
  return __awaiter(this, void 0, void 0, function* () {
@@ -1924,11 +1933,11 @@ class OptimizerClient {
1924
1933
  * * Ignore resource action
1925
1934
  * * Reactivate resource action
1926
1935
  *
1927
- * This operation does not retry by default if the user has not defined a retry configuration.
1936
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1928
1937
  * @param UpdateResourceActionRequest
1929
1938
  * @return UpdateResourceActionResponse
1930
1939
  * @throws OciError when an error occurs
1931
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/optimizer/UpdateResourceAction.ts.html |here} to see how to use UpdateResourceAction API.
1940
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.1/optimizer/UpdateResourceAction.ts.html |here} to see how to use UpdateResourceAction API.
1932
1941
  */
1933
1942
  updateResourceAction(updateResourceActionRequest) {
1934
1943
  return __awaiter(this, void 0, void 0, function* () {
@@ -1945,7 +1954,7 @@ class OptimizerClient {
1945
1954
  "opc-request-id": updateResourceActionRequest.opcRequestId,
1946
1955
  "if-match": updateResourceActionRequest.ifMatch
1947
1956
  };
1948
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
1957
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1949
1958
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateResourceActionRequest.retryConfiguration, specRetryConfiguration);
1950
1959
  if (this.logger)
1951
1960
  retrier.logger = this.logger;