sesv2-2019-09-27.examples.json 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268
  1. {
  2. "version": "1.0",
  3. "examples": {
  4. "CancelExportJob": [
  5. {
  6. "input": {
  7. "JobId": "ef28cf62-9d8e-4b60-9283-b09816c99a99"
  8. },
  9. "comments": {
  10. "input": {
  11. },
  12. "output": {
  13. }
  14. },
  15. "description": "Cancels the export job with ID ef28cf62-9d8e-4b60-9283-b09816c99a99",
  16. "id": "cancel-export-job-1685699696331",
  17. "title": "Cancel export job"
  18. }
  19. ],
  20. "CreateExportJob": [
  21. {
  22. "input": {
  23. "ExportDataSource": {
  24. "MetricsDataSource": {
  25. "Dimensions": {
  26. "ISP": [
  27. "*"
  28. ]
  29. },
  30. "EndDate": "2023-07-02T00:00:00",
  31. "Metrics": [
  32. {
  33. "Aggregation": "VOLUME",
  34. "Name": "SEND"
  35. },
  36. {
  37. "Aggregation": "VOLUME",
  38. "Name": "COMPLAINT"
  39. },
  40. {
  41. "Aggregation": "RATE",
  42. "Name": "COMPLAINT"
  43. }
  44. ],
  45. "Namespace": "VDM",
  46. "StartDate": "2023-07-01T00:00:00"
  47. }
  48. },
  49. "ExportDestination": {
  50. "DataFormat": "CSV"
  51. }
  52. },
  53. "output": {
  54. "JobId": "ef28cf62-9d8e-4b60-9283-b09816c99a99"
  55. },
  56. "comments": {
  57. "input": {
  58. },
  59. "output": {
  60. }
  61. },
  62. "description": "Creates a new export job for Metrics data",
  63. "id": "create-export-job-1685701853690",
  64. "title": "Create Metrics export job"
  65. },
  66. {
  67. "input": {
  68. "ExportDataSource": {
  69. "MessageInsightsDataSource": {
  70. "EndDate": "2023-07-02T00:00:00",
  71. "Exclude": {
  72. "FromEmailAddress": [
  73. "hello@example.com"
  74. ]
  75. },
  76. "Include": {
  77. "Subject": [
  78. "Hello"
  79. ]
  80. },
  81. "StartDate": "2023-07-01T00:00:00"
  82. }
  83. },
  84. "ExportDestination": {
  85. "DataFormat": "CSV"
  86. }
  87. },
  88. "output": {
  89. "JobId": "ef28cf62-9d8e-4b60-9283-b09816c99a99"
  90. },
  91. "comments": {
  92. "input": {
  93. },
  94. "output": {
  95. }
  96. },
  97. "description": "Creates a new export job for Message Insights data",
  98. "id": "create-export-job-1689957853323",
  99. "title": "Create Message Insights export job"
  100. }
  101. ],
  102. "GetExportJob": [
  103. {
  104. "input": {
  105. "JobId": "ef28cf62-9d8e-4b60-9283-b09816c99a99"
  106. },
  107. "output": {
  108. "CreatedTimestamp": "1685700961057",
  109. "ExportDataSource": {
  110. "MetricsDataSource": {
  111. "Dimensions": {
  112. "ISP": [
  113. "*"
  114. ]
  115. },
  116. "EndDate": "1675209600000",
  117. "Metrics": [
  118. {
  119. "Aggregation": "VOLUME",
  120. "Name": "SEND"
  121. },
  122. {
  123. "Aggregation": "VOLUME",
  124. "Name": "COMPLAINT"
  125. },
  126. {
  127. "Aggregation": "RATE",
  128. "Name": "COMPLAINT"
  129. }
  130. ],
  131. "Namespace": "VDM",
  132. "StartDate": "1672531200000"
  133. }
  134. },
  135. "ExportDestination": {
  136. "DataFormat": "CSV"
  137. },
  138. "ExportSourceType": "METRICS_DATA",
  139. "JobId": "ef28cf62-9d8e-4b60-9283-b09816c99a99",
  140. "JobStatus": "PROCESSING",
  141. "Statistics": {
  142. "ExportedRecordsCount": 5,
  143. "ProcessedRecordsCount": 5
  144. }
  145. },
  146. "comments": {
  147. "input": {
  148. },
  149. "output": {
  150. }
  151. },
  152. "description": "Gets the export job with ID ef28cf62-9d8e-4b60-9283-b09816c99a99",
  153. "id": "get-export-job-1685699942772",
  154. "title": "Get export job"
  155. }
  156. ],
  157. "GetMessageInsights": [
  158. {
  159. "input": {
  160. "MessageId": "000000000000ab00-0a000aa0-1234-0a0a-1234-0a0aaa0aa00a-000000"
  161. },
  162. "output": {
  163. "EmailTags": [
  164. {
  165. "Name": "ses:operation",
  166. "Value": "SendEmail"
  167. },
  168. {
  169. "Name": "ses:recipient-isp",
  170. "Value": "UNKNOWN_ISP"
  171. },
  172. {
  173. "Name": "ses:source-ip",
  174. "Value": "0.0.0.0"
  175. },
  176. {
  177. "Name": "ses:from-domain",
  178. "Value": "example.com"
  179. },
  180. {
  181. "Name": "ses:sender-identity",
  182. "Value": "hello@example.com"
  183. },
  184. {
  185. "Name": "ses:caller-identity",
  186. "Value": "Identity"
  187. }
  188. ],
  189. "FromEmailAddress": "hello@example.com",
  190. "Insights": [
  191. {
  192. "Destination": "recipient@example.com",
  193. "Events": [
  194. {
  195. "Timestamp": "2023-01-01T00:00:00.000000+01:00",
  196. "Type": "SEND"
  197. },
  198. {
  199. "Timestamp": "2023-01-01T00:00:01.000000+01:00",
  200. "Type": "DELIVERY"
  201. }
  202. ],
  203. "Isp": "UNKNOWN_ISP"
  204. }
  205. ],
  206. "MessageId": "000000000000ab00-0a000aa0-1234-0a0a-1234-0a0aaa0aa00a-000000",
  207. "Subject": "hello"
  208. },
  209. "comments": {
  210. "input": {
  211. },
  212. "output": {
  213. }
  214. },
  215. "description": "Provides information about a specific message.",
  216. "id": "get-message-insights-1689955713493",
  217. "title": "Get Message Insights"
  218. }
  219. ],
  220. "ListExportJobs": [
  221. {
  222. "input": {
  223. "ExportSourceType": "METRICS_DATA",
  224. "JobStatus": "PROCESSING",
  225. "PageSize": 25
  226. },
  227. "output": {
  228. "ExportJobs": [
  229. {
  230. "CreatedTimestamp": "167697473543",
  231. "ExportSourceType": "METRICS_DATA",
  232. "JobId": "72de83a0-6b49-47ca-9783-8b812576887a",
  233. "JobStatus": "PROCESSING"
  234. }
  235. ]
  236. },
  237. "comments": {
  238. "input": {
  239. },
  240. "output": {
  241. }
  242. },
  243. "description": "Lists export jobs of type METRICS_DATA and status PROCESSING",
  244. "id": "list-export-jobs-1685702074256",
  245. "title": "List export jobs"
  246. }
  247. ],
  248. "PutDedicatedIpPoolScalingAttributes": [
  249. {
  250. "input": {
  251. "PoolName": "sample-ses-pool",
  252. "ScalingMode": "MANAGED"
  253. },
  254. "output": {
  255. },
  256. "comments": {
  257. "input": {
  258. },
  259. "output": {
  260. }
  261. },
  262. "description": "This example converts a dedicated IP pool from STANDARD to MANAGED.",
  263. "id": "put-dedicated-ip-pool-scaling-attributes-example-1683639172",
  264. "title": "Used to convert a dedicated IP pool to a different scaling mode."
  265. }
  266. ]
  267. }
  268. }