oci-logging 2.3.1 → 2.5.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 (37) hide show
  1. package/LICENSE.txt +6 -0
  2. package/lib/client.d.ts +117 -32
  3. package/lib/client.js +137 -32
  4. package/lib/client.js.map +1 -1
  5. package/lib/request/change-log-group-compartment-request.d.ts +1 -1
  6. package/lib/request/change-log-log-group-request.d.ts +1 -1
  7. package/lib/request/change-log-saved-search-compartment-request.d.ts +1 -1
  8. package/lib/request/change-unified-agent-configuration-compartment-request.d.ts +1 -1
  9. package/lib/request/create-log-group-request.d.ts +1 -1
  10. package/lib/request/create-log-request.d.ts +1 -1
  11. package/lib/request/create-log-saved-search-request.d.ts +1 -1
  12. package/lib/request/create-unified-agent-configuration-request.d.ts +1 -1
  13. package/lib/request/delete-log-group-request.d.ts +1 -1
  14. package/lib/request/delete-log-request.d.ts +1 -1
  15. package/lib/request/delete-log-saved-search-request.d.ts +1 -1
  16. package/lib/request/delete-unified-agent-configuration-request.d.ts +1 -1
  17. package/lib/request/delete-work-request-request.d.ts +1 -1
  18. package/lib/request/get-log-group-request.d.ts +1 -1
  19. package/lib/request/get-log-included-search-request.d.ts +1 -1
  20. package/lib/request/get-log-request.d.ts +1 -1
  21. package/lib/request/get-log-saved-search-request.d.ts +1 -1
  22. package/lib/request/get-unified-agent-configuration-request.d.ts +1 -1
  23. package/lib/request/get-work-request-request.d.ts +1 -1
  24. package/lib/request/list-log-groups-request.d.ts +1 -1
  25. package/lib/request/list-log-included-searches-request.d.ts +1 -1
  26. package/lib/request/list-log-saved-searches-request.d.ts +1 -1
  27. package/lib/request/list-logs-request.d.ts +1 -1
  28. package/lib/request/list-services-request.d.ts +1 -1
  29. package/lib/request/list-unified-agent-configurations-request.d.ts +1 -1
  30. package/lib/request/list-work-request-errors-request.d.ts +1 -1
  31. package/lib/request/list-work-request-logs-request.d.ts +1 -1
  32. package/lib/request/list-work-requests-request.d.ts +1 -1
  33. package/lib/request/update-log-group-request.d.ts +1 -1
  34. package/lib/request/update-log-request.d.ts +1 -1
  35. package/lib/request/update-log-saved-search-request.d.ts +1 -1
  36. package/lib/request/update-unified-agent-configuration-request.d.ts +1 -1
  37. package/package.json +3 -3
package/lib/client.js CHANGED
@@ -142,7 +142,7 @@ class LoggingManagementClient {
142
142
  * @param ChangeLogGroupCompartmentRequest
143
143
  * @return ChangeLogGroupCompartmentResponse
144
144
  * @throws OciError when an error occurs
145
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/logging/ChangeLogGroupCompartment.ts.html |here} to see how to use ChangeLogGroupCompartment API.
145
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/logging/ChangeLogGroupCompartment.ts.html |here} to see how to use ChangeLogGroupCompartment API.
146
146
  */
147
147
  changeLogGroupCompartment(changeLogGroupCompartmentRequest) {
148
148
  return __awaiter(this, void 0, void 0, function* () {
@@ -200,7 +200,7 @@ class LoggingManagementClient {
200
200
  * @param ChangeLogLogGroupRequest
201
201
  * @return ChangeLogLogGroupResponse
202
202
  * @throws OciError when an error occurs
203
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/logging/ChangeLogLogGroup.ts.html |here} to see how to use ChangeLogLogGroup API.
203
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/logging/ChangeLogLogGroup.ts.html |here} to see how to use ChangeLogLogGroup API.
204
204
  */
205
205
  changeLogLogGroup(changeLogLogGroupRequest) {
206
206
  return __awaiter(this, void 0, void 0, function* () {
@@ -260,7 +260,7 @@ class LoggingManagementClient {
260
260
  * @param ChangeLogSavedSearchCompartmentRequest
261
261
  * @return ChangeLogSavedSearchCompartmentResponse
262
262
  * @throws OciError when an error occurs
263
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/logging/ChangeLogSavedSearchCompartment.ts.html |here} to see how to use ChangeLogSavedSearchCompartment API.
263
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/logging/ChangeLogSavedSearchCompartment.ts.html |here} to see how to use ChangeLogSavedSearchCompartment API.
264
264
  */
265
265
  changeLogSavedSearchCompartment(changeLogSavedSearchCompartmentRequest) {
266
266
  return __awaiter(this, void 0, void 0, function* () {
@@ -315,7 +315,7 @@ class LoggingManagementClient {
315
315
  * @param ChangeUnifiedAgentConfigurationCompartmentRequest
316
316
  * @return ChangeUnifiedAgentConfigurationCompartmentResponse
317
317
  * @throws OciError when an error occurs
318
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/logging/ChangeUnifiedAgentConfigurationCompartment.ts.html |here} to see how to use ChangeUnifiedAgentConfigurationCompartment API.
318
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/logging/ChangeUnifiedAgentConfigurationCompartment.ts.html |here} to see how to use ChangeUnifiedAgentConfigurationCompartment API.
319
319
  */
320
320
  changeUnifiedAgentConfigurationCompartment(changeUnifiedAgentConfigurationCompartmentRequest) {
321
321
  return __awaiter(this, void 0, void 0, function* () {
@@ -375,7 +375,7 @@ class LoggingManagementClient {
375
375
  * @param CreateLogRequest
376
376
  * @return CreateLogResponse
377
377
  * @throws OciError when an error occurs
378
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/logging/CreateLog.ts.html |here} to see how to use CreateLog API.
378
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/logging/CreateLog.ts.html |here} to see how to use CreateLog API.
379
379
  */
380
380
  createLog(createLogRequest) {
381
381
  return __awaiter(this, void 0, void 0, function* () {
@@ -434,7 +434,7 @@ class LoggingManagementClient {
434
434
  * @param CreateLogGroupRequest
435
435
  * @return CreateLogGroupResponse
436
436
  * @throws OciError when an error occurs
437
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/logging/CreateLogGroup.ts.html |here} to see how to use CreateLogGroup API.
437
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/logging/CreateLogGroup.ts.html |here} to see how to use CreateLogGroup API.
438
438
  */
439
439
  createLogGroup(createLogGroupRequest) {
440
440
  return __awaiter(this, void 0, void 0, function* () {
@@ -490,7 +490,7 @@ class LoggingManagementClient {
490
490
  * @param CreateLogSavedSearchRequest
491
491
  * @return CreateLogSavedSearchResponse
492
492
  * @throws OciError when an error occurs
493
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/logging/CreateLogSavedSearch.ts.html |here} to see how to use CreateLogSavedSearch API.
493
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/logging/CreateLogSavedSearch.ts.html |here} to see how to use CreateLogSavedSearch API.
494
494
  */
495
495
  createLogSavedSearch(createLogSavedSearchRequest) {
496
496
  return __awaiter(this, void 0, void 0, function* () {
@@ -549,7 +549,7 @@ class LoggingManagementClient {
549
549
  * @param CreateUnifiedAgentConfigurationRequest
550
550
  * @return CreateUnifiedAgentConfigurationResponse
551
551
  * @throws OciError when an error occurs
552
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/logging/CreateUnifiedAgentConfiguration.ts.html |here} to see how to use CreateUnifiedAgentConfiguration API.
552
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/logging/CreateUnifiedAgentConfiguration.ts.html |here} to see how to use CreateUnifiedAgentConfiguration API.
553
553
  */
554
554
  createUnifiedAgentConfiguration(createUnifiedAgentConfigurationRequest) {
555
555
  return __awaiter(this, void 0, void 0, function* () {
@@ -604,7 +604,7 @@ class LoggingManagementClient {
604
604
  * @param DeleteLogRequest
605
605
  * @return DeleteLogResponse
606
606
  * @throws OciError when an error occurs
607
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/logging/DeleteLog.ts.html |here} to see how to use DeleteLog API.
607
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/logging/DeleteLog.ts.html |here} to see how to use DeleteLog API.
608
608
  */
609
609
  deleteLog(deleteLogRequest) {
610
610
  return __awaiter(this, void 0, void 0, function* () {
@@ -661,7 +661,7 @@ class LoggingManagementClient {
661
661
  * @param DeleteLogGroupRequest
662
662
  * @return DeleteLogGroupResponse
663
663
  * @throws OciError when an error occurs
664
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/logging/DeleteLogGroup.ts.html |here} to see how to use DeleteLogGroup API.
664
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/logging/DeleteLogGroup.ts.html |here} to see how to use DeleteLogGroup API.
665
665
  */
666
666
  deleteLogGroup(deleteLogGroupRequest) {
667
667
  return __awaiter(this, void 0, void 0, function* () {
@@ -717,7 +717,7 @@ class LoggingManagementClient {
717
717
  * @param DeleteLogSavedSearchRequest
718
718
  * @return DeleteLogSavedSearchResponse
719
719
  * @throws OciError when an error occurs
720
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/logging/DeleteLogSavedSearch.ts.html |here} to see how to use DeleteLogSavedSearch API.
720
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/logging/DeleteLogSavedSearch.ts.html |here} to see how to use DeleteLogSavedSearch API.
721
721
  */
722
722
  deleteLogSavedSearch(deleteLogSavedSearchRequest) {
723
723
  return __awaiter(this, void 0, void 0, function* () {
@@ -768,7 +768,7 @@ class LoggingManagementClient {
768
768
  * @param DeleteUnifiedAgentConfigurationRequest
769
769
  * @return DeleteUnifiedAgentConfigurationResponse
770
770
  * @throws OciError when an error occurs
771
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/logging/DeleteUnifiedAgentConfiguration.ts.html |here} to see how to use DeleteUnifiedAgentConfiguration API.
771
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/logging/DeleteUnifiedAgentConfiguration.ts.html |here} to see how to use DeleteUnifiedAgentConfiguration API.
772
772
  */
773
773
  deleteUnifiedAgentConfiguration(deleteUnifiedAgentConfigurationRequest) {
774
774
  return __awaiter(this, void 0, void 0, function* () {
@@ -825,7 +825,7 @@ class LoggingManagementClient {
825
825
  * @param DeleteWorkRequestRequest
826
826
  * @return DeleteWorkRequestResponse
827
827
  * @throws OciError when an error occurs
828
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/logging/DeleteWorkRequest.ts.html |here} to see how to use DeleteWorkRequest API.
828
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/logging/DeleteWorkRequest.ts.html |here} to see how to use DeleteWorkRequest API.
829
829
  */
830
830
  deleteWorkRequest(deleteWorkRequestRequest) {
831
831
  return __awaiter(this, void 0, void 0, function* () {
@@ -882,7 +882,7 @@ class LoggingManagementClient {
882
882
  * @param GetLogRequest
883
883
  * @return GetLogResponse
884
884
  * @throws OciError when an error occurs
885
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/logging/GetLog.ts.html |here} to see how to use GetLog API.
885
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/logging/GetLog.ts.html |here} to see how to use GetLog API.
886
886
  */
887
887
  getLog(getLogRequest) {
888
888
  return __awaiter(this, void 0, void 0, function* () {
@@ -942,7 +942,7 @@ class LoggingManagementClient {
942
942
  * @param GetLogGroupRequest
943
943
  * @return GetLogGroupResponse
944
944
  * @throws OciError when an error occurs
945
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/logging/GetLogGroup.ts.html |here} to see how to use GetLogGroup API.
945
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/logging/GetLogGroup.ts.html |here} to see how to use GetLogGroup API.
946
946
  */
947
947
  getLogGroup(getLogGroupRequest) {
948
948
  return __awaiter(this, void 0, void 0, function* () {
@@ -1001,7 +1001,7 @@ class LoggingManagementClient {
1001
1001
  * @param GetLogIncludedSearchRequest
1002
1002
  * @return GetLogIncludedSearchResponse
1003
1003
  * @throws OciError when an error occurs
1004
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/logging/GetLogIncludedSearch.ts.html |here} to see how to use GetLogIncludedSearch API.
1004
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/logging/GetLogIncludedSearch.ts.html |here} to see how to use GetLogIncludedSearch API.
1005
1005
  */
1006
1006
  getLogIncludedSearch(getLogIncludedSearchRequest) {
1007
1007
  return __awaiter(this, void 0, void 0, function* () {
@@ -1062,7 +1062,7 @@ class LoggingManagementClient {
1062
1062
  * @param GetLogSavedSearchRequest
1063
1063
  * @return GetLogSavedSearchResponse
1064
1064
  * @throws OciError when an error occurs
1065
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/logging/GetLogSavedSearch.ts.html |here} to see how to use GetLogSavedSearch API.
1065
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/logging/GetLogSavedSearch.ts.html |here} to see how to use GetLogSavedSearch API.
1066
1066
  */
1067
1067
  getLogSavedSearch(getLogSavedSearchRequest) {
1068
1068
  return __awaiter(this, void 0, void 0, function* () {
@@ -1121,7 +1121,7 @@ class LoggingManagementClient {
1121
1121
  * @param GetUnifiedAgentConfigurationRequest
1122
1122
  * @return GetUnifiedAgentConfigurationResponse
1123
1123
  * @throws OciError when an error occurs
1124
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/logging/GetUnifiedAgentConfiguration.ts.html |here} to see how to use GetUnifiedAgentConfiguration API.
1124
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/logging/GetUnifiedAgentConfiguration.ts.html |here} to see how to use GetUnifiedAgentConfiguration API.
1125
1125
  */
1126
1126
  getUnifiedAgentConfiguration(getUnifiedAgentConfigurationRequest) {
1127
1127
  return __awaiter(this, void 0, void 0, function* () {
@@ -1180,7 +1180,7 @@ class LoggingManagementClient {
1180
1180
  * @param GetWorkRequestRequest
1181
1181
  * @return GetWorkRequestResponse
1182
1182
  * @throws OciError when an error occurs
1183
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/logging/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
1183
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/logging/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
1184
1184
  */
1185
1185
  getWorkRequest(getWorkRequestRequest) {
1186
1186
  return __awaiter(this, void 0, void 0, function* () {
@@ -1244,7 +1244,7 @@ class LoggingManagementClient {
1244
1244
  * @param ListLogGroupsRequest
1245
1245
  * @return ListLogGroupsResponse
1246
1246
  * @throws OciError when an error occurs
1247
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/logging/ListLogGroups.ts.html |here} to see how to use ListLogGroups API.
1247
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/logging/ListLogGroups.ts.html |here} to see how to use ListLogGroups API.
1248
1248
  */
1249
1249
  listLogGroups(listLogGroupsRequest) {
1250
1250
  return __awaiter(this, void 0, void 0, function* () {
@@ -1310,6 +1310,7 @@ class LoggingManagementClient {
1310
1310
  });
1311
1311
  }
1312
1312
  /**
1313
+ * NOTE: This function is deprecated in favor of listLogGroupsRecordIterator function.
1313
1314
  * Creates a new async iterator which will iterate over the models.LogGroupSummary objects
1314
1315
  * contained in responses from the listLogGroups operation. This iterator will fetch more data from the
1315
1316
  * server as needed.
@@ -1320,6 +1321,7 @@ class LoggingManagementClient {
1320
1321
  return oci_common_1.paginateRecords(request, req => this.listLogGroups(req));
1321
1322
  }
1322
1323
  /**
1324
+ * NOTE: This function is deprecated in favor of listLogGroupsResponseIterator function.
1323
1325
  * Creates a new async iterator which will iterate over the responses received from the listLogGroups operation. This iterator
1324
1326
  * will fetch more data from the server as needed.
1325
1327
  *
@@ -1328,13 +1330,32 @@ class LoggingManagementClient {
1328
1330
  listAllLogGroupsResponses(request) {
1329
1331
  return oci_common_1.paginateResponses(request, req => this.listLogGroups(req));
1330
1332
  }
1333
+ /**
1334
+ * Creates a new async iterator which will iterate over the models.LogGroupSummary objects
1335
+ * contained in responses from the listLogGroups operation. This iterator will fetch more data from the
1336
+ * server as needed.
1337
+ *
1338
+ * @param request a request which can be sent to the service operation
1339
+ */
1340
+ listLogGroupsRecordIterator(request) {
1341
+ return oci_common_1.paginateRecords(request, req => this.listLogGroups(req));
1342
+ }
1343
+ /**
1344
+ * Creates a new async iterator which will iterate over the responses received from the listLogGroups operation. This iterator
1345
+ * will fetch more data from the server as needed.
1346
+ *
1347
+ * @param request a request which can be sent to the service operation
1348
+ */
1349
+ listLogGroupsResponseIterator(request) {
1350
+ return oci_common_1.paginateResponses(request, req => this.listLogGroups(req));
1351
+ }
1331
1352
  /**
1332
1353
  * Lists Logging Included Searches for this compartment.
1333
1354
  *
1334
1355
  * @param ListLogIncludedSearchesRequest
1335
1356
  * @return ListLogIncludedSearchesResponse
1336
1357
  * @throws OciError when an error occurs
1337
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/logging/ListLogIncludedSearches.ts.html |here} to see how to use ListLogIncludedSearches API.
1358
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/logging/ListLogIncludedSearches.ts.html |here} to see how to use ListLogIncludedSearches API.
1338
1359
  */
1339
1360
  listLogIncludedSearches(listLogIncludedSearchesRequest) {
1340
1361
  return __awaiter(this, void 0, void 0, function* () {
@@ -1405,7 +1426,7 @@ class LoggingManagementClient {
1405
1426
  * @param ListLogSavedSearchesRequest
1406
1427
  * @return ListLogSavedSearchesResponse
1407
1428
  * @throws OciError when an error occurs
1408
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/logging/ListLogSavedSearches.ts.html |here} to see how to use ListLogSavedSearches API.
1429
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/logging/ListLogSavedSearches.ts.html |here} to see how to use ListLogSavedSearches API.
1409
1430
  */
1410
1431
  listLogSavedSearches(listLogSavedSearchesRequest) {
1411
1432
  return __awaiter(this, void 0, void 0, function* () {
@@ -1475,7 +1496,7 @@ class LoggingManagementClient {
1475
1496
  * @param ListLogsRequest
1476
1497
  * @return ListLogsResponse
1477
1498
  * @throws OciError when an error occurs
1478
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/logging/ListLogs.ts.html |here} to see how to use ListLogs API.
1499
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/logging/ListLogs.ts.html |here} to see how to use ListLogs API.
1479
1500
  */
1480
1501
  listLogs(listLogsRequest) {
1481
1502
  return __awaiter(this, void 0, void 0, function* () {
@@ -1545,6 +1566,7 @@ class LoggingManagementClient {
1545
1566
  });
1546
1567
  }
1547
1568
  /**
1569
+ * NOTE: This function is deprecated in favor of listLogsRecordIterator function.
1548
1570
  * Creates a new async iterator which will iterate over the models.LogSummary objects
1549
1571
  * contained in responses from the listLogs operation. This iterator will fetch more data from the
1550
1572
  * server as needed.
@@ -1555,6 +1577,7 @@ class LoggingManagementClient {
1555
1577
  return oci_common_1.paginateRecords(request, req => this.listLogs(req));
1556
1578
  }
1557
1579
  /**
1580
+ * NOTE: This function is deprecated in favor of listLogsResponseIterator function.
1558
1581
  * Creates a new async iterator which will iterate over the responses received from the listLogs operation. This iterator
1559
1582
  * will fetch more data from the server as needed.
1560
1583
  *
@@ -1563,12 +1586,31 @@ class LoggingManagementClient {
1563
1586
  listAllLogsResponses(request) {
1564
1587
  return oci_common_1.paginateResponses(request, req => this.listLogs(req));
1565
1588
  }
1589
+ /**
1590
+ * Creates a new async iterator which will iterate over the models.LogSummary objects
1591
+ * contained in responses from the listLogs operation. This iterator will fetch more data from the
1592
+ * server as needed.
1593
+ *
1594
+ * @param request a request which can be sent to the service operation
1595
+ */
1596
+ listLogsRecordIterator(request) {
1597
+ return oci_common_1.paginateRecords(request, req => this.listLogs(req));
1598
+ }
1599
+ /**
1600
+ * Creates a new async iterator which will iterate over the responses received from the listLogs operation. This iterator
1601
+ * will fetch more data from the server as needed.
1602
+ *
1603
+ * @param request a request which can be sent to the service operation
1604
+ */
1605
+ listLogsResponseIterator(request) {
1606
+ return oci_common_1.paginateResponses(request, req => this.listLogs(req));
1607
+ }
1566
1608
  /**
1567
1609
  * Lists all services that support logging.
1568
1610
  * @param ListServicesRequest
1569
1611
  * @return ListServicesResponse
1570
1612
  * @throws OciError when an error occurs
1571
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/logging/ListServices.ts.html |here} to see how to use ListServices API.
1613
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/logging/ListServices.ts.html |here} to see how to use ListServices API.
1572
1614
  */
1573
1615
  listServices(listServicesRequest) {
1574
1616
  return __awaiter(this, void 0, void 0, function* () {
@@ -1630,7 +1672,7 @@ class LoggingManagementClient {
1630
1672
  * @param ListUnifiedAgentConfigurationsRequest
1631
1673
  * @return ListUnifiedAgentConfigurationsResponse
1632
1674
  * @throws OciError when an error occurs
1633
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/logging/ListUnifiedAgentConfigurations.ts.html |here} to see how to use ListUnifiedAgentConfigurations API.
1675
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/logging/ListUnifiedAgentConfigurations.ts.html |here} to see how to use ListUnifiedAgentConfigurations API.
1634
1676
  */
1635
1677
  listUnifiedAgentConfigurations(listUnifiedAgentConfigurationsRequest) {
1636
1678
  return __awaiter(this, void 0, void 0, function* () {
@@ -1704,7 +1746,7 @@ class LoggingManagementClient {
1704
1746
  * @param ListWorkRequestErrorsRequest
1705
1747
  * @return ListWorkRequestErrorsResponse
1706
1748
  * @throws OciError when an error occurs
1707
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/logging/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
1749
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/logging/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
1708
1750
  */
1709
1751
  listWorkRequestErrors(listWorkRequestErrorsRequest) {
1710
1752
  return __awaiter(this, void 0, void 0, function* () {
@@ -1762,6 +1804,7 @@ class LoggingManagementClient {
1762
1804
  });
1763
1805
  }
1764
1806
  /**
1807
+ * NOTE: This function is deprecated in favor of listWorkRequestErrorsRecordIterator function.
1765
1808
  * Creates a new async iterator which will iterate over the models.WorkRequestError objects
1766
1809
  * contained in responses from the listWorkRequestErrors operation. This iterator will fetch more data from the
1767
1810
  * server as needed.
@@ -1772,6 +1815,7 @@ class LoggingManagementClient {
1772
1815
  return oci_common_1.paginateRecords(request, req => this.listWorkRequestErrors(req));
1773
1816
  }
1774
1817
  /**
1818
+ * NOTE: This function is deprecated in favor of listWorkRequestErrorsResponseIterator function.
1775
1819
  * Creates a new async iterator which will iterate over the responses received from the listWorkRequestErrors operation. This iterator
1776
1820
  * will fetch more data from the server as needed.
1777
1821
  *
@@ -1780,13 +1824,32 @@ class LoggingManagementClient {
1780
1824
  listAllWorkRequestErrorsResponses(request) {
1781
1825
  return oci_common_1.paginateResponses(request, req => this.listWorkRequestErrors(req));
1782
1826
  }
1827
+ /**
1828
+ * Creates a new async iterator which will iterate over the models.WorkRequestError objects
1829
+ * contained in responses from the listWorkRequestErrors operation. This iterator will fetch more data from the
1830
+ * server as needed.
1831
+ *
1832
+ * @param request a request which can be sent to the service operation
1833
+ */
1834
+ listWorkRequestErrorsRecordIterator(request) {
1835
+ return oci_common_1.paginateRecords(request, req => this.listWorkRequestErrors(req));
1836
+ }
1837
+ /**
1838
+ * Creates a new async iterator which will iterate over the responses received from the listWorkRequestErrors operation. This iterator
1839
+ * will fetch more data from the server as needed.
1840
+ *
1841
+ * @param request a request which can be sent to the service operation
1842
+ */
1843
+ listWorkRequestErrorsResponseIterator(request) {
1844
+ return oci_common_1.paginateResponses(request, req => this.listWorkRequestErrors(req));
1845
+ }
1783
1846
  /**
1784
1847
  * Return a list of logs for a given work request.
1785
1848
  *
1786
1849
  * @param ListWorkRequestLogsRequest
1787
1850
  * @return ListWorkRequestLogsResponse
1788
1851
  * @throws OciError when an error occurs
1789
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/logging/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
1852
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/logging/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
1790
1853
  */
1791
1854
  listWorkRequestLogs(listWorkRequestLogsRequest) {
1792
1855
  return __awaiter(this, void 0, void 0, function* () {
@@ -1844,6 +1907,7 @@ class LoggingManagementClient {
1844
1907
  });
1845
1908
  }
1846
1909
  /**
1910
+ * NOTE: This function is deprecated in favor of listWorkRequestLogsRecordIterator function.
1847
1911
  * Creates a new async iterator which will iterate over the models.WorkRequestLog objects
1848
1912
  * contained in responses from the listWorkRequestLogs operation. This iterator will fetch more data from the
1849
1913
  * server as needed.
@@ -1854,6 +1918,7 @@ class LoggingManagementClient {
1854
1918
  return oci_common_1.paginateRecords(request, req => this.listWorkRequestLogs(req));
1855
1919
  }
1856
1920
  /**
1921
+ * NOTE: This function is deprecated in favor of listWorkRequestLogsResponseIterator function.
1857
1922
  * Creates a new async iterator which will iterate over the responses received from the listWorkRequestLogs operation. This iterator
1858
1923
  * will fetch more data from the server as needed.
1859
1924
  *
@@ -1862,13 +1927,32 @@ class LoggingManagementClient {
1862
1927
  listAllWorkRequestLogsResponses(request) {
1863
1928
  return oci_common_1.paginateResponses(request, req => this.listWorkRequestLogs(req));
1864
1929
  }
1930
+ /**
1931
+ * Creates a new async iterator which will iterate over the models.WorkRequestLog objects
1932
+ * contained in responses from the listWorkRequestLogs operation. This iterator will fetch more data from the
1933
+ * server as needed.
1934
+ *
1935
+ * @param request a request which can be sent to the service operation
1936
+ */
1937
+ listWorkRequestLogsRecordIterator(request) {
1938
+ return oci_common_1.paginateRecords(request, req => this.listWorkRequestLogs(req));
1939
+ }
1940
+ /**
1941
+ * Creates a new async iterator which will iterate over the responses received from the listWorkRequestLogs operation. This iterator
1942
+ * will fetch more data from the server as needed.
1943
+ *
1944
+ * @param request a request which can be sent to the service operation
1945
+ */
1946
+ listWorkRequestLogsResponseIterator(request) {
1947
+ return oci_common_1.paginateResponses(request, req => this.listWorkRequestLogs(req));
1948
+ }
1865
1949
  /**
1866
1950
  * Lists the work requests in a compartment.
1867
1951
  *
1868
1952
  * @param ListWorkRequestsRequest
1869
1953
  * @return ListWorkRequestsResponse
1870
1954
  * @throws OciError when an error occurs
1871
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/logging/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
1955
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/logging/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
1872
1956
  */
1873
1957
  listWorkRequests(listWorkRequestsRequest) {
1874
1958
  return __awaiter(this, void 0, void 0, function* () {
@@ -1934,6 +2018,7 @@ class LoggingManagementClient {
1934
2018
  });
1935
2019
  }
1936
2020
  /**
2021
+ * NOTE: This function is deprecated in favor of listWorkRequestsRecordIterator function.
1937
2022
  * Creates a new async iterator which will iterate over the models.WorkRequestSummary objects
1938
2023
  * contained in responses from the listWorkRequests operation. This iterator will fetch more data from the
1939
2024
  * server as needed.
@@ -1944,6 +2029,7 @@ class LoggingManagementClient {
1944
2029
  return oci_common_1.paginateRecords(request, req => this.listWorkRequests(req));
1945
2030
  }
1946
2031
  /**
2032
+ * NOTE: This function is deprecated in favor of listWorkRequestsResponseIterator function.
1947
2033
  * Creates a new async iterator which will iterate over the responses received from the listWorkRequests operation. This iterator
1948
2034
  * will fetch more data from the server as needed.
1949
2035
  *
@@ -1952,6 +2038,25 @@ class LoggingManagementClient {
1952
2038
  listAllWorkRequestsResponses(request) {
1953
2039
  return oci_common_1.paginateResponses(request, req => this.listWorkRequests(req));
1954
2040
  }
2041
+ /**
2042
+ * Creates a new async iterator which will iterate over the models.WorkRequestSummary objects
2043
+ * contained in responses from the listWorkRequests operation. This iterator will fetch more data from the
2044
+ * server as needed.
2045
+ *
2046
+ * @param request a request which can be sent to the service operation
2047
+ */
2048
+ listWorkRequestsRecordIterator(request) {
2049
+ return oci_common_1.paginateRecords(request, req => this.listWorkRequests(req));
2050
+ }
2051
+ /**
2052
+ * Creates a new async iterator which will iterate over the responses received from the listWorkRequests operation. This iterator
2053
+ * will fetch more data from the server as needed.
2054
+ *
2055
+ * @param request a request which can be sent to the service operation
2056
+ */
2057
+ listWorkRequestsResponseIterator(request) {
2058
+ return oci_common_1.paginateResponses(request, req => this.listWorkRequests(req));
2059
+ }
1955
2060
  /**
1956
2061
  * Updates the existing log object with the associated configuration. This call
1957
2062
  * fails if the log object does not exist.
@@ -1959,7 +2064,7 @@ class LoggingManagementClient {
1959
2064
  * @param UpdateLogRequest
1960
2065
  * @return UpdateLogResponse
1961
2066
  * @throws OciError when an error occurs
1962
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/logging/UpdateLog.ts.html |here} to see how to use UpdateLog API.
2067
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/logging/UpdateLog.ts.html |here} to see how to use UpdateLog API.
1963
2068
  */
1964
2069
  updateLog(updateLogRequest) {
1965
2070
  return __awaiter(this, void 0, void 0, function* () {
@@ -2019,7 +2124,7 @@ class LoggingManagementClient {
2019
2124
  * @param UpdateLogGroupRequest
2020
2125
  * @return UpdateLogGroupResponse
2021
2126
  * @throws OciError when an error occurs
2022
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/logging/UpdateLogGroup.ts.html |here} to see how to use UpdateLogGroup API.
2127
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/logging/UpdateLogGroup.ts.html |here} to see how to use UpdateLogGroup API.
2023
2128
  */
2024
2129
  updateLogGroup(updateLogGroupRequest) {
2025
2130
  return __awaiter(this, void 0, void 0, function* () {
@@ -2077,7 +2182,7 @@ class LoggingManagementClient {
2077
2182
  * @param UpdateLogSavedSearchRequest
2078
2183
  * @return UpdateLogSavedSearchResponse
2079
2184
  * @throws OciError when an error occurs
2080
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/logging/UpdateLogSavedSearch.ts.html |here} to see how to use UpdateLogSavedSearch API.
2185
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/logging/UpdateLogSavedSearch.ts.html |here} to see how to use UpdateLogSavedSearch API.
2081
2186
  */
2082
2187
  updateLogSavedSearch(updateLogSavedSearchRequest) {
2083
2188
  return __awaiter(this, void 0, void 0, function* () {
@@ -2140,7 +2245,7 @@ class LoggingManagementClient {
2140
2245
  * @param UpdateUnifiedAgentConfigurationRequest
2141
2246
  * @return UpdateUnifiedAgentConfigurationResponse
2142
2247
  * @throws OciError when an error occurs
2143
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/logging/UpdateUnifiedAgentConfiguration.ts.html |here} to see how to use UpdateUnifiedAgentConfiguration API.
2248
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/logging/UpdateUnifiedAgentConfiguration.ts.html |here} to see how to use UpdateUnifiedAgentConfiguration API.
2144
2249
  */
2145
2250
  updateUnifiedAgentConfiguration(updateUnifiedAgentConfigurationRequest) {
2146
2251
  return __awaiter(this, void 0, void 0, function* () {