@aws-sdk/client-mailmanager 3.734.0 → 3.741.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.
Files changed (110) hide show
  1. package/README.md +104 -0
  2. package/dist-cjs/MailManager.js +26 -0
  3. package/dist-cjs/commands/CreateAddonInstanceCommand.js +1 -2
  4. package/dist-cjs/commands/CreateAddonSubscriptionCommand.js +1 -2
  5. package/dist-cjs/commands/CreateAddressListCommand.js +26 -0
  6. package/dist-cjs/commands/CreateAddressListImportJobCommand.js +27 -0
  7. package/dist-cjs/commands/CreateArchiveCommand.js +1 -2
  8. package/dist-cjs/commands/CreateRelayCommand.js +1 -2
  9. package/dist-cjs/commands/CreateTrafficPolicyCommand.js +1 -2
  10. package/dist-cjs/commands/DeleteAddressListCommand.js +26 -0
  11. package/dist-cjs/commands/DeregisterMemberFromAddressListCommand.js +27 -0
  12. package/dist-cjs/commands/GetAddressListCommand.js +26 -0
  13. package/dist-cjs/commands/GetAddressListImportJobCommand.js +27 -0
  14. package/dist-cjs/commands/GetMemberOfAddressListCommand.js +27 -0
  15. package/dist-cjs/commands/ListAddressListImportJobsCommand.js +27 -0
  16. package/dist-cjs/commands/ListAddressListsCommand.js +26 -0
  17. package/dist-cjs/commands/ListMembersOfAddressListCommand.js +27 -0
  18. package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -2
  19. package/dist-cjs/commands/RegisterMemberToAddressListCommand.js +27 -0
  20. package/dist-cjs/commands/StartAddressListImportJobCommand.js +26 -0
  21. package/dist-cjs/commands/StopAddressListImportJobCommand.js +26 -0
  22. package/dist-cjs/commands/TagResourceCommand.js +1 -2
  23. package/dist-cjs/commands/UntagResourceCommand.js +1 -2
  24. package/dist-cjs/commands/index.js +13 -0
  25. package/dist-cjs/models/models_0.js +94 -59
  26. package/dist-cjs/pagination/ListAddressListImportJobsPaginator.js +7 -0
  27. package/dist-cjs/pagination/ListAddressListsPaginator.js +7 -0
  28. package/dist-cjs/pagination/ListMembersOfAddressListPaginator.js +7 -0
  29. package/dist-cjs/pagination/index.js +3 -0
  30. package/dist-cjs/protocols/Aws_json1_0.js +395 -2
  31. package/dist-es/MailManager.js +26 -0
  32. package/dist-es/commands/CreateAddonInstanceCommand.js +1 -2
  33. package/dist-es/commands/CreateAddonSubscriptionCommand.js +1 -2
  34. package/dist-es/commands/CreateAddressListCommand.js +22 -0
  35. package/dist-es/commands/CreateAddressListImportJobCommand.js +23 -0
  36. package/dist-es/commands/CreateArchiveCommand.js +1 -2
  37. package/dist-es/commands/CreateRelayCommand.js +1 -2
  38. package/dist-es/commands/CreateTrafficPolicyCommand.js +1 -2
  39. package/dist-es/commands/DeleteAddressListCommand.js +22 -0
  40. package/dist-es/commands/DeregisterMemberFromAddressListCommand.js +23 -0
  41. package/dist-es/commands/GetAddressListCommand.js +22 -0
  42. package/dist-es/commands/GetAddressListImportJobCommand.js +23 -0
  43. package/dist-es/commands/GetMemberOfAddressListCommand.js +23 -0
  44. package/dist-es/commands/ListAddressListImportJobsCommand.js +23 -0
  45. package/dist-es/commands/ListAddressListsCommand.js +22 -0
  46. package/dist-es/commands/ListMembersOfAddressListCommand.js +23 -0
  47. package/dist-es/commands/ListTagsForResourceCommand.js +1 -2
  48. package/dist-es/commands/RegisterMemberToAddressListCommand.js +23 -0
  49. package/dist-es/commands/StartAddressListImportJobCommand.js +22 -0
  50. package/dist-es/commands/StopAddressListImportJobCommand.js +22 -0
  51. package/dist-es/commands/TagResourceCommand.js +1 -2
  52. package/dist-es/commands/UntagResourceCommand.js +1 -2
  53. package/dist-es/commands/index.js +13 -0
  54. package/dist-es/models/models_0.js +78 -46
  55. package/dist-es/pagination/ListAddressListImportJobsPaginator.js +4 -0
  56. package/dist-es/pagination/ListAddressListsPaginator.js +4 -0
  57. package/dist-es/pagination/ListMembersOfAddressListPaginator.js +4 -0
  58. package/dist-es/pagination/index.js +3 -0
  59. package/dist-es/protocols/Aws_json1_0.js +366 -0
  60. package/dist-types/MailManager.d.ts +92 -0
  61. package/dist-types/MailManagerClient.d.ts +15 -2
  62. package/dist-types/commands/CreateAddressListCommand.d.ts +93 -0
  63. package/dist-types/commands/CreateAddressListImportJobCommand.d.ts +89 -0
  64. package/dist-types/commands/CreateRuleSetCommand.d.ts +12 -0
  65. package/dist-types/commands/CreateTrafficPolicyCommand.d.ts +6 -0
  66. package/dist-types/commands/DeleteAddressListCommand.d.ts +78 -0
  67. package/dist-types/commands/DeregisterMemberFromAddressListCommand.d.ts +82 -0
  68. package/dist-types/commands/GetAddressListCommand.d.ts +87 -0
  69. package/dist-types/commands/GetAddressListImportJobCommand.d.ts +96 -0
  70. package/dist-types/commands/GetMemberOfAddressListCommand.d.ts +85 -0
  71. package/dist-types/commands/GetRuleSetCommand.d.ts +12 -0
  72. package/dist-types/commands/GetTrafficPolicyCommand.d.ts +6 -0
  73. package/dist-types/commands/ListAddressListImportJobsCommand.d.ts +103 -0
  74. package/dist-types/commands/ListAddressListsCommand.d.ts +90 -0
  75. package/dist-types/commands/ListMembersOfAddressListCommand.d.ts +94 -0
  76. package/dist-types/commands/RegisterMemberToAddressListCommand.d.ts +85 -0
  77. package/dist-types/commands/StartAddressListImportJobCommand.d.ts +87 -0
  78. package/dist-types/commands/StopAddressListImportJobCommand.d.ts +84 -0
  79. package/dist-types/commands/UpdateRuleSetCommand.d.ts +12 -0
  80. package/dist-types/commands/UpdateTrafficPolicyCommand.d.ts +6 -0
  81. package/dist-types/commands/index.d.ts +13 -0
  82. package/dist-types/models/models_0.d.ts +702 -34
  83. package/dist-types/pagination/ListAddressListImportJobsPaginator.d.ts +7 -0
  84. package/dist-types/pagination/ListAddressListsPaginator.d.ts +7 -0
  85. package/dist-types/pagination/ListMembersOfAddressListPaginator.d.ts +7 -0
  86. package/dist-types/pagination/index.d.ts +3 -0
  87. package/dist-types/protocols/Aws_json1_0.d.ts +117 -0
  88. package/dist-types/ts3.4/MailManager.d.ts +222 -0
  89. package/dist-types/ts3.4/MailManagerClient.d.ts +78 -0
  90. package/dist-types/ts3.4/commands/CreateAddressListCommand.d.ts +51 -0
  91. package/dist-types/ts3.4/commands/CreateAddressListImportJobCommand.d.ts +51 -0
  92. package/dist-types/ts3.4/commands/DeleteAddressListCommand.d.ts +51 -0
  93. package/dist-types/ts3.4/commands/DeregisterMemberFromAddressListCommand.d.ts +51 -0
  94. package/dist-types/ts3.4/commands/GetAddressListCommand.d.ts +50 -0
  95. package/dist-types/ts3.4/commands/GetAddressListImportJobCommand.d.ts +51 -0
  96. package/dist-types/ts3.4/commands/GetMemberOfAddressListCommand.d.ts +51 -0
  97. package/dist-types/ts3.4/commands/ListAddressListImportJobsCommand.d.ts +51 -0
  98. package/dist-types/ts3.4/commands/ListAddressListsCommand.d.ts +50 -0
  99. package/dist-types/ts3.4/commands/ListMembersOfAddressListCommand.d.ts +51 -0
  100. package/dist-types/ts3.4/commands/RegisterMemberToAddressListCommand.d.ts +51 -0
  101. package/dist-types/ts3.4/commands/StartAddressListImportJobCommand.d.ts +51 -0
  102. package/dist-types/ts3.4/commands/StopAddressListImportJobCommand.d.ts +51 -0
  103. package/dist-types/ts3.4/commands/index.d.ts +13 -0
  104. package/dist-types/ts3.4/models/models_0.d.ts +225 -29
  105. package/dist-types/ts3.4/pagination/ListAddressListImportJobsPaginator.d.ts +11 -0
  106. package/dist-types/ts3.4/pagination/ListAddressListsPaginator.d.ts +11 -0
  107. package/dist-types/ts3.4/pagination/ListMembersOfAddressListPaginator.d.ts +11 -0
  108. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  109. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +156 -0
  110. package/package.json +2 -2
@@ -403,6 +403,178 @@ export interface ListAddonSubscriptionsResponse {
403
403
  */
404
404
  NextToken?: string | undefined;
405
405
  }
406
+ /**
407
+ * <p>Filtering options for ListMembersOfAddressList operation.</p>
408
+ * @public
409
+ */
410
+ export interface AddressFilter {
411
+ /**
412
+ * <p>Filter to limit the results to addresses having the provided prefix.</p>
413
+ * @public
414
+ */
415
+ AddressPrefix?: string | undefined;
416
+ }
417
+ /**
418
+ * <p>An address list contains a list of emails and domains that are used in MailManager Ingress endpoints and Rules for email management.</p>
419
+ * @public
420
+ */
421
+ export interface AddressList {
422
+ /**
423
+ * <p>The identifier of the address list.</p>
424
+ * @public
425
+ */
426
+ AddressListId: string | undefined;
427
+ /**
428
+ * <p>The Amazon Resource Name (ARN) of the address list.</p>
429
+ * @public
430
+ */
431
+ AddressListArn: string | undefined;
432
+ /**
433
+ * <p>The user-friendly name of the address list.</p>
434
+ * @public
435
+ */
436
+ AddressListName: string | undefined;
437
+ /**
438
+ * <p>The timestamp of when the address list was created.</p>
439
+ * @public
440
+ */
441
+ CreatedTimestamp: Date | undefined;
442
+ /**
443
+ * <p>The timestamp of when the address list was last updated.</p>
444
+ * @public
445
+ */
446
+ LastUpdatedTimestamp: Date | undefined;
447
+ }
448
+ /**
449
+ * @public
450
+ */
451
+ export interface CreateAddressListRequest {
452
+ /**
453
+ * <p>A unique token that Amazon SES uses to recognize subsequent retries of the same
454
+ * request.</p>
455
+ * @public
456
+ */
457
+ ClientToken?: string | undefined;
458
+ /**
459
+ * <p>A user-friendly name for the address list.</p>
460
+ * @public
461
+ */
462
+ AddressListName: string | undefined;
463
+ /**
464
+ * <p>The tags used to organize, track, or control access for the resource. For example, \{ "tags": \{"key1":"value1", "key2":"value2"\} \}.</p>
465
+ * @public
466
+ */
467
+ Tags?: Tag[] | undefined;
468
+ }
469
+ /**
470
+ * @public
471
+ */
472
+ export interface CreateAddressListResponse {
473
+ /**
474
+ * <p>The identifier of the created address list.</p>
475
+ * @public
476
+ */
477
+ AddressListId: string | undefined;
478
+ }
479
+ /**
480
+ * <p>Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.</p>
481
+ * @public
482
+ */
483
+ export declare class ThrottlingException extends __BaseException {
484
+ readonly name: "ThrottlingException";
485
+ readonly $fault: "client";
486
+ Message?: string | undefined;
487
+ /**
488
+ * @internal
489
+ */
490
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
491
+ }
492
+ /**
493
+ * @public
494
+ */
495
+ export interface DeleteAddressListRequest {
496
+ /**
497
+ * <p>The identifier of an existing address list resource to delete.</p>
498
+ * @public
499
+ */
500
+ AddressListId: string | undefined;
501
+ }
502
+ /**
503
+ * @public
504
+ */
505
+ export interface DeleteAddressListResponse {
506
+ }
507
+ /**
508
+ * @public
509
+ */
510
+ export interface GetAddressListRequest {
511
+ /**
512
+ * <p>The identifier of an existing address list resource to be retrieved.</p>
513
+ * @public
514
+ */
515
+ AddressListId: string | undefined;
516
+ }
517
+ /**
518
+ * @public
519
+ */
520
+ export interface GetAddressListResponse {
521
+ /**
522
+ * <p>The identifier of the address list resource.</p>
523
+ * @public
524
+ */
525
+ AddressListId: string | undefined;
526
+ /**
527
+ * <p>The Amazon Resource Name (ARN) of the address list resource.</p>
528
+ * @public
529
+ */
530
+ AddressListArn: string | undefined;
531
+ /**
532
+ * <p>A user-friendly name for the address list resource.</p>
533
+ * @public
534
+ */
535
+ AddressListName: string | undefined;
536
+ /**
537
+ * <p>The date of when then address list was created.</p>
538
+ * @public
539
+ */
540
+ CreatedTimestamp: Date | undefined;
541
+ /**
542
+ * <p>The date of when the address list was last updated.</p>
543
+ * @public
544
+ */
545
+ LastUpdatedTimestamp: Date | undefined;
546
+ }
547
+ /**
548
+ * @public
549
+ */
550
+ export interface ListAddressListsRequest {
551
+ /**
552
+ * <p>If you received a pagination token from a previous call to this API, you can provide it here to continue paginating through the next page of results.</p>
553
+ * @public
554
+ */
555
+ NextToken?: string | undefined;
556
+ /**
557
+ * <p>The maximum number of address list resources that are returned per call. You can use
558
+ * NextToken to retrieve the next page of address lists.</p>
559
+ * @public
560
+ */
561
+ PageSize?: number | undefined;
562
+ }
563
+ /**
564
+ * @public
565
+ */
566
+ export interface ListAddressListsResponse {
567
+ /**
568
+ * <p>The list of address lists.</p>
569
+ * @public
570
+ */
571
+ AddressLists: AddressList[] | undefined;
572
+ /**
573
+ * <p>If NextToken is returned, there are more results available. The value of NextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.</p>
574
+ * @public
575
+ */
576
+ NextToken?: string | undefined;
577
+ }
406
578
  /**
407
579
  * <p>The result of an analysis can be used in conditions to trigger actions. Analyses can
408
580
  * inspect the email content and report a certain aspect of the email.</p>
@@ -791,19 +963,6 @@ export interface CreateArchiveResponse {
791
963
  */
792
964
  ArchiveId: string | undefined;
793
965
  }
794
- /**
795
- * <p>Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.</p>
796
- * @public
797
- */
798
- export declare class ThrottlingException extends __BaseException {
799
- readonly name: "ThrottlingException";
800
- readonly $fault: "client";
801
- Message?: string | undefined;
802
- /**
803
- * @internal
804
- */
805
- constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
806
- }
807
966
  /**
808
967
  * <p>The request to initiate deletion of an email archive.</p>
809
968
  * @public
@@ -956,6 +1115,71 @@ export interface UpdateArchiveRequest {
956
1115
  */
957
1116
  export interface UpdateArchiveResponse {
958
1117
  }
1118
+ /**
1119
+ * @public
1120
+ * @enum
1121
+ */
1122
+ export declare const ImportDataType: {
1123
+ readonly CSV: "CSV";
1124
+ readonly JSON: "JSON";
1125
+ };
1126
+ /**
1127
+ * @public
1128
+ */
1129
+ export type ImportDataType = (typeof ImportDataType)[keyof typeof ImportDataType];
1130
+ /**
1131
+ * <p>The import data format contains the specifications of the input file that would be passed to the address list
1132
+ * import job.</p>
1133
+ * @public
1134
+ */
1135
+ export interface ImportDataFormat {
1136
+ /**
1137
+ * <p>The type of file that would be passed as an input for the address list import job.</p>
1138
+ * @public
1139
+ */
1140
+ ImportDataType: ImportDataType | undefined;
1141
+ }
1142
+ /**
1143
+ * @public
1144
+ */
1145
+ export interface CreateAddressListImportJobRequest {
1146
+ /**
1147
+ * <p>A unique token that Amazon SES uses to recognize subsequent retries of the same
1148
+ * request.</p>
1149
+ * @public
1150
+ */
1151
+ ClientToken?: string | undefined;
1152
+ /**
1153
+ * <p>The unique identifier of the address list for importing addresses to.</p>
1154
+ * @public
1155
+ */
1156
+ AddressListId: string | undefined;
1157
+ /**
1158
+ * <p>A user-friendly name for the import job.</p>
1159
+ * @public
1160
+ */
1161
+ Name: string | undefined;
1162
+ /**
1163
+ * <p>The format of the input for an import job.</p>
1164
+ * @public
1165
+ */
1166
+ ImportDataFormat: ImportDataFormat | undefined;
1167
+ }
1168
+ /**
1169
+ * @public
1170
+ */
1171
+ export interface CreateAddressListImportJobResponse {
1172
+ /**
1173
+ * <p>The identifier of the created import job.</p>
1174
+ * @public
1175
+ */
1176
+ JobId: string | undefined;
1177
+ /**
1178
+ * <p>The pre-signed URL target for uploading the input file.</p>
1179
+ * @public
1180
+ */
1181
+ PreSignedUrl: string | undefined;
1182
+ }
959
1183
  /**
960
1184
  * <p>The configuration of the ingress endpoint resource.</p>
961
1185
  * @public
@@ -1522,12 +1746,44 @@ export declare const RuleBooleanEmailAttribute: {
1522
1746
  * @public
1523
1747
  */
1524
1748
  export type RuleBooleanEmailAttribute = (typeof RuleBooleanEmailAttribute)[keyof typeof RuleBooleanEmailAttribute];
1749
+ /**
1750
+ * @public
1751
+ * @enum
1752
+ */
1753
+ export declare const RuleAddressListEmailAttribute: {
1754
+ readonly CC: "CC";
1755
+ readonly FROM: "FROM";
1756
+ readonly MAIL_FROM: "MAIL_FROM";
1757
+ readonly RECIPIENT: "RECIPIENT";
1758
+ readonly SENDER: "SENDER";
1759
+ readonly TO: "TO";
1760
+ };
1761
+ /**
1762
+ * @public
1763
+ */
1764
+ export type RuleAddressListEmailAttribute = (typeof RuleAddressListEmailAttribute)[keyof typeof RuleAddressListEmailAttribute];
1765
+ /**
1766
+ * <p>The structure type for a boolean condition that provides the address lists and address list attribute to evaluate.</p>
1767
+ * @public
1768
+ */
1769
+ export interface RuleIsInAddressList {
1770
+ /**
1771
+ * <p>The email attribute that needs to be evaluated against the address list.</p>
1772
+ * @public
1773
+ */
1774
+ Attribute: RuleAddressListEmailAttribute | undefined;
1775
+ /**
1776
+ * <p>The address lists that will be used for evaluation.</p>
1777
+ * @public
1778
+ */
1779
+ AddressLists: string[] | undefined;
1780
+ }
1525
1781
  /**
1526
1782
  * <p>The union type representing the allowed types of operands for a boolean
1527
1783
  * condition.</p>
1528
1784
  * @public
1529
1785
  */
1530
- export type RuleBooleanToEvaluate = RuleBooleanToEvaluate.AttributeMember | RuleBooleanToEvaluate.$UnknownMember;
1786
+ export type RuleBooleanToEvaluate = RuleBooleanToEvaluate.AttributeMember | RuleBooleanToEvaluate.IsInAddressListMember | RuleBooleanToEvaluate.$UnknownMember;
1531
1787
  /**
1532
1788
  * @public
1533
1789
  */
@@ -1538,6 +1794,16 @@ export declare namespace RuleBooleanToEvaluate {
1538
1794
  */
1539
1795
  interface AttributeMember {
1540
1796
  Attribute: RuleBooleanEmailAttribute;
1797
+ IsInAddressList?: never;
1798
+ $unknown?: never;
1799
+ }
1800
+ /**
1801
+ * <p>The structure representing the address lists and address list attribute that will be used in evaluation of boolean expression.</p>
1802
+ * @public
1803
+ */
1804
+ interface IsInAddressListMember {
1805
+ Attribute?: never;
1806
+ IsInAddressList: RuleIsInAddressList;
1541
1807
  $unknown?: never;
1542
1808
  }
1543
1809
  /**
@@ -1545,10 +1811,12 @@ export declare namespace RuleBooleanToEvaluate {
1545
1811
  */
1546
1812
  interface $UnknownMember {
1547
1813
  Attribute?: never;
1814
+ IsInAddressList?: never;
1548
1815
  $unknown: [string, any];
1549
1816
  }
1550
1817
  interface Visitor<T> {
1551
1818
  Attribute: (value: RuleBooleanEmailAttribute) => T;
1819
+ IsInAddressList: (value: RuleIsInAddressList) => T;
1552
1820
  _: (name: string, value: any) => T;
1553
1821
  }
1554
1822
  const visit: <T>(value: RuleBooleanToEvaluate, visitor: Visitor<T>) => T;
@@ -2193,12 +2461,40 @@ export interface IngressAnalysis {
2193
2461
  */
2194
2462
  ResultField: string | undefined;
2195
2463
  }
2464
+ /**
2465
+ * @public
2466
+ * @enum
2467
+ */
2468
+ export declare const IngressAddressListEmailAttribute: {
2469
+ readonly RECIPIENT: "RECIPIENT";
2470
+ };
2471
+ /**
2472
+ * @public
2473
+ */
2474
+ export type IngressAddressListEmailAttribute = (typeof IngressAddressListEmailAttribute)[keyof typeof IngressAddressListEmailAttribute];
2475
+ /**
2476
+ * <p>The address lists and the address list attribute value that is evaluated in a policy statement's
2477
+ * conditional expression to either deny or block the incoming email.</p>
2478
+ * @public
2479
+ */
2480
+ export interface IngressIsInAddressList {
2481
+ /**
2482
+ * <p>The email attribute that needs to be evaluated against the address list.</p>
2483
+ * @public
2484
+ */
2485
+ Attribute: IngressAddressListEmailAttribute | undefined;
2486
+ /**
2487
+ * <p>The address lists that will be used for evaluation.</p>
2488
+ * @public
2489
+ */
2490
+ AddressLists: string[] | undefined;
2491
+ }
2196
2492
  /**
2197
2493
  * <p>The union type representing the allowed types of operands for a boolean
2198
2494
  * condition.</p>
2199
2495
  * @public
2200
2496
  */
2201
- export type IngressBooleanToEvaluate = IngressBooleanToEvaluate.AnalysisMember | IngressBooleanToEvaluate.$UnknownMember;
2497
+ export type IngressBooleanToEvaluate = IngressBooleanToEvaluate.AnalysisMember | IngressBooleanToEvaluate.IsInAddressListMember | IngressBooleanToEvaluate.$UnknownMember;
2202
2498
  /**
2203
2499
  * @public
2204
2500
  */
@@ -2210,6 +2506,16 @@ export declare namespace IngressBooleanToEvaluate {
2210
2506
  */
2211
2507
  interface AnalysisMember {
2212
2508
  Analysis: IngressAnalysis;
2509
+ IsInAddressList?: never;
2510
+ $unknown?: never;
2511
+ }
2512
+ /**
2513
+ * <p>The structure type for a boolean condition that provides the address lists to evaluate incoming traffic on.</p>
2514
+ * @public
2515
+ */
2516
+ interface IsInAddressListMember {
2517
+ Analysis?: never;
2518
+ IsInAddressList: IngressIsInAddressList;
2213
2519
  $unknown?: never;
2214
2520
  }
2215
2521
  /**
@@ -2217,10 +2523,12 @@ export declare namespace IngressBooleanToEvaluate {
2217
2523
  */
2218
2524
  interface $UnknownMember {
2219
2525
  Analysis?: never;
2526
+ IsInAddressList?: never;
2220
2527
  $unknown: [string, any];
2221
2528
  }
2222
2529
  interface Visitor<T> {
2223
2530
  Analysis: (value: IngressAnalysis) => T;
2531
+ IsInAddressList: (value: IngressIsInAddressList) => T;
2224
2532
  _: (name: string, value: any) => T;
2225
2533
  }
2226
2534
  const visit: <T>(value: IngressBooleanToEvaluate, visitor: Visitor<T>) => T;
@@ -2699,6 +3007,26 @@ export interface DeleteTrafficPolicyRequest {
2699
3007
  */
2700
3008
  export interface DeleteTrafficPolicyResponse {
2701
3009
  }
3010
+ /**
3011
+ * @public
3012
+ */
3013
+ export interface DeregisterMemberFromAddressListRequest {
3014
+ /**
3015
+ * <p>The unique identifier of the address list to remove the address from.</p>
3016
+ * @public
3017
+ */
3018
+ AddressListId: string | undefined;
3019
+ /**
3020
+ * <p>The address to be removed from the address list.</p>
3021
+ * @public
3022
+ */
3023
+ Address: string | undefined;
3024
+ }
3025
+ /**
3026
+ * @public
3027
+ */
3028
+ export interface DeregisterMemberFromAddressListResponse {
3029
+ }
2702
3030
  /**
2703
3031
  * <p>The SMTP envelope information of the email.</p>
2704
3032
  * @public
@@ -2819,6 +3147,96 @@ export interface ExportSummary {
2819
3147
  */
2820
3148
  Status?: ExportStatus | undefined;
2821
3149
  }
3150
+ /**
3151
+ * @public
3152
+ */
3153
+ export interface GetAddressListImportJobRequest {
3154
+ /**
3155
+ * <p>The identifier of the import job that needs to be retrieved.</p>
3156
+ * @public
3157
+ */
3158
+ JobId: string | undefined;
3159
+ }
3160
+ /**
3161
+ * @public
3162
+ * @enum
3163
+ */
3164
+ export declare const ImportJobStatus: {
3165
+ readonly COMPLETED: "COMPLETED";
3166
+ readonly CREATED: "CREATED";
3167
+ readonly FAILED: "FAILED";
3168
+ readonly PROCESSING: "PROCESSING";
3169
+ readonly STOPPED: "STOPPED";
3170
+ };
3171
+ /**
3172
+ * @public
3173
+ */
3174
+ export type ImportJobStatus = (typeof ImportJobStatus)[keyof typeof ImportJobStatus];
3175
+ /**
3176
+ * @public
3177
+ */
3178
+ export interface GetAddressListImportJobResponse {
3179
+ /**
3180
+ * <p>The identifier of the import job.</p>
3181
+ * @public
3182
+ */
3183
+ JobId: string | undefined;
3184
+ /**
3185
+ * <p>A user-friendly name for the import job.</p>
3186
+ * @public
3187
+ */
3188
+ Name: string | undefined;
3189
+ /**
3190
+ * <p>The status of the import job.</p>
3191
+ * @public
3192
+ */
3193
+ Status: ImportJobStatus | undefined;
3194
+ /**
3195
+ * <p>The pre-signed URL target for uploading the input file.</p>
3196
+ * @public
3197
+ */
3198
+ PreSignedUrl: string | undefined;
3199
+ /**
3200
+ * <p>The number of input addresses successfully imported into the address list.</p>
3201
+ * @public
3202
+ */
3203
+ ImportedItemsCount?: number | undefined;
3204
+ /**
3205
+ * <p>The number of input addresses that failed to be imported into the address list.</p>
3206
+ * @public
3207
+ */
3208
+ FailedItemsCount?: number | undefined;
3209
+ /**
3210
+ * <p>The format of the input for an import job.</p>
3211
+ * @public
3212
+ */
3213
+ ImportDataFormat: ImportDataFormat | undefined;
3214
+ /**
3215
+ * <p>The unique identifier of the address list the import job was created for.</p>
3216
+ * @public
3217
+ */
3218
+ AddressListId: string | undefined;
3219
+ /**
3220
+ * <p>The timestamp of when the import job was created.</p>
3221
+ * @public
3222
+ */
3223
+ CreatedTimestamp: Date | undefined;
3224
+ /**
3225
+ * <p>The timestamp of when the import job was started.</p>
3226
+ * @public
3227
+ */
3228
+ StartTimestamp?: Date | undefined;
3229
+ /**
3230
+ * <p>The timestamp of when the import job was completed.</p>
3231
+ * @public
3232
+ */
3233
+ CompletedTimestamp?: Date | undefined;
3234
+ /**
3235
+ * <p>The reason for failure of an import job.</p>
3236
+ * @public
3237
+ */
3238
+ Error?: string | undefined;
3239
+ }
2822
3240
  /**
2823
3241
  * <p>The request to retrieve details of a specific archive export job.</p>
2824
3242
  * @public
@@ -3325,6 +3743,36 @@ export interface GetIngressPointResponse {
3325
3743
  */
3326
3744
  LastUpdatedTimestamp?: Date | undefined;
3327
3745
  }
3746
+ /**
3747
+ * @public
3748
+ */
3749
+ export interface GetMemberOfAddressListRequest {
3750
+ /**
3751
+ * <p>The unique identifier of the address list to retrieve the address from.</p>
3752
+ * @public
3753
+ */
3754
+ AddressListId: string | undefined;
3755
+ /**
3756
+ * <p>The address to be retrieved from the address list.</p>
3757
+ * @public
3758
+ */
3759
+ Address: string | undefined;
3760
+ }
3761
+ /**
3762
+ * @public
3763
+ */
3764
+ export interface GetMemberOfAddressListResponse {
3765
+ /**
3766
+ * <p>The address retrieved from the address list.</p>
3767
+ * @public
3768
+ */
3769
+ Address: string | undefined;
3770
+ /**
3771
+ * <p>The timestamp of when the address was created.</p>
3772
+ * @public
3773
+ */
3774
+ CreatedTimestamp: Date | undefined;
3775
+ }
3328
3776
  /**
3329
3777
  * @public
3330
3778
  */
@@ -3482,6 +3930,72 @@ export interface GetTrafficPolicyResponse {
3482
3930
  */
3483
3931
  LastUpdatedTimestamp?: Date | undefined;
3484
3932
  }
3933
+ /**
3934
+ * <p>Details about an import job.</p>
3935
+ * @public
3936
+ */
3937
+ export interface ImportJob {
3938
+ /**
3939
+ * <p>The identifier of the import job.</p>
3940
+ * @public
3941
+ */
3942
+ JobId: string | undefined;
3943
+ /**
3944
+ * <p>A user-friendly name for the import job.</p>
3945
+ * @public
3946
+ */
3947
+ Name: string | undefined;
3948
+ /**
3949
+ * <p>The status of the import job.</p>
3950
+ * @public
3951
+ */
3952
+ Status: ImportJobStatus | undefined;
3953
+ /**
3954
+ * <p>The pre-signed URL target for uploading the input file.</p>
3955
+ * @public
3956
+ */
3957
+ PreSignedUrl: string | undefined;
3958
+ /**
3959
+ * <p>The number of addresses in the input that were successfully imported into the address list.</p>
3960
+ * @public
3961
+ */
3962
+ ImportedItemsCount?: number | undefined;
3963
+ /**
3964
+ * <p>The number of addresses in the input that failed to get imported into address list.</p>
3965
+ * @public
3966
+ */
3967
+ FailedItemsCount?: number | undefined;
3968
+ /**
3969
+ * <p>The format of the input for the import job.</p>
3970
+ * @public
3971
+ */
3972
+ ImportDataFormat: ImportDataFormat | undefined;
3973
+ /**
3974
+ * <p>The unique identifier of the address list the import job was created for.</p>
3975
+ * @public
3976
+ */
3977
+ AddressListId: string | undefined;
3978
+ /**
3979
+ * <p>The timestamp of when the import job was created.</p>
3980
+ * @public
3981
+ */
3982
+ CreatedTimestamp: Date | undefined;
3983
+ /**
3984
+ * <p>The timestamp of when the import job was started.</p>
3985
+ * @public
3986
+ */
3987
+ StartTimestamp?: Date | undefined;
3988
+ /**
3989
+ * <p>The timestamp of when the import job was completed.</p>
3990
+ * @public
3991
+ */
3992
+ CompletedTimestamp?: Date | undefined;
3993
+ /**
3994
+ * <p>The reason for failure of an import job.</p>
3995
+ * @public
3996
+ */
3997
+ Error?: string | undefined;
3998
+ }
3485
3999
  /**
3486
4000
  * <p>The structure of an ingress endpoint resource.</p>
3487
4001
  * @public
@@ -3601,6 +4115,41 @@ export interface UpdateIngressPointRequest {
3601
4115
  */
3602
4116
  export interface UpdateIngressPointResponse {
3603
4117
  }
4118
+ /**
4119
+ * @public
4120
+ */
4121
+ export interface ListAddressListImportJobsRequest {
4122
+ /**
4123
+ * <p>The unique identifier of the address list for listing import jobs.</p>
4124
+ * @public
4125
+ */
4126
+ AddressListId: string | undefined;
4127
+ /**
4128
+ * <p>If you received a pagination token from a previous call to this API, you can provide it here to continue paginating through the next page of results.</p>
4129
+ * @public
4130
+ */
4131
+ NextToken?: string | undefined;
4132
+ /**
4133
+ * <p>The maximum number of import jobs that are returned per call. You can use NextToken to retrieve the next page of jobs.</p>
4134
+ * @public
4135
+ */
4136
+ PageSize?: number | undefined;
4137
+ }
4138
+ /**
4139
+ * @public
4140
+ */
4141
+ export interface ListAddressListImportJobsResponse {
4142
+ /**
4143
+ * <p>The list of import jobs.</p>
4144
+ * @public
4145
+ */
4146
+ ImportJobs: ImportJob[] | undefined;
4147
+ /**
4148
+ * <p>If NextToken is returned, there are more results available. The value of NextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.</p>
4149
+ * @public
4150
+ */
4151
+ NextToken?: string | undefined;
4152
+ }
3604
4153
  /**
3605
4154
  * <p>The request to list archive export jobs in your account.</p>
3606
4155
  * @public
@@ -3699,6 +4248,63 @@ export interface ListArchiveSearchesResponse {
3699
4248
  */
3700
4249
  NextToken?: string | undefined;
3701
4250
  }
4251
+ /**
4252
+ * @public
4253
+ */
4254
+ export interface ListMembersOfAddressListRequest {
4255
+ /**
4256
+ * <p>The unique identifier of the address list to list the addresses from.</p>
4257
+ * @public
4258
+ */
4259
+ AddressListId: string | undefined;
4260
+ /**
4261
+ * <p>Filter to be used to limit the results.</p>
4262
+ * @public
4263
+ */
4264
+ Filter?: AddressFilter | undefined;
4265
+ /**
4266
+ * <p>If you received a pagination token from a previous call to this API, you can provide it here to continue paginating through the next page of results.</p>
4267
+ * @public
4268
+ */
4269
+ NextToken?: string | undefined;
4270
+ /**
4271
+ * <p>The maximum number of address list members that are returned per call.
4272
+ * You can use NextToken to retrieve the next page of members.</p>
4273
+ * @public
4274
+ */
4275
+ PageSize?: number | undefined;
4276
+ }
4277
+ /**
4278
+ * <p>An address that is a member of an address list.</p>
4279
+ * @public
4280
+ */
4281
+ export interface SavedAddress {
4282
+ /**
4283
+ * <p>The email or domain that constitutes the address.</p>
4284
+ * @public
4285
+ */
4286
+ Address: string | undefined;
4287
+ /**
4288
+ * <p>The timestamp of when the address was added to the address list.</p>
4289
+ * @public
4290
+ */
4291
+ CreatedTimestamp: Date | undefined;
4292
+ }
4293
+ /**
4294
+ * @public
4295
+ */
4296
+ export interface ListMembersOfAddressListResponse {
4297
+ /**
4298
+ * <p>The list of addresses.</p>
4299
+ * @public
4300
+ */
4301
+ Addresses: SavedAddress[] | undefined;
4302
+ /**
4303
+ * <p>If NextToken is returned, there are more results available. The value of NextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.</p>
4304
+ * @public
4305
+ */
4306
+ NextToken?: string | undefined;
4307
+ }
3702
4308
  /**
3703
4309
  * @public
3704
4310
  */
@@ -3877,6 +4483,26 @@ export interface ListTrafficPoliciesResponse {
3877
4483
  */
3878
4484
  NextToken?: string | undefined;
3879
4485
  }
4486
+ /**
4487
+ * @public
4488
+ */
4489
+ export interface RegisterMemberToAddressListRequest {
4490
+ /**
4491
+ * <p>The unique identifier of the address list where the address should be added.</p>
4492
+ * @public
4493
+ */
4494
+ AddressListId: string | undefined;
4495
+ /**
4496
+ * <p>The address to be added to the address list.</p>
4497
+ * @public
4498
+ */
4499
+ Address: string | undefined;
4500
+ }
4501
+ /**
4502
+ * @public
4503
+ */
4504
+ export interface RegisterMemberToAddressListResponse {
4505
+ }
3880
4506
  /**
3881
4507
  * @public
3882
4508
  */
@@ -3939,6 +4565,21 @@ export interface UpdateRuleSetRequest {
3939
4565
  */
3940
4566
  export interface UpdateRuleSetResponse {
3941
4567
  }
4568
+ /**
4569
+ * @public
4570
+ */
4571
+ export interface StartAddressListImportJobRequest {
4572
+ /**
4573
+ * <p>The identifier of the import job that needs to be started.</p>
4574
+ * @public
4575
+ */
4576
+ JobId: string | undefined;
4577
+ }
4578
+ /**
4579
+ * @public
4580
+ */
4581
+ export interface StartAddressListImportJobResponse {
4582
+ }
3942
4583
  /**
3943
4584
  * <p>The request to initiate an export of emails from an archive.</p>
3944
4585
  * @public
@@ -4033,6 +4674,21 @@ export interface StartArchiveSearchResponse {
4033
4674
  */
4034
4675
  SearchId?: string | undefined;
4035
4676
  }
4677
+ /**
4678
+ * @public
4679
+ */
4680
+ export interface StopAddressListImportJobRequest {
4681
+ /**
4682
+ * <p>The identifier of the import job that needs to be stopped.</p>
4683
+ * @public
4684
+ */
4685
+ JobId: string | undefined;
4686
+ }
4687
+ /**
4688
+ * @public
4689
+ */
4690
+ export interface StopAddressListImportJobResponse {
4691
+ }
4036
4692
  /**
4037
4693
  * <p>The request to stop an in-progress archive export job.</p>
4038
4694
  * @public
@@ -4149,19 +4805,11 @@ export interface UntagResourceResponse {
4149
4805
  /**
4150
4806
  * @internal
4151
4807
  */
4152
- export declare const TagFilterSensitiveLog: (obj: Tag) => any;
4153
- /**
4154
- * @internal
4155
- */
4156
- export declare const CreateAddonInstanceRequestFilterSensitiveLog: (obj: CreateAddonInstanceRequest) => any;
4157
- /**
4158
- * @internal
4159
- */
4160
- export declare const CreateAddonSubscriptionRequestFilterSensitiveLog: (obj: CreateAddonSubscriptionRequest) => any;
4808
+ export declare const AddressFilterFilterSensitiveLog: (obj: AddressFilter) => any;
4161
4809
  /**
4162
4810
  * @internal
4163
4811
  */
4164
- export declare const CreateArchiveRequestFilterSensitiveLog: (obj: CreateArchiveRequest) => any;
4812
+ export declare const CreateAddressListImportJobResponseFilterSensitiveLog: (obj: CreateAddressListImportJobResponse) => any;
4165
4813
  /**
4166
4814
  * @internal
4167
4815
  */
@@ -4170,10 +4818,6 @@ export declare const IngressPointConfigurationFilterSensitiveLog: (obj: IngressP
4170
4818
  * @internal
4171
4819
  */
4172
4820
  export declare const CreateIngressPointRequestFilterSensitiveLog: (obj: CreateIngressPointRequest) => any;
4173
- /**
4174
- * @internal
4175
- */
4176
- export declare const CreateRelayRequestFilterSensitiveLog: (obj: CreateRelayRequest) => any;
4177
4821
  /**
4178
4822
  * @internal
4179
4823
  */
@@ -4193,7 +4837,11 @@ export declare const CreateRuleSetRequestFilterSensitiveLog: (obj: CreateRuleSet
4193
4837
  /**
4194
4838
  * @internal
4195
4839
  */
4196
- export declare const CreateTrafficPolicyRequestFilterSensitiveLog: (obj: CreateTrafficPolicyRequest) => any;
4840
+ export declare const DeregisterMemberFromAddressListRequestFilterSensitiveLog: (obj: DeregisterMemberFromAddressListRequest) => any;
4841
+ /**
4842
+ * @internal
4843
+ */
4844
+ export declare const GetAddressListImportJobResponseFilterSensitiveLog: (obj: GetAddressListImportJobResponse) => any;
4197
4845
  /**
4198
4846
  * @internal
4199
4847
  */
@@ -4210,10 +4858,22 @@ export declare const RowFilterSensitiveLog: (obj: Row) => any;
4210
4858
  * @internal
4211
4859
  */
4212
4860
  export declare const GetArchiveSearchResultsResponseFilterSensitiveLog: (obj: GetArchiveSearchResultsResponse) => any;
4861
+ /**
4862
+ * @internal
4863
+ */
4864
+ export declare const GetMemberOfAddressListRequestFilterSensitiveLog: (obj: GetMemberOfAddressListRequest) => any;
4865
+ /**
4866
+ * @internal
4867
+ */
4868
+ export declare const GetMemberOfAddressListResponseFilterSensitiveLog: (obj: GetMemberOfAddressListResponse) => any;
4213
4869
  /**
4214
4870
  * @internal
4215
4871
  */
4216
4872
  export declare const GetRuleSetResponseFilterSensitiveLog: (obj: GetRuleSetResponse) => any;
4873
+ /**
4874
+ * @internal
4875
+ */
4876
+ export declare const ImportJobFilterSensitiveLog: (obj: ImportJob) => any;
4217
4877
  /**
4218
4878
  * @internal
4219
4879
  */
@@ -4221,16 +4881,24 @@ export declare const UpdateIngressPointRequestFilterSensitiveLog: (obj: UpdateIn
4221
4881
  /**
4222
4882
  * @internal
4223
4883
  */
4224
- export declare const ListTagsForResourceResponseFilterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
4884
+ export declare const ListAddressListImportJobsResponseFilterSensitiveLog: (obj: ListAddressListImportJobsResponse) => any;
4225
4885
  /**
4226
4886
  * @internal
4227
4887
  */
4228
- export declare const UpdateRuleSetRequestFilterSensitiveLog: (obj: UpdateRuleSetRequest) => any;
4888
+ export declare const ListMembersOfAddressListRequestFilterSensitiveLog: (obj: ListMembersOfAddressListRequest) => any;
4229
4889
  /**
4230
4890
  * @internal
4231
4891
  */
4232
- export declare const TagResourceRequestFilterSensitiveLog: (obj: TagResourceRequest) => any;
4892
+ export declare const SavedAddressFilterSensitiveLog: (obj: SavedAddress) => any;
4233
4893
  /**
4234
4894
  * @internal
4235
4895
  */
4236
- export declare const UntagResourceRequestFilterSensitiveLog: (obj: UntagResourceRequest) => any;
4896
+ export declare const ListMembersOfAddressListResponseFilterSensitiveLog: (obj: ListMembersOfAddressListResponse) => any;
4897
+ /**
4898
+ * @internal
4899
+ */
4900
+ export declare const RegisterMemberToAddressListRequestFilterSensitiveLog: (obj: RegisterMemberToAddressListRequest) => any;
4901
+ /**
4902
+ * @internal
4903
+ */
4904
+ export declare const UpdateRuleSetRequestFilterSensitiveLog: (obj: UpdateRuleSetRequest) => any;