oci-logging 2.25.0 → 2.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client.d.ts +33 -32
- package/lib/client.js +129 -64
- package/lib/client.js.map +1 -1
- package/lib/model/source.js +2 -2
- package/lib/model/source.js.map +1 -1
- package/lib/model/unified-agent-logging-source.js +2 -2
- package/lib/model/unified-agent-logging-source.js.map +1 -1
- package/lib/model/unified-agent-parser.js +2 -2
- package/lib/model/unified-agent-parser.js.map +1 -1
- package/lib/model/unified-agent-service-configuration-details.js +2 -2
- package/lib/model/unified-agent-service-configuration-details.js.map +1 -1
- package/lib/request/change-log-group-compartment-request.d.ts +1 -1
- package/lib/request/change-log-log-group-request.d.ts +1 -1
- package/lib/request/change-log-saved-search-compartment-request.d.ts +1 -1
- package/lib/request/change-unified-agent-configuration-compartment-request.d.ts +1 -1
- package/lib/request/create-log-group-request.d.ts +1 -1
- package/lib/request/create-log-request.d.ts +1 -1
- package/lib/request/create-log-saved-search-request.d.ts +1 -1
- package/lib/request/create-unified-agent-configuration-request.d.ts +1 -1
- package/lib/request/delete-log-group-request.d.ts +1 -1
- package/lib/request/delete-log-request.d.ts +1 -1
- package/lib/request/delete-log-saved-search-request.d.ts +1 -1
- package/lib/request/delete-unified-agent-configuration-request.d.ts +1 -1
- package/lib/request/delete-work-request-request.d.ts +1 -1
- package/lib/request/get-log-group-request.d.ts +1 -1
- package/lib/request/get-log-included-search-request.d.ts +1 -1
- package/lib/request/get-log-request.d.ts +1 -1
- package/lib/request/get-log-saved-search-request.d.ts +1 -1
- package/lib/request/get-unified-agent-configuration-request.d.ts +1 -1
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/list-log-groups-request.d.ts +1 -1
- package/lib/request/list-log-included-searches-request.d.ts +1 -1
- package/lib/request/list-log-saved-searches-request.d.ts +1 -1
- package/lib/request/list-logs-request.d.ts +1 -1
- package/lib/request/list-services-request.d.ts +1 -1
- package/lib/request/list-unified-agent-configurations-request.d.ts +1 -1
- package/lib/request/list-work-request-errors-request.d.ts +1 -1
- package/lib/request/list-work-request-logs-request.d.ts +1 -1
- package/lib/request/list-work-requests-request.d.ts +1 -1
- package/lib/request/update-log-group-request.d.ts +1 -1
- package/lib/request/update-log-request.d.ts +1 -1
- package/lib/request/update-log-saved-search-request.d.ts +1 -1
- package/lib/request/update-unified-agent-configuration-request.d.ts +1 -1
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -61,6 +61,7 @@ class LoggingManagementClient {
|
|
|
61
61
|
this["_defaultHeaders"] = {};
|
|
62
62
|
this._circuitBreaker = null;
|
|
63
63
|
this._httpOptions = undefined;
|
|
64
|
+
this.targetService = "LoggingManagement";
|
|
64
65
|
const requestSigner = params.authenticationDetailsProvider
|
|
65
66
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
66
67
|
: null;
|
|
@@ -158,12 +159,14 @@ class LoggingManagementClient {
|
|
|
158
159
|
* @param ChangeLogGroupCompartmentRequest
|
|
159
160
|
* @return ChangeLogGroupCompartmentResponse
|
|
160
161
|
* @throws OciError when an error occurs
|
|
161
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
162
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/logging/ChangeLogGroupCompartment.ts.html |here} to see how to use ChangeLogGroupCompartment API.
|
|
162
163
|
*/
|
|
163
164
|
changeLogGroupCompartment(changeLogGroupCompartmentRequest) {
|
|
164
165
|
return __awaiter(this, void 0, void 0, function* () {
|
|
165
166
|
if (this.logger)
|
|
166
167
|
this.logger.debug("Calling operation LoggingManagementClient#changeLogGroupCompartment.");
|
|
168
|
+
const operationName = "changeLogGroupCompartment";
|
|
169
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/LogGroup/ChangeLogGroupCompartment";
|
|
167
170
|
const pathParams = {
|
|
168
171
|
"{logGroupId}": changeLogGroupCompartmentRequest.logGroupId
|
|
169
172
|
};
|
|
@@ -188,7 +191,7 @@ class LoggingManagementClient {
|
|
|
188
191
|
queryParams: queryParams
|
|
189
192
|
});
|
|
190
193
|
try {
|
|
191
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
194
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
192
195
|
const sdkResponse = oci_common_2.composeResponse({
|
|
193
196
|
responseObject: {},
|
|
194
197
|
responseHeaders: [
|
|
@@ -218,12 +221,14 @@ class LoggingManagementClient {
|
|
|
218
221
|
* @param ChangeLogLogGroupRequest
|
|
219
222
|
* @return ChangeLogLogGroupResponse
|
|
220
223
|
* @throws OciError when an error occurs
|
|
221
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
224
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/logging/ChangeLogLogGroup.ts.html |here} to see how to use ChangeLogLogGroup API.
|
|
222
225
|
*/
|
|
223
226
|
changeLogLogGroup(changeLogLogGroupRequest) {
|
|
224
227
|
return __awaiter(this, void 0, void 0, function* () {
|
|
225
228
|
if (this.logger)
|
|
226
229
|
this.logger.debug("Calling operation LoggingManagementClient#changeLogLogGroup.");
|
|
230
|
+
const operationName = "changeLogLogGroup";
|
|
231
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/Log/ChangeLogLogGroup";
|
|
227
232
|
const pathParams = {
|
|
228
233
|
"{logGroupId}": changeLogLogGroupRequest.logGroupId,
|
|
229
234
|
"{logId}": changeLogLogGroupRequest.logId
|
|
@@ -249,7 +254,7 @@ class LoggingManagementClient {
|
|
|
249
254
|
queryParams: queryParams
|
|
250
255
|
});
|
|
251
256
|
try {
|
|
252
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
257
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
253
258
|
const sdkResponse = oci_common_2.composeResponse({
|
|
254
259
|
responseObject: {},
|
|
255
260
|
responseHeaders: [
|
|
@@ -280,12 +285,14 @@ class LoggingManagementClient {
|
|
|
280
285
|
* @param ChangeLogSavedSearchCompartmentRequest
|
|
281
286
|
* @return ChangeLogSavedSearchCompartmentResponse
|
|
282
287
|
* @throws OciError when an error occurs
|
|
283
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
288
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/logging/ChangeLogSavedSearchCompartment.ts.html |here} to see how to use ChangeLogSavedSearchCompartment API.
|
|
284
289
|
*/
|
|
285
290
|
changeLogSavedSearchCompartment(changeLogSavedSearchCompartmentRequest) {
|
|
286
291
|
return __awaiter(this, void 0, void 0, function* () {
|
|
287
292
|
if (this.logger)
|
|
288
293
|
this.logger.debug("Calling operation LoggingManagementClient#changeLogSavedSearchCompartment.");
|
|
294
|
+
const operationName = "changeLogSavedSearchCompartment";
|
|
295
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/LogSavedSearch/ChangeLogSavedSearchCompartment";
|
|
289
296
|
const pathParams = {
|
|
290
297
|
"{logSavedSearchId}": changeLogSavedSearchCompartmentRequest.logSavedSearchId
|
|
291
298
|
};
|
|
@@ -311,7 +318,7 @@ class LoggingManagementClient {
|
|
|
311
318
|
queryParams: queryParams
|
|
312
319
|
});
|
|
313
320
|
try {
|
|
314
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
321
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
315
322
|
const sdkResponse = oci_common_2.composeResponse({
|
|
316
323
|
responseObject: {},
|
|
317
324
|
responseHeaders: [
|
|
@@ -337,12 +344,14 @@ class LoggingManagementClient {
|
|
|
337
344
|
* @param ChangeUnifiedAgentConfigurationCompartmentRequest
|
|
338
345
|
* @return ChangeUnifiedAgentConfigurationCompartmentResponse
|
|
339
346
|
* @throws OciError when an error occurs
|
|
340
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
347
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/logging/ChangeUnifiedAgentConfigurationCompartment.ts.html |here} to see how to use ChangeUnifiedAgentConfigurationCompartment API.
|
|
341
348
|
*/
|
|
342
349
|
changeUnifiedAgentConfigurationCompartment(changeUnifiedAgentConfigurationCompartmentRequest) {
|
|
343
350
|
return __awaiter(this, void 0, void 0, function* () {
|
|
344
351
|
if (this.logger)
|
|
345
352
|
this.logger.debug("Calling operation LoggingManagementClient#changeUnifiedAgentConfigurationCompartment.");
|
|
353
|
+
const operationName = "changeUnifiedAgentConfigurationCompartment";
|
|
354
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/UnifiedAgentConfiguration/ChangeUnifiedAgentConfigurationCompartment";
|
|
346
355
|
const pathParams = {
|
|
347
356
|
"{unifiedAgentConfigurationId}": changeUnifiedAgentConfigurationCompartmentRequest.unifiedAgentConfigurationId
|
|
348
357
|
};
|
|
@@ -368,7 +377,7 @@ class LoggingManagementClient {
|
|
|
368
377
|
queryParams: queryParams
|
|
369
378
|
});
|
|
370
379
|
try {
|
|
371
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
380
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
372
381
|
const sdkResponse = oci_common_2.composeResponse({
|
|
373
382
|
responseObject: {},
|
|
374
383
|
responseHeaders: [
|
|
@@ -399,12 +408,14 @@ class LoggingManagementClient {
|
|
|
399
408
|
* @param CreateLogRequest
|
|
400
409
|
* @return CreateLogResponse
|
|
401
410
|
* @throws OciError when an error occurs
|
|
402
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
411
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/logging/CreateLog.ts.html |here} to see how to use CreateLog API.
|
|
403
412
|
*/
|
|
404
413
|
createLog(createLogRequest) {
|
|
405
414
|
return __awaiter(this, void 0, void 0, function* () {
|
|
406
415
|
if (this.logger)
|
|
407
416
|
this.logger.debug("Calling operation LoggingManagementClient#createLog.");
|
|
417
|
+
const operationName = "createLog";
|
|
418
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/Log/CreateLog";
|
|
408
419
|
const pathParams = {
|
|
409
420
|
"{logGroupId}": createLogRequest.logGroupId
|
|
410
421
|
};
|
|
@@ -429,7 +440,7 @@ class LoggingManagementClient {
|
|
|
429
440
|
queryParams: queryParams
|
|
430
441
|
});
|
|
431
442
|
try {
|
|
432
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
443
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
433
444
|
const sdkResponse = oci_common_2.composeResponse({
|
|
434
445
|
responseObject: {},
|
|
435
446
|
responseHeaders: [
|
|
@@ -460,12 +471,14 @@ class LoggingManagementClient {
|
|
|
460
471
|
* @param CreateLogGroupRequest
|
|
461
472
|
* @return CreateLogGroupResponse
|
|
462
473
|
* @throws OciError when an error occurs
|
|
463
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
474
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/logging/CreateLogGroup.ts.html |here} to see how to use CreateLogGroup API.
|
|
464
475
|
*/
|
|
465
476
|
createLogGroup(createLogGroupRequest) {
|
|
466
477
|
return __awaiter(this, void 0, void 0, function* () {
|
|
467
478
|
if (this.logger)
|
|
468
479
|
this.logger.debug("Calling operation LoggingManagementClient#createLogGroup.");
|
|
480
|
+
const operationName = "createLogGroup";
|
|
481
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/LogGroup/CreateLogGroup";
|
|
469
482
|
const pathParams = {};
|
|
470
483
|
const queryParams = {};
|
|
471
484
|
let headerParams = {
|
|
@@ -488,7 +501,7 @@ class LoggingManagementClient {
|
|
|
488
501
|
queryParams: queryParams
|
|
489
502
|
});
|
|
490
503
|
try {
|
|
491
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
504
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
492
505
|
const sdkResponse = oci_common_2.composeResponse({
|
|
493
506
|
responseObject: {},
|
|
494
507
|
responseHeaders: [
|
|
@@ -518,12 +531,14 @@ class LoggingManagementClient {
|
|
|
518
531
|
* @param CreateLogSavedSearchRequest
|
|
519
532
|
* @return CreateLogSavedSearchResponse
|
|
520
533
|
* @throws OciError when an error occurs
|
|
521
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
534
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/logging/CreateLogSavedSearch.ts.html |here} to see how to use CreateLogSavedSearch API.
|
|
522
535
|
*/
|
|
523
536
|
createLogSavedSearch(createLogSavedSearchRequest) {
|
|
524
537
|
return __awaiter(this, void 0, void 0, function* () {
|
|
525
538
|
if (this.logger)
|
|
526
539
|
this.logger.debug("Calling operation LoggingManagementClient#createLogSavedSearch.");
|
|
540
|
+
const operationName = "createLogSavedSearch";
|
|
541
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/LogSavedSearch/CreateLogSavedSearch";
|
|
527
542
|
const pathParams = {};
|
|
528
543
|
const queryParams = {};
|
|
529
544
|
let headerParams = {
|
|
@@ -546,7 +561,7 @@ class LoggingManagementClient {
|
|
|
546
561
|
queryParams: queryParams
|
|
547
562
|
});
|
|
548
563
|
try {
|
|
549
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
564
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
550
565
|
const sdkResponse = oci_common_2.composeResponse({
|
|
551
566
|
responseObject: {},
|
|
552
567
|
body: yield response.json(),
|
|
@@ -579,12 +594,14 @@ class LoggingManagementClient {
|
|
|
579
594
|
* @param CreateUnifiedAgentConfigurationRequest
|
|
580
595
|
* @return CreateUnifiedAgentConfigurationResponse
|
|
581
596
|
* @throws OciError when an error occurs
|
|
582
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
597
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/logging/CreateUnifiedAgentConfiguration.ts.html |here} to see how to use CreateUnifiedAgentConfiguration API.
|
|
583
598
|
*/
|
|
584
599
|
createUnifiedAgentConfiguration(createUnifiedAgentConfigurationRequest) {
|
|
585
600
|
return __awaiter(this, void 0, void 0, function* () {
|
|
586
601
|
if (this.logger)
|
|
587
602
|
this.logger.debug("Calling operation LoggingManagementClient#createUnifiedAgentConfiguration.");
|
|
603
|
+
const operationName = "createUnifiedAgentConfiguration";
|
|
604
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/UnifiedAgentConfiguration/CreateUnifiedAgentConfiguration";
|
|
588
605
|
const pathParams = {};
|
|
589
606
|
const queryParams = {};
|
|
590
607
|
let headerParams = {
|
|
@@ -607,7 +624,7 @@ class LoggingManagementClient {
|
|
|
607
624
|
queryParams: queryParams
|
|
608
625
|
});
|
|
609
626
|
try {
|
|
610
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
627
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
611
628
|
const sdkResponse = oci_common_2.composeResponse({
|
|
612
629
|
responseObject: {},
|
|
613
630
|
responseHeaders: [
|
|
@@ -636,12 +653,14 @@ class LoggingManagementClient {
|
|
|
636
653
|
* @param DeleteLogRequest
|
|
637
654
|
* @return DeleteLogResponse
|
|
638
655
|
* @throws OciError when an error occurs
|
|
639
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
656
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/logging/DeleteLog.ts.html |here} to see how to use DeleteLog API.
|
|
640
657
|
*/
|
|
641
658
|
deleteLog(deleteLogRequest) {
|
|
642
659
|
return __awaiter(this, void 0, void 0, function* () {
|
|
643
660
|
if (this.logger)
|
|
644
661
|
this.logger.debug("Calling operation LoggingManagementClient#deleteLog.");
|
|
662
|
+
const operationName = "deleteLog";
|
|
663
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/Log/DeleteLog";
|
|
645
664
|
const pathParams = {
|
|
646
665
|
"{logGroupId}": deleteLogRequest.logGroupId,
|
|
647
666
|
"{logId}": deleteLogRequest.logId
|
|
@@ -666,7 +685,7 @@ class LoggingManagementClient {
|
|
|
666
685
|
queryParams: queryParams
|
|
667
686
|
});
|
|
668
687
|
try {
|
|
669
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
688
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
670
689
|
const sdkResponse = oci_common_2.composeResponse({
|
|
671
690
|
responseObject: {},
|
|
672
691
|
responseHeaders: [
|
|
@@ -695,12 +714,14 @@ class LoggingManagementClient {
|
|
|
695
714
|
* @param DeleteLogGroupRequest
|
|
696
715
|
* @return DeleteLogGroupResponse
|
|
697
716
|
* @throws OciError when an error occurs
|
|
698
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
717
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/logging/DeleteLogGroup.ts.html |here} to see how to use DeleteLogGroup API.
|
|
699
718
|
*/
|
|
700
719
|
deleteLogGroup(deleteLogGroupRequest) {
|
|
701
720
|
return __awaiter(this, void 0, void 0, function* () {
|
|
702
721
|
if (this.logger)
|
|
703
722
|
this.logger.debug("Calling operation LoggingManagementClient#deleteLogGroup.");
|
|
723
|
+
const operationName = "deleteLogGroup";
|
|
724
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/LogGroup/DeleteLogGroup";
|
|
704
725
|
const pathParams = {
|
|
705
726
|
"{logGroupId}": deleteLogGroupRequest.logGroupId
|
|
706
727
|
};
|
|
@@ -724,7 +745,7 @@ class LoggingManagementClient {
|
|
|
724
745
|
queryParams: queryParams
|
|
725
746
|
});
|
|
726
747
|
try {
|
|
727
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
748
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
728
749
|
const sdkResponse = oci_common_2.composeResponse({
|
|
729
750
|
responseObject: {},
|
|
730
751
|
responseHeaders: [
|
|
@@ -753,12 +774,14 @@ class LoggingManagementClient {
|
|
|
753
774
|
* @param DeleteLogSavedSearchRequest
|
|
754
775
|
* @return DeleteLogSavedSearchResponse
|
|
755
776
|
* @throws OciError when an error occurs
|
|
756
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
777
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/logging/DeleteLogSavedSearch.ts.html |here} to see how to use DeleteLogSavedSearch API.
|
|
757
778
|
*/
|
|
758
779
|
deleteLogSavedSearch(deleteLogSavedSearchRequest) {
|
|
759
780
|
return __awaiter(this, void 0, void 0, function* () {
|
|
760
781
|
if (this.logger)
|
|
761
782
|
this.logger.debug("Calling operation LoggingManagementClient#deleteLogSavedSearch.");
|
|
783
|
+
const operationName = "deleteLogSavedSearch";
|
|
784
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/LogSavedSearch/DeleteLogSavedSearch";
|
|
762
785
|
const pathParams = {
|
|
763
786
|
"{logSavedSearchId}": deleteLogSavedSearchRequest.logSavedSearchId
|
|
764
787
|
};
|
|
@@ -782,7 +805,7 @@ class LoggingManagementClient {
|
|
|
782
805
|
queryParams: queryParams
|
|
783
806
|
});
|
|
784
807
|
try {
|
|
785
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
808
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
786
809
|
const sdkResponse = oci_common_2.composeResponse({
|
|
787
810
|
responseObject: {},
|
|
788
811
|
responseHeaders: [
|
|
@@ -806,12 +829,14 @@ class LoggingManagementClient {
|
|
|
806
829
|
* @param DeleteUnifiedAgentConfigurationRequest
|
|
807
830
|
* @return DeleteUnifiedAgentConfigurationResponse
|
|
808
831
|
* @throws OciError when an error occurs
|
|
809
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
832
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/logging/DeleteUnifiedAgentConfiguration.ts.html |here} to see how to use DeleteUnifiedAgentConfiguration API.
|
|
810
833
|
*/
|
|
811
834
|
deleteUnifiedAgentConfiguration(deleteUnifiedAgentConfigurationRequest) {
|
|
812
835
|
return __awaiter(this, void 0, void 0, function* () {
|
|
813
836
|
if (this.logger)
|
|
814
837
|
this.logger.debug("Calling operation LoggingManagementClient#deleteUnifiedAgentConfiguration.");
|
|
838
|
+
const operationName = "deleteUnifiedAgentConfiguration";
|
|
839
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/UnifiedAgentConfiguration/DeleteUnifiedAgentConfiguration";
|
|
815
840
|
const pathParams = {
|
|
816
841
|
"{unifiedAgentConfigurationId}": deleteUnifiedAgentConfigurationRequest.unifiedAgentConfigurationId
|
|
817
842
|
};
|
|
@@ -835,7 +860,7 @@ class LoggingManagementClient {
|
|
|
835
860
|
queryParams: queryParams
|
|
836
861
|
});
|
|
837
862
|
try {
|
|
838
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
863
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
839
864
|
const sdkResponse = oci_common_2.composeResponse({
|
|
840
865
|
responseObject: {},
|
|
841
866
|
responseHeaders: [
|
|
@@ -865,12 +890,14 @@ class LoggingManagementClient {
|
|
|
865
890
|
* @param DeleteWorkRequestRequest
|
|
866
891
|
* @return DeleteWorkRequestResponse
|
|
867
892
|
* @throws OciError when an error occurs
|
|
868
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
893
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/logging/DeleteWorkRequest.ts.html |here} to see how to use DeleteWorkRequest API.
|
|
869
894
|
*/
|
|
870
895
|
deleteWorkRequest(deleteWorkRequestRequest) {
|
|
871
896
|
return __awaiter(this, void 0, void 0, function* () {
|
|
872
897
|
if (this.logger)
|
|
873
898
|
this.logger.debug("Calling operation LoggingManagementClient#deleteWorkRequest.");
|
|
899
|
+
const operationName = "deleteWorkRequest";
|
|
900
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/WorkRequest/DeleteWorkRequest";
|
|
874
901
|
const pathParams = {
|
|
875
902
|
"{workRequestId}": deleteWorkRequestRequest.workRequestId
|
|
876
903
|
};
|
|
@@ -894,7 +921,7 @@ class LoggingManagementClient {
|
|
|
894
921
|
queryParams: queryParams
|
|
895
922
|
});
|
|
896
923
|
try {
|
|
897
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
924
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
898
925
|
const sdkResponse = oci_common_2.composeResponse({
|
|
899
926
|
responseObject: {},
|
|
900
927
|
responseHeaders: [
|
|
@@ -924,12 +951,14 @@ class LoggingManagementClient {
|
|
|
924
951
|
* @param GetLogRequest
|
|
925
952
|
* @return GetLogResponse
|
|
926
953
|
* @throws OciError when an error occurs
|
|
927
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
954
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/logging/GetLog.ts.html |here} to see how to use GetLog API.
|
|
928
955
|
*/
|
|
929
956
|
getLog(getLogRequest) {
|
|
930
957
|
return __awaiter(this, void 0, void 0, function* () {
|
|
931
958
|
if (this.logger)
|
|
932
959
|
this.logger.debug("Calling operation LoggingManagementClient#getLog.");
|
|
960
|
+
const operationName = "getLog";
|
|
961
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/Log/GetLog";
|
|
933
962
|
const pathParams = {
|
|
934
963
|
"{logGroupId}": getLogRequest.logGroupId,
|
|
935
964
|
"{logId}": getLogRequest.logId
|
|
@@ -953,7 +982,7 @@ class LoggingManagementClient {
|
|
|
953
982
|
queryParams: queryParams
|
|
954
983
|
});
|
|
955
984
|
try {
|
|
956
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
985
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
957
986
|
const sdkResponse = oci_common_2.composeResponse({
|
|
958
987
|
responseObject: {},
|
|
959
988
|
body: yield response.json(),
|
|
@@ -986,12 +1015,14 @@ class LoggingManagementClient {
|
|
|
986
1015
|
* @param GetLogGroupRequest
|
|
987
1016
|
* @return GetLogGroupResponse
|
|
988
1017
|
* @throws OciError when an error occurs
|
|
989
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1018
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/logging/GetLogGroup.ts.html |here} to see how to use GetLogGroup API.
|
|
990
1019
|
*/
|
|
991
1020
|
getLogGroup(getLogGroupRequest) {
|
|
992
1021
|
return __awaiter(this, void 0, void 0, function* () {
|
|
993
1022
|
if (this.logger)
|
|
994
1023
|
this.logger.debug("Calling operation LoggingManagementClient#getLogGroup.");
|
|
1024
|
+
const operationName = "getLogGroup";
|
|
1025
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/LogGroup/GetLogGroup";
|
|
995
1026
|
const pathParams = {
|
|
996
1027
|
"{logGroupId}": getLogGroupRequest.logGroupId
|
|
997
1028
|
};
|
|
@@ -1014,7 +1045,7 @@ class LoggingManagementClient {
|
|
|
1014
1045
|
queryParams: queryParams
|
|
1015
1046
|
});
|
|
1016
1047
|
try {
|
|
1017
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1048
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1018
1049
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1019
1050
|
responseObject: {},
|
|
1020
1051
|
body: yield response.json(),
|
|
@@ -1047,12 +1078,14 @@ class LoggingManagementClient {
|
|
|
1047
1078
|
* @param GetLogIncludedSearchRequest
|
|
1048
1079
|
* @return GetLogIncludedSearchResponse
|
|
1049
1080
|
* @throws OciError when an error occurs
|
|
1050
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1081
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/logging/GetLogIncludedSearch.ts.html |here} to see how to use GetLogIncludedSearch API.
|
|
1051
1082
|
*/
|
|
1052
1083
|
getLogIncludedSearch(getLogIncludedSearchRequest) {
|
|
1053
1084
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1054
1085
|
if (this.logger)
|
|
1055
1086
|
this.logger.debug("Calling operation LoggingManagementClient#getLogIncludedSearch.");
|
|
1087
|
+
const operationName = "getLogIncludedSearch";
|
|
1088
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/LogIncludedSearch/GetLogIncludedSearch";
|
|
1056
1089
|
const pathParams = {
|
|
1057
1090
|
"{logIncludedSearchId}": getLogIncludedSearchRequest.logIncludedSearchId
|
|
1058
1091
|
};
|
|
@@ -1077,7 +1110,7 @@ class LoggingManagementClient {
|
|
|
1077
1110
|
queryParams: queryParams
|
|
1078
1111
|
});
|
|
1079
1112
|
try {
|
|
1080
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1113
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1081
1114
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1082
1115
|
responseObject: {},
|
|
1083
1116
|
body: yield response.json(),
|
|
@@ -1110,12 +1143,14 @@ class LoggingManagementClient {
|
|
|
1110
1143
|
* @param GetLogSavedSearchRequest
|
|
1111
1144
|
* @return GetLogSavedSearchResponse
|
|
1112
1145
|
* @throws OciError when an error occurs
|
|
1113
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1146
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/logging/GetLogSavedSearch.ts.html |here} to see how to use GetLogSavedSearch API.
|
|
1114
1147
|
*/
|
|
1115
1148
|
getLogSavedSearch(getLogSavedSearchRequest) {
|
|
1116
1149
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1117
1150
|
if (this.logger)
|
|
1118
1151
|
this.logger.debug("Calling operation LoggingManagementClient#getLogSavedSearch.");
|
|
1152
|
+
const operationName = "getLogSavedSearch";
|
|
1153
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/LogSavedSearch/GetLogSavedSearch";
|
|
1119
1154
|
const pathParams = {
|
|
1120
1155
|
"{logSavedSearchId}": getLogSavedSearchRequest.logSavedSearchId
|
|
1121
1156
|
};
|
|
@@ -1138,7 +1173,7 @@ class LoggingManagementClient {
|
|
|
1138
1173
|
queryParams: queryParams
|
|
1139
1174
|
});
|
|
1140
1175
|
try {
|
|
1141
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1176
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1142
1177
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1143
1178
|
responseObject: {},
|
|
1144
1179
|
body: yield response.json(),
|
|
@@ -1171,12 +1206,14 @@ class LoggingManagementClient {
|
|
|
1171
1206
|
* @param GetUnifiedAgentConfigurationRequest
|
|
1172
1207
|
* @return GetUnifiedAgentConfigurationResponse
|
|
1173
1208
|
* @throws OciError when an error occurs
|
|
1174
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1209
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/logging/GetUnifiedAgentConfiguration.ts.html |here} to see how to use GetUnifiedAgentConfiguration API.
|
|
1175
1210
|
*/
|
|
1176
1211
|
getUnifiedAgentConfiguration(getUnifiedAgentConfigurationRequest) {
|
|
1177
1212
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1178
1213
|
if (this.logger)
|
|
1179
1214
|
this.logger.debug("Calling operation LoggingManagementClient#getUnifiedAgentConfiguration.");
|
|
1215
|
+
const operationName = "getUnifiedAgentConfiguration";
|
|
1216
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/UnifiedAgentConfiguration/GetUnifiedAgentConfiguration";
|
|
1180
1217
|
const pathParams = {
|
|
1181
1218
|
"{unifiedAgentConfigurationId}": getUnifiedAgentConfigurationRequest.unifiedAgentConfigurationId
|
|
1182
1219
|
};
|
|
@@ -1199,7 +1236,7 @@ class LoggingManagementClient {
|
|
|
1199
1236
|
queryParams: queryParams
|
|
1200
1237
|
});
|
|
1201
1238
|
try {
|
|
1202
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1239
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1203
1240
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1204
1241
|
responseObject: {},
|
|
1205
1242
|
body: yield response.json(),
|
|
@@ -1232,12 +1269,14 @@ class LoggingManagementClient {
|
|
|
1232
1269
|
* @param GetWorkRequestRequest
|
|
1233
1270
|
* @return GetWorkRequestResponse
|
|
1234
1271
|
* @throws OciError when an error occurs
|
|
1235
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1272
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/logging/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
1236
1273
|
*/
|
|
1237
1274
|
getWorkRequest(getWorkRequestRequest) {
|
|
1238
1275
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1239
1276
|
if (this.logger)
|
|
1240
1277
|
this.logger.debug("Calling operation LoggingManagementClient#getWorkRequest.");
|
|
1278
|
+
const operationName = "getWorkRequest";
|
|
1279
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/WorkRequest/GetWorkRequest";
|
|
1241
1280
|
const pathParams = {
|
|
1242
1281
|
"{workRequestId}": getWorkRequestRequest.workRequestId
|
|
1243
1282
|
};
|
|
@@ -1260,7 +1299,7 @@ class LoggingManagementClient {
|
|
|
1260
1299
|
queryParams: queryParams
|
|
1261
1300
|
});
|
|
1262
1301
|
try {
|
|
1263
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1302
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1264
1303
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1265
1304
|
responseObject: {},
|
|
1266
1305
|
body: yield response.json(),
|
|
@@ -1298,12 +1337,14 @@ class LoggingManagementClient {
|
|
|
1298
1337
|
* @param ListLogGroupsRequest
|
|
1299
1338
|
* @return ListLogGroupsResponse
|
|
1300
1339
|
* @throws OciError when an error occurs
|
|
1301
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1340
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/logging/ListLogGroups.ts.html |here} to see how to use ListLogGroups API.
|
|
1302
1341
|
*/
|
|
1303
1342
|
listLogGroups(listLogGroupsRequest) {
|
|
1304
1343
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1305
1344
|
if (this.logger)
|
|
1306
1345
|
this.logger.debug("Calling operation LoggingManagementClient#listLogGroups.");
|
|
1346
|
+
const operationName = "listLogGroups";
|
|
1347
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/LogGroupSummary/ListLogGroups";
|
|
1307
1348
|
const pathParams = {};
|
|
1308
1349
|
const queryParams = {
|
|
1309
1350
|
"compartmentId": listLogGroupsRequest.compartmentId,
|
|
@@ -1332,7 +1373,7 @@ class LoggingManagementClient {
|
|
|
1332
1373
|
queryParams: queryParams
|
|
1333
1374
|
});
|
|
1334
1375
|
try {
|
|
1335
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1376
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1336
1377
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1337
1378
|
responseObject: {},
|
|
1338
1379
|
body: yield response.json(),
|
|
@@ -1411,12 +1452,14 @@ class LoggingManagementClient {
|
|
|
1411
1452
|
* @param ListLogIncludedSearchesRequest
|
|
1412
1453
|
* @return ListLogIncludedSearchesResponse
|
|
1413
1454
|
* @throws OciError when an error occurs
|
|
1414
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1455
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/logging/ListLogIncludedSearches.ts.html |here} to see how to use ListLogIncludedSearches API.
|
|
1415
1456
|
*/
|
|
1416
1457
|
listLogIncludedSearches(listLogIncludedSearchesRequest) {
|
|
1417
1458
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1418
1459
|
if (this.logger)
|
|
1419
1460
|
this.logger.debug("Calling operation LoggingManagementClient#listLogIncludedSearches.");
|
|
1461
|
+
const operationName = "listLogIncludedSearches";
|
|
1462
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/LogIncludedSearch/ListLogIncludedSearches";
|
|
1420
1463
|
const pathParams = {};
|
|
1421
1464
|
const queryParams = {
|
|
1422
1465
|
"compartmentId": listLogIncludedSearchesRequest.compartmentId,
|
|
@@ -1445,7 +1488,7 @@ class LoggingManagementClient {
|
|
|
1445
1488
|
queryParams: queryParams
|
|
1446
1489
|
});
|
|
1447
1490
|
try {
|
|
1448
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1491
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1449
1492
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1450
1493
|
responseObject: {},
|
|
1451
1494
|
body: yield response.json(),
|
|
@@ -1484,12 +1527,14 @@ class LoggingManagementClient {
|
|
|
1484
1527
|
* @param ListLogSavedSearchesRequest
|
|
1485
1528
|
* @return ListLogSavedSearchesResponse
|
|
1486
1529
|
* @throws OciError when an error occurs
|
|
1487
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1530
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/logging/ListLogSavedSearches.ts.html |here} to see how to use ListLogSavedSearches API.
|
|
1488
1531
|
*/
|
|
1489
1532
|
listLogSavedSearches(listLogSavedSearchesRequest) {
|
|
1490
1533
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1491
1534
|
if (this.logger)
|
|
1492
1535
|
this.logger.debug("Calling operation LoggingManagementClient#listLogSavedSearches.");
|
|
1536
|
+
const operationName = "listLogSavedSearches";
|
|
1537
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/LogSavedSearch/ListLogSavedSearches";
|
|
1493
1538
|
const pathParams = {};
|
|
1494
1539
|
const queryParams = {
|
|
1495
1540
|
"compartmentId": listLogSavedSearchesRequest.compartmentId,
|
|
@@ -1518,7 +1563,7 @@ class LoggingManagementClient {
|
|
|
1518
1563
|
queryParams: queryParams
|
|
1519
1564
|
});
|
|
1520
1565
|
try {
|
|
1521
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1566
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1522
1567
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1523
1568
|
responseObject: {},
|
|
1524
1569
|
body: yield response.json(),
|
|
@@ -1556,12 +1601,14 @@ class LoggingManagementClient {
|
|
|
1556
1601
|
* @param ListLogsRequest
|
|
1557
1602
|
* @return ListLogsResponse
|
|
1558
1603
|
* @throws OciError when an error occurs
|
|
1559
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1604
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/logging/ListLogs.ts.html |here} to see how to use ListLogs API.
|
|
1560
1605
|
*/
|
|
1561
1606
|
listLogs(listLogsRequest) {
|
|
1562
1607
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1563
1608
|
if (this.logger)
|
|
1564
1609
|
this.logger.debug("Calling operation LoggingManagementClient#listLogs.");
|
|
1610
|
+
const operationName = "listLogs";
|
|
1611
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/LogSummary/ListLogs";
|
|
1565
1612
|
const pathParams = {
|
|
1566
1613
|
"{logGroupId}": listLogsRequest.logGroupId
|
|
1567
1614
|
};
|
|
@@ -1594,7 +1641,7 @@ class LoggingManagementClient {
|
|
|
1594
1641
|
queryParams: queryParams
|
|
1595
1642
|
});
|
|
1596
1643
|
try {
|
|
1597
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1644
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1598
1645
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1599
1646
|
responseObject: {},
|
|
1600
1647
|
body: yield response.json(),
|
|
@@ -1672,12 +1719,14 @@ class LoggingManagementClient {
|
|
|
1672
1719
|
* @param ListServicesRequest
|
|
1673
1720
|
* @return ListServicesResponse
|
|
1674
1721
|
* @throws OciError when an error occurs
|
|
1675
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1722
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/logging/ListServices.ts.html |here} to see how to use ListServices API.
|
|
1676
1723
|
*/
|
|
1677
1724
|
listServices(listServicesRequest) {
|
|
1678
1725
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1679
1726
|
if (this.logger)
|
|
1680
1727
|
this.logger.debug("Calling operation LoggingManagementClient#listServices.");
|
|
1728
|
+
const operationName = "listServices";
|
|
1729
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/ServiceSummary/ListServices";
|
|
1681
1730
|
const pathParams = {};
|
|
1682
1731
|
const queryParams = {};
|
|
1683
1732
|
let headerParams = {
|
|
@@ -1698,7 +1747,7 @@ class LoggingManagementClient {
|
|
|
1698
1747
|
queryParams: queryParams
|
|
1699
1748
|
});
|
|
1700
1749
|
try {
|
|
1701
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1750
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1702
1751
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1703
1752
|
responseObject: {},
|
|
1704
1753
|
body: yield response.json(),
|
|
@@ -1736,12 +1785,14 @@ class LoggingManagementClient {
|
|
|
1736
1785
|
* @param ListUnifiedAgentConfigurationsRequest
|
|
1737
1786
|
* @return ListUnifiedAgentConfigurationsResponse
|
|
1738
1787
|
* @throws OciError when an error occurs
|
|
1739
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1788
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/logging/ListUnifiedAgentConfigurations.ts.html |here} to see how to use ListUnifiedAgentConfigurations API.
|
|
1740
1789
|
*/
|
|
1741
1790
|
listUnifiedAgentConfigurations(listUnifiedAgentConfigurationsRequest) {
|
|
1742
1791
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1743
1792
|
if (this.logger)
|
|
1744
1793
|
this.logger.debug("Calling operation LoggingManagementClient#listUnifiedAgentConfigurations.");
|
|
1794
|
+
const operationName = "listUnifiedAgentConfigurations";
|
|
1795
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/UnifiedAgentConfiguration/ListUnifiedAgentConfigurations";
|
|
1745
1796
|
const pathParams = {};
|
|
1746
1797
|
const queryParams = {
|
|
1747
1798
|
"compartmentId": listUnifiedAgentConfigurationsRequest.compartmentId,
|
|
@@ -1773,7 +1824,7 @@ class LoggingManagementClient {
|
|
|
1773
1824
|
queryParams: queryParams
|
|
1774
1825
|
});
|
|
1775
1826
|
try {
|
|
1776
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1827
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1777
1828
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1778
1829
|
responseObject: {},
|
|
1779
1830
|
body: yield response.json(),
|
|
@@ -1812,12 +1863,14 @@ class LoggingManagementClient {
|
|
|
1812
1863
|
* @param ListWorkRequestErrorsRequest
|
|
1813
1864
|
* @return ListWorkRequestErrorsResponse
|
|
1814
1865
|
* @throws OciError when an error occurs
|
|
1815
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1866
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/logging/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
1816
1867
|
*/
|
|
1817
1868
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
1818
1869
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1819
1870
|
if (this.logger)
|
|
1820
1871
|
this.logger.debug("Calling operation LoggingManagementClient#listWorkRequestErrors.");
|
|
1872
|
+
const operationName = "listWorkRequestErrors";
|
|
1873
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/WorkRequestError/ListWorkRequestErrors";
|
|
1821
1874
|
const pathParams = {
|
|
1822
1875
|
"{workRequestId}": listWorkRequestErrorsRequest.workRequestId
|
|
1823
1876
|
};
|
|
@@ -1843,7 +1896,7 @@ class LoggingManagementClient {
|
|
|
1843
1896
|
queryParams: queryParams
|
|
1844
1897
|
});
|
|
1845
1898
|
try {
|
|
1846
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1899
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1847
1900
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1848
1901
|
responseObject: {},
|
|
1849
1902
|
body: yield response.json(),
|
|
@@ -1917,12 +1970,14 @@ class LoggingManagementClient {
|
|
|
1917
1970
|
* @param ListWorkRequestLogsRequest
|
|
1918
1971
|
* @return ListWorkRequestLogsResponse
|
|
1919
1972
|
* @throws OciError when an error occurs
|
|
1920
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1973
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/logging/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
1921
1974
|
*/
|
|
1922
1975
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
1923
1976
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1924
1977
|
if (this.logger)
|
|
1925
1978
|
this.logger.debug("Calling operation LoggingManagementClient#listWorkRequestLogs.");
|
|
1979
|
+
const operationName = "listWorkRequestLogs";
|
|
1980
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/WorkRequestLog/ListWorkRequestLogs";
|
|
1926
1981
|
const pathParams = {
|
|
1927
1982
|
"{workRequestId}": listWorkRequestLogsRequest.workRequestId
|
|
1928
1983
|
};
|
|
@@ -1948,7 +2003,7 @@ class LoggingManagementClient {
|
|
|
1948
2003
|
queryParams: queryParams
|
|
1949
2004
|
});
|
|
1950
2005
|
try {
|
|
1951
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2006
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1952
2007
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1953
2008
|
responseObject: {},
|
|
1954
2009
|
body: yield response.json(),
|
|
@@ -2022,12 +2077,14 @@ class LoggingManagementClient {
|
|
|
2022
2077
|
* @param ListWorkRequestsRequest
|
|
2023
2078
|
* @return ListWorkRequestsResponse
|
|
2024
2079
|
* @throws OciError when an error occurs
|
|
2025
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2080
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/logging/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
2026
2081
|
*/
|
|
2027
2082
|
listWorkRequests(listWorkRequestsRequest) {
|
|
2028
2083
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2029
2084
|
if (this.logger)
|
|
2030
2085
|
this.logger.debug("Calling operation LoggingManagementClient#listWorkRequests.");
|
|
2086
|
+
const operationName = "listWorkRequests";
|
|
2087
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/WorkRequest/ListWorkRequests";
|
|
2031
2088
|
const pathParams = {};
|
|
2032
2089
|
const queryParams = {
|
|
2033
2090
|
"compartmentId": listWorkRequestsRequest.compartmentId,
|
|
@@ -2056,7 +2113,7 @@ class LoggingManagementClient {
|
|
|
2056
2113
|
queryParams: queryParams
|
|
2057
2114
|
});
|
|
2058
2115
|
try {
|
|
2059
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2116
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2060
2117
|
const sdkResponse = oci_common_2.composeResponse({
|
|
2061
2118
|
responseObject: {},
|
|
2062
2119
|
body: yield response.json(),
|
|
@@ -2136,12 +2193,14 @@ class LoggingManagementClient {
|
|
|
2136
2193
|
* @param UpdateLogRequest
|
|
2137
2194
|
* @return UpdateLogResponse
|
|
2138
2195
|
* @throws OciError when an error occurs
|
|
2139
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2196
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/logging/UpdateLog.ts.html |here} to see how to use UpdateLog API.
|
|
2140
2197
|
*/
|
|
2141
2198
|
updateLog(updateLogRequest) {
|
|
2142
2199
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2143
2200
|
if (this.logger)
|
|
2144
2201
|
this.logger.debug("Calling operation LoggingManagementClient#updateLog.");
|
|
2202
|
+
const operationName = "updateLog";
|
|
2203
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/Log/UpdateLog";
|
|
2145
2204
|
const pathParams = {
|
|
2146
2205
|
"{logGroupId}": updateLogRequest.logGroupId,
|
|
2147
2206
|
"{logId}": updateLogRequest.logId
|
|
@@ -2167,7 +2226,7 @@ class LoggingManagementClient {
|
|
|
2167
2226
|
queryParams: queryParams
|
|
2168
2227
|
});
|
|
2169
2228
|
try {
|
|
2170
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2229
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2171
2230
|
const sdkResponse = oci_common_2.composeResponse({
|
|
2172
2231
|
responseObject: {},
|
|
2173
2232
|
responseHeaders: [
|
|
@@ -2198,12 +2257,14 @@ class LoggingManagementClient {
|
|
|
2198
2257
|
* @param UpdateLogGroupRequest
|
|
2199
2258
|
* @return UpdateLogGroupResponse
|
|
2200
2259
|
* @throws OciError when an error occurs
|
|
2201
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2260
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/logging/UpdateLogGroup.ts.html |here} to see how to use UpdateLogGroup API.
|
|
2202
2261
|
*/
|
|
2203
2262
|
updateLogGroup(updateLogGroupRequest) {
|
|
2204
2263
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2205
2264
|
if (this.logger)
|
|
2206
2265
|
this.logger.debug("Calling operation LoggingManagementClient#updateLogGroup.");
|
|
2266
|
+
const operationName = "updateLogGroup";
|
|
2267
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/LogGroup/UpdateLogGroup";
|
|
2207
2268
|
const pathParams = {
|
|
2208
2269
|
"{logGroupId}": updateLogGroupRequest.logGroupId
|
|
2209
2270
|
};
|
|
@@ -2228,7 +2289,7 @@ class LoggingManagementClient {
|
|
|
2228
2289
|
queryParams: queryParams
|
|
2229
2290
|
});
|
|
2230
2291
|
try {
|
|
2231
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2292
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2232
2293
|
const sdkResponse = oci_common_2.composeResponse({
|
|
2233
2294
|
responseObject: {},
|
|
2234
2295
|
responseHeaders: [
|
|
@@ -2258,12 +2319,14 @@ class LoggingManagementClient {
|
|
|
2258
2319
|
* @param UpdateLogSavedSearchRequest
|
|
2259
2320
|
* @return UpdateLogSavedSearchResponse
|
|
2260
2321
|
* @throws OciError when an error occurs
|
|
2261
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2322
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/logging/UpdateLogSavedSearch.ts.html |here} to see how to use UpdateLogSavedSearch API.
|
|
2262
2323
|
*/
|
|
2263
2324
|
updateLogSavedSearch(updateLogSavedSearchRequest) {
|
|
2264
2325
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2265
2326
|
if (this.logger)
|
|
2266
2327
|
this.logger.debug("Calling operation LoggingManagementClient#updateLogSavedSearch.");
|
|
2328
|
+
const operationName = "updateLogSavedSearch";
|
|
2329
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/LogSavedSearch/UpdateLogSavedSearch";
|
|
2267
2330
|
const pathParams = {
|
|
2268
2331
|
"{logSavedSearchId}": updateLogSavedSearchRequest.logSavedSearchId
|
|
2269
2332
|
};
|
|
@@ -2288,7 +2351,7 @@ class LoggingManagementClient {
|
|
|
2288
2351
|
queryParams: queryParams
|
|
2289
2352
|
});
|
|
2290
2353
|
try {
|
|
2291
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2354
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2292
2355
|
const sdkResponse = oci_common_2.composeResponse({
|
|
2293
2356
|
responseObject: {},
|
|
2294
2357
|
body: yield response.json(),
|
|
@@ -2323,12 +2386,14 @@ class LoggingManagementClient {
|
|
|
2323
2386
|
* @param UpdateUnifiedAgentConfigurationRequest
|
|
2324
2387
|
* @return UpdateUnifiedAgentConfigurationResponse
|
|
2325
2388
|
* @throws OciError when an error occurs
|
|
2326
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2389
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/logging/UpdateUnifiedAgentConfiguration.ts.html |here} to see how to use UpdateUnifiedAgentConfiguration API.
|
|
2327
2390
|
*/
|
|
2328
2391
|
updateUnifiedAgentConfiguration(updateUnifiedAgentConfigurationRequest) {
|
|
2329
2392
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2330
2393
|
if (this.logger)
|
|
2331
2394
|
this.logger.debug("Calling operation LoggingManagementClient#updateUnifiedAgentConfiguration.");
|
|
2395
|
+
const operationName = "updateUnifiedAgentConfiguration";
|
|
2396
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/UnifiedAgentConfiguration/UpdateUnifiedAgentConfiguration";
|
|
2332
2397
|
const pathParams = {
|
|
2333
2398
|
"{unifiedAgentConfigurationId}": updateUnifiedAgentConfigurationRequest.unifiedAgentConfigurationId
|
|
2334
2399
|
};
|
|
@@ -2353,7 +2418,7 @@ class LoggingManagementClient {
|
|
|
2353
2418
|
queryParams: queryParams
|
|
2354
2419
|
});
|
|
2355
2420
|
try {
|
|
2356
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2421
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2357
2422
|
const sdkResponse = oci_common_2.composeResponse({
|
|
2358
2423
|
responseObject: {},
|
|
2359
2424
|
responseHeaders: [
|