oci-email 2.86.1 → 2.86.2
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 +71 -26
- package/lib/client.js +359 -26
- package/lib/client.js.map +1 -1
- package/lib/email-waiter.d.ts +8 -0
- package/lib/email-waiter.js +12 -0
- package/lib/email-waiter.js.map +1 -1
- package/lib/model/create-email-domain-details.d.ts +4 -0
- package/lib/model/create-email-domain-details.js.map +1 -1
- package/lib/model/create-email-return-path-details.d.ts +74 -0
- package/lib/model/create-email-return-path-details.js +34 -0
- package/lib/model/create-email-return-path-details.js.map +1 -0
- package/lib/model/domain-verification-status-type.d.ts +34 -0
- package/lib/model/domain-verification-status-type.js +45 -0
- package/lib/model/domain-verification-status-type.js.map +1 -0
- package/lib/model/email-domain.d.ts +9 -0
- package/lib/model/email-domain.js.map +1 -1
- package/lib/model/email-return-path-collection.d.ts +31 -0
- package/lib/model/email-return-path-collection.js +66 -0
- package/lib/model/email-return-path-collection.js.map +1 -0
- package/lib/model/email-return-path-summary.d.ts +107 -0
- package/lib/model/email-return-path-summary.js +34 -0
- package/lib/model/email-return-path-summary.js.map +1 -0
- package/lib/model/email-return-path.d.ts +138 -0
- package/lib/model/email-return-path.js +49 -0
- package/lib/model/email-return-path.js.map +1 -0
- package/lib/model/index.d.ts +12 -0
- package/lib/model/index.js +13 -1
- package/lib/model/index.js.map +1 -1
- package/lib/model/operation-type.d.ts +3 -0
- package/lib/model/operation-type.js +3 -0
- package/lib/model/operation-type.js.map +1 -1
- package/lib/model/sender.d.ts +3 -0
- package/lib/model/sender.js +3 -0
- package/lib/model/sender.js.map +1 -1
- package/lib/model/update-email-domain-details.d.ts +4 -0
- package/lib/model/update-email-domain-details.js.map +1 -1
- package/lib/model/update-email-return-path-details.d.ts +55 -0
- package/lib/model/update-email-return-path-details.js +34 -0
- package/lib/model/update-email-return-path-details.js.map +1 -0
- 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-email-return-path-request.d.ts +36 -0
- package/lib/request/create-email-return-path-request.js +15 -0
- package/lib/request/create-email-return-path-request.js.map +1 -0
- 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-email-return-path-request.d.ts +33 -0
- package/lib/request/delete-email-return-path-request.js +15 -0
- package/lib/request/delete-email-return-path-request.js.map +1 -0
- 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-configuration-request.d.ts +1 -1
- package/lib/request/get-email-domain-request.d.ts +1 -1
- package/lib/request/get-email-return-path-request.d.ts +26 -0
- package/lib/request/get-email-return-path-request.js +15 -0
- package/lib/request/get-email-return-path-request.js.map +1 -0
- 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/index.d.ts +10 -0
- package/lib/request/index.js +3 -1
- package/lib/request/index.js.map +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-email-return-paths-request.d.ts +84 -0
- package/lib/request/list-email-return-paths-request.js +25 -0
- package/lib/request/list-email-return-paths-request.js.map +1 -0
- 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-email-return-path-request.d.ts +38 -0
- package/lib/request/update-email-return-path-request.js +15 -0
- package/lib/request/update-email-return-path-request.js.map +1 -0
- package/lib/request/update-sender-request.d.ts +1 -1
- package/lib/response/create-email-return-path-response.d.ts +45 -0
- package/lib/response/create-email-return-path-response.js +15 -0
- package/lib/response/create-email-return-path-response.js.map +1 -0
- package/lib/response/delete-email-return-path-response.d.ts +25 -0
- package/lib/response/delete-email-return-path-response.js +15 -0
- package/lib/response/delete-email-return-path-response.js.map +1 -0
- package/lib/response/get-email-return-path-response.d.ts +30 -0
- package/lib/response/get-email-return-path-response.js +15 -0
- package/lib/response/get-email-return-path-response.js.map +1 -0
- package/lib/response/index.d.ts +10 -0
- package/lib/response/list-email-return-paths-response.d.ts +31 -0
- package/lib/response/list-email-return-paths-response.js +15 -0
- package/lib/response/list-email-return-paths-response.js.map +1 -0
- package/lib/response/update-email-return-path-response.d.ts +25 -0
- package/lib/response/update-email-return-path-response.js +15 -0
- package/lib/response/update-email-return-path-response.js.map +1 -0
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -214,7 +214,7 @@ class EmailClient {
|
|
|
214
214
|
* @param ChangeEmailDomainCompartmentRequest
|
|
215
215
|
* @return ChangeEmailDomainCompartmentResponse
|
|
216
216
|
* @throws OciError when an error occurs
|
|
217
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.
|
|
217
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.2/email/ChangeEmailDomainCompartment.ts.html |here} to see how to use ChangeEmailDomainCompartment API.
|
|
218
218
|
*/
|
|
219
219
|
changeEmailDomainCompartment(changeEmailDomainCompartmentRequest) {
|
|
220
220
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -276,7 +276,7 @@ class EmailClient {
|
|
|
276
276
|
* @param ChangeSenderCompartmentRequest
|
|
277
277
|
* @return ChangeSenderCompartmentResponse
|
|
278
278
|
* @throws OciError when an error occurs
|
|
279
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.
|
|
279
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.2/email/ChangeSenderCompartment.ts.html |here} to see how to use ChangeSenderCompartment API.
|
|
280
280
|
*/
|
|
281
281
|
changeSenderCompartment(changeSenderCompartmentRequest) {
|
|
282
282
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -337,7 +337,7 @@ class EmailClient {
|
|
|
337
337
|
* @param CreateDkimRequest
|
|
338
338
|
* @return CreateDkimResponse
|
|
339
339
|
* @throws OciError when an error occurs
|
|
340
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.
|
|
340
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.2/email/CreateDkim.ts.html |here} to see how to use CreateDkim API.
|
|
341
341
|
*/
|
|
342
342
|
createDkim(createDkimRequest) {
|
|
343
343
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -415,7 +415,7 @@ class EmailClient {
|
|
|
415
415
|
* @param CreateEmailDomainRequest
|
|
416
416
|
* @return CreateEmailDomainResponse
|
|
417
417
|
* @throws OciError when an error occurs
|
|
418
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.
|
|
418
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.2/email/CreateEmailDomain.ts.html |here} to see how to use CreateEmailDomain API.
|
|
419
419
|
*/
|
|
420
420
|
createEmailDomain(createEmailDomainRequest) {
|
|
421
421
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -487,13 +487,91 @@ class EmailClient {
|
|
|
487
487
|
}
|
|
488
488
|
});
|
|
489
489
|
}
|
|
490
|
+
/**
|
|
491
|
+
* Creates a new email return path. Avoid entering confidential information.
|
|
492
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
493
|
+
* @param CreateEmailReturnPathRequest
|
|
494
|
+
* @return CreateEmailReturnPathResponse
|
|
495
|
+
* @throws OciError when an error occurs
|
|
496
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.2/email/CreateEmailReturnPath.ts.html |here} to see how to use CreateEmailReturnPath API.
|
|
497
|
+
*/
|
|
498
|
+
createEmailReturnPath(createEmailReturnPathRequest) {
|
|
499
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
500
|
+
if (this.logger)
|
|
501
|
+
this.logger.debug("Calling operation EmailClient#createEmailReturnPath.");
|
|
502
|
+
const operationName = "createEmailReturnPath";
|
|
503
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/emaildelivery/20170907/EmailReturnPath/CreateEmailReturnPath";
|
|
504
|
+
const pathParams = {};
|
|
505
|
+
const queryParams = {};
|
|
506
|
+
let headerParams = {
|
|
507
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
508
|
+
"opc-request-id": createEmailReturnPathRequest.opcRequestId,
|
|
509
|
+
"opc-retry-token": createEmailReturnPathRequest.opcRetryToken
|
|
510
|
+
};
|
|
511
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
512
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createEmailReturnPathRequest.retryConfiguration, specRetryConfiguration);
|
|
513
|
+
if (this.logger)
|
|
514
|
+
retrier.logger = this.logger;
|
|
515
|
+
const request = yield oci_common_2.composeRequest({
|
|
516
|
+
baseEndpoint: this._endpoint,
|
|
517
|
+
defaultHeaders: this._defaultHeaders,
|
|
518
|
+
path: "/emailReturnPaths",
|
|
519
|
+
method: "POST",
|
|
520
|
+
bodyContent: common.ObjectSerializer.serialize(createEmailReturnPathRequest.createEmailReturnPathDetails, "CreateEmailReturnPathDetails", model.CreateEmailReturnPathDetails.getJsonObj),
|
|
521
|
+
pathParams: pathParams,
|
|
522
|
+
headerParams: headerParams,
|
|
523
|
+
queryParams: queryParams
|
|
524
|
+
});
|
|
525
|
+
try {
|
|
526
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
527
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
528
|
+
responseObject: {},
|
|
529
|
+
body: yield response.json(),
|
|
530
|
+
bodyKey: "emailReturnPath",
|
|
531
|
+
bodyModel: model.EmailReturnPath,
|
|
532
|
+
type: "model.EmailReturnPath",
|
|
533
|
+
responseHeaders: [
|
|
534
|
+
{
|
|
535
|
+
value: response.headers.get("Content-Location"),
|
|
536
|
+
key: "contentLocation",
|
|
537
|
+
dataType: "string"
|
|
538
|
+
},
|
|
539
|
+
{
|
|
540
|
+
value: response.headers.get("etag"),
|
|
541
|
+
key: "etag",
|
|
542
|
+
dataType: "string"
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
value: response.headers.get("Location"),
|
|
546
|
+
key: "location",
|
|
547
|
+
dataType: "string"
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
value: response.headers.get("opc-request-id"),
|
|
551
|
+
key: "opcRequestId",
|
|
552
|
+
dataType: "string"
|
|
553
|
+
},
|
|
554
|
+
{
|
|
555
|
+
value: response.headers.get("opc-work-request-id"),
|
|
556
|
+
key: "opcWorkRequestId",
|
|
557
|
+
dataType: "string"
|
|
558
|
+
}
|
|
559
|
+
]
|
|
560
|
+
});
|
|
561
|
+
return sdkResponse;
|
|
562
|
+
}
|
|
563
|
+
catch (err) {
|
|
564
|
+
throw err;
|
|
565
|
+
}
|
|
566
|
+
});
|
|
567
|
+
}
|
|
490
568
|
/**
|
|
491
569
|
* Creates a sender for a tenancy in a given compartment.
|
|
492
570
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
493
571
|
* @param CreateSenderRequest
|
|
494
572
|
* @return CreateSenderResponse
|
|
495
573
|
* @throws OciError when an error occurs
|
|
496
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.
|
|
574
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.2/email/CreateSender.ts.html |here} to see how to use CreateSender API.
|
|
497
575
|
*/
|
|
498
576
|
createSender(createSenderRequest) {
|
|
499
577
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -559,7 +637,7 @@ class EmailClient {
|
|
|
559
637
|
* @param CreateSuppressionRequest
|
|
560
638
|
* @return CreateSuppressionResponse
|
|
561
639
|
* @throws OciError when an error occurs
|
|
562
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.
|
|
640
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.2/email/CreateSuppression.ts.html |here} to see how to use CreateSuppression API.
|
|
563
641
|
*/
|
|
564
642
|
createSuppression(createSuppressionRequest) {
|
|
565
643
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -622,7 +700,7 @@ class EmailClient {
|
|
|
622
700
|
* @param DeleteDkimRequest
|
|
623
701
|
* @return DeleteDkimResponse
|
|
624
702
|
* @throws OciError when an error occurs
|
|
625
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.
|
|
703
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.2/email/DeleteDkim.ts.html |here} to see how to use DeleteDkim API.
|
|
626
704
|
*/
|
|
627
705
|
deleteDkim(deleteDkimRequest) {
|
|
628
706
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -682,7 +760,7 @@ class EmailClient {
|
|
|
682
760
|
* @param DeleteEmailDomainRequest
|
|
683
761
|
* @return DeleteEmailDomainResponse
|
|
684
762
|
* @throws OciError when an error occurs
|
|
685
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.
|
|
763
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.2/email/DeleteEmailDomain.ts.html |here} to see how to use DeleteEmailDomain API.
|
|
686
764
|
*/
|
|
687
765
|
deleteEmailDomain(deleteEmailDomainRequest) {
|
|
688
766
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -736,6 +814,66 @@ class EmailClient {
|
|
|
736
814
|
}
|
|
737
815
|
});
|
|
738
816
|
}
|
|
817
|
+
/**
|
|
818
|
+
* Deletes an email return path.
|
|
819
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
820
|
+
* @param DeleteEmailReturnPathRequest
|
|
821
|
+
* @return DeleteEmailReturnPathResponse
|
|
822
|
+
* @throws OciError when an error occurs
|
|
823
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.2/email/DeleteEmailReturnPath.ts.html |here} to see how to use DeleteEmailReturnPath API.
|
|
824
|
+
*/
|
|
825
|
+
deleteEmailReturnPath(deleteEmailReturnPathRequest) {
|
|
826
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
827
|
+
if (this.logger)
|
|
828
|
+
this.logger.debug("Calling operation EmailClient#deleteEmailReturnPath.");
|
|
829
|
+
const operationName = "deleteEmailReturnPath";
|
|
830
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/emaildelivery/20170907/EmailReturnPath/DeleteEmailReturnPath";
|
|
831
|
+
const pathParams = {
|
|
832
|
+
"{emailReturnPathId}": deleteEmailReturnPathRequest.emailReturnPathId
|
|
833
|
+
};
|
|
834
|
+
const queryParams = {};
|
|
835
|
+
let headerParams = {
|
|
836
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
837
|
+
"if-match": deleteEmailReturnPathRequest.ifMatch,
|
|
838
|
+
"opc-request-id": deleteEmailReturnPathRequest.opcRequestId
|
|
839
|
+
};
|
|
840
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
841
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteEmailReturnPathRequest.retryConfiguration, specRetryConfiguration);
|
|
842
|
+
if (this.logger)
|
|
843
|
+
retrier.logger = this.logger;
|
|
844
|
+
const request = yield oci_common_2.composeRequest({
|
|
845
|
+
baseEndpoint: this._endpoint,
|
|
846
|
+
defaultHeaders: this._defaultHeaders,
|
|
847
|
+
path: "/emailReturnPaths/{emailReturnPathId}",
|
|
848
|
+
method: "DELETE",
|
|
849
|
+
pathParams: pathParams,
|
|
850
|
+
headerParams: headerParams,
|
|
851
|
+
queryParams: queryParams
|
|
852
|
+
});
|
|
853
|
+
try {
|
|
854
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
855
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
856
|
+
responseObject: {},
|
|
857
|
+
responseHeaders: [
|
|
858
|
+
{
|
|
859
|
+
value: response.headers.get("opc-work-request-id"),
|
|
860
|
+
key: "opcWorkRequestId",
|
|
861
|
+
dataType: "string"
|
|
862
|
+
},
|
|
863
|
+
{
|
|
864
|
+
value: response.headers.get("opc-request-id"),
|
|
865
|
+
key: "opcRequestId",
|
|
866
|
+
dataType: "string"
|
|
867
|
+
}
|
|
868
|
+
]
|
|
869
|
+
});
|
|
870
|
+
return sdkResponse;
|
|
871
|
+
}
|
|
872
|
+
catch (err) {
|
|
873
|
+
throw err;
|
|
874
|
+
}
|
|
875
|
+
});
|
|
876
|
+
}
|
|
739
877
|
/**
|
|
740
878
|
* Deletes an approved sender for a tenancy in a given compartment for a
|
|
741
879
|
* provided `senderId`.
|
|
@@ -744,7 +882,7 @@ class EmailClient {
|
|
|
744
882
|
* @param DeleteSenderRequest
|
|
745
883
|
* @return DeleteSenderResponse
|
|
746
884
|
* @throws OciError when an error occurs
|
|
747
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.
|
|
885
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.2/email/DeleteSender.ts.html |here} to see how to use DeleteSender API.
|
|
748
886
|
*/
|
|
749
887
|
deleteSender(deleteSenderRequest) {
|
|
750
888
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -801,7 +939,7 @@ class EmailClient {
|
|
|
801
939
|
* @param DeleteSuppressionRequest
|
|
802
940
|
* @return DeleteSuppressionResponse
|
|
803
941
|
* @throws OciError when an error occurs
|
|
804
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.
|
|
942
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.2/email/DeleteSuppression.ts.html |here} to see how to use DeleteSuppression API.
|
|
805
943
|
*/
|
|
806
944
|
deleteSuppression(deleteSuppressionRequest) {
|
|
807
945
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -855,7 +993,7 @@ class EmailClient {
|
|
|
855
993
|
* @param GetDkimRequest
|
|
856
994
|
* @return GetDkimResponse
|
|
857
995
|
* @throws OciError when an error occurs
|
|
858
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.
|
|
996
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.2/email/GetDkim.ts.html |here} to see how to use GetDkim API.
|
|
859
997
|
*/
|
|
860
998
|
getDkim(getDkimRequest) {
|
|
861
999
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -919,7 +1057,7 @@ class EmailClient {
|
|
|
919
1057
|
* @param GetEmailConfigurationRequest
|
|
920
1058
|
* @return GetEmailConfigurationResponse
|
|
921
1059
|
* @throws OciError when an error occurs
|
|
922
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.
|
|
1060
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.2/email/GetEmailConfiguration.ts.html |here} to see how to use GetEmailConfiguration API.
|
|
923
1061
|
*/
|
|
924
1062
|
getEmailConfiguration(getEmailConfigurationRequest) {
|
|
925
1063
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -977,7 +1115,7 @@ class EmailClient {
|
|
|
977
1115
|
* @param GetEmailDomainRequest
|
|
978
1116
|
* @return GetEmailDomainResponse
|
|
979
1117
|
* @throws OciError when an error occurs
|
|
980
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.
|
|
1118
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.2/email/GetEmailDomain.ts.html |here} to see how to use GetEmailDomain API.
|
|
981
1119
|
*/
|
|
982
1120
|
getEmailDomain(getEmailDomainRequest) {
|
|
983
1121
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1034,13 +1172,76 @@ class EmailClient {
|
|
|
1034
1172
|
}
|
|
1035
1173
|
});
|
|
1036
1174
|
}
|
|
1175
|
+
/**
|
|
1176
|
+
* Retrieves the specified email return path.
|
|
1177
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1178
|
+
* @param GetEmailReturnPathRequest
|
|
1179
|
+
* @return GetEmailReturnPathResponse
|
|
1180
|
+
* @throws OciError when an error occurs
|
|
1181
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.2/email/GetEmailReturnPath.ts.html |here} to see how to use GetEmailReturnPath API.
|
|
1182
|
+
*/
|
|
1183
|
+
getEmailReturnPath(getEmailReturnPathRequest) {
|
|
1184
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1185
|
+
if (this.logger)
|
|
1186
|
+
this.logger.debug("Calling operation EmailClient#getEmailReturnPath.");
|
|
1187
|
+
const operationName = "getEmailReturnPath";
|
|
1188
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/emaildelivery/20170907/EmailReturnPath/GetEmailReturnPath";
|
|
1189
|
+
const pathParams = {
|
|
1190
|
+
"{emailReturnPathId}": getEmailReturnPathRequest.emailReturnPathId
|
|
1191
|
+
};
|
|
1192
|
+
const queryParams = {};
|
|
1193
|
+
let headerParams = {
|
|
1194
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1195
|
+
"opc-request-id": getEmailReturnPathRequest.opcRequestId
|
|
1196
|
+
};
|
|
1197
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1198
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getEmailReturnPathRequest.retryConfiguration, specRetryConfiguration);
|
|
1199
|
+
if (this.logger)
|
|
1200
|
+
retrier.logger = this.logger;
|
|
1201
|
+
const request = yield oci_common_2.composeRequest({
|
|
1202
|
+
baseEndpoint: this._endpoint,
|
|
1203
|
+
defaultHeaders: this._defaultHeaders,
|
|
1204
|
+
path: "/emailReturnPaths/{emailReturnPathId}",
|
|
1205
|
+
method: "GET",
|
|
1206
|
+
pathParams: pathParams,
|
|
1207
|
+
headerParams: headerParams,
|
|
1208
|
+
queryParams: queryParams
|
|
1209
|
+
});
|
|
1210
|
+
try {
|
|
1211
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1212
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
1213
|
+
responseObject: {},
|
|
1214
|
+
body: yield response.json(),
|
|
1215
|
+
bodyKey: "emailReturnPath",
|
|
1216
|
+
bodyModel: model.EmailReturnPath,
|
|
1217
|
+
type: "model.EmailReturnPath",
|
|
1218
|
+
responseHeaders: [
|
|
1219
|
+
{
|
|
1220
|
+
value: response.headers.get("etag"),
|
|
1221
|
+
key: "etag",
|
|
1222
|
+
dataType: "string"
|
|
1223
|
+
},
|
|
1224
|
+
{
|
|
1225
|
+
value: response.headers.get("opc-request-id"),
|
|
1226
|
+
key: "opcRequestId",
|
|
1227
|
+
dataType: "string"
|
|
1228
|
+
}
|
|
1229
|
+
]
|
|
1230
|
+
});
|
|
1231
|
+
return sdkResponse;
|
|
1232
|
+
}
|
|
1233
|
+
catch (err) {
|
|
1234
|
+
throw err;
|
|
1235
|
+
}
|
|
1236
|
+
});
|
|
1237
|
+
}
|
|
1037
1238
|
/**
|
|
1038
1239
|
* Gets an approved sender for a given `senderId`.
|
|
1039
1240
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1040
1241
|
* @param GetSenderRequest
|
|
1041
1242
|
* @return GetSenderResponse
|
|
1042
1243
|
* @throws OciError when an error occurs
|
|
1043
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.
|
|
1244
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.2/email/GetSender.ts.html |here} to see how to use GetSender API.
|
|
1044
1245
|
*/
|
|
1045
1246
|
getSender(getSenderRequest) {
|
|
1046
1247
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1105,7 +1306,7 @@ class EmailClient {
|
|
|
1105
1306
|
* @param GetSuppressionRequest
|
|
1106
1307
|
* @return GetSuppressionResponse
|
|
1107
1308
|
* @throws OciError when an error occurs
|
|
1108
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.
|
|
1309
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.2/email/GetSuppression.ts.html |here} to see how to use GetSuppression API.
|
|
1109
1310
|
*/
|
|
1110
1311
|
getSuppression(getSuppressionRequest) {
|
|
1111
1312
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1163,7 +1364,7 @@ class EmailClient {
|
|
|
1163
1364
|
* @param GetWorkRequestRequest
|
|
1164
1365
|
* @return GetWorkRequestResponse
|
|
1165
1366
|
* @throws OciError when an error occurs
|
|
1166
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.
|
|
1367
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.2/email/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
1167
1368
|
*/
|
|
1168
1369
|
getWorkRequest(getWorkRequestRequest) {
|
|
1169
1370
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1226,7 +1427,7 @@ class EmailClient {
|
|
|
1226
1427
|
* @param ListDkimsRequest
|
|
1227
1428
|
* @return ListDkimsResponse
|
|
1228
1429
|
* @throws OciError when an error occurs
|
|
1229
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.
|
|
1430
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.2/email/ListDkims.ts.html |here} to see how to use ListDkims API.
|
|
1230
1431
|
*/
|
|
1231
1432
|
listDkims(listDkimsRequest) {
|
|
1232
1433
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1296,7 +1497,7 @@ class EmailClient {
|
|
|
1296
1497
|
* @param ListEmailDomainsRequest
|
|
1297
1498
|
* @return ListEmailDomainsResponse
|
|
1298
1499
|
* @throws OciError when an error occurs
|
|
1299
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.
|
|
1500
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.2/email/ListEmailDomains.ts.html |here} to see how to use ListEmailDomains API.
|
|
1300
1501
|
*/
|
|
1301
1502
|
listEmailDomains(listEmailDomainsRequest) {
|
|
1302
1503
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1360,6 +1561,77 @@ class EmailClient {
|
|
|
1360
1561
|
}
|
|
1361
1562
|
});
|
|
1362
1563
|
}
|
|
1564
|
+
/**
|
|
1565
|
+
* Lists email return paths in the specified compartment or emaildomain.
|
|
1566
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1567
|
+
* @param ListEmailReturnPathsRequest
|
|
1568
|
+
* @return ListEmailReturnPathsResponse
|
|
1569
|
+
* @throws OciError when an error occurs
|
|
1570
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.2/email/ListEmailReturnPaths.ts.html |here} to see how to use ListEmailReturnPaths API.
|
|
1571
|
+
*/
|
|
1572
|
+
listEmailReturnPaths(listEmailReturnPathsRequest) {
|
|
1573
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1574
|
+
if (this.logger)
|
|
1575
|
+
this.logger.debug("Calling operation EmailClient#listEmailReturnPaths.");
|
|
1576
|
+
const operationName = "listEmailReturnPaths";
|
|
1577
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/emaildelivery/20170907/EmailReturnPath/ListEmailReturnPaths";
|
|
1578
|
+
const pathParams = {};
|
|
1579
|
+
const queryParams = {
|
|
1580
|
+
"compartmentId": listEmailReturnPathsRequest.compartmentId,
|
|
1581
|
+
"parentResourceId": listEmailReturnPathsRequest.parentResourceId,
|
|
1582
|
+
"id": listEmailReturnPathsRequest.id,
|
|
1583
|
+
"name": listEmailReturnPathsRequest.name,
|
|
1584
|
+
"limit": listEmailReturnPathsRequest.limit,
|
|
1585
|
+
"page": listEmailReturnPathsRequest.page,
|
|
1586
|
+
"sortOrder": listEmailReturnPathsRequest.sortOrder,
|
|
1587
|
+
"lifecycleState": listEmailReturnPathsRequest.lifecycleState,
|
|
1588
|
+
"sortBy": listEmailReturnPathsRequest.sortBy
|
|
1589
|
+
};
|
|
1590
|
+
let headerParams = {
|
|
1591
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1592
|
+
"opc-request-id": listEmailReturnPathsRequest.opcRequestId
|
|
1593
|
+
};
|
|
1594
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1595
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listEmailReturnPathsRequest.retryConfiguration, specRetryConfiguration);
|
|
1596
|
+
if (this.logger)
|
|
1597
|
+
retrier.logger = this.logger;
|
|
1598
|
+
const request = yield oci_common_2.composeRequest({
|
|
1599
|
+
baseEndpoint: this._endpoint,
|
|
1600
|
+
defaultHeaders: this._defaultHeaders,
|
|
1601
|
+
path: "/emailReturnPaths",
|
|
1602
|
+
method: "GET",
|
|
1603
|
+
pathParams: pathParams,
|
|
1604
|
+
headerParams: headerParams,
|
|
1605
|
+
queryParams: queryParams
|
|
1606
|
+
});
|
|
1607
|
+
try {
|
|
1608
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1609
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
1610
|
+
responseObject: {},
|
|
1611
|
+
body: yield response.json(),
|
|
1612
|
+
bodyKey: "emailReturnPathCollection",
|
|
1613
|
+
bodyModel: model.EmailReturnPathCollection,
|
|
1614
|
+
type: "model.EmailReturnPathCollection",
|
|
1615
|
+
responseHeaders: [
|
|
1616
|
+
{
|
|
1617
|
+
value: response.headers.get("opc-next-page"),
|
|
1618
|
+
key: "opcNextPage",
|
|
1619
|
+
dataType: "string"
|
|
1620
|
+
},
|
|
1621
|
+
{
|
|
1622
|
+
value: response.headers.get("opc-request-id"),
|
|
1623
|
+
key: "opcRequestId",
|
|
1624
|
+
dataType: "string"
|
|
1625
|
+
}
|
|
1626
|
+
]
|
|
1627
|
+
});
|
|
1628
|
+
return sdkResponse;
|
|
1629
|
+
}
|
|
1630
|
+
catch (err) {
|
|
1631
|
+
throw err;
|
|
1632
|
+
}
|
|
1633
|
+
});
|
|
1634
|
+
}
|
|
1363
1635
|
/**
|
|
1364
1636
|
* Gets a collection of approved sender email addresses and sender IDs.
|
|
1365
1637
|
*
|
|
@@ -1367,7 +1639,7 @@ class EmailClient {
|
|
|
1367
1639
|
* @param ListSendersRequest
|
|
1368
1640
|
* @return ListSendersResponse
|
|
1369
1641
|
* @throws OciError when an error occurs
|
|
1370
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.
|
|
1642
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.2/email/ListSenders.ts.html |here} to see how to use ListSenders API.
|
|
1371
1643
|
*/
|
|
1372
1644
|
listSenders(listSendersRequest) {
|
|
1373
1645
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1490,7 +1762,7 @@ class EmailClient {
|
|
|
1490
1762
|
* @param ListSuppressionsRequest
|
|
1491
1763
|
* @return ListSuppressionsResponse
|
|
1492
1764
|
* @throws OciError when an error occurs
|
|
1493
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.
|
|
1765
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.2/email/ListSuppressions.ts.html |here} to see how to use ListSuppressions API.
|
|
1494
1766
|
*/
|
|
1495
1767
|
listSuppressions(listSuppressionsRequest) {
|
|
1496
1768
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1606,7 +1878,7 @@ class EmailClient {
|
|
|
1606
1878
|
* @param ListWorkRequestErrorsRequest
|
|
1607
1879
|
* @return ListWorkRequestErrorsResponse
|
|
1608
1880
|
* @throws OciError when an error occurs
|
|
1609
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.
|
|
1881
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.2/email/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
1610
1882
|
*/
|
|
1611
1883
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
1612
1884
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1673,7 +1945,7 @@ class EmailClient {
|
|
|
1673
1945
|
* @param ListWorkRequestLogsRequest
|
|
1674
1946
|
* @return ListWorkRequestLogsResponse
|
|
1675
1947
|
* @throws OciError when an error occurs
|
|
1676
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.
|
|
1948
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.2/email/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
1677
1949
|
*/
|
|
1678
1950
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
1679
1951
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1740,7 +2012,7 @@ class EmailClient {
|
|
|
1740
2012
|
* @param ListWorkRequestsRequest
|
|
1741
2013
|
* @return ListWorkRequestsResponse
|
|
1742
2014
|
* @throws OciError when an error occurs
|
|
1743
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.
|
|
2015
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.2/email/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
1744
2016
|
*/
|
|
1745
2017
|
listWorkRequests(listWorkRequestsRequest) {
|
|
1746
2018
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1806,7 +2078,7 @@ class EmailClient {
|
|
|
1806
2078
|
* @param UpdateDkimRequest
|
|
1807
2079
|
* @return UpdateDkimResponse
|
|
1808
2080
|
* @throws OciError when an error occurs
|
|
1809
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.
|
|
2081
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.2/email/UpdateDkim.ts.html |here} to see how to use UpdateDkim API.
|
|
1810
2082
|
*/
|
|
1811
2083
|
updateDkim(updateDkimRequest) {
|
|
1812
2084
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1867,7 +2139,7 @@ class EmailClient {
|
|
|
1867
2139
|
* @param UpdateEmailDomainRequest
|
|
1868
2140
|
* @return UpdateEmailDomainResponse
|
|
1869
2141
|
* @throws OciError when an error occurs
|
|
1870
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.
|
|
2142
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.2/email/UpdateEmailDomain.ts.html |here} to see how to use UpdateEmailDomain API.
|
|
1871
2143
|
*/
|
|
1872
2144
|
updateEmailDomain(updateEmailDomainRequest) {
|
|
1873
2145
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1922,6 +2194,67 @@ class EmailClient {
|
|
|
1922
2194
|
}
|
|
1923
2195
|
});
|
|
1924
2196
|
}
|
|
2197
|
+
/**
|
|
2198
|
+
* Modifies an email return path.
|
|
2199
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2200
|
+
* @param UpdateEmailReturnPathRequest
|
|
2201
|
+
* @return UpdateEmailReturnPathResponse
|
|
2202
|
+
* @throws OciError when an error occurs
|
|
2203
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.2/email/UpdateEmailReturnPath.ts.html |here} to see how to use UpdateEmailReturnPath API.
|
|
2204
|
+
*/
|
|
2205
|
+
updateEmailReturnPath(updateEmailReturnPathRequest) {
|
|
2206
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2207
|
+
if (this.logger)
|
|
2208
|
+
this.logger.debug("Calling operation EmailClient#updateEmailReturnPath.");
|
|
2209
|
+
const operationName = "updateEmailReturnPath";
|
|
2210
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/emaildelivery/20170907/EmailReturnPath/UpdateEmailReturnPath";
|
|
2211
|
+
const pathParams = {
|
|
2212
|
+
"{emailReturnPathId}": updateEmailReturnPathRequest.emailReturnPathId
|
|
2213
|
+
};
|
|
2214
|
+
const queryParams = {};
|
|
2215
|
+
let headerParams = {
|
|
2216
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2217
|
+
"if-match": updateEmailReturnPathRequest.ifMatch,
|
|
2218
|
+
"opc-request-id": updateEmailReturnPathRequest.opcRequestId
|
|
2219
|
+
};
|
|
2220
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2221
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateEmailReturnPathRequest.retryConfiguration, specRetryConfiguration);
|
|
2222
|
+
if (this.logger)
|
|
2223
|
+
retrier.logger = this.logger;
|
|
2224
|
+
const request = yield oci_common_2.composeRequest({
|
|
2225
|
+
baseEndpoint: this._endpoint,
|
|
2226
|
+
defaultHeaders: this._defaultHeaders,
|
|
2227
|
+
path: "/emailReturnPaths/{emailReturnPathId}",
|
|
2228
|
+
method: "PUT",
|
|
2229
|
+
bodyContent: common.ObjectSerializer.serialize(updateEmailReturnPathRequest.updateEmailReturnPathDetails, "UpdateEmailReturnPathDetails", model.UpdateEmailReturnPathDetails.getJsonObj),
|
|
2230
|
+
pathParams: pathParams,
|
|
2231
|
+
headerParams: headerParams,
|
|
2232
|
+
queryParams: queryParams
|
|
2233
|
+
});
|
|
2234
|
+
try {
|
|
2235
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2236
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
2237
|
+
responseObject: {},
|
|
2238
|
+
responseHeaders: [
|
|
2239
|
+
{
|
|
2240
|
+
value: response.headers.get("opc-work-request-id"),
|
|
2241
|
+
key: "opcWorkRequestId",
|
|
2242
|
+
dataType: "string"
|
|
2243
|
+
},
|
|
2244
|
+
{
|
|
2245
|
+
value: response.headers.get("opc-request-id"),
|
|
2246
|
+
key: "opcRequestId",
|
|
2247
|
+
dataType: "string"
|
|
2248
|
+
}
|
|
2249
|
+
]
|
|
2250
|
+
});
|
|
2251
|
+
return sdkResponse;
|
|
2252
|
+
}
|
|
2253
|
+
catch (err) {
|
|
2254
|
+
throw err;
|
|
2255
|
+
}
|
|
2256
|
+
});
|
|
2257
|
+
}
|
|
1925
2258
|
/**
|
|
1926
2259
|
* Replaces the set of tags for a sender with the tags provided. If either freeform
|
|
1927
2260
|
* or defined tags are omitted, the tags for that set remain the same. Each set must
|
|
@@ -1932,7 +2265,7 @@ class EmailClient {
|
|
|
1932
2265
|
* @param UpdateSenderRequest
|
|
1933
2266
|
* @return UpdateSenderResponse
|
|
1934
2267
|
* @throws OciError when an error occurs
|
|
1935
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.
|
|
2268
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.2/email/UpdateSender.ts.html |here} to see how to use UpdateSender API.
|
|
1936
2269
|
*/
|
|
1937
2270
|
updateSender(updateSenderRequest) {
|
|
1938
2271
|
return __awaiter(this, void 0, void 0, function* () {
|