@aws-sdk/client-mailmanager 3.581.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 (311) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +589 -0
  3. package/dist-cjs/MailManager.js +105 -0
  4. package/dist-cjs/MailManagerClient.js +56 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  7. package/dist-cjs/commands/CreateAddonInstanceCommand.js +29 -0
  8. package/dist-cjs/commands/CreateAddonSubscriptionCommand.js +29 -0
  9. package/dist-cjs/commands/CreateArchiveCommand.js +29 -0
  10. package/dist-cjs/commands/CreateIngressPointCommand.js +29 -0
  11. package/dist-cjs/commands/CreateRelayCommand.js +29 -0
  12. package/dist-cjs/commands/CreateRuleSetCommand.js +29 -0
  13. package/dist-cjs/commands/CreateTrafficPolicyCommand.js +29 -0
  14. package/dist-cjs/commands/DeleteAddonInstanceCommand.js +28 -0
  15. package/dist-cjs/commands/DeleteAddonSubscriptionCommand.js +28 -0
  16. package/dist-cjs/commands/DeleteArchiveCommand.js +28 -0
  17. package/dist-cjs/commands/DeleteIngressPointCommand.js +28 -0
  18. package/dist-cjs/commands/DeleteRelayCommand.js +28 -0
  19. package/dist-cjs/commands/DeleteRuleSetCommand.js +28 -0
  20. package/dist-cjs/commands/DeleteTrafficPolicyCommand.js +28 -0
  21. package/dist-cjs/commands/GetAddonInstanceCommand.js +28 -0
  22. package/dist-cjs/commands/GetAddonSubscriptionCommand.js +28 -0
  23. package/dist-cjs/commands/GetArchiveCommand.js +28 -0
  24. package/dist-cjs/commands/GetArchiveExportCommand.js +28 -0
  25. package/dist-cjs/commands/GetArchiveMessageCommand.js +28 -0
  26. package/dist-cjs/commands/GetArchiveMessageContentCommand.js +28 -0
  27. package/dist-cjs/commands/GetArchiveSearchCommand.js +28 -0
  28. package/dist-cjs/commands/GetArchiveSearchResultsCommand.js +28 -0
  29. package/dist-cjs/commands/GetIngressPointCommand.js +28 -0
  30. package/dist-cjs/commands/GetRelayCommand.js +28 -0
  31. package/dist-cjs/commands/GetRuleSetCommand.js +29 -0
  32. package/dist-cjs/commands/GetTrafficPolicyCommand.js +28 -0
  33. package/dist-cjs/commands/ListAddonInstancesCommand.js +28 -0
  34. package/dist-cjs/commands/ListAddonSubscriptionsCommand.js +28 -0
  35. package/dist-cjs/commands/ListArchiveExportsCommand.js +28 -0
  36. package/dist-cjs/commands/ListArchiveSearchesCommand.js +28 -0
  37. package/dist-cjs/commands/ListArchivesCommand.js +28 -0
  38. package/dist-cjs/commands/ListIngressPointsCommand.js +28 -0
  39. package/dist-cjs/commands/ListRelaysCommand.js +28 -0
  40. package/dist-cjs/commands/ListRuleSetsCommand.js +28 -0
  41. package/dist-cjs/commands/ListTagsForResourceCommand.js +29 -0
  42. package/dist-cjs/commands/ListTrafficPoliciesCommand.js +28 -0
  43. package/dist-cjs/commands/StartArchiveExportCommand.js +28 -0
  44. package/dist-cjs/commands/StartArchiveSearchCommand.js +28 -0
  45. package/dist-cjs/commands/StopArchiveExportCommand.js +28 -0
  46. package/dist-cjs/commands/StopArchiveSearchCommand.js +28 -0
  47. package/dist-cjs/commands/TagResourceCommand.js +29 -0
  48. package/dist-cjs/commands/UntagResourceCommand.js +29 -0
  49. package/dist-cjs/commands/UpdateArchiveCommand.js +28 -0
  50. package/dist-cjs/commands/UpdateIngressPointCommand.js +29 -0
  51. package/dist-cjs/commands/UpdateRelayCommand.js +28 -0
  52. package/dist-cjs/commands/UpdateRuleSetCommand.js +29 -0
  53. package/dist-cjs/commands/UpdateTrafficPolicyCommand.js +28 -0
  54. package/dist-cjs/commands/index.js +50 -0
  55. package/dist-cjs/endpoint/EndpointParameters.js +18 -0
  56. package/dist-cjs/endpoint/endpointResolver.js +14 -0
  57. package/dist-cjs/endpoint/ruleset.js +7 -0
  58. package/dist-cjs/extensionConfiguration.js +2 -0
  59. package/dist-cjs/index.js +11 -0
  60. package/dist-cjs/models/MailManagerServiceException.js +12 -0
  61. package/dist-cjs/models/index.js +4 -0
  62. package/dist-cjs/models/models_0.js +582 -0
  63. package/dist-cjs/pagination/Interfaces.js +2 -0
  64. package/dist-cjs/pagination/ListAddonInstancesPaginator.js +7 -0
  65. package/dist-cjs/pagination/ListAddonSubscriptionsPaginator.js +7 -0
  66. package/dist-cjs/pagination/ListArchiveExportsPaginator.js +7 -0
  67. package/dist-cjs/pagination/ListArchiveSearchesPaginator.js +7 -0
  68. package/dist-cjs/pagination/ListArchivesPaginator.js +7 -0
  69. package/dist-cjs/pagination/ListIngressPointsPaginator.js +7 -0
  70. package/dist-cjs/pagination/ListRelaysPaginator.js +7 -0
  71. package/dist-cjs/pagination/ListRuleSetsPaginator.js +7 -0
  72. package/dist-cjs/pagination/ListTrafficPoliciesPaginator.js +7 -0
  73. package/dist-cjs/pagination/index.js +13 -0
  74. package/dist-cjs/protocols/Aws_json1_0.js +1615 -0
  75. package/dist-cjs/runtimeConfig.browser.js +39 -0
  76. package/dist-cjs/runtimeConfig.js +49 -0
  77. package/dist-cjs/runtimeConfig.native.js +15 -0
  78. package/dist-cjs/runtimeConfig.shared.js +34 -0
  79. package/dist-cjs/runtimeExtensions.js +25 -0
  80. package/dist-es/MailManager.js +101 -0
  81. package/dist-es/MailManagerClient.js +52 -0
  82. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  83. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  84. package/dist-es/commands/CreateAddonInstanceCommand.js +25 -0
  85. package/dist-es/commands/CreateAddonSubscriptionCommand.js +25 -0
  86. package/dist-es/commands/CreateArchiveCommand.js +25 -0
  87. package/dist-es/commands/CreateIngressPointCommand.js +25 -0
  88. package/dist-es/commands/CreateRelayCommand.js +25 -0
  89. package/dist-es/commands/CreateRuleSetCommand.js +25 -0
  90. package/dist-es/commands/CreateTrafficPolicyCommand.js +25 -0
  91. package/dist-es/commands/DeleteAddonInstanceCommand.js +24 -0
  92. package/dist-es/commands/DeleteAddonSubscriptionCommand.js +24 -0
  93. package/dist-es/commands/DeleteArchiveCommand.js +24 -0
  94. package/dist-es/commands/DeleteIngressPointCommand.js +24 -0
  95. package/dist-es/commands/DeleteRelayCommand.js +24 -0
  96. package/dist-es/commands/DeleteRuleSetCommand.js +24 -0
  97. package/dist-es/commands/DeleteTrafficPolicyCommand.js +24 -0
  98. package/dist-es/commands/GetAddonInstanceCommand.js +24 -0
  99. package/dist-es/commands/GetAddonSubscriptionCommand.js +24 -0
  100. package/dist-es/commands/GetArchiveCommand.js +24 -0
  101. package/dist-es/commands/GetArchiveExportCommand.js +24 -0
  102. package/dist-es/commands/GetArchiveMessageCommand.js +24 -0
  103. package/dist-es/commands/GetArchiveMessageContentCommand.js +24 -0
  104. package/dist-es/commands/GetArchiveSearchCommand.js +24 -0
  105. package/dist-es/commands/GetArchiveSearchResultsCommand.js +24 -0
  106. package/dist-es/commands/GetIngressPointCommand.js +24 -0
  107. package/dist-es/commands/GetRelayCommand.js +24 -0
  108. package/dist-es/commands/GetRuleSetCommand.js +25 -0
  109. package/dist-es/commands/GetTrafficPolicyCommand.js +24 -0
  110. package/dist-es/commands/ListAddonInstancesCommand.js +24 -0
  111. package/dist-es/commands/ListAddonSubscriptionsCommand.js +24 -0
  112. package/dist-es/commands/ListArchiveExportsCommand.js +24 -0
  113. package/dist-es/commands/ListArchiveSearchesCommand.js +24 -0
  114. package/dist-es/commands/ListArchivesCommand.js +24 -0
  115. package/dist-es/commands/ListIngressPointsCommand.js +24 -0
  116. package/dist-es/commands/ListRelaysCommand.js +24 -0
  117. package/dist-es/commands/ListRuleSetsCommand.js +24 -0
  118. package/dist-es/commands/ListTagsForResourceCommand.js +25 -0
  119. package/dist-es/commands/ListTrafficPoliciesCommand.js +24 -0
  120. package/dist-es/commands/StartArchiveExportCommand.js +24 -0
  121. package/dist-es/commands/StartArchiveSearchCommand.js +24 -0
  122. package/dist-es/commands/StopArchiveExportCommand.js +24 -0
  123. package/dist-es/commands/StopArchiveSearchCommand.js +24 -0
  124. package/dist-es/commands/TagResourceCommand.js +25 -0
  125. package/dist-es/commands/UntagResourceCommand.js +25 -0
  126. package/dist-es/commands/UpdateArchiveCommand.js +24 -0
  127. package/dist-es/commands/UpdateIngressPointCommand.js +25 -0
  128. package/dist-es/commands/UpdateRelayCommand.js +24 -0
  129. package/dist-es/commands/UpdateRuleSetCommand.js +25 -0
  130. package/dist-es/commands/UpdateTrafficPolicyCommand.js +24 -0
  131. package/dist-es/commands/index.js +47 -0
  132. package/dist-es/endpoint/EndpointParameters.js +14 -0
  133. package/dist-es/endpoint/endpointResolver.js +10 -0
  134. package/dist-es/endpoint/ruleset.js +4 -0
  135. package/dist-es/extensionConfiguration.js +1 -0
  136. package/dist-es/index.js +6 -0
  137. package/dist-es/models/MailManagerServiceException.js +8 -0
  138. package/dist-es/models/index.js +1 -0
  139. package/dist-es/models/models_0.js +554 -0
  140. package/dist-es/pagination/Interfaces.js +1 -0
  141. package/dist-es/pagination/ListAddonInstancesPaginator.js +4 -0
  142. package/dist-es/pagination/ListAddonSubscriptionsPaginator.js +4 -0
  143. package/dist-es/pagination/ListArchiveExportsPaginator.js +4 -0
  144. package/dist-es/pagination/ListArchiveSearchesPaginator.js +4 -0
  145. package/dist-es/pagination/ListArchivesPaginator.js +4 -0
  146. package/dist-es/pagination/ListIngressPointsPaginator.js +4 -0
  147. package/dist-es/pagination/ListRelaysPaginator.js +4 -0
  148. package/dist-es/pagination/ListRuleSetsPaginator.js +4 -0
  149. package/dist-es/pagination/ListTrafficPoliciesPaginator.js +4 -0
  150. package/dist-es/pagination/index.js +10 -0
  151. package/dist-es/protocols/Aws_json1_0.js +1517 -0
  152. package/dist-es/runtimeConfig.browser.js +34 -0
  153. package/dist-es/runtimeConfig.js +44 -0
  154. package/dist-es/runtimeConfig.native.js +11 -0
  155. package/dist-es/runtimeConfig.shared.js +30 -0
  156. package/dist-es/runtimeExtensions.js +21 -0
  157. package/dist-types/MailManager.d.ts +353 -0
  158. package/dist-types/MailManagerClient.d.ts +225 -0
  159. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  160. package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
  161. package/dist-types/commands/CreateAddonInstanceCommand.d.ts +80 -0
  162. package/dist-types/commands/CreateAddonSubscriptionCommand.d.ts +77 -0
  163. package/dist-types/commands/CreateArchiveCommand.d.ts +85 -0
  164. package/dist-types/commands/CreateIngressPointCommand.d.ts +82 -0
  165. package/dist-types/commands/CreateRelayCommand.d.ts +82 -0
  166. package/dist-types/commands/CreateRuleSetCommand.d.ts +227 -0
  167. package/dist-types/commands/CreateTrafficPolicyCommand.d.ts +120 -0
  168. package/dist-types/commands/DeleteAddonInstanceCommand.d.ts +63 -0
  169. package/dist-types/commands/DeleteAddonSubscriptionCommand.d.ts +63 -0
  170. package/dist-types/commands/DeleteArchiveCommand.d.ts +73 -0
  171. package/dist-types/commands/DeleteIngressPointCommand.d.ts +66 -0
  172. package/dist-types/commands/DeleteRelayCommand.d.ts +66 -0
  173. package/dist-types/commands/DeleteRuleSetCommand.d.ts +63 -0
  174. package/dist-types/commands/DeleteTrafficPolicyCommand.d.ts +66 -0
  175. package/dist-types/commands/GetAddonInstanceCommand.d.ts +68 -0
  176. package/dist-types/commands/GetAddonSubscriptionCommand.d.ts +67 -0
  177. package/dist-types/commands/GetArchiveCommand.d.ts +80 -0
  178. package/dist-types/commands/GetArchiveExportCommand.d.ts +122 -0
  179. package/dist-types/commands/GetArchiveMessageCommand.d.ts +70 -0
  180. package/dist-types/commands/GetArchiveMessageContentCommand.d.ts +74 -0
  181. package/dist-types/commands/GetArchiveSearchCommand.d.ts +117 -0
  182. package/dist-types/commands/GetArchiveSearchResultsCommand.d.ts +90 -0
  183. package/dist-types/commands/GetIngressPointCommand.d.ts +82 -0
  184. package/dist-types/commands/GetRelayCommand.d.ts +75 -0
  185. package/dist-types/commands/GetRuleSetCommand.d.ts +221 -0
  186. package/dist-types/commands/GetTrafficPolicyCommand.d.ts +114 -0
  187. package/dist-types/commands/ListAddonInstancesCommand.d.ts +72 -0
  188. package/dist-types/commands/ListAddonSubscriptionsCommand.d.ts +71 -0
  189. package/dist-types/commands/ListArchiveExportsCommand.d.ts +84 -0
  190. package/dist-types/commands/ListArchiveSearchesCommand.d.ts +84 -0
  191. package/dist-types/commands/ListArchivesCommand.d.ts +77 -0
  192. package/dist-types/commands/ListIngressPointsCommand.d.ts +72 -0
  193. package/dist-types/commands/ListRelaysCommand.d.ts +70 -0
  194. package/dist-types/commands/ListRuleSetsCommand.d.ts +70 -0
  195. package/dist-types/commands/ListTagsForResourceCommand.d.ts +70 -0
  196. package/dist-types/commands/ListTrafficPoliciesCommand.d.ts +70 -0
  197. package/dist-types/commands/StartArchiveExportCommand.d.ts +122 -0
  198. package/dist-types/commands/StartArchiveSearchCommand.d.ts +120 -0
  199. package/dist-types/commands/StopArchiveExportCommand.d.ts +66 -0
  200. package/dist-types/commands/StopArchiveSearchCommand.d.ts +66 -0
  201. package/dist-types/commands/TagResourceCommand.d.ts +75 -0
  202. package/dist-types/commands/UntagResourceCommand.d.ts +69 -0
  203. package/dist-types/commands/UpdateArchiveCommand.d.ts +79 -0
  204. package/dist-types/commands/UpdateIngressPointCommand.d.ts +74 -0
  205. package/dist-types/commands/UpdateRelayCommand.d.ts +73 -0
  206. package/dist-types/commands/UpdateRuleSetCommand.d.ts +219 -0
  207. package/dist-types/commands/UpdateTrafficPolicyCommand.d.ts +112 -0
  208. package/dist-types/commands/index.d.ts +47 -0
  209. package/dist-types/endpoint/EndpointParameters.d.ts +40 -0
  210. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  211. package/dist-types/endpoint/ruleset.d.ts +2 -0
  212. package/dist-types/extensionConfiguration.d.ts +9 -0
  213. package/dist-types/index.d.ts +21 -0
  214. package/dist-types/models/MailManagerServiceException.d.ts +13 -0
  215. package/dist-types/models/index.d.ts +1 -0
  216. package/dist-types/models/models_0.d.ts +4046 -0
  217. package/dist-types/pagination/Interfaces.d.ts +8 -0
  218. package/dist-types/pagination/ListAddonInstancesPaginator.d.ts +7 -0
  219. package/dist-types/pagination/ListAddonSubscriptionsPaginator.d.ts +7 -0
  220. package/dist-types/pagination/ListArchiveExportsPaginator.d.ts +7 -0
  221. package/dist-types/pagination/ListArchiveSearchesPaginator.d.ts +7 -0
  222. package/dist-types/pagination/ListArchivesPaginator.d.ts +7 -0
  223. package/dist-types/pagination/ListIngressPointsPaginator.d.ts +7 -0
  224. package/dist-types/pagination/ListRelaysPaginator.d.ts +7 -0
  225. package/dist-types/pagination/ListRuleSetsPaginator.d.ts +7 -0
  226. package/dist-types/pagination/ListTrafficPoliciesPaginator.d.ts +7 -0
  227. package/dist-types/pagination/index.d.ts +10 -0
  228. package/dist-types/protocols/Aws_json1_0.d.ts +425 -0
  229. package/dist-types/runtimeConfig.browser.d.ts +45 -0
  230. package/dist-types/runtimeConfig.d.ts +45 -0
  231. package/dist-types/runtimeConfig.native.d.ts +44 -0
  232. package/dist-types/runtimeConfig.shared.d.ts +21 -0
  233. package/dist-types/runtimeExtensions.d.ts +17 -0
  234. package/dist-types/ts3.4/MailManager.d.ts +813 -0
  235. package/dist-types/ts3.4/MailManagerClient.d.ts +402 -0
  236. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  237. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
  238. package/dist-types/ts3.4/commands/CreateAddonInstanceCommand.d.ts +39 -0
  239. package/dist-types/ts3.4/commands/CreateAddonSubscriptionCommand.d.ts +39 -0
  240. package/dist-types/ts3.4/commands/CreateArchiveCommand.d.ts +38 -0
  241. package/dist-types/ts3.4/commands/CreateIngressPointCommand.d.ts +39 -0
  242. package/dist-types/ts3.4/commands/CreateRelayCommand.d.ts +35 -0
  243. package/dist-types/ts3.4/commands/CreateRuleSetCommand.d.ts +38 -0
  244. package/dist-types/ts3.4/commands/CreateTrafficPolicyCommand.d.ts +39 -0
  245. package/dist-types/ts3.4/commands/DeleteAddonInstanceCommand.d.ts +39 -0
  246. package/dist-types/ts3.4/commands/DeleteAddonSubscriptionCommand.d.ts +39 -0
  247. package/dist-types/ts3.4/commands/DeleteArchiveCommand.d.ts +38 -0
  248. package/dist-types/ts3.4/commands/DeleteIngressPointCommand.d.ts +39 -0
  249. package/dist-types/ts3.4/commands/DeleteRelayCommand.d.ts +35 -0
  250. package/dist-types/ts3.4/commands/DeleteRuleSetCommand.d.ts +38 -0
  251. package/dist-types/ts3.4/commands/DeleteTrafficPolicyCommand.d.ts +39 -0
  252. package/dist-types/ts3.4/commands/GetAddonInstanceCommand.d.ts +38 -0
  253. package/dist-types/ts3.4/commands/GetAddonSubscriptionCommand.d.ts +39 -0
  254. package/dist-types/ts3.4/commands/GetArchiveCommand.d.ts +35 -0
  255. package/dist-types/ts3.4/commands/GetArchiveExportCommand.d.ts +38 -0
  256. package/dist-types/ts3.4/commands/GetArchiveMessageCommand.d.ts +39 -0
  257. package/dist-types/ts3.4/commands/GetArchiveMessageContentCommand.d.ts +39 -0
  258. package/dist-types/ts3.4/commands/GetArchiveSearchCommand.d.ts +38 -0
  259. package/dist-types/ts3.4/commands/GetArchiveSearchResultsCommand.d.ts +39 -0
  260. package/dist-types/ts3.4/commands/GetIngressPointCommand.d.ts +38 -0
  261. package/dist-types/ts3.4/commands/GetRelayCommand.d.ts +35 -0
  262. package/dist-types/ts3.4/commands/GetRuleSetCommand.d.ts +35 -0
  263. package/dist-types/ts3.4/commands/GetTrafficPolicyCommand.d.ts +38 -0
  264. package/dist-types/ts3.4/commands/ListAddonInstancesCommand.d.ts +39 -0
  265. package/dist-types/ts3.4/commands/ListAddonSubscriptionsCommand.d.ts +39 -0
  266. package/dist-types/ts3.4/commands/ListArchiveExportsCommand.d.ts +39 -0
  267. package/dist-types/ts3.4/commands/ListArchiveSearchesCommand.d.ts +39 -0
  268. package/dist-types/ts3.4/commands/ListArchivesCommand.d.ts +35 -0
  269. package/dist-types/ts3.4/commands/ListIngressPointsCommand.d.ts +39 -0
  270. package/dist-types/ts3.4/commands/ListRelaysCommand.d.ts +35 -0
  271. package/dist-types/ts3.4/commands/ListRuleSetsCommand.d.ts +35 -0
  272. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
  273. package/dist-types/ts3.4/commands/ListTrafficPoliciesCommand.d.ts +39 -0
  274. package/dist-types/ts3.4/commands/StartArchiveExportCommand.d.ts +39 -0
  275. package/dist-types/ts3.4/commands/StartArchiveSearchCommand.d.ts +39 -0
  276. package/dist-types/ts3.4/commands/StopArchiveExportCommand.d.ts +39 -0
  277. package/dist-types/ts3.4/commands/StopArchiveSearchCommand.d.ts +39 -0
  278. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -0
  279. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
  280. package/dist-types/ts3.4/commands/UpdateArchiveCommand.d.ts +38 -0
  281. package/dist-types/ts3.4/commands/UpdateIngressPointCommand.d.ts +39 -0
  282. package/dist-types/ts3.4/commands/UpdateRelayCommand.d.ts +35 -0
  283. package/dist-types/ts3.4/commands/UpdateRuleSetCommand.d.ts +38 -0
  284. package/dist-types/ts3.4/commands/UpdateTrafficPolicyCommand.d.ts +39 -0
  285. package/dist-types/ts3.4/commands/index.d.ts +47 -0
  286. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
  287. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  288. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  289. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  290. package/dist-types/ts3.4/index.d.ts +9 -0
  291. package/dist-types/ts3.4/models/MailManagerServiceException.d.ts +8 -0
  292. package/dist-types/ts3.4/models/index.d.ts +1 -0
  293. package/dist-types/ts3.4/models/models_0.d.ts +1514 -0
  294. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  295. package/dist-types/ts3.4/pagination/ListAddonInstancesPaginator.d.ts +11 -0
  296. package/dist-types/ts3.4/pagination/ListAddonSubscriptionsPaginator.d.ts +11 -0
  297. package/dist-types/ts3.4/pagination/ListArchiveExportsPaginator.d.ts +11 -0
  298. package/dist-types/ts3.4/pagination/ListArchiveSearchesPaginator.d.ts +11 -0
  299. package/dist-types/ts3.4/pagination/ListArchivesPaginator.d.ts +11 -0
  300. package/dist-types/ts3.4/pagination/ListIngressPointsPaginator.d.ts +11 -0
  301. package/dist-types/ts3.4/pagination/ListRelaysPaginator.d.ts +11 -0
  302. package/dist-types/ts3.4/pagination/ListRuleSetsPaginator.d.ts +11 -0
  303. package/dist-types/ts3.4/pagination/ListTrafficPoliciesPaginator.d.ts +11 -0
  304. package/dist-types/ts3.4/pagination/index.d.ts +10 -0
  305. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +569 -0
  306. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +85 -0
  307. package/dist-types/ts3.4/runtimeConfig.d.ts +89 -0
  308. package/dist-types/ts3.4/runtimeConfig.native.d.ts +79 -0
  309. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
  310. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  311. package/package.json +103 -0
@@ -0,0 +1,1514 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { MailManagerServiceException as __BaseException } from "./MailManagerServiceException";
3
+ export declare const AcceptAction: {
4
+ readonly ALLOW: "ALLOW";
5
+ readonly DENY: "DENY";
6
+ };
7
+ export type AcceptAction = (typeof AcceptAction)[keyof typeof AcceptAction];
8
+ export declare class AccessDeniedException extends __BaseException {
9
+ readonly name: "AccessDeniedException";
10
+ readonly $fault: "client";
11
+ Message?: string;
12
+ constructor(
13
+ opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
14
+ );
15
+ }
16
+ export declare const ActionFailurePolicy: {
17
+ readonly CONTINUE: "CONTINUE";
18
+ readonly DROP: "DROP";
19
+ };
20
+ export type ActionFailurePolicy =
21
+ (typeof ActionFailurePolicy)[keyof typeof ActionFailurePolicy];
22
+ export interface AddHeaderAction {
23
+ HeaderName: string | undefined;
24
+ HeaderValue: string | undefined;
25
+ }
26
+ export interface AddonInstance {
27
+ AddonInstanceId?: string;
28
+ AddonSubscriptionId?: string;
29
+ AddonName?: string;
30
+ AddonInstanceArn?: string;
31
+ CreatedTimestamp?: Date;
32
+ }
33
+ export declare class ConflictException extends __BaseException {
34
+ readonly name: "ConflictException";
35
+ readonly $fault: "client";
36
+ Message?: string;
37
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
38
+ }
39
+ export interface Tag {
40
+ Key: string | undefined;
41
+ Value: string | undefined;
42
+ }
43
+ export interface CreateAddonInstanceRequest {
44
+ ClientToken?: string;
45
+ AddonSubscriptionId: string | undefined;
46
+ Tags?: Tag[];
47
+ }
48
+ export interface CreateAddonInstanceResponse {
49
+ AddonInstanceId: string | undefined;
50
+ }
51
+ export declare class ResourceNotFoundException extends __BaseException {
52
+ readonly name: "ResourceNotFoundException";
53
+ readonly $fault: "client";
54
+ Message?: string;
55
+ constructor(
56
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
57
+ );
58
+ }
59
+ export declare class ServiceQuotaExceededException extends __BaseException {
60
+ readonly name: "ServiceQuotaExceededException";
61
+ readonly $fault: "client";
62
+ Message?: string;
63
+ constructor(
64
+ opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
65
+ );
66
+ }
67
+ export declare class ValidationException extends __BaseException {
68
+ readonly name: "ValidationException";
69
+ readonly $fault: "client";
70
+ Message?: string;
71
+ constructor(
72
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
73
+ );
74
+ }
75
+ export interface DeleteAddonInstanceRequest {
76
+ AddonInstanceId: string | undefined;
77
+ }
78
+ export interface DeleteAddonInstanceResponse {}
79
+ export interface GetAddonInstanceRequest {
80
+ AddonInstanceId: string | undefined;
81
+ }
82
+ export interface GetAddonInstanceResponse {
83
+ AddonSubscriptionId?: string;
84
+ AddonName?: string;
85
+ AddonInstanceArn?: string;
86
+ CreatedTimestamp?: Date;
87
+ }
88
+ export interface ListAddonInstancesRequest {
89
+ NextToken?: string;
90
+ PageSize?: number;
91
+ }
92
+ export interface ListAddonInstancesResponse {
93
+ AddonInstances?: AddonInstance[];
94
+ NextToken?: string;
95
+ }
96
+ export interface AddonSubscription {
97
+ AddonSubscriptionId?: string;
98
+ AddonName?: string;
99
+ AddonSubscriptionArn?: string;
100
+ CreatedTimestamp?: Date;
101
+ }
102
+ export interface CreateAddonSubscriptionRequest {
103
+ ClientToken?: string;
104
+ AddonName: string | undefined;
105
+ Tags?: Tag[];
106
+ }
107
+ export interface CreateAddonSubscriptionResponse {
108
+ AddonSubscriptionId: string | undefined;
109
+ }
110
+ export interface DeleteAddonSubscriptionRequest {
111
+ AddonSubscriptionId: string | undefined;
112
+ }
113
+ export interface DeleteAddonSubscriptionResponse {}
114
+ export interface GetAddonSubscriptionRequest {
115
+ AddonSubscriptionId: string | undefined;
116
+ }
117
+ export interface GetAddonSubscriptionResponse {
118
+ AddonName?: string;
119
+ AddonSubscriptionArn?: string;
120
+ CreatedTimestamp?: Date;
121
+ }
122
+ export interface ListAddonSubscriptionsRequest {
123
+ NextToken?: string;
124
+ PageSize?: number;
125
+ }
126
+ export interface ListAddonSubscriptionsResponse {
127
+ AddonSubscriptions?: AddonSubscription[];
128
+ NextToken?: string;
129
+ }
130
+ export interface Analysis {
131
+ Analyzer: string | undefined;
132
+ ResultField: string | undefined;
133
+ }
134
+ export declare const ArchiveState: {
135
+ readonly ACTIVE: "ACTIVE";
136
+ readonly PENDING_DELETION: "PENDING_DELETION";
137
+ };
138
+ export type ArchiveState = (typeof ArchiveState)[keyof typeof ArchiveState];
139
+ export interface Archive {
140
+ ArchiveId: string | undefined;
141
+ ArchiveName?: string;
142
+ ArchiveState?: ArchiveState;
143
+ LastUpdatedTimestamp?: Date;
144
+ }
145
+ export interface ArchiveAction {
146
+ ActionFailurePolicy?: ActionFailurePolicy;
147
+ TargetArchive: string | undefined;
148
+ }
149
+ export declare const ArchiveBooleanEmailAttribute: {
150
+ readonly HAS_ATTACHMENTS: "HAS_ATTACHMENTS";
151
+ };
152
+ export type ArchiveBooleanEmailAttribute =
153
+ (typeof ArchiveBooleanEmailAttribute)[keyof typeof ArchiveBooleanEmailAttribute];
154
+ export type ArchiveBooleanToEvaluate =
155
+ | ArchiveBooleanToEvaluate.AttributeMember
156
+ | ArchiveBooleanToEvaluate.$UnknownMember;
157
+ export declare namespace ArchiveBooleanToEvaluate {
158
+ interface AttributeMember {
159
+ Attribute: ArchiveBooleanEmailAttribute;
160
+ $unknown?: never;
161
+ }
162
+ interface $UnknownMember {
163
+ Attribute?: never;
164
+ $unknown: [string, any];
165
+ }
166
+ interface Visitor<T> {
167
+ Attribute: (value: ArchiveBooleanEmailAttribute) => T;
168
+ _: (name: string, value: any) => T;
169
+ }
170
+ const visit: <T>(value: ArchiveBooleanToEvaluate, visitor: Visitor<T>) => T;
171
+ }
172
+ export declare const ArchiveBooleanOperator: {
173
+ readonly IS_FALSE: "IS_FALSE";
174
+ readonly IS_TRUE: "IS_TRUE";
175
+ };
176
+ export type ArchiveBooleanOperator =
177
+ (typeof ArchiveBooleanOperator)[keyof typeof ArchiveBooleanOperator];
178
+ export interface ArchiveBooleanExpression {
179
+ Evaluate: ArchiveBooleanToEvaluate | undefined;
180
+ Operator: ArchiveBooleanOperator | undefined;
181
+ }
182
+ export declare const ArchiveStringEmailAttribute: {
183
+ readonly CC: "CC";
184
+ readonly FROM: "FROM";
185
+ readonly SUBJECT: "SUBJECT";
186
+ readonly TO: "TO";
187
+ };
188
+ export type ArchiveStringEmailAttribute =
189
+ (typeof ArchiveStringEmailAttribute)[keyof typeof ArchiveStringEmailAttribute];
190
+ export type ArchiveStringToEvaluate =
191
+ | ArchiveStringToEvaluate.AttributeMember
192
+ | ArchiveStringToEvaluate.$UnknownMember;
193
+ export declare namespace ArchiveStringToEvaluate {
194
+ interface AttributeMember {
195
+ Attribute: ArchiveStringEmailAttribute;
196
+ $unknown?: never;
197
+ }
198
+ interface $UnknownMember {
199
+ Attribute?: never;
200
+ $unknown: [string, any];
201
+ }
202
+ interface Visitor<T> {
203
+ Attribute: (value: ArchiveStringEmailAttribute) => T;
204
+ _: (name: string, value: any) => T;
205
+ }
206
+ const visit: <T>(value: ArchiveStringToEvaluate, visitor: Visitor<T>) => T;
207
+ }
208
+ export declare const ArchiveStringOperator: {
209
+ readonly CONTAINS: "CONTAINS";
210
+ };
211
+ export type ArchiveStringOperator =
212
+ (typeof ArchiveStringOperator)[keyof typeof ArchiveStringOperator];
213
+ export interface ArchiveStringExpression {
214
+ Evaluate: ArchiveStringToEvaluate | undefined;
215
+ Operator: ArchiveStringOperator | undefined;
216
+ Values: string[] | undefined;
217
+ }
218
+ export type ArchiveFilterCondition =
219
+ | ArchiveFilterCondition.BooleanExpressionMember
220
+ | ArchiveFilterCondition.StringExpressionMember
221
+ | ArchiveFilterCondition.$UnknownMember;
222
+ export declare namespace ArchiveFilterCondition {
223
+ interface StringExpressionMember {
224
+ StringExpression: ArchiveStringExpression;
225
+ BooleanExpression?: never;
226
+ $unknown?: never;
227
+ }
228
+ interface BooleanExpressionMember {
229
+ StringExpression?: never;
230
+ BooleanExpression: ArchiveBooleanExpression;
231
+ $unknown?: never;
232
+ }
233
+ interface $UnknownMember {
234
+ StringExpression?: never;
235
+ BooleanExpression?: never;
236
+ $unknown: [string, any];
237
+ }
238
+ interface Visitor<T> {
239
+ StringExpression: (value: ArchiveStringExpression) => T;
240
+ BooleanExpression: (value: ArchiveBooleanExpression) => T;
241
+ _: (name: string, value: any) => T;
242
+ }
243
+ const visit: <T>(value: ArchiveFilterCondition, visitor: Visitor<T>) => T;
244
+ }
245
+ export interface ArchiveFilters {
246
+ Include?: ArchiveFilterCondition[];
247
+ Unless?: ArchiveFilterCondition[];
248
+ }
249
+ export declare const RetentionPeriod: {
250
+ readonly EIGHTEEN_MONTHS: "EIGHTEEN_MONTHS";
251
+ readonly EIGHT_YEARS: "EIGHT_YEARS";
252
+ readonly FIVE_YEARS: "FIVE_YEARS";
253
+ readonly FOUR_YEARS: "FOUR_YEARS";
254
+ readonly NINE_MONTHS: "NINE_MONTHS";
255
+ readonly NINE_YEARS: "NINE_YEARS";
256
+ readonly ONE_YEAR: "ONE_YEAR";
257
+ readonly PERMANENT: "PERMANENT";
258
+ readonly SEVEN_YEARS: "SEVEN_YEARS";
259
+ readonly SIX_MONTHS: "SIX_MONTHS";
260
+ readonly SIX_YEARS: "SIX_YEARS";
261
+ readonly TEN_YEARS: "TEN_YEARS";
262
+ readonly THIRTY_MONTHS: "THIRTY_MONTHS";
263
+ readonly THREE_MONTHS: "THREE_MONTHS";
264
+ readonly THREE_YEARS: "THREE_YEARS";
265
+ readonly TWO_YEARS: "TWO_YEARS";
266
+ };
267
+ export type RetentionPeriod =
268
+ (typeof RetentionPeriod)[keyof typeof RetentionPeriod];
269
+ export type ArchiveRetention =
270
+ | ArchiveRetention.RetentionPeriodMember
271
+ | ArchiveRetention.$UnknownMember;
272
+ export declare namespace ArchiveRetention {
273
+ interface RetentionPeriodMember {
274
+ RetentionPeriod: RetentionPeriod;
275
+ $unknown?: never;
276
+ }
277
+ interface $UnknownMember {
278
+ RetentionPeriod?: never;
279
+ $unknown: [string, any];
280
+ }
281
+ interface Visitor<T> {
282
+ RetentionPeriod: (value: RetentionPeriod) => T;
283
+ _: (name: string, value: any) => T;
284
+ }
285
+ const visit: <T>(value: ArchiveRetention, visitor: Visitor<T>) => T;
286
+ }
287
+ export interface CreateArchiveRequest {
288
+ ClientToken?: string;
289
+ ArchiveName: string | undefined;
290
+ Retention?: ArchiveRetention;
291
+ KmsKeyArn?: string;
292
+ Tags?: Tag[];
293
+ }
294
+ export interface CreateArchiveResponse {
295
+ ArchiveId: string | undefined;
296
+ }
297
+ export declare class ThrottlingException extends __BaseException {
298
+ readonly name: "ThrottlingException";
299
+ readonly $fault: "client";
300
+ Message?: string;
301
+ constructor(
302
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
303
+ );
304
+ }
305
+ export interface DeleteArchiveRequest {
306
+ ArchiveId: string | undefined;
307
+ }
308
+ export interface DeleteArchiveResponse {}
309
+ export interface GetArchiveRequest {
310
+ ArchiveId: string | undefined;
311
+ }
312
+ export interface GetArchiveResponse {
313
+ ArchiveId: string | undefined;
314
+ ArchiveName: string | undefined;
315
+ ArchiveArn: string | undefined;
316
+ ArchiveState: ArchiveState | undefined;
317
+ Retention: ArchiveRetention | undefined;
318
+ CreatedTimestamp?: Date;
319
+ LastUpdatedTimestamp?: Date;
320
+ KmsKeyArn?: string;
321
+ }
322
+ export interface ListArchivesRequest {
323
+ NextToken?: string;
324
+ PageSize?: number;
325
+ }
326
+ export interface ListArchivesResponse {
327
+ Archives: Archive[] | undefined;
328
+ NextToken?: string;
329
+ }
330
+ export interface UpdateArchiveRequest {
331
+ ArchiveId: string | undefined;
332
+ ArchiveName?: string;
333
+ Retention?: ArchiveRetention;
334
+ }
335
+ export interface UpdateArchiveResponse {}
336
+ export type IngressPointConfiguration =
337
+ | IngressPointConfiguration.SecretArnMember
338
+ | IngressPointConfiguration.SmtpPasswordMember
339
+ | IngressPointConfiguration.$UnknownMember;
340
+ export declare namespace IngressPointConfiguration {
341
+ interface SmtpPasswordMember {
342
+ SmtpPassword: string;
343
+ SecretArn?: never;
344
+ $unknown?: never;
345
+ }
346
+ interface SecretArnMember {
347
+ SmtpPassword?: never;
348
+ SecretArn: string;
349
+ $unknown?: never;
350
+ }
351
+ interface $UnknownMember {
352
+ SmtpPassword?: never;
353
+ SecretArn?: never;
354
+ $unknown: [string, any];
355
+ }
356
+ interface Visitor<T> {
357
+ SmtpPassword: (value: string) => T;
358
+ SecretArn: (value: string) => T;
359
+ _: (name: string, value: any) => T;
360
+ }
361
+ const visit: <T>(value: IngressPointConfiguration, visitor: Visitor<T>) => T;
362
+ }
363
+ export declare const IngressPointType: {
364
+ readonly AUTH: "AUTH";
365
+ readonly OPEN: "OPEN";
366
+ };
367
+ export type IngressPointType =
368
+ (typeof IngressPointType)[keyof typeof IngressPointType];
369
+ export interface CreateIngressPointRequest {
370
+ ClientToken?: string;
371
+ IngressPointName: string | undefined;
372
+ Type: IngressPointType | undefined;
373
+ RuleSetId: string | undefined;
374
+ TrafficPolicyId: string | undefined;
375
+ IngressPointConfiguration?: IngressPointConfiguration;
376
+ Tags?: Tag[];
377
+ }
378
+ export interface CreateIngressPointResponse {
379
+ IngressPointId: string | undefined;
380
+ }
381
+ export interface NoAuthentication {}
382
+ export type RelayAuthentication =
383
+ | RelayAuthentication.NoAuthenticationMember
384
+ | RelayAuthentication.SecretArnMember
385
+ | RelayAuthentication.$UnknownMember;
386
+ export declare namespace RelayAuthentication {
387
+ interface SecretArnMember {
388
+ SecretArn: string;
389
+ NoAuthentication?: never;
390
+ $unknown?: never;
391
+ }
392
+ interface NoAuthenticationMember {
393
+ SecretArn?: never;
394
+ NoAuthentication: NoAuthentication;
395
+ $unknown?: never;
396
+ }
397
+ interface $UnknownMember {
398
+ SecretArn?: never;
399
+ NoAuthentication?: never;
400
+ $unknown: [string, any];
401
+ }
402
+ interface Visitor<T> {
403
+ SecretArn: (value: string) => T;
404
+ NoAuthentication: (value: NoAuthentication) => T;
405
+ _: (name: string, value: any) => T;
406
+ }
407
+ const visit: <T>(value: RelayAuthentication, visitor: Visitor<T>) => T;
408
+ }
409
+ export interface CreateRelayRequest {
410
+ ClientToken?: string;
411
+ RelayName: string | undefined;
412
+ ServerName: string | undefined;
413
+ ServerPort: number | undefined;
414
+ Authentication: RelayAuthentication | undefined;
415
+ Tags?: Tag[];
416
+ }
417
+ export interface CreateRelayResponse {
418
+ RelayId: string | undefined;
419
+ }
420
+ export interface DeliverToMailboxAction {
421
+ ActionFailurePolicy?: ActionFailurePolicy;
422
+ MailboxArn: string | undefined;
423
+ RoleArn: string | undefined;
424
+ }
425
+ export interface DropAction {}
426
+ export declare const MailFrom: {
427
+ readonly PRESERVE: "PRESERVE";
428
+ readonly REPLACE: "REPLACE";
429
+ };
430
+ export type MailFrom = (typeof MailFrom)[keyof typeof MailFrom];
431
+ export interface RelayAction {
432
+ ActionFailurePolicy?: ActionFailurePolicy;
433
+ Relay: string | undefined;
434
+ MailFrom?: MailFrom;
435
+ }
436
+ export interface ReplaceRecipientAction {
437
+ ReplaceWith?: string[];
438
+ }
439
+ export interface SendAction {
440
+ ActionFailurePolicy?: ActionFailurePolicy;
441
+ RoleArn: string | undefined;
442
+ }
443
+ export interface S3Action {
444
+ ActionFailurePolicy?: ActionFailurePolicy;
445
+ RoleArn: string | undefined;
446
+ S3Bucket: string | undefined;
447
+ S3Prefix?: string;
448
+ S3SseKmsKeyId?: string;
449
+ }
450
+ export type RuleAction =
451
+ | RuleAction.AddHeaderMember
452
+ | RuleAction.ArchiveMember
453
+ | RuleAction.DeliverToMailboxMember
454
+ | RuleAction.DropMember
455
+ | RuleAction.RelayMember
456
+ | RuleAction.ReplaceRecipientMember
457
+ | RuleAction.SendMember
458
+ | RuleAction.WriteToS3Member
459
+ | RuleAction.$UnknownMember;
460
+ export declare namespace RuleAction {
461
+ interface DropMember {
462
+ Drop: DropAction;
463
+ Relay?: never;
464
+ Archive?: never;
465
+ WriteToS3?: never;
466
+ Send?: never;
467
+ AddHeader?: never;
468
+ ReplaceRecipient?: never;
469
+ DeliverToMailbox?: never;
470
+ $unknown?: never;
471
+ }
472
+ interface RelayMember {
473
+ Drop?: never;
474
+ Relay: RelayAction;
475
+ Archive?: never;
476
+ WriteToS3?: never;
477
+ Send?: never;
478
+ AddHeader?: never;
479
+ ReplaceRecipient?: never;
480
+ DeliverToMailbox?: never;
481
+ $unknown?: never;
482
+ }
483
+ interface ArchiveMember {
484
+ Drop?: never;
485
+ Relay?: never;
486
+ Archive: ArchiveAction;
487
+ WriteToS3?: never;
488
+ Send?: never;
489
+ AddHeader?: never;
490
+ ReplaceRecipient?: never;
491
+ DeliverToMailbox?: never;
492
+ $unknown?: never;
493
+ }
494
+ interface WriteToS3Member {
495
+ Drop?: never;
496
+ Relay?: never;
497
+ Archive?: never;
498
+ WriteToS3: S3Action;
499
+ Send?: never;
500
+ AddHeader?: never;
501
+ ReplaceRecipient?: never;
502
+ DeliverToMailbox?: never;
503
+ $unknown?: never;
504
+ }
505
+ interface SendMember {
506
+ Drop?: never;
507
+ Relay?: never;
508
+ Archive?: never;
509
+ WriteToS3?: never;
510
+ Send: SendAction;
511
+ AddHeader?: never;
512
+ ReplaceRecipient?: never;
513
+ DeliverToMailbox?: never;
514
+ $unknown?: never;
515
+ }
516
+ interface AddHeaderMember {
517
+ Drop?: never;
518
+ Relay?: never;
519
+ Archive?: never;
520
+ WriteToS3?: never;
521
+ Send?: never;
522
+ AddHeader: AddHeaderAction;
523
+ ReplaceRecipient?: never;
524
+ DeliverToMailbox?: never;
525
+ $unknown?: never;
526
+ }
527
+ interface ReplaceRecipientMember {
528
+ Drop?: never;
529
+ Relay?: never;
530
+ Archive?: never;
531
+ WriteToS3?: never;
532
+ Send?: never;
533
+ AddHeader?: never;
534
+ ReplaceRecipient: ReplaceRecipientAction;
535
+ DeliverToMailbox?: never;
536
+ $unknown?: never;
537
+ }
538
+ interface DeliverToMailboxMember {
539
+ Drop?: never;
540
+ Relay?: never;
541
+ Archive?: never;
542
+ WriteToS3?: never;
543
+ Send?: never;
544
+ AddHeader?: never;
545
+ ReplaceRecipient?: never;
546
+ DeliverToMailbox: DeliverToMailboxAction;
547
+ $unknown?: never;
548
+ }
549
+ interface $UnknownMember {
550
+ Drop?: never;
551
+ Relay?: never;
552
+ Archive?: never;
553
+ WriteToS3?: never;
554
+ Send?: never;
555
+ AddHeader?: never;
556
+ ReplaceRecipient?: never;
557
+ DeliverToMailbox?: never;
558
+ $unknown: [string, any];
559
+ }
560
+ interface Visitor<T> {
561
+ Drop: (value: DropAction) => T;
562
+ Relay: (value: RelayAction) => T;
563
+ Archive: (value: ArchiveAction) => T;
564
+ WriteToS3: (value: S3Action) => T;
565
+ Send: (value: SendAction) => T;
566
+ AddHeader: (value: AddHeaderAction) => T;
567
+ ReplaceRecipient: (value: ReplaceRecipientAction) => T;
568
+ DeliverToMailbox: (value: DeliverToMailboxAction) => T;
569
+ _: (name: string, value: any) => T;
570
+ }
571
+ const visit: <T>(value: RuleAction, visitor: Visitor<T>) => T;
572
+ }
573
+ export declare const RuleBooleanEmailAttribute: {
574
+ readonly READ_RECEIPT_REQUESTED: "READ_RECEIPT_REQUESTED";
575
+ readonly TLS: "TLS";
576
+ readonly TLS_WRAPPED: "TLS_WRAPPED";
577
+ };
578
+ export type RuleBooleanEmailAttribute =
579
+ (typeof RuleBooleanEmailAttribute)[keyof typeof RuleBooleanEmailAttribute];
580
+ export type RuleBooleanToEvaluate =
581
+ | RuleBooleanToEvaluate.AttributeMember
582
+ | RuleBooleanToEvaluate.$UnknownMember;
583
+ export declare namespace RuleBooleanToEvaluate {
584
+ interface AttributeMember {
585
+ Attribute: RuleBooleanEmailAttribute;
586
+ $unknown?: never;
587
+ }
588
+ interface $UnknownMember {
589
+ Attribute?: never;
590
+ $unknown: [string, any];
591
+ }
592
+ interface Visitor<T> {
593
+ Attribute: (value: RuleBooleanEmailAttribute) => T;
594
+ _: (name: string, value: any) => T;
595
+ }
596
+ const visit: <T>(value: RuleBooleanToEvaluate, visitor: Visitor<T>) => T;
597
+ }
598
+ export declare const RuleBooleanOperator: {
599
+ readonly IS_FALSE: "IS_FALSE";
600
+ readonly IS_TRUE: "IS_TRUE";
601
+ };
602
+ export type RuleBooleanOperator =
603
+ (typeof RuleBooleanOperator)[keyof typeof RuleBooleanOperator];
604
+ export interface RuleBooleanExpression {
605
+ Evaluate: RuleBooleanToEvaluate | undefined;
606
+ Operator: RuleBooleanOperator | undefined;
607
+ }
608
+ export declare const RuleDmarcOperator: {
609
+ readonly EQUALS: "EQUALS";
610
+ readonly NOT_EQUALS: "NOT_EQUALS";
611
+ };
612
+ export type RuleDmarcOperator =
613
+ (typeof RuleDmarcOperator)[keyof typeof RuleDmarcOperator];
614
+ export declare const RuleDmarcPolicy: {
615
+ readonly NONE: "NONE";
616
+ readonly QUARANTINE: "QUARANTINE";
617
+ readonly REJECT: "REJECT";
618
+ };
619
+ export type RuleDmarcPolicy =
620
+ (typeof RuleDmarcPolicy)[keyof typeof RuleDmarcPolicy];
621
+ export interface RuleDmarcExpression {
622
+ Operator: RuleDmarcOperator | undefined;
623
+ Values: RuleDmarcPolicy[] | undefined;
624
+ }
625
+ export declare const RuleIpEmailAttribute: {
626
+ readonly SOURCE_IP: "SOURCE_IP";
627
+ };
628
+ export type RuleIpEmailAttribute =
629
+ (typeof RuleIpEmailAttribute)[keyof typeof RuleIpEmailAttribute];
630
+ export type RuleIpToEvaluate =
631
+ | RuleIpToEvaluate.AttributeMember
632
+ | RuleIpToEvaluate.$UnknownMember;
633
+ export declare namespace RuleIpToEvaluate {
634
+ interface AttributeMember {
635
+ Attribute: RuleIpEmailAttribute;
636
+ $unknown?: never;
637
+ }
638
+ interface $UnknownMember {
639
+ Attribute?: never;
640
+ $unknown: [string, any];
641
+ }
642
+ interface Visitor<T> {
643
+ Attribute: (value: RuleIpEmailAttribute) => T;
644
+ _: (name: string, value: any) => T;
645
+ }
646
+ const visit: <T>(value: RuleIpToEvaluate, visitor: Visitor<T>) => T;
647
+ }
648
+ export declare const RuleIpOperator: {
649
+ readonly CIDR_MATCHES: "CIDR_MATCHES";
650
+ readonly NOT_CIDR_MATCHES: "NOT_CIDR_MATCHES";
651
+ };
652
+ export type RuleIpOperator =
653
+ (typeof RuleIpOperator)[keyof typeof RuleIpOperator];
654
+ export interface RuleIpExpression {
655
+ Evaluate: RuleIpToEvaluate | undefined;
656
+ Operator: RuleIpOperator | undefined;
657
+ Values: string[] | undefined;
658
+ }
659
+ export declare const RuleNumberEmailAttribute: {
660
+ readonly MESSAGE_SIZE: "MESSAGE_SIZE";
661
+ };
662
+ export type RuleNumberEmailAttribute =
663
+ (typeof RuleNumberEmailAttribute)[keyof typeof RuleNumberEmailAttribute];
664
+ export type RuleNumberToEvaluate =
665
+ | RuleNumberToEvaluate.AttributeMember
666
+ | RuleNumberToEvaluate.$UnknownMember;
667
+ export declare namespace RuleNumberToEvaluate {
668
+ interface AttributeMember {
669
+ Attribute: RuleNumberEmailAttribute;
670
+ $unknown?: never;
671
+ }
672
+ interface $UnknownMember {
673
+ Attribute?: never;
674
+ $unknown: [string, any];
675
+ }
676
+ interface Visitor<T> {
677
+ Attribute: (value: RuleNumberEmailAttribute) => T;
678
+ _: (name: string, value: any) => T;
679
+ }
680
+ const visit: <T>(value: RuleNumberToEvaluate, visitor: Visitor<T>) => T;
681
+ }
682
+ export declare const RuleNumberOperator: {
683
+ readonly EQUALS: "EQUALS";
684
+ readonly GREATER_THAN: "GREATER_THAN";
685
+ readonly GREATER_THAN_OR_EQUAL: "GREATER_THAN_OR_EQUAL";
686
+ readonly LESS_THAN: "LESS_THAN";
687
+ readonly LESS_THAN_OR_EQUAL: "LESS_THAN_OR_EQUAL";
688
+ readonly NOT_EQUALS: "NOT_EQUALS";
689
+ };
690
+ export type RuleNumberOperator =
691
+ (typeof RuleNumberOperator)[keyof typeof RuleNumberOperator];
692
+ export interface RuleNumberExpression {
693
+ Evaluate: RuleNumberToEvaluate | undefined;
694
+ Operator: RuleNumberOperator | undefined;
695
+ Value: number | undefined;
696
+ }
697
+ export declare const RuleStringEmailAttribute: {
698
+ readonly CC: "CC";
699
+ readonly FROM: "FROM";
700
+ readonly HELO: "HELO";
701
+ readonly MAIL_FROM: "MAIL_FROM";
702
+ readonly RECIPIENT: "RECIPIENT";
703
+ readonly SENDER: "SENDER";
704
+ readonly SUBJECT: "SUBJECT";
705
+ readonly TO: "TO";
706
+ };
707
+ export type RuleStringEmailAttribute =
708
+ (typeof RuleStringEmailAttribute)[keyof typeof RuleStringEmailAttribute];
709
+ export type RuleStringToEvaluate =
710
+ | RuleStringToEvaluate.AttributeMember
711
+ | RuleStringToEvaluate.$UnknownMember;
712
+ export declare namespace RuleStringToEvaluate {
713
+ interface AttributeMember {
714
+ Attribute: RuleStringEmailAttribute;
715
+ $unknown?: never;
716
+ }
717
+ interface $UnknownMember {
718
+ Attribute?: never;
719
+ $unknown: [string, any];
720
+ }
721
+ interface Visitor<T> {
722
+ Attribute: (value: RuleStringEmailAttribute) => T;
723
+ _: (name: string, value: any) => T;
724
+ }
725
+ const visit: <T>(value: RuleStringToEvaluate, visitor: Visitor<T>) => T;
726
+ }
727
+ export declare const RuleStringOperator: {
728
+ readonly CONTAINS: "CONTAINS";
729
+ readonly ENDS_WITH: "ENDS_WITH";
730
+ readonly EQUALS: "EQUALS";
731
+ readonly NOT_EQUALS: "NOT_EQUALS";
732
+ readonly STARTS_WITH: "STARTS_WITH";
733
+ };
734
+ export type RuleStringOperator =
735
+ (typeof RuleStringOperator)[keyof typeof RuleStringOperator];
736
+ export interface RuleStringExpression {
737
+ Evaluate: RuleStringToEvaluate | undefined;
738
+ Operator: RuleStringOperator | undefined;
739
+ Values: string[] | undefined;
740
+ }
741
+ export declare const RuleVerdictAttribute: {
742
+ readonly DKIM: "DKIM";
743
+ readonly SPF: "SPF";
744
+ };
745
+ export type RuleVerdictAttribute =
746
+ (typeof RuleVerdictAttribute)[keyof typeof RuleVerdictAttribute];
747
+ export type RuleVerdictToEvaluate =
748
+ | RuleVerdictToEvaluate.AnalysisMember
749
+ | RuleVerdictToEvaluate.AttributeMember
750
+ | RuleVerdictToEvaluate.$UnknownMember;
751
+ export declare namespace RuleVerdictToEvaluate {
752
+ interface AttributeMember {
753
+ Attribute: RuleVerdictAttribute;
754
+ Analysis?: never;
755
+ $unknown?: never;
756
+ }
757
+ interface AnalysisMember {
758
+ Attribute?: never;
759
+ Analysis: Analysis;
760
+ $unknown?: never;
761
+ }
762
+ interface $UnknownMember {
763
+ Attribute?: never;
764
+ Analysis?: never;
765
+ $unknown: [string, any];
766
+ }
767
+ interface Visitor<T> {
768
+ Attribute: (value: RuleVerdictAttribute) => T;
769
+ Analysis: (value: Analysis) => T;
770
+ _: (name: string, value: any) => T;
771
+ }
772
+ const visit: <T>(value: RuleVerdictToEvaluate, visitor: Visitor<T>) => T;
773
+ }
774
+ export declare const RuleVerdictOperator: {
775
+ readonly EQUALS: "EQUALS";
776
+ readonly NOT_EQUALS: "NOT_EQUALS";
777
+ };
778
+ export type RuleVerdictOperator =
779
+ (typeof RuleVerdictOperator)[keyof typeof RuleVerdictOperator];
780
+ export declare const RuleVerdict: {
781
+ readonly FAIL: "FAIL";
782
+ readonly GRAY: "GRAY";
783
+ readonly PASS: "PASS";
784
+ readonly PROCESSING_FAILED: "PROCESSING_FAILED";
785
+ };
786
+ export type RuleVerdict = (typeof RuleVerdict)[keyof typeof RuleVerdict];
787
+ export interface RuleVerdictExpression {
788
+ Evaluate: RuleVerdictToEvaluate | undefined;
789
+ Operator: RuleVerdictOperator | undefined;
790
+ Values: RuleVerdict[] | undefined;
791
+ }
792
+ export type RuleCondition =
793
+ | RuleCondition.BooleanExpressionMember
794
+ | RuleCondition.DmarcExpressionMember
795
+ | RuleCondition.IpExpressionMember
796
+ | RuleCondition.NumberExpressionMember
797
+ | RuleCondition.StringExpressionMember
798
+ | RuleCondition.VerdictExpressionMember
799
+ | RuleCondition.$UnknownMember;
800
+ export declare namespace RuleCondition {
801
+ interface BooleanExpressionMember {
802
+ BooleanExpression: RuleBooleanExpression;
803
+ StringExpression?: never;
804
+ NumberExpression?: never;
805
+ IpExpression?: never;
806
+ VerdictExpression?: never;
807
+ DmarcExpression?: never;
808
+ $unknown?: never;
809
+ }
810
+ interface StringExpressionMember {
811
+ BooleanExpression?: never;
812
+ StringExpression: RuleStringExpression;
813
+ NumberExpression?: never;
814
+ IpExpression?: never;
815
+ VerdictExpression?: never;
816
+ DmarcExpression?: never;
817
+ $unknown?: never;
818
+ }
819
+ interface NumberExpressionMember {
820
+ BooleanExpression?: never;
821
+ StringExpression?: never;
822
+ NumberExpression: RuleNumberExpression;
823
+ IpExpression?: never;
824
+ VerdictExpression?: never;
825
+ DmarcExpression?: never;
826
+ $unknown?: never;
827
+ }
828
+ interface IpExpressionMember {
829
+ BooleanExpression?: never;
830
+ StringExpression?: never;
831
+ NumberExpression?: never;
832
+ IpExpression: RuleIpExpression;
833
+ VerdictExpression?: never;
834
+ DmarcExpression?: never;
835
+ $unknown?: never;
836
+ }
837
+ interface VerdictExpressionMember {
838
+ BooleanExpression?: never;
839
+ StringExpression?: never;
840
+ NumberExpression?: never;
841
+ IpExpression?: never;
842
+ VerdictExpression: RuleVerdictExpression;
843
+ DmarcExpression?: never;
844
+ $unknown?: never;
845
+ }
846
+ interface DmarcExpressionMember {
847
+ BooleanExpression?: never;
848
+ StringExpression?: never;
849
+ NumberExpression?: never;
850
+ IpExpression?: never;
851
+ VerdictExpression?: never;
852
+ DmarcExpression: RuleDmarcExpression;
853
+ $unknown?: never;
854
+ }
855
+ interface $UnknownMember {
856
+ BooleanExpression?: never;
857
+ StringExpression?: never;
858
+ NumberExpression?: never;
859
+ IpExpression?: never;
860
+ VerdictExpression?: never;
861
+ DmarcExpression?: never;
862
+ $unknown: [string, any];
863
+ }
864
+ interface Visitor<T> {
865
+ BooleanExpression: (value: RuleBooleanExpression) => T;
866
+ StringExpression: (value: RuleStringExpression) => T;
867
+ NumberExpression: (value: RuleNumberExpression) => T;
868
+ IpExpression: (value: RuleIpExpression) => T;
869
+ VerdictExpression: (value: RuleVerdictExpression) => T;
870
+ DmarcExpression: (value: RuleDmarcExpression) => T;
871
+ _: (name: string, value: any) => T;
872
+ }
873
+ const visit: <T>(value: RuleCondition, visitor: Visitor<T>) => T;
874
+ }
875
+ export interface Rule {
876
+ Name?: string;
877
+ Conditions?: RuleCondition[];
878
+ Unless?: RuleCondition[];
879
+ Actions: RuleAction[] | undefined;
880
+ }
881
+ export interface CreateRuleSetRequest {
882
+ ClientToken?: string;
883
+ RuleSetName: string | undefined;
884
+ Rules: Rule[] | undefined;
885
+ Tags?: Tag[];
886
+ }
887
+ export interface CreateRuleSetResponse {
888
+ RuleSetId: string | undefined;
889
+ }
890
+ export interface IngressAnalysis {
891
+ Analyzer: string | undefined;
892
+ ResultField: string | undefined;
893
+ }
894
+ export type IngressBooleanToEvaluate =
895
+ | IngressBooleanToEvaluate.AnalysisMember
896
+ | IngressBooleanToEvaluate.$UnknownMember;
897
+ export declare namespace IngressBooleanToEvaluate {
898
+ interface AnalysisMember {
899
+ Analysis: IngressAnalysis;
900
+ $unknown?: never;
901
+ }
902
+ interface $UnknownMember {
903
+ Analysis?: never;
904
+ $unknown: [string, any];
905
+ }
906
+ interface Visitor<T> {
907
+ Analysis: (value: IngressAnalysis) => T;
908
+ _: (name: string, value: any) => T;
909
+ }
910
+ const visit: <T>(value: IngressBooleanToEvaluate, visitor: Visitor<T>) => T;
911
+ }
912
+ export declare const IngressBooleanOperator: {
913
+ readonly IS_FALSE: "IS_FALSE";
914
+ readonly IS_TRUE: "IS_TRUE";
915
+ };
916
+ export type IngressBooleanOperator =
917
+ (typeof IngressBooleanOperator)[keyof typeof IngressBooleanOperator];
918
+ export interface IngressBooleanExpression {
919
+ Evaluate: IngressBooleanToEvaluate | undefined;
920
+ Operator: IngressBooleanOperator | undefined;
921
+ }
922
+ export declare const IngressIpv4Attribute: {
923
+ readonly SENDER_IP: "SENDER_IP";
924
+ };
925
+ export type IngressIpv4Attribute =
926
+ (typeof IngressIpv4Attribute)[keyof typeof IngressIpv4Attribute];
927
+ export type IngressIpToEvaluate =
928
+ | IngressIpToEvaluate.AttributeMember
929
+ | IngressIpToEvaluate.$UnknownMember;
930
+ export declare namespace IngressIpToEvaluate {
931
+ interface AttributeMember {
932
+ Attribute: IngressIpv4Attribute;
933
+ $unknown?: never;
934
+ }
935
+ interface $UnknownMember {
936
+ Attribute?: never;
937
+ $unknown: [string, any];
938
+ }
939
+ interface Visitor<T> {
940
+ Attribute: (value: IngressIpv4Attribute) => T;
941
+ _: (name: string, value: any) => T;
942
+ }
943
+ const visit: <T>(value: IngressIpToEvaluate, visitor: Visitor<T>) => T;
944
+ }
945
+ export declare const IngressIpOperator: {
946
+ readonly CIDR_MATCHES: "CIDR_MATCHES";
947
+ readonly NOT_CIDR_MATCHES: "NOT_CIDR_MATCHES";
948
+ };
949
+ export type IngressIpOperator =
950
+ (typeof IngressIpOperator)[keyof typeof IngressIpOperator];
951
+ export interface IngressIpv4Expression {
952
+ Evaluate: IngressIpToEvaluate | undefined;
953
+ Operator: IngressIpOperator | undefined;
954
+ Values: string[] | undefined;
955
+ }
956
+ export declare const IngressStringEmailAttribute: {
957
+ readonly RECIPIENT: "RECIPIENT";
958
+ };
959
+ export type IngressStringEmailAttribute =
960
+ (typeof IngressStringEmailAttribute)[keyof typeof IngressStringEmailAttribute];
961
+ export type IngressStringToEvaluate =
962
+ | IngressStringToEvaluate.AttributeMember
963
+ | IngressStringToEvaluate.$UnknownMember;
964
+ export declare namespace IngressStringToEvaluate {
965
+ interface AttributeMember {
966
+ Attribute: IngressStringEmailAttribute;
967
+ $unknown?: never;
968
+ }
969
+ interface $UnknownMember {
970
+ Attribute?: never;
971
+ $unknown: [string, any];
972
+ }
973
+ interface Visitor<T> {
974
+ Attribute: (value: IngressStringEmailAttribute) => T;
975
+ _: (name: string, value: any) => T;
976
+ }
977
+ const visit: <T>(value: IngressStringToEvaluate, visitor: Visitor<T>) => T;
978
+ }
979
+ export declare const IngressStringOperator: {
980
+ readonly CONTAINS: "CONTAINS";
981
+ readonly ENDS_WITH: "ENDS_WITH";
982
+ readonly EQUALS: "EQUALS";
983
+ readonly NOT_EQUALS: "NOT_EQUALS";
984
+ readonly STARTS_WITH: "STARTS_WITH";
985
+ };
986
+ export type IngressStringOperator =
987
+ (typeof IngressStringOperator)[keyof typeof IngressStringOperator];
988
+ export interface IngressStringExpression {
989
+ Evaluate: IngressStringToEvaluate | undefined;
990
+ Operator: IngressStringOperator | undefined;
991
+ Values: string[] | undefined;
992
+ }
993
+ export declare const IngressTlsAttribute: {
994
+ readonly TLS_PROTOCOL: "TLS_PROTOCOL";
995
+ };
996
+ export type IngressTlsAttribute =
997
+ (typeof IngressTlsAttribute)[keyof typeof IngressTlsAttribute];
998
+ export type IngressTlsProtocolToEvaluate =
999
+ | IngressTlsProtocolToEvaluate.AttributeMember
1000
+ | IngressTlsProtocolToEvaluate.$UnknownMember;
1001
+ export declare namespace IngressTlsProtocolToEvaluate {
1002
+ interface AttributeMember {
1003
+ Attribute: IngressTlsAttribute;
1004
+ $unknown?: never;
1005
+ }
1006
+ interface $UnknownMember {
1007
+ Attribute?: never;
1008
+ $unknown: [string, any];
1009
+ }
1010
+ interface Visitor<T> {
1011
+ Attribute: (value: IngressTlsAttribute) => T;
1012
+ _: (name: string, value: any) => T;
1013
+ }
1014
+ const visit: <T>(
1015
+ value: IngressTlsProtocolToEvaluate,
1016
+ visitor: Visitor<T>
1017
+ ) => T;
1018
+ }
1019
+ export declare const IngressTlsProtocolOperator: {
1020
+ readonly IS: "IS";
1021
+ readonly MINIMUM_TLS_VERSION: "MINIMUM_TLS_VERSION";
1022
+ };
1023
+ export type IngressTlsProtocolOperator =
1024
+ (typeof IngressTlsProtocolOperator)[keyof typeof IngressTlsProtocolOperator];
1025
+ export declare const IngressTlsProtocolAttribute: {
1026
+ readonly TLS1_2: "TLS1_2";
1027
+ readonly TLS1_3: "TLS1_3";
1028
+ };
1029
+ export type IngressTlsProtocolAttribute =
1030
+ (typeof IngressTlsProtocolAttribute)[keyof typeof IngressTlsProtocolAttribute];
1031
+ export interface IngressTlsProtocolExpression {
1032
+ Evaluate: IngressTlsProtocolToEvaluate | undefined;
1033
+ Operator: IngressTlsProtocolOperator | undefined;
1034
+ Value: IngressTlsProtocolAttribute | undefined;
1035
+ }
1036
+ export type PolicyCondition =
1037
+ | PolicyCondition.BooleanExpressionMember
1038
+ | PolicyCondition.IpExpressionMember
1039
+ | PolicyCondition.StringExpressionMember
1040
+ | PolicyCondition.TlsExpressionMember
1041
+ | PolicyCondition.$UnknownMember;
1042
+ export declare namespace PolicyCondition {
1043
+ interface StringExpressionMember {
1044
+ StringExpression: IngressStringExpression;
1045
+ IpExpression?: never;
1046
+ TlsExpression?: never;
1047
+ BooleanExpression?: never;
1048
+ $unknown?: never;
1049
+ }
1050
+ interface IpExpressionMember {
1051
+ StringExpression?: never;
1052
+ IpExpression: IngressIpv4Expression;
1053
+ TlsExpression?: never;
1054
+ BooleanExpression?: never;
1055
+ $unknown?: never;
1056
+ }
1057
+ interface TlsExpressionMember {
1058
+ StringExpression?: never;
1059
+ IpExpression?: never;
1060
+ TlsExpression: IngressTlsProtocolExpression;
1061
+ BooleanExpression?: never;
1062
+ $unknown?: never;
1063
+ }
1064
+ interface BooleanExpressionMember {
1065
+ StringExpression?: never;
1066
+ IpExpression?: never;
1067
+ TlsExpression?: never;
1068
+ BooleanExpression: IngressBooleanExpression;
1069
+ $unknown?: never;
1070
+ }
1071
+ interface $UnknownMember {
1072
+ StringExpression?: never;
1073
+ IpExpression?: never;
1074
+ TlsExpression?: never;
1075
+ BooleanExpression?: never;
1076
+ $unknown: [string, any];
1077
+ }
1078
+ interface Visitor<T> {
1079
+ StringExpression: (value: IngressStringExpression) => T;
1080
+ IpExpression: (value: IngressIpv4Expression) => T;
1081
+ TlsExpression: (value: IngressTlsProtocolExpression) => T;
1082
+ BooleanExpression: (value: IngressBooleanExpression) => T;
1083
+ _: (name: string, value: any) => T;
1084
+ }
1085
+ const visit: <T>(value: PolicyCondition, visitor: Visitor<T>) => T;
1086
+ }
1087
+ export interface PolicyStatement {
1088
+ Conditions: PolicyCondition[] | undefined;
1089
+ Action: AcceptAction | undefined;
1090
+ }
1091
+ export interface CreateTrafficPolicyRequest {
1092
+ ClientToken?: string;
1093
+ TrafficPolicyName: string | undefined;
1094
+ PolicyStatements: PolicyStatement[] | undefined;
1095
+ DefaultAction: AcceptAction | undefined;
1096
+ MaxMessageSizeBytes?: number;
1097
+ Tags?: Tag[];
1098
+ }
1099
+ export interface CreateTrafficPolicyResponse {
1100
+ TrafficPolicyId: string | undefined;
1101
+ }
1102
+ export interface DeleteIngressPointRequest {
1103
+ IngressPointId: string | undefined;
1104
+ }
1105
+ export interface DeleteIngressPointResponse {}
1106
+ export interface DeleteRelayRequest {
1107
+ RelayId: string | undefined;
1108
+ }
1109
+ export interface DeleteRelayResponse {}
1110
+ export interface DeleteRuleSetRequest {
1111
+ RuleSetId: string | undefined;
1112
+ }
1113
+ export interface DeleteRuleSetResponse {}
1114
+ export interface DeleteTrafficPolicyRequest {
1115
+ TrafficPolicyId: string | undefined;
1116
+ }
1117
+ export interface DeleteTrafficPolicyResponse {}
1118
+ export interface S3ExportDestinationConfiguration {
1119
+ S3Location?: string;
1120
+ }
1121
+ export type ExportDestinationConfiguration =
1122
+ | ExportDestinationConfiguration.S3Member
1123
+ | ExportDestinationConfiguration.$UnknownMember;
1124
+ export declare namespace ExportDestinationConfiguration {
1125
+ interface S3Member {
1126
+ S3: S3ExportDestinationConfiguration;
1127
+ $unknown?: never;
1128
+ }
1129
+ interface $UnknownMember {
1130
+ S3?: never;
1131
+ $unknown: [string, any];
1132
+ }
1133
+ interface Visitor<T> {
1134
+ S3: (value: S3ExportDestinationConfiguration) => T;
1135
+ _: (name: string, value: any) => T;
1136
+ }
1137
+ const visit: <T>(
1138
+ value: ExportDestinationConfiguration,
1139
+ visitor: Visitor<T>
1140
+ ) => T;
1141
+ }
1142
+ export declare const ExportState: {
1143
+ readonly CANCELLED: "CANCELLED";
1144
+ readonly COMPLETED: "COMPLETED";
1145
+ readonly FAILED: "FAILED";
1146
+ readonly PREPROCESSING: "PREPROCESSING";
1147
+ readonly PROCESSING: "PROCESSING";
1148
+ readonly QUEUED: "QUEUED";
1149
+ };
1150
+ export type ExportState = (typeof ExportState)[keyof typeof ExportState];
1151
+ export interface ExportStatus {
1152
+ SubmissionTimestamp?: Date;
1153
+ CompletionTimestamp?: Date;
1154
+ State?: ExportState;
1155
+ ErrorMessage?: string;
1156
+ }
1157
+ export interface ExportSummary {
1158
+ ExportId?: string;
1159
+ Status?: ExportStatus;
1160
+ }
1161
+ export interface GetArchiveExportRequest {
1162
+ ExportId: string | undefined;
1163
+ }
1164
+ export interface GetArchiveExportResponse {
1165
+ ArchiveId?: string;
1166
+ Filters?: ArchiveFilters;
1167
+ FromTimestamp?: Date;
1168
+ ToTimestamp?: Date;
1169
+ MaxResults?: number;
1170
+ ExportDestinationConfiguration?: ExportDestinationConfiguration;
1171
+ Status?: ExportStatus;
1172
+ }
1173
+ export interface GetArchiveMessageRequest {
1174
+ ArchivedMessageId: string | undefined;
1175
+ }
1176
+ export interface GetArchiveMessageResponse {
1177
+ MessageDownloadLink?: string;
1178
+ }
1179
+ export interface GetArchiveMessageContentRequest {
1180
+ ArchivedMessageId: string | undefined;
1181
+ }
1182
+ export interface MessageBody {
1183
+ Text?: string;
1184
+ Html?: string;
1185
+ MessageMalformed?: boolean;
1186
+ }
1187
+ export interface GetArchiveMessageContentResponse {
1188
+ Body?: MessageBody;
1189
+ }
1190
+ export interface GetArchiveSearchRequest {
1191
+ SearchId: string | undefined;
1192
+ }
1193
+ export declare const SearchState: {
1194
+ readonly CANCELLED: "CANCELLED";
1195
+ readonly COMPLETED: "COMPLETED";
1196
+ readonly FAILED: "FAILED";
1197
+ readonly QUEUED: "QUEUED";
1198
+ readonly RUNNING: "RUNNING";
1199
+ };
1200
+ export type SearchState = (typeof SearchState)[keyof typeof SearchState];
1201
+ export interface SearchStatus {
1202
+ SubmissionTimestamp?: Date;
1203
+ CompletionTimestamp?: Date;
1204
+ State?: SearchState;
1205
+ ErrorMessage?: string;
1206
+ }
1207
+ export interface GetArchiveSearchResponse {
1208
+ ArchiveId?: string;
1209
+ Filters?: ArchiveFilters;
1210
+ FromTimestamp?: Date;
1211
+ ToTimestamp?: Date;
1212
+ MaxResults?: number;
1213
+ Status?: SearchStatus;
1214
+ }
1215
+ export interface GetArchiveSearchResultsRequest {
1216
+ SearchId: string | undefined;
1217
+ }
1218
+ export interface Row {
1219
+ ArchivedMessageId?: string;
1220
+ ReceivedTimestamp?: Date;
1221
+ Date?: string;
1222
+ To?: string;
1223
+ From?: string;
1224
+ Cc?: string;
1225
+ Subject?: string;
1226
+ MessageId?: string;
1227
+ HasAttachments?: boolean;
1228
+ ReceivedHeaders?: string[];
1229
+ InReplyTo?: string;
1230
+ XMailer?: string;
1231
+ XOriginalMailer?: string;
1232
+ XPriority?: string;
1233
+ }
1234
+ export interface GetArchiveSearchResultsResponse {
1235
+ Rows?: Row[];
1236
+ }
1237
+ export interface GetIngressPointRequest {
1238
+ IngressPointId: string | undefined;
1239
+ }
1240
+ export interface IngressPointPasswordConfiguration {
1241
+ SmtpPasswordVersion?: string;
1242
+ PreviousSmtpPasswordVersion?: string;
1243
+ PreviousSmtpPasswordExpiryTimestamp?: Date;
1244
+ }
1245
+ export interface IngressPointAuthConfiguration {
1246
+ IngressPointPasswordConfiguration?: IngressPointPasswordConfiguration;
1247
+ SecretArn?: string;
1248
+ }
1249
+ export declare const IngressPointStatus: {
1250
+ readonly ACTIVE: "ACTIVE";
1251
+ readonly CLOSED: "CLOSED";
1252
+ readonly DEPROVISIONING: "DEPROVISIONING";
1253
+ readonly FAILED: "FAILED";
1254
+ readonly PROVISIONING: "PROVISIONING";
1255
+ readonly UPDATING: "UPDATING";
1256
+ };
1257
+ export type IngressPointStatus =
1258
+ (typeof IngressPointStatus)[keyof typeof IngressPointStatus];
1259
+ export interface GetIngressPointResponse {
1260
+ IngressPointId: string | undefined;
1261
+ IngressPointName: string | undefined;
1262
+ IngressPointArn?: string;
1263
+ Status?: IngressPointStatus;
1264
+ Type?: IngressPointType;
1265
+ ARecord?: string;
1266
+ RuleSetId?: string;
1267
+ TrafficPolicyId?: string;
1268
+ IngressPointAuthConfiguration?: IngressPointAuthConfiguration;
1269
+ CreatedTimestamp?: Date;
1270
+ LastUpdatedTimestamp?: Date;
1271
+ }
1272
+ export interface GetRelayRequest {
1273
+ RelayId: string | undefined;
1274
+ }
1275
+ export interface GetRelayResponse {
1276
+ RelayId: string | undefined;
1277
+ RelayArn?: string;
1278
+ RelayName?: string;
1279
+ ServerName?: string;
1280
+ ServerPort?: number;
1281
+ Authentication?: RelayAuthentication;
1282
+ CreatedTimestamp?: Date;
1283
+ LastModifiedTimestamp?: Date;
1284
+ }
1285
+ export interface GetRuleSetRequest {
1286
+ RuleSetId: string | undefined;
1287
+ }
1288
+ export interface GetRuleSetResponse {
1289
+ RuleSetId: string | undefined;
1290
+ RuleSetArn: string | undefined;
1291
+ RuleSetName: string | undefined;
1292
+ CreatedDate: Date | undefined;
1293
+ LastModificationDate: Date | undefined;
1294
+ Rules: Rule[] | undefined;
1295
+ }
1296
+ export interface GetTrafficPolicyRequest {
1297
+ TrafficPolicyId: string | undefined;
1298
+ }
1299
+ export interface GetTrafficPolicyResponse {
1300
+ TrafficPolicyName: string | undefined;
1301
+ TrafficPolicyId: string | undefined;
1302
+ TrafficPolicyArn?: string;
1303
+ PolicyStatements?: PolicyStatement[];
1304
+ MaxMessageSizeBytes?: number;
1305
+ DefaultAction?: AcceptAction;
1306
+ CreatedTimestamp?: Date;
1307
+ LastUpdatedTimestamp?: Date;
1308
+ }
1309
+ export interface IngressPoint {
1310
+ IngressPointName: string | undefined;
1311
+ IngressPointId: string | undefined;
1312
+ Status: IngressPointStatus | undefined;
1313
+ Type: IngressPointType | undefined;
1314
+ ARecord?: string;
1315
+ }
1316
+ export interface ListIngressPointsRequest {
1317
+ PageSize?: number;
1318
+ NextToken?: string;
1319
+ }
1320
+ export interface ListIngressPointsResponse {
1321
+ IngressPoints?: IngressPoint[];
1322
+ NextToken?: string;
1323
+ }
1324
+ export declare const IngressPointStatusToUpdate: {
1325
+ readonly ACTIVE: "ACTIVE";
1326
+ readonly CLOSED: "CLOSED";
1327
+ };
1328
+ export type IngressPointStatusToUpdate =
1329
+ (typeof IngressPointStatusToUpdate)[keyof typeof IngressPointStatusToUpdate];
1330
+ export interface UpdateIngressPointRequest {
1331
+ IngressPointId: string | undefined;
1332
+ IngressPointName?: string;
1333
+ StatusToUpdate?: IngressPointStatusToUpdate;
1334
+ RuleSetId?: string;
1335
+ TrafficPolicyId?: string;
1336
+ IngressPointConfiguration?: IngressPointConfiguration;
1337
+ }
1338
+ export interface UpdateIngressPointResponse {}
1339
+ export interface ListArchiveExportsRequest {
1340
+ ArchiveId: string | undefined;
1341
+ NextToken?: string;
1342
+ PageSize?: number;
1343
+ }
1344
+ export interface ListArchiveExportsResponse {
1345
+ Exports?: ExportSummary[];
1346
+ NextToken?: string;
1347
+ }
1348
+ export interface ListArchiveSearchesRequest {
1349
+ ArchiveId: string | undefined;
1350
+ NextToken?: string;
1351
+ PageSize?: number;
1352
+ }
1353
+ export interface SearchSummary {
1354
+ SearchId?: string;
1355
+ Status?: SearchStatus;
1356
+ }
1357
+ export interface ListArchiveSearchesResponse {
1358
+ Searches?: SearchSummary[];
1359
+ NextToken?: string;
1360
+ }
1361
+ export interface ListRelaysRequest {
1362
+ PageSize?: number;
1363
+ NextToken?: string;
1364
+ }
1365
+ export interface Relay {
1366
+ RelayId?: string;
1367
+ RelayName?: string;
1368
+ LastModifiedTimestamp?: Date;
1369
+ }
1370
+ export interface ListRelaysResponse {
1371
+ Relays: Relay[] | undefined;
1372
+ NextToken?: string;
1373
+ }
1374
+ export interface ListRuleSetsRequest {
1375
+ NextToken?: string;
1376
+ PageSize?: number;
1377
+ }
1378
+ export interface RuleSet {
1379
+ RuleSetId?: string;
1380
+ RuleSetName?: string;
1381
+ LastModificationDate?: Date;
1382
+ }
1383
+ export interface ListRuleSetsResponse {
1384
+ RuleSets: RuleSet[] | undefined;
1385
+ NextToken?: string;
1386
+ }
1387
+ export interface ListTagsForResourceRequest {
1388
+ ResourceArn: string | undefined;
1389
+ }
1390
+ export interface ListTagsForResourceResponse {
1391
+ Tags: Tag[] | undefined;
1392
+ }
1393
+ export interface ListTrafficPoliciesRequest {
1394
+ PageSize?: number;
1395
+ NextToken?: string;
1396
+ }
1397
+ export interface TrafficPolicy {
1398
+ TrafficPolicyName: string | undefined;
1399
+ TrafficPolicyId: string | undefined;
1400
+ DefaultAction: AcceptAction | undefined;
1401
+ }
1402
+ export interface ListTrafficPoliciesResponse {
1403
+ TrafficPolicies?: TrafficPolicy[];
1404
+ NextToken?: string;
1405
+ }
1406
+ export interface UpdateRelayRequest {
1407
+ RelayId: string | undefined;
1408
+ RelayName?: string;
1409
+ ServerName?: string;
1410
+ ServerPort?: number;
1411
+ Authentication?: RelayAuthentication;
1412
+ }
1413
+ export interface UpdateRelayResponse {}
1414
+ export interface UpdateRuleSetRequest {
1415
+ RuleSetId: string | undefined;
1416
+ RuleSetName?: string;
1417
+ Rules?: Rule[];
1418
+ }
1419
+ export interface UpdateRuleSetResponse {}
1420
+ export interface StartArchiveExportRequest {
1421
+ ArchiveId: string | undefined;
1422
+ Filters?: ArchiveFilters;
1423
+ FromTimestamp: Date | undefined;
1424
+ ToTimestamp: Date | undefined;
1425
+ MaxResults?: number;
1426
+ ExportDestinationConfiguration: ExportDestinationConfiguration | undefined;
1427
+ }
1428
+ export interface StartArchiveExportResponse {
1429
+ ExportId?: string;
1430
+ }
1431
+ export interface StartArchiveSearchRequest {
1432
+ ArchiveId: string | undefined;
1433
+ Filters?: ArchiveFilters;
1434
+ FromTimestamp: Date | undefined;
1435
+ ToTimestamp: Date | undefined;
1436
+ MaxResults: number | undefined;
1437
+ }
1438
+ export interface StartArchiveSearchResponse {
1439
+ SearchId?: string;
1440
+ }
1441
+ export interface StopArchiveExportRequest {
1442
+ ExportId: string | undefined;
1443
+ }
1444
+ export interface StopArchiveExportResponse {}
1445
+ export interface StopArchiveSearchRequest {
1446
+ SearchId: string | undefined;
1447
+ }
1448
+ export interface StopArchiveSearchResponse {}
1449
+ export interface TagResourceRequest {
1450
+ ResourceArn: string | undefined;
1451
+ Tags: Tag[] | undefined;
1452
+ }
1453
+ export interface TagResourceResponse {}
1454
+ export interface UpdateTrafficPolicyRequest {
1455
+ TrafficPolicyId: string | undefined;
1456
+ TrafficPolicyName?: string;
1457
+ PolicyStatements?: PolicyStatement[];
1458
+ DefaultAction?: AcceptAction;
1459
+ MaxMessageSizeBytes?: number;
1460
+ }
1461
+ export interface UpdateTrafficPolicyResponse {}
1462
+ export interface UntagResourceRequest {
1463
+ ResourceArn: string | undefined;
1464
+ TagKeys: string[] | undefined;
1465
+ }
1466
+ export interface UntagResourceResponse {}
1467
+ export declare const TagFilterSensitiveLog: (obj: Tag) => any;
1468
+ export declare const CreateAddonInstanceRequestFilterSensitiveLog: (
1469
+ obj: CreateAddonInstanceRequest
1470
+ ) => any;
1471
+ export declare const CreateAddonSubscriptionRequestFilterSensitiveLog: (
1472
+ obj: CreateAddonSubscriptionRequest
1473
+ ) => any;
1474
+ export declare const CreateArchiveRequestFilterSensitiveLog: (
1475
+ obj: CreateArchiveRequest
1476
+ ) => any;
1477
+ export declare const IngressPointConfigurationFilterSensitiveLog: (
1478
+ obj: IngressPointConfiguration
1479
+ ) => any;
1480
+ export declare const CreateIngressPointRequestFilterSensitiveLog: (
1481
+ obj: CreateIngressPointRequest
1482
+ ) => any;
1483
+ export declare const CreateRelayRequestFilterSensitiveLog: (
1484
+ obj: CreateRelayRequest
1485
+ ) => any;
1486
+ export declare const ReplaceRecipientActionFilterSensitiveLog: (
1487
+ obj: ReplaceRecipientAction
1488
+ ) => any;
1489
+ export declare const RuleActionFilterSensitiveLog: (obj: RuleAction) => any;
1490
+ export declare const RuleFilterSensitiveLog: (obj: Rule) => any;
1491
+ export declare const CreateRuleSetRequestFilterSensitiveLog: (
1492
+ obj: CreateRuleSetRequest
1493
+ ) => any;
1494
+ export declare const CreateTrafficPolicyRequestFilterSensitiveLog: (
1495
+ obj: CreateTrafficPolicyRequest
1496
+ ) => any;
1497
+ export declare const GetRuleSetResponseFilterSensitiveLog: (
1498
+ obj: GetRuleSetResponse
1499
+ ) => any;
1500
+ export declare const UpdateIngressPointRequestFilterSensitiveLog: (
1501
+ obj: UpdateIngressPointRequest
1502
+ ) => any;
1503
+ export declare const ListTagsForResourceResponseFilterSensitiveLog: (
1504
+ obj: ListTagsForResourceResponse
1505
+ ) => any;
1506
+ export declare const UpdateRuleSetRequestFilterSensitiveLog: (
1507
+ obj: UpdateRuleSetRequest
1508
+ ) => any;
1509
+ export declare const TagResourceRequestFilterSensitiveLog: (
1510
+ obj: TagResourceRequest
1511
+ ) => any;
1512
+ export declare const UntagResourceRequestFilterSensitiveLog: (
1513
+ obj: UntagResourceRequest
1514
+ ) => any;