oci-certificatesmanagement 2.79.1 → 2.80.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client.d.ts +34 -33
- package/lib/client.js +168 -67
- package/lib/client.js.map +1 -1
- package/lib/model/certificate-authority-rule.js +4 -2
- package/lib/model/certificate-authority-rule.js.map +1 -1
- package/lib/model/certificate-rule.js +4 -2
- package/lib/model/certificate-rule.js.map +1 -1
- package/lib/model/create-certificate-authority-config-details.js +4 -2
- package/lib/model/create-certificate-authority-config-details.js.map +1 -1
- package/lib/model/create-certificate-config-details.js +4 -2
- package/lib/model/create-certificate-config-details.js.map +1 -1
- package/lib/model/update-certificate-authority-config-details.js +4 -2
- package/lib/model/update-certificate-authority-config-details.js.map +1 -1
- package/lib/model/update-certificate-config-details.js +4 -2
- package/lib/model/update-certificate-config-details.js.map +1 -1
- package/lib/request/cancel-certificate-authority-deletion-request.d.ts +1 -1
- package/lib/request/cancel-certificate-authority-version-deletion-request.d.ts +1 -1
- package/lib/request/cancel-certificate-deletion-request.d.ts +1 -1
- package/lib/request/cancel-certificate-version-deletion-request.d.ts +1 -1
- package/lib/request/change-ca-bundle-compartment-request.d.ts +1 -1
- package/lib/request/change-certificate-authority-compartment-request.d.ts +1 -1
- package/lib/request/change-certificate-compartment-request.d.ts +1 -1
- package/lib/request/create-ca-bundle-request.d.ts +1 -1
- package/lib/request/create-certificate-authority-request.d.ts +1 -1
- package/lib/request/create-certificate-request.d.ts +1 -1
- package/lib/request/delete-ca-bundle-request.d.ts +1 -1
- package/lib/request/get-association-request.d.ts +1 -1
- package/lib/request/get-ca-bundle-request.d.ts +1 -1
- package/lib/request/get-certificate-authority-request.d.ts +1 -1
- package/lib/request/get-certificate-authority-version-request.d.ts +1 -1
- package/lib/request/get-certificate-request.d.ts +1 -1
- package/lib/request/get-certificate-version-request.d.ts +1 -1
- package/lib/request/list-associations-request.d.ts +1 -1
- package/lib/request/list-ca-bundles-request.d.ts +1 -1
- package/lib/request/list-certificate-authorities-request.d.ts +1 -1
- package/lib/request/list-certificate-authority-versions-request.d.ts +1 -1
- package/lib/request/list-certificate-versions-request.d.ts +1 -1
- package/lib/request/list-certificates-request.d.ts +1 -1
- package/lib/request/revoke-certificate-authority-version-request.d.ts +1 -1
- package/lib/request/revoke-certificate-version-request.d.ts +1 -1
- package/lib/request/schedule-certificate-authority-deletion-request.d.ts +1 -1
- package/lib/request/schedule-certificate-authority-version-deletion-request.d.ts +1 -1
- package/lib/request/schedule-certificate-deletion-request.d.ts +1 -1
- package/lib/request/schedule-certificate-version-deletion-request.d.ts +1 -1
- package/lib/request/update-ca-bundle-request.d.ts +1 -1
- package/lib/request/update-certificate-authority-request.d.ts +1 -1
- package/lib/request/update-certificate-request.d.ts +1 -1
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -57,7 +57,7 @@ var CertificatesManagementApiKeys;
|
|
|
57
57
|
*/
|
|
58
58
|
class CertificatesManagementClient {
|
|
59
59
|
constructor(params, clientConfiguration) {
|
|
60
|
-
this["_realmSpecificEndpointTemplateEnabled"] =
|
|
60
|
+
this["_realmSpecificEndpointTemplateEnabled"] = undefined;
|
|
61
61
|
this["_endpoint"] = "";
|
|
62
62
|
this["_defaultHeaders"] = {};
|
|
63
63
|
this._circuitBreaker = null;
|
|
@@ -116,7 +116,11 @@ class CertificatesManagementClient {
|
|
|
116
116
|
set endpoint(endpoint) {
|
|
117
117
|
this._endpoint = endpoint;
|
|
118
118
|
this._endpoint = this._endpoint + "/20210224";
|
|
119
|
-
|
|
119
|
+
if (this.logger)
|
|
120
|
+
this.logger.info(`CertificatesManagementClient endpoint set to ${this._endpoint}`);
|
|
121
|
+
}
|
|
122
|
+
get logger() {
|
|
123
|
+
return common.LOG.logger;
|
|
120
124
|
}
|
|
121
125
|
/**
|
|
122
126
|
* Determines whether realm specific endpoint should be used or not.
|
|
@@ -125,7 +129,8 @@ class CertificatesManagementClient {
|
|
|
125
129
|
*/
|
|
126
130
|
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
|
|
127
131
|
this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
|
|
128
|
-
|
|
132
|
+
if (this.logger)
|
|
133
|
+
this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
129
134
|
if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
|
|
130
135
|
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(CertificatesManagementClient.serviceEndpointTemplate, this._region, CertificatesManagementClient.endpointServiceName);
|
|
131
136
|
}
|
|
@@ -191,11 +196,12 @@ class CertificatesManagementClient {
|
|
|
191
196
|
* @param CancelCertificateAuthorityDeletionRequest
|
|
192
197
|
* @return CancelCertificateAuthorityDeletionResponse
|
|
193
198
|
* @throws OciError when an error occurs
|
|
194
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
199
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/certificatesmanagement/CancelCertificateAuthorityDeletion.ts.html |here} to see how to use CancelCertificateAuthorityDeletion API.
|
|
195
200
|
*/
|
|
196
201
|
cancelCertificateAuthorityDeletion(cancelCertificateAuthorityDeletionRequest) {
|
|
197
202
|
return __awaiter(this, void 0, void 0, function* () {
|
|
198
|
-
|
|
203
|
+
if (this.logger)
|
|
204
|
+
this.logger.debug("Calling operation CertificatesManagementClient#cancelCertificateAuthorityDeletion.");
|
|
199
205
|
const operationName = "cancelCertificateAuthorityDeletion";
|
|
200
206
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/certificatesmgmt/20210224/CertificateAuthority/CancelCertificateAuthorityDeletion";
|
|
201
207
|
const pathParams = {
|
|
@@ -209,6 +215,8 @@ class CertificatesManagementClient {
|
|
|
209
215
|
};
|
|
210
216
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
211
217
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, cancelCertificateAuthorityDeletionRequest.retryConfiguration, specRetryConfiguration);
|
|
218
|
+
if (this.logger)
|
|
219
|
+
retrier.logger = this.logger;
|
|
212
220
|
const request = yield oci_common_1.composeRequest({
|
|
213
221
|
baseEndpoint: this._endpoint,
|
|
214
222
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -251,11 +259,12 @@ class CertificatesManagementClient {
|
|
|
251
259
|
* @param CancelCertificateAuthorityVersionDeletionRequest
|
|
252
260
|
* @return CancelCertificateAuthorityVersionDeletionResponse
|
|
253
261
|
* @throws OciError when an error occurs
|
|
254
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
262
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/certificatesmanagement/CancelCertificateAuthorityVersionDeletion.ts.html |here} to see how to use CancelCertificateAuthorityVersionDeletion API.
|
|
255
263
|
*/
|
|
256
264
|
cancelCertificateAuthorityVersionDeletion(cancelCertificateAuthorityVersionDeletionRequest) {
|
|
257
265
|
return __awaiter(this, void 0, void 0, function* () {
|
|
258
|
-
|
|
266
|
+
if (this.logger)
|
|
267
|
+
this.logger.debug("Calling operation CertificatesManagementClient#cancelCertificateAuthorityVersionDeletion.");
|
|
259
268
|
const operationName = "cancelCertificateAuthorityVersionDeletion";
|
|
260
269
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/certificatesmgmt/20210224/CertificateAuthorityVersion/CancelCertificateAuthorityVersionDeletion";
|
|
261
270
|
const pathParams = {
|
|
@@ -270,6 +279,8 @@ class CertificatesManagementClient {
|
|
|
270
279
|
};
|
|
271
280
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
272
281
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, cancelCertificateAuthorityVersionDeletionRequest.retryConfiguration, specRetryConfiguration);
|
|
282
|
+
if (this.logger)
|
|
283
|
+
retrier.logger = this.logger;
|
|
273
284
|
const request = yield oci_common_1.composeRequest({
|
|
274
285
|
baseEndpoint: this._endpoint,
|
|
275
286
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -312,11 +323,12 @@ class CertificatesManagementClient {
|
|
|
312
323
|
* @param CancelCertificateDeletionRequest
|
|
313
324
|
* @return CancelCertificateDeletionResponse
|
|
314
325
|
* @throws OciError when an error occurs
|
|
315
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
326
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/certificatesmanagement/CancelCertificateDeletion.ts.html |here} to see how to use CancelCertificateDeletion API.
|
|
316
327
|
*/
|
|
317
328
|
cancelCertificateDeletion(cancelCertificateDeletionRequest) {
|
|
318
329
|
return __awaiter(this, void 0, void 0, function* () {
|
|
319
|
-
|
|
330
|
+
if (this.logger)
|
|
331
|
+
this.logger.debug("Calling operation CertificatesManagementClient#cancelCertificateDeletion.");
|
|
320
332
|
const operationName = "cancelCertificateDeletion";
|
|
321
333
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/certificatesmgmt/20210224/Certificate/CancelCertificateDeletion";
|
|
322
334
|
const pathParams = {
|
|
@@ -330,6 +342,8 @@ class CertificatesManagementClient {
|
|
|
330
342
|
};
|
|
331
343
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
332
344
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, cancelCertificateDeletionRequest.retryConfiguration, specRetryConfiguration);
|
|
345
|
+
if (this.logger)
|
|
346
|
+
retrier.logger = this.logger;
|
|
333
347
|
const request = yield oci_common_1.composeRequest({
|
|
334
348
|
baseEndpoint: this._endpoint,
|
|
335
349
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -369,11 +383,12 @@ class CertificatesManagementClient {
|
|
|
369
383
|
* @param CancelCertificateVersionDeletionRequest
|
|
370
384
|
* @return CancelCertificateVersionDeletionResponse
|
|
371
385
|
* @throws OciError when an error occurs
|
|
372
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
386
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/certificatesmanagement/CancelCertificateVersionDeletion.ts.html |here} to see how to use CancelCertificateVersionDeletion API.
|
|
373
387
|
*/
|
|
374
388
|
cancelCertificateVersionDeletion(cancelCertificateVersionDeletionRequest) {
|
|
375
389
|
return __awaiter(this, void 0, void 0, function* () {
|
|
376
|
-
|
|
390
|
+
if (this.logger)
|
|
391
|
+
this.logger.debug("Calling operation CertificatesManagementClient#cancelCertificateVersionDeletion.");
|
|
377
392
|
const operationName = "cancelCertificateVersionDeletion";
|
|
378
393
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/certificatesmgmt/20210224/CertificateVersion/CancelCertificateVersionDeletion";
|
|
379
394
|
const pathParams = {
|
|
@@ -388,6 +403,8 @@ class CertificatesManagementClient {
|
|
|
388
403
|
};
|
|
389
404
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
390
405
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, cancelCertificateVersionDeletionRequest.retryConfiguration, specRetryConfiguration);
|
|
406
|
+
if (this.logger)
|
|
407
|
+
retrier.logger = this.logger;
|
|
391
408
|
const request = yield oci_common_1.composeRequest({
|
|
392
409
|
baseEndpoint: this._endpoint,
|
|
393
410
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -431,11 +448,12 @@ class CertificatesManagementClient {
|
|
|
431
448
|
* @param ChangeCaBundleCompartmentRequest
|
|
432
449
|
* @return ChangeCaBundleCompartmentResponse
|
|
433
450
|
* @throws OciError when an error occurs
|
|
434
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
451
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/certificatesmanagement/ChangeCaBundleCompartment.ts.html |here} to see how to use ChangeCaBundleCompartment API.
|
|
435
452
|
*/
|
|
436
453
|
changeCaBundleCompartment(changeCaBundleCompartmentRequest) {
|
|
437
454
|
return __awaiter(this, void 0, void 0, function* () {
|
|
438
|
-
|
|
455
|
+
if (this.logger)
|
|
456
|
+
this.logger.debug("Calling operation CertificatesManagementClient#changeCaBundleCompartment.");
|
|
439
457
|
const operationName = "changeCaBundleCompartment";
|
|
440
458
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/certificatesmgmt/20210224/CaBundle/ChangeCaBundleCompartment";
|
|
441
459
|
const pathParams = {
|
|
@@ -450,6 +468,8 @@ class CertificatesManagementClient {
|
|
|
450
468
|
};
|
|
451
469
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
452
470
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeCaBundleCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
471
|
+
if (this.logger)
|
|
472
|
+
retrier.logger = this.logger;
|
|
453
473
|
const request = yield oci_common_1.composeRequest({
|
|
454
474
|
baseEndpoint: this._endpoint,
|
|
455
475
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -489,11 +509,12 @@ class CertificatesManagementClient {
|
|
|
489
509
|
* @param ChangeCertificateAuthorityCompartmentRequest
|
|
490
510
|
* @return ChangeCertificateAuthorityCompartmentResponse
|
|
491
511
|
* @throws OciError when an error occurs
|
|
492
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
512
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/certificatesmanagement/ChangeCertificateAuthorityCompartment.ts.html |here} to see how to use ChangeCertificateAuthorityCompartment API.
|
|
493
513
|
*/
|
|
494
514
|
changeCertificateAuthorityCompartment(changeCertificateAuthorityCompartmentRequest) {
|
|
495
515
|
return __awaiter(this, void 0, void 0, function* () {
|
|
496
|
-
|
|
516
|
+
if (this.logger)
|
|
517
|
+
this.logger.debug("Calling operation CertificatesManagementClient#changeCertificateAuthorityCompartment.");
|
|
497
518
|
const operationName = "changeCertificateAuthorityCompartment";
|
|
498
519
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/certificatesmgmt/20210224/CertificateAuthority/ChangeCertificateAuthorityCompartment";
|
|
499
520
|
const pathParams = {
|
|
@@ -508,6 +529,8 @@ class CertificatesManagementClient {
|
|
|
508
529
|
};
|
|
509
530
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
510
531
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeCertificateAuthorityCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
532
|
+
if (this.logger)
|
|
533
|
+
retrier.logger = this.logger;
|
|
511
534
|
const request = yield oci_common_1.composeRequest({
|
|
512
535
|
baseEndpoint: this._endpoint,
|
|
513
536
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -547,11 +570,12 @@ class CertificatesManagementClient {
|
|
|
547
570
|
* @param ChangeCertificateCompartmentRequest
|
|
548
571
|
* @return ChangeCertificateCompartmentResponse
|
|
549
572
|
* @throws OciError when an error occurs
|
|
550
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
573
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/certificatesmanagement/ChangeCertificateCompartment.ts.html |here} to see how to use ChangeCertificateCompartment API.
|
|
551
574
|
*/
|
|
552
575
|
changeCertificateCompartment(changeCertificateCompartmentRequest) {
|
|
553
576
|
return __awaiter(this, void 0, void 0, function* () {
|
|
554
|
-
|
|
577
|
+
if (this.logger)
|
|
578
|
+
this.logger.debug("Calling operation CertificatesManagementClient#changeCertificateCompartment.");
|
|
555
579
|
const operationName = "changeCertificateCompartment";
|
|
556
580
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/certificatesmgmt/20210224/Certificate/ChangeCertificateCompartment";
|
|
557
581
|
const pathParams = {
|
|
@@ -566,6 +590,8 @@ class CertificatesManagementClient {
|
|
|
566
590
|
};
|
|
567
591
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
568
592
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeCertificateCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
593
|
+
if (this.logger)
|
|
594
|
+
retrier.logger = this.logger;
|
|
569
595
|
const request = yield oci_common_1.composeRequest({
|
|
570
596
|
baseEndpoint: this._endpoint,
|
|
571
597
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -601,11 +627,12 @@ class CertificatesManagementClient {
|
|
|
601
627
|
* @param CreateCaBundleRequest
|
|
602
628
|
* @return CreateCaBundleResponse
|
|
603
629
|
* @throws OciError when an error occurs
|
|
604
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
630
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/certificatesmanagement/CreateCaBundle.ts.html |here} to see how to use CreateCaBundle API.
|
|
605
631
|
*/
|
|
606
632
|
createCaBundle(createCaBundleRequest) {
|
|
607
633
|
return __awaiter(this, void 0, void 0, function* () {
|
|
608
|
-
|
|
634
|
+
if (this.logger)
|
|
635
|
+
this.logger.debug("Calling operation CertificatesManagementClient#createCaBundle.");
|
|
609
636
|
const operationName = "createCaBundle";
|
|
610
637
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/certificatesmgmt/20210224/CaBundle/CreateCaBundle";
|
|
611
638
|
const pathParams = {};
|
|
@@ -617,6 +644,8 @@ class CertificatesManagementClient {
|
|
|
617
644
|
};
|
|
618
645
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
619
646
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createCaBundleRequest.retryConfiguration, specRetryConfiguration);
|
|
647
|
+
if (this.logger)
|
|
648
|
+
retrier.logger = this.logger;
|
|
620
649
|
const request = yield oci_common_1.composeRequest({
|
|
621
650
|
baseEndpoint: this._endpoint,
|
|
622
651
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -661,11 +690,12 @@ class CertificatesManagementClient {
|
|
|
661
690
|
* @param CreateCertificateRequest
|
|
662
691
|
* @return CreateCertificateResponse
|
|
663
692
|
* @throws OciError when an error occurs
|
|
664
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
693
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/certificatesmanagement/CreateCertificate.ts.html |here} to see how to use CreateCertificate API.
|
|
665
694
|
*/
|
|
666
695
|
createCertificate(createCertificateRequest) {
|
|
667
696
|
return __awaiter(this, void 0, void 0, function* () {
|
|
668
|
-
|
|
697
|
+
if (this.logger)
|
|
698
|
+
this.logger.debug("Calling operation CertificatesManagementClient#createCertificate.");
|
|
669
699
|
const operationName = "createCertificate";
|
|
670
700
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/certificatesmgmt/20210224/Certificate/CreateCertificate";
|
|
671
701
|
const pathParams = {};
|
|
@@ -677,6 +707,8 @@ class CertificatesManagementClient {
|
|
|
677
707
|
};
|
|
678
708
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
679
709
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createCertificateRequest.retryConfiguration, specRetryConfiguration);
|
|
710
|
+
if (this.logger)
|
|
711
|
+
retrier.logger = this.logger;
|
|
680
712
|
const request = yield oci_common_1.composeRequest({
|
|
681
713
|
baseEndpoint: this._endpoint,
|
|
682
714
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -721,11 +753,12 @@ class CertificatesManagementClient {
|
|
|
721
753
|
* @param CreateCertificateAuthorityRequest
|
|
722
754
|
* @return CreateCertificateAuthorityResponse
|
|
723
755
|
* @throws OciError when an error occurs
|
|
724
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
756
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/certificatesmanagement/CreateCertificateAuthority.ts.html |here} to see how to use CreateCertificateAuthority API.
|
|
725
757
|
*/
|
|
726
758
|
createCertificateAuthority(createCertificateAuthorityRequest) {
|
|
727
759
|
return __awaiter(this, void 0, void 0, function* () {
|
|
728
|
-
|
|
760
|
+
if (this.logger)
|
|
761
|
+
this.logger.debug("Calling operation CertificatesManagementClient#createCertificateAuthority.");
|
|
729
762
|
const operationName = "createCertificateAuthority";
|
|
730
763
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/certificatesmgmt/20210224/CertificateAuthority/CreateCertificateAuthority";
|
|
731
764
|
const pathParams = {};
|
|
@@ -737,6 +770,8 @@ class CertificatesManagementClient {
|
|
|
737
770
|
};
|
|
738
771
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
739
772
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createCertificateAuthorityRequest.retryConfiguration, specRetryConfiguration);
|
|
773
|
+
if (this.logger)
|
|
774
|
+
retrier.logger = this.logger;
|
|
740
775
|
const request = yield oci_common_1.composeRequest({
|
|
741
776
|
baseEndpoint: this._endpoint,
|
|
742
777
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -781,11 +816,12 @@ class CertificatesManagementClient {
|
|
|
781
816
|
* @param DeleteCaBundleRequest
|
|
782
817
|
* @return DeleteCaBundleResponse
|
|
783
818
|
* @throws OciError when an error occurs
|
|
784
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
819
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/certificatesmanagement/DeleteCaBundle.ts.html |here} to see how to use DeleteCaBundle API.
|
|
785
820
|
*/
|
|
786
821
|
deleteCaBundle(deleteCaBundleRequest) {
|
|
787
822
|
return __awaiter(this, void 0, void 0, function* () {
|
|
788
|
-
|
|
823
|
+
if (this.logger)
|
|
824
|
+
this.logger.debug("Calling operation CertificatesManagementClient#deleteCaBundle.");
|
|
789
825
|
const operationName = "deleteCaBundle";
|
|
790
826
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/certificatesmgmt/20210224/CaBundle/DeleteCaBundle";
|
|
791
827
|
const pathParams = {
|
|
@@ -799,6 +835,8 @@ class CertificatesManagementClient {
|
|
|
799
835
|
};
|
|
800
836
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
801
837
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteCaBundleRequest.retryConfiguration, specRetryConfiguration);
|
|
838
|
+
if (this.logger)
|
|
839
|
+
retrier.logger = this.logger;
|
|
802
840
|
const request = yield oci_common_1.composeRequest({
|
|
803
841
|
baseEndpoint: this._endpoint,
|
|
804
842
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -833,11 +871,12 @@ class CertificatesManagementClient {
|
|
|
833
871
|
* @param GetAssociationRequest
|
|
834
872
|
* @return GetAssociationResponse
|
|
835
873
|
* @throws OciError when an error occurs
|
|
836
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
874
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/certificatesmanagement/GetAssociation.ts.html |here} to see how to use GetAssociation API.
|
|
837
875
|
*/
|
|
838
876
|
getAssociation(getAssociationRequest) {
|
|
839
877
|
return __awaiter(this, void 0, void 0, function* () {
|
|
840
|
-
|
|
878
|
+
if (this.logger)
|
|
879
|
+
this.logger.debug("Calling operation CertificatesManagementClient#getAssociation.");
|
|
841
880
|
const operationName = "getAssociation";
|
|
842
881
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/certificatesmgmt/20210224/Association/GetAssociation";
|
|
843
882
|
const pathParams = {
|
|
@@ -850,6 +889,8 @@ class CertificatesManagementClient {
|
|
|
850
889
|
};
|
|
851
890
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
852
891
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getAssociationRequest.retryConfiguration, specRetryConfiguration);
|
|
892
|
+
if (this.logger)
|
|
893
|
+
retrier.logger = this.logger;
|
|
853
894
|
const request = yield oci_common_1.composeRequest({
|
|
854
895
|
baseEndpoint: this._endpoint,
|
|
855
896
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -893,11 +934,12 @@ class CertificatesManagementClient {
|
|
|
893
934
|
* @param GetCaBundleRequest
|
|
894
935
|
* @return GetCaBundleResponse
|
|
895
936
|
* @throws OciError when an error occurs
|
|
896
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
937
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/certificatesmanagement/GetCaBundle.ts.html |here} to see how to use GetCaBundle API.
|
|
897
938
|
*/
|
|
898
939
|
getCaBundle(getCaBundleRequest) {
|
|
899
940
|
return __awaiter(this, void 0, void 0, function* () {
|
|
900
|
-
|
|
941
|
+
if (this.logger)
|
|
942
|
+
this.logger.debug("Calling operation CertificatesManagementClient#getCaBundle.");
|
|
901
943
|
const operationName = "getCaBundle";
|
|
902
944
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/certificatesmgmt/20210224/CaBundle/GetCaBundle";
|
|
903
945
|
const pathParams = {
|
|
@@ -910,6 +952,8 @@ class CertificatesManagementClient {
|
|
|
910
952
|
};
|
|
911
953
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
912
954
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getCaBundleRequest.retryConfiguration, specRetryConfiguration);
|
|
955
|
+
if (this.logger)
|
|
956
|
+
retrier.logger = this.logger;
|
|
913
957
|
const request = yield oci_common_1.composeRequest({
|
|
914
958
|
baseEndpoint: this._endpoint,
|
|
915
959
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -953,11 +997,12 @@ class CertificatesManagementClient {
|
|
|
953
997
|
* @param GetCertificateRequest
|
|
954
998
|
* @return GetCertificateResponse
|
|
955
999
|
* @throws OciError when an error occurs
|
|
956
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1000
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/certificatesmanagement/GetCertificate.ts.html |here} to see how to use GetCertificate API.
|
|
957
1001
|
*/
|
|
958
1002
|
getCertificate(getCertificateRequest) {
|
|
959
1003
|
return __awaiter(this, void 0, void 0, function* () {
|
|
960
|
-
|
|
1004
|
+
if (this.logger)
|
|
1005
|
+
this.logger.debug("Calling operation CertificatesManagementClient#getCertificate.");
|
|
961
1006
|
const operationName = "getCertificate";
|
|
962
1007
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/certificatesmgmt/20210224/Certificate/GetCertificate";
|
|
963
1008
|
const pathParams = {
|
|
@@ -970,6 +1015,8 @@ class CertificatesManagementClient {
|
|
|
970
1015
|
};
|
|
971
1016
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
972
1017
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getCertificateRequest.retryConfiguration, specRetryConfiguration);
|
|
1018
|
+
if (this.logger)
|
|
1019
|
+
retrier.logger = this.logger;
|
|
973
1020
|
const request = yield oci_common_1.composeRequest({
|
|
974
1021
|
baseEndpoint: this._endpoint,
|
|
975
1022
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1013,11 +1060,12 @@ class CertificatesManagementClient {
|
|
|
1013
1060
|
* @param GetCertificateAuthorityRequest
|
|
1014
1061
|
* @return GetCertificateAuthorityResponse
|
|
1015
1062
|
* @throws OciError when an error occurs
|
|
1016
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1063
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/certificatesmanagement/GetCertificateAuthority.ts.html |here} to see how to use GetCertificateAuthority API.
|
|
1017
1064
|
*/
|
|
1018
1065
|
getCertificateAuthority(getCertificateAuthorityRequest) {
|
|
1019
1066
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1020
|
-
|
|
1067
|
+
if (this.logger)
|
|
1068
|
+
this.logger.debug("Calling operation CertificatesManagementClient#getCertificateAuthority.");
|
|
1021
1069
|
const operationName = "getCertificateAuthority";
|
|
1022
1070
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/certificatesmgmt/20210224/CertificateAuthority/GetCertificateAuthority";
|
|
1023
1071
|
const pathParams = {
|
|
@@ -1030,6 +1078,8 @@ class CertificatesManagementClient {
|
|
|
1030
1078
|
};
|
|
1031
1079
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1032
1080
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getCertificateAuthorityRequest.retryConfiguration, specRetryConfiguration);
|
|
1081
|
+
if (this.logger)
|
|
1082
|
+
retrier.logger = this.logger;
|
|
1033
1083
|
const request = yield oci_common_1.composeRequest({
|
|
1034
1084
|
baseEndpoint: this._endpoint,
|
|
1035
1085
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1073,11 +1123,12 @@ class CertificatesManagementClient {
|
|
|
1073
1123
|
* @param GetCertificateAuthorityVersionRequest
|
|
1074
1124
|
* @return GetCertificateAuthorityVersionResponse
|
|
1075
1125
|
* @throws OciError when an error occurs
|
|
1076
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1126
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/certificatesmanagement/GetCertificateAuthorityVersion.ts.html |here} to see how to use GetCertificateAuthorityVersion API.
|
|
1077
1127
|
*/
|
|
1078
1128
|
getCertificateAuthorityVersion(getCertificateAuthorityVersionRequest) {
|
|
1079
1129
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1080
|
-
|
|
1130
|
+
if (this.logger)
|
|
1131
|
+
this.logger.debug("Calling operation CertificatesManagementClient#getCertificateAuthorityVersion.");
|
|
1081
1132
|
const operationName = "getCertificateAuthorityVersion";
|
|
1082
1133
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/certificatesmgmt/20210224/CertificateAuthorityVersion/GetCertificateAuthorityVersion";
|
|
1083
1134
|
const pathParams = {
|
|
@@ -1091,6 +1142,8 @@ class CertificatesManagementClient {
|
|
|
1091
1142
|
};
|
|
1092
1143
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1093
1144
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getCertificateAuthorityVersionRequest.retryConfiguration, specRetryConfiguration);
|
|
1145
|
+
if (this.logger)
|
|
1146
|
+
retrier.logger = this.logger;
|
|
1094
1147
|
const request = yield oci_common_1.composeRequest({
|
|
1095
1148
|
baseEndpoint: this._endpoint,
|
|
1096
1149
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1134,11 +1187,12 @@ class CertificatesManagementClient {
|
|
|
1134
1187
|
* @param GetCertificateVersionRequest
|
|
1135
1188
|
* @return GetCertificateVersionResponse
|
|
1136
1189
|
* @throws OciError when an error occurs
|
|
1137
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1190
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/certificatesmanagement/GetCertificateVersion.ts.html |here} to see how to use GetCertificateVersion API.
|
|
1138
1191
|
*/
|
|
1139
1192
|
getCertificateVersion(getCertificateVersionRequest) {
|
|
1140
1193
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1141
|
-
|
|
1194
|
+
if (this.logger)
|
|
1195
|
+
this.logger.debug("Calling operation CertificatesManagementClient#getCertificateVersion.");
|
|
1142
1196
|
const operationName = "getCertificateVersion";
|
|
1143
1197
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/certificatesmgmt/20210224/CertificateVersion/GetCertificateVersion";
|
|
1144
1198
|
const pathParams = {
|
|
@@ -1152,6 +1206,8 @@ class CertificatesManagementClient {
|
|
|
1152
1206
|
};
|
|
1153
1207
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1154
1208
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getCertificateVersionRequest.retryConfiguration, specRetryConfiguration);
|
|
1209
|
+
if (this.logger)
|
|
1210
|
+
retrier.logger = this.logger;
|
|
1155
1211
|
const request = yield oci_common_1.composeRequest({
|
|
1156
1212
|
baseEndpoint: this._endpoint,
|
|
1157
1213
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1197,11 +1253,12 @@ class CertificatesManagementClient {
|
|
|
1197
1253
|
* @param ListAssociationsRequest
|
|
1198
1254
|
* @return ListAssociationsResponse
|
|
1199
1255
|
* @throws OciError when an error occurs
|
|
1200
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1256
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/certificatesmanagement/ListAssociations.ts.html |here} to see how to use ListAssociations API.
|
|
1201
1257
|
*/
|
|
1202
1258
|
listAssociations(listAssociationsRequest) {
|
|
1203
1259
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1204
|
-
|
|
1260
|
+
if (this.logger)
|
|
1261
|
+
this.logger.debug("Calling operation CertificatesManagementClient#listAssociations.");
|
|
1205
1262
|
const operationName = "listAssociations";
|
|
1206
1263
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/certificatesmgmt/20210224/AssociationSummary/ListAssociations";
|
|
1207
1264
|
const pathParams = {};
|
|
@@ -1223,6 +1280,8 @@ class CertificatesManagementClient {
|
|
|
1223
1280
|
};
|
|
1224
1281
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1225
1282
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAssociationsRequest.retryConfiguration, specRetryConfiguration);
|
|
1283
|
+
if (this.logger)
|
|
1284
|
+
retrier.logger = this.logger;
|
|
1226
1285
|
const request = yield oci_common_1.composeRequest({
|
|
1227
1286
|
baseEndpoint: this._endpoint,
|
|
1228
1287
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1268,11 +1327,12 @@ class CertificatesManagementClient {
|
|
|
1268
1327
|
* @param ListCaBundlesRequest
|
|
1269
1328
|
* @return ListCaBundlesResponse
|
|
1270
1329
|
* @throws OciError when an error occurs
|
|
1271
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1330
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/certificatesmanagement/ListCaBundles.ts.html |here} to see how to use ListCaBundles API.
|
|
1272
1331
|
*/
|
|
1273
1332
|
listCaBundles(listCaBundlesRequest) {
|
|
1274
1333
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1275
|
-
|
|
1334
|
+
if (this.logger)
|
|
1335
|
+
this.logger.debug("Calling operation CertificatesManagementClient#listCaBundles.");
|
|
1276
1336
|
const operationName = "listCaBundles";
|
|
1277
1337
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/certificatesmgmt/20210224/CaBundleSummary/ListCaBundles";
|
|
1278
1338
|
const pathParams = {};
|
|
@@ -1292,6 +1352,8 @@ class CertificatesManagementClient {
|
|
|
1292
1352
|
};
|
|
1293
1353
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1294
1354
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listCaBundlesRequest.retryConfiguration, specRetryConfiguration);
|
|
1355
|
+
if (this.logger)
|
|
1356
|
+
retrier.logger = this.logger;
|
|
1295
1357
|
const request = yield oci_common_1.composeRequest({
|
|
1296
1358
|
baseEndpoint: this._endpoint,
|
|
1297
1359
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1337,11 +1399,12 @@ class CertificatesManagementClient {
|
|
|
1337
1399
|
* @param ListCertificateAuthoritiesRequest
|
|
1338
1400
|
* @return ListCertificateAuthoritiesResponse
|
|
1339
1401
|
* @throws OciError when an error occurs
|
|
1340
|
-
* @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.80.0/certificatesmanagement/ListCertificateAuthorities.ts.html |here} to see how to use ListCertificateAuthorities API.
|
|
1341
1403
|
*/
|
|
1342
1404
|
listCertificateAuthorities(listCertificateAuthoritiesRequest) {
|
|
1343
1405
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1344
|
-
|
|
1406
|
+
if (this.logger)
|
|
1407
|
+
this.logger.debug("Calling operation CertificatesManagementClient#listCertificateAuthorities.");
|
|
1345
1408
|
const operationName = "listCertificateAuthorities";
|
|
1346
1409
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/certificatesmgmt/20210224/CertificateAuthoritySummary/ListCertificateAuthorities";
|
|
1347
1410
|
const pathParams = {};
|
|
@@ -1362,6 +1425,8 @@ class CertificatesManagementClient {
|
|
|
1362
1425
|
};
|
|
1363
1426
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1364
1427
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listCertificateAuthoritiesRequest.retryConfiguration, specRetryConfiguration);
|
|
1428
|
+
if (this.logger)
|
|
1429
|
+
retrier.logger = this.logger;
|
|
1365
1430
|
const request = yield oci_common_1.composeRequest({
|
|
1366
1431
|
baseEndpoint: this._endpoint,
|
|
1367
1432
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1407,11 +1472,12 @@ class CertificatesManagementClient {
|
|
|
1407
1472
|
* @param ListCertificateAuthorityVersionsRequest
|
|
1408
1473
|
* @return ListCertificateAuthorityVersionsResponse
|
|
1409
1474
|
* @throws OciError when an error occurs
|
|
1410
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1475
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/certificatesmanagement/ListCertificateAuthorityVersions.ts.html |here} to see how to use ListCertificateAuthorityVersions API.
|
|
1411
1476
|
*/
|
|
1412
1477
|
listCertificateAuthorityVersions(listCertificateAuthorityVersionsRequest) {
|
|
1413
1478
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1414
|
-
|
|
1479
|
+
if (this.logger)
|
|
1480
|
+
this.logger.debug("Calling operation CertificatesManagementClient#listCertificateAuthorityVersions.");
|
|
1415
1481
|
const operationName = "listCertificateAuthorityVersions";
|
|
1416
1482
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/certificatesmgmt/20210224/CertificateAuthorityVersionSummary/ListCertificateAuthorityVersions";
|
|
1417
1483
|
const pathParams = {
|
|
@@ -1430,6 +1496,8 @@ class CertificatesManagementClient {
|
|
|
1430
1496
|
};
|
|
1431
1497
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1432
1498
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listCertificateAuthorityVersionsRequest.retryConfiguration, specRetryConfiguration);
|
|
1499
|
+
if (this.logger)
|
|
1500
|
+
retrier.logger = this.logger;
|
|
1433
1501
|
const request = yield oci_common_1.composeRequest({
|
|
1434
1502
|
baseEndpoint: this._endpoint,
|
|
1435
1503
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1475,11 +1543,12 @@ class CertificatesManagementClient {
|
|
|
1475
1543
|
* @param ListCertificateVersionsRequest
|
|
1476
1544
|
* @return ListCertificateVersionsResponse
|
|
1477
1545
|
* @throws OciError when an error occurs
|
|
1478
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1546
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/certificatesmanagement/ListCertificateVersions.ts.html |here} to see how to use ListCertificateVersions API.
|
|
1479
1547
|
*/
|
|
1480
1548
|
listCertificateVersions(listCertificateVersionsRequest) {
|
|
1481
1549
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1482
|
-
|
|
1550
|
+
if (this.logger)
|
|
1551
|
+
this.logger.debug("Calling operation CertificatesManagementClient#listCertificateVersions.");
|
|
1483
1552
|
const operationName = "listCertificateVersions";
|
|
1484
1553
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/certificatesmgmt/20210224/CertificateVersionSummary/ListCertificateVersions";
|
|
1485
1554
|
const pathParams = {
|
|
@@ -1498,6 +1567,8 @@ class CertificatesManagementClient {
|
|
|
1498
1567
|
};
|
|
1499
1568
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1500
1569
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listCertificateVersionsRequest.retryConfiguration, specRetryConfiguration);
|
|
1570
|
+
if (this.logger)
|
|
1571
|
+
retrier.logger = this.logger;
|
|
1501
1572
|
const request = yield oci_common_1.composeRequest({
|
|
1502
1573
|
baseEndpoint: this._endpoint,
|
|
1503
1574
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1543,11 +1614,12 @@ class CertificatesManagementClient {
|
|
|
1543
1614
|
* @param ListCertificatesRequest
|
|
1544
1615
|
* @return ListCertificatesResponse
|
|
1545
1616
|
* @throws OciError when an error occurs
|
|
1546
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1617
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/certificatesmanagement/ListCertificates.ts.html |here} to see how to use ListCertificates API.
|
|
1547
1618
|
*/
|
|
1548
1619
|
listCertificates(listCertificatesRequest) {
|
|
1549
1620
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1550
|
-
|
|
1621
|
+
if (this.logger)
|
|
1622
|
+
this.logger.debug("Calling operation CertificatesManagementClient#listCertificates.");
|
|
1551
1623
|
const operationName = "listCertificates";
|
|
1552
1624
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/certificatesmgmt/20210224/CertificateSummary/ListCertificates";
|
|
1553
1625
|
const pathParams = {};
|
|
@@ -1568,6 +1640,8 @@ class CertificatesManagementClient {
|
|
|
1568
1640
|
};
|
|
1569
1641
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1570
1642
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listCertificatesRequest.retryConfiguration, specRetryConfiguration);
|
|
1643
|
+
if (this.logger)
|
|
1644
|
+
retrier.logger = this.logger;
|
|
1571
1645
|
const request = yield oci_common_1.composeRequest({
|
|
1572
1646
|
baseEndpoint: this._endpoint,
|
|
1573
1647
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1611,11 +1685,12 @@ class CertificatesManagementClient {
|
|
|
1611
1685
|
* @param RevokeCertificateAuthorityVersionRequest
|
|
1612
1686
|
* @return RevokeCertificateAuthorityVersionResponse
|
|
1613
1687
|
* @throws OciError when an error occurs
|
|
1614
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1688
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/certificatesmanagement/RevokeCertificateAuthorityVersion.ts.html |here} to see how to use RevokeCertificateAuthorityVersion API.
|
|
1615
1689
|
*/
|
|
1616
1690
|
revokeCertificateAuthorityVersion(revokeCertificateAuthorityVersionRequest) {
|
|
1617
1691
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1618
|
-
|
|
1692
|
+
if (this.logger)
|
|
1693
|
+
this.logger.debug("Calling operation CertificatesManagementClient#revokeCertificateAuthorityVersion.");
|
|
1619
1694
|
const operationName = "revokeCertificateAuthorityVersion";
|
|
1620
1695
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/certificatesmgmt/20210224/CertificateAuthorityVersion/RevokeCertificateAuthorityVersion";
|
|
1621
1696
|
const pathParams = {
|
|
@@ -1631,6 +1706,8 @@ class CertificatesManagementClient {
|
|
|
1631
1706
|
};
|
|
1632
1707
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1633
1708
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, revokeCertificateAuthorityVersionRequest.retryConfiguration, specRetryConfiguration);
|
|
1709
|
+
if (this.logger)
|
|
1710
|
+
retrier.logger = this.logger;
|
|
1634
1711
|
const request = yield oci_common_1.composeRequest({
|
|
1635
1712
|
baseEndpoint: this._endpoint,
|
|
1636
1713
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1671,11 +1748,12 @@ class CertificatesManagementClient {
|
|
|
1671
1748
|
* @param RevokeCertificateVersionRequest
|
|
1672
1749
|
* @return RevokeCertificateVersionResponse
|
|
1673
1750
|
* @throws OciError when an error occurs
|
|
1674
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1751
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/certificatesmanagement/RevokeCertificateVersion.ts.html |here} to see how to use RevokeCertificateVersion API.
|
|
1675
1752
|
*/
|
|
1676
1753
|
revokeCertificateVersion(revokeCertificateVersionRequest) {
|
|
1677
1754
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1678
|
-
|
|
1755
|
+
if (this.logger)
|
|
1756
|
+
this.logger.debug("Calling operation CertificatesManagementClient#revokeCertificateVersion.");
|
|
1679
1757
|
const operationName = "revokeCertificateVersion";
|
|
1680
1758
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/certificatesmgmt/20210224/CertificateVersion/RevokeCertificateVersion";
|
|
1681
1759
|
const pathParams = {
|
|
@@ -1691,6 +1769,8 @@ class CertificatesManagementClient {
|
|
|
1691
1769
|
};
|
|
1692
1770
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1693
1771
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, revokeCertificateVersionRequest.retryConfiguration, specRetryConfiguration);
|
|
1772
|
+
if (this.logger)
|
|
1773
|
+
retrier.logger = this.logger;
|
|
1694
1774
|
const request = yield oci_common_1.composeRequest({
|
|
1695
1775
|
baseEndpoint: this._endpoint,
|
|
1696
1776
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1732,11 +1812,12 @@ class CertificatesManagementClient {
|
|
|
1732
1812
|
* @param ScheduleCertificateAuthorityDeletionRequest
|
|
1733
1813
|
* @return ScheduleCertificateAuthorityDeletionResponse
|
|
1734
1814
|
* @throws OciError when an error occurs
|
|
1735
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1815
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/certificatesmanagement/ScheduleCertificateAuthorityDeletion.ts.html |here} to see how to use ScheduleCertificateAuthorityDeletion API.
|
|
1736
1816
|
*/
|
|
1737
1817
|
scheduleCertificateAuthorityDeletion(scheduleCertificateAuthorityDeletionRequest) {
|
|
1738
1818
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1739
|
-
|
|
1819
|
+
if (this.logger)
|
|
1820
|
+
this.logger.debug("Calling operation CertificatesManagementClient#scheduleCertificateAuthorityDeletion.");
|
|
1740
1821
|
const operationName = "scheduleCertificateAuthorityDeletion";
|
|
1741
1822
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/certificatesmgmt/20210224/CertificateAuthority/ScheduleCertificateAuthorityDeletion";
|
|
1742
1823
|
const pathParams = {
|
|
@@ -1750,6 +1831,8 @@ class CertificatesManagementClient {
|
|
|
1750
1831
|
};
|
|
1751
1832
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1752
1833
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, scheduleCertificateAuthorityDeletionRequest.retryConfiguration, specRetryConfiguration);
|
|
1834
|
+
if (this.logger)
|
|
1835
|
+
retrier.logger = this.logger;
|
|
1753
1836
|
const request = yield oci_common_1.composeRequest({
|
|
1754
1837
|
baseEndpoint: this._endpoint,
|
|
1755
1838
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1793,11 +1876,12 @@ class CertificatesManagementClient {
|
|
|
1793
1876
|
* @param ScheduleCertificateAuthorityVersionDeletionRequest
|
|
1794
1877
|
* @return ScheduleCertificateAuthorityVersionDeletionResponse
|
|
1795
1878
|
* @throws OciError when an error occurs
|
|
1796
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1879
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/certificatesmanagement/ScheduleCertificateAuthorityVersionDeletion.ts.html |here} to see how to use ScheduleCertificateAuthorityVersionDeletion API.
|
|
1797
1880
|
*/
|
|
1798
1881
|
scheduleCertificateAuthorityVersionDeletion(scheduleCertificateAuthorityVersionDeletionRequest) {
|
|
1799
1882
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1800
|
-
|
|
1883
|
+
if (this.logger)
|
|
1884
|
+
this.logger.debug("Calling operation CertificatesManagementClient#scheduleCertificateAuthorityVersionDeletion.");
|
|
1801
1885
|
const operationName = "scheduleCertificateAuthorityVersionDeletion";
|
|
1802
1886
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/certificatesmgmt/20210224/CertificateAuthorityVersion/ScheduleCertificateAuthorityVersionDeletion";
|
|
1803
1887
|
const pathParams = {
|
|
@@ -1812,6 +1896,8 @@ class CertificatesManagementClient {
|
|
|
1812
1896
|
};
|
|
1813
1897
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1814
1898
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, scheduleCertificateAuthorityVersionDeletionRequest.retryConfiguration, specRetryConfiguration);
|
|
1899
|
+
if (this.logger)
|
|
1900
|
+
retrier.logger = this.logger;
|
|
1815
1901
|
const request = yield oci_common_1.composeRequest({
|
|
1816
1902
|
baseEndpoint: this._endpoint,
|
|
1817
1903
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1855,11 +1941,12 @@ class CertificatesManagementClient {
|
|
|
1855
1941
|
* @param ScheduleCertificateDeletionRequest
|
|
1856
1942
|
* @return ScheduleCertificateDeletionResponse
|
|
1857
1943
|
* @throws OciError when an error occurs
|
|
1858
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1944
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/certificatesmanagement/ScheduleCertificateDeletion.ts.html |here} to see how to use ScheduleCertificateDeletion API.
|
|
1859
1945
|
*/
|
|
1860
1946
|
scheduleCertificateDeletion(scheduleCertificateDeletionRequest) {
|
|
1861
1947
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1862
|
-
|
|
1948
|
+
if (this.logger)
|
|
1949
|
+
this.logger.debug("Calling operation CertificatesManagementClient#scheduleCertificateDeletion.");
|
|
1863
1950
|
const operationName = "scheduleCertificateDeletion";
|
|
1864
1951
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/certificatesmgmt/20210224/Certificate/ScheduleCertificateDeletion";
|
|
1865
1952
|
const pathParams = {
|
|
@@ -1873,6 +1960,8 @@ class CertificatesManagementClient {
|
|
|
1873
1960
|
};
|
|
1874
1961
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1875
1962
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, scheduleCertificateDeletionRequest.retryConfiguration, specRetryConfiguration);
|
|
1963
|
+
if (this.logger)
|
|
1964
|
+
retrier.logger = this.logger;
|
|
1876
1965
|
const request = yield oci_common_1.composeRequest({
|
|
1877
1966
|
baseEndpoint: this._endpoint,
|
|
1878
1967
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1917,11 +2006,12 @@ class CertificatesManagementClient {
|
|
|
1917
2006
|
* @param ScheduleCertificateVersionDeletionRequest
|
|
1918
2007
|
* @return ScheduleCertificateVersionDeletionResponse
|
|
1919
2008
|
* @throws OciError when an error occurs
|
|
1920
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2009
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/certificatesmanagement/ScheduleCertificateVersionDeletion.ts.html |here} to see how to use ScheduleCertificateVersionDeletion API.
|
|
1921
2010
|
*/
|
|
1922
2011
|
scheduleCertificateVersionDeletion(scheduleCertificateVersionDeletionRequest) {
|
|
1923
2012
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1924
|
-
|
|
2013
|
+
if (this.logger)
|
|
2014
|
+
this.logger.debug("Calling operation CertificatesManagementClient#scheduleCertificateVersionDeletion.");
|
|
1925
2015
|
const operationName = "scheduleCertificateVersionDeletion";
|
|
1926
2016
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/certificatesmgmt/20210224/CertificateVersion/ScheduleCertificateVersionDeletion";
|
|
1927
2017
|
const pathParams = {
|
|
@@ -1936,6 +2026,8 @@ class CertificatesManagementClient {
|
|
|
1936
2026
|
};
|
|
1937
2027
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1938
2028
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, scheduleCertificateVersionDeletionRequest.retryConfiguration, specRetryConfiguration);
|
|
2029
|
+
if (this.logger)
|
|
2030
|
+
retrier.logger = this.logger;
|
|
1939
2031
|
const request = yield oci_common_1.composeRequest({
|
|
1940
2032
|
baseEndpoint: this._endpoint,
|
|
1941
2033
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1976,11 +2068,12 @@ class CertificatesManagementClient {
|
|
|
1976
2068
|
* @param UpdateCaBundleRequest
|
|
1977
2069
|
* @return UpdateCaBundleResponse
|
|
1978
2070
|
* @throws OciError when an error occurs
|
|
1979
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2071
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/certificatesmanagement/UpdateCaBundle.ts.html |here} to see how to use UpdateCaBundle API.
|
|
1980
2072
|
*/
|
|
1981
2073
|
updateCaBundle(updateCaBundleRequest) {
|
|
1982
2074
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1983
|
-
|
|
2075
|
+
if (this.logger)
|
|
2076
|
+
this.logger.debug("Calling operation CertificatesManagementClient#updateCaBundle.");
|
|
1984
2077
|
const operationName = "updateCaBundle";
|
|
1985
2078
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/certificatesmgmt/20210224/CaBundle/UpdateCaBundle";
|
|
1986
2079
|
const pathParams = {
|
|
@@ -1994,6 +2087,8 @@ class CertificatesManagementClient {
|
|
|
1994
2087
|
};
|
|
1995
2088
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1996
2089
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateCaBundleRequest.retryConfiguration, specRetryConfiguration);
|
|
2090
|
+
if (this.logger)
|
|
2091
|
+
retrier.logger = this.logger;
|
|
1997
2092
|
const request = yield oci_common_1.composeRequest({
|
|
1998
2093
|
baseEndpoint: this._endpoint,
|
|
1999
2094
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2038,11 +2133,12 @@ class CertificatesManagementClient {
|
|
|
2038
2133
|
* @param UpdateCertificateRequest
|
|
2039
2134
|
* @return UpdateCertificateResponse
|
|
2040
2135
|
* @throws OciError when an error occurs
|
|
2041
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2136
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/certificatesmanagement/UpdateCertificate.ts.html |here} to see how to use UpdateCertificate API.
|
|
2042
2137
|
*/
|
|
2043
2138
|
updateCertificate(updateCertificateRequest) {
|
|
2044
2139
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2045
|
-
|
|
2140
|
+
if (this.logger)
|
|
2141
|
+
this.logger.debug("Calling operation CertificatesManagementClient#updateCertificate.");
|
|
2046
2142
|
const operationName = "updateCertificate";
|
|
2047
2143
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/certificatesmgmt/20210224/Certificate/UpdateCertificate";
|
|
2048
2144
|
const pathParams = {
|
|
@@ -2056,6 +2152,8 @@ class CertificatesManagementClient {
|
|
|
2056
2152
|
};
|
|
2057
2153
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2058
2154
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateCertificateRequest.retryConfiguration, specRetryConfiguration);
|
|
2155
|
+
if (this.logger)
|
|
2156
|
+
retrier.logger = this.logger;
|
|
2059
2157
|
const request = yield oci_common_1.composeRequest({
|
|
2060
2158
|
baseEndpoint: this._endpoint,
|
|
2061
2159
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2100,11 +2198,12 @@ class CertificatesManagementClient {
|
|
|
2100
2198
|
* @param UpdateCertificateAuthorityRequest
|
|
2101
2199
|
* @return UpdateCertificateAuthorityResponse
|
|
2102
2200
|
* @throws OciError when an error occurs
|
|
2103
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2201
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/certificatesmanagement/UpdateCertificateAuthority.ts.html |here} to see how to use UpdateCertificateAuthority API.
|
|
2104
2202
|
*/
|
|
2105
2203
|
updateCertificateAuthority(updateCertificateAuthorityRequest) {
|
|
2106
2204
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2107
|
-
|
|
2205
|
+
if (this.logger)
|
|
2206
|
+
this.logger.debug("Calling operation CertificatesManagementClient#updateCertificateAuthority.");
|
|
2108
2207
|
const operationName = "updateCertificateAuthority";
|
|
2109
2208
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/certificatesmgmt/20210224/CertificateAuthority/UpdateCertificateAuthority";
|
|
2110
2209
|
const pathParams = {
|
|
@@ -2118,6 +2217,8 @@ class CertificatesManagementClient {
|
|
|
2118
2217
|
};
|
|
2119
2218
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2120
2219
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateCertificateAuthorityRequest.retryConfiguration, specRetryConfiguration);
|
|
2220
|
+
if (this.logger)
|
|
2221
|
+
retrier.logger = this.logger;
|
|
2121
2222
|
const request = yield oci_common_1.composeRequest({
|
|
2122
2223
|
baseEndpoint: this._endpoint,
|
|
2123
2224
|
defaultHeaders: this._defaultHeaders,
|