Skip to content

Commit 14f5f05

Browse files
author
awstools
committed
feat(client-mailmanager): This release adds additional metadata fields in Mail Manager archive searches to show email source and details about emails that were archived when being sent with SES.
1 parent 9c30155 commit 14f5f05

File tree

5 files changed

+100
-2
lines changed

5 files changed

+100
-2
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,11 @@ export interface GetArchiveMessageCommandOutput extends GetArchiveMessageRespons
5757
* // SenderIpAddress: "STRING_VALUE",
5858
* // TlsCipherSuite: "STRING_VALUE",
5959
* // TlsProtocol: "STRING_VALUE",
60+
* // SendingMethod: "STRING_VALUE",
61+
* // SourceIdentity: "STRING_VALUE",
62+
* // SendingPool: "STRING_VALUE",
63+
* // ConfigurationSet: "STRING_VALUE",
64+
* // SourceArn: "STRING_VALUE",
6065
* // },
6166
* // Envelope: { // Envelope
6267
* // Helo: "STRING_VALUE",

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ export interface GetArchiveSearchResultsCommandOutput extends GetArchiveSearchRe
7373
* // "STRING_VALUE",
7474
* // ],
7575
* // },
76+
* // SourceArn: "STRING_VALUE",
7677
* // },
7778
* // ],
7879
* // };

clients/client-mailmanager/src/models/models_0.ts

Lines changed: 51 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3962,6 +3962,40 @@ export interface Metadata {
39623962
* @public
39633963
*/
39643964
TlsProtocol?: string | undefined;
3965+
3966+
/**
3967+
* <p>The name of the API call used when sent through a configuration set with archiving enabled.</p>
3968+
* @public
3969+
*/
3970+
SendingMethod?: string | undefined;
3971+
3972+
/**
3973+
* <p>The identity name used to authorize the sending action when sent through a configuration set with
3974+
* archiving enabled.</p>
3975+
* @public
3976+
*/
3977+
SourceIdentity?: string | undefined;
3978+
3979+
/**
3980+
* <p>The name of the dedicated IP pool used when sent through a configuration set with archiving
3981+
* enabled.</p>
3982+
* @public
3983+
*/
3984+
SendingPool?: string | undefined;
3985+
3986+
/**
3987+
* <p>The name of the configuration set used when sent through a configuration set with archiving
3988+
* enabled.</p>
3989+
* @public
3990+
*/
3991+
ConfigurationSet?: string | undefined;
3992+
3993+
/**
3994+
* <p>Specifies the archived email source, identified by either a Rule Set's ARN with an Archive action, or a
3995+
* Configuration Set's Archive ARN.</p>
3996+
* @public
3997+
*/
3998+
SourceArn?: string | undefined;
39653999
}
39664000

39674001
/**
@@ -4251,7 +4285,16 @@ export interface Row {
42514285
SenderHostname?: string | undefined;
42524286

42534287
/**
4254-
* <p>The IP address of the host from which the email was received.</p>
4288+
* <ul>
4289+
* <li>
4290+
* <p>Mail archived with Mail Manager: The IP address of the client that connects to
4291+
* the ingress endpoint.</p>
4292+
* </li>
4293+
* <li>
4294+
* <p>Mail sent through a configuration set with the
4295+
* archiving option enabled: The IP address of the client that makes the SendEmail API call.</p>
4296+
* </li>
4297+
* </ul>
42554298
* @public
42564299
*/
42574300
SenderIpAddress?: string | undefined;
@@ -4261,6 +4304,13 @@ export interface Row {
42614304
* @public
42624305
*/
42634306
Envelope?: Envelope | undefined;
4307+
4308+
/**
4309+
* <p>Specifies the archived email source, identified by either a Rule Set's ARN with an Archive action, or a
4310+
* Configuration Set's Archive ARN.</p>
4311+
* @public
4312+
*/
4313+
SourceArn?: string | undefined;
42644314
}
42654315

42664316
/**

clients/client-mailmanager/src/protocols/Aws_json1_0.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3477,10 +3477,15 @@ const de_ListRuleSetsResponse = (output: any, context: __SerdeContext): ListRule
34773477
*/
34783478
const de_Metadata = (output: any, context: __SerdeContext): Metadata => {
34793479
return take(output, {
3480+
ConfigurationSet: __expectString,
34803481
IngressPointId: __expectString,
34813482
RuleSetId: __expectString,
34823483
SenderHostname: __expectString,
34833484
SenderIpAddress: __expectString,
3485+
SendingMethod: __expectString,
3486+
SendingPool: __expectString,
3487+
SourceArn: __expectString,
3488+
SourceIdentity: __expectString,
34843489
Timestamp: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
34853490
TlsCipherSuite: __expectString,
34863491
TlsProtocol: __expectString,
@@ -3551,6 +3556,7 @@ const de_Row = (output: any, context: __SerdeContext): Row => {
35513556
ReceivedTimestamp: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
35523557
SenderHostname: __expectString,
35533558
SenderIpAddress: __expectString,
3559+
SourceArn: __expectString,
35543560
Subject: __expectString,
35553561
To: __expectString,
35563562
XMailer: __expectString,

codegen/sdk-codegen/aws-models/mailmanager.json

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6457,6 +6457,36 @@
64576457
"traits": {
64586458
"smithy.api#documentation": "<p>The TLS protocol used to communicate with the host from which the email was received.</p>"
64596459
}
6460+
},
6461+
"SendingMethod": {
6462+
"target": "smithy.api#String",
6463+
"traits": {
6464+
"smithy.api#documentation": "<p>The name of the API call used when sent through a configuration set with archiving enabled.</p>"
6465+
}
6466+
},
6467+
"SourceIdentity": {
6468+
"target": "smithy.api#String",
6469+
"traits": {
6470+
"smithy.api#documentation": "<p>The identity name used to authorize the sending action when sent through a configuration set with\n archiving enabled.</p>"
6471+
}
6472+
},
6473+
"SendingPool": {
6474+
"target": "smithy.api#String",
6475+
"traits": {
6476+
"smithy.api#documentation": "<p>The name of the dedicated IP pool used when sent through a configuration set with archiving\n enabled.</p>"
6477+
}
6478+
},
6479+
"ConfigurationSet": {
6480+
"target": "smithy.api#String",
6481+
"traits": {
6482+
"smithy.api#documentation": "<p>The name of the configuration set used when sent through a configuration set with archiving\n enabled.</p>"
6483+
}
6484+
},
6485+
"SourceArn": {
6486+
"target": "smithy.api#String",
6487+
"traits": {
6488+
"smithy.api#documentation": "<p>Specifies the archived email source, identified by either a Rule Set's ARN with an Archive action, or a\n Configuration Set's Archive ARN.</p>"
6489+
}
64606490
}
64616491
},
64626492
"traits": {
@@ -7091,14 +7121,20 @@
70917121
"SenderIpAddress": {
70927122
"target": "com.amazonaws.mailmanager#SenderIpAddress",
70937123
"traits": {
7094-
"smithy.api#documentation": "<p>The IP address of the host from which the email was received.</p>"
7124+
"smithy.api#documentation": "<ul>\n <li>\n <p>Mail archived with Mail Manager: The IP address of the client that connects to\n the ingress endpoint.</p>\n </li>\n <li>\n <p>Mail sent through a configuration set with the\n archiving option enabled: The IP address of the client that makes the SendEmail API call.</p>\n </li>\n </ul>"
70957125
}
70967126
},
70977127
"Envelope": {
70987128
"target": "com.amazonaws.mailmanager#Envelope",
70997129
"traits": {
71007130
"smithy.api#documentation": "<p>The SMTP envelope information of the email.</p>"
71017131
}
7132+
},
7133+
"SourceArn": {
7134+
"target": "smithy.api#String",
7135+
"traits": {
7136+
"smithy.api#documentation": "<p>Specifies the archived email source, identified by either a Rule Set's ARN with an Archive action, or a\n Configuration Set's Archive ARN.</p>"
7137+
}
71027138
}
71037139
},
71047140
"traits": {

0 commit comments

Comments
 (0)