oci-email 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 +27 -26
- package/lib/client.js +133 -53
- package/lib/client.js.map +1 -1
- package/lib/request/change-email-domain-compartment-request.d.ts +1 -1
- package/lib/request/change-sender-compartment-request.d.ts +1 -1
- package/lib/request/create-dkim-request.d.ts +1 -1
- package/lib/request/create-email-domain-request.d.ts +1 -1
- package/lib/request/create-sender-request.d.ts +1 -1
- package/lib/request/create-suppression-request.d.ts +1 -1
- package/lib/request/delete-dkim-request.d.ts +1 -1
- package/lib/request/delete-email-domain-request.d.ts +1 -1
- package/lib/request/delete-sender-request.d.ts +1 -1
- package/lib/request/delete-suppression-request.d.ts +1 -1
- package/lib/request/get-dkim-request.d.ts +1 -1
- package/lib/request/get-email-domain-request.d.ts +1 -1
- package/lib/request/get-sender-request.d.ts +1 -1
- package/lib/request/get-suppression-request.d.ts +1 -1
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/list-dkims-request.d.ts +1 -1
- package/lib/request/list-email-domains-request.d.ts +1 -1
- package/lib/request/list-senders-request.d.ts +1 -1
- package/lib/request/list-suppressions-request.d.ts +1 -1
- package/lib/request/list-work-request-errors-request.d.ts +1 -1
- package/lib/request/list-work-request-logs-request.d.ts +1 -1
- package/lib/request/list-work-requests-request.d.ts +1 -1
- package/lib/request/update-dkim-request.d.ts +1 -1
- package/lib/request/update-email-domain-request.d.ts +1 -1
- package/lib/request/update-sender-request.d.ts +1 -1
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -64,7 +64,7 @@ var EmailApiKeys;
|
|
|
64
64
|
*/
|
|
65
65
|
class EmailClient {
|
|
66
66
|
constructor(params, clientConfiguration) {
|
|
67
|
-
this["_realmSpecificEndpointTemplateEnabled"] =
|
|
67
|
+
this["_realmSpecificEndpointTemplateEnabled"] = undefined;
|
|
68
68
|
this["_endpoint"] = "";
|
|
69
69
|
this["_defaultHeaders"] = {};
|
|
70
70
|
this._circuitBreaker = null;
|
|
@@ -123,7 +123,11 @@ class EmailClient {
|
|
|
123
123
|
set endpoint(endpoint) {
|
|
124
124
|
this._endpoint = endpoint;
|
|
125
125
|
this._endpoint = this._endpoint + "/20170907";
|
|
126
|
-
|
|
126
|
+
if (this.logger)
|
|
127
|
+
this.logger.info(`EmailClient endpoint set to ${this._endpoint}`);
|
|
128
|
+
}
|
|
129
|
+
get logger() {
|
|
130
|
+
return common.LOG.logger;
|
|
127
131
|
}
|
|
128
132
|
/**
|
|
129
133
|
* Determines whether realm specific endpoint should be used or not.
|
|
@@ -132,7 +136,8 @@ class EmailClient {
|
|
|
132
136
|
*/
|
|
133
137
|
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
|
|
134
138
|
this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
|
|
135
|
-
|
|
139
|
+
if (this.logger)
|
|
140
|
+
this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
136
141
|
if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
|
|
137
142
|
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(EmailClient.serviceEndpointTemplate, this._region, EmailClient.endpointServiceName);
|
|
138
143
|
}
|
|
@@ -204,11 +209,12 @@ class EmailClient {
|
|
|
204
209
|
* @param ChangeEmailDomainCompartmentRequest
|
|
205
210
|
* @return ChangeEmailDomainCompartmentResponse
|
|
206
211
|
* @throws OciError when an error occurs
|
|
207
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
212
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/email/ChangeEmailDomainCompartment.ts.html |here} to see how to use ChangeEmailDomainCompartment API.
|
|
208
213
|
*/
|
|
209
214
|
changeEmailDomainCompartment(changeEmailDomainCompartmentRequest) {
|
|
210
215
|
return __awaiter(this, void 0, void 0, function* () {
|
|
211
|
-
|
|
216
|
+
if (this.logger)
|
|
217
|
+
this.logger.debug("Calling operation EmailClient#changeEmailDomainCompartment.");
|
|
212
218
|
const operationName = "changeEmailDomainCompartment";
|
|
213
219
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/emaildelivery/20170907/EmailDomain/ChangeEmailDomainCompartment";
|
|
214
220
|
const pathParams = {
|
|
@@ -223,6 +229,8 @@ class EmailClient {
|
|
|
223
229
|
};
|
|
224
230
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
225
231
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeEmailDomainCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
232
|
+
if (this.logger)
|
|
233
|
+
retrier.logger = this.logger;
|
|
226
234
|
const request = yield oci_common_2.composeRequest({
|
|
227
235
|
baseEndpoint: this._endpoint,
|
|
228
236
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -263,11 +271,12 @@ class EmailClient {
|
|
|
263
271
|
* @param ChangeSenderCompartmentRequest
|
|
264
272
|
* @return ChangeSenderCompartmentResponse
|
|
265
273
|
* @throws OciError when an error occurs
|
|
266
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
274
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/email/ChangeSenderCompartment.ts.html |here} to see how to use ChangeSenderCompartment API.
|
|
267
275
|
*/
|
|
268
276
|
changeSenderCompartment(changeSenderCompartmentRequest) {
|
|
269
277
|
return __awaiter(this, void 0, void 0, function* () {
|
|
270
|
-
|
|
278
|
+
if (this.logger)
|
|
279
|
+
this.logger.debug("Calling operation EmailClient#changeSenderCompartment.");
|
|
271
280
|
const operationName = "changeSenderCompartment";
|
|
272
281
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/emaildelivery/20170907/Sender/ChangeSenderCompartment";
|
|
273
282
|
const pathParams = {
|
|
@@ -281,6 +290,8 @@ class EmailClient {
|
|
|
281
290
|
};
|
|
282
291
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
283
292
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeSenderCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
293
|
+
if (this.logger)
|
|
294
|
+
retrier.logger = this.logger;
|
|
284
295
|
const request = yield oci_common_2.composeRequest({
|
|
285
296
|
baseEndpoint: this._endpoint,
|
|
286
297
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -321,11 +332,12 @@ class EmailClient {
|
|
|
321
332
|
* @param CreateDkimRequest
|
|
322
333
|
* @return CreateDkimResponse
|
|
323
334
|
* @throws OciError when an error occurs
|
|
324
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
335
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/email/CreateDkim.ts.html |here} to see how to use CreateDkim API.
|
|
325
336
|
*/
|
|
326
337
|
createDkim(createDkimRequest) {
|
|
327
338
|
return __awaiter(this, void 0, void 0, function* () {
|
|
328
|
-
|
|
339
|
+
if (this.logger)
|
|
340
|
+
this.logger.debug("Calling operation EmailClient#createDkim.");
|
|
329
341
|
const operationName = "createDkim";
|
|
330
342
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/emaildelivery/20170907/Dkim/CreateDkim";
|
|
331
343
|
const pathParams = {};
|
|
@@ -337,6 +349,8 @@ class EmailClient {
|
|
|
337
349
|
};
|
|
338
350
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
339
351
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createDkimRequest.retryConfiguration, specRetryConfiguration);
|
|
352
|
+
if (this.logger)
|
|
353
|
+
retrier.logger = this.logger;
|
|
340
354
|
const request = yield oci_common_2.composeRequest({
|
|
341
355
|
baseEndpoint: this._endpoint,
|
|
342
356
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -396,11 +410,12 @@ class EmailClient {
|
|
|
396
410
|
* @param CreateEmailDomainRequest
|
|
397
411
|
* @return CreateEmailDomainResponse
|
|
398
412
|
* @throws OciError when an error occurs
|
|
399
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
413
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/email/CreateEmailDomain.ts.html |here} to see how to use CreateEmailDomain API.
|
|
400
414
|
*/
|
|
401
415
|
createEmailDomain(createEmailDomainRequest) {
|
|
402
416
|
return __awaiter(this, void 0, void 0, function* () {
|
|
403
|
-
|
|
417
|
+
if (this.logger)
|
|
418
|
+
this.logger.debug("Calling operation EmailClient#createEmailDomain.");
|
|
404
419
|
const operationName = "createEmailDomain";
|
|
405
420
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/emaildelivery/20170907/EmailDomain/CreateEmailDomain";
|
|
406
421
|
const pathParams = {};
|
|
@@ -412,6 +427,8 @@ class EmailClient {
|
|
|
412
427
|
};
|
|
413
428
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
414
429
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createEmailDomainRequest.retryConfiguration, specRetryConfiguration);
|
|
430
|
+
if (this.logger)
|
|
431
|
+
retrier.logger = this.logger;
|
|
415
432
|
const request = yield oci_common_2.composeRequest({
|
|
416
433
|
baseEndpoint: this._endpoint,
|
|
417
434
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -471,11 +488,12 @@ class EmailClient {
|
|
|
471
488
|
* @param CreateSenderRequest
|
|
472
489
|
* @return CreateSenderResponse
|
|
473
490
|
* @throws OciError when an error occurs
|
|
474
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
491
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/email/CreateSender.ts.html |here} to see how to use CreateSender API.
|
|
475
492
|
*/
|
|
476
493
|
createSender(createSenderRequest) {
|
|
477
494
|
return __awaiter(this, void 0, void 0, function* () {
|
|
478
|
-
|
|
495
|
+
if (this.logger)
|
|
496
|
+
this.logger.debug("Calling operation EmailClient#createSender.");
|
|
479
497
|
const operationName = "createSender";
|
|
480
498
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/emaildelivery/20170907/Sender/CreateSender";
|
|
481
499
|
const pathParams = {};
|
|
@@ -486,6 +504,8 @@ class EmailClient {
|
|
|
486
504
|
};
|
|
487
505
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
488
506
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createSenderRequest.retryConfiguration, specRetryConfiguration);
|
|
507
|
+
if (this.logger)
|
|
508
|
+
retrier.logger = this.logger;
|
|
489
509
|
const request = yield oci_common_2.composeRequest({
|
|
490
510
|
baseEndpoint: this._endpoint,
|
|
491
511
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -534,11 +554,12 @@ class EmailClient {
|
|
|
534
554
|
* @param CreateSuppressionRequest
|
|
535
555
|
* @return CreateSuppressionResponse
|
|
536
556
|
* @throws OciError when an error occurs
|
|
537
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
557
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/email/CreateSuppression.ts.html |here} to see how to use CreateSuppression API.
|
|
538
558
|
*/
|
|
539
559
|
createSuppression(createSuppressionRequest) {
|
|
540
560
|
return __awaiter(this, void 0, void 0, function* () {
|
|
541
|
-
|
|
561
|
+
if (this.logger)
|
|
562
|
+
this.logger.debug("Calling operation EmailClient#createSuppression.");
|
|
542
563
|
const operationName = "createSuppression";
|
|
543
564
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/emaildelivery/20170907/Suppression/CreateSuppression";
|
|
544
565
|
const pathParams = {};
|
|
@@ -549,6 +570,8 @@ class EmailClient {
|
|
|
549
570
|
};
|
|
550
571
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
551
572
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createSuppressionRequest.retryConfiguration, specRetryConfiguration);
|
|
573
|
+
if (this.logger)
|
|
574
|
+
retrier.logger = this.logger;
|
|
552
575
|
const request = yield oci_common_2.composeRequest({
|
|
553
576
|
baseEndpoint: this._endpoint,
|
|
554
577
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -594,11 +617,12 @@ class EmailClient {
|
|
|
594
617
|
* @param DeleteDkimRequest
|
|
595
618
|
* @return DeleteDkimResponse
|
|
596
619
|
* @throws OciError when an error occurs
|
|
597
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
620
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/email/DeleteDkim.ts.html |here} to see how to use DeleteDkim API.
|
|
598
621
|
*/
|
|
599
622
|
deleteDkim(deleteDkimRequest) {
|
|
600
623
|
return __awaiter(this, void 0, void 0, function* () {
|
|
601
|
-
|
|
624
|
+
if (this.logger)
|
|
625
|
+
this.logger.debug("Calling operation EmailClient#deleteDkim.");
|
|
602
626
|
const operationName = "deleteDkim";
|
|
603
627
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/emaildelivery/20170907/Dkim/DeleteDkim";
|
|
604
628
|
const pathParams = {
|
|
@@ -612,6 +636,8 @@ class EmailClient {
|
|
|
612
636
|
};
|
|
613
637
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
614
638
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteDkimRequest.retryConfiguration, specRetryConfiguration);
|
|
639
|
+
if (this.logger)
|
|
640
|
+
retrier.logger = this.logger;
|
|
615
641
|
const request = yield oci_common_2.composeRequest({
|
|
616
642
|
baseEndpoint: this._endpoint,
|
|
617
643
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -651,11 +677,12 @@ class EmailClient {
|
|
|
651
677
|
* @param DeleteEmailDomainRequest
|
|
652
678
|
* @return DeleteEmailDomainResponse
|
|
653
679
|
* @throws OciError when an error occurs
|
|
654
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
680
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/email/DeleteEmailDomain.ts.html |here} to see how to use DeleteEmailDomain API.
|
|
655
681
|
*/
|
|
656
682
|
deleteEmailDomain(deleteEmailDomainRequest) {
|
|
657
683
|
return __awaiter(this, void 0, void 0, function* () {
|
|
658
|
-
|
|
684
|
+
if (this.logger)
|
|
685
|
+
this.logger.debug("Calling operation EmailClient#deleteEmailDomain.");
|
|
659
686
|
const operationName = "deleteEmailDomain";
|
|
660
687
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/emaildelivery/20170907/EmailDomain/DeleteEmailDomain";
|
|
661
688
|
const pathParams = {
|
|
@@ -669,6 +696,8 @@ class EmailClient {
|
|
|
669
696
|
};
|
|
670
697
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
671
698
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteEmailDomainRequest.retryConfiguration, specRetryConfiguration);
|
|
699
|
+
if (this.logger)
|
|
700
|
+
retrier.logger = this.logger;
|
|
672
701
|
const request = yield oci_common_2.composeRequest({
|
|
673
702
|
baseEndpoint: this._endpoint,
|
|
674
703
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -710,11 +739,12 @@ class EmailClient {
|
|
|
710
739
|
* @param DeleteSenderRequest
|
|
711
740
|
* @return DeleteSenderResponse
|
|
712
741
|
* @throws OciError when an error occurs
|
|
713
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
742
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/email/DeleteSender.ts.html |here} to see how to use DeleteSender API.
|
|
714
743
|
*/
|
|
715
744
|
deleteSender(deleteSenderRequest) {
|
|
716
745
|
return __awaiter(this, void 0, void 0, function* () {
|
|
717
|
-
|
|
746
|
+
if (this.logger)
|
|
747
|
+
this.logger.debug("Calling operation EmailClient#deleteSender.");
|
|
718
748
|
const operationName = "deleteSender";
|
|
719
749
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/emaildelivery/20170907/Sender/DeleteSender";
|
|
720
750
|
const pathParams = {
|
|
@@ -728,6 +758,8 @@ class EmailClient {
|
|
|
728
758
|
};
|
|
729
759
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
730
760
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteSenderRequest.retryConfiguration, specRetryConfiguration);
|
|
761
|
+
if (this.logger)
|
|
762
|
+
retrier.logger = this.logger;
|
|
731
763
|
const request = yield oci_common_2.composeRequest({
|
|
732
764
|
baseEndpoint: this._endpoint,
|
|
733
765
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -764,11 +796,12 @@ class EmailClient {
|
|
|
764
796
|
* @param DeleteSuppressionRequest
|
|
765
797
|
* @return DeleteSuppressionResponse
|
|
766
798
|
* @throws OciError when an error occurs
|
|
767
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
799
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/email/DeleteSuppression.ts.html |here} to see how to use DeleteSuppression API.
|
|
768
800
|
*/
|
|
769
801
|
deleteSuppression(deleteSuppressionRequest) {
|
|
770
802
|
return __awaiter(this, void 0, void 0, function* () {
|
|
771
|
-
|
|
803
|
+
if (this.logger)
|
|
804
|
+
this.logger.debug("Calling operation EmailClient#deleteSuppression.");
|
|
772
805
|
const operationName = "deleteSuppression";
|
|
773
806
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/emaildelivery/20170907/Suppression/DeleteSuppression";
|
|
774
807
|
const pathParams = {
|
|
@@ -781,6 +814,8 @@ class EmailClient {
|
|
|
781
814
|
};
|
|
782
815
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
783
816
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteSuppressionRequest.retryConfiguration, specRetryConfiguration);
|
|
817
|
+
if (this.logger)
|
|
818
|
+
retrier.logger = this.logger;
|
|
784
819
|
const request = yield oci_common_2.composeRequest({
|
|
785
820
|
baseEndpoint: this._endpoint,
|
|
786
821
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -815,11 +850,12 @@ class EmailClient {
|
|
|
815
850
|
* @param GetDkimRequest
|
|
816
851
|
* @return GetDkimResponse
|
|
817
852
|
* @throws OciError when an error occurs
|
|
818
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
853
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/email/GetDkim.ts.html |here} to see how to use GetDkim API.
|
|
819
854
|
*/
|
|
820
855
|
getDkim(getDkimRequest) {
|
|
821
856
|
return __awaiter(this, void 0, void 0, function* () {
|
|
822
|
-
|
|
857
|
+
if (this.logger)
|
|
858
|
+
this.logger.debug("Calling operation EmailClient#getDkim.");
|
|
823
859
|
const operationName = "getDkim";
|
|
824
860
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/emaildelivery/20170907/Dkim/GetDkim";
|
|
825
861
|
const pathParams = {
|
|
@@ -832,6 +868,8 @@ class EmailClient {
|
|
|
832
868
|
};
|
|
833
869
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
834
870
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDkimRequest.retryConfiguration, specRetryConfiguration);
|
|
871
|
+
if (this.logger)
|
|
872
|
+
retrier.logger = this.logger;
|
|
835
873
|
const request = yield oci_common_2.composeRequest({
|
|
836
874
|
baseEndpoint: this._endpoint,
|
|
837
875
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -875,11 +913,12 @@ class EmailClient {
|
|
|
875
913
|
* @param GetEmailDomainRequest
|
|
876
914
|
* @return GetEmailDomainResponse
|
|
877
915
|
* @throws OciError when an error occurs
|
|
878
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
916
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/email/GetEmailDomain.ts.html |here} to see how to use GetEmailDomain API.
|
|
879
917
|
*/
|
|
880
918
|
getEmailDomain(getEmailDomainRequest) {
|
|
881
919
|
return __awaiter(this, void 0, void 0, function* () {
|
|
882
|
-
|
|
920
|
+
if (this.logger)
|
|
921
|
+
this.logger.debug("Calling operation EmailClient#getEmailDomain.");
|
|
883
922
|
const operationName = "getEmailDomain";
|
|
884
923
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/emaildelivery/20170907/EmailDomain/GetEmailDomain";
|
|
885
924
|
const pathParams = {
|
|
@@ -892,6 +931,8 @@ class EmailClient {
|
|
|
892
931
|
};
|
|
893
932
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
894
933
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getEmailDomainRequest.retryConfiguration, specRetryConfiguration);
|
|
934
|
+
if (this.logger)
|
|
935
|
+
retrier.logger = this.logger;
|
|
895
936
|
const request = yield oci_common_2.composeRequest({
|
|
896
937
|
baseEndpoint: this._endpoint,
|
|
897
938
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -935,11 +976,12 @@ class EmailClient {
|
|
|
935
976
|
* @param GetSenderRequest
|
|
936
977
|
* @return GetSenderResponse
|
|
937
978
|
* @throws OciError when an error occurs
|
|
938
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
979
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/email/GetSender.ts.html |here} to see how to use GetSender API.
|
|
939
980
|
*/
|
|
940
981
|
getSender(getSenderRequest) {
|
|
941
982
|
return __awaiter(this, void 0, void 0, function* () {
|
|
942
|
-
|
|
983
|
+
if (this.logger)
|
|
984
|
+
this.logger.debug("Calling operation EmailClient#getSender.");
|
|
943
985
|
const operationName = "getSender";
|
|
944
986
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/emaildelivery/20170907/Sender/GetSender";
|
|
945
987
|
const pathParams = {
|
|
@@ -952,6 +994,8 @@ class EmailClient {
|
|
|
952
994
|
};
|
|
953
995
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
954
996
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getSenderRequest.retryConfiguration, specRetryConfiguration);
|
|
997
|
+
if (this.logger)
|
|
998
|
+
retrier.logger = this.logger;
|
|
955
999
|
const request = yield oci_common_2.composeRequest({
|
|
956
1000
|
baseEndpoint: this._endpoint,
|
|
957
1001
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -997,11 +1041,12 @@ class EmailClient {
|
|
|
997
1041
|
* @param GetSuppressionRequest
|
|
998
1042
|
* @return GetSuppressionResponse
|
|
999
1043
|
* @throws OciError when an error occurs
|
|
1000
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1044
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/email/GetSuppression.ts.html |here} to see how to use GetSuppression API.
|
|
1001
1045
|
*/
|
|
1002
1046
|
getSuppression(getSuppressionRequest) {
|
|
1003
1047
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1004
|
-
|
|
1048
|
+
if (this.logger)
|
|
1049
|
+
this.logger.debug("Calling operation EmailClient#getSuppression.");
|
|
1005
1050
|
const operationName = "getSuppression";
|
|
1006
1051
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/emaildelivery/20170907/Suppression/GetSuppression";
|
|
1007
1052
|
const pathParams = {
|
|
@@ -1014,6 +1059,8 @@ class EmailClient {
|
|
|
1014
1059
|
};
|
|
1015
1060
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1016
1061
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getSuppressionRequest.retryConfiguration, specRetryConfiguration);
|
|
1062
|
+
if (this.logger)
|
|
1063
|
+
retrier.logger = this.logger;
|
|
1017
1064
|
const request = yield oci_common_2.composeRequest({
|
|
1018
1065
|
baseEndpoint: this._endpoint,
|
|
1019
1066
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1052,11 +1099,12 @@ class EmailClient {
|
|
|
1052
1099
|
* @param GetWorkRequestRequest
|
|
1053
1100
|
* @return GetWorkRequestResponse
|
|
1054
1101
|
* @throws OciError when an error occurs
|
|
1055
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1102
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/email/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
1056
1103
|
*/
|
|
1057
1104
|
getWorkRequest(getWorkRequestRequest) {
|
|
1058
1105
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1059
|
-
|
|
1106
|
+
if (this.logger)
|
|
1107
|
+
this.logger.debug("Calling operation EmailClient#getWorkRequest.");
|
|
1060
1108
|
const operationName = "getWorkRequest";
|
|
1061
1109
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/emaildelivery/20170907/WorkRequest/GetWorkRequest";
|
|
1062
1110
|
const pathParams = {
|
|
@@ -1069,6 +1117,8 @@ class EmailClient {
|
|
|
1069
1117
|
};
|
|
1070
1118
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1071
1119
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
1120
|
+
if (this.logger)
|
|
1121
|
+
retrier.logger = this.logger;
|
|
1072
1122
|
const request = yield oci_common_2.composeRequest({
|
|
1073
1123
|
baseEndpoint: this._endpoint,
|
|
1074
1124
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1112,11 +1162,12 @@ class EmailClient {
|
|
|
1112
1162
|
* @param ListDkimsRequest
|
|
1113
1163
|
* @return ListDkimsResponse
|
|
1114
1164
|
* @throws OciError when an error occurs
|
|
1115
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1165
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/email/ListDkims.ts.html |here} to see how to use ListDkims API.
|
|
1116
1166
|
*/
|
|
1117
1167
|
listDkims(listDkimsRequest) {
|
|
1118
1168
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1119
|
-
|
|
1169
|
+
if (this.logger)
|
|
1170
|
+
this.logger.debug("Calling operation EmailClient#listDkims.");
|
|
1120
1171
|
const operationName = "listDkims";
|
|
1121
1172
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/emaildelivery/20170907/Dkim/ListDkims";
|
|
1122
1173
|
const pathParams = {};
|
|
@@ -1136,6 +1187,8 @@ class EmailClient {
|
|
|
1136
1187
|
};
|
|
1137
1188
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1138
1189
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listDkimsRequest.retryConfiguration, specRetryConfiguration);
|
|
1190
|
+
if (this.logger)
|
|
1191
|
+
retrier.logger = this.logger;
|
|
1139
1192
|
const request = yield oci_common_2.composeRequest({
|
|
1140
1193
|
baseEndpoint: this._endpoint,
|
|
1141
1194
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1179,11 +1232,12 @@ class EmailClient {
|
|
|
1179
1232
|
* @param ListEmailDomainsRequest
|
|
1180
1233
|
* @return ListEmailDomainsResponse
|
|
1181
1234
|
* @throws OciError when an error occurs
|
|
1182
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1235
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/email/ListEmailDomains.ts.html |here} to see how to use ListEmailDomains API.
|
|
1183
1236
|
*/
|
|
1184
1237
|
listEmailDomains(listEmailDomainsRequest) {
|
|
1185
1238
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1186
|
-
|
|
1239
|
+
if (this.logger)
|
|
1240
|
+
this.logger.debug("Calling operation EmailClient#listEmailDomains.");
|
|
1187
1241
|
const operationName = "listEmailDomains";
|
|
1188
1242
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/emaildelivery/20170907/EmailDomain/ListEmailDomains";
|
|
1189
1243
|
const pathParams = {};
|
|
@@ -1203,6 +1257,8 @@ class EmailClient {
|
|
|
1203
1257
|
};
|
|
1204
1258
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1205
1259
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listEmailDomainsRequest.retryConfiguration, specRetryConfiguration);
|
|
1260
|
+
if (this.logger)
|
|
1261
|
+
retrier.logger = this.logger;
|
|
1206
1262
|
const request = yield oci_common_2.composeRequest({
|
|
1207
1263
|
baseEndpoint: this._endpoint,
|
|
1208
1264
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1247,11 +1303,12 @@ class EmailClient {
|
|
|
1247
1303
|
* @param ListSendersRequest
|
|
1248
1304
|
* @return ListSendersResponse
|
|
1249
1305
|
* @throws OciError when an error occurs
|
|
1250
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1306
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/email/ListSenders.ts.html |here} to see how to use ListSenders API.
|
|
1251
1307
|
*/
|
|
1252
1308
|
listSenders(listSendersRequest) {
|
|
1253
1309
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1254
|
-
|
|
1310
|
+
if (this.logger)
|
|
1311
|
+
this.logger.debug("Calling operation EmailClient#listSenders.");
|
|
1255
1312
|
const operationName = "listSenders";
|
|
1256
1313
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/emaildelivery/20170907/Sender/ListSenders";
|
|
1257
1314
|
const pathParams = {};
|
|
@@ -1271,6 +1328,8 @@ class EmailClient {
|
|
|
1271
1328
|
};
|
|
1272
1329
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1273
1330
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSendersRequest.retryConfiguration, specRetryConfiguration);
|
|
1331
|
+
if (this.logger)
|
|
1332
|
+
retrier.logger = this.logger;
|
|
1274
1333
|
const request = yield oci_common_2.composeRequest({
|
|
1275
1334
|
baseEndpoint: this._endpoint,
|
|
1276
1335
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1367,11 +1426,12 @@ class EmailClient {
|
|
|
1367
1426
|
* @param ListSuppressionsRequest
|
|
1368
1427
|
* @return ListSuppressionsResponse
|
|
1369
1428
|
* @throws OciError when an error occurs
|
|
1370
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1429
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/email/ListSuppressions.ts.html |here} to see how to use ListSuppressions API.
|
|
1371
1430
|
*/
|
|
1372
1431
|
listSuppressions(listSuppressionsRequest) {
|
|
1373
1432
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1374
|
-
|
|
1433
|
+
if (this.logger)
|
|
1434
|
+
this.logger.debug("Calling operation EmailClient#listSuppressions.");
|
|
1375
1435
|
const operationName = "listSuppressions";
|
|
1376
1436
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/emaildelivery/20170907/Suppression/ListSuppressions";
|
|
1377
1437
|
const pathParams = {};
|
|
@@ -1391,6 +1451,8 @@ class EmailClient {
|
|
|
1391
1451
|
};
|
|
1392
1452
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1393
1453
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSuppressionsRequest.retryConfiguration, specRetryConfiguration);
|
|
1454
|
+
if (this.logger)
|
|
1455
|
+
retrier.logger = this.logger;
|
|
1394
1456
|
const request = yield oci_common_2.composeRequest({
|
|
1395
1457
|
baseEndpoint: this._endpoint,
|
|
1396
1458
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1480,11 +1542,12 @@ class EmailClient {
|
|
|
1480
1542
|
* @param ListWorkRequestErrorsRequest
|
|
1481
1543
|
* @return ListWorkRequestErrorsResponse
|
|
1482
1544
|
* @throws OciError when an error occurs
|
|
1483
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1545
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/email/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
1484
1546
|
*/
|
|
1485
1547
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
1486
1548
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1487
|
-
|
|
1549
|
+
if (this.logger)
|
|
1550
|
+
this.logger.debug("Calling operation EmailClient#listWorkRequestErrors.");
|
|
1488
1551
|
const operationName = "listWorkRequestErrors";
|
|
1489
1552
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/emaildelivery/20170907/WorkRequestErrorCollection/ListWorkRequestErrors";
|
|
1490
1553
|
const pathParams = {
|
|
@@ -1500,6 +1563,8 @@ class EmailClient {
|
|
|
1500
1563
|
};
|
|
1501
1564
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1502
1565
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
|
|
1566
|
+
if (this.logger)
|
|
1567
|
+
retrier.logger = this.logger;
|
|
1503
1568
|
const request = yield oci_common_2.composeRequest({
|
|
1504
1569
|
baseEndpoint: this._endpoint,
|
|
1505
1570
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1544,11 +1609,12 @@ class EmailClient {
|
|
|
1544
1609
|
* @param ListWorkRequestLogsRequest
|
|
1545
1610
|
* @return ListWorkRequestLogsResponse
|
|
1546
1611
|
* @throws OciError when an error occurs
|
|
1547
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1612
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/email/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
1548
1613
|
*/
|
|
1549
1614
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
1550
1615
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1551
|
-
|
|
1616
|
+
if (this.logger)
|
|
1617
|
+
this.logger.debug("Calling operation EmailClient#listWorkRequestLogs.");
|
|
1552
1618
|
const operationName = "listWorkRequestLogs";
|
|
1553
1619
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/emaildelivery/20170907/WorkRequestLogEntryCollection/ListWorkRequestLogs";
|
|
1554
1620
|
const pathParams = {
|
|
@@ -1564,6 +1630,8 @@ class EmailClient {
|
|
|
1564
1630
|
};
|
|
1565
1631
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1566
1632
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
1633
|
+
if (this.logger)
|
|
1634
|
+
retrier.logger = this.logger;
|
|
1567
1635
|
const request = yield oci_common_2.composeRequest({
|
|
1568
1636
|
baseEndpoint: this._endpoint,
|
|
1569
1637
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1608,11 +1676,12 @@ class EmailClient {
|
|
|
1608
1676
|
* @param ListWorkRequestsRequest
|
|
1609
1677
|
* @return ListWorkRequestsResponse
|
|
1610
1678
|
* @throws OciError when an error occurs
|
|
1611
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1679
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/email/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
1612
1680
|
*/
|
|
1613
1681
|
listWorkRequests(listWorkRequestsRequest) {
|
|
1614
1682
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1615
|
-
|
|
1683
|
+
if (this.logger)
|
|
1684
|
+
this.logger.debug("Calling operation EmailClient#listWorkRequests.");
|
|
1616
1685
|
const operationName = "listWorkRequests";
|
|
1617
1686
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/emaildelivery/20170907/WorkRequestSummaryCollection/ListWorkRequests";
|
|
1618
1687
|
const pathParams = {};
|
|
@@ -1628,6 +1697,8 @@ class EmailClient {
|
|
|
1628
1697
|
};
|
|
1629
1698
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1630
1699
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
1700
|
+
if (this.logger)
|
|
1701
|
+
retrier.logger = this.logger;
|
|
1631
1702
|
const request = yield oci_common_2.composeRequest({
|
|
1632
1703
|
baseEndpoint: this._endpoint,
|
|
1633
1704
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1671,11 +1742,12 @@ class EmailClient {
|
|
|
1671
1742
|
* @param UpdateDkimRequest
|
|
1672
1743
|
* @return UpdateDkimResponse
|
|
1673
1744
|
* @throws OciError when an error occurs
|
|
1674
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1745
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/email/UpdateDkim.ts.html |here} to see how to use UpdateDkim API.
|
|
1675
1746
|
*/
|
|
1676
1747
|
updateDkim(updateDkimRequest) {
|
|
1677
1748
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1678
|
-
|
|
1749
|
+
if (this.logger)
|
|
1750
|
+
this.logger.debug("Calling operation EmailClient#updateDkim.");
|
|
1679
1751
|
const operationName = "updateDkim";
|
|
1680
1752
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/emaildelivery/20170907/Dkim/UpdateDkim";
|
|
1681
1753
|
const pathParams = {
|
|
@@ -1689,6 +1761,8 @@ class EmailClient {
|
|
|
1689
1761
|
};
|
|
1690
1762
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1691
1763
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateDkimRequest.retryConfiguration, specRetryConfiguration);
|
|
1764
|
+
if (this.logger)
|
|
1765
|
+
retrier.logger = this.logger;
|
|
1692
1766
|
const request = yield oci_common_2.composeRequest({
|
|
1693
1767
|
baseEndpoint: this._endpoint,
|
|
1694
1768
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1729,11 +1803,12 @@ class EmailClient {
|
|
|
1729
1803
|
* @param UpdateEmailDomainRequest
|
|
1730
1804
|
* @return UpdateEmailDomainResponse
|
|
1731
1805
|
* @throws OciError when an error occurs
|
|
1732
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1806
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/email/UpdateEmailDomain.ts.html |here} to see how to use UpdateEmailDomain API.
|
|
1733
1807
|
*/
|
|
1734
1808
|
updateEmailDomain(updateEmailDomainRequest) {
|
|
1735
1809
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1736
|
-
|
|
1810
|
+
if (this.logger)
|
|
1811
|
+
this.logger.debug("Calling operation EmailClient#updateEmailDomain.");
|
|
1737
1812
|
const operationName = "updateEmailDomain";
|
|
1738
1813
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/emaildelivery/20170907/EmailDomain/UpdateEmailDomain";
|
|
1739
1814
|
const pathParams = {
|
|
@@ -1747,6 +1822,8 @@ class EmailClient {
|
|
|
1747
1822
|
};
|
|
1748
1823
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1749
1824
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateEmailDomainRequest.retryConfiguration, specRetryConfiguration);
|
|
1825
|
+
if (this.logger)
|
|
1826
|
+
retrier.logger = this.logger;
|
|
1750
1827
|
const request = yield oci_common_2.composeRequest({
|
|
1751
1828
|
baseEndpoint: this._endpoint,
|
|
1752
1829
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1791,11 +1868,12 @@ class EmailClient {
|
|
|
1791
1868
|
* @param UpdateSenderRequest
|
|
1792
1869
|
* @return UpdateSenderResponse
|
|
1793
1870
|
* @throws OciError when an error occurs
|
|
1794
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1871
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/email/UpdateSender.ts.html |here} to see how to use UpdateSender API.
|
|
1795
1872
|
*/
|
|
1796
1873
|
updateSender(updateSenderRequest) {
|
|
1797
1874
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1798
|
-
|
|
1875
|
+
if (this.logger)
|
|
1876
|
+
this.logger.debug("Calling operation EmailClient#updateSender.");
|
|
1799
1877
|
const operationName = "updateSender";
|
|
1800
1878
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/emaildelivery/20170907/Sender/UpdateSender";
|
|
1801
1879
|
const pathParams = {
|
|
@@ -1809,6 +1887,8 @@ class EmailClient {
|
|
|
1809
1887
|
};
|
|
1810
1888
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1811
1889
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateSenderRequest.retryConfiguration, specRetryConfiguration);
|
|
1890
|
+
if (this.logger)
|
|
1891
|
+
retrier.logger = this.logger;
|
|
1812
1892
|
const request = yield oci_common_2.composeRequest({
|
|
1813
1893
|
baseEndpoint: this._endpoint,
|
|
1814
1894
|
defaultHeaders: this._defaultHeaders,
|