@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
@@ -1,6 +1,8 @@
1
1
  import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
2
  import { CreateAddonInstanceCommandInput, CreateAddonInstanceCommandOutput } from "./commands/CreateAddonInstanceCommand";
3
3
  import { CreateAddonSubscriptionCommandInput, CreateAddonSubscriptionCommandOutput } from "./commands/CreateAddonSubscriptionCommand";
4
+ import { CreateAddressListCommandInput, CreateAddressListCommandOutput } from "./commands/CreateAddressListCommand";
5
+ import { CreateAddressListImportJobCommandInput, CreateAddressListImportJobCommandOutput } from "./commands/CreateAddressListImportJobCommand";
4
6
  import { CreateArchiveCommandInput, CreateArchiveCommandOutput } from "./commands/CreateArchiveCommand";
5
7
  import { CreateIngressPointCommandInput, CreateIngressPointCommandOutput } from "./commands/CreateIngressPointCommand";
6
8
  import { CreateRelayCommandInput, CreateRelayCommandOutput } from "./commands/CreateRelayCommand";
@@ -8,13 +10,17 @@ import { CreateRuleSetCommandInput, CreateRuleSetCommandOutput } from "./command
8
10
  import { CreateTrafficPolicyCommandInput, CreateTrafficPolicyCommandOutput } from "./commands/CreateTrafficPolicyCommand";
9
11
  import { DeleteAddonInstanceCommandInput, DeleteAddonInstanceCommandOutput } from "./commands/DeleteAddonInstanceCommand";
10
12
  import { DeleteAddonSubscriptionCommandInput, DeleteAddonSubscriptionCommandOutput } from "./commands/DeleteAddonSubscriptionCommand";
13
+ import { DeleteAddressListCommandInput, DeleteAddressListCommandOutput } from "./commands/DeleteAddressListCommand";
11
14
  import { DeleteArchiveCommandInput, DeleteArchiveCommandOutput } from "./commands/DeleteArchiveCommand";
12
15
  import { DeleteIngressPointCommandInput, DeleteIngressPointCommandOutput } from "./commands/DeleteIngressPointCommand";
13
16
  import { DeleteRelayCommandInput, DeleteRelayCommandOutput } from "./commands/DeleteRelayCommand";
14
17
  import { DeleteRuleSetCommandInput, DeleteRuleSetCommandOutput } from "./commands/DeleteRuleSetCommand";
15
18
  import { DeleteTrafficPolicyCommandInput, DeleteTrafficPolicyCommandOutput } from "./commands/DeleteTrafficPolicyCommand";
19
+ import { DeregisterMemberFromAddressListCommandInput, DeregisterMemberFromAddressListCommandOutput } from "./commands/DeregisterMemberFromAddressListCommand";
16
20
  import { GetAddonInstanceCommandInput, GetAddonInstanceCommandOutput } from "./commands/GetAddonInstanceCommand";
17
21
  import { GetAddonSubscriptionCommandInput, GetAddonSubscriptionCommandOutput } from "./commands/GetAddonSubscriptionCommand";
22
+ import { GetAddressListCommandInput, GetAddressListCommandOutput } from "./commands/GetAddressListCommand";
23
+ import { GetAddressListImportJobCommandInput, GetAddressListImportJobCommandOutput } from "./commands/GetAddressListImportJobCommand";
18
24
  import { GetArchiveCommandInput, GetArchiveCommandOutput } from "./commands/GetArchiveCommand";
19
25
  import { GetArchiveExportCommandInput, GetArchiveExportCommandOutput } from "./commands/GetArchiveExportCommand";
20
26
  import { GetArchiveMessageCommandInput, GetArchiveMessageCommandOutput } from "./commands/GetArchiveMessageCommand";
@@ -22,21 +28,28 @@ import { GetArchiveMessageContentCommandInput, GetArchiveMessageContentCommandOu
22
28
  import { GetArchiveSearchCommandInput, GetArchiveSearchCommandOutput } from "./commands/GetArchiveSearchCommand";
23
29
  import { GetArchiveSearchResultsCommandInput, GetArchiveSearchResultsCommandOutput } from "./commands/GetArchiveSearchResultsCommand";
24
30
  import { GetIngressPointCommandInput, GetIngressPointCommandOutput } from "./commands/GetIngressPointCommand";
31
+ import { GetMemberOfAddressListCommandInput, GetMemberOfAddressListCommandOutput } from "./commands/GetMemberOfAddressListCommand";
25
32
  import { GetRelayCommandInput, GetRelayCommandOutput } from "./commands/GetRelayCommand";
26
33
  import { GetRuleSetCommandInput, GetRuleSetCommandOutput } from "./commands/GetRuleSetCommand";
27
34
  import { GetTrafficPolicyCommandInput, GetTrafficPolicyCommandOutput } from "./commands/GetTrafficPolicyCommand";
28
35
  import { ListAddonInstancesCommandInput, ListAddonInstancesCommandOutput } from "./commands/ListAddonInstancesCommand";
29
36
  import { ListAddonSubscriptionsCommandInput, ListAddonSubscriptionsCommandOutput } from "./commands/ListAddonSubscriptionsCommand";
37
+ import { ListAddressListImportJobsCommandInput, ListAddressListImportJobsCommandOutput } from "./commands/ListAddressListImportJobsCommand";
38
+ import { ListAddressListsCommandInput, ListAddressListsCommandOutput } from "./commands/ListAddressListsCommand";
30
39
  import { ListArchiveExportsCommandInput, ListArchiveExportsCommandOutput } from "./commands/ListArchiveExportsCommand";
31
40
  import { ListArchivesCommandInput, ListArchivesCommandOutput } from "./commands/ListArchivesCommand";
32
41
  import { ListArchiveSearchesCommandInput, ListArchiveSearchesCommandOutput } from "./commands/ListArchiveSearchesCommand";
33
42
  import { ListIngressPointsCommandInput, ListIngressPointsCommandOutput } from "./commands/ListIngressPointsCommand";
43
+ import { ListMembersOfAddressListCommandInput, ListMembersOfAddressListCommandOutput } from "./commands/ListMembersOfAddressListCommand";
34
44
  import { ListRelaysCommandInput, ListRelaysCommandOutput } from "./commands/ListRelaysCommand";
35
45
  import { ListRuleSetsCommandInput, ListRuleSetsCommandOutput } from "./commands/ListRuleSetsCommand";
36
46
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
37
47
  import { ListTrafficPoliciesCommandInput, ListTrafficPoliciesCommandOutput } from "./commands/ListTrafficPoliciesCommand";
48
+ import { RegisterMemberToAddressListCommandInput, RegisterMemberToAddressListCommandOutput } from "./commands/RegisterMemberToAddressListCommand";
49
+ import { StartAddressListImportJobCommandInput, StartAddressListImportJobCommandOutput } from "./commands/StartAddressListImportJobCommand";
38
50
  import { StartArchiveExportCommandInput, StartArchiveExportCommandOutput } from "./commands/StartArchiveExportCommand";
39
51
  import { StartArchiveSearchCommandInput, StartArchiveSearchCommandOutput } from "./commands/StartArchiveSearchCommand";
52
+ import { StopAddressListImportJobCommandInput, StopAddressListImportJobCommandOutput } from "./commands/StopAddressListImportJobCommand";
40
53
  import { StopArchiveExportCommandInput, StopArchiveExportCommandOutput } from "./commands/StopArchiveExportCommand";
41
54
  import { StopArchiveSearchCommandInput, StopArchiveSearchCommandOutput } from "./commands/StopArchiveSearchCommand";
42
55
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
@@ -60,6 +73,18 @@ export interface MailManager {
60
73
  createAddonSubscription(args: CreateAddonSubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<CreateAddonSubscriptionCommandOutput>;
61
74
  createAddonSubscription(args: CreateAddonSubscriptionCommandInput, cb: (err: any, data?: CreateAddonSubscriptionCommandOutput) => void): void;
62
75
  createAddonSubscription(args: CreateAddonSubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAddonSubscriptionCommandOutput) => void): void;
76
+ /**
77
+ * @see {@link CreateAddressListCommand}
78
+ */
79
+ createAddressList(args: CreateAddressListCommandInput, options?: __HttpHandlerOptions): Promise<CreateAddressListCommandOutput>;
80
+ createAddressList(args: CreateAddressListCommandInput, cb: (err: any, data?: CreateAddressListCommandOutput) => void): void;
81
+ createAddressList(args: CreateAddressListCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAddressListCommandOutput) => void): void;
82
+ /**
83
+ * @see {@link CreateAddressListImportJobCommand}
84
+ */
85
+ createAddressListImportJob(args: CreateAddressListImportJobCommandInput, options?: __HttpHandlerOptions): Promise<CreateAddressListImportJobCommandOutput>;
86
+ createAddressListImportJob(args: CreateAddressListImportJobCommandInput, cb: (err: any, data?: CreateAddressListImportJobCommandOutput) => void): void;
87
+ createAddressListImportJob(args: CreateAddressListImportJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAddressListImportJobCommandOutput) => void): void;
63
88
  /**
64
89
  * @see {@link CreateArchiveCommand}
65
90
  */
@@ -102,6 +127,12 @@ export interface MailManager {
102
127
  deleteAddonSubscription(args: DeleteAddonSubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAddonSubscriptionCommandOutput>;
103
128
  deleteAddonSubscription(args: DeleteAddonSubscriptionCommandInput, cb: (err: any, data?: DeleteAddonSubscriptionCommandOutput) => void): void;
104
129
  deleteAddonSubscription(args: DeleteAddonSubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAddonSubscriptionCommandOutput) => void): void;
130
+ /**
131
+ * @see {@link DeleteAddressListCommand}
132
+ */
133
+ deleteAddressList(args: DeleteAddressListCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAddressListCommandOutput>;
134
+ deleteAddressList(args: DeleteAddressListCommandInput, cb: (err: any, data?: DeleteAddressListCommandOutput) => void): void;
135
+ deleteAddressList(args: DeleteAddressListCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAddressListCommandOutput) => void): void;
105
136
  /**
106
137
  * @see {@link DeleteArchiveCommand}
107
138
  */
@@ -132,6 +163,12 @@ export interface MailManager {
132
163
  deleteTrafficPolicy(args: DeleteTrafficPolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTrafficPolicyCommandOutput>;
133
164
  deleteTrafficPolicy(args: DeleteTrafficPolicyCommandInput, cb: (err: any, data?: DeleteTrafficPolicyCommandOutput) => void): void;
134
165
  deleteTrafficPolicy(args: DeleteTrafficPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteTrafficPolicyCommandOutput) => void): void;
166
+ /**
167
+ * @see {@link DeregisterMemberFromAddressListCommand}
168
+ */
169
+ deregisterMemberFromAddressList(args: DeregisterMemberFromAddressListCommandInput, options?: __HttpHandlerOptions): Promise<DeregisterMemberFromAddressListCommandOutput>;
170
+ deregisterMemberFromAddressList(args: DeregisterMemberFromAddressListCommandInput, cb: (err: any, data?: DeregisterMemberFromAddressListCommandOutput) => void): void;
171
+ deregisterMemberFromAddressList(args: DeregisterMemberFromAddressListCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeregisterMemberFromAddressListCommandOutput) => void): void;
135
172
  /**
136
173
  * @see {@link GetAddonInstanceCommand}
137
174
  */
@@ -144,6 +181,18 @@ export interface MailManager {
144
181
  getAddonSubscription(args: GetAddonSubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<GetAddonSubscriptionCommandOutput>;
145
182
  getAddonSubscription(args: GetAddonSubscriptionCommandInput, cb: (err: any, data?: GetAddonSubscriptionCommandOutput) => void): void;
146
183
  getAddonSubscription(args: GetAddonSubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAddonSubscriptionCommandOutput) => void): void;
184
+ /**
185
+ * @see {@link GetAddressListCommand}
186
+ */
187
+ getAddressList(args: GetAddressListCommandInput, options?: __HttpHandlerOptions): Promise<GetAddressListCommandOutput>;
188
+ getAddressList(args: GetAddressListCommandInput, cb: (err: any, data?: GetAddressListCommandOutput) => void): void;
189
+ getAddressList(args: GetAddressListCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAddressListCommandOutput) => void): void;
190
+ /**
191
+ * @see {@link GetAddressListImportJobCommand}
192
+ */
193
+ getAddressListImportJob(args: GetAddressListImportJobCommandInput, options?: __HttpHandlerOptions): Promise<GetAddressListImportJobCommandOutput>;
194
+ getAddressListImportJob(args: GetAddressListImportJobCommandInput, cb: (err: any, data?: GetAddressListImportJobCommandOutput) => void): void;
195
+ getAddressListImportJob(args: GetAddressListImportJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAddressListImportJobCommandOutput) => void): void;
147
196
  /**
148
197
  * @see {@link GetArchiveCommand}
149
198
  */
@@ -186,6 +235,12 @@ export interface MailManager {
186
235
  getIngressPoint(args: GetIngressPointCommandInput, options?: __HttpHandlerOptions): Promise<GetIngressPointCommandOutput>;
187
236
  getIngressPoint(args: GetIngressPointCommandInput, cb: (err: any, data?: GetIngressPointCommandOutput) => void): void;
188
237
  getIngressPoint(args: GetIngressPointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetIngressPointCommandOutput) => void): void;
238
+ /**
239
+ * @see {@link GetMemberOfAddressListCommand}
240
+ */
241
+ getMemberOfAddressList(args: GetMemberOfAddressListCommandInput, options?: __HttpHandlerOptions): Promise<GetMemberOfAddressListCommandOutput>;
242
+ getMemberOfAddressList(args: GetMemberOfAddressListCommandInput, cb: (err: any, data?: GetMemberOfAddressListCommandOutput) => void): void;
243
+ getMemberOfAddressList(args: GetMemberOfAddressListCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMemberOfAddressListCommandOutput) => void): void;
189
244
  /**
190
245
  * @see {@link GetRelayCommand}
191
246
  */
@@ -218,6 +273,19 @@ export interface MailManager {
218
273
  listAddonSubscriptions(args: ListAddonSubscriptionsCommandInput, options?: __HttpHandlerOptions): Promise<ListAddonSubscriptionsCommandOutput>;
219
274
  listAddonSubscriptions(args: ListAddonSubscriptionsCommandInput, cb: (err: any, data?: ListAddonSubscriptionsCommandOutput) => void): void;
220
275
  listAddonSubscriptions(args: ListAddonSubscriptionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAddonSubscriptionsCommandOutput) => void): void;
276
+ /**
277
+ * @see {@link ListAddressListImportJobsCommand}
278
+ */
279
+ listAddressListImportJobs(args: ListAddressListImportJobsCommandInput, options?: __HttpHandlerOptions): Promise<ListAddressListImportJobsCommandOutput>;
280
+ listAddressListImportJobs(args: ListAddressListImportJobsCommandInput, cb: (err: any, data?: ListAddressListImportJobsCommandOutput) => void): void;
281
+ listAddressListImportJobs(args: ListAddressListImportJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAddressListImportJobsCommandOutput) => void): void;
282
+ /**
283
+ * @see {@link ListAddressListsCommand}
284
+ */
285
+ listAddressLists(): Promise<ListAddressListsCommandOutput>;
286
+ listAddressLists(args: ListAddressListsCommandInput, options?: __HttpHandlerOptions): Promise<ListAddressListsCommandOutput>;
287
+ listAddressLists(args: ListAddressListsCommandInput, cb: (err: any, data?: ListAddressListsCommandOutput) => void): void;
288
+ listAddressLists(args: ListAddressListsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAddressListsCommandOutput) => void): void;
221
289
  /**
222
290
  * @see {@link ListArchiveExportsCommand}
223
291
  */
@@ -244,6 +312,12 @@ export interface MailManager {
244
312
  listIngressPoints(args: ListIngressPointsCommandInput, options?: __HttpHandlerOptions): Promise<ListIngressPointsCommandOutput>;
245
313
  listIngressPoints(args: ListIngressPointsCommandInput, cb: (err: any, data?: ListIngressPointsCommandOutput) => void): void;
246
314
  listIngressPoints(args: ListIngressPointsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListIngressPointsCommandOutput) => void): void;
315
+ /**
316
+ * @see {@link ListMembersOfAddressListCommand}
317
+ */
318
+ listMembersOfAddressList(args: ListMembersOfAddressListCommandInput, options?: __HttpHandlerOptions): Promise<ListMembersOfAddressListCommandOutput>;
319
+ listMembersOfAddressList(args: ListMembersOfAddressListCommandInput, cb: (err: any, data?: ListMembersOfAddressListCommandOutput) => void): void;
320
+ listMembersOfAddressList(args: ListMembersOfAddressListCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListMembersOfAddressListCommandOutput) => void): void;
247
321
  /**
248
322
  * @see {@link ListRelaysCommand}
249
323
  */
@@ -271,6 +345,18 @@ export interface MailManager {
271
345
  listTrafficPolicies(args: ListTrafficPoliciesCommandInput, options?: __HttpHandlerOptions): Promise<ListTrafficPoliciesCommandOutput>;
272
346
  listTrafficPolicies(args: ListTrafficPoliciesCommandInput, cb: (err: any, data?: ListTrafficPoliciesCommandOutput) => void): void;
273
347
  listTrafficPolicies(args: ListTrafficPoliciesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTrafficPoliciesCommandOutput) => void): void;
348
+ /**
349
+ * @see {@link RegisterMemberToAddressListCommand}
350
+ */
351
+ registerMemberToAddressList(args: RegisterMemberToAddressListCommandInput, options?: __HttpHandlerOptions): Promise<RegisterMemberToAddressListCommandOutput>;
352
+ registerMemberToAddressList(args: RegisterMemberToAddressListCommandInput, cb: (err: any, data?: RegisterMemberToAddressListCommandOutput) => void): void;
353
+ registerMemberToAddressList(args: RegisterMemberToAddressListCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RegisterMemberToAddressListCommandOutput) => void): void;
354
+ /**
355
+ * @see {@link StartAddressListImportJobCommand}
356
+ */
357
+ startAddressListImportJob(args: StartAddressListImportJobCommandInput, options?: __HttpHandlerOptions): Promise<StartAddressListImportJobCommandOutput>;
358
+ startAddressListImportJob(args: StartAddressListImportJobCommandInput, cb: (err: any, data?: StartAddressListImportJobCommandOutput) => void): void;
359
+ startAddressListImportJob(args: StartAddressListImportJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartAddressListImportJobCommandOutput) => void): void;
274
360
  /**
275
361
  * @see {@link StartArchiveExportCommand}
276
362
  */
@@ -283,6 +369,12 @@ export interface MailManager {
283
369
  startArchiveSearch(args: StartArchiveSearchCommandInput, options?: __HttpHandlerOptions): Promise<StartArchiveSearchCommandOutput>;
284
370
  startArchiveSearch(args: StartArchiveSearchCommandInput, cb: (err: any, data?: StartArchiveSearchCommandOutput) => void): void;
285
371
  startArchiveSearch(args: StartArchiveSearchCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartArchiveSearchCommandOutput) => void): void;
372
+ /**
373
+ * @see {@link StopAddressListImportJobCommand}
374
+ */
375
+ stopAddressListImportJob(args: StopAddressListImportJobCommandInput, options?: __HttpHandlerOptions): Promise<StopAddressListImportJobCommandOutput>;
376
+ stopAddressListImportJob(args: StopAddressListImportJobCommandInput, cb: (err: any, data?: StopAddressListImportJobCommandOutput) => void): void;
377
+ stopAddressListImportJob(args: StopAddressListImportJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopAddressListImportJobCommandOutput) => void): void;
286
378
  /**
287
379
  * @see {@link StopArchiveExportCommand}
288
380
  */
@@ -9,6 +9,8 @@ import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalc
9
9
  import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
10
  import { CreateAddonInstanceCommandInput, CreateAddonInstanceCommandOutput } from "./commands/CreateAddonInstanceCommand";
11
11
  import { CreateAddonSubscriptionCommandInput, CreateAddonSubscriptionCommandOutput } from "./commands/CreateAddonSubscriptionCommand";
12
+ import { CreateAddressListCommandInput, CreateAddressListCommandOutput } from "./commands/CreateAddressListCommand";
13
+ import { CreateAddressListImportJobCommandInput, CreateAddressListImportJobCommandOutput } from "./commands/CreateAddressListImportJobCommand";
12
14
  import { CreateArchiveCommandInput, CreateArchiveCommandOutput } from "./commands/CreateArchiveCommand";
13
15
  import { CreateIngressPointCommandInput, CreateIngressPointCommandOutput } from "./commands/CreateIngressPointCommand";
14
16
  import { CreateRelayCommandInput, CreateRelayCommandOutput } from "./commands/CreateRelayCommand";
@@ -16,13 +18,17 @@ import { CreateRuleSetCommandInput, CreateRuleSetCommandOutput } from "./command
16
18
  import { CreateTrafficPolicyCommandInput, CreateTrafficPolicyCommandOutput } from "./commands/CreateTrafficPolicyCommand";
17
19
  import { DeleteAddonInstanceCommandInput, DeleteAddonInstanceCommandOutput } from "./commands/DeleteAddonInstanceCommand";
18
20
  import { DeleteAddonSubscriptionCommandInput, DeleteAddonSubscriptionCommandOutput } from "./commands/DeleteAddonSubscriptionCommand";
21
+ import { DeleteAddressListCommandInput, DeleteAddressListCommandOutput } from "./commands/DeleteAddressListCommand";
19
22
  import { DeleteArchiveCommandInput, DeleteArchiveCommandOutput } from "./commands/DeleteArchiveCommand";
20
23
  import { DeleteIngressPointCommandInput, DeleteIngressPointCommandOutput } from "./commands/DeleteIngressPointCommand";
21
24
  import { DeleteRelayCommandInput, DeleteRelayCommandOutput } from "./commands/DeleteRelayCommand";
22
25
  import { DeleteRuleSetCommandInput, DeleteRuleSetCommandOutput } from "./commands/DeleteRuleSetCommand";
23
26
  import { DeleteTrafficPolicyCommandInput, DeleteTrafficPolicyCommandOutput } from "./commands/DeleteTrafficPolicyCommand";
27
+ import { DeregisterMemberFromAddressListCommandInput, DeregisterMemberFromAddressListCommandOutput } from "./commands/DeregisterMemberFromAddressListCommand";
24
28
  import { GetAddonInstanceCommandInput, GetAddonInstanceCommandOutput } from "./commands/GetAddonInstanceCommand";
25
29
  import { GetAddonSubscriptionCommandInput, GetAddonSubscriptionCommandOutput } from "./commands/GetAddonSubscriptionCommand";
30
+ import { GetAddressListCommandInput, GetAddressListCommandOutput } from "./commands/GetAddressListCommand";
31
+ import { GetAddressListImportJobCommandInput, GetAddressListImportJobCommandOutput } from "./commands/GetAddressListImportJobCommand";
26
32
  import { GetArchiveCommandInput, GetArchiveCommandOutput } from "./commands/GetArchiveCommand";
27
33
  import { GetArchiveExportCommandInput, GetArchiveExportCommandOutput } from "./commands/GetArchiveExportCommand";
28
34
  import { GetArchiveMessageCommandInput, GetArchiveMessageCommandOutput } from "./commands/GetArchiveMessageCommand";
@@ -30,21 +36,28 @@ import { GetArchiveMessageContentCommandInput, GetArchiveMessageContentCommandOu
30
36
  import { GetArchiveSearchCommandInput, GetArchiveSearchCommandOutput } from "./commands/GetArchiveSearchCommand";
31
37
  import { GetArchiveSearchResultsCommandInput, GetArchiveSearchResultsCommandOutput } from "./commands/GetArchiveSearchResultsCommand";
32
38
  import { GetIngressPointCommandInput, GetIngressPointCommandOutput } from "./commands/GetIngressPointCommand";
39
+ import { GetMemberOfAddressListCommandInput, GetMemberOfAddressListCommandOutput } from "./commands/GetMemberOfAddressListCommand";
33
40
  import { GetRelayCommandInput, GetRelayCommandOutput } from "./commands/GetRelayCommand";
34
41
  import { GetRuleSetCommandInput, GetRuleSetCommandOutput } from "./commands/GetRuleSetCommand";
35
42
  import { GetTrafficPolicyCommandInput, GetTrafficPolicyCommandOutput } from "./commands/GetTrafficPolicyCommand";
36
43
  import { ListAddonInstancesCommandInput, ListAddonInstancesCommandOutput } from "./commands/ListAddonInstancesCommand";
37
44
  import { ListAddonSubscriptionsCommandInput, ListAddonSubscriptionsCommandOutput } from "./commands/ListAddonSubscriptionsCommand";
45
+ import { ListAddressListImportJobsCommandInput, ListAddressListImportJobsCommandOutput } from "./commands/ListAddressListImportJobsCommand";
46
+ import { ListAddressListsCommandInput, ListAddressListsCommandOutput } from "./commands/ListAddressListsCommand";
38
47
  import { ListArchiveExportsCommandInput, ListArchiveExportsCommandOutput } from "./commands/ListArchiveExportsCommand";
39
48
  import { ListArchivesCommandInput, ListArchivesCommandOutput } from "./commands/ListArchivesCommand";
40
49
  import { ListArchiveSearchesCommandInput, ListArchiveSearchesCommandOutput } from "./commands/ListArchiveSearchesCommand";
41
50
  import { ListIngressPointsCommandInput, ListIngressPointsCommandOutput } from "./commands/ListIngressPointsCommand";
51
+ import { ListMembersOfAddressListCommandInput, ListMembersOfAddressListCommandOutput } from "./commands/ListMembersOfAddressListCommand";
42
52
  import { ListRelaysCommandInput, ListRelaysCommandOutput } from "./commands/ListRelaysCommand";
43
53
  import { ListRuleSetsCommandInput, ListRuleSetsCommandOutput } from "./commands/ListRuleSetsCommand";
44
54
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
45
55
  import { ListTrafficPoliciesCommandInput, ListTrafficPoliciesCommandOutput } from "./commands/ListTrafficPoliciesCommand";
56
+ import { RegisterMemberToAddressListCommandInput, RegisterMemberToAddressListCommandOutput } from "./commands/RegisterMemberToAddressListCommand";
57
+ import { StartAddressListImportJobCommandInput, StartAddressListImportJobCommandOutput } from "./commands/StartAddressListImportJobCommand";
46
58
  import { StartArchiveExportCommandInput, StartArchiveExportCommandOutput } from "./commands/StartArchiveExportCommand";
47
59
  import { StartArchiveSearchCommandInput, StartArchiveSearchCommandOutput } from "./commands/StartArchiveSearchCommand";
60
+ import { StopAddressListImportJobCommandInput, StopAddressListImportJobCommandOutput } from "./commands/StopAddressListImportJobCommand";
48
61
  import { StopArchiveExportCommandInput, StopArchiveExportCommandOutput } from "./commands/StopArchiveExportCommand";
49
62
  import { StopArchiveSearchCommandInput, StopArchiveSearchCommandOutput } from "./commands/StopArchiveSearchCommand";
50
63
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
@@ -60,11 +73,11 @@ export { __Client };
60
73
  /**
61
74
  * @public
62
75
  */
63
- export type ServiceInputTypes = CreateAddonInstanceCommandInput | CreateAddonSubscriptionCommandInput | CreateArchiveCommandInput | CreateIngressPointCommandInput | CreateRelayCommandInput | CreateRuleSetCommandInput | CreateTrafficPolicyCommandInput | DeleteAddonInstanceCommandInput | DeleteAddonSubscriptionCommandInput | DeleteArchiveCommandInput | DeleteIngressPointCommandInput | DeleteRelayCommandInput | DeleteRuleSetCommandInput | DeleteTrafficPolicyCommandInput | GetAddonInstanceCommandInput | GetAddonSubscriptionCommandInput | GetArchiveCommandInput | GetArchiveExportCommandInput | GetArchiveMessageCommandInput | GetArchiveMessageContentCommandInput | GetArchiveSearchCommandInput | GetArchiveSearchResultsCommandInput | GetIngressPointCommandInput | GetRelayCommandInput | GetRuleSetCommandInput | GetTrafficPolicyCommandInput | ListAddonInstancesCommandInput | ListAddonSubscriptionsCommandInput | ListArchiveExportsCommandInput | ListArchiveSearchesCommandInput | ListArchivesCommandInput | ListIngressPointsCommandInput | ListRelaysCommandInput | ListRuleSetsCommandInput | ListTagsForResourceCommandInput | ListTrafficPoliciesCommandInput | StartArchiveExportCommandInput | StartArchiveSearchCommandInput | StopArchiveExportCommandInput | StopArchiveSearchCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateArchiveCommandInput | UpdateIngressPointCommandInput | UpdateRelayCommandInput | UpdateRuleSetCommandInput | UpdateTrafficPolicyCommandInput;
76
+ export type ServiceInputTypes = CreateAddonInstanceCommandInput | CreateAddonSubscriptionCommandInput | CreateAddressListCommandInput | CreateAddressListImportJobCommandInput | CreateArchiveCommandInput | CreateIngressPointCommandInput | CreateRelayCommandInput | CreateRuleSetCommandInput | CreateTrafficPolicyCommandInput | DeleteAddonInstanceCommandInput | DeleteAddonSubscriptionCommandInput | DeleteAddressListCommandInput | DeleteArchiveCommandInput | DeleteIngressPointCommandInput | DeleteRelayCommandInput | DeleteRuleSetCommandInput | DeleteTrafficPolicyCommandInput | DeregisterMemberFromAddressListCommandInput | GetAddonInstanceCommandInput | GetAddonSubscriptionCommandInput | GetAddressListCommandInput | GetAddressListImportJobCommandInput | GetArchiveCommandInput | GetArchiveExportCommandInput | GetArchiveMessageCommandInput | GetArchiveMessageContentCommandInput | GetArchiveSearchCommandInput | GetArchiveSearchResultsCommandInput | GetIngressPointCommandInput | GetMemberOfAddressListCommandInput | GetRelayCommandInput | GetRuleSetCommandInput | GetTrafficPolicyCommandInput | ListAddonInstancesCommandInput | ListAddonSubscriptionsCommandInput | ListAddressListImportJobsCommandInput | ListAddressListsCommandInput | ListArchiveExportsCommandInput | ListArchiveSearchesCommandInput | ListArchivesCommandInput | ListIngressPointsCommandInput | ListMembersOfAddressListCommandInput | ListRelaysCommandInput | ListRuleSetsCommandInput | ListTagsForResourceCommandInput | ListTrafficPoliciesCommandInput | RegisterMemberToAddressListCommandInput | StartAddressListImportJobCommandInput | StartArchiveExportCommandInput | StartArchiveSearchCommandInput | StopAddressListImportJobCommandInput | StopArchiveExportCommandInput | StopArchiveSearchCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateArchiveCommandInput | UpdateIngressPointCommandInput | UpdateRelayCommandInput | UpdateRuleSetCommandInput | UpdateTrafficPolicyCommandInput;
64
77
  /**
65
78
  * @public
66
79
  */
67
- export type ServiceOutputTypes = CreateAddonInstanceCommandOutput | CreateAddonSubscriptionCommandOutput | CreateArchiveCommandOutput | CreateIngressPointCommandOutput | CreateRelayCommandOutput | CreateRuleSetCommandOutput | CreateTrafficPolicyCommandOutput | DeleteAddonInstanceCommandOutput | DeleteAddonSubscriptionCommandOutput | DeleteArchiveCommandOutput | DeleteIngressPointCommandOutput | DeleteRelayCommandOutput | DeleteRuleSetCommandOutput | DeleteTrafficPolicyCommandOutput | GetAddonInstanceCommandOutput | GetAddonSubscriptionCommandOutput | GetArchiveCommandOutput | GetArchiveExportCommandOutput | GetArchiveMessageCommandOutput | GetArchiveMessageContentCommandOutput | GetArchiveSearchCommandOutput | GetArchiveSearchResultsCommandOutput | GetIngressPointCommandOutput | GetRelayCommandOutput | GetRuleSetCommandOutput | GetTrafficPolicyCommandOutput | ListAddonInstancesCommandOutput | ListAddonSubscriptionsCommandOutput | ListArchiveExportsCommandOutput | ListArchiveSearchesCommandOutput | ListArchivesCommandOutput | ListIngressPointsCommandOutput | ListRelaysCommandOutput | ListRuleSetsCommandOutput | ListTagsForResourceCommandOutput | ListTrafficPoliciesCommandOutput | StartArchiveExportCommandOutput | StartArchiveSearchCommandOutput | StopArchiveExportCommandOutput | StopArchiveSearchCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateArchiveCommandOutput | UpdateIngressPointCommandOutput | UpdateRelayCommandOutput | UpdateRuleSetCommandOutput | UpdateTrafficPolicyCommandOutput;
80
+ export type ServiceOutputTypes = CreateAddonInstanceCommandOutput | CreateAddonSubscriptionCommandOutput | CreateAddressListCommandOutput | CreateAddressListImportJobCommandOutput | CreateArchiveCommandOutput | CreateIngressPointCommandOutput | CreateRelayCommandOutput | CreateRuleSetCommandOutput | CreateTrafficPolicyCommandOutput | DeleteAddonInstanceCommandOutput | DeleteAddonSubscriptionCommandOutput | DeleteAddressListCommandOutput | DeleteArchiveCommandOutput | DeleteIngressPointCommandOutput | DeleteRelayCommandOutput | DeleteRuleSetCommandOutput | DeleteTrafficPolicyCommandOutput | DeregisterMemberFromAddressListCommandOutput | GetAddonInstanceCommandOutput | GetAddonSubscriptionCommandOutput | GetAddressListCommandOutput | GetAddressListImportJobCommandOutput | GetArchiveCommandOutput | GetArchiveExportCommandOutput | GetArchiveMessageCommandOutput | GetArchiveMessageContentCommandOutput | GetArchiveSearchCommandOutput | GetArchiveSearchResultsCommandOutput | GetIngressPointCommandOutput | GetMemberOfAddressListCommandOutput | GetRelayCommandOutput | GetRuleSetCommandOutput | GetTrafficPolicyCommandOutput | ListAddonInstancesCommandOutput | ListAddonSubscriptionsCommandOutput | ListAddressListImportJobsCommandOutput | ListAddressListsCommandOutput | ListArchiveExportsCommandOutput | ListArchiveSearchesCommandOutput | ListArchivesCommandOutput | ListIngressPointsCommandOutput | ListMembersOfAddressListCommandOutput | ListRelaysCommandOutput | ListRuleSetsCommandOutput | ListTagsForResourceCommandOutput | ListTrafficPoliciesCommandOutput | RegisterMemberToAddressListCommandOutput | StartAddressListImportJobCommandOutput | StartArchiveExportCommandOutput | StartArchiveSearchCommandOutput | StopAddressListImportJobCommandOutput | StopArchiveExportCommandOutput | StopArchiveSearchCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateArchiveCommandOutput | UpdateIngressPointCommandOutput | UpdateRelayCommandOutput | UpdateRuleSetCommandOutput | UpdateTrafficPolicyCommandOutput;
68
81
  /**
69
82
  * @public
70
83
  */
@@ -0,0 +1,93 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { MailManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MailManagerClient";
4
+ import { CreateAddressListRequest, CreateAddressListResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateAddressListCommand}.
14
+ */
15
+ export interface CreateAddressListCommandInput extends CreateAddressListRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateAddressListCommand}.
21
+ */
22
+ export interface CreateAddressListCommandOutput extends CreateAddressListResponse, __MetadataBearer {
23
+ }
24
+ declare const CreateAddressListCommand_base: {
25
+ new (input: CreateAddressListCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAddressListCommandInput, CreateAddressListCommandOutput, MailManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: CreateAddressListCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAddressListCommandInput, CreateAddressListCommandOutput, MailManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Creates a new address list.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { MailManagerClient, CreateAddressListCommand } from "@aws-sdk/client-mailmanager"; // ES Modules import
35
+ * // const { MailManagerClient, CreateAddressListCommand } = require("@aws-sdk/client-mailmanager"); // CommonJS import
36
+ * const client = new MailManagerClient(config);
37
+ * const input = { // CreateAddressListRequest
38
+ * ClientToken: "STRING_VALUE",
39
+ * AddressListName: "STRING_VALUE", // required
40
+ * Tags: [ // TagList
41
+ * { // Tag
42
+ * Key: "STRING_VALUE", // required
43
+ * Value: "STRING_VALUE", // required
44
+ * },
45
+ * ],
46
+ * };
47
+ * const command = new CreateAddressListCommand(input);
48
+ * const response = await client.send(command);
49
+ * // { // CreateAddressListResponse
50
+ * // AddressListId: "STRING_VALUE", // required
51
+ * // };
52
+ *
53
+ * ```
54
+ *
55
+ * @param CreateAddressListCommandInput - {@link CreateAddressListCommandInput}
56
+ * @returns {@link CreateAddressListCommandOutput}
57
+ * @see {@link CreateAddressListCommandInput} for command's `input` shape.
58
+ * @see {@link CreateAddressListCommandOutput} for command's `response` shape.
59
+ * @see {@link MailManagerClientResolvedConfig | config} for MailManagerClient's `config` shape.
60
+ *
61
+ * @throws {@link AccessDeniedException} (client fault)
62
+ * <p>Occurs when a user is denied access to a specific resource or action.</p>
63
+ *
64
+ * @throws {@link ConflictException} (client fault)
65
+ * <p>The request configuration has conflicts. For details, see the accompanying error message.</p>
66
+ *
67
+ * @throws {@link ServiceQuotaExceededException} (client fault)
68
+ * <p>Occurs when an operation exceeds a predefined service quota or limit.</p>
69
+ *
70
+ * @throws {@link ThrottlingException} (client fault)
71
+ * <p>Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.</p>
72
+ *
73
+ * @throws {@link ValidationException} (client fault)
74
+ * <p>The request validation has failed. For details, see the accompanying error message.</p>
75
+ *
76
+ * @throws {@link MailManagerServiceException}
77
+ * <p>Base exception class for all service exceptions from MailManager service.</p>
78
+ *
79
+ * @public
80
+ */
81
+ export declare class CreateAddressListCommand extends CreateAddressListCommand_base {
82
+ /** @internal type navigation helper, not in runtime. */
83
+ protected static __types: {
84
+ api: {
85
+ input: CreateAddressListRequest;
86
+ output: CreateAddressListResponse;
87
+ };
88
+ sdk: {
89
+ input: CreateAddressListCommandInput;
90
+ output: CreateAddressListCommandOutput;
91
+ };
92
+ };
93
+ }
@@ -0,0 +1,89 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { MailManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MailManagerClient";
4
+ import { CreateAddressListImportJobRequest, CreateAddressListImportJobResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateAddressListImportJobCommand}.
14
+ */
15
+ export interface CreateAddressListImportJobCommandInput extends CreateAddressListImportJobRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateAddressListImportJobCommand}.
21
+ */
22
+ export interface CreateAddressListImportJobCommandOutput extends CreateAddressListImportJobResponse, __MetadataBearer {
23
+ }
24
+ declare const CreateAddressListImportJobCommand_base: {
25
+ new (input: CreateAddressListImportJobCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAddressListImportJobCommandInput, CreateAddressListImportJobCommandOutput, MailManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: CreateAddressListImportJobCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAddressListImportJobCommandInput, CreateAddressListImportJobCommandOutput, MailManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Creates an import job for an address list.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { MailManagerClient, CreateAddressListImportJobCommand } from "@aws-sdk/client-mailmanager"; // ES Modules import
35
+ * // const { MailManagerClient, CreateAddressListImportJobCommand } = require("@aws-sdk/client-mailmanager"); // CommonJS import
36
+ * const client = new MailManagerClient(config);
37
+ * const input = { // CreateAddressListImportJobRequest
38
+ * ClientToken: "STRING_VALUE",
39
+ * AddressListId: "STRING_VALUE", // required
40
+ * Name: "STRING_VALUE", // required
41
+ * ImportDataFormat: { // ImportDataFormat
42
+ * ImportDataType: "CSV" || "JSON", // required
43
+ * },
44
+ * };
45
+ * const command = new CreateAddressListImportJobCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // CreateAddressListImportJobResponse
48
+ * // JobId: "STRING_VALUE", // required
49
+ * // PreSignedUrl: "STRING_VALUE", // required
50
+ * // };
51
+ *
52
+ * ```
53
+ *
54
+ * @param CreateAddressListImportJobCommandInput - {@link CreateAddressListImportJobCommandInput}
55
+ * @returns {@link CreateAddressListImportJobCommandOutput}
56
+ * @see {@link CreateAddressListImportJobCommandInput} for command's `input` shape.
57
+ * @see {@link CreateAddressListImportJobCommandOutput} for command's `response` shape.
58
+ * @see {@link MailManagerClientResolvedConfig | config} for MailManagerClient's `config` shape.
59
+ *
60
+ * @throws {@link AccessDeniedException} (client fault)
61
+ * <p>Occurs when a user is denied access to a specific resource or action.</p>
62
+ *
63
+ * @throws {@link ResourceNotFoundException} (client fault)
64
+ * <p>Occurs when a requested resource is not found.</p>
65
+ *
66
+ * @throws {@link ThrottlingException} (client fault)
67
+ * <p>Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.</p>
68
+ *
69
+ * @throws {@link ValidationException} (client fault)
70
+ * <p>The request validation has failed. For details, see the accompanying error message.</p>
71
+ *
72
+ * @throws {@link MailManagerServiceException}
73
+ * <p>Base exception class for all service exceptions from MailManager service.</p>
74
+ *
75
+ * @public
76
+ */
77
+ export declare class CreateAddressListImportJobCommand extends CreateAddressListImportJobCommand_base {
78
+ /** @internal type navigation helper, not in runtime. */
79
+ protected static __types: {
80
+ api: {
81
+ input: CreateAddressListImportJobRequest;
82
+ output: CreateAddressListImportJobResponse;
83
+ };
84
+ sdk: {
85
+ input: CreateAddressListImportJobCommandInput;
86
+ output: CreateAddressListImportJobCommandOutput;
87
+ };
88
+ };
89
+ }
@@ -45,6 +45,12 @@ declare const CreateRuleSetCommand_base: {
45
45
  * BooleanExpression: { // RuleBooleanExpression
46
46
  * Evaluate: { // RuleBooleanToEvaluate Union: only one key present
47
47
  * Attribute: "READ_RECEIPT_REQUESTED" || "TLS" || "TLS_WRAPPED",
48
+ * IsInAddressList: { // RuleIsInAddressList
49
+ * Attribute: "RECIPIENT" || "MAIL_FROM" || "SENDER" || "FROM" || "TO" || "CC", // required
50
+ * AddressLists: [ // RuleAddressListArnList // required
51
+ * "STRING_VALUE",
52
+ * ],
53
+ * },
48
54
  * },
49
55
  * Operator: "IS_TRUE" || "IS_FALSE", // required
50
56
  * },
@@ -100,6 +106,12 @@ declare const CreateRuleSetCommand_base: {
100
106
  * BooleanExpression: {
101
107
  * Evaluate: {// Union: only one key present
102
108
  * Attribute: "READ_RECEIPT_REQUESTED" || "TLS" || "TLS_WRAPPED",
109
+ * IsInAddressList: {
110
+ * Attribute: "RECIPIENT" || "MAIL_FROM" || "SENDER" || "FROM" || "TO" || "CC", // required
111
+ * AddressLists: [ // required
112
+ * "STRING_VALUE",
113
+ * ],
114
+ * },
103
115
  * },
104
116
  * Operator: "IS_TRUE" || "IS_FALSE", // required
105
117
  * },
@@ -72,6 +72,12 @@ declare const CreateTrafficPolicyCommand_base: {
72
72
  * Analyzer: "STRING_VALUE", // required
73
73
  * ResultField: "STRING_VALUE", // required
74
74
  * },
75
+ * IsInAddressList: { // IngressIsInAddressList
76
+ * Attribute: "RECIPIENT", // required
77
+ * AddressLists: [ // IngressAddressListArnList // required
78
+ * "STRING_VALUE",
79
+ * ],
80
+ * },
75
81
  * },
76
82
  * Operator: "IS_TRUE" || "IS_FALSE", // required
77
83
  * },
@@ -0,0 +1,78 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { MailManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MailManagerClient";
4
+ import { DeleteAddressListRequest, DeleteAddressListResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteAddressListCommand}.
14
+ */
15
+ export interface DeleteAddressListCommandInput extends DeleteAddressListRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteAddressListCommand}.
21
+ */
22
+ export interface DeleteAddressListCommandOutput extends DeleteAddressListResponse, __MetadataBearer {
23
+ }
24
+ declare const DeleteAddressListCommand_base: {
25
+ new (input: DeleteAddressListCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAddressListCommandInput, DeleteAddressListCommandOutput, MailManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: DeleteAddressListCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAddressListCommandInput, DeleteAddressListCommandOutput, MailManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Deletes an address list.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { MailManagerClient, DeleteAddressListCommand } from "@aws-sdk/client-mailmanager"; // ES Modules import
35
+ * // const { MailManagerClient, DeleteAddressListCommand } = require("@aws-sdk/client-mailmanager"); // CommonJS import
36
+ * const client = new MailManagerClient(config);
37
+ * const input = { // DeleteAddressListRequest
38
+ * AddressListId: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new DeleteAddressListCommand(input);
41
+ * const response = await client.send(command);
42
+ * // {};
43
+ *
44
+ * ```
45
+ *
46
+ * @param DeleteAddressListCommandInput - {@link DeleteAddressListCommandInput}
47
+ * @returns {@link DeleteAddressListCommandOutput}
48
+ * @see {@link DeleteAddressListCommandInput} for command's `input` shape.
49
+ * @see {@link DeleteAddressListCommandOutput} for command's `response` shape.
50
+ * @see {@link MailManagerClientResolvedConfig | config} for MailManagerClient's `config` shape.
51
+ *
52
+ * @throws {@link AccessDeniedException} (client fault)
53
+ * <p>Occurs when a user is denied access to a specific resource or action.</p>
54
+ *
55
+ * @throws {@link ConflictException} (client fault)
56
+ * <p>The request configuration has conflicts. For details, see the accompanying error message.</p>
57
+ *
58
+ * @throws {@link ThrottlingException} (client fault)
59
+ * <p>Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.</p>
60
+ *
61
+ * @throws {@link MailManagerServiceException}
62
+ * <p>Base exception class for all service exceptions from MailManager service.</p>
63
+ *
64
+ * @public
65
+ */
66
+ export declare class DeleteAddressListCommand extends DeleteAddressListCommand_base {
67
+ /** @internal type navigation helper, not in runtime. */
68
+ protected static __types: {
69
+ api: {
70
+ input: DeleteAddressListRequest;
71
+ output: {};
72
+ };
73
+ sdk: {
74
+ input: DeleteAddressListCommandInput;
75
+ output: DeleteAddressListCommandOutput;
76
+ };
77
+ };
78
+ }