oci-jms 2.102.1 → 2.102.2

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 (87) hide show
  1. package/lib/client.d.ts +36 -0
  2. package/lib/client.js +281 -0
  3. package/lib/client.js.map +1 -1
  4. package/lib/model/fleet-error-aggregation-collection.d.ts +26 -0
  5. package/lib/model/fleet-error-aggregation-collection.js +61 -0
  6. package/lib/model/fleet-error-aggregation-collection.js.map +1 -0
  7. package/lib/model/fleet-error-aggregation-summary.d.ts +30 -0
  8. package/lib/model/fleet-error-aggregation-summary.js +61 -0
  9. package/lib/model/fleet-error-aggregation-summary.js.map +1 -0
  10. package/lib/model/fleet-error-aggregation.d.ts +30 -0
  11. package/lib/model/fleet-error-aggregation.js +29 -0
  12. package/lib/model/fleet-error-aggregation.js.map +1 -0
  13. package/lib/model/fleet-error-collection.d.ts +26 -0
  14. package/lib/model/fleet-error-collection.js +61 -0
  15. package/lib/model/fleet-error-collection.js.map +1 -0
  16. package/lib/model/fleet-error-details.d.ts +38 -0
  17. package/lib/model/fleet-error-details.js +29 -0
  18. package/lib/model/fleet-error-details.js.map +1 -0
  19. package/lib/model/fleet-error-reason.d.ts +28 -0
  20. package/lib/model/fleet-error-reason.js +39 -0
  21. package/lib/model/fleet-error-reason.js.map +1 -0
  22. package/lib/model/fleet-error-sort-by.d.ts +23 -0
  23. package/lib/model/fleet-error-sort-by.js +34 -0
  24. package/lib/model/fleet-error-sort-by.js.map +1 -0
  25. package/lib/model/fleet-error-summary.d.ts +49 -0
  26. package/lib/model/fleet-error-summary.js +61 -0
  27. package/lib/model/fleet-error-summary.js.map +1 -0
  28. package/lib/model/generate-agent-installer-configuration-details.d.ts +1 -1
  29. package/lib/model/index.d.ts +32 -0
  30. package/lib/model/index.js +36 -3
  31. package/lib/model/index.js.map +1 -1
  32. package/lib/model/operating-system.d.ts +4 -0
  33. package/lib/model/operating-system.js.map +1 -1
  34. package/lib/model/plugin-error-aggregation-collection.d.ts +26 -0
  35. package/lib/model/plugin-error-aggregation-collection.js +61 -0
  36. package/lib/model/plugin-error-aggregation-collection.js.map +1 -0
  37. package/lib/model/plugin-error-aggregation-summary.d.ts +30 -0
  38. package/lib/model/plugin-error-aggregation-summary.js +61 -0
  39. package/lib/model/plugin-error-aggregation-summary.js.map +1 -0
  40. package/lib/model/plugin-error-aggregation.d.ts +30 -0
  41. package/lib/model/plugin-error-aggregation.js +29 -0
  42. package/lib/model/plugin-error-aggregation.js.map +1 -0
  43. package/lib/model/plugin-error-collection.d.ts +26 -0
  44. package/lib/model/plugin-error-collection.js +61 -0
  45. package/lib/model/plugin-error-collection.js.map +1 -0
  46. package/lib/model/plugin-error-details.d.ts +38 -0
  47. package/lib/model/plugin-error-details.js +29 -0
  48. package/lib/model/plugin-error-details.js.map +1 -0
  49. package/lib/model/plugin-error-reason.d.ts +29 -0
  50. package/lib/model/plugin-error-reason.js +40 -0
  51. package/lib/model/plugin-error-reason.js.map +1 -0
  52. package/lib/model/plugin-error-sort-by.d.ts +23 -0
  53. package/lib/model/plugin-error-sort-by.js +34 -0
  54. package/lib/model/plugin-error-sort-by.js.map +1 -0
  55. package/lib/model/plugin-error-summary.d.ts +53 -0
  56. package/lib/model/plugin-error-summary.js +61 -0
  57. package/lib/model/plugin-error-summary.js.map +1 -0
  58. package/lib/request/index.d.ts +8 -0
  59. package/lib/request/list-fleet-errors-request.d.ts +72 -0
  60. package/lib/request/list-fleet-errors-request.js +15 -0
  61. package/lib/request/list-fleet-errors-request.js.map +1 -0
  62. package/lib/request/list-jms-plugins-request.d.ts +4 -0
  63. package/lib/request/list-performance-tuning-analysis-results-request.d.ts +4 -0
  64. package/lib/request/list-plugin-errors-request.d.ts +72 -0
  65. package/lib/request/list-plugin-errors-request.js +15 -0
  66. package/lib/request/list-plugin-errors-request.js.map +1 -0
  67. package/lib/request/summarize-fleet-errors-request.d.ts +40 -0
  68. package/lib/request/summarize-fleet-errors-request.js +15 -0
  69. package/lib/request/summarize-fleet-errors-request.js.map +1 -0
  70. package/lib/request/summarize-plugin-errors-request.d.ts +40 -0
  71. package/lib/request/summarize-plugin-errors-request.js +15 -0
  72. package/lib/request/summarize-plugin-errors-request.js.map +1 -0
  73. package/lib/request/summarize-resource-inventory-request.d.ts +5 -0
  74. package/lib/response/index.d.ts +8 -0
  75. package/lib/response/list-fleet-errors-response.d.ts +32 -0
  76. package/lib/response/list-fleet-errors-response.js +15 -0
  77. package/lib/response/list-fleet-errors-response.js.map +1 -0
  78. package/lib/response/list-plugin-errors-response.d.ts +32 -0
  79. package/lib/response/list-plugin-errors-response.js +15 -0
  80. package/lib/response/list-plugin-errors-response.js.map +1 -0
  81. package/lib/response/summarize-fleet-errors-response.d.ts +32 -0
  82. package/lib/response/summarize-fleet-errors-response.js +15 -0
  83. package/lib/response/summarize-fleet-errors-response.js.map +1 -0
  84. package/lib/response/summarize-plugin-errors-response.d.ts +32 -0
  85. package/lib/response/summarize-plugin-errors-response.js +15 -0
  86. package/lib/response/summarize-plugin-errors-response.js.map +1 -0
  87. package/package.json +3 -3
package/lib/client.d.ts CHANGED
@@ -462,6 +462,15 @@ export declare class JavaManagementServiceClient {
462
462
  * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jms/ListFleetDiagnoses.ts.html |here} to see how to use ListFleetDiagnoses API.
463
463
  */
464
464
  listFleetDiagnoses(listFleetDiagnosesRequest: requests.ListFleetDiagnosesRequest): Promise<responses.ListFleetDiagnosesResponse>;
465
+ /**
466
+ * Returns a list of fleet errors that describe all detected errors.
467
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
468
+ * @param ListFleetErrorsRequest
469
+ * @return ListFleetErrorsResponse
470
+ * @throws OciError when an error occurs
471
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jms/ListFleetErrors.ts.html |here} to see how to use ListFleetErrors API.
472
+ */
473
+ listFleetErrors(listFleetErrorsRequest: requests.ListFleetErrorsRequest): Promise<responses.ListFleetErrorsResponse>;
465
474
  /**
466
475
  * Returns a list of all the Fleets contained by a compartment. The query parameter `compartmentId`
467
476
  * is required unless the query parameter `id` is specified.
@@ -539,6 +548,15 @@ export declare class JavaManagementServiceClient {
539
548
  * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jms/ListPerformanceTuningAnalysisResults.ts.html |here} to see how to use ListPerformanceTuningAnalysisResults API.
540
549
  */
541
550
  listPerformanceTuningAnalysisResults(listPerformanceTuningAnalysisResultsRequest: requests.ListPerformanceTuningAnalysisResultsRequest): Promise<responses.ListPerformanceTuningAnalysisResultsResponse>;
551
+ /**
552
+ * Returns a list of plugin errors that describe all detected errors.
553
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
554
+ * @param ListPluginErrorsRequest
555
+ * @return ListPluginErrorsResponse
556
+ * @throws OciError when an error occurs
557
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jms/ListPluginErrors.ts.html |here} to see how to use ListPluginErrors API.
558
+ */
559
+ listPluginErrors(listPluginErrorsRequest: requests.ListPluginErrorsRequest): Promise<responses.ListPluginErrorsResponse>;
542
560
  /**
543
561
  * Retrieve a paginated list of work items for a specified work request.
544
562
  *
@@ -698,6 +716,15 @@ export declare class JavaManagementServiceClient {
698
716
  * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jms/SummarizeDeployedApplicationUsage.ts.html |here} to see how to use SummarizeDeployedApplicationUsage API.
699
717
  */
700
718
  summarizeDeployedApplicationUsage(summarizeDeployedApplicationUsageRequest: requests.SummarizeDeployedApplicationUsageRequest): Promise<responses.SummarizeDeployedApplicationUsageResponse>;
719
+ /**
720
+ * Returns a high level summary of FleetErrors.
721
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
722
+ * @param SummarizeFleetErrorsRequest
723
+ * @return SummarizeFleetErrorsResponse
724
+ * @throws OciError when an error occurs
725
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jms/SummarizeFleetErrors.ts.html |here} to see how to use SummarizeFleetErrors API.
726
+ */
727
+ summarizeFleetErrors(summarizeFleetErrorsRequest: requests.SummarizeFleetErrorsRequest): Promise<responses.SummarizeFleetErrorsResponse>;
701
728
  /**
702
729
  * List Java installation usage in a Fleet filtered by query parameters.
703
730
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
@@ -755,6 +782,15 @@ export declare class JavaManagementServiceClient {
755
782
  * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jms/SummarizeManagedInstanceUsage.ts.html |here} to see how to use SummarizeManagedInstanceUsage API.
756
783
  */
757
784
  summarizeManagedInstanceUsage(summarizeManagedInstanceUsageRequest: requests.SummarizeManagedInstanceUsageRequest): Promise<responses.SummarizeManagedInstanceUsageResponse>;
785
+ /**
786
+ * Returns a high level summary of PluginErrors.
787
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
788
+ * @param SummarizePluginErrorsRequest
789
+ * @return SummarizePluginErrorsResponse
790
+ * @throws OciError when an error occurs
791
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jms/SummarizePluginErrors.ts.html |here} to see how to use SummarizePluginErrors API.
792
+ */
793
+ summarizePluginErrors(summarizePluginErrorsRequest: requests.SummarizePluginErrorsRequest): Promise<responses.SummarizePluginErrorsResponse>;
758
794
  /**
759
795
  * Retrieve the inventory of JMS resources in the specified compartment: a list of the number of _active_ fleets, managed instances, Java Runtimes, Java installations, and applications.
760
796
  *
package/lib/client.js CHANGED
@@ -2648,6 +2648,79 @@ class JavaManagementServiceClient {
2648
2648
  }
2649
2649
  });
2650
2650
  }
2651
+ /**
2652
+ * Returns a list of fleet errors that describe all detected errors.
2653
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
2654
+ * @param ListFleetErrorsRequest
2655
+ * @return ListFleetErrorsResponse
2656
+ * @throws OciError when an error occurs
2657
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jms/ListFleetErrors.ts.html |here} to see how to use ListFleetErrors API.
2658
+ */
2659
+ listFleetErrors(listFleetErrorsRequest) {
2660
+ return __awaiter(this, void 0, void 0, function* () {
2661
+ if (this.logger)
2662
+ this.logger.debug("Calling operation JavaManagementServiceClient#listFleetErrors.");
2663
+ const operationName = "listFleetErrors";
2664
+ const apiReferenceLink = "";
2665
+ const pathParams = {};
2666
+ const queryParams = {
2667
+ "compartmentId": listFleetErrorsRequest.compartmentId,
2668
+ "compartmentIdInSubtree": listFleetErrorsRequest.compartmentIdInSubtree,
2669
+ "fleetId": listFleetErrorsRequest.fleetId,
2670
+ "timeFirstSeenLessThanOrEqualTo": listFleetErrorsRequest.timeFirstSeenLessThanOrEqualTo,
2671
+ "timeFirstSeenGreaterThanOrEqualTo": listFleetErrorsRequest.timeFirstSeenGreaterThanOrEqualTo,
2672
+ "timeLastSeenLessThanOrEqualTo": listFleetErrorsRequest.timeLastSeenLessThanOrEqualTo,
2673
+ "timeLastSeenGreaterThanOrEqualTo": listFleetErrorsRequest.timeLastSeenGreaterThanOrEqualTo,
2674
+ "limit": listFleetErrorsRequest.limit,
2675
+ "page": listFleetErrorsRequest.page,
2676
+ "sortBy": listFleetErrorsRequest.sortBy,
2677
+ "sortOrder": listFleetErrorsRequest.sortOrder
2678
+ };
2679
+ let headerParams = {
2680
+ "Content-Type": common.Constants.APPLICATION_JSON,
2681
+ "opc-request-id": listFleetErrorsRequest.opcRequestId
2682
+ };
2683
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2684
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listFleetErrorsRequest.retryConfiguration, specRetryConfiguration);
2685
+ if (this.logger)
2686
+ retrier.logger = this.logger;
2687
+ const request = yield oci_common_1.composeRequest({
2688
+ baseEndpoint: this._endpoint,
2689
+ defaultHeaders: this._defaultHeaders,
2690
+ path: "/fleetErrors",
2691
+ method: "GET",
2692
+ pathParams: pathParams,
2693
+ headerParams: headerParams,
2694
+ queryParams: queryParams
2695
+ });
2696
+ try {
2697
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
2698
+ const sdkResponse = oci_common_1.composeResponse({
2699
+ responseObject: {},
2700
+ body: yield response.json(),
2701
+ bodyKey: "fleetErrorCollection",
2702
+ bodyModel: model.FleetErrorCollection,
2703
+ type: "model.FleetErrorCollection",
2704
+ responseHeaders: [
2705
+ {
2706
+ value: response.headers.get("opc-request-id"),
2707
+ key: "opcRequestId",
2708
+ dataType: "string"
2709
+ },
2710
+ {
2711
+ value: response.headers.get("opc-next-page"),
2712
+ key: "opcNextPage",
2713
+ dataType: "string"
2714
+ }
2715
+ ]
2716
+ });
2717
+ return sdkResponse;
2718
+ }
2719
+ catch (err) {
2720
+ throw err;
2721
+ }
2722
+ });
2723
+ }
2651
2724
  /**
2652
2725
  * Returns a list of all the Fleets contained by a compartment. The query parameter `compartmentId`
2653
2726
  * is required unless the query parameter `id` is specified.
@@ -3039,6 +3112,7 @@ class JavaManagementServiceClient {
3039
3112
  "agentId": listJmsPluginsRequest.agentId,
3040
3113
  "lifecycleState": listJmsPluginsRequest.lifecycleState,
3041
3114
  "availabilityStatus": listJmsPluginsRequest.availabilityStatus,
3115
+ "agentType": listJmsPluginsRequest.agentType,
3042
3116
  "timeRegisteredLessThanOrEqualTo": listJmsPluginsRequest.timeRegisteredLessThanOrEqualTo,
3043
3117
  "timeLastSeenLessThanOrEqualTo": listJmsPluginsRequest.timeLastSeenLessThanOrEqualTo,
3044
3118
  "limit": listJmsPluginsRequest.limit,
@@ -3184,6 +3258,7 @@ class JavaManagementServiceClient {
3184
3258
  const queryParams = {
3185
3259
  "managedInstanceId": listPerformanceTuningAnalysisResultsRequest.managedInstanceId,
3186
3260
  "applicationId": listPerformanceTuningAnalysisResultsRequest.applicationId,
3261
+ "applicationName": listPerformanceTuningAnalysisResultsRequest.applicationName,
3187
3262
  "hostName": listPerformanceTuningAnalysisResultsRequest.hostName,
3188
3263
  "timeStart": listPerformanceTuningAnalysisResultsRequest.timeStart,
3189
3264
  "timeEnd": listPerformanceTuningAnalysisResultsRequest.timeEnd,
@@ -3237,6 +3312,79 @@ class JavaManagementServiceClient {
3237
3312
  }
3238
3313
  });
3239
3314
  }
3315
+ /**
3316
+ * Returns a list of plugin errors that describe all detected errors.
3317
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
3318
+ * @param ListPluginErrorsRequest
3319
+ * @return ListPluginErrorsResponse
3320
+ * @throws OciError when an error occurs
3321
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jms/ListPluginErrors.ts.html |here} to see how to use ListPluginErrors API.
3322
+ */
3323
+ listPluginErrors(listPluginErrorsRequest) {
3324
+ return __awaiter(this, void 0, void 0, function* () {
3325
+ if (this.logger)
3326
+ this.logger.debug("Calling operation JavaManagementServiceClient#listPluginErrors.");
3327
+ const operationName = "listPluginErrors";
3328
+ const apiReferenceLink = "";
3329
+ const pathParams = {};
3330
+ const queryParams = {
3331
+ "compartmentId": listPluginErrorsRequest.compartmentId,
3332
+ "compartmentIdInSubtree": listPluginErrorsRequest.compartmentIdInSubtree,
3333
+ "managedInstanceId": listPluginErrorsRequest.managedInstanceId,
3334
+ "timeFirstSeenLessThanOrEqualTo": listPluginErrorsRequest.timeFirstSeenLessThanOrEqualTo,
3335
+ "timeFirstSeenGreaterThanOrEqualTo": listPluginErrorsRequest.timeFirstSeenGreaterThanOrEqualTo,
3336
+ "timeLastSeenLessThanOrEqualTo": listPluginErrorsRequest.timeLastSeenLessThanOrEqualTo,
3337
+ "timeLastSeenGreaterThanOrEqualTo": listPluginErrorsRequest.timeLastSeenGreaterThanOrEqualTo,
3338
+ "limit": listPluginErrorsRequest.limit,
3339
+ "page": listPluginErrorsRequest.page,
3340
+ "sortBy": listPluginErrorsRequest.sortBy,
3341
+ "sortOrder": listPluginErrorsRequest.sortOrder
3342
+ };
3343
+ let headerParams = {
3344
+ "Content-Type": common.Constants.APPLICATION_JSON,
3345
+ "opc-request-id": listPluginErrorsRequest.opcRequestId
3346
+ };
3347
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3348
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listPluginErrorsRequest.retryConfiguration, specRetryConfiguration);
3349
+ if (this.logger)
3350
+ retrier.logger = this.logger;
3351
+ const request = yield oci_common_1.composeRequest({
3352
+ baseEndpoint: this._endpoint,
3353
+ defaultHeaders: this._defaultHeaders,
3354
+ path: "/pluginErrors",
3355
+ method: "GET",
3356
+ pathParams: pathParams,
3357
+ headerParams: headerParams,
3358
+ queryParams: queryParams
3359
+ });
3360
+ try {
3361
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
3362
+ const sdkResponse = oci_common_1.composeResponse({
3363
+ responseObject: {},
3364
+ body: yield response.json(),
3365
+ bodyKey: "pluginErrorCollection",
3366
+ bodyModel: model.PluginErrorCollection,
3367
+ type: "model.PluginErrorCollection",
3368
+ responseHeaders: [
3369
+ {
3370
+ value: response.headers.get("opc-request-id"),
3371
+ key: "opcRequestId",
3372
+ dataType: "string"
3373
+ },
3374
+ {
3375
+ value: response.headers.get("opc-next-page"),
3376
+ key: "opcNextPage",
3377
+ dataType: "string"
3378
+ }
3379
+ ]
3380
+ });
3381
+ return sdkResponse;
3382
+ }
3383
+ catch (err) {
3384
+ throw err;
3385
+ }
3386
+ });
3387
+ }
3240
3388
  /**
3241
3389
  * Retrieve a paginated list of work items for a specified work request.
3242
3390
  *
@@ -4327,6 +4475,72 @@ class JavaManagementServiceClient {
4327
4475
  }
4328
4476
  });
4329
4477
  }
4478
+ /**
4479
+ * Returns a high level summary of FleetErrors.
4480
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
4481
+ * @param SummarizeFleetErrorsRequest
4482
+ * @return SummarizeFleetErrorsResponse
4483
+ * @throws OciError when an error occurs
4484
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jms/SummarizeFleetErrors.ts.html |here} to see how to use SummarizeFleetErrors API.
4485
+ */
4486
+ summarizeFleetErrors(summarizeFleetErrorsRequest) {
4487
+ return __awaiter(this, void 0, void 0, function* () {
4488
+ if (this.logger)
4489
+ this.logger.debug("Calling operation JavaManagementServiceClient#summarizeFleetErrors.");
4490
+ const operationName = "summarizeFleetErrors";
4491
+ const apiReferenceLink = "";
4492
+ const pathParams = {};
4493
+ const queryParams = {
4494
+ "compartmentId": summarizeFleetErrorsRequest.compartmentId,
4495
+ "compartmentIdInSubtree": summarizeFleetErrorsRequest.compartmentIdInSubtree,
4496
+ "limit": summarizeFleetErrorsRequest.limit,
4497
+ "page": summarizeFleetErrorsRequest.page
4498
+ };
4499
+ let headerParams = {
4500
+ "Content-Type": common.Constants.APPLICATION_JSON,
4501
+ "opc-request-id": summarizeFleetErrorsRequest.opcRequestId
4502
+ };
4503
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
4504
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeFleetErrorsRequest.retryConfiguration, specRetryConfiguration);
4505
+ if (this.logger)
4506
+ retrier.logger = this.logger;
4507
+ const request = yield oci_common_1.composeRequest({
4508
+ baseEndpoint: this._endpoint,
4509
+ defaultHeaders: this._defaultHeaders,
4510
+ path: "/fleetErrorAnalytics",
4511
+ method: "GET",
4512
+ pathParams: pathParams,
4513
+ headerParams: headerParams,
4514
+ queryParams: queryParams
4515
+ });
4516
+ try {
4517
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
4518
+ const sdkResponse = oci_common_1.composeResponse({
4519
+ responseObject: {},
4520
+ body: yield response.json(),
4521
+ bodyKey: "fleetErrorAggregationCollection",
4522
+ bodyModel: model.FleetErrorAggregationCollection,
4523
+ type: "model.FleetErrorAggregationCollection",
4524
+ responseHeaders: [
4525
+ {
4526
+ value: response.headers.get("opc-request-id"),
4527
+ key: "opcRequestId",
4528
+ dataType: "string"
4529
+ },
4530
+ {
4531
+ value: response.headers.get("opc-next-page"),
4532
+ key: "opcNextPage",
4533
+ dataType: "string"
4534
+ }
4535
+ ]
4536
+ });
4537
+ return sdkResponse;
4538
+ }
4539
+ catch (err) {
4540
+ throw err;
4541
+ }
4542
+ });
4543
+ }
4330
4544
  /**
4331
4545
  * List Java installation usage in a Fleet filtered by query parameters.
4332
4546
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
@@ -4798,6 +5012,72 @@ class JavaManagementServiceClient {
4798
5012
  }
4799
5013
  });
4800
5014
  }
5015
+ /**
5016
+ * Returns a high level summary of PluginErrors.
5017
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
5018
+ * @param SummarizePluginErrorsRequest
5019
+ * @return SummarizePluginErrorsResponse
5020
+ * @throws OciError when an error occurs
5021
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jms/SummarizePluginErrors.ts.html |here} to see how to use SummarizePluginErrors API.
5022
+ */
5023
+ summarizePluginErrors(summarizePluginErrorsRequest) {
5024
+ return __awaiter(this, void 0, void 0, function* () {
5025
+ if (this.logger)
5026
+ this.logger.debug("Calling operation JavaManagementServiceClient#summarizePluginErrors.");
5027
+ const operationName = "summarizePluginErrors";
5028
+ const apiReferenceLink = "";
5029
+ const pathParams = {};
5030
+ const queryParams = {
5031
+ "compartmentId": summarizePluginErrorsRequest.compartmentId,
5032
+ "compartmentIdInSubtree": summarizePluginErrorsRequest.compartmentIdInSubtree,
5033
+ "limit": summarizePluginErrorsRequest.limit,
5034
+ "page": summarizePluginErrorsRequest.page
5035
+ };
5036
+ let headerParams = {
5037
+ "Content-Type": common.Constants.APPLICATION_JSON,
5038
+ "opc-request-id": summarizePluginErrorsRequest.opcRequestId
5039
+ };
5040
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
5041
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizePluginErrorsRequest.retryConfiguration, specRetryConfiguration);
5042
+ if (this.logger)
5043
+ retrier.logger = this.logger;
5044
+ const request = yield oci_common_1.composeRequest({
5045
+ baseEndpoint: this._endpoint,
5046
+ defaultHeaders: this._defaultHeaders,
5047
+ path: "/pluginErrorAnalytics",
5048
+ method: "GET",
5049
+ pathParams: pathParams,
5050
+ headerParams: headerParams,
5051
+ queryParams: queryParams
5052
+ });
5053
+ try {
5054
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
5055
+ const sdkResponse = oci_common_1.composeResponse({
5056
+ responseObject: {},
5057
+ body: yield response.json(),
5058
+ bodyKey: "pluginErrorAggregationCollection",
5059
+ bodyModel: model.PluginErrorAggregationCollection,
5060
+ type: "model.PluginErrorAggregationCollection",
5061
+ responseHeaders: [
5062
+ {
5063
+ value: response.headers.get("opc-request-id"),
5064
+ key: "opcRequestId",
5065
+ dataType: "string"
5066
+ },
5067
+ {
5068
+ value: response.headers.get("opc-next-page"),
5069
+ key: "opcNextPage",
5070
+ dataType: "string"
5071
+ }
5072
+ ]
5073
+ });
5074
+ return sdkResponse;
5075
+ }
5076
+ catch (err) {
5077
+ throw err;
5078
+ }
5079
+ });
5080
+ }
4801
5081
  /**
4802
5082
  * Retrieve the inventory of JMS resources in the specified compartment: a list of the number of _active_ fleets, managed instances, Java Runtimes, Java installations, and applications.
4803
5083
  *
@@ -4816,6 +5096,7 @@ class JavaManagementServiceClient {
4816
5096
  const pathParams = {};
4817
5097
  const queryParams = {
4818
5098
  "compartmentId": summarizeResourceInventoryRequest.compartmentId,
5099
+ "compartmentIdInSubtree": summarizeResourceInventoryRequest.compartmentIdInSubtree,
4819
5100
  "timeStart": summarizeResourceInventoryRequest.timeStart,
4820
5101
  "timeEnd": summarizeResourceInventoryRequest.timeEnd
4821
5102
  };