Skip to content

Commit 7606fc0

Browse files
author
awstools
committed
feat(client-mailmanager): Introducing new RuleSet rule PublishToSns action, which allows customers to publish email notifications to an Amazon SNS topic. New PublishToSns action enables customers to easily integrate their email workflows via Amazon SNS, allowing them to notify other systems about important email events.
1 parent a4195f7 commit 7606fc0

16 files changed

+9952
-9964
lines changed

clients/client-mailmanager/README.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,7 @@
66

77
AWS SDK for JavaScript MailManager Client for Node.js, Browser and React Native.
88

9-
<fullname>Amazon SES Mail Manager API</fullname>
10-
11-
<p>The Amazon SES Mail Manager API contains operations and data types
12-
that comprise the Mail Manager feature of <a href="http://aws.amazon.com/ses">Amazon Simple Email Service (SES)</a>.</p>
13-
<p>Mail Manager is a set of Amazon SES email gateway features designed to help you strengthen
14-
your organization's email infrastructure, simplify email workflow management, and
15-
streamline email compliance control. To learn more, see the <a href="https://docs.aws.amazon.com/ses/latest/dg/eb.html">Mail Manager chapter</a> in the <i>Amazon SES Developer
16-
Guide</i>.</p>
9+
<fullname>Amazon SES Mail Manager API</fullname> <p>The Amazon SES Mail Manager API contains operations and data types that comprise the Mail Manager feature of <a href="http://aws.amazon.com/ses">Amazon Simple Email Service (SES)</a>.</p> <p>Mail Manager is a set of Amazon SES email gateway features designed to help you strengthen your organization's email infrastructure, simplify email workflow management, and streamline email compliance control. To learn more, see the <a href="https://docs.aws.amazon.com/ses/latest/dg/eb.html">Mail Manager chapter</a> in the <i>Amazon SES Developer Guide</i>.</p>
1710

1811
## Installing
1912

clients/client-mailmanager/src/MailManager.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1258,13 +1258,7 @@ export interface MailManager {
12581258
}
12591259

12601260
/**
1261-
* <fullname>Amazon SES Mail Manager API</fullname>
1262-
* <p>The Amazon SES Mail Manager API contains operations and data types
1263-
* that comprise the Mail Manager feature of <a href="http://aws.amazon.com/ses">Amazon Simple Email Service (SES)</a>.</p>
1264-
* <p>Mail Manager is a set of Amazon SES email gateway features designed to help you strengthen
1265-
* your organization's email infrastructure, simplify email workflow management, and
1266-
* streamline email compliance control. To learn more, see the <a href="https://docs.aws.amazon.com/ses/latest/dg/eb.html">Mail Manager chapter</a> in the <i>Amazon SES Developer
1267-
* Guide</i>.</p>
1261+
* <fullname>Amazon SES Mail Manager API</fullname> <p>The Amazon SES Mail Manager API contains operations and data types that comprise the Mail Manager feature of <a href="http://aws.amazon.com/ses">Amazon Simple Email Service (SES)</a>.</p> <p>Mail Manager is a set of Amazon SES email gateway features designed to help you strengthen your organization's email infrastructure, simplify email workflow management, and streamline email compliance control. To learn more, see the <a href="https://docs.aws.amazon.com/ses/latest/dg/eb.html">Mail Manager chapter</a> in the <i>Amazon SES Developer Guide</i>.</p>
12681262
* @public
12691263
*/
12701264
export class MailManager extends MailManagerClient implements MailManager {}

clients/client-mailmanager/src/MailManagerClient.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -514,13 +514,7 @@ export type MailManagerClientResolvedConfigType = __SmithyResolvedConfiguration<
514514
export interface MailManagerClientResolvedConfig extends MailManagerClientResolvedConfigType {}
515515

516516
/**
517-
* <fullname>Amazon SES Mail Manager API</fullname>
518-
* <p>The Amazon SES Mail Manager API contains operations and data types
519-
* that comprise the Mail Manager feature of <a href="http://aws.amazon.com/ses">Amazon Simple Email Service (SES)</a>.</p>
520-
* <p>Mail Manager is a set of Amazon SES email gateway features designed to help you strengthen
521-
* your organization's email infrastructure, simplify email workflow management, and
522-
* streamline email compliance control. To learn more, see the <a href="https://docs.aws.amazon.com/ses/latest/dg/eb.html">Mail Manager chapter</a> in the <i>Amazon SES Developer
523-
* Guide</i>.</p>
517+
* <fullname>Amazon SES Mail Manager API</fullname> <p>The Amazon SES Mail Manager API contains operations and data types that comprise the Mail Manager feature of <a href="http://aws.amazon.com/ses">Amazon Simple Email Service (SES)</a>.</p> <p>Mail Manager is a set of Amazon SES email gateway features designed to help you strengthen your organization's email infrastructure, simplify email workflow management, and streamline email compliance control. To learn more, see the <a href="https://docs.aws.amazon.com/ses/latest/dg/eb.html">Mail Manager chapter</a> in the <i>Amazon SES Developer Guide</i>.</p>
524518
* @public
525519
*/
526520
export class MailManagerClient extends __Client<

clients/client-mailmanager/src/commands/CreateAddonInstanceCommand.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,7 @@ export interface CreateAddonInstanceCommandInput extends CreateAddonInstanceRequ
2828
export interface CreateAddonInstanceCommandOutput extends CreateAddonInstanceResponse, __MetadataBearer {}
2929

3030
/**
31-
* <p>Creates an Add On instance for the subscription indicated in the request. The
32-
* resulting Amazon Resource Name (ARN) can be used in a conditional statement for a rule set or traffic policy.
33-
* </p>
31+
* <p>Creates an Add On instance for the subscription indicated in the request. The resulting Amazon Resource Name (ARN) can be used in a conditional statement for a rule set or traffic policy. </p>
3432
* @example
3533
* Use a bare-bones client and the command you need to make an API call.
3634
* ```javascript

clients/client-mailmanager/src/commands/CreateAddonSubscriptionCommand.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,7 @@ export interface CreateAddonSubscriptionCommandInput extends CreateAddonSubscrip
2828
export interface CreateAddonSubscriptionCommandOutput extends CreateAddonSubscriptionResponse, __MetadataBearer {}
2929

3030
/**
31-
* <p>Creates a subscription for an Add On representing the acceptance of its terms of use
32-
* and additional pricing. The subscription can then be used to create an instance for use
33-
* in rule sets or traffic policies.</p>
31+
* <p>Creates a subscription for an Add On representing the acceptance of its terms of use and additional pricing. The subscription can then be used to create an instance for use in rule sets or traffic policies.</p>
3432
* @example
3533
* Use a bare-bones client and the command you need to make an API call.
3634
* ```javascript

clients/client-mailmanager/src/commands/CreateRelayCommand.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ export interface CreateRelayCommandInput extends CreateRelayRequest {}
2828
export interface CreateRelayCommandOutput extends CreateRelayResponse, __MetadataBearer {}
2929

3030
/**
31-
* <p>Creates a relay resource which can be used in rules to relay incoming emails to
32-
* defined relay destinations. </p>
31+
* <p>Creates a relay resource which can be used in rules to relay incoming emails to defined relay destinations. </p>
3332
* @example
3433
* Use a bare-bones client and the command you need to make an API call.
3534
* ```javascript

clients/client-mailmanager/src/commands/CreateRuleSetCommand.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,13 @@ export interface CreateRuleSetCommandOutput extends CreateRuleSetResponse, __Met
223223
* IndexId: "STRING_VALUE", // required
224224
* RoleArn: "STRING_VALUE", // required
225225
* },
226+
* PublishToSns: { // SnsAction
227+
* ActionFailurePolicy: "CONTINUE" || "DROP",
228+
* TopicArn: "STRING_VALUE", // required
229+
* RoleArn: "STRING_VALUE", // required
230+
* Encoding: "UTF-8" || "BASE64",
231+
* PayloadType: "HEADERS" || "CONTENT",
232+
* },
226233
* },
227234
* ],
228235
* },

clients/client-mailmanager/src/commands/DeleteArchiveCommand.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,7 @@ export interface DeleteArchiveCommandInput extends DeleteArchiveRequest {}
2828
export interface DeleteArchiveCommandOutput extends DeleteArchiveResponse, __MetadataBearer {}
2929

3030
/**
31-
* <p>Initiates deletion of an email archive. This changes the archive state to pending
32-
* deletion. In this state, no new emails can be added, and existing archived emails become
33-
* inaccessible (search, export, download). The archive and all of its contents will be
34-
* permanently deleted 30 days after entering the pending deletion state, regardless of the
35-
* configured retention period. </p>
31+
* <p>Initiates deletion of an email archive. This changes the archive state to pending deletion. In this state, no new emails can be added, and existing archived emails become inaccessible (search, export, download). The archive and all of its contents will be permanently deleted 30 days after entering the pending deletion state, regardless of the configured retention period. </p>
3632
* @example
3733
* Use a bare-bones client and the command you need to make an API call.
3834
* ```javascript

clients/client-mailmanager/src/commands/GetArchiveMessageCommand.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,7 @@ export interface GetArchiveMessageCommandInput extends GetArchiveMessageRequest
3232
export interface GetArchiveMessageCommandOutput extends GetArchiveMessageResponse, __MetadataBearer {}
3333

3434
/**
35-
* <p>Returns a pre-signed URL that provides temporary download access to the specific email message stored in
36-
* the archive.
37-
* </p>
35+
* <p>Returns a pre-signed URL that provides temporary download access to the specific email message stored in the archive. </p>
3836
* @example
3937
* Use a bare-bones client and the command you need to make an API call.
4038
* ```javascript

clients/client-mailmanager/src/commands/GetArchiveMessageContentCommand.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,7 @@ export interface GetArchiveMessageContentCommandInput extends GetArchiveMessageC
2828
export interface GetArchiveMessageContentCommandOutput extends GetArchiveMessageContentResponse, __MetadataBearer {}
2929

3030
/**
31-
* <p>Returns the textual content of a specific email message stored in the archive. Attachments are not
32-
* included.
33-
* </p>
31+
* <p>Returns the textual content of a specific email message stored in the archive. Attachments are not included. </p>
3432
* @example
3533
* Use a bare-bones client and the command you need to make an API call.
3634
* ```javascript

0 commit comments

Comments
 (0)