aws-sdk-mailmanager 1.12.0 → 1.13.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c7c85b9bc503e70e6ddf2aa4f06127a761f4d8553be218739c45dd26e0674fbf
4
- data.tar.gz: fe6b95ad22e1f355033768942a15e586a90385b989f8c8b2a49e586dc7fa33eb
3
+ metadata.gz: 9d12e382b690aad30925b5a1aa4f226d93e7c660232566c95a05a1c93129f943
4
+ data.tar.gz: 7baa860a94c3ece90ba7e5dd3824b4f5881c962b8000732b33bdd747be0eeb07
5
5
  SHA512:
6
- metadata.gz: f996647c3db36c0ddffe2191fa711e9b43366496ff2c4ddb9bc1b4acdcc459d225c6bded6c46da0ec0ab0dc736b46a3a9f8db804d5d197ca7383afa2006205c5
7
- data.tar.gz: 25c3b58cee8eaa38de9b2678eb047d3593ccdc8c74cc1cb8c847621f9335282232a6f9c99b64893f20aff269d0b2e3a1f111354bd1081dfe436d20e1cf09b04a
6
+ metadata.gz: 1cb2edd104b70f2d07431192886fb5640d6063abb5ce65c6924a1be0936a415f68eded27bc592dab166133bc953a6745abbefcc3f89e387b68ff7b0028cc6193
7
+ data.tar.gz: ef3719717ca58a61d72c7fa00681d9975db8a1f6c8c04b42c0a9d91c851287a4ce919a7ecd890478b63531983d092318a449989482ec8d332ff84626cf053084
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.13.0 (2024-10-14)
5
+ ------------------
6
+
7
+ * Feature - Mail Manager support for viewing and exporting metadata of archived messages.
8
+
4
9
  1.12.0 (2024-09-24)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.12.0
1
+ 1.13.0
@@ -1332,14 +1332,14 @@ module Aws::MailManager
1332
1332
  # resp.filters.include #=> Array
1333
1333
  # resp.filters.include[0].boolean_expression.evaluate.attribute #=> String, one of "HAS_ATTACHMENTS"
1334
1334
  # resp.filters.include[0].boolean_expression.operator #=> String, one of "IS_TRUE", "IS_FALSE"
1335
- # resp.filters.include[0].string_expression.evaluate.attribute #=> String, one of "TO", "FROM", "CC", "SUBJECT"
1335
+ # resp.filters.include[0].string_expression.evaluate.attribute #=> String, one of "TO", "FROM", "CC", "SUBJECT", "ENVELOPE_TO", "ENVELOPE_FROM"
1336
1336
  # resp.filters.include[0].string_expression.operator #=> String, one of "CONTAINS"
1337
1337
  # resp.filters.include[0].string_expression.values #=> Array
1338
1338
  # resp.filters.include[0].string_expression.values[0] #=> String
1339
1339
  # resp.filters.unless #=> Array
1340
1340
  # resp.filters.unless[0].boolean_expression.evaluate.attribute #=> String, one of "HAS_ATTACHMENTS"
1341
1341
  # resp.filters.unless[0].boolean_expression.operator #=> String, one of "IS_TRUE", "IS_FALSE"
1342
- # resp.filters.unless[0].string_expression.evaluate.attribute #=> String, one of "TO", "FROM", "CC", "SUBJECT"
1342
+ # resp.filters.unless[0].string_expression.evaluate.attribute #=> String, one of "TO", "FROM", "CC", "SUBJECT", "ENVELOPE_TO", "ENVELOPE_FROM"
1343
1343
  # resp.filters.unless[0].string_expression.operator #=> String, one of "CONTAINS"
1344
1344
  # resp.filters.unless[0].string_expression.values #=> Array
1345
1345
  # resp.filters.unless[0].string_expression.values[0] #=> String
@@ -1368,7 +1368,9 @@ module Aws::MailManager
1368
1368
  #
1369
1369
  # @return [Types::GetArchiveMessageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1370
1370
  #
1371
+ # * {Types::GetArchiveMessageResponse#envelope #envelope} => Types::Envelope
1371
1372
  # * {Types::GetArchiveMessageResponse#message_download_link #message_download_link} => String
1373
+ # * {Types::GetArchiveMessageResponse#metadata #metadata} => Types::Metadata
1372
1374
  #
1373
1375
  # @example Request syntax with placeholder values
1374
1376
  #
@@ -1378,7 +1380,19 @@ module Aws::MailManager
1378
1380
  #
1379
1381
  # @example Response structure
1380
1382
  #
1383
+ # resp.envelope.from #=> String
1384
+ # resp.envelope.helo #=> String
1385
+ # resp.envelope.to #=> Array
1386
+ # resp.envelope.to[0] #=> String
1381
1387
  # resp.message_download_link #=> String
1388
+ # resp.metadata.ingress_point_id #=> String
1389
+ # resp.metadata.rule_set_id #=> String
1390
+ # resp.metadata.sender_hostname #=> String
1391
+ # resp.metadata.sender_ip_address #=> String
1392
+ # resp.metadata.timestamp #=> Time
1393
+ # resp.metadata.tls_cipher_suite #=> String
1394
+ # resp.metadata.tls_protocol #=> String
1395
+ # resp.metadata.traffic_policy_id #=> String
1382
1396
  #
1383
1397
  # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/GetArchiveMessage AWS API Documentation
1384
1398
  #
@@ -1447,14 +1461,14 @@ module Aws::MailManager
1447
1461
  # resp.filters.include #=> Array
1448
1462
  # resp.filters.include[0].boolean_expression.evaluate.attribute #=> String, one of "HAS_ATTACHMENTS"
1449
1463
  # resp.filters.include[0].boolean_expression.operator #=> String, one of "IS_TRUE", "IS_FALSE"
1450
- # resp.filters.include[0].string_expression.evaluate.attribute #=> String, one of "TO", "FROM", "CC", "SUBJECT"
1464
+ # resp.filters.include[0].string_expression.evaluate.attribute #=> String, one of "TO", "FROM", "CC", "SUBJECT", "ENVELOPE_TO", "ENVELOPE_FROM"
1451
1465
  # resp.filters.include[0].string_expression.operator #=> String, one of "CONTAINS"
1452
1466
  # resp.filters.include[0].string_expression.values #=> Array
1453
1467
  # resp.filters.include[0].string_expression.values[0] #=> String
1454
1468
  # resp.filters.unless #=> Array
1455
1469
  # resp.filters.unless[0].boolean_expression.evaluate.attribute #=> String, one of "HAS_ATTACHMENTS"
1456
1470
  # resp.filters.unless[0].boolean_expression.operator #=> String, one of "IS_TRUE", "IS_FALSE"
1457
- # resp.filters.unless[0].string_expression.evaluate.attribute #=> String, one of "TO", "FROM", "CC", "SUBJECT"
1471
+ # resp.filters.unless[0].string_expression.evaluate.attribute #=> String, one of "TO", "FROM", "CC", "SUBJECT", "ENVELOPE_TO", "ENVELOPE_FROM"
1458
1472
  # resp.filters.unless[0].string_expression.operator #=> String, one of "CONTAINS"
1459
1473
  # resp.filters.unless[0].string_expression.values #=> Array
1460
1474
  # resp.filters.unless[0].string_expression.values[0] #=> String
@@ -1496,13 +1510,20 @@ module Aws::MailManager
1496
1510
  # resp.rows[0].archived_message_id #=> String
1497
1511
  # resp.rows[0].cc #=> String
1498
1512
  # resp.rows[0].date #=> String
1513
+ # resp.rows[0].envelope.from #=> String
1514
+ # resp.rows[0].envelope.helo #=> String
1515
+ # resp.rows[0].envelope.to #=> Array
1516
+ # resp.rows[0].envelope.to[0] #=> String
1499
1517
  # resp.rows[0].from #=> String
1500
1518
  # resp.rows[0].has_attachments #=> Boolean
1501
1519
  # resp.rows[0].in_reply_to #=> String
1520
+ # resp.rows[0].ingress_point_id #=> String
1502
1521
  # resp.rows[0].message_id #=> String
1503
1522
  # resp.rows[0].received_headers #=> Array
1504
1523
  # resp.rows[0].received_headers[0] #=> String
1505
1524
  # resp.rows[0].received_timestamp #=> Time
1525
+ # resp.rows[0].sender_hostname #=> String
1526
+ # resp.rows[0].sender_ip_address #=> String
1506
1527
  # resp.rows[0].subject #=> String
1507
1528
  # resp.rows[0].to #=> String
1508
1529
  # resp.rows[0].x_mailer #=> String
@@ -2215,6 +2236,9 @@ module Aws::MailManager
2215
2236
  # @option params [required, Time,DateTime,Date,Integer,String] :from_timestamp
2216
2237
  # The start of the timestamp range to include emails from.
2217
2238
  #
2239
+ # @option params [Boolean] :include_metadata
2240
+ # Whether to include message metadata as JSON files in the export.
2241
+ #
2218
2242
  # @option params [Integer] :max_results
2219
2243
  # The maximum number of email items to include in the export.
2220
2244
  #
@@ -2245,7 +2269,7 @@ module Aws::MailManager
2245
2269
  # },
2246
2270
  # string_expression: {
2247
2271
  # evaluate: { # required
2248
- # attribute: "TO", # accepts TO, FROM, CC, SUBJECT
2272
+ # attribute: "TO", # accepts TO, FROM, CC, SUBJECT, ENVELOPE_TO, ENVELOPE_FROM
2249
2273
  # },
2250
2274
  # operator: "CONTAINS", # required, accepts CONTAINS
2251
2275
  # values: ["StringValue"], # required
@@ -2262,7 +2286,7 @@ module Aws::MailManager
2262
2286
  # },
2263
2287
  # string_expression: {
2264
2288
  # evaluate: { # required
2265
- # attribute: "TO", # accepts TO, FROM, CC, SUBJECT
2289
+ # attribute: "TO", # accepts TO, FROM, CC, SUBJECT, ENVELOPE_TO, ENVELOPE_FROM
2266
2290
  # },
2267
2291
  # operator: "CONTAINS", # required, accepts CONTAINS
2268
2292
  # values: ["StringValue"], # required
@@ -2271,6 +2295,7 @@ module Aws::MailManager
2271
2295
  # ],
2272
2296
  # },
2273
2297
  # from_timestamp: Time.now, # required
2298
+ # include_metadata: false,
2274
2299
  # max_results: 1,
2275
2300
  # to_timestamp: Time.now, # required
2276
2301
  # })
@@ -2324,7 +2349,7 @@ module Aws::MailManager
2324
2349
  # },
2325
2350
  # string_expression: {
2326
2351
  # evaluate: { # required
2327
- # attribute: "TO", # accepts TO, FROM, CC, SUBJECT
2352
+ # attribute: "TO", # accepts TO, FROM, CC, SUBJECT, ENVELOPE_TO, ENVELOPE_FROM
2328
2353
  # },
2329
2354
  # operator: "CONTAINS", # required, accepts CONTAINS
2330
2355
  # values: ["StringValue"], # required
@@ -2341,7 +2366,7 @@ module Aws::MailManager
2341
2366
  # },
2342
2367
  # string_expression: {
2343
2368
  # evaluate: { # required
2344
- # attribute: "TO", # accepts TO, FROM, CC, SUBJECT
2369
+ # attribute: "TO", # accepts TO, FROM, CC, SUBJECT, ENVELOPE_TO, ENVELOPE_FROM
2345
2370
  # },
2346
2371
  # operator: "CONTAINS", # required, accepts CONTAINS
2347
2372
  # values: ["StringValue"], # required
@@ -2858,7 +2883,7 @@ module Aws::MailManager
2858
2883
  tracer: tracer
2859
2884
  )
2860
2885
  context[:gem_name] = 'aws-sdk-mailmanager'
2861
- context[:gem_version] = '1.12.0'
2886
+ context[:gem_version] = '1.13.0'
2862
2887
  Seahorse::Client::Request.new(handlers, context)
2863
2888
  end
2864
2889
 
@@ -85,6 +85,7 @@ module Aws::MailManager
85
85
  DropAction = Shapes::StructureShape.new(name: 'DropAction')
86
86
  EmailAddress = Shapes::StringShape.new(name: 'EmailAddress')
87
87
  EmailReceivedHeadersList = Shapes::ListShape.new(name: 'EmailReceivedHeadersList')
88
+ Envelope = Shapes::StructureShape.new(name: 'Envelope')
88
89
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
89
90
  ExportDestinationConfiguration = Shapes::UnionShape.new(name: 'ExportDestinationConfiguration')
90
91
  ExportId = Shapes::StringShape.new(name: 'ExportId')
@@ -179,6 +180,7 @@ module Aws::MailManager
179
180
  MailFrom = Shapes::StringShape.new(name: 'MailFrom')
180
181
  MaxMessageSizeBytes = Shapes::IntegerShape.new(name: 'MaxMessageSizeBytes')
181
182
  MessageBody = Shapes::StructureShape.new(name: 'MessageBody')
183
+ Metadata = Shapes::StructureShape.new(name: 'Metadata')
182
184
  MimeHeaderAttribute = Shapes::StringShape.new(name: 'MimeHeaderAttribute')
183
185
  NameOrArn = Shapes::StringShape.new(name: 'NameOrArn')
184
186
  NoAuthentication = Shapes::StructureShape.new(name: 'NoAuthentication')
@@ -260,6 +262,7 @@ module Aws::MailManager
260
262
  SearchSummaryList = Shapes::ListShape.new(name: 'SearchSummaryList')
261
263
  SecretArn = Shapes::StringShape.new(name: 'SecretArn')
262
264
  SendAction = Shapes::StructureShape.new(name: 'SendAction')
265
+ SenderIpAddress = Shapes::StringShape.new(name: 'SenderIpAddress')
263
266
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
264
267
  SmtpPassword = Shapes::StringShape.new(name: 'SmtpPassword')
265
268
  StartArchiveExportRequest = Shapes::StructureShape.new(name: 'StartArchiveExportRequest')
@@ -500,6 +503,11 @@ module Aws::MailManager
500
503
 
501
504
  EmailReceivedHeadersList.member = Shapes::ShapeRef.new(shape: String)
502
505
 
506
+ Envelope.add_member(:from, Shapes::ShapeRef.new(shape: String, location_name: "From"))
507
+ Envelope.add_member(:helo, Shapes::ShapeRef.new(shape: String, location_name: "Helo"))
508
+ Envelope.add_member(:to, Shapes::ShapeRef.new(shape: StringList, location_name: "To"))
509
+ Envelope.struct_class = Types::Envelope
510
+
503
511
  ExportDestinationConfiguration.add_member(:s3, Shapes::ShapeRef.new(shape: S3ExportDestinationConfiguration, location_name: "S3"))
504
512
  ExportDestinationConfiguration.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
505
513
  ExportDestinationConfiguration.add_member_subclass(:s3, Types::ExportDestinationConfiguration::S3)
@@ -556,7 +564,9 @@ module Aws::MailManager
556
564
  GetArchiveMessageRequest.add_member(:archived_message_id, Shapes::ShapeRef.new(shape: ArchivedMessageId, required: true, location_name: "ArchivedMessageId"))
557
565
  GetArchiveMessageRequest.struct_class = Types::GetArchiveMessageRequest
558
566
 
567
+ GetArchiveMessageResponse.add_member(:envelope, Shapes::ShapeRef.new(shape: Envelope, location_name: "Envelope"))
559
568
  GetArchiveMessageResponse.add_member(:message_download_link, Shapes::ShapeRef.new(shape: S3PresignedURL, location_name: "MessageDownloadLink"))
569
+ GetArchiveMessageResponse.add_member(:metadata, Shapes::ShapeRef.new(shape: Metadata, location_name: "Metadata"))
560
570
  GetArchiveMessageResponse.struct_class = Types::GetArchiveMessageResponse
561
571
 
562
572
  GetArchiveRequest.add_member(:archive_id, Shapes::ShapeRef.new(shape: ArchiveIdString, required: true, location_name: "ArchiveId"))
@@ -802,6 +812,16 @@ module Aws::MailManager
802
812
  MessageBody.add_member(:text, Shapes::ShapeRef.new(shape: String, location_name: "Text"))
803
813
  MessageBody.struct_class = Types::MessageBody
804
814
 
815
+ Metadata.add_member(:ingress_point_id, Shapes::ShapeRef.new(shape: IngressPointId, location_name: "IngressPointId"))
816
+ Metadata.add_member(:rule_set_id, Shapes::ShapeRef.new(shape: RuleSetId, location_name: "RuleSetId"))
817
+ Metadata.add_member(:sender_hostname, Shapes::ShapeRef.new(shape: String, location_name: "SenderHostname"))
818
+ Metadata.add_member(:sender_ip_address, Shapes::ShapeRef.new(shape: SenderIpAddress, location_name: "SenderIpAddress"))
819
+ Metadata.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "Timestamp"))
820
+ Metadata.add_member(:tls_cipher_suite, Shapes::ShapeRef.new(shape: String, location_name: "TlsCipherSuite"))
821
+ Metadata.add_member(:tls_protocol, Shapes::ShapeRef.new(shape: String, location_name: "TlsProtocol"))
822
+ Metadata.add_member(:traffic_policy_id, Shapes::ShapeRef.new(shape: TrafficPolicyId, location_name: "TrafficPolicyId"))
823
+ Metadata.struct_class = Types::Metadata
824
+
805
825
  NoAuthentication.struct_class = Types::NoAuthentication
806
826
 
807
827
  PolicyCondition.add_member(:boolean_expression, Shapes::ShapeRef.new(shape: IngressBooleanExpression, location_name: "BooleanExpression"))
@@ -855,12 +875,16 @@ module Aws::MailManager
855
875
  Row.add_member(:archived_message_id, Shapes::ShapeRef.new(shape: ArchivedMessageId, location_name: "ArchivedMessageId"))
856
876
  Row.add_member(:cc, Shapes::ShapeRef.new(shape: String, location_name: "Cc"))
857
877
  Row.add_member(:date, Shapes::ShapeRef.new(shape: String, location_name: "Date"))
878
+ Row.add_member(:envelope, Shapes::ShapeRef.new(shape: Envelope, location_name: "Envelope"))
858
879
  Row.add_member(:from, Shapes::ShapeRef.new(shape: String, location_name: "From"))
859
880
  Row.add_member(:has_attachments, Shapes::ShapeRef.new(shape: Boolean, location_name: "HasAttachments"))
860
881
  Row.add_member(:in_reply_to, Shapes::ShapeRef.new(shape: String, location_name: "InReplyTo"))
882
+ Row.add_member(:ingress_point_id, Shapes::ShapeRef.new(shape: IngressPointId, location_name: "IngressPointId"))
861
883
  Row.add_member(:message_id, Shapes::ShapeRef.new(shape: String, location_name: "MessageId"))
862
884
  Row.add_member(:received_headers, Shapes::ShapeRef.new(shape: EmailReceivedHeadersList, location_name: "ReceivedHeaders"))
863
885
  Row.add_member(:received_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ReceivedTimestamp"))
886
+ Row.add_member(:sender_hostname, Shapes::ShapeRef.new(shape: String, location_name: "SenderHostname"))
887
+ Row.add_member(:sender_ip_address, Shapes::ShapeRef.new(shape: SenderIpAddress, location_name: "SenderIpAddress"))
864
888
  Row.add_member(:subject, Shapes::ShapeRef.new(shape: String, location_name: "Subject"))
865
889
  Row.add_member(:to, Shapes::ShapeRef.new(shape: String, location_name: "To"))
866
890
  Row.add_member(:x_mailer, Shapes::ShapeRef.new(shape: String, location_name: "XMailer"))
@@ -1028,6 +1052,7 @@ module Aws::MailManager
1028
1052
  StartArchiveExportRequest.add_member(:export_destination_configuration, Shapes::ShapeRef.new(shape: ExportDestinationConfiguration, required: true, location_name: "ExportDestinationConfiguration"))
1029
1053
  StartArchiveExportRequest.add_member(:filters, Shapes::ShapeRef.new(shape: ArchiveFilters, location_name: "Filters"))
1030
1054
  StartArchiveExportRequest.add_member(:from_timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "FromTimestamp"))
1055
+ StartArchiveExportRequest.add_member(:include_metadata, Shapes::ShapeRef.new(shape: Boolean, location_name: "IncludeMetadata"))
1031
1056
  StartArchiveExportRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ExportMaxResults, location_name: "MaxResults"))
1032
1057
  StartArchiveExportRequest.add_member(:to_timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "ToTimestamp"))
1033
1058
  StartArchiveExportRequest.struct_class = Types::StartArchiveExportRequest
@@ -885,6 +885,31 @@ module Aws::MailManager
885
885
  #
886
886
  class DropAction < Aws::EmptyStructure; end
887
887
 
888
+ # The SMTP envelope information of the email.
889
+ #
890
+ # @!attribute [rw] from
891
+ # The RCPT FROM given by the host from which the email was received.
892
+ # @return [String]
893
+ #
894
+ # @!attribute [rw] helo
895
+ # The HELO used by the host from which the email was received.
896
+ # @return [String]
897
+ #
898
+ # @!attribute [rw] to
899
+ # All SMTP TO entries given by the host from which the email was
900
+ # received.
901
+ # @return [Array<String>]
902
+ #
903
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/Envelope AWS API Documentation
904
+ #
905
+ class Envelope < Struct.new(
906
+ :from,
907
+ :helo,
908
+ :to)
909
+ SENSITIVE = []
910
+ include Aws::Structure
911
+ end
912
+
888
913
  # The destination configuration for delivering exported email data.
889
914
  #
890
915
  # @note ExportDestinationConfiguration is a union - when making an API calls you must set exactly one of the members.
@@ -1136,14 +1161,24 @@ module Aws::MailManager
1136
1161
  # The response containing details about the requested archived email
1137
1162
  # message.
1138
1163
  #
1164
+ # @!attribute [rw] envelope
1165
+ # The SMTP envelope information of the email.
1166
+ # @return [Types::Envelope]
1167
+ #
1139
1168
  # @!attribute [rw] message_download_link
1140
1169
  # A pre-signed URL to temporarily download the full message content.
1141
1170
  # @return [String]
1142
1171
  #
1172
+ # @!attribute [rw] metadata
1173
+ # The metadata about the email.
1174
+ # @return [Types::Metadata]
1175
+ #
1143
1176
  # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/GetArchiveMessageResponse AWS API Documentation
1144
1177
  #
1145
1178
  class GetArchiveMessageResponse < Struct.new(
1146
- :message_download_link)
1179
+ :envelope,
1180
+ :message_download_link,
1181
+ :metadata)
1147
1182
  SENSITIVE = []
1148
1183
  include Aws::Structure
1149
1184
  end
@@ -2290,6 +2325,58 @@ module Aws::MailManager
2290
2325
  include Aws::Structure
2291
2326
  end
2292
2327
 
2328
+ # The metadata about the email.
2329
+ #
2330
+ # @!attribute [rw] ingress_point_id
2331
+ # The ID of the ingress endpoint through which the email was received.
2332
+ # @return [String]
2333
+ #
2334
+ # @!attribute [rw] rule_set_id
2335
+ # The ID of the rule set that processed the email.
2336
+ # @return [String]
2337
+ #
2338
+ # @!attribute [rw] sender_hostname
2339
+ # The name of the host from which the email was received.
2340
+ # @return [String]
2341
+ #
2342
+ # @!attribute [rw] sender_ip_address
2343
+ # The IP address of the host from which the email was received.
2344
+ # @return [String]
2345
+ #
2346
+ # @!attribute [rw] timestamp
2347
+ # The timestamp of when the email was received.
2348
+ # @return [Time]
2349
+ #
2350
+ # @!attribute [rw] tls_cipher_suite
2351
+ # The TLS cipher suite used to communicate with the host from which
2352
+ # the email was received.
2353
+ # @return [String]
2354
+ #
2355
+ # @!attribute [rw] tls_protocol
2356
+ # The TLS protocol used to communicate with the host from which the
2357
+ # email was received.
2358
+ # @return [String]
2359
+ #
2360
+ # @!attribute [rw] traffic_policy_id
2361
+ # The ID of the traffic policy that was in effect when the email was
2362
+ # received.
2363
+ # @return [String]
2364
+ #
2365
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/Metadata AWS API Documentation
2366
+ #
2367
+ class Metadata < Struct.new(
2368
+ :ingress_point_id,
2369
+ :rule_set_id,
2370
+ :sender_hostname,
2371
+ :sender_ip_address,
2372
+ :timestamp,
2373
+ :tls_cipher_suite,
2374
+ :tls_protocol,
2375
+ :traffic_policy_id)
2376
+ SENSITIVE = [:sender_ip_address]
2377
+ include Aws::Structure
2378
+ end
2379
+
2293
2380
  # Explicitly indicate that the relay destination server does not require
2294
2381
  # SMTP credential authentication.
2295
2382
  #
@@ -2504,6 +2591,10 @@ module Aws::MailManager
2504
2591
  # The date the email was sent.
2505
2592
  # @return [String]
2506
2593
  #
2594
+ # @!attribute [rw] envelope
2595
+ # The SMTP envelope information of the email.
2596
+ # @return [Types::Envelope]
2597
+ #
2507
2598
  # @!attribute [rw] from
2508
2599
  # The email address of the sender.
2509
2600
  # @return [String]
@@ -2516,6 +2607,10 @@ module Aws::MailManager
2516
2607
  # The email message ID this is a reply to.
2517
2608
  # @return [String]
2518
2609
  #
2610
+ # @!attribute [rw] ingress_point_id
2611
+ # The ID of the ingress endpoint through which the email was received.
2612
+ # @return [String]
2613
+ #
2519
2614
  # @!attribute [rw] message_id
2520
2615
  # The unique message ID of the email.
2521
2616
  # @return [String]
@@ -2528,6 +2623,14 @@ module Aws::MailManager
2528
2623
  # The timestamp of when the email was received.
2529
2624
  # @return [Time]
2530
2625
  #
2626
+ # @!attribute [rw] sender_hostname
2627
+ # The name of the host from which the email was received.
2628
+ # @return [String]
2629
+ #
2630
+ # @!attribute [rw] sender_ip_address
2631
+ # The IP address of the host from which the email was received.
2632
+ # @return [String]
2633
+ #
2531
2634
  # @!attribute [rw] subject
2532
2635
  # The subject header value of the email.
2533
2636
  # @return [String]
@@ -2554,18 +2657,22 @@ module Aws::MailManager
2554
2657
  :archived_message_id,
2555
2658
  :cc,
2556
2659
  :date,
2660
+ :envelope,
2557
2661
  :from,
2558
2662
  :has_attachments,
2559
2663
  :in_reply_to,
2664
+ :ingress_point_id,
2560
2665
  :message_id,
2561
2666
  :received_headers,
2562
2667
  :received_timestamp,
2668
+ :sender_hostname,
2669
+ :sender_ip_address,
2563
2670
  :subject,
2564
2671
  :to,
2565
2672
  :x_mailer,
2566
2673
  :x_original_mailer,
2567
2674
  :x_priority)
2568
- SENSITIVE = []
2675
+ SENSITIVE = [:sender_ip_address]
2569
2676
  include Aws::Structure
2570
2677
  end
2571
2678
 
@@ -3205,6 +3312,10 @@ module Aws::MailManager
3205
3312
  # The start of the timestamp range to include emails from.
3206
3313
  # @return [Time]
3207
3314
  #
3315
+ # @!attribute [rw] include_metadata
3316
+ # Whether to include message metadata as JSON files in the export.
3317
+ # @return [Boolean]
3318
+ #
3208
3319
  # @!attribute [rw] max_results
3209
3320
  # The maximum number of email items to include in the export.
3210
3321
  # @return [Integer]
@@ -3220,6 +3331,7 @@ module Aws::MailManager
3220
3331
  :export_destination_configuration,
3221
3332
  :filters,
3222
3333
  :from_timestamp,
3334
+ :include_metadata,
3223
3335
  :max_results,
3224
3336
  :to_timestamp)
3225
3337
  SENSITIVE = []
@@ -54,7 +54,7 @@ module Aws::MailManager
54
54
  autoload :EndpointProvider, 'aws-sdk-mailmanager/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-mailmanager/endpoints'
56
56
 
57
- GEM_VERSION = '1.12.0'
57
+ GEM_VERSION = '1.13.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -514,7 +514,9 @@ module Aws
514
514
 
515
515
  interface _GetArchiveMessageResponseSuccess
516
516
  include ::Seahorse::Client::_ResponseSuccess[Types::GetArchiveMessageResponse]
517
+ def envelope: () -> Types::Envelope
517
518
  def message_download_link: () -> ::String
519
+ def metadata: () -> Types::Metadata
518
520
  end
519
521
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#get_archive_message-instance_method
520
522
  def get_archive_message: (
@@ -769,7 +771,7 @@ module Aws
769
771
  }?,
770
772
  string_expression: {
771
773
  evaluate: {
772
- attribute: ("TO" | "FROM" | "CC" | "SUBJECT")?
774
+ attribute: ("TO" | "FROM" | "CC" | "SUBJECT" | "ENVELOPE_TO" | "ENVELOPE_FROM")?
773
775
  },
774
776
  operator: ("CONTAINS"),
775
777
  values: Array[::String]
@@ -786,7 +788,7 @@ module Aws
786
788
  }?,
787
789
  string_expression: {
788
790
  evaluate: {
789
- attribute: ("TO" | "FROM" | "CC" | "SUBJECT")?
791
+ attribute: ("TO" | "FROM" | "CC" | "SUBJECT" | "ENVELOPE_TO" | "ENVELOPE_FROM")?
790
792
  },
791
793
  operator: ("CONTAINS"),
792
794
  values: Array[::String]
@@ -795,6 +797,7 @@ module Aws
795
797
  ]?
796
798
  },
797
799
  from_timestamp: ::Time,
800
+ ?include_metadata: bool,
798
801
  ?max_results: ::Integer,
799
802
  to_timestamp: ::Time
800
803
  ) -> _StartArchiveExportResponseSuccess
@@ -818,7 +821,7 @@ module Aws
818
821
  }?,
819
822
  string_expression: {
820
823
  evaluate: {
821
- attribute: ("TO" | "FROM" | "CC" | "SUBJECT")?
824
+ attribute: ("TO" | "FROM" | "CC" | "SUBJECT" | "ENVELOPE_TO" | "ENVELOPE_FROM")?
822
825
  },
823
826
  operator: ("CONTAINS"),
824
827
  values: Array[::String]
@@ -835,7 +838,7 @@ module Aws
835
838
  }?,
836
839
  string_expression: {
837
840
  evaluate: {
838
- attribute: ("TO" | "FROM" | "CC" | "SUBJECT")?
841
+ attribute: ("TO" | "FROM" | "CC" | "SUBJECT" | "ENVELOPE_TO" | "ENVELOPE_FROM")?
839
842
  },
840
843
  operator: ("CONTAINS"),
841
844
  values: Array[::String]
data/sig/types.rbs CHANGED
@@ -112,7 +112,7 @@ module Aws::MailManager
112
112
  end
113
113
 
114
114
  class ArchiveStringToEvaluate
115
- attr_accessor attribute: ("TO" | "FROM" | "CC" | "SUBJECT")
115
+ attr_accessor attribute: ("TO" | "FROM" | "CC" | "SUBJECT" | "ENVELOPE_TO" | "ENVELOPE_FROM")
116
116
  attr_accessor unknown: untyped
117
117
  SENSITIVE: []
118
118
 
@@ -290,6 +290,13 @@ module Aws::MailManager
290
290
  class DropAction < Aws::EmptyStructure
291
291
  end
292
292
 
293
+ class Envelope
294
+ attr_accessor from: ::String
295
+ attr_accessor helo: ::String
296
+ attr_accessor to: ::Array[::String]
297
+ SENSITIVE: []
298
+ end
299
+
293
300
  class ExportDestinationConfiguration
294
301
  attr_accessor s3: Types::S3ExportDestinationConfiguration
295
302
  attr_accessor unknown: untyped
@@ -372,7 +379,9 @@ module Aws::MailManager
372
379
  end
373
380
 
374
381
  class GetArchiveMessageResponse
382
+ attr_accessor envelope: Types::Envelope
375
383
  attr_accessor message_download_link: ::String
384
+ attr_accessor metadata: Types::Metadata
376
385
  SENSITIVE: []
377
386
  end
378
387
 
@@ -727,6 +736,18 @@ module Aws::MailManager
727
736
  SENSITIVE: []
728
737
  end
729
738
 
739
+ class Metadata
740
+ attr_accessor ingress_point_id: ::String
741
+ attr_accessor rule_set_id: ::String
742
+ attr_accessor sender_hostname: ::String
743
+ attr_accessor sender_ip_address: ::String
744
+ attr_accessor timestamp: ::Time
745
+ attr_accessor tls_cipher_suite: ::String
746
+ attr_accessor tls_protocol: ::String
747
+ attr_accessor traffic_policy_id: ::String
748
+ SENSITIVE: [:sender_ip_address]
749
+ end
750
+
730
751
  class NoAuthentication < Aws::EmptyStructure
731
752
  end
732
753
 
@@ -798,18 +819,22 @@ module Aws::MailManager
798
819
  attr_accessor archived_message_id: ::String
799
820
  attr_accessor cc: ::String
800
821
  attr_accessor date: ::String
822
+ attr_accessor envelope: Types::Envelope
801
823
  attr_accessor from: ::String
802
824
  attr_accessor has_attachments: bool
803
825
  attr_accessor in_reply_to: ::String
826
+ attr_accessor ingress_point_id: ::String
804
827
  attr_accessor message_id: ::String
805
828
  attr_accessor received_headers: ::Array[::String]
806
829
  attr_accessor received_timestamp: ::Time
830
+ attr_accessor sender_hostname: ::String
831
+ attr_accessor sender_ip_address: ::String
807
832
  attr_accessor subject: ::String
808
833
  attr_accessor to: ::String
809
834
  attr_accessor x_mailer: ::String
810
835
  attr_accessor x_original_mailer: ::String
811
836
  attr_accessor x_priority: ::String
812
- SENSITIVE: []
837
+ SENSITIVE: [:sender_ip_address]
813
838
  end
814
839
 
815
840
  class Rule
@@ -1030,6 +1055,7 @@ module Aws::MailManager
1030
1055
  attr_accessor export_destination_configuration: Types::ExportDestinationConfiguration
1031
1056
  attr_accessor filters: Types::ArchiveFilters
1032
1057
  attr_accessor from_timestamp: ::Time
1058
+ attr_accessor include_metadata: bool
1033
1059
  attr_accessor max_results: ::Integer
1034
1060
  attr_accessor to_timestamp: ::Time
1035
1061
  SENSITIVE: []
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-mailmanager
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.12.0
4
+ version: 1.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-24 00:00:00.000000000 Z
11
+ date: 2024-10-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core