oci-email 2.5.2 → 2.6.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 +53 -25
- package/lib/client.js +110 -50
- 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
|
@@ -58,6 +58,9 @@ const oci_common_2 = require("oci-common");
|
|
|
58
58
|
var EmailApiKeys;
|
|
59
59
|
(function (EmailApiKeys) {
|
|
60
60
|
})(EmailApiKeys = exports.EmailApiKeys || (exports.EmailApiKeys = {}));
|
|
61
|
+
/**
|
|
62
|
+
* This service client does not use circuit breakers by default if the user has not defined a circuit breaker configuration.
|
|
63
|
+
*/
|
|
61
64
|
class EmailClient {
|
|
62
65
|
constructor(params, clientConfiguration) {
|
|
63
66
|
this["_endpoint"] = "";
|
|
@@ -72,6 +75,13 @@ class EmailClient {
|
|
|
72
75
|
? clientConfiguration.circuitBreaker.circuit
|
|
73
76
|
: null;
|
|
74
77
|
}
|
|
78
|
+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
79
|
+
const specCircuitBreakerEnabled = false;
|
|
80
|
+
if (!this._circuitBreaker &&
|
|
81
|
+
common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) &&
|
|
82
|
+
(specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
|
|
83
|
+
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
84
|
+
}
|
|
75
85
|
this._httpClient =
|
|
76
86
|
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
|
|
77
87
|
if (params.authenticationDetailsProvider &&
|
|
@@ -149,10 +159,11 @@ class EmailClient {
|
|
|
149
159
|
* <p>
|
|
150
160
|
**Note:** All Dkim objects associated with this email domain will also be moved into the provided compartment.
|
|
151
161
|
*
|
|
162
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
152
163
|
* @param ChangeEmailDomainCompartmentRequest
|
|
153
164
|
* @return ChangeEmailDomainCompartmentResponse
|
|
154
165
|
* @throws OciError when an error occurs
|
|
155
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
166
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/email/ChangeEmailDomainCompartment.ts.html |here} to see how to use ChangeEmailDomainCompartment API.
|
|
156
167
|
*/
|
|
157
168
|
changeEmailDomainCompartment(changeEmailDomainCompartmentRequest) {
|
|
158
169
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -168,7 +179,8 @@ class EmailClient {
|
|
|
168
179
|
"opc-request-id": changeEmailDomainCompartmentRequest.opcRequestId,
|
|
169
180
|
"opc-retry-token": changeEmailDomainCompartmentRequest.opcRetryToken
|
|
170
181
|
};
|
|
171
|
-
const
|
|
182
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
183
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeEmailDomainCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
172
184
|
if (this.logger)
|
|
173
185
|
retrier.logger = this.logger;
|
|
174
186
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -207,10 +219,11 @@ class EmailClient {
|
|
|
207
219
|
}
|
|
208
220
|
/**
|
|
209
221
|
* Moves a sender into a different compartment. When provided, If-Match is checked against ETag values of the resource.
|
|
222
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
210
223
|
* @param ChangeSenderCompartmentRequest
|
|
211
224
|
* @return ChangeSenderCompartmentResponse
|
|
212
225
|
* @throws OciError when an error occurs
|
|
213
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
226
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/email/ChangeSenderCompartment.ts.html |here} to see how to use ChangeSenderCompartment API.
|
|
214
227
|
*/
|
|
215
228
|
changeSenderCompartment(changeSenderCompartmentRequest) {
|
|
216
229
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -225,7 +238,8 @@ class EmailClient {
|
|
|
225
238
|
"if-match": changeSenderCompartmentRequest.ifMatch,
|
|
226
239
|
"opc-request-id": changeSenderCompartmentRequest.opcRequestId
|
|
227
240
|
};
|
|
228
|
-
const
|
|
241
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
242
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeSenderCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
229
243
|
if (this.logger)
|
|
230
244
|
retrier.logger = this.logger;
|
|
231
245
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -264,10 +278,11 @@ class EmailClient {
|
|
|
264
278
|
* When a second DKIM is applied, all senders will seamlessly pick up the new key
|
|
265
279
|
* without interruption in signing.
|
|
266
280
|
*
|
|
281
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
267
282
|
* @param CreateDkimRequest
|
|
268
283
|
* @return CreateDkimResponse
|
|
269
284
|
* @throws OciError when an error occurs
|
|
270
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
285
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/email/CreateDkim.ts.html |here} to see how to use CreateDkim API.
|
|
271
286
|
*/
|
|
272
287
|
createDkim(createDkimRequest) {
|
|
273
288
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -280,7 +295,8 @@ class EmailClient {
|
|
|
280
295
|
"opc-retry-token": createDkimRequest.opcRetryToken,
|
|
281
296
|
"opc-request-id": createDkimRequest.opcRequestId
|
|
282
297
|
};
|
|
283
|
-
const
|
|
298
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
299
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createDkimRequest.retryConfiguration, specRetryConfiguration);
|
|
284
300
|
if (this.logger)
|
|
285
301
|
retrier.logger = this.logger;
|
|
286
302
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -338,10 +354,11 @@ class EmailClient {
|
|
|
338
354
|
}
|
|
339
355
|
/**
|
|
340
356
|
* Creates a new email domain. Avoid entering confidential information.
|
|
357
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
341
358
|
* @param CreateEmailDomainRequest
|
|
342
359
|
* @return CreateEmailDomainResponse
|
|
343
360
|
* @throws OciError when an error occurs
|
|
344
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
361
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/email/CreateEmailDomain.ts.html |here} to see how to use CreateEmailDomain API.
|
|
345
362
|
*/
|
|
346
363
|
createEmailDomain(createEmailDomainRequest) {
|
|
347
364
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -354,7 +371,8 @@ class EmailClient {
|
|
|
354
371
|
"opc-request-id": createEmailDomainRequest.opcRequestId,
|
|
355
372
|
"opc-retry-token": createEmailDomainRequest.opcRetryToken
|
|
356
373
|
};
|
|
357
|
-
const
|
|
374
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
375
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createEmailDomainRequest.retryConfiguration, specRetryConfiguration);
|
|
358
376
|
if (this.logger)
|
|
359
377
|
retrier.logger = this.logger;
|
|
360
378
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -412,10 +430,11 @@ class EmailClient {
|
|
|
412
430
|
}
|
|
413
431
|
/**
|
|
414
432
|
* Creates a sender for a tenancy in a given compartment.
|
|
433
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
415
434
|
* @param CreateSenderRequest
|
|
416
435
|
* @return CreateSenderResponse
|
|
417
436
|
* @throws OciError when an error occurs
|
|
418
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
437
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/email/CreateSender.ts.html |here} to see how to use CreateSender API.
|
|
419
438
|
*/
|
|
420
439
|
createSender(createSenderRequest) {
|
|
421
440
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -427,7 +446,8 @@ class EmailClient {
|
|
|
427
446
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
428
447
|
"opc-request-id": createSenderRequest.opcRequestId
|
|
429
448
|
};
|
|
430
|
-
const
|
|
449
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
450
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createSenderRequest.retryConfiguration, specRetryConfiguration);
|
|
431
451
|
if (this.logger)
|
|
432
452
|
retrier.logger = this.logger;
|
|
433
453
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -474,10 +494,11 @@ class EmailClient {
|
|
|
474
494
|
* \"MANUAL\" in the `reason` field. *Note:* All email addresses added to the
|
|
475
495
|
* suppression list are normalized to include only lowercase letters.
|
|
476
496
|
*
|
|
497
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
477
498
|
* @param CreateSuppressionRequest
|
|
478
499
|
* @return CreateSuppressionResponse
|
|
479
500
|
* @throws OciError when an error occurs
|
|
480
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
501
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/email/CreateSuppression.ts.html |here} to see how to use CreateSuppression API.
|
|
481
502
|
*/
|
|
482
503
|
createSuppression(createSuppressionRequest) {
|
|
483
504
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -489,7 +510,8 @@ class EmailClient {
|
|
|
489
510
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
490
511
|
"opc-request-id": createSuppressionRequest.opcRequestId
|
|
491
512
|
};
|
|
492
|
-
const
|
|
513
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
514
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createSuppressionRequest.retryConfiguration, specRetryConfiguration);
|
|
493
515
|
if (this.logger)
|
|
494
516
|
retrier.logger = this.logger;
|
|
495
517
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -533,10 +555,11 @@ class EmailClient {
|
|
|
533
555
|
* in-transit mail to be validated.
|
|
534
556
|
* Consider instead of deletion creating a new DKIM for this domain so the signing can be rotated to it.
|
|
535
557
|
*
|
|
558
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
536
559
|
* @param DeleteDkimRequest
|
|
537
560
|
* @return DeleteDkimResponse
|
|
538
561
|
* @throws OciError when an error occurs
|
|
539
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
562
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/email/DeleteDkim.ts.html |here} to see how to use DeleteDkim API.
|
|
540
563
|
*/
|
|
541
564
|
deleteDkim(deleteDkimRequest) {
|
|
542
565
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -551,7 +574,8 @@ class EmailClient {
|
|
|
551
574
|
"if-match": deleteDkimRequest.ifMatch,
|
|
552
575
|
"opc-request-id": deleteDkimRequest.opcRequestId
|
|
553
576
|
};
|
|
554
|
-
const
|
|
577
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
578
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteDkimRequest.retryConfiguration, specRetryConfiguration);
|
|
555
579
|
if (this.logger)
|
|
556
580
|
retrier.logger = this.logger;
|
|
557
581
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -589,10 +613,11 @@ class EmailClient {
|
|
|
589
613
|
}
|
|
590
614
|
/**
|
|
591
615
|
* Deletes a email domain.
|
|
616
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
592
617
|
* @param DeleteEmailDomainRequest
|
|
593
618
|
* @return DeleteEmailDomainResponse
|
|
594
619
|
* @throws OciError when an error occurs
|
|
595
|
-
* @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.6.0/email/DeleteEmailDomain.ts.html |here} to see how to use DeleteEmailDomain API.
|
|
596
621
|
*/
|
|
597
622
|
deleteEmailDomain(deleteEmailDomainRequest) {
|
|
598
623
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -607,7 +632,8 @@ class EmailClient {
|
|
|
607
632
|
"if-match": deleteEmailDomainRequest.ifMatch,
|
|
608
633
|
"opc-request-id": deleteEmailDomainRequest.opcRequestId
|
|
609
634
|
};
|
|
610
|
-
const
|
|
635
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
636
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteEmailDomainRequest.retryConfiguration, specRetryConfiguration);
|
|
611
637
|
if (this.logger)
|
|
612
638
|
retrier.logger = this.logger;
|
|
613
639
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -647,10 +673,11 @@ class EmailClient {
|
|
|
647
673
|
* Deletes an approved sender for a tenancy in a given compartment for a
|
|
648
674
|
* provided `senderId`.
|
|
649
675
|
*
|
|
676
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
650
677
|
* @param DeleteSenderRequest
|
|
651
678
|
* @return DeleteSenderResponse
|
|
652
679
|
* @throws OciError when an error occurs
|
|
653
|
-
* @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.6.0/email/DeleteSender.ts.html |here} to see how to use DeleteSender API.
|
|
654
681
|
*/
|
|
655
682
|
deleteSender(deleteSenderRequest) {
|
|
656
683
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -665,7 +692,8 @@ class EmailClient {
|
|
|
665
692
|
"if-match": deleteSenderRequest.ifMatch,
|
|
666
693
|
"opc-request-id": deleteSenderRequest.opcRequestId
|
|
667
694
|
};
|
|
668
|
-
const
|
|
695
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
696
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteSenderRequest.retryConfiguration, specRetryConfiguration);
|
|
669
697
|
if (this.logger)
|
|
670
698
|
retrier.logger = this.logger;
|
|
671
699
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -700,10 +728,11 @@ class EmailClient {
|
|
|
700
728
|
* Removes a suppressed recipient email address from the suppression list
|
|
701
729
|
* for a tenancy in a given compartment for a provided `suppressionId`.
|
|
702
730
|
*
|
|
731
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
703
732
|
* @param DeleteSuppressionRequest
|
|
704
733
|
* @return DeleteSuppressionResponse
|
|
705
734
|
* @throws OciError when an error occurs
|
|
706
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
735
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/email/DeleteSuppression.ts.html |here} to see how to use DeleteSuppression API.
|
|
707
736
|
*/
|
|
708
737
|
deleteSuppression(deleteSuppressionRequest) {
|
|
709
738
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -717,7 +746,8 @@ class EmailClient {
|
|
|
717
746
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
718
747
|
"opc-request-id": deleteSuppressionRequest.opcRequestId
|
|
719
748
|
};
|
|
720
|
-
const
|
|
749
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
750
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteSuppressionRequest.retryConfiguration, specRetryConfiguration);
|
|
721
751
|
if (this.logger)
|
|
722
752
|
retrier.logger = this.logger;
|
|
723
753
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -750,10 +780,11 @@ class EmailClient {
|
|
|
750
780
|
}
|
|
751
781
|
/**
|
|
752
782
|
* Retrieves the specified DKIM.
|
|
783
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
753
784
|
* @param GetDkimRequest
|
|
754
785
|
* @return GetDkimResponse
|
|
755
786
|
* @throws OciError when an error occurs
|
|
756
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
787
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/email/GetDkim.ts.html |here} to see how to use GetDkim API.
|
|
757
788
|
*/
|
|
758
789
|
getDkim(getDkimRequest) {
|
|
759
790
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -767,7 +798,8 @@ class EmailClient {
|
|
|
767
798
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
768
799
|
"opc-request-id": getDkimRequest.opcRequestId
|
|
769
800
|
};
|
|
770
|
-
const
|
|
801
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
802
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDkimRequest.retryConfiguration, specRetryConfiguration);
|
|
771
803
|
if (this.logger)
|
|
772
804
|
retrier.logger = this.logger;
|
|
773
805
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -809,10 +841,11 @@ class EmailClient {
|
|
|
809
841
|
}
|
|
810
842
|
/**
|
|
811
843
|
* Retrieves the specified email domain.
|
|
844
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
812
845
|
* @param GetEmailDomainRequest
|
|
813
846
|
* @return GetEmailDomainResponse
|
|
814
847
|
* @throws OciError when an error occurs
|
|
815
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
848
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/email/GetEmailDomain.ts.html |here} to see how to use GetEmailDomain API.
|
|
816
849
|
*/
|
|
817
850
|
getEmailDomain(getEmailDomainRequest) {
|
|
818
851
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -826,7 +859,8 @@ class EmailClient {
|
|
|
826
859
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
827
860
|
"opc-request-id": getEmailDomainRequest.opcRequestId
|
|
828
861
|
};
|
|
829
|
-
const
|
|
862
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
863
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getEmailDomainRequest.retryConfiguration, specRetryConfiguration);
|
|
830
864
|
if (this.logger)
|
|
831
865
|
retrier.logger = this.logger;
|
|
832
866
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -868,10 +902,11 @@ class EmailClient {
|
|
|
868
902
|
}
|
|
869
903
|
/**
|
|
870
904
|
* Gets an approved sender for a given `senderId`.
|
|
905
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
871
906
|
* @param GetSenderRequest
|
|
872
907
|
* @return GetSenderResponse
|
|
873
908
|
* @throws OciError when an error occurs
|
|
874
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
909
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/email/GetSender.ts.html |here} to see how to use GetSender API.
|
|
875
910
|
*/
|
|
876
911
|
getSender(getSenderRequest) {
|
|
877
912
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -885,7 +920,8 @@ class EmailClient {
|
|
|
885
920
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
886
921
|
"opc-request-id": getSenderRequest.opcRequestId
|
|
887
922
|
};
|
|
888
|
-
const
|
|
923
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
924
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getSenderRequest.retryConfiguration, specRetryConfiguration);
|
|
889
925
|
if (this.logger)
|
|
890
926
|
retrier.logger = this.logger;
|
|
891
927
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -929,10 +965,11 @@ class EmailClient {
|
|
|
929
965
|
* Gets the details of a suppressed recipient email address for a given
|
|
930
966
|
* `suppressionId`. Each suppression is given a unique OCID.
|
|
931
967
|
*
|
|
968
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
932
969
|
* @param GetSuppressionRequest
|
|
933
970
|
* @return GetSuppressionResponse
|
|
934
971
|
* @throws OciError when an error occurs
|
|
935
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
972
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/email/GetSuppression.ts.html |here} to see how to use GetSuppression API.
|
|
936
973
|
*/
|
|
937
974
|
getSuppression(getSuppressionRequest) {
|
|
938
975
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -946,7 +983,8 @@ class EmailClient {
|
|
|
946
983
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
947
984
|
"opc-request-id": getSuppressionRequest.opcRequestId
|
|
948
985
|
};
|
|
949
|
-
const
|
|
986
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
987
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getSuppressionRequest.retryConfiguration, specRetryConfiguration);
|
|
950
988
|
if (this.logger)
|
|
951
989
|
retrier.logger = this.logger;
|
|
952
990
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -983,10 +1021,11 @@ class EmailClient {
|
|
|
983
1021
|
}
|
|
984
1022
|
/**
|
|
985
1023
|
* Gets the status of the work request with the given ID.
|
|
1024
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
986
1025
|
* @param GetWorkRequestRequest
|
|
987
1026
|
* @return GetWorkRequestResponse
|
|
988
1027
|
* @throws OciError when an error occurs
|
|
989
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1028
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/email/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
990
1029
|
*/
|
|
991
1030
|
getWorkRequest(getWorkRequestRequest) {
|
|
992
1031
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1000,7 +1039,8 @@ class EmailClient {
|
|
|
1000
1039
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1001
1040
|
"opc-request-id": getWorkRequestRequest.opcRequestId
|
|
1002
1041
|
};
|
|
1003
|
-
const
|
|
1042
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1043
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
1004
1044
|
if (this.logger)
|
|
1005
1045
|
retrier.logger = this.logger;
|
|
1006
1046
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1042,10 +1082,11 @@ class EmailClient {
|
|
|
1042
1082
|
}
|
|
1043
1083
|
/**
|
|
1044
1084
|
* Lists DKIMs for a email domain.
|
|
1085
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1045
1086
|
* @param ListDkimsRequest
|
|
1046
1087
|
* @return ListDkimsResponse
|
|
1047
1088
|
* @throws OciError when an error occurs
|
|
1048
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1089
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/email/ListDkims.ts.html |here} to see how to use ListDkims API.
|
|
1049
1090
|
*/
|
|
1050
1091
|
listDkims(listDkimsRequest) {
|
|
1051
1092
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1066,7 +1107,8 @@ class EmailClient {
|
|
|
1066
1107
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1067
1108
|
"opc-request-id": listDkimsRequest.opcRequestId
|
|
1068
1109
|
};
|
|
1069
|
-
const
|
|
1110
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1111
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listDkimsRequest.retryConfiguration, specRetryConfiguration);
|
|
1070
1112
|
if (this.logger)
|
|
1071
1113
|
retrier.logger = this.logger;
|
|
1072
1114
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1108,10 +1150,11 @@ class EmailClient {
|
|
|
1108
1150
|
}
|
|
1109
1151
|
/**
|
|
1110
1152
|
* Lists email domains in the specified compartment.
|
|
1153
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1111
1154
|
* @param ListEmailDomainsRequest
|
|
1112
1155
|
* @return ListEmailDomainsResponse
|
|
1113
1156
|
* @throws OciError when an error occurs
|
|
1114
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1157
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/email/ListEmailDomains.ts.html |here} to see how to use ListEmailDomains API.
|
|
1115
1158
|
*/
|
|
1116
1159
|
listEmailDomains(listEmailDomainsRequest) {
|
|
1117
1160
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1132,7 +1175,8 @@ class EmailClient {
|
|
|
1132
1175
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1133
1176
|
"opc-request-id": listEmailDomainsRequest.opcRequestId
|
|
1134
1177
|
};
|
|
1135
|
-
const
|
|
1178
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1179
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listEmailDomainsRequest.retryConfiguration, specRetryConfiguration);
|
|
1136
1180
|
if (this.logger)
|
|
1137
1181
|
retrier.logger = this.logger;
|
|
1138
1182
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1175,10 +1219,11 @@ class EmailClient {
|
|
|
1175
1219
|
/**
|
|
1176
1220
|
* Gets a collection of approved sender email addresses and sender IDs.
|
|
1177
1221
|
*
|
|
1222
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1178
1223
|
* @param ListSendersRequest
|
|
1179
1224
|
* @return ListSendersResponse
|
|
1180
1225
|
* @throws OciError when an error occurs
|
|
1181
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1226
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/email/ListSenders.ts.html |here} to see how to use ListSenders API.
|
|
1182
1227
|
*/
|
|
1183
1228
|
listSenders(listSendersRequest) {
|
|
1184
1229
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1199,7 +1244,8 @@ class EmailClient {
|
|
|
1199
1244
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1200
1245
|
"opc-request-id": listSendersRequest.opcRequestId
|
|
1201
1246
|
};
|
|
1202
|
-
const
|
|
1247
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1248
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSendersRequest.retryConfiguration, specRetryConfiguration);
|
|
1203
1249
|
if (this.logger)
|
|
1204
1250
|
retrier.logger = this.logger;
|
|
1205
1251
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1294,10 +1340,11 @@ class EmailClient {
|
|
|
1294
1340
|
* `compartmentId` for suppressions must be a tenancy OCID. The returned list
|
|
1295
1341
|
* is sorted by creation time in descending order.
|
|
1296
1342
|
*
|
|
1343
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1297
1344
|
* @param ListSuppressionsRequest
|
|
1298
1345
|
* @return ListSuppressionsResponse
|
|
1299
1346
|
* @throws OciError when an error occurs
|
|
1300
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1347
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/email/ListSuppressions.ts.html |here} to see how to use ListSuppressions API.
|
|
1301
1348
|
*/
|
|
1302
1349
|
listSuppressions(listSuppressionsRequest) {
|
|
1303
1350
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1318,7 +1365,8 @@ class EmailClient {
|
|
|
1318
1365
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1319
1366
|
"opc-request-id": listSuppressionsRequest.opcRequestId
|
|
1320
1367
|
};
|
|
1321
|
-
const
|
|
1368
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1369
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSuppressionsRequest.retryConfiguration, specRetryConfiguration);
|
|
1322
1370
|
if (this.logger)
|
|
1323
1371
|
retrier.logger = this.logger;
|
|
1324
1372
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1406,10 +1454,11 @@ class EmailClient {
|
|
|
1406
1454
|
/**
|
|
1407
1455
|
* Return a (paginated) list of errors for a given work request.
|
|
1408
1456
|
*
|
|
1457
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1409
1458
|
* @param ListWorkRequestErrorsRequest
|
|
1410
1459
|
* @return ListWorkRequestErrorsResponse
|
|
1411
1460
|
* @throws OciError when an error occurs
|
|
1412
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1461
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/email/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
1413
1462
|
*/
|
|
1414
1463
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
1415
1464
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1426,7 +1475,8 @@ class EmailClient {
|
|
|
1426
1475
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1427
1476
|
"opc-request-id": listWorkRequestErrorsRequest.opcRequestId
|
|
1428
1477
|
};
|
|
1429
|
-
const
|
|
1478
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1479
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
|
|
1430
1480
|
if (this.logger)
|
|
1431
1481
|
retrier.logger = this.logger;
|
|
1432
1482
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1469,10 +1519,11 @@ class EmailClient {
|
|
|
1469
1519
|
/**
|
|
1470
1520
|
* Return a (paginated) list of logs for a given work request.
|
|
1471
1521
|
*
|
|
1522
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1472
1523
|
* @param ListWorkRequestLogsRequest
|
|
1473
1524
|
* @return ListWorkRequestLogsResponse
|
|
1474
1525
|
* @throws OciError when an error occurs
|
|
1475
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1526
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/email/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
1476
1527
|
*/
|
|
1477
1528
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
1478
1529
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1489,7 +1540,8 @@ class EmailClient {
|
|
|
1489
1540
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1490
1541
|
"opc-request-id": listWorkRequestLogsRequest.opcRequestId
|
|
1491
1542
|
};
|
|
1492
|
-
const
|
|
1543
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1544
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
1493
1545
|
if (this.logger)
|
|
1494
1546
|
retrier.logger = this.logger;
|
|
1495
1547
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1532,10 +1584,11 @@ class EmailClient {
|
|
|
1532
1584
|
/**
|
|
1533
1585
|
* Lists the work requests in a compartment.
|
|
1534
1586
|
*
|
|
1587
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1535
1588
|
* @param ListWorkRequestsRequest
|
|
1536
1589
|
* @return ListWorkRequestsResponse
|
|
1537
1590
|
* @throws OciError when an error occurs
|
|
1538
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1591
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/email/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
1539
1592
|
*/
|
|
1540
1593
|
listWorkRequests(listWorkRequestsRequest) {
|
|
1541
1594
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1552,7 +1605,8 @@ class EmailClient {
|
|
|
1552
1605
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1553
1606
|
"opc-request-id": listWorkRequestsRequest.opcRequestId
|
|
1554
1607
|
};
|
|
1555
|
-
const
|
|
1608
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1609
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
1556
1610
|
if (this.logger)
|
|
1557
1611
|
retrier.logger = this.logger;
|
|
1558
1612
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1594,10 +1648,11 @@ class EmailClient {
|
|
|
1594
1648
|
}
|
|
1595
1649
|
/**
|
|
1596
1650
|
* Modifies a DKIM.
|
|
1651
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1597
1652
|
* @param UpdateDkimRequest
|
|
1598
1653
|
* @return UpdateDkimResponse
|
|
1599
1654
|
* @throws OciError when an error occurs
|
|
1600
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1655
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/email/UpdateDkim.ts.html |here} to see how to use UpdateDkim API.
|
|
1601
1656
|
*/
|
|
1602
1657
|
updateDkim(updateDkimRequest) {
|
|
1603
1658
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1612,7 +1667,8 @@ class EmailClient {
|
|
|
1612
1667
|
"if-match": updateDkimRequest.ifMatch,
|
|
1613
1668
|
"opc-request-id": updateDkimRequest.opcRequestId
|
|
1614
1669
|
};
|
|
1615
|
-
const
|
|
1670
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1671
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateDkimRequest.retryConfiguration, specRetryConfiguration);
|
|
1616
1672
|
if (this.logger)
|
|
1617
1673
|
retrier.logger = this.logger;
|
|
1618
1674
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1651,10 +1707,11 @@ class EmailClient {
|
|
|
1651
1707
|
}
|
|
1652
1708
|
/**
|
|
1653
1709
|
* Modifies a email domain.
|
|
1710
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1654
1711
|
* @param UpdateEmailDomainRequest
|
|
1655
1712
|
* @return UpdateEmailDomainResponse
|
|
1656
1713
|
* @throws OciError when an error occurs
|
|
1657
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1714
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/email/UpdateEmailDomain.ts.html |here} to see how to use UpdateEmailDomain API.
|
|
1658
1715
|
*/
|
|
1659
1716
|
updateEmailDomain(updateEmailDomainRequest) {
|
|
1660
1717
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1669,7 +1726,8 @@ class EmailClient {
|
|
|
1669
1726
|
"if-match": updateEmailDomainRequest.ifMatch,
|
|
1670
1727
|
"opc-request-id": updateEmailDomainRequest.opcRequestId
|
|
1671
1728
|
};
|
|
1672
|
-
const
|
|
1729
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1730
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateEmailDomainRequest.retryConfiguration, specRetryConfiguration);
|
|
1673
1731
|
if (this.logger)
|
|
1674
1732
|
retrier.logger = this.logger;
|
|
1675
1733
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1712,10 +1770,11 @@ class EmailClient {
|
|
|
1712
1770
|
* include the full set of tags for the sender, partial updates are not permitted.
|
|
1713
1771
|
* For more information about tagging, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
1714
1772
|
*
|
|
1773
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1715
1774
|
* @param UpdateSenderRequest
|
|
1716
1775
|
* @return UpdateSenderResponse
|
|
1717
1776
|
* @throws OciError when an error occurs
|
|
1718
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1777
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/email/UpdateSender.ts.html |here} to see how to use UpdateSender API.
|
|
1719
1778
|
*/
|
|
1720
1779
|
updateSender(updateSenderRequest) {
|
|
1721
1780
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1730,7 +1789,8 @@ class EmailClient {
|
|
|
1730
1789
|
"if-match": updateSenderRequest.ifMatch,
|
|
1731
1790
|
"opc-request-id": updateSenderRequest.opcRequestId
|
|
1732
1791
|
};
|
|
1733
|
-
const
|
|
1792
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1793
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateSenderRequest.retryConfiguration, specRetryConfiguration);
|
|
1734
1794
|
if (this.logger)
|
|
1735
1795
|
retrier.logger = this.logger;
|
|
1736
1796
|
const request = yield oci_common_2.composeRequest({
|