oci-operatoraccesscontrol 2.79.1 → 2.80.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 +31 -27
- package/lib/client.js +147 -58
- package/lib/client.js.map +1 -1
- package/lib/request/approve-access-request-request.d.ts +1 -1
- package/lib/request/change-operator-control-assignment-compartment-request.d.ts +1 -1
- package/lib/request/change-operator-control-compartment-request.d.ts +1 -1
- package/lib/request/create-operator-control-assignment-request.d.ts +1 -1
- package/lib/request/create-operator-control-request.d.ts +1 -1
- package/lib/request/delete-operator-control-assignment-request.d.ts +1 -1
- package/lib/request/delete-operator-control-request.d.ts +1 -1
- package/lib/request/get-access-request-request.d.ts +1 -1
- package/lib/request/get-operator-action-request.d.ts +1 -1
- package/lib/request/get-operator-control-assignment-request.d.ts +1 -1
- package/lib/request/get-operator-control-request.d.ts +1 -1
- package/lib/request/interaction-request-request.d.ts +1 -1
- package/lib/request/list-access-request-histories-request.d.ts +1 -1
- package/lib/request/list-access-requests-request.d.ts +1 -1
- package/lib/request/list-interactions-request.d.ts +1 -1
- package/lib/request/list-operator-actions-request.d.ts +1 -1
- package/lib/request/list-operator-control-assignments-request.d.ts +1 -1
- package/lib/request/list-operator-controls-request.d.ts +1 -1
- package/lib/request/reject-access-request-request.d.ts +1 -1
- package/lib/request/review-access-request-request.d.ts +1 -1
- package/lib/request/revoke-access-request-request.d.ts +1 -1
- package/lib/request/update-operator-control-assignment-request.d.ts +1 -1
- package/lib/request/update-operator-control-request.d.ts +1 -1
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -63,7 +63,7 @@ var AccessRequestsApiKeys;
|
|
|
63
63
|
*/
|
|
64
64
|
class AccessRequestsClient {
|
|
65
65
|
constructor(params, clientConfiguration) {
|
|
66
|
-
this["_realmSpecificEndpointTemplateEnabled"] =
|
|
66
|
+
this["_realmSpecificEndpointTemplateEnabled"] = undefined;
|
|
67
67
|
this["_endpoint"] = "";
|
|
68
68
|
this["_defaultHeaders"] = {};
|
|
69
69
|
this._circuitBreaker = null;
|
|
@@ -122,7 +122,11 @@ class AccessRequestsClient {
|
|
|
122
122
|
set endpoint(endpoint) {
|
|
123
123
|
this._endpoint = endpoint;
|
|
124
124
|
this._endpoint = this._endpoint + "/20200630";
|
|
125
|
-
|
|
125
|
+
if (this.logger)
|
|
126
|
+
this.logger.info(`AccessRequestsClient endpoint set to ${this._endpoint}`);
|
|
127
|
+
}
|
|
128
|
+
get logger() {
|
|
129
|
+
return common.LOG.logger;
|
|
126
130
|
}
|
|
127
131
|
/**
|
|
128
132
|
* Determines whether realm specific endpoint should be used or not.
|
|
@@ -131,7 +135,8 @@ class AccessRequestsClient {
|
|
|
131
135
|
*/
|
|
132
136
|
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
|
|
133
137
|
this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
|
|
134
|
-
|
|
138
|
+
if (this.logger)
|
|
139
|
+
this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
135
140
|
if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
|
|
136
141
|
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(AccessRequestsClient.serviceEndpointTemplate, this._region, AccessRequestsClient.endpointServiceName);
|
|
137
142
|
}
|
|
@@ -198,11 +203,12 @@ class AccessRequestsClient {
|
|
|
198
203
|
* @param ApproveAccessRequestRequest
|
|
199
204
|
* @return ApproveAccessRequestResponse
|
|
200
205
|
* @throws OciError when an error occurs
|
|
201
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
206
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/operatoraccesscontrol/ApproveAccessRequest.ts.html |here} to see how to use ApproveAccessRequest API.
|
|
202
207
|
*/
|
|
203
208
|
approveAccessRequest(approveAccessRequestRequest) {
|
|
204
209
|
return __awaiter(this, void 0, void 0, function* () {
|
|
205
|
-
|
|
210
|
+
if (this.logger)
|
|
211
|
+
this.logger.debug("Calling operation AccessRequestsClient#approveAccessRequest.");
|
|
206
212
|
const operationName = "approveAccessRequest";
|
|
207
213
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/operatoraccesscontrol/20200630/AccessRequest/ApproveAccessRequest";
|
|
208
214
|
const pathParams = {
|
|
@@ -217,6 +223,8 @@ class AccessRequestsClient {
|
|
|
217
223
|
};
|
|
218
224
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
219
225
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, approveAccessRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
226
|
+
if (this.logger)
|
|
227
|
+
retrier.logger = this.logger;
|
|
220
228
|
const request = yield oci_common_1.composeRequest({
|
|
221
229
|
baseEndpoint: this._endpoint,
|
|
222
230
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -257,11 +265,12 @@ class AccessRequestsClient {
|
|
|
257
265
|
* @param GetAccessRequestRequest
|
|
258
266
|
* @return GetAccessRequestResponse
|
|
259
267
|
* @throws OciError when an error occurs
|
|
260
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
268
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/operatoraccesscontrol/GetAccessRequest.ts.html |here} to see how to use GetAccessRequest API.
|
|
261
269
|
*/
|
|
262
270
|
getAccessRequest(getAccessRequestRequest) {
|
|
263
271
|
return __awaiter(this, void 0, void 0, function* () {
|
|
264
|
-
|
|
272
|
+
if (this.logger)
|
|
273
|
+
this.logger.debug("Calling operation AccessRequestsClient#getAccessRequest.");
|
|
265
274
|
const operationName = "getAccessRequest";
|
|
266
275
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/operatoraccesscontrol/20200630/AccessRequest/GetAccessRequest";
|
|
267
276
|
const pathParams = {
|
|
@@ -274,6 +283,8 @@ class AccessRequestsClient {
|
|
|
274
283
|
};
|
|
275
284
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
276
285
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getAccessRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
286
|
+
if (this.logger)
|
|
287
|
+
retrier.logger = this.logger;
|
|
277
288
|
const request = yield oci_common_1.composeRequest({
|
|
278
289
|
baseEndpoint: this._endpoint,
|
|
279
290
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -313,11 +324,12 @@ class AccessRequestsClient {
|
|
|
313
324
|
* @param InteractionRequestRequest
|
|
314
325
|
* @return InteractionRequestResponse
|
|
315
326
|
* @throws OciError when an error occurs
|
|
316
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
327
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/operatoraccesscontrol/InteractionRequest.ts.html |here} to see how to use InteractionRequest API.
|
|
317
328
|
*/
|
|
318
329
|
interactionRequest(interactionRequestRequest) {
|
|
319
330
|
return __awaiter(this, void 0, void 0, function* () {
|
|
320
|
-
|
|
331
|
+
if (this.logger)
|
|
332
|
+
this.logger.debug("Calling operation AccessRequestsClient#interactionRequest.");
|
|
321
333
|
const operationName = "interactionRequest";
|
|
322
334
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/operatoraccesscontrol/20200630/AccessRequest/InteractionRequest";
|
|
323
335
|
const pathParams = {
|
|
@@ -332,6 +344,8 @@ class AccessRequestsClient {
|
|
|
332
344
|
};
|
|
333
345
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
334
346
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, interactionRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
347
|
+
if (this.logger)
|
|
348
|
+
retrier.logger = this.logger;
|
|
335
349
|
const request = yield oci_common_1.composeRequest({
|
|
336
350
|
baseEndpoint: this._endpoint,
|
|
337
351
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -377,11 +391,12 @@ class AccessRequestsClient {
|
|
|
377
391
|
* @param ListAccessRequestHistoriesRequest
|
|
378
392
|
* @return ListAccessRequestHistoriesResponse
|
|
379
393
|
* @throws OciError when an error occurs
|
|
380
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
394
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/operatoraccesscontrol/ListAccessRequestHistories.ts.html |here} to see how to use ListAccessRequestHistories API.
|
|
381
395
|
*/
|
|
382
396
|
listAccessRequestHistories(listAccessRequestHistoriesRequest) {
|
|
383
397
|
return __awaiter(this, void 0, void 0, function* () {
|
|
384
|
-
|
|
398
|
+
if (this.logger)
|
|
399
|
+
this.logger.debug("Calling operation AccessRequestsClient#listAccessRequestHistories.");
|
|
385
400
|
const operationName = "listAccessRequestHistories";
|
|
386
401
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/operatoraccesscontrol/20200630/AccessRequest/ListAccessRequestHistories";
|
|
387
402
|
const pathParams = {
|
|
@@ -397,6 +412,8 @@ class AccessRequestsClient {
|
|
|
397
412
|
};
|
|
398
413
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
399
414
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAccessRequestHistoriesRequest.retryConfiguration, specRetryConfiguration);
|
|
415
|
+
if (this.logger)
|
|
416
|
+
retrier.logger = this.logger;
|
|
400
417
|
const request = yield oci_common_1.composeRequest({
|
|
401
418
|
baseEndpoint: this._endpoint,
|
|
402
419
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -441,11 +458,12 @@ class AccessRequestsClient {
|
|
|
441
458
|
* @param ListAccessRequestsRequest
|
|
442
459
|
* @return ListAccessRequestsResponse
|
|
443
460
|
* @throws OciError when an error occurs
|
|
444
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
461
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/operatoraccesscontrol/ListAccessRequests.ts.html |here} to see how to use ListAccessRequests API.
|
|
445
462
|
*/
|
|
446
463
|
listAccessRequests(listAccessRequestsRequest) {
|
|
447
464
|
return __awaiter(this, void 0, void 0, function* () {
|
|
448
|
-
|
|
465
|
+
if (this.logger)
|
|
466
|
+
this.logger.debug("Calling operation AccessRequestsClient#listAccessRequests.");
|
|
449
467
|
const operationName = "listAccessRequests";
|
|
450
468
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/operatoraccesscontrol/20200630/AccessRequest/ListAccessRequests";
|
|
451
469
|
const pathParams = {};
|
|
@@ -467,6 +485,8 @@ class AccessRequestsClient {
|
|
|
467
485
|
};
|
|
468
486
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
469
487
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAccessRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
488
|
+
if (this.logger)
|
|
489
|
+
retrier.logger = this.logger;
|
|
470
490
|
const request = yield oci_common_1.composeRequest({
|
|
471
491
|
baseEndpoint: this._endpoint,
|
|
472
492
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -511,11 +531,12 @@ class AccessRequestsClient {
|
|
|
511
531
|
* @param ListInteractionsRequest
|
|
512
532
|
* @return ListInteractionsResponse
|
|
513
533
|
* @throws OciError when an error occurs
|
|
514
|
-
* @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.80.0/operatoraccesscontrol/ListInteractions.ts.html |here} to see how to use ListInteractions API.
|
|
515
535
|
*/
|
|
516
536
|
listInteractions(listInteractionsRequest) {
|
|
517
537
|
return __awaiter(this, void 0, void 0, function* () {
|
|
518
|
-
|
|
538
|
+
if (this.logger)
|
|
539
|
+
this.logger.debug("Calling operation AccessRequestsClient#listInteractions.");
|
|
519
540
|
const operationName = "listInteractions";
|
|
520
541
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/operatoraccesscontrol/20200630/AccessRequest/ListInteractions";
|
|
521
542
|
const pathParams = {
|
|
@@ -531,6 +552,8 @@ class AccessRequestsClient {
|
|
|
531
552
|
};
|
|
532
553
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
533
554
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listInteractionsRequest.retryConfiguration, specRetryConfiguration);
|
|
555
|
+
if (this.logger)
|
|
556
|
+
retrier.logger = this.logger;
|
|
534
557
|
const request = yield oci_common_1.composeRequest({
|
|
535
558
|
baseEndpoint: this._endpoint,
|
|
536
559
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -575,11 +598,12 @@ class AccessRequestsClient {
|
|
|
575
598
|
* @param RejectAccessRequestRequest
|
|
576
599
|
* @return RejectAccessRequestResponse
|
|
577
600
|
* @throws OciError when an error occurs
|
|
578
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
601
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/operatoraccesscontrol/RejectAccessRequest.ts.html |here} to see how to use RejectAccessRequest API.
|
|
579
602
|
*/
|
|
580
603
|
rejectAccessRequest(rejectAccessRequestRequest) {
|
|
581
604
|
return __awaiter(this, void 0, void 0, function* () {
|
|
582
|
-
|
|
605
|
+
if (this.logger)
|
|
606
|
+
this.logger.debug("Calling operation AccessRequestsClient#rejectAccessRequest.");
|
|
583
607
|
const operationName = "rejectAccessRequest";
|
|
584
608
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/operatoraccesscontrol/20200630/AccessRequest/RejectAccessRequest";
|
|
585
609
|
const pathParams = {
|
|
@@ -594,6 +618,8 @@ class AccessRequestsClient {
|
|
|
594
618
|
};
|
|
595
619
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
596
620
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, rejectAccessRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
621
|
+
if (this.logger)
|
|
622
|
+
retrier.logger = this.logger;
|
|
597
623
|
const request = yield oci_common_1.composeRequest({
|
|
598
624
|
baseEndpoint: this._endpoint,
|
|
599
625
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -635,11 +661,12 @@ class AccessRequestsClient {
|
|
|
635
661
|
* @param ReviewAccessRequestRequest
|
|
636
662
|
* @return ReviewAccessRequestResponse
|
|
637
663
|
* @throws OciError when an error occurs
|
|
638
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
664
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/operatoraccesscontrol/ReviewAccessRequest.ts.html |here} to see how to use ReviewAccessRequest API.
|
|
639
665
|
*/
|
|
640
666
|
reviewAccessRequest(reviewAccessRequestRequest) {
|
|
641
667
|
return __awaiter(this, void 0, void 0, function* () {
|
|
642
|
-
|
|
668
|
+
if (this.logger)
|
|
669
|
+
this.logger.debug("Calling operation AccessRequestsClient#reviewAccessRequest.");
|
|
643
670
|
const operationName = "reviewAccessRequest";
|
|
644
671
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/operatoraccesscontrol/20200630/AccessRequest/ReviewAccessRequest";
|
|
645
672
|
const pathParams = {
|
|
@@ -654,6 +681,8 @@ class AccessRequestsClient {
|
|
|
654
681
|
};
|
|
655
682
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
656
683
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, reviewAccessRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
684
|
+
if (this.logger)
|
|
685
|
+
retrier.logger = this.logger;
|
|
657
686
|
const request = yield oci_common_1.composeRequest({
|
|
658
687
|
baseEndpoint: this._endpoint,
|
|
659
688
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -699,11 +728,12 @@ class AccessRequestsClient {
|
|
|
699
728
|
* @param RevokeAccessRequestRequest
|
|
700
729
|
* @return RevokeAccessRequestResponse
|
|
701
730
|
* @throws OciError when an error occurs
|
|
702
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
731
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/operatoraccesscontrol/RevokeAccessRequest.ts.html |here} to see how to use RevokeAccessRequest API.
|
|
703
732
|
*/
|
|
704
733
|
revokeAccessRequest(revokeAccessRequestRequest) {
|
|
705
734
|
return __awaiter(this, void 0, void 0, function* () {
|
|
706
|
-
|
|
735
|
+
if (this.logger)
|
|
736
|
+
this.logger.debug("Calling operation AccessRequestsClient#revokeAccessRequest.");
|
|
707
737
|
const operationName = "revokeAccessRequest";
|
|
708
738
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/operatoraccesscontrol/20200630/AccessRequest/RevokeAccessRequest";
|
|
709
739
|
const pathParams = {
|
|
@@ -718,6 +748,8 @@ class AccessRequestsClient {
|
|
|
718
748
|
};
|
|
719
749
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
720
750
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, revokeAccessRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
751
|
+
if (this.logger)
|
|
752
|
+
retrier.logger = this.logger;
|
|
721
753
|
const request = yield oci_common_1.composeRequest({
|
|
722
754
|
baseEndpoint: this._endpoint,
|
|
723
755
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -764,7 +796,7 @@ var OperatorActionsApiKeys;
|
|
|
764
796
|
*/
|
|
765
797
|
class OperatorActionsClient {
|
|
766
798
|
constructor(params, clientConfiguration) {
|
|
767
|
-
this["_realmSpecificEndpointTemplateEnabled"] =
|
|
799
|
+
this["_realmSpecificEndpointTemplateEnabled"] = undefined;
|
|
768
800
|
this["_endpoint"] = "";
|
|
769
801
|
this["_defaultHeaders"] = {};
|
|
770
802
|
this._circuitBreaker = null;
|
|
@@ -823,7 +855,11 @@ class OperatorActionsClient {
|
|
|
823
855
|
set endpoint(endpoint) {
|
|
824
856
|
this._endpoint = endpoint;
|
|
825
857
|
this._endpoint = this._endpoint + "/20200630";
|
|
826
|
-
|
|
858
|
+
if (this.logger)
|
|
859
|
+
this.logger.info(`OperatorActionsClient endpoint set to ${this._endpoint}`);
|
|
860
|
+
}
|
|
861
|
+
get logger() {
|
|
862
|
+
return common.LOG.logger;
|
|
827
863
|
}
|
|
828
864
|
/**
|
|
829
865
|
* Determines whether realm specific endpoint should be used or not.
|
|
@@ -832,7 +868,8 @@ class OperatorActionsClient {
|
|
|
832
868
|
*/
|
|
833
869
|
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
|
|
834
870
|
this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
|
|
835
|
-
|
|
871
|
+
if (this.logger)
|
|
872
|
+
this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
836
873
|
if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
|
|
837
874
|
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(OperatorActionsClient.serviceEndpointTemplate, this._region, OperatorActionsClient.endpointServiceName);
|
|
838
875
|
}
|
|
@@ -877,11 +914,12 @@ class OperatorActionsClient {
|
|
|
877
914
|
* @param GetOperatorActionRequest
|
|
878
915
|
* @return GetOperatorActionResponse
|
|
879
916
|
* @throws OciError when an error occurs
|
|
880
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
917
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/operatoraccesscontrol/GetOperatorAction.ts.html |here} to see how to use GetOperatorAction API.
|
|
881
918
|
*/
|
|
882
919
|
getOperatorAction(getOperatorActionRequest) {
|
|
883
920
|
return __awaiter(this, void 0, void 0, function* () {
|
|
884
|
-
|
|
921
|
+
if (this.logger)
|
|
922
|
+
this.logger.debug("Calling operation OperatorActionsClient#getOperatorAction.");
|
|
885
923
|
const operationName = "getOperatorAction";
|
|
886
924
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/operatoraccesscontrol/20200630/OperatorAction/GetOperatorAction";
|
|
887
925
|
const pathParams = {
|
|
@@ -894,6 +932,8 @@ class OperatorActionsClient {
|
|
|
894
932
|
};
|
|
895
933
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
896
934
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getOperatorActionRequest.retryConfiguration, specRetryConfiguration);
|
|
935
|
+
if (this.logger)
|
|
936
|
+
retrier.logger = this.logger;
|
|
897
937
|
const request = yield oci_common_1.composeRequest({
|
|
898
938
|
baseEndpoint: this._endpoint,
|
|
899
939
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -933,11 +973,12 @@ class OperatorActionsClient {
|
|
|
933
973
|
* @param ListOperatorActionsRequest
|
|
934
974
|
* @return ListOperatorActionsResponse
|
|
935
975
|
* @throws OciError when an error occurs
|
|
936
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
976
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/operatoraccesscontrol/ListOperatorActions.ts.html |here} to see how to use ListOperatorActions API.
|
|
937
977
|
*/
|
|
938
978
|
listOperatorActions(listOperatorActionsRequest) {
|
|
939
979
|
return __awaiter(this, void 0, void 0, function* () {
|
|
940
|
-
|
|
980
|
+
if (this.logger)
|
|
981
|
+
this.logger.debug("Calling operation OperatorActionsClient#listOperatorActions.");
|
|
941
982
|
const operationName = "listOperatorActions";
|
|
942
983
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/operatoraccesscontrol/20200630/OperatorAction/ListOperatorActions";
|
|
943
984
|
const pathParams = {};
|
|
@@ -957,6 +998,8 @@ class OperatorActionsClient {
|
|
|
957
998
|
};
|
|
958
999
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
959
1000
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listOperatorActionsRequest.retryConfiguration, specRetryConfiguration);
|
|
1001
|
+
if (this.logger)
|
|
1002
|
+
retrier.logger = this.logger;
|
|
960
1003
|
const request = yield oci_common_1.composeRequest({
|
|
961
1004
|
baseEndpoint: this._endpoint,
|
|
962
1005
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1006,7 +1049,7 @@ var OperatorControlApiKeys;
|
|
|
1006
1049
|
*/
|
|
1007
1050
|
class OperatorControlClient {
|
|
1008
1051
|
constructor(params, clientConfiguration) {
|
|
1009
|
-
this["_realmSpecificEndpointTemplateEnabled"] =
|
|
1052
|
+
this["_realmSpecificEndpointTemplateEnabled"] = undefined;
|
|
1010
1053
|
this["_endpoint"] = "";
|
|
1011
1054
|
this["_defaultHeaders"] = {};
|
|
1012
1055
|
this._circuitBreaker = null;
|
|
@@ -1065,7 +1108,11 @@ class OperatorControlClient {
|
|
|
1065
1108
|
set endpoint(endpoint) {
|
|
1066
1109
|
this._endpoint = endpoint;
|
|
1067
1110
|
this._endpoint = this._endpoint + "/20200630";
|
|
1068
|
-
|
|
1111
|
+
if (this.logger)
|
|
1112
|
+
this.logger.info(`OperatorControlClient endpoint set to ${this._endpoint}`);
|
|
1113
|
+
}
|
|
1114
|
+
get logger() {
|
|
1115
|
+
return common.LOG.logger;
|
|
1069
1116
|
}
|
|
1070
1117
|
/**
|
|
1071
1118
|
* Determines whether realm specific endpoint should be used or not.
|
|
@@ -1074,7 +1121,8 @@ class OperatorControlClient {
|
|
|
1074
1121
|
*/
|
|
1075
1122
|
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
|
|
1076
1123
|
this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
|
|
1077
|
-
|
|
1124
|
+
if (this.logger)
|
|
1125
|
+
this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
1078
1126
|
if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
|
|
1079
1127
|
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(OperatorControlClient.serviceEndpointTemplate, this._region, OperatorControlClient.endpointServiceName);
|
|
1080
1128
|
}
|
|
@@ -1141,11 +1189,12 @@ class OperatorControlClient {
|
|
|
1141
1189
|
* @param ChangeOperatorControlCompartmentRequest
|
|
1142
1190
|
* @return ChangeOperatorControlCompartmentResponse
|
|
1143
1191
|
* @throws OciError when an error occurs
|
|
1144
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1192
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/operatoraccesscontrol/ChangeOperatorControlCompartment.ts.html |here} to see how to use ChangeOperatorControlCompartment API.
|
|
1145
1193
|
*/
|
|
1146
1194
|
changeOperatorControlCompartment(changeOperatorControlCompartmentRequest) {
|
|
1147
1195
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1148
|
-
|
|
1196
|
+
if (this.logger)
|
|
1197
|
+
this.logger.debug("Calling operation OperatorControlClient#changeOperatorControlCompartment.");
|
|
1149
1198
|
const operationName = "changeOperatorControlCompartment";
|
|
1150
1199
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/operatoraccesscontrol/20200630/OperatorControl/ChangeOperatorControlCompartment";
|
|
1151
1200
|
const pathParams = {
|
|
@@ -1160,6 +1209,8 @@ class OperatorControlClient {
|
|
|
1160
1209
|
};
|
|
1161
1210
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1162
1211
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeOperatorControlCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
1212
|
+
if (this.logger)
|
|
1213
|
+
retrier.logger = this.logger;
|
|
1163
1214
|
const request = yield oci_common_1.composeRequest({
|
|
1164
1215
|
baseEndpoint: this._endpoint,
|
|
1165
1216
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1196,11 +1247,12 @@ class OperatorControlClient {
|
|
|
1196
1247
|
* @param CreateOperatorControlRequest
|
|
1197
1248
|
* @return CreateOperatorControlResponse
|
|
1198
1249
|
* @throws OciError when an error occurs
|
|
1199
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1250
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/operatoraccesscontrol/CreateOperatorControl.ts.html |here} to see how to use CreateOperatorControl API.
|
|
1200
1251
|
*/
|
|
1201
1252
|
createOperatorControl(createOperatorControlRequest) {
|
|
1202
1253
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1203
|
-
|
|
1254
|
+
if (this.logger)
|
|
1255
|
+
this.logger.debug("Calling operation OperatorControlClient#createOperatorControl.");
|
|
1204
1256
|
const operationName = "createOperatorControl";
|
|
1205
1257
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/operatoraccesscontrol/20200630/OperatorControl/CreateOperatorControl";
|
|
1206
1258
|
const pathParams = {};
|
|
@@ -1212,6 +1264,8 @@ class OperatorControlClient {
|
|
|
1212
1264
|
};
|
|
1213
1265
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1214
1266
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createOperatorControlRequest.retryConfiguration, specRetryConfiguration);
|
|
1267
|
+
if (this.logger)
|
|
1268
|
+
retrier.logger = this.logger;
|
|
1215
1269
|
const request = yield oci_common_1.composeRequest({
|
|
1216
1270
|
baseEndpoint: this._endpoint,
|
|
1217
1271
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1261,11 +1315,12 @@ class OperatorControlClient {
|
|
|
1261
1315
|
* @param DeleteOperatorControlRequest
|
|
1262
1316
|
* @return DeleteOperatorControlResponse
|
|
1263
1317
|
* @throws OciError when an error occurs
|
|
1264
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1318
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/operatoraccesscontrol/DeleteOperatorControl.ts.html |here} to see how to use DeleteOperatorControl API.
|
|
1265
1319
|
*/
|
|
1266
1320
|
deleteOperatorControl(deleteOperatorControlRequest) {
|
|
1267
1321
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1268
|
-
|
|
1322
|
+
if (this.logger)
|
|
1323
|
+
this.logger.debug("Calling operation OperatorControlClient#deleteOperatorControl.");
|
|
1269
1324
|
const operationName = "deleteOperatorControl";
|
|
1270
1325
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/operatoraccesscontrol/20200630/OperatorControl/DeleteOperatorControl";
|
|
1271
1326
|
const pathParams = {
|
|
@@ -1281,6 +1336,8 @@ class OperatorControlClient {
|
|
|
1281
1336
|
};
|
|
1282
1337
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1283
1338
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteOperatorControlRequest.retryConfiguration, specRetryConfiguration);
|
|
1339
|
+
if (this.logger)
|
|
1340
|
+
retrier.logger = this.logger;
|
|
1284
1341
|
const request = yield oci_common_1.composeRequest({
|
|
1285
1342
|
baseEndpoint: this._endpoint,
|
|
1286
1343
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1315,11 +1372,12 @@ class OperatorControlClient {
|
|
|
1315
1372
|
* @param GetOperatorControlRequest
|
|
1316
1373
|
* @return GetOperatorControlResponse
|
|
1317
1374
|
* @throws OciError when an error occurs
|
|
1318
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1375
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/operatoraccesscontrol/GetOperatorControl.ts.html |here} to see how to use GetOperatorControl API.
|
|
1319
1376
|
*/
|
|
1320
1377
|
getOperatorControl(getOperatorControlRequest) {
|
|
1321
1378
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1322
|
-
|
|
1379
|
+
if (this.logger)
|
|
1380
|
+
this.logger.debug("Calling operation OperatorControlClient#getOperatorControl.");
|
|
1323
1381
|
const operationName = "getOperatorControl";
|
|
1324
1382
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/operatoraccesscontrol/20200630/OperatorControl/GetOperatorControl";
|
|
1325
1383
|
const pathParams = {
|
|
@@ -1332,6 +1390,8 @@ class OperatorControlClient {
|
|
|
1332
1390
|
};
|
|
1333
1391
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1334
1392
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getOperatorControlRequest.retryConfiguration, specRetryConfiguration);
|
|
1393
|
+
if (this.logger)
|
|
1394
|
+
retrier.logger = this.logger;
|
|
1335
1395
|
const request = yield oci_common_1.composeRequest({
|
|
1336
1396
|
baseEndpoint: this._endpoint,
|
|
1337
1397
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1376,11 +1436,12 @@ class OperatorControlClient {
|
|
|
1376
1436
|
* @param ListOperatorControlsRequest
|
|
1377
1437
|
* @return ListOperatorControlsResponse
|
|
1378
1438
|
* @throws OciError when an error occurs
|
|
1379
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1439
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/operatoraccesscontrol/ListOperatorControls.ts.html |here} to see how to use ListOperatorControls API.
|
|
1380
1440
|
*/
|
|
1381
1441
|
listOperatorControls(listOperatorControlsRequest) {
|
|
1382
1442
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1383
|
-
|
|
1443
|
+
if (this.logger)
|
|
1444
|
+
this.logger.debug("Calling operation OperatorControlClient#listOperatorControls.");
|
|
1384
1445
|
const operationName = "listOperatorControls";
|
|
1385
1446
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/operatoraccesscontrol/20200630/OperatorControl/ListOperatorControls";
|
|
1386
1447
|
const pathParams = {};
|
|
@@ -1400,6 +1461,8 @@ class OperatorControlClient {
|
|
|
1400
1461
|
};
|
|
1401
1462
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1402
1463
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listOperatorControlsRequest.retryConfiguration, specRetryConfiguration);
|
|
1464
|
+
if (this.logger)
|
|
1465
|
+
retrier.logger = this.logger;
|
|
1403
1466
|
const request = yield oci_common_1.composeRequest({
|
|
1404
1467
|
baseEndpoint: this._endpoint,
|
|
1405
1468
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1444,11 +1507,12 @@ class OperatorControlClient {
|
|
|
1444
1507
|
* @param UpdateOperatorControlRequest
|
|
1445
1508
|
* @return UpdateOperatorControlResponse
|
|
1446
1509
|
* @throws OciError when an error occurs
|
|
1447
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1510
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/operatoraccesscontrol/UpdateOperatorControl.ts.html |here} to see how to use UpdateOperatorControl API.
|
|
1448
1511
|
*/
|
|
1449
1512
|
updateOperatorControl(updateOperatorControlRequest) {
|
|
1450
1513
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1451
|
-
|
|
1514
|
+
if (this.logger)
|
|
1515
|
+
this.logger.debug("Calling operation OperatorControlClient#updateOperatorControl.");
|
|
1452
1516
|
const operationName = "updateOperatorControl";
|
|
1453
1517
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/operatoraccesscontrol/20200630/OperatorControl/UpdateOperatorControl";
|
|
1454
1518
|
const pathParams = {
|
|
@@ -1462,6 +1526,8 @@ class OperatorControlClient {
|
|
|
1462
1526
|
};
|
|
1463
1527
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1464
1528
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateOperatorControlRequest.retryConfiguration, specRetryConfiguration);
|
|
1529
|
+
if (this.logger)
|
|
1530
|
+
retrier.logger = this.logger;
|
|
1465
1531
|
const request = yield oci_common_1.composeRequest({
|
|
1466
1532
|
baseEndpoint: this._endpoint,
|
|
1467
1533
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1512,7 +1578,7 @@ var OperatorControlAssignmentApiKeys;
|
|
|
1512
1578
|
*/
|
|
1513
1579
|
class OperatorControlAssignmentClient {
|
|
1514
1580
|
constructor(params, clientConfiguration) {
|
|
1515
|
-
this["_realmSpecificEndpointTemplateEnabled"] =
|
|
1581
|
+
this["_realmSpecificEndpointTemplateEnabled"] = undefined;
|
|
1516
1582
|
this["_endpoint"] = "";
|
|
1517
1583
|
this["_defaultHeaders"] = {};
|
|
1518
1584
|
this._circuitBreaker = null;
|
|
@@ -1571,7 +1637,11 @@ class OperatorControlAssignmentClient {
|
|
|
1571
1637
|
set endpoint(endpoint) {
|
|
1572
1638
|
this._endpoint = endpoint;
|
|
1573
1639
|
this._endpoint = this._endpoint + "/20200630";
|
|
1574
|
-
|
|
1640
|
+
if (this.logger)
|
|
1641
|
+
this.logger.info(`OperatorControlAssignmentClient endpoint set to ${this._endpoint}`);
|
|
1642
|
+
}
|
|
1643
|
+
get logger() {
|
|
1644
|
+
return common.LOG.logger;
|
|
1575
1645
|
}
|
|
1576
1646
|
/**
|
|
1577
1647
|
* Determines whether realm specific endpoint should be used or not.
|
|
@@ -1580,7 +1650,8 @@ class OperatorControlAssignmentClient {
|
|
|
1580
1650
|
*/
|
|
1581
1651
|
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
|
|
1582
1652
|
this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
|
|
1583
|
-
|
|
1653
|
+
if (this.logger)
|
|
1654
|
+
this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
1584
1655
|
if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
|
|
1585
1656
|
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(OperatorControlAssignmentClient.serviceEndpointTemplate, this._region, OperatorControlAssignmentClient.endpointServiceName);
|
|
1586
1657
|
}
|
|
@@ -1647,11 +1718,12 @@ class OperatorControlAssignmentClient {
|
|
|
1647
1718
|
* @param ChangeOperatorControlAssignmentCompartmentRequest
|
|
1648
1719
|
* @return ChangeOperatorControlAssignmentCompartmentResponse
|
|
1649
1720
|
* @throws OciError when an error occurs
|
|
1650
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1721
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/operatoraccesscontrol/ChangeOperatorControlAssignmentCompartment.ts.html |here} to see how to use ChangeOperatorControlAssignmentCompartment API.
|
|
1651
1722
|
*/
|
|
1652
1723
|
changeOperatorControlAssignmentCompartment(changeOperatorControlAssignmentCompartmentRequest) {
|
|
1653
1724
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1654
|
-
|
|
1725
|
+
if (this.logger)
|
|
1726
|
+
this.logger.debug("Calling operation OperatorControlAssignmentClient#changeOperatorControlAssignmentCompartment.");
|
|
1655
1727
|
const operationName = "changeOperatorControlAssignmentCompartment";
|
|
1656
1728
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/operatoraccesscontrol/20200630/OperatorControlAssignment/ChangeOperatorControlAssignmentCompartment";
|
|
1657
1729
|
const pathParams = {
|
|
@@ -1666,6 +1738,8 @@ class OperatorControlAssignmentClient {
|
|
|
1666
1738
|
};
|
|
1667
1739
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1668
1740
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeOperatorControlAssignmentCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
1741
|
+
if (this.logger)
|
|
1742
|
+
retrier.logger = this.logger;
|
|
1669
1743
|
const request = yield oci_common_1.composeRequest({
|
|
1670
1744
|
baseEndpoint: this._endpoint,
|
|
1671
1745
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1701,11 +1775,12 @@ class OperatorControlAssignmentClient {
|
|
|
1701
1775
|
* @param CreateOperatorControlAssignmentRequest
|
|
1702
1776
|
* @return CreateOperatorControlAssignmentResponse
|
|
1703
1777
|
* @throws OciError when an error occurs
|
|
1704
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1778
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/operatoraccesscontrol/CreateOperatorControlAssignment.ts.html |here} to see how to use CreateOperatorControlAssignment API.
|
|
1705
1779
|
*/
|
|
1706
1780
|
createOperatorControlAssignment(createOperatorControlAssignmentRequest) {
|
|
1707
1781
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1708
|
-
|
|
1782
|
+
if (this.logger)
|
|
1783
|
+
this.logger.debug("Calling operation OperatorControlAssignmentClient#createOperatorControlAssignment.");
|
|
1709
1784
|
const operationName = "createOperatorControlAssignment";
|
|
1710
1785
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/operatoraccesscontrol/20200630/OperatorControlAssignment/CreateOperatorControlAssignment";
|
|
1711
1786
|
const pathParams = {};
|
|
@@ -1717,6 +1792,8 @@ class OperatorControlAssignmentClient {
|
|
|
1717
1792
|
};
|
|
1718
1793
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1719
1794
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createOperatorControlAssignmentRequest.retryConfiguration, specRetryConfiguration);
|
|
1795
|
+
if (this.logger)
|
|
1796
|
+
retrier.logger = this.logger;
|
|
1720
1797
|
const request = yield oci_common_1.composeRequest({
|
|
1721
1798
|
baseEndpoint: this._endpoint,
|
|
1722
1799
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1766,11 +1843,12 @@ class OperatorControlAssignmentClient {
|
|
|
1766
1843
|
* @param DeleteOperatorControlAssignmentRequest
|
|
1767
1844
|
* @return DeleteOperatorControlAssignmentResponse
|
|
1768
1845
|
* @throws OciError when an error occurs
|
|
1769
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1846
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/operatoraccesscontrol/DeleteOperatorControlAssignment.ts.html |here} to see how to use DeleteOperatorControlAssignment API.
|
|
1770
1847
|
*/
|
|
1771
1848
|
deleteOperatorControlAssignment(deleteOperatorControlAssignmentRequest) {
|
|
1772
1849
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1773
|
-
|
|
1850
|
+
if (this.logger)
|
|
1851
|
+
this.logger.debug("Calling operation OperatorControlAssignmentClient#deleteOperatorControlAssignment.");
|
|
1774
1852
|
const operationName = "deleteOperatorControlAssignment";
|
|
1775
1853
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/operatoraccesscontrol/20200630/OperatorControlAssignment/DeleteOperatorControlAssignment";
|
|
1776
1854
|
const pathParams = {
|
|
@@ -1786,6 +1864,8 @@ class OperatorControlAssignmentClient {
|
|
|
1786
1864
|
};
|
|
1787
1865
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1788
1866
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteOperatorControlAssignmentRequest.retryConfiguration, specRetryConfiguration);
|
|
1867
|
+
if (this.logger)
|
|
1868
|
+
retrier.logger = this.logger;
|
|
1789
1869
|
const request = yield oci_common_1.composeRequest({
|
|
1790
1870
|
baseEndpoint: this._endpoint,
|
|
1791
1871
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1820,11 +1900,12 @@ class OperatorControlAssignmentClient {
|
|
|
1820
1900
|
* @param GetOperatorControlAssignmentRequest
|
|
1821
1901
|
* @return GetOperatorControlAssignmentResponse
|
|
1822
1902
|
* @throws OciError when an error occurs
|
|
1823
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1903
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/operatoraccesscontrol/GetOperatorControlAssignment.ts.html |here} to see how to use GetOperatorControlAssignment API.
|
|
1824
1904
|
*/
|
|
1825
1905
|
getOperatorControlAssignment(getOperatorControlAssignmentRequest) {
|
|
1826
1906
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1827
|
-
|
|
1907
|
+
if (this.logger)
|
|
1908
|
+
this.logger.debug("Calling operation OperatorControlAssignmentClient#getOperatorControlAssignment.");
|
|
1828
1909
|
const operationName = "getOperatorControlAssignment";
|
|
1829
1910
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/operatoraccesscontrol/20200630/OperatorControlAssignment/GetOperatorControlAssignment";
|
|
1830
1911
|
const pathParams = {
|
|
@@ -1837,6 +1918,8 @@ class OperatorControlAssignmentClient {
|
|
|
1837
1918
|
};
|
|
1838
1919
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1839
1920
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getOperatorControlAssignmentRequest.retryConfiguration, specRetryConfiguration);
|
|
1921
|
+
if (this.logger)
|
|
1922
|
+
retrier.logger = this.logger;
|
|
1840
1923
|
const request = yield oci_common_1.composeRequest({
|
|
1841
1924
|
baseEndpoint: this._endpoint,
|
|
1842
1925
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1880,11 +1963,12 @@ class OperatorControlAssignmentClient {
|
|
|
1880
1963
|
* @param ListOperatorControlAssignmentsRequest
|
|
1881
1964
|
* @return ListOperatorControlAssignmentsResponse
|
|
1882
1965
|
* @throws OciError when an error occurs
|
|
1883
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1966
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/operatoraccesscontrol/ListOperatorControlAssignments.ts.html |here} to see how to use ListOperatorControlAssignments API.
|
|
1884
1967
|
*/
|
|
1885
1968
|
listOperatorControlAssignments(listOperatorControlAssignmentsRequest) {
|
|
1886
1969
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1887
|
-
|
|
1970
|
+
if (this.logger)
|
|
1971
|
+
this.logger.debug("Calling operation OperatorControlAssignmentClient#listOperatorControlAssignments.");
|
|
1888
1972
|
const operationName = "listOperatorControlAssignments";
|
|
1889
1973
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/operatoraccesscontrol/20200630/OperatorControlAssignment/ListOperatorControlAssignments";
|
|
1890
1974
|
const pathParams = {};
|
|
@@ -1905,6 +1989,8 @@ class OperatorControlAssignmentClient {
|
|
|
1905
1989
|
};
|
|
1906
1990
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1907
1991
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listOperatorControlAssignmentsRequest.retryConfiguration, specRetryConfiguration);
|
|
1992
|
+
if (this.logger)
|
|
1993
|
+
retrier.logger = this.logger;
|
|
1908
1994
|
const request = yield oci_common_1.composeRequest({
|
|
1909
1995
|
baseEndpoint: this._endpoint,
|
|
1910
1996
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1949,11 +2035,12 @@ class OperatorControlAssignmentClient {
|
|
|
1949
2035
|
* @param UpdateOperatorControlAssignmentRequest
|
|
1950
2036
|
* @return UpdateOperatorControlAssignmentResponse
|
|
1951
2037
|
* @throws OciError when an error occurs
|
|
1952
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2038
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/operatoraccesscontrol/UpdateOperatorControlAssignment.ts.html |here} to see how to use UpdateOperatorControlAssignment API.
|
|
1953
2039
|
*/
|
|
1954
2040
|
updateOperatorControlAssignment(updateOperatorControlAssignmentRequest) {
|
|
1955
2041
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1956
|
-
|
|
2042
|
+
if (this.logger)
|
|
2043
|
+
this.logger.debug("Calling operation OperatorControlAssignmentClient#updateOperatorControlAssignment.");
|
|
1957
2044
|
const operationName = "updateOperatorControlAssignment";
|
|
1958
2045
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/operatoraccesscontrol/20200630/OperatorControlAssignment/UpdateOperatorControlAssignment";
|
|
1959
2046
|
const pathParams = {
|
|
@@ -1967,6 +2054,8 @@ class OperatorControlAssignmentClient {
|
|
|
1967
2054
|
};
|
|
1968
2055
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1969
2056
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateOperatorControlAssignmentRequest.retryConfiguration, specRetryConfiguration);
|
|
2057
|
+
if (this.logger)
|
|
2058
|
+
retrier.logger = this.logger;
|
|
1970
2059
|
const request = yield oci_common_1.composeRequest({
|
|
1971
2060
|
baseEndpoint: this._endpoint,
|
|
1972
2061
|
defaultHeaders: this._defaultHeaders,
|