oci-operatoraccesscontrol 2.67.0 → 2.68.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client.d.ts +50 -46
- package/lib/client.js +89 -73
- package/lib/client.js.map +1 -1
- package/lib/model/access-request-summary.d.ts +4 -0
- package/lib/model/access-request-summary.js.map +1 -1
- package/lib/model/access-request.d.ts +4 -0
- package/lib/model/access-request.js.map +1 -1
- package/lib/model/operator-control-assignment-lifecycle-states.d.ts +1 -0
- package/lib/model/operator-control-assignment-lifecycle-states.js +1 -0
- package/lib/model/operator-control-assignment-lifecycle-states.js.map +1 -1
- package/lib/model/operator-control-assignment.d.ts +5 -0
- package/lib/model/operator-control-assignment.js.map +1 -1
- package/lib/model/operator-control.d.ts +5 -0
- package/lib/model/operator-control.js.map +1 -1
- package/lib/model/resource-types.d.ts +1 -0
- package/lib/model/resource-types.js +1 -0
- package/lib/model/resource-types.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
|
@@ -67,6 +67,7 @@ class AccessRequestsClient {
|
|
|
67
67
|
this["_defaultHeaders"] = {};
|
|
68
68
|
this._circuitBreaker = null;
|
|
69
69
|
this._httpOptions = undefined;
|
|
70
|
+
this._bodyDuplexMode = undefined;
|
|
70
71
|
this.targetService = "AccessRequests";
|
|
71
72
|
this._regionId = "";
|
|
72
73
|
this._lastSetRegionOrRegionId = "";
|
|
@@ -81,6 +82,9 @@ class AccessRequestsClient {
|
|
|
81
82
|
this._httpOptions = clientConfiguration.httpOptions
|
|
82
83
|
? clientConfiguration.httpOptions
|
|
83
84
|
: undefined;
|
|
85
|
+
this._bodyDuplexMode = clientConfiguration.bodyDuplexMode
|
|
86
|
+
? clientConfiguration.bodyDuplexMode
|
|
87
|
+
: undefined;
|
|
84
88
|
}
|
|
85
89
|
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
86
90
|
const specCircuitBreakerEnabled = true;
|
|
@@ -91,7 +95,7 @@ class AccessRequestsClient {
|
|
|
91
95
|
}
|
|
92
96
|
this._httpClient =
|
|
93
97
|
params.httpClient ||
|
|
94
|
-
new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions);
|
|
98
|
+
new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions, this._bodyDuplexMode);
|
|
95
99
|
if (params.authenticationDetailsProvider &&
|
|
96
100
|
common.isRegionProvider(params.authenticationDetailsProvider)) {
|
|
97
101
|
const provider = params.authenticationDetailsProvider;
|
|
@@ -182,11 +186,11 @@ class AccessRequestsClient {
|
|
|
182
186
|
/**
|
|
183
187
|
* Approves an access request.
|
|
184
188
|
*
|
|
185
|
-
* This operation
|
|
189
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
186
190
|
* @param ApproveAccessRequestRequest
|
|
187
191
|
* @return ApproveAccessRequestResponse
|
|
188
192
|
* @throws OciError when an error occurs
|
|
189
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
193
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.1/operatoraccesscontrol/ApproveAccessRequest.ts.html |here} to see how to use ApproveAccessRequest API.
|
|
190
194
|
*/
|
|
191
195
|
approveAccessRequest(approveAccessRequestRequest) {
|
|
192
196
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -204,7 +208,7 @@ class AccessRequestsClient {
|
|
|
204
208
|
"if-match": approveAccessRequestRequest.ifMatch,
|
|
205
209
|
"opc-request-id": approveAccessRequestRequest.opcRequestId
|
|
206
210
|
};
|
|
207
|
-
const specRetryConfiguration = common.
|
|
211
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
208
212
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, approveAccessRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
209
213
|
if (this.logger)
|
|
210
214
|
retrier.logger = this.logger;
|
|
@@ -244,11 +248,11 @@ class AccessRequestsClient {
|
|
|
244
248
|
}
|
|
245
249
|
/**
|
|
246
250
|
* Gets details of an access request.
|
|
247
|
-
* This operation
|
|
251
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
248
252
|
* @param GetAccessRequestRequest
|
|
249
253
|
* @return GetAccessRequestResponse
|
|
250
254
|
* @throws OciError when an error occurs
|
|
251
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
255
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.1/operatoraccesscontrol/GetAccessRequest.ts.html |here} to see how to use GetAccessRequest API.
|
|
252
256
|
*/
|
|
253
257
|
getAccessRequest(getAccessRequestRequest) {
|
|
254
258
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -264,7 +268,7 @@ class AccessRequestsClient {
|
|
|
264
268
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
265
269
|
"opc-request-id": getAccessRequestRequest.opcRequestId
|
|
266
270
|
};
|
|
267
|
-
const specRetryConfiguration = common.
|
|
271
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
268
272
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getAccessRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
269
273
|
if (this.logger)
|
|
270
274
|
retrier.logger = this.logger;
|
|
@@ -303,11 +307,11 @@ class AccessRequestsClient {
|
|
|
303
307
|
/**
|
|
304
308
|
* Posts query for additional information for the given access request.
|
|
305
309
|
*
|
|
306
|
-
* This operation
|
|
310
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
307
311
|
* @param InteractionRequestRequest
|
|
308
312
|
* @return InteractionRequestResponse
|
|
309
313
|
* @throws OciError when an error occurs
|
|
310
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
314
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.1/operatoraccesscontrol/InteractionRequest.ts.html |here} to see how to use InteractionRequest API.
|
|
311
315
|
*/
|
|
312
316
|
interactionRequest(interactionRequestRequest) {
|
|
313
317
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -325,7 +329,7 @@ class AccessRequestsClient {
|
|
|
325
329
|
"if-match": interactionRequestRequest.ifMatch,
|
|
326
330
|
"opc-request-id": interactionRequestRequest.opcRequestId
|
|
327
331
|
};
|
|
328
|
-
const specRetryConfiguration = common.
|
|
332
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
329
333
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, interactionRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
330
334
|
if (this.logger)
|
|
331
335
|
retrier.logger = this.logger;
|
|
@@ -370,11 +374,11 @@ class AccessRequestsClient {
|
|
|
370
374
|
/**
|
|
371
375
|
* Returns a history of all status associated with the accessRequestId.
|
|
372
376
|
*
|
|
373
|
-
* This operation
|
|
377
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
374
378
|
* @param ListAccessRequestHistoriesRequest
|
|
375
379
|
* @return ListAccessRequestHistoriesResponse
|
|
376
380
|
* @throws OciError when an error occurs
|
|
377
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
381
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.1/operatoraccesscontrol/ListAccessRequestHistories.ts.html |here} to see how to use ListAccessRequestHistories API.
|
|
378
382
|
*/
|
|
379
383
|
listAccessRequestHistories(listAccessRequestHistoriesRequest) {
|
|
380
384
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -393,7 +397,7 @@ class AccessRequestsClient {
|
|
|
393
397
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
394
398
|
"opc-request-id": listAccessRequestHistoriesRequest.opcRequestId
|
|
395
399
|
};
|
|
396
|
-
const specRetryConfiguration = common.
|
|
400
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
397
401
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAccessRequestHistoriesRequest.retryConfiguration, specRetryConfiguration);
|
|
398
402
|
if (this.logger)
|
|
399
403
|
retrier.logger = this.logger;
|
|
@@ -437,11 +441,11 @@ class AccessRequestsClient {
|
|
|
437
441
|
/**
|
|
438
442
|
* Lists all access requests in the compartment.
|
|
439
443
|
*
|
|
440
|
-
* This operation
|
|
444
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
441
445
|
* @param ListAccessRequestsRequest
|
|
442
446
|
* @return ListAccessRequestsResponse
|
|
443
447
|
* @throws OciError when an error occurs
|
|
444
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
448
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.1/operatoraccesscontrol/ListAccessRequests.ts.html |here} to see how to use ListAccessRequests API.
|
|
445
449
|
*/
|
|
446
450
|
listAccessRequests(listAccessRequestsRequest) {
|
|
447
451
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -466,7 +470,7 @@ class AccessRequestsClient {
|
|
|
466
470
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
467
471
|
"opc-request-id": listAccessRequestsRequest.opcRequestId
|
|
468
472
|
};
|
|
469
|
-
const specRetryConfiguration = common.
|
|
473
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
470
474
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAccessRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
471
475
|
if (this.logger)
|
|
472
476
|
retrier.logger = this.logger;
|
|
@@ -510,11 +514,11 @@ class AccessRequestsClient {
|
|
|
510
514
|
/**
|
|
511
515
|
* Lists the MoreInformation interaction between customer and operators.
|
|
512
516
|
*
|
|
513
|
-
* This operation
|
|
517
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
514
518
|
* @param ListInteractionsRequest
|
|
515
519
|
* @return ListInteractionsResponse
|
|
516
520
|
* @throws OciError when an error occurs
|
|
517
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
521
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.1/operatoraccesscontrol/ListInteractions.ts.html |here} to see how to use ListInteractions API.
|
|
518
522
|
*/
|
|
519
523
|
listInteractions(listInteractionsRequest) {
|
|
520
524
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -533,7 +537,7 @@ class AccessRequestsClient {
|
|
|
533
537
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
534
538
|
"opc-request-id": listInteractionsRequest.opcRequestId
|
|
535
539
|
};
|
|
536
|
-
const specRetryConfiguration = common.
|
|
540
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
537
541
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listInteractionsRequest.retryConfiguration, specRetryConfiguration);
|
|
538
542
|
if (this.logger)
|
|
539
543
|
retrier.logger = this.logger;
|
|
@@ -577,11 +581,11 @@ class AccessRequestsClient {
|
|
|
577
581
|
/**
|
|
578
582
|
* Rejects an access request.
|
|
579
583
|
*
|
|
580
|
-
* This operation
|
|
584
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
581
585
|
* @param RejectAccessRequestRequest
|
|
582
586
|
* @return RejectAccessRequestResponse
|
|
583
587
|
* @throws OciError when an error occurs
|
|
584
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
588
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.1/operatoraccesscontrol/RejectAccessRequest.ts.html |here} to see how to use RejectAccessRequest API.
|
|
585
589
|
*/
|
|
586
590
|
rejectAccessRequest(rejectAccessRequestRequest) {
|
|
587
591
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -599,7 +603,7 @@ class AccessRequestsClient {
|
|
|
599
603
|
"if-match": rejectAccessRequestRequest.ifMatch,
|
|
600
604
|
"opc-request-id": rejectAccessRequestRequest.opcRequestId
|
|
601
605
|
};
|
|
602
|
-
const specRetryConfiguration = common.
|
|
606
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
603
607
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, rejectAccessRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
604
608
|
if (this.logger)
|
|
605
609
|
retrier.logger = this.logger;
|
|
@@ -640,11 +644,11 @@ class AccessRequestsClient {
|
|
|
640
644
|
/**
|
|
641
645
|
* Reviews the access request.
|
|
642
646
|
*
|
|
643
|
-
* This operation
|
|
647
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
644
648
|
* @param ReviewAccessRequestRequest
|
|
645
649
|
* @return ReviewAccessRequestResponse
|
|
646
650
|
* @throws OciError when an error occurs
|
|
647
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
651
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.1/operatoraccesscontrol/ReviewAccessRequest.ts.html |here} to see how to use ReviewAccessRequest API.
|
|
648
652
|
*/
|
|
649
653
|
reviewAccessRequest(reviewAccessRequestRequest) {
|
|
650
654
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -662,7 +666,7 @@ class AccessRequestsClient {
|
|
|
662
666
|
"if-match": reviewAccessRequestRequest.ifMatch,
|
|
663
667
|
"opc-request-id": reviewAccessRequestRequest.opcRequestId
|
|
664
668
|
};
|
|
665
|
-
const specRetryConfiguration = common.
|
|
669
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
666
670
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, reviewAccessRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
667
671
|
if (this.logger)
|
|
668
672
|
retrier.logger = this.logger;
|
|
@@ -707,11 +711,11 @@ class AccessRequestsClient {
|
|
|
707
711
|
/**
|
|
708
712
|
* Revokes an already approved access request.
|
|
709
713
|
*
|
|
710
|
-
* This operation
|
|
714
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
711
715
|
* @param RevokeAccessRequestRequest
|
|
712
716
|
* @return RevokeAccessRequestResponse
|
|
713
717
|
* @throws OciError when an error occurs
|
|
714
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
718
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.1/operatoraccesscontrol/RevokeAccessRequest.ts.html |here} to see how to use RevokeAccessRequest API.
|
|
715
719
|
*/
|
|
716
720
|
revokeAccessRequest(revokeAccessRequestRequest) {
|
|
717
721
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -729,7 +733,7 @@ class AccessRequestsClient {
|
|
|
729
733
|
"if-match": revokeAccessRequestRequest.ifMatch,
|
|
730
734
|
"opc-request-id": revokeAccessRequestRequest.opcRequestId
|
|
731
735
|
};
|
|
732
|
-
const specRetryConfiguration = common.
|
|
736
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
733
737
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, revokeAccessRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
734
738
|
if (this.logger)
|
|
735
739
|
retrier.logger = this.logger;
|
|
@@ -784,6 +788,7 @@ class OperatorActionsClient {
|
|
|
784
788
|
this["_defaultHeaders"] = {};
|
|
785
789
|
this._circuitBreaker = null;
|
|
786
790
|
this._httpOptions = undefined;
|
|
791
|
+
this._bodyDuplexMode = undefined;
|
|
787
792
|
this.targetService = "OperatorActions";
|
|
788
793
|
this._regionId = "";
|
|
789
794
|
this._lastSetRegionOrRegionId = "";
|
|
@@ -798,6 +803,9 @@ class OperatorActionsClient {
|
|
|
798
803
|
this._httpOptions = clientConfiguration.httpOptions
|
|
799
804
|
? clientConfiguration.httpOptions
|
|
800
805
|
: undefined;
|
|
806
|
+
this._bodyDuplexMode = clientConfiguration.bodyDuplexMode
|
|
807
|
+
? clientConfiguration.bodyDuplexMode
|
|
808
|
+
: undefined;
|
|
801
809
|
}
|
|
802
810
|
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
803
811
|
const specCircuitBreakerEnabled = true;
|
|
@@ -808,7 +816,7 @@ class OperatorActionsClient {
|
|
|
808
816
|
}
|
|
809
817
|
this._httpClient =
|
|
810
818
|
params.httpClient ||
|
|
811
|
-
new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions);
|
|
819
|
+
new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions, this._bodyDuplexMode);
|
|
812
820
|
if (params.authenticationDetailsProvider &&
|
|
813
821
|
common.isRegionProvider(params.authenticationDetailsProvider)) {
|
|
814
822
|
const provider = params.authenticationDetailsProvider;
|
|
@@ -877,11 +885,11 @@ class OperatorActionsClient {
|
|
|
877
885
|
}
|
|
878
886
|
/**
|
|
879
887
|
* Gets the operator action associated with the specified operator action ID.
|
|
880
|
-
* This operation
|
|
888
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
881
889
|
* @param GetOperatorActionRequest
|
|
882
890
|
* @return GetOperatorActionResponse
|
|
883
891
|
* @throws OciError when an error occurs
|
|
884
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
892
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.1/operatoraccesscontrol/GetOperatorAction.ts.html |here} to see how to use GetOperatorAction API.
|
|
885
893
|
*/
|
|
886
894
|
getOperatorAction(getOperatorActionRequest) {
|
|
887
895
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -897,7 +905,7 @@ class OperatorActionsClient {
|
|
|
897
905
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
898
906
|
"opc-request-id": getOperatorActionRequest.opcRequestId
|
|
899
907
|
};
|
|
900
|
-
const specRetryConfiguration = common.
|
|
908
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
901
909
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getOperatorActionRequest.retryConfiguration, specRetryConfiguration);
|
|
902
910
|
if (this.logger)
|
|
903
911
|
retrier.logger = this.logger;
|
|
@@ -936,11 +944,11 @@ class OperatorActionsClient {
|
|
|
936
944
|
/**
|
|
937
945
|
* Lists all the OperatorActions available in the system.
|
|
938
946
|
*
|
|
939
|
-
* This operation
|
|
947
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
940
948
|
* @param ListOperatorActionsRequest
|
|
941
949
|
* @return ListOperatorActionsResponse
|
|
942
950
|
* @throws OciError when an error occurs
|
|
943
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
951
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.1/operatoraccesscontrol/ListOperatorActions.ts.html |here} to see how to use ListOperatorActions API.
|
|
944
952
|
*/
|
|
945
953
|
listOperatorActions(listOperatorActionsRequest) {
|
|
946
954
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -963,7 +971,7 @@ class OperatorActionsClient {
|
|
|
963
971
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
964
972
|
"opc-request-id": listOperatorActionsRequest.opcRequestId
|
|
965
973
|
};
|
|
966
|
-
const specRetryConfiguration = common.
|
|
974
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
967
975
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listOperatorActionsRequest.retryConfiguration, specRetryConfiguration);
|
|
968
976
|
if (this.logger)
|
|
969
977
|
retrier.logger = this.logger;
|
|
@@ -1021,6 +1029,7 @@ class OperatorControlClient {
|
|
|
1021
1029
|
this["_defaultHeaders"] = {};
|
|
1022
1030
|
this._circuitBreaker = null;
|
|
1023
1031
|
this._httpOptions = undefined;
|
|
1032
|
+
this._bodyDuplexMode = undefined;
|
|
1024
1033
|
this.targetService = "OperatorControl";
|
|
1025
1034
|
this._regionId = "";
|
|
1026
1035
|
this._lastSetRegionOrRegionId = "";
|
|
@@ -1035,6 +1044,9 @@ class OperatorControlClient {
|
|
|
1035
1044
|
this._httpOptions = clientConfiguration.httpOptions
|
|
1036
1045
|
? clientConfiguration.httpOptions
|
|
1037
1046
|
: undefined;
|
|
1047
|
+
this._bodyDuplexMode = clientConfiguration.bodyDuplexMode
|
|
1048
|
+
? clientConfiguration.bodyDuplexMode
|
|
1049
|
+
: undefined;
|
|
1038
1050
|
}
|
|
1039
1051
|
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
1040
1052
|
const specCircuitBreakerEnabled = true;
|
|
@@ -1045,7 +1057,7 @@ class OperatorControlClient {
|
|
|
1045
1057
|
}
|
|
1046
1058
|
this._httpClient =
|
|
1047
1059
|
params.httpClient ||
|
|
1048
|
-
new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions);
|
|
1060
|
+
new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions, this._bodyDuplexMode);
|
|
1049
1061
|
if (params.authenticationDetailsProvider &&
|
|
1050
1062
|
common.isRegionProvider(params.authenticationDetailsProvider)) {
|
|
1051
1063
|
const provider = params.authenticationDetailsProvider;
|
|
@@ -1136,11 +1148,11 @@ class OperatorControlClient {
|
|
|
1136
1148
|
/**
|
|
1137
1149
|
* Moves the Operator Control resource into a different compartment. When provided, 'If-Match' is checked against 'ETag' values of the resource.
|
|
1138
1150
|
*
|
|
1139
|
-
* This operation
|
|
1151
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1140
1152
|
* @param ChangeOperatorControlCompartmentRequest
|
|
1141
1153
|
* @return ChangeOperatorControlCompartmentResponse
|
|
1142
1154
|
* @throws OciError when an error occurs
|
|
1143
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1155
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.1/operatoraccesscontrol/ChangeOperatorControlCompartment.ts.html |here} to see how to use ChangeOperatorControlCompartment API.
|
|
1144
1156
|
*/
|
|
1145
1157
|
changeOperatorControlCompartment(changeOperatorControlCompartmentRequest) {
|
|
1146
1158
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1158,7 +1170,7 @@ class OperatorControlClient {
|
|
|
1158
1170
|
"if-match": changeOperatorControlCompartmentRequest.ifMatch,
|
|
1159
1171
|
"opc-request-id": changeOperatorControlCompartmentRequest.opcRequestId
|
|
1160
1172
|
};
|
|
1161
|
-
const specRetryConfiguration = common.
|
|
1173
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1162
1174
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeOperatorControlCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
1163
1175
|
if (this.logger)
|
|
1164
1176
|
retrier.logger = this.logger;
|
|
@@ -1194,11 +1206,11 @@ class OperatorControlClient {
|
|
|
1194
1206
|
/**
|
|
1195
1207
|
* Creates an Operator Control.
|
|
1196
1208
|
*
|
|
1197
|
-
* This operation
|
|
1209
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1198
1210
|
* @param CreateOperatorControlRequest
|
|
1199
1211
|
* @return CreateOperatorControlResponse
|
|
1200
1212
|
* @throws OciError when an error occurs
|
|
1201
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1213
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.1/operatoraccesscontrol/CreateOperatorControl.ts.html |here} to see how to use CreateOperatorControl API.
|
|
1202
1214
|
*/
|
|
1203
1215
|
createOperatorControl(createOperatorControlRequest) {
|
|
1204
1216
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1213,7 +1225,7 @@ class OperatorControlClient {
|
|
|
1213
1225
|
"opc-retry-token": createOperatorControlRequest.opcRetryToken,
|
|
1214
1226
|
"opc-request-id": createOperatorControlRequest.opcRequestId
|
|
1215
1227
|
};
|
|
1216
|
-
const specRetryConfiguration = common.
|
|
1228
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1217
1229
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createOperatorControlRequest.retryConfiguration, specRetryConfiguration);
|
|
1218
1230
|
if (this.logger)
|
|
1219
1231
|
retrier.logger = this.logger;
|
|
@@ -1262,11 +1274,11 @@ class OperatorControlClient {
|
|
|
1262
1274
|
* done under the Operator Control is preserved for future needs. The system purges the deleted Operator Control only when all of the audit data associated with the
|
|
1263
1275
|
* Operator Control are also deleted. Therefore, you cannot reuse the name of the deleted Operator Control until the system purges the Operator Control.
|
|
1264
1276
|
*
|
|
1265
|
-
* This operation
|
|
1277
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1266
1278
|
* @param DeleteOperatorControlRequest
|
|
1267
1279
|
* @return DeleteOperatorControlResponse
|
|
1268
1280
|
* @throws OciError when an error occurs
|
|
1269
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1281
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.1/operatoraccesscontrol/DeleteOperatorControl.ts.html |here} to see how to use DeleteOperatorControl API.
|
|
1270
1282
|
*/
|
|
1271
1283
|
deleteOperatorControl(deleteOperatorControlRequest) {
|
|
1272
1284
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1285,7 +1297,7 @@ class OperatorControlClient {
|
|
|
1285
1297
|
"if-match": deleteOperatorControlRequest.ifMatch,
|
|
1286
1298
|
"opc-request-id": deleteOperatorControlRequest.opcRequestId
|
|
1287
1299
|
};
|
|
1288
|
-
const specRetryConfiguration = common.
|
|
1300
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1289
1301
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteOperatorControlRequest.retryConfiguration, specRetryConfiguration);
|
|
1290
1302
|
if (this.logger)
|
|
1291
1303
|
retrier.logger = this.logger;
|
|
@@ -1319,11 +1331,11 @@ class OperatorControlClient {
|
|
|
1319
1331
|
}
|
|
1320
1332
|
/**
|
|
1321
1333
|
* Gets the Operator Control associated with the specified Operator Control ID.
|
|
1322
|
-
* This operation
|
|
1334
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1323
1335
|
* @param GetOperatorControlRequest
|
|
1324
1336
|
* @return GetOperatorControlResponse
|
|
1325
1337
|
* @throws OciError when an error occurs
|
|
1326
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1338
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.1/operatoraccesscontrol/GetOperatorControl.ts.html |here} to see how to use GetOperatorControl API.
|
|
1327
1339
|
*/
|
|
1328
1340
|
getOperatorControl(getOperatorControlRequest) {
|
|
1329
1341
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1339,7 +1351,7 @@ class OperatorControlClient {
|
|
|
1339
1351
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1340
1352
|
"opc-request-id": getOperatorControlRequest.opcRequestId
|
|
1341
1353
|
};
|
|
1342
|
-
const specRetryConfiguration = common.
|
|
1354
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1343
1355
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getOperatorControlRequest.retryConfiguration, specRetryConfiguration);
|
|
1344
1356
|
if (this.logger)
|
|
1345
1357
|
retrier.logger = this.logger;
|
|
@@ -1383,11 +1395,11 @@ class OperatorControlClient {
|
|
|
1383
1395
|
/**
|
|
1384
1396
|
* Lists the operator controls in the compartment.
|
|
1385
1397
|
*
|
|
1386
|
-
* This operation
|
|
1398
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1387
1399
|
* @param ListOperatorControlsRequest
|
|
1388
1400
|
* @return ListOperatorControlsResponse
|
|
1389
1401
|
* @throws OciError when an error occurs
|
|
1390
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1402
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.1/operatoraccesscontrol/ListOperatorControls.ts.html |here} to see how to use ListOperatorControls API.
|
|
1391
1403
|
*/
|
|
1392
1404
|
listOperatorControls(listOperatorControlsRequest) {
|
|
1393
1405
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1410,7 +1422,7 @@ class OperatorControlClient {
|
|
|
1410
1422
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1411
1423
|
"opc-request-id": listOperatorControlsRequest.opcRequestId
|
|
1412
1424
|
};
|
|
1413
|
-
const specRetryConfiguration = common.
|
|
1425
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1414
1426
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listOperatorControlsRequest.retryConfiguration, specRetryConfiguration);
|
|
1415
1427
|
if (this.logger)
|
|
1416
1428
|
retrier.logger = this.logger;
|
|
@@ -1454,11 +1466,11 @@ class OperatorControlClient {
|
|
|
1454
1466
|
/**
|
|
1455
1467
|
* Modifies the existing OperatorControl for a given operator control id except the operator control id.
|
|
1456
1468
|
*
|
|
1457
|
-
* This operation
|
|
1469
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1458
1470
|
* @param UpdateOperatorControlRequest
|
|
1459
1471
|
* @return UpdateOperatorControlResponse
|
|
1460
1472
|
* @throws OciError when an error occurs
|
|
1461
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1473
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.1/operatoraccesscontrol/UpdateOperatorControl.ts.html |here} to see how to use UpdateOperatorControl API.
|
|
1462
1474
|
*/
|
|
1463
1475
|
updateOperatorControl(updateOperatorControlRequest) {
|
|
1464
1476
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1475,7 +1487,7 @@ class OperatorControlClient {
|
|
|
1475
1487
|
"if-match": updateOperatorControlRequest.ifMatch,
|
|
1476
1488
|
"opc-request-id": updateOperatorControlRequest.opcRequestId
|
|
1477
1489
|
};
|
|
1478
|
-
const specRetryConfiguration = common.
|
|
1490
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1479
1491
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateOperatorControlRequest.retryConfiguration, specRetryConfiguration);
|
|
1480
1492
|
if (this.logger)
|
|
1481
1493
|
retrier.logger = this.logger;
|
|
@@ -1534,6 +1546,7 @@ class OperatorControlAssignmentClient {
|
|
|
1534
1546
|
this["_defaultHeaders"] = {};
|
|
1535
1547
|
this._circuitBreaker = null;
|
|
1536
1548
|
this._httpOptions = undefined;
|
|
1549
|
+
this._bodyDuplexMode = undefined;
|
|
1537
1550
|
this.targetService = "OperatorControlAssignment";
|
|
1538
1551
|
this._regionId = "";
|
|
1539
1552
|
this._lastSetRegionOrRegionId = "";
|
|
@@ -1548,6 +1561,9 @@ class OperatorControlAssignmentClient {
|
|
|
1548
1561
|
this._httpOptions = clientConfiguration.httpOptions
|
|
1549
1562
|
? clientConfiguration.httpOptions
|
|
1550
1563
|
: undefined;
|
|
1564
|
+
this._bodyDuplexMode = clientConfiguration.bodyDuplexMode
|
|
1565
|
+
? clientConfiguration.bodyDuplexMode
|
|
1566
|
+
: undefined;
|
|
1551
1567
|
}
|
|
1552
1568
|
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
1553
1569
|
const specCircuitBreakerEnabled = true;
|
|
@@ -1558,7 +1574,7 @@ class OperatorControlAssignmentClient {
|
|
|
1558
1574
|
}
|
|
1559
1575
|
this._httpClient =
|
|
1560
1576
|
params.httpClient ||
|
|
1561
|
-
new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions);
|
|
1577
|
+
new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions, this._bodyDuplexMode);
|
|
1562
1578
|
if (params.authenticationDetailsProvider &&
|
|
1563
1579
|
common.isRegionProvider(params.authenticationDetailsProvider)) {
|
|
1564
1580
|
const provider = params.authenticationDetailsProvider;
|
|
@@ -1649,11 +1665,11 @@ class OperatorControlAssignmentClient {
|
|
|
1649
1665
|
/**
|
|
1650
1666
|
* Changes the compartment of the specified Operator Control assignment ID.
|
|
1651
1667
|
*
|
|
1652
|
-
* This operation
|
|
1668
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1653
1669
|
* @param ChangeOperatorControlAssignmentCompartmentRequest
|
|
1654
1670
|
* @return ChangeOperatorControlAssignmentCompartmentResponse
|
|
1655
1671
|
* @throws OciError when an error occurs
|
|
1656
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1672
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.1/operatoraccesscontrol/ChangeOperatorControlAssignmentCompartment.ts.html |here} to see how to use ChangeOperatorControlAssignmentCompartment API.
|
|
1657
1673
|
*/
|
|
1658
1674
|
changeOperatorControlAssignmentCompartment(changeOperatorControlAssignmentCompartmentRequest) {
|
|
1659
1675
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1671,7 +1687,7 @@ class OperatorControlAssignmentClient {
|
|
|
1671
1687
|
"if-match": changeOperatorControlAssignmentCompartmentRequest.ifMatch,
|
|
1672
1688
|
"opc-request-id": changeOperatorControlAssignmentCompartmentRequest.opcRequestId
|
|
1673
1689
|
};
|
|
1674
|
-
const specRetryConfiguration = common.
|
|
1690
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1675
1691
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeOperatorControlAssignmentCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
1676
1692
|
if (this.logger)
|
|
1677
1693
|
retrier.logger = this.logger;
|
|
@@ -1706,11 +1722,11 @@ class OperatorControlAssignmentClient {
|
|
|
1706
1722
|
}
|
|
1707
1723
|
/**
|
|
1708
1724
|
* Creates an Operator Control Assignment resource. In effect, this brings the target resource under the governance of the Operator Control for specified time duration.
|
|
1709
|
-
* This operation
|
|
1725
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1710
1726
|
* @param CreateOperatorControlAssignmentRequest
|
|
1711
1727
|
* @return CreateOperatorControlAssignmentResponse
|
|
1712
1728
|
* @throws OciError when an error occurs
|
|
1713
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1729
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.1/operatoraccesscontrol/CreateOperatorControlAssignment.ts.html |here} to see how to use CreateOperatorControlAssignment API.
|
|
1714
1730
|
*/
|
|
1715
1731
|
createOperatorControlAssignment(createOperatorControlAssignmentRequest) {
|
|
1716
1732
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1725,7 +1741,7 @@ class OperatorControlAssignmentClient {
|
|
|
1725
1741
|
"opc-retry-token": createOperatorControlAssignmentRequest.opcRetryToken,
|
|
1726
1742
|
"opc-request-id": createOperatorControlAssignmentRequest.opcRequestId
|
|
1727
1743
|
};
|
|
1728
|
-
const specRetryConfiguration = common.
|
|
1744
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1729
1745
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createOperatorControlAssignmentRequest.retryConfiguration, specRetryConfiguration);
|
|
1730
1746
|
if (this.logger)
|
|
1731
1747
|
retrier.logger = this.logger;
|
|
@@ -1774,11 +1790,11 @@ class OperatorControlAssignmentClient {
|
|
|
1774
1790
|
}
|
|
1775
1791
|
/**
|
|
1776
1792
|
* Deletes the specified Operator Control Assignment. This has the effect of unassigning the specific Operator Control from the target resource.
|
|
1777
|
-
* This operation
|
|
1793
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1778
1794
|
* @param DeleteOperatorControlAssignmentRequest
|
|
1779
1795
|
* @return DeleteOperatorControlAssignmentResponse
|
|
1780
1796
|
* @throws OciError when an error occurs
|
|
1781
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1797
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.1/operatoraccesscontrol/DeleteOperatorControlAssignment.ts.html |here} to see how to use DeleteOperatorControlAssignment API.
|
|
1782
1798
|
*/
|
|
1783
1799
|
deleteOperatorControlAssignment(deleteOperatorControlAssignmentRequest) {
|
|
1784
1800
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1797,7 +1813,7 @@ class OperatorControlAssignmentClient {
|
|
|
1797
1813
|
"if-match": deleteOperatorControlAssignmentRequest.ifMatch,
|
|
1798
1814
|
"opc-request-id": deleteOperatorControlAssignmentRequest.opcRequestId
|
|
1799
1815
|
};
|
|
1800
|
-
const specRetryConfiguration = common.
|
|
1816
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1801
1817
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteOperatorControlAssignmentRequest.retryConfiguration, specRetryConfiguration);
|
|
1802
1818
|
if (this.logger)
|
|
1803
1819
|
retrier.logger = this.logger;
|
|
@@ -1831,11 +1847,11 @@ class OperatorControlAssignmentClient {
|
|
|
1831
1847
|
}
|
|
1832
1848
|
/**
|
|
1833
1849
|
* Gets the details of an Operator Control Assignment of the specified ID.
|
|
1834
|
-
* This operation
|
|
1850
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1835
1851
|
* @param GetOperatorControlAssignmentRequest
|
|
1836
1852
|
* @return GetOperatorControlAssignmentResponse
|
|
1837
1853
|
* @throws OciError when an error occurs
|
|
1838
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1854
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.1/operatoraccesscontrol/GetOperatorControlAssignment.ts.html |here} to see how to use GetOperatorControlAssignment API.
|
|
1839
1855
|
*/
|
|
1840
1856
|
getOperatorControlAssignment(getOperatorControlAssignmentRequest) {
|
|
1841
1857
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1851,7 +1867,7 @@ class OperatorControlAssignmentClient {
|
|
|
1851
1867
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1852
1868
|
"opc-request-id": getOperatorControlAssignmentRequest.opcRequestId
|
|
1853
1869
|
};
|
|
1854
|
-
const specRetryConfiguration = common.
|
|
1870
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1855
1871
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getOperatorControlAssignmentRequest.retryConfiguration, specRetryConfiguration);
|
|
1856
1872
|
if (this.logger)
|
|
1857
1873
|
retrier.logger = this.logger;
|
|
@@ -1894,11 +1910,11 @@ class OperatorControlAssignmentClient {
|
|
|
1894
1910
|
}
|
|
1895
1911
|
/**
|
|
1896
1912
|
* Lists all Operator Control Assignments.
|
|
1897
|
-
* This operation
|
|
1913
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1898
1914
|
* @param ListOperatorControlAssignmentsRequest
|
|
1899
1915
|
* @return ListOperatorControlAssignmentsResponse
|
|
1900
1916
|
* @throws OciError when an error occurs
|
|
1901
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1917
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.1/operatoraccesscontrol/ListOperatorControlAssignments.ts.html |here} to see how to use ListOperatorControlAssignments API.
|
|
1902
1918
|
*/
|
|
1903
1919
|
listOperatorControlAssignments(listOperatorControlAssignmentsRequest) {
|
|
1904
1920
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1922,7 +1938,7 @@ class OperatorControlAssignmentClient {
|
|
|
1922
1938
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1923
1939
|
"opc-request-id": listOperatorControlAssignmentsRequest.opcRequestId
|
|
1924
1940
|
};
|
|
1925
|
-
const specRetryConfiguration = common.
|
|
1941
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1926
1942
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listOperatorControlAssignmentsRequest.retryConfiguration, specRetryConfiguration);
|
|
1927
1943
|
if (this.logger)
|
|
1928
1944
|
retrier.logger = this.logger;
|
|
@@ -1966,11 +1982,11 @@ class OperatorControlAssignmentClient {
|
|
|
1966
1982
|
/**
|
|
1967
1983
|
* Modifies the existing Operator Control assignment of the specified Operator Control assignment ID. Modifying the assignment does not change the Operator Control assignment ID.
|
|
1968
1984
|
*
|
|
1969
|
-
* This operation
|
|
1985
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1970
1986
|
* @param UpdateOperatorControlAssignmentRequest
|
|
1971
1987
|
* @return UpdateOperatorControlAssignmentResponse
|
|
1972
1988
|
* @throws OciError when an error occurs
|
|
1973
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1989
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.1/operatoraccesscontrol/UpdateOperatorControlAssignment.ts.html |here} to see how to use UpdateOperatorControlAssignment API.
|
|
1974
1990
|
*/
|
|
1975
1991
|
updateOperatorControlAssignment(updateOperatorControlAssignmentRequest) {
|
|
1976
1992
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1987,7 +2003,7 @@ class OperatorControlAssignmentClient {
|
|
|
1987
2003
|
"if-match": updateOperatorControlAssignmentRequest.ifMatch,
|
|
1988
2004
|
"opc-request-id": updateOperatorControlAssignmentRequest.opcRequestId
|
|
1989
2005
|
};
|
|
1990
|
-
const specRetryConfiguration = common.
|
|
2006
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1991
2007
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateOperatorControlAssignmentRequest.retryConfiguration, specRetryConfiguration);
|
|
1992
2008
|
if (this.logger)
|
|
1993
2009
|
retrier.logger = this.logger;
|