oci-email 2.4.0 → 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/LICENSE.txt +6 -0
- package/lib/client.d.ts +87 -25
- package/lib/client.js +152 -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({
|
|
@@ -1250,6 +1296,7 @@ class EmailClient {
|
|
|
1250
1296
|
});
|
|
1251
1297
|
}
|
|
1252
1298
|
/**
|
|
1299
|
+
* NOTE: This function is deprecated in favor of listSendersRecordIterator function.
|
|
1253
1300
|
* Creates a new async iterator which will iterate over the models.SenderSummary objects
|
|
1254
1301
|
* contained in responses from the listSenders operation. This iterator will fetch more data from the
|
|
1255
1302
|
* server as needed.
|
|
@@ -1260,6 +1307,7 @@ class EmailClient {
|
|
|
1260
1307
|
return oci_common_1.paginateRecords(request, req => this.listSenders(req));
|
|
1261
1308
|
}
|
|
1262
1309
|
/**
|
|
1310
|
+
* NOTE: This function is deprecated in favor of listSendersResponseIterator function.
|
|
1263
1311
|
* Creates a new async iterator which will iterate over the responses received from the listSenders operation. This iterator
|
|
1264
1312
|
* will fetch more data from the server as needed.
|
|
1265
1313
|
*
|
|
@@ -1268,15 +1316,35 @@ class EmailClient {
|
|
|
1268
1316
|
listAllSendersResponses(request) {
|
|
1269
1317
|
return oci_common_1.paginateResponses(request, req => this.listSenders(req));
|
|
1270
1318
|
}
|
|
1319
|
+
/**
|
|
1320
|
+
* Creates a new async iterator which will iterate over the models.SenderSummary objects
|
|
1321
|
+
* contained in responses from the listSenders operation. This iterator will fetch more data from the
|
|
1322
|
+
* server as needed.
|
|
1323
|
+
*
|
|
1324
|
+
* @param request a request which can be sent to the service operation
|
|
1325
|
+
*/
|
|
1326
|
+
listSendersRecordIterator(request) {
|
|
1327
|
+
return oci_common_1.paginateRecords(request, req => this.listSenders(req));
|
|
1328
|
+
}
|
|
1329
|
+
/**
|
|
1330
|
+
* Creates a new async iterator which will iterate over the responses received from the listSenders operation. This iterator
|
|
1331
|
+
* will fetch more data from the server as needed.
|
|
1332
|
+
*
|
|
1333
|
+
* @param request a request which can be sent to the service operation
|
|
1334
|
+
*/
|
|
1335
|
+
listSendersResponseIterator(request) {
|
|
1336
|
+
return oci_common_1.paginateResponses(request, req => this.listSenders(req));
|
|
1337
|
+
}
|
|
1271
1338
|
/**
|
|
1272
1339
|
* Gets a list of suppressed recipient email addresses for a user. The
|
|
1273
1340
|
* `compartmentId` for suppressions must be a tenancy OCID. The returned list
|
|
1274
1341
|
* is sorted by creation time in descending order.
|
|
1275
1342
|
*
|
|
1343
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1276
1344
|
* @param ListSuppressionsRequest
|
|
1277
1345
|
* @return ListSuppressionsResponse
|
|
1278
1346
|
* @throws OciError when an error occurs
|
|
1279
|
-
* @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.
|
|
1280
1348
|
*/
|
|
1281
1349
|
listSuppressions(listSuppressionsRequest) {
|
|
1282
1350
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1297,7 +1365,8 @@ class EmailClient {
|
|
|
1297
1365
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1298
1366
|
"opc-request-id": listSuppressionsRequest.opcRequestId
|
|
1299
1367
|
};
|
|
1300
|
-
const
|
|
1368
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1369
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSuppressionsRequest.retryConfiguration, specRetryConfiguration);
|
|
1301
1370
|
if (this.logger)
|
|
1302
1371
|
retrier.logger = this.logger;
|
|
1303
1372
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1343,6 +1412,7 @@ class EmailClient {
|
|
|
1343
1412
|
});
|
|
1344
1413
|
}
|
|
1345
1414
|
/**
|
|
1415
|
+
* NOTE: This function is deprecated in favor of listSuppressionsRecordIterator function.
|
|
1346
1416
|
* Creates a new async iterator which will iterate over the models.SuppressionSummary objects
|
|
1347
1417
|
* contained in responses from the listSuppressions operation. This iterator will fetch more data from the
|
|
1348
1418
|
* server as needed.
|
|
@@ -1353,6 +1423,7 @@ class EmailClient {
|
|
|
1353
1423
|
return oci_common_1.paginateRecords(request, req => this.listSuppressions(req));
|
|
1354
1424
|
}
|
|
1355
1425
|
/**
|
|
1426
|
+
* NOTE: This function is deprecated in favor of listSuppressionsResponseIterator function.
|
|
1356
1427
|
* Creates a new async iterator which will iterate over the responses received from the listSuppressions operation. This iterator
|
|
1357
1428
|
* will fetch more data from the server as needed.
|
|
1358
1429
|
*
|
|
@@ -1361,13 +1432,33 @@ class EmailClient {
|
|
|
1361
1432
|
listAllSuppressionsResponses(request) {
|
|
1362
1433
|
return oci_common_1.paginateResponses(request, req => this.listSuppressions(req));
|
|
1363
1434
|
}
|
|
1435
|
+
/**
|
|
1436
|
+
* Creates a new async iterator which will iterate over the models.SuppressionSummary objects
|
|
1437
|
+
* contained in responses from the listSuppressions operation. This iterator will fetch more data from the
|
|
1438
|
+
* server as needed.
|
|
1439
|
+
*
|
|
1440
|
+
* @param request a request which can be sent to the service operation
|
|
1441
|
+
*/
|
|
1442
|
+
listSuppressionsRecordIterator(request) {
|
|
1443
|
+
return oci_common_1.paginateRecords(request, req => this.listSuppressions(req));
|
|
1444
|
+
}
|
|
1445
|
+
/**
|
|
1446
|
+
* Creates a new async iterator which will iterate over the responses received from the listSuppressions operation. This iterator
|
|
1447
|
+
* will fetch more data from the server as needed.
|
|
1448
|
+
*
|
|
1449
|
+
* @param request a request which can be sent to the service operation
|
|
1450
|
+
*/
|
|
1451
|
+
listSuppressionsResponseIterator(request) {
|
|
1452
|
+
return oci_common_1.paginateResponses(request, req => this.listSuppressions(req));
|
|
1453
|
+
}
|
|
1364
1454
|
/**
|
|
1365
1455
|
* Return a (paginated) list of errors for a given work request.
|
|
1366
1456
|
*
|
|
1457
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1367
1458
|
* @param ListWorkRequestErrorsRequest
|
|
1368
1459
|
* @return ListWorkRequestErrorsResponse
|
|
1369
1460
|
* @throws OciError when an error occurs
|
|
1370
|
-
* @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.
|
|
1371
1462
|
*/
|
|
1372
1463
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
1373
1464
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1384,7 +1475,8 @@ class EmailClient {
|
|
|
1384
1475
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1385
1476
|
"opc-request-id": listWorkRequestErrorsRequest.opcRequestId
|
|
1386
1477
|
};
|
|
1387
|
-
const
|
|
1478
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1479
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
|
|
1388
1480
|
if (this.logger)
|
|
1389
1481
|
retrier.logger = this.logger;
|
|
1390
1482
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1427,10 +1519,11 @@ class EmailClient {
|
|
|
1427
1519
|
/**
|
|
1428
1520
|
* Return a (paginated) list of logs for a given work request.
|
|
1429
1521
|
*
|
|
1522
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1430
1523
|
* @param ListWorkRequestLogsRequest
|
|
1431
1524
|
* @return ListWorkRequestLogsResponse
|
|
1432
1525
|
* @throws OciError when an error occurs
|
|
1433
|
-
* @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.
|
|
1434
1527
|
*/
|
|
1435
1528
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
1436
1529
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1447,7 +1540,8 @@ class EmailClient {
|
|
|
1447
1540
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1448
1541
|
"opc-request-id": listWorkRequestLogsRequest.opcRequestId
|
|
1449
1542
|
};
|
|
1450
|
-
const
|
|
1543
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1544
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
1451
1545
|
if (this.logger)
|
|
1452
1546
|
retrier.logger = this.logger;
|
|
1453
1547
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1490,10 +1584,11 @@ class EmailClient {
|
|
|
1490
1584
|
/**
|
|
1491
1585
|
* Lists the work requests in a compartment.
|
|
1492
1586
|
*
|
|
1587
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1493
1588
|
* @param ListWorkRequestsRequest
|
|
1494
1589
|
* @return ListWorkRequestsResponse
|
|
1495
1590
|
* @throws OciError when an error occurs
|
|
1496
|
-
* @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.
|
|
1497
1592
|
*/
|
|
1498
1593
|
listWorkRequests(listWorkRequestsRequest) {
|
|
1499
1594
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1510,7 +1605,8 @@ class EmailClient {
|
|
|
1510
1605
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1511
1606
|
"opc-request-id": listWorkRequestsRequest.opcRequestId
|
|
1512
1607
|
};
|
|
1513
|
-
const
|
|
1608
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1609
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
1514
1610
|
if (this.logger)
|
|
1515
1611
|
retrier.logger = this.logger;
|
|
1516
1612
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1552,10 +1648,11 @@ class EmailClient {
|
|
|
1552
1648
|
}
|
|
1553
1649
|
/**
|
|
1554
1650
|
* Modifies a DKIM.
|
|
1651
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1555
1652
|
* @param UpdateDkimRequest
|
|
1556
1653
|
* @return UpdateDkimResponse
|
|
1557
1654
|
* @throws OciError when an error occurs
|
|
1558
|
-
* @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.
|
|
1559
1656
|
*/
|
|
1560
1657
|
updateDkim(updateDkimRequest) {
|
|
1561
1658
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1570,7 +1667,8 @@ class EmailClient {
|
|
|
1570
1667
|
"if-match": updateDkimRequest.ifMatch,
|
|
1571
1668
|
"opc-request-id": updateDkimRequest.opcRequestId
|
|
1572
1669
|
};
|
|
1573
|
-
const
|
|
1670
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1671
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateDkimRequest.retryConfiguration, specRetryConfiguration);
|
|
1574
1672
|
if (this.logger)
|
|
1575
1673
|
retrier.logger = this.logger;
|
|
1576
1674
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1609,10 +1707,11 @@ class EmailClient {
|
|
|
1609
1707
|
}
|
|
1610
1708
|
/**
|
|
1611
1709
|
* Modifies a email domain.
|
|
1710
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1612
1711
|
* @param UpdateEmailDomainRequest
|
|
1613
1712
|
* @return UpdateEmailDomainResponse
|
|
1614
1713
|
* @throws OciError when an error occurs
|
|
1615
|
-
* @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.
|
|
1616
1715
|
*/
|
|
1617
1716
|
updateEmailDomain(updateEmailDomainRequest) {
|
|
1618
1717
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1627,7 +1726,8 @@ class EmailClient {
|
|
|
1627
1726
|
"if-match": updateEmailDomainRequest.ifMatch,
|
|
1628
1727
|
"opc-request-id": updateEmailDomainRequest.opcRequestId
|
|
1629
1728
|
};
|
|
1630
|
-
const
|
|
1729
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1730
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateEmailDomainRequest.retryConfiguration, specRetryConfiguration);
|
|
1631
1731
|
if (this.logger)
|
|
1632
1732
|
retrier.logger = this.logger;
|
|
1633
1733
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1670,10 +1770,11 @@ class EmailClient {
|
|
|
1670
1770
|
* include the full set of tags for the sender, partial updates are not permitted.
|
|
1671
1771
|
* For more information about tagging, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
1672
1772
|
*
|
|
1773
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1673
1774
|
* @param UpdateSenderRequest
|
|
1674
1775
|
* @return UpdateSenderResponse
|
|
1675
1776
|
* @throws OciError when an error occurs
|
|
1676
|
-
* @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.
|
|
1677
1778
|
*/
|
|
1678
1779
|
updateSender(updateSenderRequest) {
|
|
1679
1780
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1688,7 +1789,8 @@ class EmailClient {
|
|
|
1688
1789
|
"if-match": updateSenderRequest.ifMatch,
|
|
1689
1790
|
"opc-request-id": updateSenderRequest.opcRequestId
|
|
1690
1791
|
};
|
|
1691
|
-
const
|
|
1792
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1793
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateSenderRequest.retryConfiguration, specRetryConfiguration);
|
|
1692
1794
|
if (this.logger)
|
|
1693
1795
|
retrier.logger = this.logger;
|
|
1694
1796
|
const request = yield oci_common_2.composeRequest({
|