oci-tenantmanagercontrolplane 2.27.0 → 2.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client.d.ts +57 -48
- package/lib/client.js +201 -96
- package/lib/client.js.map +1 -1
- package/lib/request/accept-recipient-invitation-request.d.ts +1 -1
- package/lib/request/activate-order-request.d.ts +1 -1
- package/lib/request/approve-organization-tenancy-for-transfer-request.d.ts +1 -1
- package/lib/request/cancel-sender-invitation-request.d.ts +1 -1
- package/lib/request/create-child-tenancy-request.d.ts +1 -1
- package/lib/request/create-domain-governance-request.d.ts +1 -1
- package/lib/request/create-domain-request.d.ts +1 -1
- package/lib/request/create-sender-invitation-request.d.ts +1 -1
- package/lib/request/create-subscription-mapping-request.d.ts +1 -1
- package/lib/request/delete-domain-governance-request.d.ts +1 -1
- package/lib/request/delete-domain-request.d.ts +1 -1
- package/lib/request/delete-link-request.d.ts +1 -1
- package/lib/request/delete-organization-tenancy-request.d.ts +1 -1
- package/lib/request/delete-subscription-mapping-request.d.ts +1 -1
- package/lib/request/get-assigned-subscription-request.d.ts +1 -1
- package/lib/request/get-domain-governance-request.d.ts +1 -1
- package/lib/request/get-domain-request.d.ts +1 -1
- package/lib/request/get-link-request.d.ts +1 -1
- package/lib/request/get-order-request.d.ts +1 -1
- package/lib/request/get-organization-request.d.ts +1 -1
- package/lib/request/get-organization-tenancy-request.d.ts +1 -1
- package/lib/request/get-recipient-invitation-request.d.ts +1 -1
- package/lib/request/get-sender-invitation-request.d.ts +1 -1
- package/lib/request/get-subscription-mapping-request.d.ts +1 -1
- package/lib/request/get-subscription-request.d.ts +1 -1
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/ignore-recipient-invitation-request.d.ts +1 -1
- package/lib/request/list-assigned-subscriptions-request.d.ts +1 -1
- package/lib/request/list-available-regions-request.d.ts +1 -1
- package/lib/request/list-domain-governances-request.d.ts +1 -1
- package/lib/request/list-domains-request.d.ts +1 -1
- package/lib/request/list-links-request.d.ts +1 -1
- package/lib/request/list-organization-tenancies-request.d.ts +1 -1
- package/lib/request/list-organizations-request.d.ts +1 -1
- package/lib/request/list-recipient-invitations-request.d.ts +1 -1
- package/lib/request/list-sender-invitations-request.d.ts +1 -1
- package/lib/request/list-subscription-mappings-request.d.ts +1 -1
- package/lib/request/list-subscriptions-request.d.ts +1 -1
- package/lib/request/list-work-request-errors-request.d.ts +1 -1
- package/lib/request/list-work-request-logs-request.d.ts +1 -1
- package/lib/request/list-work-requests-request.d.ts +1 -1
- package/lib/request/restore-organization-tenancy-request.d.ts +1 -1
- package/lib/request/unapprove-organization-tenancy-for-transfer-request.d.ts +1 -1
- package/lib/request/update-domain-governance-request.d.ts +1 -1
- package/lib/request/update-domain-request.d.ts +1 -1
- package/lib/request/update-organization-request.d.ts +1 -1
- package/lib/request/update-recipient-invitation-request.d.ts +1 -1
- package/lib/request/update-sender-invitation-request.d.ts +1 -1
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -67,6 +67,7 @@ class DomainClient {
|
|
|
67
67
|
this["_defaultHeaders"] = {};
|
|
68
68
|
this._circuitBreaker = null;
|
|
69
69
|
this._httpOptions = undefined;
|
|
70
|
+
this.targetService = "Domain";
|
|
70
71
|
const requestSigner = params.authenticationDetailsProvider
|
|
71
72
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
72
73
|
: null;
|
|
@@ -162,12 +163,14 @@ class DomainClient {
|
|
|
162
163
|
* @param CreateDomainRequest
|
|
163
164
|
* @return CreateDomainResponse
|
|
164
165
|
* @throws OciError when an error occurs
|
|
165
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
166
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/tenantmanagercontrolplane/CreateDomain.ts.html |here} to see how to use CreateDomain API.
|
|
166
167
|
*/
|
|
167
168
|
createDomain(createDomainRequest) {
|
|
168
169
|
return __awaiter(this, void 0, void 0, function* () {
|
|
169
170
|
if (this.logger)
|
|
170
171
|
this.logger.debug("Calling operation DomainClient#createDomain.");
|
|
172
|
+
const operationName = "createDomain";
|
|
173
|
+
const apiReferenceLink = "";
|
|
171
174
|
const pathParams = {};
|
|
172
175
|
const queryParams = {};
|
|
173
176
|
let headerParams = {
|
|
@@ -190,7 +193,7 @@ class DomainClient {
|
|
|
190
193
|
queryParams: queryParams
|
|
191
194
|
});
|
|
192
195
|
try {
|
|
193
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
196
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
194
197
|
const sdkResponse = oci_common_1.composeResponse({
|
|
195
198
|
responseObject: {},
|
|
196
199
|
body: yield response.json(),
|
|
@@ -228,12 +231,14 @@ class DomainClient {
|
|
|
228
231
|
* @param DeleteDomainRequest
|
|
229
232
|
* @return DeleteDomainResponse
|
|
230
233
|
* @throws OciError when an error occurs
|
|
231
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
234
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/tenantmanagercontrolplane/DeleteDomain.ts.html |here} to see how to use DeleteDomain API.
|
|
232
235
|
*/
|
|
233
236
|
deleteDomain(deleteDomainRequest) {
|
|
234
237
|
return __awaiter(this, void 0, void 0, function* () {
|
|
235
238
|
if (this.logger)
|
|
236
239
|
this.logger.debug("Calling operation DomainClient#deleteDomain.");
|
|
240
|
+
const operationName = "deleteDomain";
|
|
241
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/Domain/DeleteDomain";
|
|
237
242
|
const pathParams = {
|
|
238
243
|
"{domainId}": deleteDomainRequest.domainId
|
|
239
244
|
};
|
|
@@ -257,7 +262,7 @@ class DomainClient {
|
|
|
257
262
|
queryParams: queryParams
|
|
258
263
|
});
|
|
259
264
|
try {
|
|
260
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
265
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
261
266
|
const sdkResponse = oci_common_1.composeResponse({
|
|
262
267
|
responseObject: {},
|
|
263
268
|
responseHeaders: [
|
|
@@ -281,12 +286,14 @@ class DomainClient {
|
|
|
281
286
|
* @param GetDomainRequest
|
|
282
287
|
* @return GetDomainResponse
|
|
283
288
|
* @throws OciError when an error occurs
|
|
284
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
289
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/tenantmanagercontrolplane/GetDomain.ts.html |here} to see how to use GetDomain API.
|
|
285
290
|
*/
|
|
286
291
|
getDomain(getDomainRequest) {
|
|
287
292
|
return __awaiter(this, void 0, void 0, function* () {
|
|
288
293
|
if (this.logger)
|
|
289
294
|
this.logger.debug("Calling operation DomainClient#getDomain.");
|
|
295
|
+
const operationName = "getDomain";
|
|
296
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/Domain/GetDomain";
|
|
290
297
|
const pathParams = {
|
|
291
298
|
"{domainId}": getDomainRequest.domainId
|
|
292
299
|
};
|
|
@@ -309,7 +316,7 @@ class DomainClient {
|
|
|
309
316
|
queryParams: queryParams
|
|
310
317
|
});
|
|
311
318
|
try {
|
|
312
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
319
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
313
320
|
const sdkResponse = oci_common_1.composeResponse({
|
|
314
321
|
responseObject: {},
|
|
315
322
|
body: yield response.json(),
|
|
@@ -343,12 +350,14 @@ class DomainClient {
|
|
|
343
350
|
* @param ListDomainsRequest
|
|
344
351
|
* @return ListDomainsResponse
|
|
345
352
|
* @throws OciError when an error occurs
|
|
346
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
353
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/tenantmanagercontrolplane/ListDomains.ts.html |here} to see how to use ListDomains API.
|
|
347
354
|
*/
|
|
348
355
|
listDomains(listDomainsRequest) {
|
|
349
356
|
return __awaiter(this, void 0, void 0, function* () {
|
|
350
357
|
if (this.logger)
|
|
351
358
|
this.logger.debug("Calling operation DomainClient#listDomains.");
|
|
359
|
+
const operationName = "listDomains";
|
|
360
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/Domain/ListDomains";
|
|
352
361
|
const pathParams = {};
|
|
353
362
|
const queryParams = {
|
|
354
363
|
"compartmentId": listDomainsRequest.compartmentId,
|
|
@@ -379,7 +388,7 @@ class DomainClient {
|
|
|
379
388
|
queryParams: queryParams
|
|
380
389
|
});
|
|
381
390
|
try {
|
|
382
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
391
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
383
392
|
const sdkResponse = oci_common_1.composeResponse({
|
|
384
393
|
responseObject: {},
|
|
385
394
|
body: yield response.json(),
|
|
@@ -412,12 +421,14 @@ class DomainClient {
|
|
|
412
421
|
* @param UpdateDomainRequest
|
|
413
422
|
* @return UpdateDomainResponse
|
|
414
423
|
* @throws OciError when an error occurs
|
|
415
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
424
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/tenantmanagercontrolplane/UpdateDomain.ts.html |here} to see how to use UpdateDomain API.
|
|
416
425
|
*/
|
|
417
426
|
updateDomain(updateDomainRequest) {
|
|
418
427
|
return __awaiter(this, void 0, void 0, function* () {
|
|
419
428
|
if (this.logger)
|
|
420
429
|
this.logger.debug("Calling operation DomainClient#updateDomain.");
|
|
430
|
+
const operationName = "updateDomain";
|
|
431
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/Domain/UpdateDomain";
|
|
421
432
|
const pathParams = {
|
|
422
433
|
"{domainId}": updateDomainRequest.domainId
|
|
423
434
|
};
|
|
@@ -442,7 +453,7 @@ class DomainClient {
|
|
|
442
453
|
queryParams: queryParams
|
|
443
454
|
});
|
|
444
455
|
try {
|
|
445
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
456
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
446
457
|
const sdkResponse = oci_common_1.composeResponse({
|
|
447
458
|
responseObject: {},
|
|
448
459
|
body: yield response.json(),
|
|
@@ -485,6 +496,7 @@ class DomainGovernanceClient {
|
|
|
485
496
|
this["_defaultHeaders"] = {};
|
|
486
497
|
this._circuitBreaker = null;
|
|
487
498
|
this._httpOptions = undefined;
|
|
499
|
+
this.targetService = "DomainGovernance";
|
|
488
500
|
const requestSigner = params.authenticationDetailsProvider
|
|
489
501
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
490
502
|
: null;
|
|
@@ -580,12 +592,14 @@ class DomainGovernanceClient {
|
|
|
580
592
|
* @param CreateDomainGovernanceRequest
|
|
581
593
|
* @return CreateDomainGovernanceResponse
|
|
582
594
|
* @throws OciError when an error occurs
|
|
583
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
595
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/tenantmanagercontrolplane/CreateDomainGovernance.ts.html |here} to see how to use CreateDomainGovernance API.
|
|
584
596
|
*/
|
|
585
597
|
createDomainGovernance(createDomainGovernanceRequest) {
|
|
586
598
|
return __awaiter(this, void 0, void 0, function* () {
|
|
587
599
|
if (this.logger)
|
|
588
600
|
this.logger.debug("Calling operation DomainGovernanceClient#createDomainGovernance.");
|
|
601
|
+
const operationName = "createDomainGovernance";
|
|
602
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/DomainGovernance/CreateDomainGovernance";
|
|
589
603
|
const pathParams = {};
|
|
590
604
|
const queryParams = {};
|
|
591
605
|
let headerParams = {
|
|
@@ -608,7 +622,7 @@ class DomainGovernanceClient {
|
|
|
608
622
|
queryParams: queryParams
|
|
609
623
|
});
|
|
610
624
|
try {
|
|
611
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
625
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
612
626
|
const sdkResponse = oci_common_1.composeResponse({
|
|
613
627
|
responseObject: {},
|
|
614
628
|
body: yield response.json(),
|
|
@@ -641,12 +655,14 @@ class DomainGovernanceClient {
|
|
|
641
655
|
* @param DeleteDomainGovernanceRequest
|
|
642
656
|
* @return DeleteDomainGovernanceResponse
|
|
643
657
|
* @throws OciError when an error occurs
|
|
644
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
658
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/tenantmanagercontrolplane/DeleteDomainGovernance.ts.html |here} to see how to use DeleteDomainGovernance API.
|
|
645
659
|
*/
|
|
646
660
|
deleteDomainGovernance(deleteDomainGovernanceRequest) {
|
|
647
661
|
return __awaiter(this, void 0, void 0, function* () {
|
|
648
662
|
if (this.logger)
|
|
649
663
|
this.logger.debug("Calling operation DomainGovernanceClient#deleteDomainGovernance.");
|
|
664
|
+
const operationName = "deleteDomainGovernance";
|
|
665
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/DomainGovernance/DeleteDomainGovernance";
|
|
650
666
|
const pathParams = {
|
|
651
667
|
"{domainGovernanceId}": deleteDomainGovernanceRequest.domainGovernanceId
|
|
652
668
|
};
|
|
@@ -670,7 +686,7 @@ class DomainGovernanceClient {
|
|
|
670
686
|
queryParams: queryParams
|
|
671
687
|
});
|
|
672
688
|
try {
|
|
673
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
689
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
674
690
|
const sdkResponse = oci_common_1.composeResponse({
|
|
675
691
|
responseObject: {},
|
|
676
692
|
responseHeaders: [
|
|
@@ -694,12 +710,14 @@ class DomainGovernanceClient {
|
|
|
694
710
|
* @param GetDomainGovernanceRequest
|
|
695
711
|
* @return GetDomainGovernanceResponse
|
|
696
712
|
* @throws OciError when an error occurs
|
|
697
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
713
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/tenantmanagercontrolplane/GetDomainGovernance.ts.html |here} to see how to use GetDomainGovernance API.
|
|
698
714
|
*/
|
|
699
715
|
getDomainGovernance(getDomainGovernanceRequest) {
|
|
700
716
|
return __awaiter(this, void 0, void 0, function* () {
|
|
701
717
|
if (this.logger)
|
|
702
718
|
this.logger.debug("Calling operation DomainGovernanceClient#getDomainGovernance.");
|
|
719
|
+
const operationName = "getDomainGovernance";
|
|
720
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/DomainGovernance/GetDomainGovernance";
|
|
703
721
|
const pathParams = {
|
|
704
722
|
"{domainGovernanceId}": getDomainGovernanceRequest.domainGovernanceId
|
|
705
723
|
};
|
|
@@ -722,7 +740,7 @@ class DomainGovernanceClient {
|
|
|
722
740
|
queryParams: queryParams
|
|
723
741
|
});
|
|
724
742
|
try {
|
|
725
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
743
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
726
744
|
const sdkResponse = oci_common_1.composeResponse({
|
|
727
745
|
responseObject: {},
|
|
728
746
|
body: yield response.json(),
|
|
@@ -756,12 +774,14 @@ class DomainGovernanceClient {
|
|
|
756
774
|
* @param ListDomainGovernancesRequest
|
|
757
775
|
* @return ListDomainGovernancesResponse
|
|
758
776
|
* @throws OciError when an error occurs
|
|
759
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
777
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/tenantmanagercontrolplane/ListDomainGovernances.ts.html |here} to see how to use ListDomainGovernances API.
|
|
760
778
|
*/
|
|
761
779
|
listDomainGovernances(listDomainGovernancesRequest) {
|
|
762
780
|
return __awaiter(this, void 0, void 0, function* () {
|
|
763
781
|
if (this.logger)
|
|
764
782
|
this.logger.debug("Calling operation DomainGovernanceClient#listDomainGovernances.");
|
|
783
|
+
const operationName = "listDomainGovernances";
|
|
784
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/DomainGovernance/ListDomainGovernances";
|
|
765
785
|
const pathParams = {};
|
|
766
786
|
const queryParams = {
|
|
767
787
|
"compartmentId": listDomainGovernancesRequest.compartmentId,
|
|
@@ -792,7 +812,7 @@ class DomainGovernanceClient {
|
|
|
792
812
|
queryParams: queryParams
|
|
793
813
|
});
|
|
794
814
|
try {
|
|
795
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
815
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
796
816
|
const sdkResponse = oci_common_1.composeResponse({
|
|
797
817
|
responseObject: {},
|
|
798
818
|
body: yield response.json(),
|
|
@@ -825,12 +845,14 @@ class DomainGovernanceClient {
|
|
|
825
845
|
* @param UpdateDomainGovernanceRequest
|
|
826
846
|
* @return UpdateDomainGovernanceResponse
|
|
827
847
|
* @throws OciError when an error occurs
|
|
828
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
848
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/tenantmanagercontrolplane/UpdateDomainGovernance.ts.html |here} to see how to use UpdateDomainGovernance API.
|
|
829
849
|
*/
|
|
830
850
|
updateDomainGovernance(updateDomainGovernanceRequest) {
|
|
831
851
|
return __awaiter(this, void 0, void 0, function* () {
|
|
832
852
|
if (this.logger)
|
|
833
853
|
this.logger.debug("Calling operation DomainGovernanceClient#updateDomainGovernance.");
|
|
854
|
+
const operationName = "updateDomainGovernance";
|
|
855
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/DomainGovernance/UpdateDomainGovernance";
|
|
834
856
|
const pathParams = {
|
|
835
857
|
"{domainGovernanceId}": updateDomainGovernanceRequest.domainGovernanceId
|
|
836
858
|
};
|
|
@@ -855,7 +877,7 @@ class DomainGovernanceClient {
|
|
|
855
877
|
queryParams: queryParams
|
|
856
878
|
});
|
|
857
879
|
try {
|
|
858
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
880
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
859
881
|
const sdkResponse = oci_common_1.composeResponse({
|
|
860
882
|
responseObject: {},
|
|
861
883
|
body: yield response.json(),
|
|
@@ -898,6 +920,7 @@ class LinkClient {
|
|
|
898
920
|
this["_defaultHeaders"] = {};
|
|
899
921
|
this._circuitBreaker = null;
|
|
900
922
|
this._httpOptions = undefined;
|
|
923
|
+
this.targetService = "Link";
|
|
901
924
|
const requestSigner = params.authenticationDetailsProvider
|
|
902
925
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
903
926
|
: null;
|
|
@@ -993,12 +1016,14 @@ class LinkClient {
|
|
|
993
1016
|
* @param DeleteLinkRequest
|
|
994
1017
|
* @return DeleteLinkResponse
|
|
995
1018
|
* @throws OciError when an error occurs
|
|
996
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1019
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/tenantmanagercontrolplane/DeleteLink.ts.html |here} to see how to use DeleteLink API.
|
|
997
1020
|
*/
|
|
998
1021
|
deleteLink(deleteLinkRequest) {
|
|
999
1022
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1000
1023
|
if (this.logger)
|
|
1001
1024
|
this.logger.debug("Calling operation LinkClient#deleteLink.");
|
|
1025
|
+
const operationName = "deleteLink";
|
|
1026
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/Link/DeleteLink";
|
|
1002
1027
|
const pathParams = {
|
|
1003
1028
|
"{linkId}": deleteLinkRequest.linkId
|
|
1004
1029
|
};
|
|
@@ -1022,7 +1047,7 @@ class LinkClient {
|
|
|
1022
1047
|
queryParams: queryParams
|
|
1023
1048
|
});
|
|
1024
1049
|
try {
|
|
1025
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1050
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1026
1051
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1027
1052
|
responseObject: {},
|
|
1028
1053
|
responseHeaders: [
|
|
@@ -1051,12 +1076,14 @@ class LinkClient {
|
|
|
1051
1076
|
* @param GetLinkRequest
|
|
1052
1077
|
* @return GetLinkResponse
|
|
1053
1078
|
* @throws OciError when an error occurs
|
|
1054
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1079
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/tenantmanagercontrolplane/GetLink.ts.html |here} to see how to use GetLink API.
|
|
1055
1080
|
*/
|
|
1056
1081
|
getLink(getLinkRequest) {
|
|
1057
1082
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1058
1083
|
if (this.logger)
|
|
1059
1084
|
this.logger.debug("Calling operation LinkClient#getLink.");
|
|
1085
|
+
const operationName = "getLink";
|
|
1086
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/Link/GetLink";
|
|
1060
1087
|
const pathParams = {
|
|
1061
1088
|
"{linkId}": getLinkRequest.linkId
|
|
1062
1089
|
};
|
|
@@ -1079,7 +1106,7 @@ class LinkClient {
|
|
|
1079
1106
|
queryParams: queryParams
|
|
1080
1107
|
});
|
|
1081
1108
|
try {
|
|
1082
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1109
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1083
1110
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1084
1111
|
responseObject: {},
|
|
1085
1112
|
body: yield response.json(),
|
|
@@ -1112,12 +1139,14 @@ class LinkClient {
|
|
|
1112
1139
|
* @param ListLinksRequest
|
|
1113
1140
|
* @return ListLinksResponse
|
|
1114
1141
|
* @throws OciError when an error occurs
|
|
1115
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1142
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/tenantmanagercontrolplane/ListLinks.ts.html |here} to see how to use ListLinks API.
|
|
1116
1143
|
*/
|
|
1117
1144
|
listLinks(listLinksRequest) {
|
|
1118
1145
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1119
1146
|
if (this.logger)
|
|
1120
1147
|
this.logger.debug("Calling operation LinkClient#listLinks.");
|
|
1148
|
+
const operationName = "listLinks";
|
|
1149
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/Link/ListLinks";
|
|
1121
1150
|
const pathParams = {};
|
|
1122
1151
|
const queryParams = {
|
|
1123
1152
|
"parentTenancyId": listLinksRequest.parentTenancyId,
|
|
@@ -1145,7 +1174,7 @@ class LinkClient {
|
|
|
1145
1174
|
queryParams: queryParams
|
|
1146
1175
|
});
|
|
1147
1176
|
try {
|
|
1148
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1177
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1149
1178
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1150
1179
|
responseObject: {},
|
|
1151
1180
|
body: yield response.json(),
|
|
@@ -1188,6 +1217,7 @@ class OrdersClient {
|
|
|
1188
1217
|
this["_defaultHeaders"] = {};
|
|
1189
1218
|
this._circuitBreaker = null;
|
|
1190
1219
|
this._httpOptions = undefined;
|
|
1220
|
+
this.targetService = "Orders";
|
|
1191
1221
|
const requestSigner = params.authenticationDetailsProvider
|
|
1192
1222
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
1193
1223
|
: null;
|
|
@@ -1262,12 +1292,14 @@ class OrdersClient {
|
|
|
1262
1292
|
* @param ActivateOrderRequest
|
|
1263
1293
|
* @return ActivateOrderResponse
|
|
1264
1294
|
* @throws OciError when an error occurs
|
|
1265
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1295
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/tenantmanagercontrolplane/ActivateOrder.ts.html |here} to see how to use ActivateOrder API.
|
|
1266
1296
|
*/
|
|
1267
1297
|
activateOrder(activateOrderRequest) {
|
|
1268
1298
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1269
1299
|
if (this.logger)
|
|
1270
1300
|
this.logger.debug("Calling operation OrdersClient#activateOrder.");
|
|
1301
|
+
const operationName = "activateOrder";
|
|
1302
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/Order/ActivateOrder";
|
|
1271
1303
|
const pathParams = {
|
|
1272
1304
|
"{activationToken}": activateOrderRequest.activationToken
|
|
1273
1305
|
};
|
|
@@ -1292,7 +1324,7 @@ class OrdersClient {
|
|
|
1292
1324
|
queryParams: queryParams
|
|
1293
1325
|
});
|
|
1294
1326
|
try {
|
|
1295
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1327
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1296
1328
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1297
1329
|
responseObject: {},
|
|
1298
1330
|
responseHeaders: [
|
|
@@ -1322,12 +1354,14 @@ class OrdersClient {
|
|
|
1322
1354
|
* @param GetOrderRequest
|
|
1323
1355
|
* @return GetOrderResponse
|
|
1324
1356
|
* @throws OciError when an error occurs
|
|
1325
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1357
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/tenantmanagercontrolplane/GetOrder.ts.html |here} to see how to use GetOrder API.
|
|
1326
1358
|
*/
|
|
1327
1359
|
getOrder(getOrderRequest) {
|
|
1328
1360
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1329
1361
|
if (this.logger)
|
|
1330
1362
|
this.logger.debug("Calling operation OrdersClient#getOrder.");
|
|
1363
|
+
const operationName = "getOrder";
|
|
1364
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/Order/GetOrder";
|
|
1331
1365
|
const pathParams = {
|
|
1332
1366
|
"{activationToken}": getOrderRequest.activationToken
|
|
1333
1367
|
};
|
|
@@ -1350,7 +1384,7 @@ class OrdersClient {
|
|
|
1350
1384
|
queryParams: queryParams
|
|
1351
1385
|
});
|
|
1352
1386
|
try {
|
|
1353
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1387
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1354
1388
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1355
1389
|
responseObject: {},
|
|
1356
1390
|
body: yield response.json(),
|
|
@@ -1388,6 +1422,7 @@ class OrganizationClient {
|
|
|
1388
1422
|
this["_defaultHeaders"] = {};
|
|
1389
1423
|
this._circuitBreaker = null;
|
|
1390
1424
|
this._httpOptions = undefined;
|
|
1425
|
+
this.targetService = "Organization";
|
|
1391
1426
|
const requestSigner = params.authenticationDetailsProvider
|
|
1392
1427
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
1393
1428
|
: null;
|
|
@@ -1483,12 +1518,14 @@ class OrganizationClient {
|
|
|
1483
1518
|
* @param ApproveOrganizationTenancyForTransferRequest
|
|
1484
1519
|
* @return ApproveOrganizationTenancyForTransferResponse
|
|
1485
1520
|
* @throws OciError when an error occurs
|
|
1486
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1521
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/tenantmanagercontrolplane/ApproveOrganizationTenancyForTransfer.ts.html |here} to see how to use ApproveOrganizationTenancyForTransfer API.
|
|
1487
1522
|
*/
|
|
1488
1523
|
approveOrganizationTenancyForTransfer(approveOrganizationTenancyForTransferRequest) {
|
|
1489
1524
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1490
1525
|
if (this.logger)
|
|
1491
1526
|
this.logger.debug("Calling operation OrganizationClient#approveOrganizationTenancyForTransfer.");
|
|
1527
|
+
const operationName = "approveOrganizationTenancyForTransfer";
|
|
1528
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/OrganizationTenancy/ApproveOrganizationTenancyForTransfer";
|
|
1492
1529
|
const pathParams = {
|
|
1493
1530
|
"{organizationTenancyId}": approveOrganizationTenancyForTransferRequest.organizationTenancyId
|
|
1494
1531
|
};
|
|
@@ -1515,7 +1552,7 @@ class OrganizationClient {
|
|
|
1515
1552
|
queryParams: queryParams
|
|
1516
1553
|
});
|
|
1517
1554
|
try {
|
|
1518
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1555
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1519
1556
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1520
1557
|
responseObject: {},
|
|
1521
1558
|
body: yield response.json(),
|
|
@@ -1548,12 +1585,14 @@ class OrganizationClient {
|
|
|
1548
1585
|
* @param CreateChildTenancyRequest
|
|
1549
1586
|
* @return CreateChildTenancyResponse
|
|
1550
1587
|
* @throws OciError when an error occurs
|
|
1551
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1588
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/tenantmanagercontrolplane/CreateChildTenancy.ts.html |here} to see how to use CreateChildTenancy API.
|
|
1552
1589
|
*/
|
|
1553
1590
|
createChildTenancy(createChildTenancyRequest) {
|
|
1554
1591
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1555
1592
|
if (this.logger)
|
|
1556
1593
|
this.logger.debug("Calling operation OrganizationClient#createChildTenancy.");
|
|
1594
|
+
const operationName = "createChildTenancy";
|
|
1595
|
+
const apiReferenceLink = "";
|
|
1557
1596
|
const pathParams = {};
|
|
1558
1597
|
const queryParams = {};
|
|
1559
1598
|
let headerParams = {
|
|
@@ -1576,7 +1615,7 @@ class OrganizationClient {
|
|
|
1576
1615
|
queryParams: queryParams
|
|
1577
1616
|
});
|
|
1578
1617
|
try {
|
|
1579
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1618
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1580
1619
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1581
1620
|
responseObject: {},
|
|
1582
1621
|
responseHeaders: [
|
|
@@ -1605,12 +1644,14 @@ class OrganizationClient {
|
|
|
1605
1644
|
* @param DeleteOrganizationTenancyRequest
|
|
1606
1645
|
* @return DeleteOrganizationTenancyResponse
|
|
1607
1646
|
* @throws OciError when an error occurs
|
|
1608
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1647
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/tenantmanagercontrolplane/DeleteOrganizationTenancy.ts.html |here} to see how to use DeleteOrganizationTenancy API.
|
|
1609
1648
|
*/
|
|
1610
1649
|
deleteOrganizationTenancy(deleteOrganizationTenancyRequest) {
|
|
1611
1650
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1612
1651
|
if (this.logger)
|
|
1613
1652
|
this.logger.debug("Calling operation OrganizationClient#deleteOrganizationTenancy.");
|
|
1653
|
+
const operationName = "deleteOrganizationTenancy";
|
|
1654
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/OrganizationTenancy/DeleteOrganizationTenancy";
|
|
1614
1655
|
const pathParams = {
|
|
1615
1656
|
"{organizationTenancyId}": deleteOrganizationTenancyRequest.organizationTenancyId
|
|
1616
1657
|
};
|
|
@@ -1635,7 +1676,7 @@ class OrganizationClient {
|
|
|
1635
1676
|
queryParams: queryParams
|
|
1636
1677
|
});
|
|
1637
1678
|
try {
|
|
1638
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1679
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1639
1680
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1640
1681
|
responseObject: {},
|
|
1641
1682
|
responseHeaders: [
|
|
@@ -1664,12 +1705,14 @@ class OrganizationClient {
|
|
|
1664
1705
|
* @param GetOrganizationRequest
|
|
1665
1706
|
* @return GetOrganizationResponse
|
|
1666
1707
|
* @throws OciError when an error occurs
|
|
1667
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1708
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/tenantmanagercontrolplane/GetOrganization.ts.html |here} to see how to use GetOrganization API.
|
|
1668
1709
|
*/
|
|
1669
1710
|
getOrganization(getOrganizationRequest) {
|
|
1670
1711
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1671
1712
|
if (this.logger)
|
|
1672
1713
|
this.logger.debug("Calling operation OrganizationClient#getOrganization.");
|
|
1714
|
+
const operationName = "getOrganization";
|
|
1715
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/Organization/GetOrganization";
|
|
1673
1716
|
const pathParams = {
|
|
1674
1717
|
"{organizationId}": getOrganizationRequest.organizationId
|
|
1675
1718
|
};
|
|
@@ -1692,7 +1735,7 @@ class OrganizationClient {
|
|
|
1692
1735
|
queryParams: queryParams
|
|
1693
1736
|
});
|
|
1694
1737
|
try {
|
|
1695
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1738
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1696
1739
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1697
1740
|
responseObject: {},
|
|
1698
1741
|
body: yield response.json(),
|
|
@@ -1725,12 +1768,14 @@ class OrganizationClient {
|
|
|
1725
1768
|
* @param GetOrganizationTenancyRequest
|
|
1726
1769
|
* @return GetOrganizationTenancyResponse
|
|
1727
1770
|
* @throws OciError when an error occurs
|
|
1728
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1771
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/tenantmanagercontrolplane/GetOrganizationTenancy.ts.html |here} to see how to use GetOrganizationTenancy API.
|
|
1729
1772
|
*/
|
|
1730
1773
|
getOrganizationTenancy(getOrganizationTenancyRequest) {
|
|
1731
1774
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1732
1775
|
if (this.logger)
|
|
1733
1776
|
this.logger.debug("Calling operation OrganizationClient#getOrganizationTenancy.");
|
|
1777
|
+
const operationName = "getOrganizationTenancy";
|
|
1778
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/OrganizationTenancy/GetOrganizationTenancy";
|
|
1734
1779
|
const pathParams = {
|
|
1735
1780
|
"{organizationId}": getOrganizationTenancyRequest.organizationId,
|
|
1736
1781
|
"{tenancyId}": getOrganizationTenancyRequest.tenancyId
|
|
@@ -1754,7 +1799,7 @@ class OrganizationClient {
|
|
|
1754
1799
|
queryParams: queryParams
|
|
1755
1800
|
});
|
|
1756
1801
|
try {
|
|
1757
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1802
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1758
1803
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1759
1804
|
responseObject: {},
|
|
1760
1805
|
body: yield response.json(),
|
|
@@ -1787,12 +1832,14 @@ class OrganizationClient {
|
|
|
1787
1832
|
* @param ListOrganizationTenanciesRequest
|
|
1788
1833
|
* @return ListOrganizationTenanciesResponse
|
|
1789
1834
|
* @throws OciError when an error occurs
|
|
1790
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1835
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/tenantmanagercontrolplane/ListOrganizationTenancies.ts.html |here} to see how to use ListOrganizationTenancies API.
|
|
1791
1836
|
*/
|
|
1792
1837
|
listOrganizationTenancies(listOrganizationTenanciesRequest) {
|
|
1793
1838
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1794
1839
|
if (this.logger)
|
|
1795
1840
|
this.logger.debug("Calling operation OrganizationClient#listOrganizationTenancies.");
|
|
1841
|
+
const operationName = "listOrganizationTenancies";
|
|
1842
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/Organization/ListOrganizationTenancies";
|
|
1796
1843
|
const pathParams = {
|
|
1797
1844
|
"{organizationId}": listOrganizationTenanciesRequest.organizationId
|
|
1798
1845
|
};
|
|
@@ -1818,7 +1865,7 @@ class OrganizationClient {
|
|
|
1818
1865
|
queryParams: queryParams
|
|
1819
1866
|
});
|
|
1820
1867
|
try {
|
|
1821
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1868
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1822
1869
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1823
1870
|
responseObject: {},
|
|
1824
1871
|
body: yield response.json(),
|
|
@@ -1851,12 +1898,14 @@ class OrganizationClient {
|
|
|
1851
1898
|
* @param ListOrganizationsRequest
|
|
1852
1899
|
* @return ListOrganizationsResponse
|
|
1853
1900
|
* @throws OciError when an error occurs
|
|
1854
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1901
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/tenantmanagercontrolplane/ListOrganizations.ts.html |here} to see how to use ListOrganizations API.
|
|
1855
1902
|
*/
|
|
1856
1903
|
listOrganizations(listOrganizationsRequest) {
|
|
1857
1904
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1858
1905
|
if (this.logger)
|
|
1859
1906
|
this.logger.debug("Calling operation OrganizationClient#listOrganizations.");
|
|
1907
|
+
const operationName = "listOrganizations";
|
|
1908
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/Organization/ListOrganizations";
|
|
1860
1909
|
const pathParams = {};
|
|
1861
1910
|
const queryParams = {
|
|
1862
1911
|
"compartmentId": listOrganizationsRequest.compartmentId,
|
|
@@ -1881,7 +1930,7 @@ class OrganizationClient {
|
|
|
1881
1930
|
queryParams: queryParams
|
|
1882
1931
|
});
|
|
1883
1932
|
try {
|
|
1884
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1933
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1885
1934
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1886
1935
|
responseObject: {},
|
|
1887
1936
|
body: yield response.json(),
|
|
@@ -1914,12 +1963,14 @@ class OrganizationClient {
|
|
|
1914
1963
|
* @param RestoreOrganizationTenancyRequest
|
|
1915
1964
|
* @return RestoreOrganizationTenancyResponse
|
|
1916
1965
|
* @throws OciError when an error occurs
|
|
1917
|
-
* @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.28.0/tenantmanagercontrolplane/RestoreOrganizationTenancy.ts.html |here} to see how to use RestoreOrganizationTenancy API.
|
|
1918
1967
|
*/
|
|
1919
1968
|
restoreOrganizationTenancy(restoreOrganizationTenancyRequest) {
|
|
1920
1969
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1921
1970
|
if (this.logger)
|
|
1922
1971
|
this.logger.debug("Calling operation OrganizationClient#restoreOrganizationTenancy.");
|
|
1972
|
+
const operationName = "restoreOrganizationTenancy";
|
|
1973
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/OrganizationTenancy/RestoreOrganizationTenancy";
|
|
1923
1974
|
const pathParams = {
|
|
1924
1975
|
"{organizationTenancyId}": restoreOrganizationTenancyRequest.organizationTenancyId
|
|
1925
1976
|
};
|
|
@@ -1943,7 +1994,7 @@ class OrganizationClient {
|
|
|
1943
1994
|
queryParams: queryParams
|
|
1944
1995
|
});
|
|
1945
1996
|
try {
|
|
1946
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1997
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1947
1998
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1948
1999
|
responseObject: {},
|
|
1949
2000
|
responseHeaders: [
|
|
@@ -1972,12 +2023,14 @@ class OrganizationClient {
|
|
|
1972
2023
|
* @param UnapproveOrganizationTenancyForTransferRequest
|
|
1973
2024
|
* @return UnapproveOrganizationTenancyForTransferResponse
|
|
1974
2025
|
* @throws OciError when an error occurs
|
|
1975
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2026
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/tenantmanagercontrolplane/UnapproveOrganizationTenancyForTransfer.ts.html |here} to see how to use UnapproveOrganizationTenancyForTransfer API.
|
|
1976
2027
|
*/
|
|
1977
2028
|
unapproveOrganizationTenancyForTransfer(unapproveOrganizationTenancyForTransferRequest) {
|
|
1978
2029
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1979
2030
|
if (this.logger)
|
|
1980
2031
|
this.logger.debug("Calling operation OrganizationClient#unapproveOrganizationTenancyForTransfer.");
|
|
2032
|
+
const operationName = "unapproveOrganizationTenancyForTransfer";
|
|
2033
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/OrganizationTenancy/UnapproveOrganizationTenancyForTransfer";
|
|
1981
2034
|
const pathParams = {
|
|
1982
2035
|
"{organizationTenancyId}": unapproveOrganizationTenancyForTransferRequest.organizationTenancyId
|
|
1983
2036
|
};
|
|
@@ -2004,7 +2057,7 @@ class OrganizationClient {
|
|
|
2004
2057
|
queryParams: queryParams
|
|
2005
2058
|
});
|
|
2006
2059
|
try {
|
|
2007
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2060
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2008
2061
|
const sdkResponse = oci_common_1.composeResponse({
|
|
2009
2062
|
responseObject: {},
|
|
2010
2063
|
body: yield response.json(),
|
|
@@ -2037,12 +2090,14 @@ class OrganizationClient {
|
|
|
2037
2090
|
* @param UpdateOrganizationRequest
|
|
2038
2091
|
* @return UpdateOrganizationResponse
|
|
2039
2092
|
* @throws OciError when an error occurs
|
|
2040
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2093
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/tenantmanagercontrolplane/UpdateOrganization.ts.html |here} to see how to use UpdateOrganization API.
|
|
2041
2094
|
*/
|
|
2042
2095
|
updateOrganization(updateOrganizationRequest) {
|
|
2043
2096
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2044
2097
|
if (this.logger)
|
|
2045
2098
|
this.logger.debug("Calling operation OrganizationClient#updateOrganization.");
|
|
2099
|
+
const operationName = "updateOrganization";
|
|
2100
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/Organization/UpdateOrganization";
|
|
2046
2101
|
const pathParams = {
|
|
2047
2102
|
"{organizationId}": updateOrganizationRequest.organizationId
|
|
2048
2103
|
};
|
|
@@ -2068,7 +2123,7 @@ class OrganizationClient {
|
|
|
2068
2123
|
queryParams: queryParams
|
|
2069
2124
|
});
|
|
2070
2125
|
try {
|
|
2071
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2126
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2072
2127
|
const sdkResponse = oci_common_1.composeResponse({
|
|
2073
2128
|
responseObject: {},
|
|
2074
2129
|
responseHeaders: [
|
|
@@ -2107,6 +2162,7 @@ class RecipientInvitationClient {
|
|
|
2107
2162
|
this["_defaultHeaders"] = {};
|
|
2108
2163
|
this._circuitBreaker = null;
|
|
2109
2164
|
this._httpOptions = undefined;
|
|
2165
|
+
this.targetService = "RecipientInvitation";
|
|
2110
2166
|
const requestSigner = params.authenticationDetailsProvider
|
|
2111
2167
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
2112
2168
|
: null;
|
|
@@ -2202,12 +2258,14 @@ class RecipientInvitationClient {
|
|
|
2202
2258
|
* @param AcceptRecipientInvitationRequest
|
|
2203
2259
|
* @return AcceptRecipientInvitationResponse
|
|
2204
2260
|
* @throws OciError when an error occurs
|
|
2205
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2261
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/tenantmanagercontrolplane/AcceptRecipientInvitation.ts.html |here} to see how to use AcceptRecipientInvitation API.
|
|
2206
2262
|
*/
|
|
2207
2263
|
acceptRecipientInvitation(acceptRecipientInvitationRequest) {
|
|
2208
2264
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2209
2265
|
if (this.logger)
|
|
2210
2266
|
this.logger.debug("Calling operation RecipientInvitationClient#acceptRecipientInvitation.");
|
|
2267
|
+
const operationName = "acceptRecipientInvitation";
|
|
2268
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/RecipientInvitation/AcceptRecipientInvitation";
|
|
2211
2269
|
const pathParams = {
|
|
2212
2270
|
"{recipientInvitationId}": acceptRecipientInvitationRequest.recipientInvitationId
|
|
2213
2271
|
};
|
|
@@ -2232,7 +2290,7 @@ class RecipientInvitationClient {
|
|
|
2232
2290
|
queryParams: queryParams
|
|
2233
2291
|
});
|
|
2234
2292
|
try {
|
|
2235
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2293
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2236
2294
|
const sdkResponse = oci_common_1.composeResponse({
|
|
2237
2295
|
responseObject: {},
|
|
2238
2296
|
responseHeaders: [
|
|
@@ -2261,12 +2319,14 @@ class RecipientInvitationClient {
|
|
|
2261
2319
|
* @param GetRecipientInvitationRequest
|
|
2262
2320
|
* @return GetRecipientInvitationResponse
|
|
2263
2321
|
* @throws OciError when an error occurs
|
|
2264
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2322
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/tenantmanagercontrolplane/GetRecipientInvitation.ts.html |here} to see how to use GetRecipientInvitation API.
|
|
2265
2323
|
*/
|
|
2266
2324
|
getRecipientInvitation(getRecipientInvitationRequest) {
|
|
2267
2325
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2268
2326
|
if (this.logger)
|
|
2269
2327
|
this.logger.debug("Calling operation RecipientInvitationClient#getRecipientInvitation.");
|
|
2328
|
+
const operationName = "getRecipientInvitation";
|
|
2329
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/RecipientInvitation/GetRecipientInvitation";
|
|
2270
2330
|
const pathParams = {
|
|
2271
2331
|
"{recipientInvitationId}": getRecipientInvitationRequest.recipientInvitationId
|
|
2272
2332
|
};
|
|
@@ -2289,7 +2349,7 @@ class RecipientInvitationClient {
|
|
|
2289
2349
|
queryParams: queryParams
|
|
2290
2350
|
});
|
|
2291
2351
|
try {
|
|
2292
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2352
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2293
2353
|
const sdkResponse = oci_common_1.composeResponse({
|
|
2294
2354
|
responseObject: {},
|
|
2295
2355
|
body: yield response.json(),
|
|
@@ -2322,12 +2382,14 @@ class RecipientInvitationClient {
|
|
|
2322
2382
|
* @param IgnoreRecipientInvitationRequest
|
|
2323
2383
|
* @return IgnoreRecipientInvitationResponse
|
|
2324
2384
|
* @throws OciError when an error occurs
|
|
2325
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2385
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/tenantmanagercontrolplane/IgnoreRecipientInvitation.ts.html |here} to see how to use IgnoreRecipientInvitation API.
|
|
2326
2386
|
*/
|
|
2327
2387
|
ignoreRecipientInvitation(ignoreRecipientInvitationRequest) {
|
|
2328
2388
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2329
2389
|
if (this.logger)
|
|
2330
2390
|
this.logger.debug("Calling operation RecipientInvitationClient#ignoreRecipientInvitation.");
|
|
2391
|
+
const operationName = "ignoreRecipientInvitation";
|
|
2392
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/RecipientInvitation/IgnoreRecipientInvitation";
|
|
2331
2393
|
const pathParams = {
|
|
2332
2394
|
"{recipientInvitationId}": ignoreRecipientInvitationRequest.recipientInvitationId
|
|
2333
2395
|
};
|
|
@@ -2352,7 +2414,7 @@ class RecipientInvitationClient {
|
|
|
2352
2414
|
queryParams: queryParams
|
|
2353
2415
|
});
|
|
2354
2416
|
try {
|
|
2355
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2417
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2356
2418
|
const sdkResponse = oci_common_1.composeResponse({
|
|
2357
2419
|
responseObject: {},
|
|
2358
2420
|
body: yield response.json(),
|
|
@@ -2386,12 +2448,14 @@ class RecipientInvitationClient {
|
|
|
2386
2448
|
* @param ListRecipientInvitationsRequest
|
|
2387
2449
|
* @return ListRecipientInvitationsResponse
|
|
2388
2450
|
* @throws OciError when an error occurs
|
|
2389
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2451
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/tenantmanagercontrolplane/ListRecipientInvitations.ts.html |here} to see how to use ListRecipientInvitations API.
|
|
2390
2452
|
*/
|
|
2391
2453
|
listRecipientInvitations(listRecipientInvitationsRequest) {
|
|
2392
2454
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2393
2455
|
if (this.logger)
|
|
2394
2456
|
this.logger.debug("Calling operation RecipientInvitationClient#listRecipientInvitations.");
|
|
2457
|
+
const operationName = "listRecipientInvitations";
|
|
2458
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/RecipientInvitation/ListRecipientInvitations";
|
|
2395
2459
|
const pathParams = {};
|
|
2396
2460
|
const queryParams = {
|
|
2397
2461
|
"senderTenancyId": listRecipientInvitationsRequest.senderTenancyId,
|
|
@@ -2418,7 +2482,7 @@ class RecipientInvitationClient {
|
|
|
2418
2482
|
queryParams: queryParams
|
|
2419
2483
|
});
|
|
2420
2484
|
try {
|
|
2421
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2485
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2422
2486
|
const sdkResponse = oci_common_1.composeResponse({
|
|
2423
2487
|
responseObject: {},
|
|
2424
2488
|
body: yield response.json(),
|
|
@@ -2451,12 +2515,14 @@ class RecipientInvitationClient {
|
|
|
2451
2515
|
* @param UpdateRecipientInvitationRequest
|
|
2452
2516
|
* @return UpdateRecipientInvitationResponse
|
|
2453
2517
|
* @throws OciError when an error occurs
|
|
2454
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2518
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/tenantmanagercontrolplane/UpdateRecipientInvitation.ts.html |here} to see how to use UpdateRecipientInvitation API.
|
|
2455
2519
|
*/
|
|
2456
2520
|
updateRecipientInvitation(updateRecipientInvitationRequest) {
|
|
2457
2521
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2458
2522
|
if (this.logger)
|
|
2459
2523
|
this.logger.debug("Calling operation RecipientInvitationClient#updateRecipientInvitation.");
|
|
2524
|
+
const operationName = "updateRecipientInvitation";
|
|
2525
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/RecipientInvitation/UpdateRecipientInvitation";
|
|
2460
2526
|
const pathParams = {
|
|
2461
2527
|
"{recipientInvitationId}": updateRecipientInvitationRequest.recipientInvitationId
|
|
2462
2528
|
};
|
|
@@ -2481,7 +2547,7 @@ class RecipientInvitationClient {
|
|
|
2481
2547
|
queryParams: queryParams
|
|
2482
2548
|
});
|
|
2483
2549
|
try {
|
|
2484
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2550
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2485
2551
|
const sdkResponse = oci_common_1.composeResponse({
|
|
2486
2552
|
responseObject: {},
|
|
2487
2553
|
body: yield response.json(),
|
|
@@ -2524,6 +2590,7 @@ class SenderInvitationClient {
|
|
|
2524
2590
|
this["_defaultHeaders"] = {};
|
|
2525
2591
|
this._circuitBreaker = null;
|
|
2526
2592
|
this._httpOptions = undefined;
|
|
2593
|
+
this.targetService = "SenderInvitation";
|
|
2527
2594
|
const requestSigner = params.authenticationDetailsProvider
|
|
2528
2595
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
2529
2596
|
: null;
|
|
@@ -2619,12 +2686,14 @@ class SenderInvitationClient {
|
|
|
2619
2686
|
* @param CancelSenderInvitationRequest
|
|
2620
2687
|
* @return CancelSenderInvitationResponse
|
|
2621
2688
|
* @throws OciError when an error occurs
|
|
2622
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2689
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/tenantmanagercontrolplane/CancelSenderInvitation.ts.html |here} to see how to use CancelSenderInvitation API.
|
|
2623
2690
|
*/
|
|
2624
2691
|
cancelSenderInvitation(cancelSenderInvitationRequest) {
|
|
2625
2692
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2626
2693
|
if (this.logger)
|
|
2627
2694
|
this.logger.debug("Calling operation SenderInvitationClient#cancelSenderInvitation.");
|
|
2695
|
+
const operationName = "cancelSenderInvitation";
|
|
2696
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/SenderInvitation/CancelSenderInvitation";
|
|
2628
2697
|
const pathParams = {
|
|
2629
2698
|
"{senderInvitationId}": cancelSenderInvitationRequest.senderInvitationId
|
|
2630
2699
|
};
|
|
@@ -2649,7 +2718,7 @@ class SenderInvitationClient {
|
|
|
2649
2718
|
queryParams: queryParams
|
|
2650
2719
|
});
|
|
2651
2720
|
try {
|
|
2652
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2721
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2653
2722
|
const sdkResponse = oci_common_1.composeResponse({
|
|
2654
2723
|
responseObject: {},
|
|
2655
2724
|
responseHeaders: [
|
|
@@ -2678,12 +2747,14 @@ class SenderInvitationClient {
|
|
|
2678
2747
|
* @param CreateSenderInvitationRequest
|
|
2679
2748
|
* @return CreateSenderInvitationResponse
|
|
2680
2749
|
* @throws OciError when an error occurs
|
|
2681
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2750
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/tenantmanagercontrolplane/CreateSenderInvitation.ts.html |here} to see how to use CreateSenderInvitation API.
|
|
2682
2751
|
*/
|
|
2683
2752
|
createSenderInvitation(createSenderInvitationRequest) {
|
|
2684
2753
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2685
2754
|
if (this.logger)
|
|
2686
2755
|
this.logger.debug("Calling operation SenderInvitationClient#createSenderInvitation.");
|
|
2756
|
+
const operationName = "createSenderInvitation";
|
|
2757
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/SenderInvitation/CreateSenderInvitation";
|
|
2687
2758
|
const pathParams = {};
|
|
2688
2759
|
const queryParams = {};
|
|
2689
2760
|
let headerParams = {
|
|
@@ -2706,7 +2777,7 @@ class SenderInvitationClient {
|
|
|
2706
2777
|
queryParams: queryParams
|
|
2707
2778
|
});
|
|
2708
2779
|
try {
|
|
2709
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2780
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2710
2781
|
const sdkResponse = oci_common_1.composeResponse({
|
|
2711
2782
|
responseObject: {},
|
|
2712
2783
|
body: yield response.json(),
|
|
@@ -2744,12 +2815,14 @@ class SenderInvitationClient {
|
|
|
2744
2815
|
* @param GetSenderInvitationRequest
|
|
2745
2816
|
* @return GetSenderInvitationResponse
|
|
2746
2817
|
* @throws OciError when an error occurs
|
|
2747
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2818
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/tenantmanagercontrolplane/GetSenderInvitation.ts.html |here} to see how to use GetSenderInvitation API.
|
|
2748
2819
|
*/
|
|
2749
2820
|
getSenderInvitation(getSenderInvitationRequest) {
|
|
2750
2821
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2751
2822
|
if (this.logger)
|
|
2752
2823
|
this.logger.debug("Calling operation SenderInvitationClient#getSenderInvitation.");
|
|
2824
|
+
const operationName = "getSenderInvitation";
|
|
2825
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/SenderInvitation/GetSenderInvitation";
|
|
2753
2826
|
const pathParams = {
|
|
2754
2827
|
"{senderInvitationId}": getSenderInvitationRequest.senderInvitationId
|
|
2755
2828
|
};
|
|
@@ -2772,7 +2845,7 @@ class SenderInvitationClient {
|
|
|
2772
2845
|
queryParams: queryParams
|
|
2773
2846
|
});
|
|
2774
2847
|
try {
|
|
2775
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2848
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2776
2849
|
const sdkResponse = oci_common_1.composeResponse({
|
|
2777
2850
|
responseObject: {},
|
|
2778
2851
|
body: yield response.json(),
|
|
@@ -2806,12 +2879,14 @@ class SenderInvitationClient {
|
|
|
2806
2879
|
* @param ListSenderInvitationsRequest
|
|
2807
2880
|
* @return ListSenderInvitationsResponse
|
|
2808
2881
|
* @throws OciError when an error occurs
|
|
2809
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2882
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/tenantmanagercontrolplane/ListSenderInvitations.ts.html |here} to see how to use ListSenderInvitations API.
|
|
2810
2883
|
*/
|
|
2811
2884
|
listSenderInvitations(listSenderInvitationsRequest) {
|
|
2812
2885
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2813
2886
|
if (this.logger)
|
|
2814
2887
|
this.logger.debug("Calling operation SenderInvitationClient#listSenderInvitations.");
|
|
2888
|
+
const operationName = "listSenderInvitations";
|
|
2889
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/SenderInvitation/ListSenderInvitations";
|
|
2815
2890
|
const pathParams = {};
|
|
2816
2891
|
const queryParams = {
|
|
2817
2892
|
"compartmentId": listSenderInvitationsRequest.compartmentId,
|
|
@@ -2842,7 +2917,7 @@ class SenderInvitationClient {
|
|
|
2842
2917
|
queryParams: queryParams
|
|
2843
2918
|
});
|
|
2844
2919
|
try {
|
|
2845
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2920
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2846
2921
|
const sdkResponse = oci_common_1.composeResponse({
|
|
2847
2922
|
responseObject: {},
|
|
2848
2923
|
body: yield response.json(),
|
|
@@ -2875,12 +2950,14 @@ class SenderInvitationClient {
|
|
|
2875
2950
|
* @param UpdateSenderInvitationRequest
|
|
2876
2951
|
* @return UpdateSenderInvitationResponse
|
|
2877
2952
|
* @throws OciError when an error occurs
|
|
2878
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2953
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/tenantmanagercontrolplane/UpdateSenderInvitation.ts.html |here} to see how to use UpdateSenderInvitation API.
|
|
2879
2954
|
*/
|
|
2880
2955
|
updateSenderInvitation(updateSenderInvitationRequest) {
|
|
2881
2956
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2882
2957
|
if (this.logger)
|
|
2883
2958
|
this.logger.debug("Calling operation SenderInvitationClient#updateSenderInvitation.");
|
|
2959
|
+
const operationName = "updateSenderInvitation";
|
|
2960
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/SenderInvitation/UpdateSenderInvitation";
|
|
2884
2961
|
const pathParams = {
|
|
2885
2962
|
"{senderInvitationId}": updateSenderInvitationRequest.senderInvitationId
|
|
2886
2963
|
};
|
|
@@ -2905,7 +2982,7 @@ class SenderInvitationClient {
|
|
|
2905
2982
|
queryParams: queryParams
|
|
2906
2983
|
});
|
|
2907
2984
|
try {
|
|
2908
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2985
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2909
2986
|
const sdkResponse = oci_common_1.composeResponse({
|
|
2910
2987
|
responseObject: {},
|
|
2911
2988
|
body: yield response.json(),
|
|
@@ -2948,6 +3025,7 @@ class SubscriptionClient {
|
|
|
2948
3025
|
this["_defaultHeaders"] = {};
|
|
2949
3026
|
this._circuitBreaker = null;
|
|
2950
3027
|
this._httpOptions = undefined;
|
|
3028
|
+
this.targetService = "Subscription";
|
|
2951
3029
|
const requestSigner = params.authenticationDetailsProvider
|
|
2952
3030
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
2953
3031
|
: null;
|
|
@@ -3043,12 +3121,14 @@ class SubscriptionClient {
|
|
|
3043
3121
|
* @param CreateSubscriptionMappingRequest
|
|
3044
3122
|
* @return CreateSubscriptionMappingResponse
|
|
3045
3123
|
* @throws OciError when an error occurs
|
|
3046
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3124
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/tenantmanagercontrolplane/CreateSubscriptionMapping.ts.html |here} to see how to use CreateSubscriptionMapping API.
|
|
3047
3125
|
*/
|
|
3048
3126
|
createSubscriptionMapping(createSubscriptionMappingRequest) {
|
|
3049
3127
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3050
3128
|
if (this.logger)
|
|
3051
3129
|
this.logger.debug("Calling operation SubscriptionClient#createSubscriptionMapping.");
|
|
3130
|
+
const operationName = "createSubscriptionMapping";
|
|
3131
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/SubscriptionMapping/CreateSubscriptionMapping";
|
|
3052
3132
|
const pathParams = {};
|
|
3053
3133
|
const queryParams = {};
|
|
3054
3134
|
let headerParams = {
|
|
@@ -3072,7 +3152,7 @@ class SubscriptionClient {
|
|
|
3072
3152
|
queryParams: queryParams
|
|
3073
3153
|
});
|
|
3074
3154
|
try {
|
|
3075
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
3155
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3076
3156
|
const sdkResponse = oci_common_1.composeResponse({
|
|
3077
3157
|
responseObject: {},
|
|
3078
3158
|
body: yield response.json(),
|
|
@@ -3110,12 +3190,14 @@ class SubscriptionClient {
|
|
|
3110
3190
|
* @param DeleteSubscriptionMappingRequest
|
|
3111
3191
|
* @return DeleteSubscriptionMappingResponse
|
|
3112
3192
|
* @throws OciError when an error occurs
|
|
3113
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3193
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/tenantmanagercontrolplane/DeleteSubscriptionMapping.ts.html |here} to see how to use DeleteSubscriptionMapping API.
|
|
3114
3194
|
*/
|
|
3115
3195
|
deleteSubscriptionMapping(deleteSubscriptionMappingRequest) {
|
|
3116
3196
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3117
3197
|
if (this.logger)
|
|
3118
3198
|
this.logger.debug("Calling operation SubscriptionClient#deleteSubscriptionMapping.");
|
|
3199
|
+
const operationName = "deleteSubscriptionMapping";
|
|
3200
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/SubscriptionMapping/DeleteSubscriptionMapping";
|
|
3119
3201
|
const pathParams = {
|
|
3120
3202
|
"{subscriptionMappingId}": deleteSubscriptionMappingRequest.subscriptionMappingId
|
|
3121
3203
|
};
|
|
@@ -3139,7 +3221,7 @@ class SubscriptionClient {
|
|
|
3139
3221
|
queryParams: queryParams
|
|
3140
3222
|
});
|
|
3141
3223
|
try {
|
|
3142
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
3224
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3143
3225
|
const sdkResponse = oci_common_1.composeResponse({
|
|
3144
3226
|
responseObject: {},
|
|
3145
3227
|
responseHeaders: [
|
|
@@ -3163,12 +3245,14 @@ class SubscriptionClient {
|
|
|
3163
3245
|
* @param GetAssignedSubscriptionRequest
|
|
3164
3246
|
* @return GetAssignedSubscriptionResponse
|
|
3165
3247
|
* @throws OciError when an error occurs
|
|
3166
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3248
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/tenantmanagercontrolplane/GetAssignedSubscription.ts.html |here} to see how to use GetAssignedSubscription API.
|
|
3167
3249
|
*/
|
|
3168
3250
|
getAssignedSubscription(getAssignedSubscriptionRequest) {
|
|
3169
3251
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3170
3252
|
if (this.logger)
|
|
3171
3253
|
this.logger.debug("Calling operation SubscriptionClient#getAssignedSubscription.");
|
|
3254
|
+
const operationName = "getAssignedSubscription";
|
|
3255
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/AssignedSubscription/GetAssignedSubscription";
|
|
3172
3256
|
const pathParams = {
|
|
3173
3257
|
"{assignedSubscriptionId}": getAssignedSubscriptionRequest.assignedSubscriptionId
|
|
3174
3258
|
};
|
|
@@ -3191,7 +3275,7 @@ class SubscriptionClient {
|
|
|
3191
3275
|
queryParams: queryParams
|
|
3192
3276
|
});
|
|
3193
3277
|
try {
|
|
3194
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
3278
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3195
3279
|
const sdkResponse = oci_common_1.composeResponse({
|
|
3196
3280
|
responseObject: {},
|
|
3197
3281
|
body: yield response.json(),
|
|
@@ -3224,12 +3308,14 @@ class SubscriptionClient {
|
|
|
3224
3308
|
* @param GetSubscriptionRequest
|
|
3225
3309
|
* @return GetSubscriptionResponse
|
|
3226
3310
|
* @throws OciError when an error occurs
|
|
3227
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3311
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/tenantmanagercontrolplane/GetSubscription.ts.html |here} to see how to use GetSubscription API.
|
|
3228
3312
|
*/
|
|
3229
3313
|
getSubscription(getSubscriptionRequest) {
|
|
3230
3314
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3231
3315
|
if (this.logger)
|
|
3232
3316
|
this.logger.debug("Calling operation SubscriptionClient#getSubscription.");
|
|
3317
|
+
const operationName = "getSubscription";
|
|
3318
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/Subscription/GetSubscription";
|
|
3233
3319
|
const pathParams = {
|
|
3234
3320
|
"{subscriptionId}": getSubscriptionRequest.subscriptionId
|
|
3235
3321
|
};
|
|
@@ -3252,7 +3338,7 @@ class SubscriptionClient {
|
|
|
3252
3338
|
queryParams: queryParams
|
|
3253
3339
|
});
|
|
3254
3340
|
try {
|
|
3255
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
3341
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3256
3342
|
const sdkResponse = oci_common_1.composeResponse({
|
|
3257
3343
|
responseObject: {},
|
|
3258
3344
|
body: yield response.json(),
|
|
@@ -3285,12 +3371,14 @@ class SubscriptionClient {
|
|
|
3285
3371
|
* @param GetSubscriptionMappingRequest
|
|
3286
3372
|
* @return GetSubscriptionMappingResponse
|
|
3287
3373
|
* @throws OciError when an error occurs
|
|
3288
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3374
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/tenantmanagercontrolplane/GetSubscriptionMapping.ts.html |here} to see how to use GetSubscriptionMapping API.
|
|
3289
3375
|
*/
|
|
3290
3376
|
getSubscriptionMapping(getSubscriptionMappingRequest) {
|
|
3291
3377
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3292
3378
|
if (this.logger)
|
|
3293
3379
|
this.logger.debug("Calling operation SubscriptionClient#getSubscriptionMapping.");
|
|
3380
|
+
const operationName = "getSubscriptionMapping";
|
|
3381
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/SubscriptionMapping/GetSubscriptionMapping";
|
|
3294
3382
|
const pathParams = {
|
|
3295
3383
|
"{subscriptionMappingId}": getSubscriptionMappingRequest.subscriptionMappingId
|
|
3296
3384
|
};
|
|
@@ -3313,7 +3401,7 @@ class SubscriptionClient {
|
|
|
3313
3401
|
queryParams: queryParams
|
|
3314
3402
|
});
|
|
3315
3403
|
try {
|
|
3316
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
3404
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3317
3405
|
const sdkResponse = oci_common_1.composeResponse({
|
|
3318
3406
|
responseObject: {},
|
|
3319
3407
|
body: yield response.json(),
|
|
@@ -3346,12 +3434,14 @@ class SubscriptionClient {
|
|
|
3346
3434
|
* @param ListAssignedSubscriptionsRequest
|
|
3347
3435
|
* @return ListAssignedSubscriptionsResponse
|
|
3348
3436
|
* @throws OciError when an error occurs
|
|
3349
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3437
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/tenantmanagercontrolplane/ListAssignedSubscriptions.ts.html |here} to see how to use ListAssignedSubscriptions API.
|
|
3350
3438
|
*/
|
|
3351
3439
|
listAssignedSubscriptions(listAssignedSubscriptionsRequest) {
|
|
3352
3440
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3353
3441
|
if (this.logger)
|
|
3354
3442
|
this.logger.debug("Calling operation SubscriptionClient#listAssignedSubscriptions.");
|
|
3443
|
+
const operationName = "listAssignedSubscriptions";
|
|
3444
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/AssignedSubscription/ListAssignedSubscriptions";
|
|
3355
3445
|
const pathParams = {};
|
|
3356
3446
|
const queryParams = {
|
|
3357
3447
|
"compartmentId": listAssignedSubscriptionsRequest.compartmentId,
|
|
@@ -3379,7 +3469,7 @@ class SubscriptionClient {
|
|
|
3379
3469
|
queryParams: queryParams
|
|
3380
3470
|
});
|
|
3381
3471
|
try {
|
|
3382
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
3472
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3383
3473
|
const sdkResponse = oci_common_1.composeResponse({
|
|
3384
3474
|
responseObject: {},
|
|
3385
3475
|
body: yield response.json(),
|
|
@@ -3412,12 +3502,14 @@ class SubscriptionClient {
|
|
|
3412
3502
|
* @param ListAvailableRegionsRequest
|
|
3413
3503
|
* @return ListAvailableRegionsResponse
|
|
3414
3504
|
* @throws OciError when an error occurs
|
|
3415
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3505
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/tenantmanagercontrolplane/ListAvailableRegions.ts.html |here} to see how to use ListAvailableRegions API.
|
|
3416
3506
|
*/
|
|
3417
3507
|
listAvailableRegions(listAvailableRegionsRequest) {
|
|
3418
3508
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3419
3509
|
if (this.logger)
|
|
3420
3510
|
this.logger.debug("Calling operation SubscriptionClient#listAvailableRegions.");
|
|
3511
|
+
const operationName = "listAvailableRegions";
|
|
3512
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/Subscription/ListAvailableRegions";
|
|
3421
3513
|
const pathParams = {
|
|
3422
3514
|
"{subscriptionId}": listAvailableRegionsRequest.subscriptionId
|
|
3423
3515
|
};
|
|
@@ -3442,7 +3534,7 @@ class SubscriptionClient {
|
|
|
3442
3534
|
queryParams: queryParams
|
|
3443
3535
|
});
|
|
3444
3536
|
try {
|
|
3445
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
3537
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3446
3538
|
const sdkResponse = oci_common_1.composeResponse({
|
|
3447
3539
|
responseObject: {},
|
|
3448
3540
|
body: yield response.json(),
|
|
@@ -3475,12 +3567,14 @@ class SubscriptionClient {
|
|
|
3475
3567
|
* @param ListSubscriptionMappingsRequest
|
|
3476
3568
|
* @return ListSubscriptionMappingsResponse
|
|
3477
3569
|
* @throws OciError when an error occurs
|
|
3478
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3570
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/tenantmanagercontrolplane/ListSubscriptionMappings.ts.html |here} to see how to use ListSubscriptionMappings API.
|
|
3479
3571
|
*/
|
|
3480
3572
|
listSubscriptionMappings(listSubscriptionMappingsRequest) {
|
|
3481
3573
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3482
3574
|
if (this.logger)
|
|
3483
3575
|
this.logger.debug("Calling operation SubscriptionClient#listSubscriptionMappings.");
|
|
3576
|
+
const operationName = "listSubscriptionMappings";
|
|
3577
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/SubscriptionMapping/ListSubscriptionMappings";
|
|
3484
3578
|
const pathParams = {};
|
|
3485
3579
|
const queryParams = {
|
|
3486
3580
|
"subscriptionId": listSubscriptionMappingsRequest.subscriptionId,
|
|
@@ -3510,7 +3604,7 @@ class SubscriptionClient {
|
|
|
3510
3604
|
queryParams: queryParams
|
|
3511
3605
|
});
|
|
3512
3606
|
try {
|
|
3513
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
3607
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3514
3608
|
const sdkResponse = oci_common_1.composeResponse({
|
|
3515
3609
|
responseObject: {},
|
|
3516
3610
|
body: yield response.json(),
|
|
@@ -3543,12 +3637,14 @@ class SubscriptionClient {
|
|
|
3543
3637
|
* @param ListSubscriptionsRequest
|
|
3544
3638
|
* @return ListSubscriptionsResponse
|
|
3545
3639
|
* @throws OciError when an error occurs
|
|
3546
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3640
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/tenantmanagercontrolplane/ListSubscriptions.ts.html |here} to see how to use ListSubscriptions API.
|
|
3547
3641
|
*/
|
|
3548
3642
|
listSubscriptions(listSubscriptionsRequest) {
|
|
3549
3643
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3550
3644
|
if (this.logger)
|
|
3551
3645
|
this.logger.debug("Calling operation SubscriptionClient#listSubscriptions.");
|
|
3646
|
+
const operationName = "listSubscriptions";
|
|
3647
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/Subscription/ListSubscriptions";
|
|
3552
3648
|
const pathParams = {};
|
|
3553
3649
|
const queryParams = {
|
|
3554
3650
|
"compartmentId": listSubscriptionsRequest.compartmentId,
|
|
@@ -3576,7 +3672,7 @@ class SubscriptionClient {
|
|
|
3576
3672
|
queryParams: queryParams
|
|
3577
3673
|
});
|
|
3578
3674
|
try {
|
|
3579
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
3675
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3580
3676
|
const sdkResponse = oci_common_1.composeResponse({
|
|
3581
3677
|
responseObject: {},
|
|
3582
3678
|
body: yield response.json(),
|
|
@@ -3619,6 +3715,7 @@ class WorkRequestClient {
|
|
|
3619
3715
|
this["_defaultHeaders"] = {};
|
|
3620
3716
|
this._circuitBreaker = null;
|
|
3621
3717
|
this._httpOptions = undefined;
|
|
3718
|
+
this.targetService = "WorkRequest";
|
|
3622
3719
|
const requestSigner = params.authenticationDetailsProvider
|
|
3623
3720
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
3624
3721
|
: null;
|
|
@@ -3714,12 +3811,14 @@ class WorkRequestClient {
|
|
|
3714
3811
|
* @param GetWorkRequestRequest
|
|
3715
3812
|
* @return GetWorkRequestResponse
|
|
3716
3813
|
* @throws OciError when an error occurs
|
|
3717
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3814
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/tenantmanagercontrolplane/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
3718
3815
|
*/
|
|
3719
3816
|
getWorkRequest(getWorkRequestRequest) {
|
|
3720
3817
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3721
3818
|
if (this.logger)
|
|
3722
3819
|
this.logger.debug("Calling operation WorkRequestClient#getWorkRequest.");
|
|
3820
|
+
const operationName = "getWorkRequest";
|
|
3821
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/WorkRequest/GetWorkRequest";
|
|
3723
3822
|
const pathParams = {
|
|
3724
3823
|
"{workRequestId}": getWorkRequestRequest.workRequestId
|
|
3725
3824
|
};
|
|
@@ -3742,7 +3841,7 @@ class WorkRequestClient {
|
|
|
3742
3841
|
queryParams: queryParams
|
|
3743
3842
|
});
|
|
3744
3843
|
try {
|
|
3745
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
3844
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3746
3845
|
const sdkResponse = oci_common_1.composeResponse({
|
|
3747
3846
|
responseObject: {},
|
|
3748
3847
|
body: yield response.json(),
|
|
@@ -3776,12 +3875,14 @@ class WorkRequestClient {
|
|
|
3776
3875
|
* @param ListWorkRequestErrorsRequest
|
|
3777
3876
|
* @return ListWorkRequestErrorsResponse
|
|
3778
3877
|
* @throws OciError when an error occurs
|
|
3779
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3878
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/tenantmanagercontrolplane/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
3780
3879
|
*/
|
|
3781
3880
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
3782
3881
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3783
3882
|
if (this.logger)
|
|
3784
3883
|
this.logger.debug("Calling operation WorkRequestClient#listWorkRequestErrors.");
|
|
3884
|
+
const operationName = "listWorkRequestErrors";
|
|
3885
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/WorkRequestError/ListWorkRequestErrors";
|
|
3785
3886
|
const pathParams = {
|
|
3786
3887
|
"{workRequestId}": listWorkRequestErrorsRequest.workRequestId
|
|
3787
3888
|
};
|
|
@@ -3808,7 +3909,7 @@ class WorkRequestClient {
|
|
|
3808
3909
|
queryParams: queryParams
|
|
3809
3910
|
});
|
|
3810
3911
|
try {
|
|
3811
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
3912
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3812
3913
|
const sdkResponse = oci_common_1.composeResponse({
|
|
3813
3914
|
responseObject: {},
|
|
3814
3915
|
body: yield response.json(),
|
|
@@ -3842,12 +3943,14 @@ class WorkRequestClient {
|
|
|
3842
3943
|
* @param ListWorkRequestLogsRequest
|
|
3843
3944
|
* @return ListWorkRequestLogsResponse
|
|
3844
3945
|
* @throws OciError when an error occurs
|
|
3845
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3946
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/tenantmanagercontrolplane/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
3846
3947
|
*/
|
|
3847
3948
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
3848
3949
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3849
3950
|
if (this.logger)
|
|
3850
3951
|
this.logger.debug("Calling operation WorkRequestClient#listWorkRequestLogs.");
|
|
3952
|
+
const operationName = "listWorkRequestLogs";
|
|
3953
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/WorkRequestLogEntry/ListWorkRequestLogs";
|
|
3851
3954
|
const pathParams = {
|
|
3852
3955
|
"{workRequestId}": listWorkRequestLogsRequest.workRequestId
|
|
3853
3956
|
};
|
|
@@ -3874,7 +3977,7 @@ class WorkRequestClient {
|
|
|
3874
3977
|
queryParams: queryParams
|
|
3875
3978
|
});
|
|
3876
3979
|
try {
|
|
3877
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
3980
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3878
3981
|
const sdkResponse = oci_common_1.composeResponse({
|
|
3879
3982
|
responseObject: {},
|
|
3880
3983
|
body: yield response.json(),
|
|
@@ -3908,12 +4011,14 @@ class WorkRequestClient {
|
|
|
3908
4011
|
* @param ListWorkRequestsRequest
|
|
3909
4012
|
* @return ListWorkRequestsResponse
|
|
3910
4013
|
* @throws OciError when an error occurs
|
|
3911
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4014
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/tenantmanagercontrolplane/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
3912
4015
|
*/
|
|
3913
4016
|
listWorkRequests(listWorkRequestsRequest) {
|
|
3914
4017
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3915
4018
|
if (this.logger)
|
|
3916
4019
|
this.logger.debug("Calling operation WorkRequestClient#listWorkRequests.");
|
|
4020
|
+
const operationName = "listWorkRequests";
|
|
4021
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20200801/WorkRequest/ListWorkRequests";
|
|
3917
4022
|
const pathParams = {};
|
|
3918
4023
|
const queryParams = {
|
|
3919
4024
|
"compartmentId": listWorkRequestsRequest.compartmentId,
|
|
@@ -3939,7 +4044,7 @@ class WorkRequestClient {
|
|
|
3939
4044
|
queryParams: queryParams
|
|
3940
4045
|
});
|
|
3941
4046
|
try {
|
|
3942
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
4047
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3943
4048
|
const sdkResponse = oci_common_1.composeResponse({
|
|
3944
4049
|
responseObject: {},
|
|
3945
4050
|
body: yield response.json(),
|