@aws-sdk/client-mailmanager 3.731.1 → 3.738.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 +33 -33
@@ -16,6 +16,18 @@ export const se_CreateAddonSubscriptionCommand = async (input, context) => {
16
16
  body = JSON.stringify(se_CreateAddonSubscriptionRequest(input, context));
17
17
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
18
18
  };
19
+ export const se_CreateAddressListCommand = async (input, context) => {
20
+ const headers = sharedHeaders("CreateAddressList");
21
+ let body;
22
+ body = JSON.stringify(se_CreateAddressListRequest(input, context));
23
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
24
+ };
25
+ export const se_CreateAddressListImportJobCommand = async (input, context) => {
26
+ const headers = sharedHeaders("CreateAddressListImportJob");
27
+ let body;
28
+ body = JSON.stringify(se_CreateAddressListImportJobRequest(input, context));
29
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
30
+ };
19
31
  export const se_CreateArchiveCommand = async (input, context) => {
20
32
  const headers = sharedHeaders("CreateArchive");
21
33
  let body;
@@ -58,6 +70,12 @@ export const se_DeleteAddonSubscriptionCommand = async (input, context) => {
58
70
  body = JSON.stringify(_json(input));
59
71
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
60
72
  };
73
+ export const se_DeleteAddressListCommand = async (input, context) => {
74
+ const headers = sharedHeaders("DeleteAddressList");
75
+ let body;
76
+ body = JSON.stringify(_json(input));
77
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
78
+ };
61
79
  export const se_DeleteArchiveCommand = async (input, context) => {
62
80
  const headers = sharedHeaders("DeleteArchive");
63
81
  let body;
@@ -88,6 +106,12 @@ export const se_DeleteTrafficPolicyCommand = async (input, context) => {
88
106
  body = JSON.stringify(_json(input));
89
107
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
90
108
  };
109
+ export const se_DeregisterMemberFromAddressListCommand = async (input, context) => {
110
+ const headers = sharedHeaders("DeregisterMemberFromAddressList");
111
+ let body;
112
+ body = JSON.stringify(_json(input));
113
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
114
+ };
91
115
  export const se_GetAddonInstanceCommand = async (input, context) => {
92
116
  const headers = sharedHeaders("GetAddonInstance");
93
117
  let body;
@@ -100,6 +124,18 @@ export const se_GetAddonSubscriptionCommand = async (input, context) => {
100
124
  body = JSON.stringify(_json(input));
101
125
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
102
126
  };
127
+ export const se_GetAddressListCommand = async (input, context) => {
128
+ const headers = sharedHeaders("GetAddressList");
129
+ let body;
130
+ body = JSON.stringify(_json(input));
131
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
132
+ };
133
+ export const se_GetAddressListImportJobCommand = async (input, context) => {
134
+ const headers = sharedHeaders("GetAddressListImportJob");
135
+ let body;
136
+ body = JSON.stringify(_json(input));
137
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
138
+ };
103
139
  export const se_GetArchiveCommand = async (input, context) => {
104
140
  const headers = sharedHeaders("GetArchive");
105
141
  let body;
@@ -142,6 +178,12 @@ export const se_GetIngressPointCommand = async (input, context) => {
142
178
  body = JSON.stringify(_json(input));
143
179
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
144
180
  };
181
+ export const se_GetMemberOfAddressListCommand = async (input, context) => {
182
+ const headers = sharedHeaders("GetMemberOfAddressList");
183
+ let body;
184
+ body = JSON.stringify(_json(input));
185
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
186
+ };
145
187
  export const se_GetRelayCommand = async (input, context) => {
146
188
  const headers = sharedHeaders("GetRelay");
147
189
  let body;
@@ -172,6 +214,18 @@ export const se_ListAddonSubscriptionsCommand = async (input, context) => {
172
214
  body = JSON.stringify(_json(input));
173
215
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
174
216
  };
217
+ export const se_ListAddressListImportJobsCommand = async (input, context) => {
218
+ const headers = sharedHeaders("ListAddressListImportJobs");
219
+ let body;
220
+ body = JSON.stringify(_json(input));
221
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
222
+ };
223
+ export const se_ListAddressListsCommand = async (input, context) => {
224
+ const headers = sharedHeaders("ListAddressLists");
225
+ let body;
226
+ body = JSON.stringify(_json(input));
227
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
228
+ };
175
229
  export const se_ListArchiveExportsCommand = async (input, context) => {
176
230
  const headers = sharedHeaders("ListArchiveExports");
177
231
  let body;
@@ -196,6 +250,12 @@ export const se_ListIngressPointsCommand = async (input, context) => {
196
250
  body = JSON.stringify(_json(input));
197
251
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
198
252
  };
253
+ export const se_ListMembersOfAddressListCommand = async (input, context) => {
254
+ const headers = sharedHeaders("ListMembersOfAddressList");
255
+ let body;
256
+ body = JSON.stringify(_json(input));
257
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
258
+ };
199
259
  export const se_ListRelaysCommand = async (input, context) => {
200
260
  const headers = sharedHeaders("ListRelays");
201
261
  let body;
@@ -220,6 +280,18 @@ export const se_ListTrafficPoliciesCommand = async (input, context) => {
220
280
  body = JSON.stringify(_json(input));
221
281
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
222
282
  };
283
+ export const se_RegisterMemberToAddressListCommand = async (input, context) => {
284
+ const headers = sharedHeaders("RegisterMemberToAddressList");
285
+ let body;
286
+ body = JSON.stringify(_json(input));
287
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
288
+ };
289
+ export const se_StartAddressListImportJobCommand = async (input, context) => {
290
+ const headers = sharedHeaders("StartAddressListImportJob");
291
+ let body;
292
+ body = JSON.stringify(_json(input));
293
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
294
+ };
223
295
  export const se_StartArchiveExportCommand = async (input, context) => {
224
296
  const headers = sharedHeaders("StartArchiveExport");
225
297
  let body;
@@ -232,6 +304,12 @@ export const se_StartArchiveSearchCommand = async (input, context) => {
232
304
  body = JSON.stringify(se_StartArchiveSearchRequest(input, context));
233
305
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
234
306
  };
307
+ export const se_StopAddressListImportJobCommand = async (input, context) => {
308
+ const headers = sharedHeaders("StopAddressListImportJob");
309
+ let body;
310
+ body = JSON.stringify(_json(input));
311
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
312
+ };
235
313
  export const se_StopArchiveExportCommand = async (input, context) => {
236
314
  const headers = sharedHeaders("StopArchiveExport");
237
315
  let body;
@@ -312,6 +390,32 @@ export const de_CreateAddonSubscriptionCommand = async (output, context) => {
312
390
  };
313
391
  return response;
314
392
  };
393
+ export const de_CreateAddressListCommand = async (output, context) => {
394
+ if (output.statusCode >= 300) {
395
+ return de_CommandError(output, context);
396
+ }
397
+ const data = await parseBody(output.body, context);
398
+ let contents = {};
399
+ contents = _json(data);
400
+ const response = {
401
+ $metadata: deserializeMetadata(output),
402
+ ...contents,
403
+ };
404
+ return response;
405
+ };
406
+ export const de_CreateAddressListImportJobCommand = async (output, context) => {
407
+ if (output.statusCode >= 300) {
408
+ return de_CommandError(output, context);
409
+ }
410
+ const data = await parseBody(output.body, context);
411
+ let contents = {};
412
+ contents = _json(data);
413
+ const response = {
414
+ $metadata: deserializeMetadata(output),
415
+ ...contents,
416
+ };
417
+ return response;
418
+ };
315
419
  export const de_CreateArchiveCommand = async (output, context) => {
316
420
  if (output.statusCode >= 300) {
317
421
  return de_CommandError(output, context);
@@ -403,6 +507,19 @@ export const de_DeleteAddonSubscriptionCommand = async (output, context) => {
403
507
  };
404
508
  return response;
405
509
  };
510
+ export const de_DeleteAddressListCommand = async (output, context) => {
511
+ if (output.statusCode >= 300) {
512
+ return de_CommandError(output, context);
513
+ }
514
+ const data = await parseBody(output.body, context);
515
+ let contents = {};
516
+ contents = _json(data);
517
+ const response = {
518
+ $metadata: deserializeMetadata(output),
519
+ ...contents,
520
+ };
521
+ return response;
522
+ };
406
523
  export const de_DeleteArchiveCommand = async (output, context) => {
407
524
  if (output.statusCode >= 300) {
408
525
  return de_CommandError(output, context);
@@ -468,6 +585,19 @@ export const de_DeleteTrafficPolicyCommand = async (output, context) => {
468
585
  };
469
586
  return response;
470
587
  };
588
+ export const de_DeregisterMemberFromAddressListCommand = async (output, context) => {
589
+ if (output.statusCode >= 300) {
590
+ return de_CommandError(output, context);
591
+ }
592
+ const data = await parseBody(output.body, context);
593
+ let contents = {};
594
+ contents = _json(data);
595
+ const response = {
596
+ $metadata: deserializeMetadata(output),
597
+ ...contents,
598
+ };
599
+ return response;
600
+ };
471
601
  export const de_GetAddonInstanceCommand = async (output, context) => {
472
602
  if (output.statusCode >= 300) {
473
603
  return de_CommandError(output, context);
@@ -494,6 +624,32 @@ export const de_GetAddonSubscriptionCommand = async (output, context) => {
494
624
  };
495
625
  return response;
496
626
  };
627
+ export const de_GetAddressListCommand = async (output, context) => {
628
+ if (output.statusCode >= 300) {
629
+ return de_CommandError(output, context);
630
+ }
631
+ const data = await parseBody(output.body, context);
632
+ let contents = {};
633
+ contents = de_GetAddressListResponse(data, context);
634
+ const response = {
635
+ $metadata: deserializeMetadata(output),
636
+ ...contents,
637
+ };
638
+ return response;
639
+ };
640
+ export const de_GetAddressListImportJobCommand = async (output, context) => {
641
+ if (output.statusCode >= 300) {
642
+ return de_CommandError(output, context);
643
+ }
644
+ const data = await parseBody(output.body, context);
645
+ let contents = {};
646
+ contents = de_GetAddressListImportJobResponse(data, context);
647
+ const response = {
648
+ $metadata: deserializeMetadata(output),
649
+ ...contents,
650
+ };
651
+ return response;
652
+ };
497
653
  export const de_GetArchiveCommand = async (output, context) => {
498
654
  if (output.statusCode >= 300) {
499
655
  return de_CommandError(output, context);
@@ -585,6 +741,19 @@ export const de_GetIngressPointCommand = async (output, context) => {
585
741
  };
586
742
  return response;
587
743
  };
744
+ export const de_GetMemberOfAddressListCommand = async (output, context) => {
745
+ if (output.statusCode >= 300) {
746
+ return de_CommandError(output, context);
747
+ }
748
+ const data = await parseBody(output.body, context);
749
+ let contents = {};
750
+ contents = de_GetMemberOfAddressListResponse(data, context);
751
+ const response = {
752
+ $metadata: deserializeMetadata(output),
753
+ ...contents,
754
+ };
755
+ return response;
756
+ };
588
757
  export const de_GetRelayCommand = async (output, context) => {
589
758
  if (output.statusCode >= 300) {
590
759
  return de_CommandError(output, context);
@@ -650,6 +819,32 @@ export const de_ListAddonSubscriptionsCommand = async (output, context) => {
650
819
  };
651
820
  return response;
652
821
  };
822
+ export const de_ListAddressListImportJobsCommand = async (output, context) => {
823
+ if (output.statusCode >= 300) {
824
+ return de_CommandError(output, context);
825
+ }
826
+ const data = await parseBody(output.body, context);
827
+ let contents = {};
828
+ contents = de_ListAddressListImportJobsResponse(data, context);
829
+ const response = {
830
+ $metadata: deserializeMetadata(output),
831
+ ...contents,
832
+ };
833
+ return response;
834
+ };
835
+ export const de_ListAddressListsCommand = async (output, context) => {
836
+ if (output.statusCode >= 300) {
837
+ return de_CommandError(output, context);
838
+ }
839
+ const data = await parseBody(output.body, context);
840
+ let contents = {};
841
+ contents = de_ListAddressListsResponse(data, context);
842
+ const response = {
843
+ $metadata: deserializeMetadata(output),
844
+ ...contents,
845
+ };
846
+ return response;
847
+ };
653
848
  export const de_ListArchiveExportsCommand = async (output, context) => {
654
849
  if (output.statusCode >= 300) {
655
850
  return de_CommandError(output, context);
@@ -702,6 +897,19 @@ export const de_ListIngressPointsCommand = async (output, context) => {
702
897
  };
703
898
  return response;
704
899
  };
900
+ export const de_ListMembersOfAddressListCommand = async (output, context) => {
901
+ if (output.statusCode >= 300) {
902
+ return de_CommandError(output, context);
903
+ }
904
+ const data = await parseBody(output.body, context);
905
+ let contents = {};
906
+ contents = de_ListMembersOfAddressListResponse(data, context);
907
+ const response = {
908
+ $metadata: deserializeMetadata(output),
909
+ ...contents,
910
+ };
911
+ return response;
912
+ };
705
913
  export const de_ListRelaysCommand = async (output, context) => {
706
914
  if (output.statusCode >= 300) {
707
915
  return de_CommandError(output, context);
@@ -754,6 +962,32 @@ export const de_ListTrafficPoliciesCommand = async (output, context) => {
754
962
  };
755
963
  return response;
756
964
  };
965
+ export const de_RegisterMemberToAddressListCommand = async (output, context) => {
966
+ if (output.statusCode >= 300) {
967
+ return de_CommandError(output, context);
968
+ }
969
+ const data = await parseBody(output.body, context);
970
+ let contents = {};
971
+ contents = _json(data);
972
+ const response = {
973
+ $metadata: deserializeMetadata(output),
974
+ ...contents,
975
+ };
976
+ return response;
977
+ };
978
+ export const de_StartAddressListImportJobCommand = async (output, context) => {
979
+ if (output.statusCode >= 300) {
980
+ return de_CommandError(output, context);
981
+ }
982
+ const data = await parseBody(output.body, context);
983
+ let contents = {};
984
+ contents = _json(data);
985
+ const response = {
986
+ $metadata: deserializeMetadata(output),
987
+ ...contents,
988
+ };
989
+ return response;
990
+ };
757
991
  export const de_StartArchiveExportCommand = async (output, context) => {
758
992
  if (output.statusCode >= 300) {
759
993
  return de_CommandError(output, context);
@@ -780,6 +1014,19 @@ export const de_StartArchiveSearchCommand = async (output, context) => {
780
1014
  };
781
1015
  return response;
782
1016
  };
1017
+ export const de_StopAddressListImportJobCommand = async (output, context) => {
1018
+ if (output.statusCode >= 300) {
1019
+ return de_CommandError(output, context);
1020
+ }
1021
+ const data = await parseBody(output.body, context);
1022
+ let contents = {};
1023
+ contents = _json(data);
1024
+ const response = {
1025
+ $metadata: deserializeMetadata(output),
1026
+ ...contents,
1027
+ };
1028
+ return response;
1029
+ };
783
1030
  export const de_StopArchiveExportCommand = async (output, context) => {
784
1031
  if (output.statusCode >= 300) {
785
1032
  return de_CommandError(output, context);
@@ -999,6 +1246,21 @@ const se_CreateAddonSubscriptionRequest = (input, context) => {
999
1246
  Tags: _json,
1000
1247
  });
1001
1248
  };
1249
+ const se_CreateAddressListImportJobRequest = (input, context) => {
1250
+ return take(input, {
1251
+ AddressListId: [],
1252
+ ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
1253
+ ImportDataFormat: _json,
1254
+ Name: [],
1255
+ });
1256
+ };
1257
+ const se_CreateAddressListRequest = (input, context) => {
1258
+ return take(input, {
1259
+ AddressListName: [],
1260
+ ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
1261
+ Tags: _json,
1262
+ });
1263
+ };
1002
1264
  const se_CreateArchiveRequest = (input, context) => {
1003
1265
  return take(input, {
1004
1266
  ArchiveName: [],
@@ -1147,6 +1409,23 @@ const de_AddonSubscriptions = (output, context) => {
1147
1409
  });
1148
1410
  return retVal;
1149
1411
  };
1412
+ const de_AddressList = (output, context) => {
1413
+ return take(output, {
1414
+ AddressListArn: __expectString,
1415
+ AddressListId: __expectString,
1416
+ AddressListName: __expectString,
1417
+ CreatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1418
+ LastUpdatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1419
+ });
1420
+ };
1421
+ const de_AddressLists = (output, context) => {
1422
+ const retVal = (output || [])
1423
+ .filter((e) => e != null)
1424
+ .map((entry) => {
1425
+ return de_AddressList(entry, context);
1426
+ });
1427
+ return retVal;
1428
+ };
1150
1429
  const de_Archive = (output, context) => {
1151
1430
  return take(output, {
1152
1431
  ArchiveId: __expectString,
@@ -1200,6 +1479,31 @@ const de_GetAddonSubscriptionResponse = (output, context) => {
1200
1479
  CreatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1201
1480
  });
1202
1481
  };
1482
+ const de_GetAddressListImportJobResponse = (output, context) => {
1483
+ return take(output, {
1484
+ AddressListId: __expectString,
1485
+ CompletedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1486
+ CreatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1487
+ Error: __expectString,
1488
+ FailedItemsCount: __expectInt32,
1489
+ ImportDataFormat: _json,
1490
+ ImportedItemsCount: __expectInt32,
1491
+ JobId: __expectString,
1492
+ Name: __expectString,
1493
+ PreSignedUrl: __expectString,
1494
+ StartTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1495
+ Status: __expectString,
1496
+ });
1497
+ };
1498
+ const de_GetAddressListResponse = (output, context) => {
1499
+ return take(output, {
1500
+ AddressListArn: __expectString,
1501
+ AddressListId: __expectString,
1502
+ AddressListName: __expectString,
1503
+ CreatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1504
+ LastUpdatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1505
+ });
1506
+ };
1203
1507
  const de_GetArchiveExportResponse = (output, context) => {
1204
1508
  return take(output, {
1205
1509
  ArchiveId: __expectString,
@@ -1260,6 +1564,12 @@ const de_GetIngressPointResponse = (output, context) => {
1260
1564
  Type: __expectString,
1261
1565
  });
1262
1566
  };
1567
+ const de_GetMemberOfAddressListResponse = (output, context) => {
1568
+ return take(output, {
1569
+ Address: __expectString,
1570
+ CreatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1571
+ });
1572
+ };
1263
1573
  const de_GetRelayResponse = (output, context) => {
1264
1574
  return take(output, {
1265
1575
  Authentication: (_) => _json(__expectUnion(_)),
@@ -1294,6 +1604,30 @@ const de_GetTrafficPolicyResponse = (output, context) => {
1294
1604
  TrafficPolicyName: __expectString,
1295
1605
  });
1296
1606
  };
1607
+ const de_ImportJob = (output, context) => {
1608
+ return take(output, {
1609
+ AddressListId: __expectString,
1610
+ CompletedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1611
+ CreatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1612
+ Error: __expectString,
1613
+ FailedItemsCount: __expectInt32,
1614
+ ImportDataFormat: _json,
1615
+ ImportedItemsCount: __expectInt32,
1616
+ JobId: __expectString,
1617
+ Name: __expectString,
1618
+ PreSignedUrl: __expectString,
1619
+ StartTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1620
+ Status: __expectString,
1621
+ });
1622
+ };
1623
+ const de_ImportJobs = (output, context) => {
1624
+ const retVal = (output || [])
1625
+ .filter((e) => e != null)
1626
+ .map((entry) => {
1627
+ return de_ImportJob(entry, context);
1628
+ });
1629
+ return retVal;
1630
+ };
1297
1631
  const de_IngressPointAuthConfiguration = (output, context) => {
1298
1632
  return take(output, {
1299
1633
  IngressPointPasswordConfiguration: (_) => de_IngressPointPasswordConfiguration(_, context),
@@ -1319,6 +1653,18 @@ const de_ListAddonSubscriptionsResponse = (output, context) => {
1319
1653
  NextToken: __expectString,
1320
1654
  });
1321
1655
  };
1656
+ const de_ListAddressListImportJobsResponse = (output, context) => {
1657
+ return take(output, {
1658
+ ImportJobs: (_) => de_ImportJobs(_, context),
1659
+ NextToken: __expectString,
1660
+ });
1661
+ };
1662
+ const de_ListAddressListsResponse = (output, context) => {
1663
+ return take(output, {
1664
+ AddressLists: (_) => de_AddressLists(_, context),
1665
+ NextToken: __expectString,
1666
+ });
1667
+ };
1322
1668
  const de_ListArchiveExportsResponse = (output, context) => {
1323
1669
  return take(output, {
1324
1670
  Exports: (_) => de_ExportSummaryList(_, context),
@@ -1337,6 +1683,12 @@ const de_ListArchivesResponse = (output, context) => {
1337
1683
  NextToken: __expectString,
1338
1684
  });
1339
1685
  };
1686
+ const de_ListMembersOfAddressListResponse = (output, context) => {
1687
+ return take(output, {
1688
+ Addresses: (_) => de_SavedAddresses(_, context),
1689
+ NextToken: __expectString,
1690
+ });
1691
+ };
1340
1692
  const de_ListRelaysResponse = (output, context) => {
1341
1693
  return take(output, {
1342
1694
  NextToken: __expectString,
@@ -1485,6 +1837,20 @@ const de_RuleSets = (output, context) => {
1485
1837
  });
1486
1838
  return retVal;
1487
1839
  };
1840
+ const de_SavedAddress = (output, context) => {
1841
+ return take(output, {
1842
+ Address: __expectString,
1843
+ CreatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1844
+ });
1845
+ };
1846
+ const de_SavedAddresses = (output, context) => {
1847
+ const retVal = (output || [])
1848
+ .filter((e) => e != null)
1849
+ .map((entry) => {
1850
+ return de_SavedAddress(entry, context);
1851
+ });
1852
+ return retVal;
1853
+ };
1488
1854
  const de_SearchStatus = (output, context) => {
1489
1855
  return take(output, {
1490
1856
  CompletionTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),