aws-sdk-mailmanager 1.16.0 → 1.18.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.
@@ -109,6 +109,55 @@ module Aws::MailManager
109
109
  include Aws::Structure
110
110
  end
111
111
 
112
+ # Filtering options for ListMembersOfAddressList operation.
113
+ #
114
+ # @!attribute [rw] address_prefix
115
+ # Filter to limit the results to addresses having the provided prefix.
116
+ # @return [String]
117
+ #
118
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/AddressFilter AWS API Documentation
119
+ #
120
+ class AddressFilter < Struct.new(
121
+ :address_prefix)
122
+ SENSITIVE = [:address_prefix]
123
+ include Aws::Structure
124
+ end
125
+
126
+ # An address list contains a list of emails and domains that are used in
127
+ # MailManager Ingress endpoints and Rules for email management.
128
+ #
129
+ # @!attribute [rw] address_list_arn
130
+ # The Amazon Resource Name (ARN) of the address list.
131
+ # @return [String]
132
+ #
133
+ # @!attribute [rw] address_list_id
134
+ # The identifier of the address list.
135
+ # @return [String]
136
+ #
137
+ # @!attribute [rw] address_list_name
138
+ # The user-friendly name of the address list.
139
+ # @return [String]
140
+ #
141
+ # @!attribute [rw] created_timestamp
142
+ # The timestamp of when the address list was created.
143
+ # @return [Time]
144
+ #
145
+ # @!attribute [rw] last_updated_timestamp
146
+ # The timestamp of when the address list was last updated.
147
+ # @return [Time]
148
+ #
149
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/AddressList AWS API Documentation
150
+ #
151
+ class AddressList < Struct.new(
152
+ :address_list_arn,
153
+ :address_list_id,
154
+ :address_list_name,
155
+ :created_timestamp,
156
+ :last_updated_timestamp)
157
+ SENSITIVE = []
158
+ include Aws::Structure
159
+ end
160
+
112
161
  # The result of an analysis can be used in conditions to trigger
113
162
  # actions. Analyses can inspect the email content and report a certain
114
163
  # aspect of the email.
@@ -447,6 +496,95 @@ module Aws::MailManager
447
496
  include Aws::Structure
448
497
  end
449
498
 
499
+ # @!attribute [rw] address_list_id
500
+ # The unique identifier of the address list for importing addresses
501
+ # to.
502
+ # @return [String]
503
+ #
504
+ # @!attribute [rw] client_token
505
+ # A unique token that Amazon SES uses to recognize subsequent retries
506
+ # of the same request.
507
+ #
508
+ # **A suitable default value is auto-generated.** You should normally
509
+ # not need to pass this option.
510
+ # @return [String]
511
+ #
512
+ # @!attribute [rw] import_data_format
513
+ # The format of the input for an import job.
514
+ # @return [Types::ImportDataFormat]
515
+ #
516
+ # @!attribute [rw] name
517
+ # A user-friendly name for the import job.
518
+ # @return [String]
519
+ #
520
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/CreateAddressListImportJobRequest AWS API Documentation
521
+ #
522
+ class CreateAddressListImportJobRequest < Struct.new(
523
+ :address_list_id,
524
+ :client_token,
525
+ :import_data_format,
526
+ :name)
527
+ SENSITIVE = []
528
+ include Aws::Structure
529
+ end
530
+
531
+ # @!attribute [rw] job_id
532
+ # The identifier of the created import job.
533
+ # @return [String]
534
+ #
535
+ # @!attribute [rw] pre_signed_url
536
+ # The pre-signed URL target for uploading the input file.
537
+ # @return [String]
538
+ #
539
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/CreateAddressListImportJobResponse AWS API Documentation
540
+ #
541
+ class CreateAddressListImportJobResponse < Struct.new(
542
+ :job_id,
543
+ :pre_signed_url)
544
+ SENSITIVE = [:pre_signed_url]
545
+ include Aws::Structure
546
+ end
547
+
548
+ # @!attribute [rw] address_list_name
549
+ # A user-friendly name for the address list.
550
+ # @return [String]
551
+ #
552
+ # @!attribute [rw] client_token
553
+ # A unique token that Amazon SES uses to recognize subsequent retries
554
+ # of the same request.
555
+ #
556
+ # **A suitable default value is auto-generated.** You should normally
557
+ # not need to pass this option.
558
+ # @return [String]
559
+ #
560
+ # @!attribute [rw] tags
561
+ # The tags used to organize, track, or control access for the
562
+ # resource. For example, \{ "tags": \{"key1":"value1",
563
+ # "key2":"value2"} }.
564
+ # @return [Array<Types::Tag>]
565
+ #
566
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/CreateAddressListRequest AWS API Documentation
567
+ #
568
+ class CreateAddressListRequest < Struct.new(
569
+ :address_list_name,
570
+ :client_token,
571
+ :tags)
572
+ SENSITIVE = []
573
+ include Aws::Structure
574
+ end
575
+
576
+ # @!attribute [rw] address_list_id
577
+ # The identifier of the created address list.
578
+ # @return [String]
579
+ #
580
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/CreateAddressListResponse AWS API Documentation
581
+ #
582
+ class CreateAddressListResponse < Struct.new(
583
+ :address_list_id)
584
+ SENSITIVE = []
585
+ include Aws::Structure
586
+ end
587
+
450
588
  # The request to create a new email archive.
451
589
  #
452
590
  # @!attribute [rw] archive_name
@@ -757,6 +895,22 @@ module Aws::MailManager
757
895
  #
758
896
  class DeleteAddonSubscriptionResponse < Aws::EmptyStructure; end
759
897
 
898
+ # @!attribute [rw] address_list_id
899
+ # The identifier of an existing address list resource to delete.
900
+ # @return [String]
901
+ #
902
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/DeleteAddressListRequest AWS API Documentation
903
+ #
904
+ class DeleteAddressListRequest < Struct.new(
905
+ :address_list_id)
906
+ SENSITIVE = []
907
+ include Aws::Structure
908
+ end
909
+
910
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/DeleteAddressListResponse AWS API Documentation
911
+ #
912
+ class DeleteAddressListResponse < Aws::EmptyStructure; end
913
+
760
914
  # The request to initiate deletion of an email archive.
761
915
  #
762
916
  # @!attribute [rw] archive_id
@@ -913,6 +1067,28 @@ module Aws::MailManager
913
1067
  include Aws::Structure
914
1068
  end
915
1069
 
1070
+ # @!attribute [rw] address
1071
+ # The address to be removed from the address list.
1072
+ # @return [String]
1073
+ #
1074
+ # @!attribute [rw] address_list_id
1075
+ # The unique identifier of the address list to remove the address
1076
+ # from.
1077
+ # @return [String]
1078
+ #
1079
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/DeregisterMemberFromAddressListRequest AWS API Documentation
1080
+ #
1081
+ class DeregisterMemberFromAddressListRequest < Struct.new(
1082
+ :address,
1083
+ :address_list_id)
1084
+ SENSITIVE = [:address]
1085
+ include Aws::Structure
1086
+ end
1087
+
1088
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/DeregisterMemberFromAddressListResponse AWS API Documentation
1089
+ #
1090
+ class DeregisterMemberFromAddressListResponse < Aws::EmptyStructure; end
1091
+
916
1092
  # This action causes processing to stop and the email to be dropped. If
917
1093
  # the action applies only to certain recipients, only those recipients
918
1094
  # are dropped, and processing continues for other recipients.
@@ -1093,6 +1269,132 @@ module Aws::MailManager
1093
1269
  include Aws::Structure
1094
1270
  end
1095
1271
 
1272
+ # @!attribute [rw] job_id
1273
+ # The identifier of the import job that needs to be retrieved.
1274
+ # @return [String]
1275
+ #
1276
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/GetAddressListImportJobRequest AWS API Documentation
1277
+ #
1278
+ class GetAddressListImportJobRequest < Struct.new(
1279
+ :job_id)
1280
+ SENSITIVE = []
1281
+ include Aws::Structure
1282
+ end
1283
+
1284
+ # @!attribute [rw] address_list_id
1285
+ # The unique identifier of the address list the import job was created
1286
+ # for.
1287
+ # @return [String]
1288
+ #
1289
+ # @!attribute [rw] completed_timestamp
1290
+ # The timestamp of when the import job was completed.
1291
+ # @return [Time]
1292
+ #
1293
+ # @!attribute [rw] created_timestamp
1294
+ # The timestamp of when the import job was created.
1295
+ # @return [Time]
1296
+ #
1297
+ # @!attribute [rw] error
1298
+ # The reason for failure of an import job.
1299
+ # @return [String]
1300
+ #
1301
+ # @!attribute [rw] failed_items_count
1302
+ # The number of input addresses that failed to be imported into the
1303
+ # address list.
1304
+ # @return [Integer]
1305
+ #
1306
+ # @!attribute [rw] import_data_format
1307
+ # The format of the input for an import job.
1308
+ # @return [Types::ImportDataFormat]
1309
+ #
1310
+ # @!attribute [rw] imported_items_count
1311
+ # The number of input addresses successfully imported into the address
1312
+ # list.
1313
+ # @return [Integer]
1314
+ #
1315
+ # @!attribute [rw] job_id
1316
+ # The identifier of the import job.
1317
+ # @return [String]
1318
+ #
1319
+ # @!attribute [rw] name
1320
+ # A user-friendly name for the import job.
1321
+ # @return [String]
1322
+ #
1323
+ # @!attribute [rw] pre_signed_url
1324
+ # The pre-signed URL target for uploading the input file.
1325
+ # @return [String]
1326
+ #
1327
+ # @!attribute [rw] start_timestamp
1328
+ # The timestamp of when the import job was started.
1329
+ # @return [Time]
1330
+ #
1331
+ # @!attribute [rw] status
1332
+ # The status of the import job.
1333
+ # @return [String]
1334
+ #
1335
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/GetAddressListImportJobResponse AWS API Documentation
1336
+ #
1337
+ class GetAddressListImportJobResponse < Struct.new(
1338
+ :address_list_id,
1339
+ :completed_timestamp,
1340
+ :created_timestamp,
1341
+ :error,
1342
+ :failed_items_count,
1343
+ :import_data_format,
1344
+ :imported_items_count,
1345
+ :job_id,
1346
+ :name,
1347
+ :pre_signed_url,
1348
+ :start_timestamp,
1349
+ :status)
1350
+ SENSITIVE = [:pre_signed_url]
1351
+ include Aws::Structure
1352
+ end
1353
+
1354
+ # @!attribute [rw] address_list_id
1355
+ # The identifier of an existing address list resource to be retrieved.
1356
+ # @return [String]
1357
+ #
1358
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/GetAddressListRequest AWS API Documentation
1359
+ #
1360
+ class GetAddressListRequest < Struct.new(
1361
+ :address_list_id)
1362
+ SENSITIVE = []
1363
+ include Aws::Structure
1364
+ end
1365
+
1366
+ # @!attribute [rw] address_list_arn
1367
+ # The Amazon Resource Name (ARN) of the address list resource.
1368
+ # @return [String]
1369
+ #
1370
+ # @!attribute [rw] address_list_id
1371
+ # The identifier of the address list resource.
1372
+ # @return [String]
1373
+ #
1374
+ # @!attribute [rw] address_list_name
1375
+ # A user-friendly name for the address list resource.
1376
+ # @return [String]
1377
+ #
1378
+ # @!attribute [rw] created_timestamp
1379
+ # The date of when then address list was created.
1380
+ # @return [Time]
1381
+ #
1382
+ # @!attribute [rw] last_updated_timestamp
1383
+ # The date of when the address list was last updated.
1384
+ # @return [Time]
1385
+ #
1386
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/GetAddressListResponse AWS API Documentation
1387
+ #
1388
+ class GetAddressListResponse < Struct.new(
1389
+ :address_list_arn,
1390
+ :address_list_id,
1391
+ :address_list_name,
1392
+ :created_timestamp,
1393
+ :last_updated_timestamp)
1394
+ SENSITIVE = []
1395
+ include Aws::Structure
1396
+ end
1397
+
1096
1398
  # The request to retrieve details of a specific archive export job.
1097
1399
  #
1098
1400
  # @!attribute [rw] export_id
@@ -1451,6 +1753,41 @@ module Aws::MailManager
1451
1753
  include Aws::Structure
1452
1754
  end
1453
1755
 
1756
+ # @!attribute [rw] address
1757
+ # The address to be retrieved from the address list.
1758
+ # @return [String]
1759
+ #
1760
+ # @!attribute [rw] address_list_id
1761
+ # The unique identifier of the address list to retrieve the address
1762
+ # from.
1763
+ # @return [String]
1764
+ #
1765
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/GetMemberOfAddressListRequest AWS API Documentation
1766
+ #
1767
+ class GetMemberOfAddressListRequest < Struct.new(
1768
+ :address,
1769
+ :address_list_id)
1770
+ SENSITIVE = [:address]
1771
+ include Aws::Structure
1772
+ end
1773
+
1774
+ # @!attribute [rw] address
1775
+ # The address retrieved from the address list.
1776
+ # @return [String]
1777
+ #
1778
+ # @!attribute [rw] created_timestamp
1779
+ # The timestamp of when the address was created.
1780
+ # @return [Time]
1781
+ #
1782
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/GetMemberOfAddressListResponse AWS API Documentation
1783
+ #
1784
+ class GetMemberOfAddressListResponse < Struct.new(
1785
+ :address,
1786
+ :created_timestamp)
1787
+ SENSITIVE = [:address]
1788
+ include Aws::Structure
1789
+ end
1790
+
1454
1791
  # @!attribute [rw] relay_id
1455
1792
  # A unique relay identifier.
1456
1793
  # @return [String]
@@ -1620,6 +1957,94 @@ module Aws::MailManager
1620
1957
  include Aws::Structure
1621
1958
  end
1622
1959
 
1960
+ # The import data format contains the specifications of the input file
1961
+ # that would be passed to the address list import job.
1962
+ #
1963
+ # @!attribute [rw] import_data_type
1964
+ # The type of file that would be passed as an input for the address
1965
+ # list import job.
1966
+ # @return [String]
1967
+ #
1968
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/ImportDataFormat AWS API Documentation
1969
+ #
1970
+ class ImportDataFormat < Struct.new(
1971
+ :import_data_type)
1972
+ SENSITIVE = []
1973
+ include Aws::Structure
1974
+ end
1975
+
1976
+ # Details about an import job.
1977
+ #
1978
+ # @!attribute [rw] address_list_id
1979
+ # The unique identifier of the address list the import job was created
1980
+ # for.
1981
+ # @return [String]
1982
+ #
1983
+ # @!attribute [rw] completed_timestamp
1984
+ # The timestamp of when the import job was completed.
1985
+ # @return [Time]
1986
+ #
1987
+ # @!attribute [rw] created_timestamp
1988
+ # The timestamp of when the import job was created.
1989
+ # @return [Time]
1990
+ #
1991
+ # @!attribute [rw] error
1992
+ # The reason for failure of an import job.
1993
+ # @return [String]
1994
+ #
1995
+ # @!attribute [rw] failed_items_count
1996
+ # The number of addresses in the input that failed to get imported
1997
+ # into address list.
1998
+ # @return [Integer]
1999
+ #
2000
+ # @!attribute [rw] import_data_format
2001
+ # The format of the input for the import job.
2002
+ # @return [Types::ImportDataFormat]
2003
+ #
2004
+ # @!attribute [rw] imported_items_count
2005
+ # The number of addresses in the input that were successfully imported
2006
+ # into the address list.
2007
+ # @return [Integer]
2008
+ #
2009
+ # @!attribute [rw] job_id
2010
+ # The identifier of the import job.
2011
+ # @return [String]
2012
+ #
2013
+ # @!attribute [rw] name
2014
+ # A user-friendly name for the import job.
2015
+ # @return [String]
2016
+ #
2017
+ # @!attribute [rw] pre_signed_url
2018
+ # The pre-signed URL target for uploading the input file.
2019
+ # @return [String]
2020
+ #
2021
+ # @!attribute [rw] start_timestamp
2022
+ # The timestamp of when the import job was started.
2023
+ # @return [Time]
2024
+ #
2025
+ # @!attribute [rw] status
2026
+ # The status of the import job.
2027
+ # @return [String]
2028
+ #
2029
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/ImportJob AWS API Documentation
2030
+ #
2031
+ class ImportJob < Struct.new(
2032
+ :address_list_id,
2033
+ :completed_timestamp,
2034
+ :created_timestamp,
2035
+ :error,
2036
+ :failed_items_count,
2037
+ :import_data_format,
2038
+ :imported_items_count,
2039
+ :job_id,
2040
+ :name,
2041
+ :pre_signed_url,
2042
+ :start_timestamp,
2043
+ :status)
2044
+ SENSITIVE = [:pre_signed_url]
2045
+ include Aws::Structure
2046
+ end
2047
+
1623
2048
  # The Add On ARN and its returned value that is evaluated in a policy
1624
2049
  # statement's conditional expression to either deny or block the
1625
2050
  # incoming email.
@@ -1672,16 +2097,23 @@ module Aws::MailManager
1672
2097
  # and its returned value.
1673
2098
  # @return [Types::IngressAnalysis]
1674
2099
  #
2100
+ # @!attribute [rw] is_in_address_list
2101
+ # The structure type for a boolean condition that provides the address
2102
+ # lists to evaluate incoming traffic on.
2103
+ # @return [Types::IngressIsInAddressList]
2104
+ #
1675
2105
  # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/IngressBooleanToEvaluate AWS API Documentation
1676
2106
  #
1677
2107
  class IngressBooleanToEvaluate < Struct.new(
1678
2108
  :analysis,
2109
+ :is_in_address_list,
1679
2110
  :unknown)
1680
2111
  SENSITIVE = []
1681
2112
  include Aws::Structure
1682
2113
  include Aws::Structure::Union
1683
2114
 
1684
2115
  class Analysis < IngressBooleanToEvaluate; end
2116
+ class IsInAddressList < IngressBooleanToEvaluate; end
1685
2117
  class Unknown < IngressBooleanToEvaluate; end
1686
2118
  end
1687
2119
 
@@ -1734,6 +2166,28 @@ module Aws::MailManager
1734
2166
  include Aws::Structure
1735
2167
  end
1736
2168
 
2169
+ # The address lists and the address list attribute value that is
2170
+ # evaluated in a policy statement's conditional expression to either
2171
+ # deny or block the incoming email.
2172
+ #
2173
+ # @!attribute [rw] address_lists
2174
+ # The address lists that will be used for evaluation.
2175
+ # @return [Array<String>]
2176
+ #
2177
+ # @!attribute [rw] attribute
2178
+ # The email attribute that needs to be evaluated against the address
2179
+ # list.
2180
+ # @return [String]
2181
+ #
2182
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/IngressIsInAddressList AWS API Documentation
2183
+ #
2184
+ class IngressIsInAddressList < Struct.new(
2185
+ :address_lists,
2186
+ :attribute)
2187
+ SENSITIVE = []
2188
+ include Aws::Structure
2189
+ end
2190
+
1737
2191
  # The structure of an ingress endpoint resource.
1738
2192
  #
1739
2193
  # @!attribute [rw] a_record
@@ -2022,6 +2476,90 @@ module Aws::MailManager
2022
2476
  include Aws::Structure
2023
2477
  end
2024
2478
 
2479
+ # @!attribute [rw] address_list_id
2480
+ # The unique identifier of the address list for listing import jobs.
2481
+ # @return [String]
2482
+ #
2483
+ # @!attribute [rw] next_token
2484
+ # If you received a pagination token from a previous call to this API,
2485
+ # you can provide it here to continue paginating through the next page
2486
+ # of results.
2487
+ # @return [String]
2488
+ #
2489
+ # @!attribute [rw] page_size
2490
+ # The maximum number of import jobs that are returned per call. You
2491
+ # can use NextToken to retrieve the next page of jobs.
2492
+ # @return [Integer]
2493
+ #
2494
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/ListAddressListImportJobsRequest AWS API Documentation
2495
+ #
2496
+ class ListAddressListImportJobsRequest < Struct.new(
2497
+ :address_list_id,
2498
+ :next_token,
2499
+ :page_size)
2500
+ SENSITIVE = []
2501
+ include Aws::Structure
2502
+ end
2503
+
2504
+ # @!attribute [rw] import_jobs
2505
+ # The list of import jobs.
2506
+ # @return [Array<Types::ImportJob>]
2507
+ #
2508
+ # @!attribute [rw] next_token
2509
+ # If NextToken is returned, there are more results available. The
2510
+ # value of NextToken is a unique pagination token for each page. Make
2511
+ # the call again using the returned token to retrieve the next page.
2512
+ # @return [String]
2513
+ #
2514
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/ListAddressListImportJobsResponse AWS API Documentation
2515
+ #
2516
+ class ListAddressListImportJobsResponse < Struct.new(
2517
+ :import_jobs,
2518
+ :next_token)
2519
+ SENSITIVE = []
2520
+ include Aws::Structure
2521
+ end
2522
+
2523
+ # @!attribute [rw] next_token
2524
+ # If you received a pagination token from a previous call to this API,
2525
+ # you can provide it here to continue paginating through the next page
2526
+ # of results.
2527
+ # @return [String]
2528
+ #
2529
+ # @!attribute [rw] page_size
2530
+ # The maximum number of address list resources that are returned per
2531
+ # call. You can use NextToken to retrieve the next page of address
2532
+ # lists.
2533
+ # @return [Integer]
2534
+ #
2535
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/ListAddressListsRequest AWS API Documentation
2536
+ #
2537
+ class ListAddressListsRequest < Struct.new(
2538
+ :next_token,
2539
+ :page_size)
2540
+ SENSITIVE = []
2541
+ include Aws::Structure
2542
+ end
2543
+
2544
+ # @!attribute [rw] address_lists
2545
+ # The list of address lists.
2546
+ # @return [Array<Types::AddressList>]
2547
+ #
2548
+ # @!attribute [rw] next_token
2549
+ # If NextToken is returned, there are more results available. The
2550
+ # value of NextToken is a unique pagination token for each page. Make
2551
+ # the call again using the returned token to retrieve the next page.
2552
+ # @return [String]
2553
+ #
2554
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/ListAddressListsResponse AWS API Documentation
2555
+ #
2556
+ class ListAddressListsResponse < Struct.new(
2557
+ :address_lists,
2558
+ :next_token)
2559
+ SENSITIVE = []
2560
+ include Aws::Structure
2561
+ end
2562
+
2025
2563
  # The request to list archive export jobs in your account.
2026
2564
  #
2027
2565
  # @!attribute [rw] archive_id
@@ -2196,6 +2734,56 @@ module Aws::MailManager
2196
2734
  include Aws::Structure
2197
2735
  end
2198
2736
 
2737
+ # @!attribute [rw] address_list_id
2738
+ # The unique identifier of the address list to list the addresses
2739
+ # from.
2740
+ # @return [String]
2741
+ #
2742
+ # @!attribute [rw] filter
2743
+ # Filter to be used to limit the results.
2744
+ # @return [Types::AddressFilter]
2745
+ #
2746
+ # @!attribute [rw] next_token
2747
+ # If you received a pagination token from a previous call to this API,
2748
+ # you can provide it here to continue paginating through the next page
2749
+ # of results.
2750
+ # @return [String]
2751
+ #
2752
+ # @!attribute [rw] page_size
2753
+ # The maximum number of address list members that are returned per
2754
+ # call. You can use NextToken to retrieve the next page of members.
2755
+ # @return [Integer]
2756
+ #
2757
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/ListMembersOfAddressListRequest AWS API Documentation
2758
+ #
2759
+ class ListMembersOfAddressListRequest < Struct.new(
2760
+ :address_list_id,
2761
+ :filter,
2762
+ :next_token,
2763
+ :page_size)
2764
+ SENSITIVE = []
2765
+ include Aws::Structure
2766
+ end
2767
+
2768
+ # @!attribute [rw] addresses
2769
+ # The list of addresses.
2770
+ # @return [Array<Types::SavedAddress>]
2771
+ #
2772
+ # @!attribute [rw] next_token
2773
+ # If NextToken is returned, there are more results available. The
2774
+ # value of NextToken is a unique pagination token for each page. Make
2775
+ # the call again using the returned token to retrieve the next page.
2776
+ # @return [String]
2777
+ #
2778
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/ListMembersOfAddressListResponse AWS API Documentation
2779
+ #
2780
+ class ListMembersOfAddressListResponse < Struct.new(
2781
+ :addresses,
2782
+ :next_token)
2783
+ SENSITIVE = []
2784
+ include Aws::Structure
2785
+ end
2786
+
2199
2787
  # @!attribute [rw] next_token
2200
2788
  # If you received a pagination token from a previous call to this API,
2201
2789
  # you can provide it here to continue paginating through the next page
@@ -2495,6 +3083,28 @@ module Aws::MailManager
2495
3083
  include Aws::Structure
2496
3084
  end
2497
3085
 
3086
+ # @!attribute [rw] address
3087
+ # The address to be added to the address list.
3088
+ # @return [String]
3089
+ #
3090
+ # @!attribute [rw] address_list_id
3091
+ # The unique identifier of the address list where the address should
3092
+ # be added.
3093
+ # @return [String]
3094
+ #
3095
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/RegisterMemberToAddressListRequest AWS API Documentation
3096
+ #
3097
+ class RegisterMemberToAddressListRequest < Struct.new(
3098
+ :address,
3099
+ :address_list_id)
3100
+ SENSITIVE = [:address]
3101
+ include Aws::Structure
3102
+ end
3103
+
3104
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/RegisterMemberToAddressListResponse AWS API Documentation
3105
+ #
3106
+ class RegisterMemberToAddressListResponse < Aws::EmptyStructure; end
3107
+
2498
3108
  # The relay resource that can be used as a rule to relay receiving
2499
3109
  # emails to the destination relay server.
2500
3110
  #
@@ -2861,16 +3471,23 @@ module Aws::MailManager
2861
3471
  # email.
2862
3472
  # @return [String]
2863
3473
  #
3474
+ # @!attribute [rw] is_in_address_list
3475
+ # The structure representing the address lists and address list
3476
+ # attribute that will be used in evaluation of boolean expression.
3477
+ # @return [Types::RuleIsInAddressList]
3478
+ #
2864
3479
  # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/RuleBooleanToEvaluate AWS API Documentation
2865
3480
  #
2866
3481
  class RuleBooleanToEvaluate < Struct.new(
2867
3482
  :attribute,
3483
+ :is_in_address_list,
2868
3484
  :unknown)
2869
3485
  SENSITIVE = []
2870
3486
  include Aws::Structure
2871
3487
  include Aws::Structure::Union
2872
3488
 
2873
3489
  class Attribute < RuleBooleanToEvaluate; end
3490
+ class IsInAddressList < RuleBooleanToEvaluate; end
2874
3491
  class Unknown < RuleBooleanToEvaluate; end
2875
3492
  end
2876
3493
 
@@ -3010,6 +3627,27 @@ module Aws::MailManager
3010
3627
  class Unknown < RuleIpToEvaluate; end
3011
3628
  end
3012
3629
 
3630
+ # The structure type for a boolean condition that provides the address
3631
+ # lists and address list attribute to evaluate.
3632
+ #
3633
+ # @!attribute [rw] address_lists
3634
+ # The address lists that will be used for evaluation.
3635
+ # @return [Array<String>]
3636
+ #
3637
+ # @!attribute [rw] attribute
3638
+ # The email attribute that needs to be evaluated against the address
3639
+ # list.
3640
+ # @return [String]
3641
+ #
3642
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/RuleIsInAddressList AWS API Documentation
3643
+ #
3644
+ class RuleIsInAddressList < Struct.new(
3645
+ :address_lists,
3646
+ :attribute)
3647
+ SENSITIVE = []
3648
+ include Aws::Structure
3649
+ end
3650
+
3013
3651
  # A number expression to match numeric conditions with integers from the
3014
3652
  # incoming email.
3015
3653
  #
@@ -3256,6 +3894,25 @@ module Aws::MailManager
3256
3894
  include Aws::Structure
3257
3895
  end
3258
3896
 
3897
+ # An address that is a member of an address list.
3898
+ #
3899
+ # @!attribute [rw] address
3900
+ # The email or domain that constitutes the address.
3901
+ # @return [String]
3902
+ #
3903
+ # @!attribute [rw] created_timestamp
3904
+ # The timestamp of when the address was added to the address list.
3905
+ # @return [Time]
3906
+ #
3907
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/SavedAddress AWS API Documentation
3908
+ #
3909
+ class SavedAddress < Struct.new(
3910
+ :address,
3911
+ :created_timestamp)
3912
+ SENSITIVE = [:address]
3913
+ include Aws::Structure
3914
+ end
3915
+
3259
3916
  # The current status of an archive search job.
3260
3917
  #
3261
3918
  # @!attribute [rw] completion_timestamp
@@ -3339,6 +3996,22 @@ module Aws::MailManager
3339
3996
  include Aws::Structure
3340
3997
  end
3341
3998
 
3999
+ # @!attribute [rw] job_id
4000
+ # The identifier of the import job that needs to be started.
4001
+ # @return [String]
4002
+ #
4003
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/StartAddressListImportJobRequest AWS API Documentation
4004
+ #
4005
+ class StartAddressListImportJobRequest < Struct.new(
4006
+ :job_id)
4007
+ SENSITIVE = []
4008
+ include Aws::Structure
4009
+ end
4010
+
4011
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/StartAddressListImportJobResponse AWS API Documentation
4012
+ #
4013
+ class StartAddressListImportJobResponse < Aws::EmptyStructure; end
4014
+
3342
4015
  # The request to initiate an export of emails from an archive.
3343
4016
  #
3344
4017
  # @!attribute [rw] archive_id
@@ -3445,6 +4118,22 @@ module Aws::MailManager
3445
4118
  include Aws::Structure
3446
4119
  end
3447
4120
 
4121
+ # @!attribute [rw] job_id
4122
+ # The identifier of the import job that needs to be stopped.
4123
+ # @return [String]
4124
+ #
4125
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/StopAddressListImportJobRequest AWS API Documentation
4126
+ #
4127
+ class StopAddressListImportJobRequest < Struct.new(
4128
+ :job_id)
4129
+ SENSITIVE = []
4130
+ include Aws::Structure
4131
+ end
4132
+
4133
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/StopAddressListImportJobResponse AWS API Documentation
4134
+ #
4135
+ class StopAddressListImportJobResponse < Aws::EmptyStructure; end
4136
+
3448
4137
  # The request to stop an in-progress archive export job.
3449
4138
  #
3450
4139
  # @!attribute [rw] export_id
@@ -3509,7 +4198,7 @@ module Aws::MailManager
3509
4198
  class Tag < Struct.new(
3510
4199
  :key,
3511
4200
  :value)
3512
- SENSITIVE = [:key, :value]
4201
+ SENSITIVE = []
3513
4202
  include Aws::Structure
3514
4203
  end
3515
4204
 
@@ -3592,7 +4281,7 @@ module Aws::MailManager
3592
4281
  class UntagResourceRequest < Struct.new(
3593
4282
  :resource_arn,
3594
4283
  :tag_keys)
3595
- SENSITIVE = [:tag_keys]
4284
+ SENSITIVE = []
3596
4285
  include Aws::Structure
3597
4286
  end
3598
4287