1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
/// <p>An HTTP 200 response if the request succeeds, or an error message if the request fails.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct UpdateConfigurationSetEventDestinationOutput {}
impl std::fmt::Debug for UpdateConfigurationSetEventDestinationOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("UpdateConfigurationSetEventDestinationOutput");
formatter.finish()
}
}
/// See [`UpdateConfigurationSetEventDestinationOutput`](crate::output::UpdateConfigurationSetEventDestinationOutput)
pub mod update_configuration_set_event_destination_output {
/// A builder for [`UpdateConfigurationSetEventDestinationOutput`](crate::output::UpdateConfigurationSetEventDestinationOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {}
impl Builder {
/// Consumes the builder and constructs a [`UpdateConfigurationSetEventDestinationOutput`](crate::output::UpdateConfigurationSetEventDestinationOutput)
pub fn build(self) -> crate::output::UpdateConfigurationSetEventDestinationOutput {
crate::output::UpdateConfigurationSetEventDestinationOutput {}
}
}
}
impl UpdateConfigurationSetEventDestinationOutput {
/// Creates a new builder-style object to manufacture [`UpdateConfigurationSetEventDestinationOutput`](crate::output::UpdateConfigurationSetEventDestinationOutput)
pub fn builder() -> crate::output::update_configuration_set_event_destination_output::Builder {
crate::output::update_configuration_set_event_destination_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct UntagResourceOutput {}
impl std::fmt::Debug for UntagResourceOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("UntagResourceOutput");
formatter.finish()
}
}
/// See [`UntagResourceOutput`](crate::output::UntagResourceOutput)
pub mod untag_resource_output {
/// A builder for [`UntagResourceOutput`](crate::output::UntagResourceOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {}
impl Builder {
/// Consumes the builder and constructs a [`UntagResourceOutput`](crate::output::UntagResourceOutput)
pub fn build(self) -> crate::output::UntagResourceOutput {
crate::output::UntagResourceOutput {}
}
}
}
impl UntagResourceOutput {
/// Creates a new builder-style object to manufacture [`UntagResourceOutput`](crate::output::UntagResourceOutput)
pub fn builder() -> crate::output::untag_resource_output::Builder {
crate::output::untag_resource_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct TagResourceOutput {}
impl std::fmt::Debug for TagResourceOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("TagResourceOutput");
formatter.finish()
}
}
/// See [`TagResourceOutput`](crate::output::TagResourceOutput)
pub mod tag_resource_output {
/// A builder for [`TagResourceOutput`](crate::output::TagResourceOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {}
impl Builder {
/// Consumes the builder and constructs a [`TagResourceOutput`](crate::output::TagResourceOutput)
pub fn build(self) -> crate::output::TagResourceOutput {
crate::output::TagResourceOutput {}
}
}
}
impl TagResourceOutput {
/// Creates a new builder-style object to manufacture [`TagResourceOutput`](crate::output::TagResourceOutput)
pub fn builder() -> crate::output::tag_resource_output::Builder {
crate::output::tag_resource_output::Builder::default()
}
}
/// <p>A unique message ID that you receive when Amazon Pinpoint accepts an email for sending.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct SendEmailOutput {
/// <p>A unique identifier for the message that is generated when Amazon Pinpoint accepts the message.</p> <note>
/// <p>It is possible for Amazon Pinpoint to accept a message without sending it. This can happen when the message you're trying to send has an attachment doesn't pass a virus check, or when you send a templated email that contains invalid personalization content, for example.</p>
/// </note>
pub message_id: std::option::Option<std::string::String>,
}
impl SendEmailOutput {
/// <p>A unique identifier for the message that is generated when Amazon Pinpoint accepts the message.</p> <note>
/// <p>It is possible for Amazon Pinpoint to accept a message without sending it. This can happen when the message you're trying to send has an attachment doesn't pass a virus check, or when you send a templated email that contains invalid personalization content, for example.</p>
/// </note>
pub fn message_id(&self) -> std::option::Option<&str> {
self.message_id.as_deref()
}
}
impl std::fmt::Debug for SendEmailOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("SendEmailOutput");
formatter.field("message_id", &self.message_id);
formatter.finish()
}
}
/// See [`SendEmailOutput`](crate::output::SendEmailOutput)
pub mod send_email_output {
/// A builder for [`SendEmailOutput`](crate::output::SendEmailOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) message_id: std::option::Option<std::string::String>,
}
impl Builder {
/// <p>A unique identifier for the message that is generated when Amazon Pinpoint accepts the message.</p> <note>
/// <p>It is possible for Amazon Pinpoint to accept a message without sending it. This can happen when the message you're trying to send has an attachment doesn't pass a virus check, or when you send a templated email that contains invalid personalization content, for example.</p>
/// </note>
pub fn message_id(mut self, input: impl Into<std::string::String>) -> Self {
self.message_id = Some(input.into());
self
}
/// <p>A unique identifier for the message that is generated when Amazon Pinpoint accepts the message.</p> <note>
/// <p>It is possible for Amazon Pinpoint to accept a message without sending it. This can happen when the message you're trying to send has an attachment doesn't pass a virus check, or when you send a templated email that contains invalid personalization content, for example.</p>
/// </note>
pub fn set_message_id(mut self, input: std::option::Option<std::string::String>) -> Self {
self.message_id = input;
self
}
/// Consumes the builder and constructs a [`SendEmailOutput`](crate::output::SendEmailOutput)
pub fn build(self) -> crate::output::SendEmailOutput {
crate::output::SendEmailOutput {
message_id: self.message_id,
}
}
}
}
impl SendEmailOutput {
/// Creates a new builder-style object to manufacture [`SendEmailOutput`](crate::output::SendEmailOutput)
pub fn builder() -> crate::output::send_email_output::Builder {
crate::output::send_email_output::Builder::default()
}
}
/// <p>An HTTP 200 response if the request succeeds, or an error message if the request fails.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct PutEmailIdentityMailFromAttributesOutput {}
impl std::fmt::Debug for PutEmailIdentityMailFromAttributesOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("PutEmailIdentityMailFromAttributesOutput");
formatter.finish()
}
}
/// See [`PutEmailIdentityMailFromAttributesOutput`](crate::output::PutEmailIdentityMailFromAttributesOutput)
pub mod put_email_identity_mail_from_attributes_output {
/// A builder for [`PutEmailIdentityMailFromAttributesOutput`](crate::output::PutEmailIdentityMailFromAttributesOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {}
impl Builder {
/// Consumes the builder and constructs a [`PutEmailIdentityMailFromAttributesOutput`](crate::output::PutEmailIdentityMailFromAttributesOutput)
pub fn build(self) -> crate::output::PutEmailIdentityMailFromAttributesOutput {
crate::output::PutEmailIdentityMailFromAttributesOutput {}
}
}
}
impl PutEmailIdentityMailFromAttributesOutput {
/// Creates a new builder-style object to manufacture [`PutEmailIdentityMailFromAttributesOutput`](crate::output::PutEmailIdentityMailFromAttributesOutput)
pub fn builder() -> crate::output::put_email_identity_mail_from_attributes_output::Builder {
crate::output::put_email_identity_mail_from_attributes_output::Builder::default()
}
}
/// <p>An HTTP 200 response if the request succeeds, or an error message if the request fails.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct PutEmailIdentityFeedbackAttributesOutput {}
impl std::fmt::Debug for PutEmailIdentityFeedbackAttributesOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("PutEmailIdentityFeedbackAttributesOutput");
formatter.finish()
}
}
/// See [`PutEmailIdentityFeedbackAttributesOutput`](crate::output::PutEmailIdentityFeedbackAttributesOutput)
pub mod put_email_identity_feedback_attributes_output {
/// A builder for [`PutEmailIdentityFeedbackAttributesOutput`](crate::output::PutEmailIdentityFeedbackAttributesOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {}
impl Builder {
/// Consumes the builder and constructs a [`PutEmailIdentityFeedbackAttributesOutput`](crate::output::PutEmailIdentityFeedbackAttributesOutput)
pub fn build(self) -> crate::output::PutEmailIdentityFeedbackAttributesOutput {
crate::output::PutEmailIdentityFeedbackAttributesOutput {}
}
}
}
impl PutEmailIdentityFeedbackAttributesOutput {
/// Creates a new builder-style object to manufacture [`PutEmailIdentityFeedbackAttributesOutput`](crate::output::PutEmailIdentityFeedbackAttributesOutput)
pub fn builder() -> crate::output::put_email_identity_feedback_attributes_output::Builder {
crate::output::put_email_identity_feedback_attributes_output::Builder::default()
}
}
/// <p>An HTTP 200 response if the request succeeds, or an error message if the request fails.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct PutEmailIdentityDkimAttributesOutput {}
impl std::fmt::Debug for PutEmailIdentityDkimAttributesOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("PutEmailIdentityDkimAttributesOutput");
formatter.finish()
}
}
/// See [`PutEmailIdentityDkimAttributesOutput`](crate::output::PutEmailIdentityDkimAttributesOutput)
pub mod put_email_identity_dkim_attributes_output {
/// A builder for [`PutEmailIdentityDkimAttributesOutput`](crate::output::PutEmailIdentityDkimAttributesOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {}
impl Builder {
/// Consumes the builder and constructs a [`PutEmailIdentityDkimAttributesOutput`](crate::output::PutEmailIdentityDkimAttributesOutput)
pub fn build(self) -> crate::output::PutEmailIdentityDkimAttributesOutput {
crate::output::PutEmailIdentityDkimAttributesOutput {}
}
}
}
impl PutEmailIdentityDkimAttributesOutput {
/// Creates a new builder-style object to manufacture [`PutEmailIdentityDkimAttributesOutput`](crate::output::PutEmailIdentityDkimAttributesOutput)
pub fn builder() -> crate::output::put_email_identity_dkim_attributes_output::Builder {
crate::output::put_email_identity_dkim_attributes_output::Builder::default()
}
}
/// <p>A response that indicates whether the Deliverability dashboard is enabled for your Amazon Pinpoint account.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct PutDeliverabilityDashboardOptionOutput {}
impl std::fmt::Debug for PutDeliverabilityDashboardOptionOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("PutDeliverabilityDashboardOptionOutput");
formatter.finish()
}
}
/// See [`PutDeliverabilityDashboardOptionOutput`](crate::output::PutDeliverabilityDashboardOptionOutput)
pub mod put_deliverability_dashboard_option_output {
/// A builder for [`PutDeliverabilityDashboardOptionOutput`](crate::output::PutDeliverabilityDashboardOptionOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {}
impl Builder {
/// Consumes the builder and constructs a [`PutDeliverabilityDashboardOptionOutput`](crate::output::PutDeliverabilityDashboardOptionOutput)
pub fn build(self) -> crate::output::PutDeliverabilityDashboardOptionOutput {
crate::output::PutDeliverabilityDashboardOptionOutput {}
}
}
}
impl PutDeliverabilityDashboardOptionOutput {
/// Creates a new builder-style object to manufacture [`PutDeliverabilityDashboardOptionOutput`](crate::output::PutDeliverabilityDashboardOptionOutput)
pub fn builder() -> crate::output::put_deliverability_dashboard_option_output::Builder {
crate::output::put_deliverability_dashboard_option_output::Builder::default()
}
}
/// <p>An HTTP 200 response if the request succeeds, or an error message if the request fails.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct PutDedicatedIpWarmupAttributesOutput {}
impl std::fmt::Debug for PutDedicatedIpWarmupAttributesOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("PutDedicatedIpWarmupAttributesOutput");
formatter.finish()
}
}
/// See [`PutDedicatedIpWarmupAttributesOutput`](crate::output::PutDedicatedIpWarmupAttributesOutput)
pub mod put_dedicated_ip_warmup_attributes_output {
/// A builder for [`PutDedicatedIpWarmupAttributesOutput`](crate::output::PutDedicatedIpWarmupAttributesOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {}
impl Builder {
/// Consumes the builder and constructs a [`PutDedicatedIpWarmupAttributesOutput`](crate::output::PutDedicatedIpWarmupAttributesOutput)
pub fn build(self) -> crate::output::PutDedicatedIpWarmupAttributesOutput {
crate::output::PutDedicatedIpWarmupAttributesOutput {}
}
}
}
impl PutDedicatedIpWarmupAttributesOutput {
/// Creates a new builder-style object to manufacture [`PutDedicatedIpWarmupAttributesOutput`](crate::output::PutDedicatedIpWarmupAttributesOutput)
pub fn builder() -> crate::output::put_dedicated_ip_warmup_attributes_output::Builder {
crate::output::put_dedicated_ip_warmup_attributes_output::Builder::default()
}
}
/// <p>An HTTP 200 response if the request succeeds, or an error message if the request fails.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct PutDedicatedIpInPoolOutput {}
impl std::fmt::Debug for PutDedicatedIpInPoolOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("PutDedicatedIpInPoolOutput");
formatter.finish()
}
}
/// See [`PutDedicatedIpInPoolOutput`](crate::output::PutDedicatedIpInPoolOutput)
pub mod put_dedicated_ip_in_pool_output {
/// A builder for [`PutDedicatedIpInPoolOutput`](crate::output::PutDedicatedIpInPoolOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {}
impl Builder {
/// Consumes the builder and constructs a [`PutDedicatedIpInPoolOutput`](crate::output::PutDedicatedIpInPoolOutput)
pub fn build(self) -> crate::output::PutDedicatedIpInPoolOutput {
crate::output::PutDedicatedIpInPoolOutput {}
}
}
}
impl PutDedicatedIpInPoolOutput {
/// Creates a new builder-style object to manufacture [`PutDedicatedIpInPoolOutput`](crate::output::PutDedicatedIpInPoolOutput)
pub fn builder() -> crate::output::put_dedicated_ip_in_pool_output::Builder {
crate::output::put_dedicated_ip_in_pool_output::Builder::default()
}
}
/// <p>An HTTP 200 response if the request succeeds, or an error message if the request fails.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct PutConfigurationSetTrackingOptionsOutput {}
impl std::fmt::Debug for PutConfigurationSetTrackingOptionsOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("PutConfigurationSetTrackingOptionsOutput");
formatter.finish()
}
}
/// See [`PutConfigurationSetTrackingOptionsOutput`](crate::output::PutConfigurationSetTrackingOptionsOutput)
pub mod put_configuration_set_tracking_options_output {
/// A builder for [`PutConfigurationSetTrackingOptionsOutput`](crate::output::PutConfigurationSetTrackingOptionsOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {}
impl Builder {
/// Consumes the builder and constructs a [`PutConfigurationSetTrackingOptionsOutput`](crate::output::PutConfigurationSetTrackingOptionsOutput)
pub fn build(self) -> crate::output::PutConfigurationSetTrackingOptionsOutput {
crate::output::PutConfigurationSetTrackingOptionsOutput {}
}
}
}
impl PutConfigurationSetTrackingOptionsOutput {
/// Creates a new builder-style object to manufacture [`PutConfigurationSetTrackingOptionsOutput`](crate::output::PutConfigurationSetTrackingOptionsOutput)
pub fn builder() -> crate::output::put_configuration_set_tracking_options_output::Builder {
crate::output::put_configuration_set_tracking_options_output::Builder::default()
}
}
/// <p>An HTTP 200 response if the request succeeds, or an error message if the request fails.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct PutConfigurationSetSendingOptionsOutput {}
impl std::fmt::Debug for PutConfigurationSetSendingOptionsOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("PutConfigurationSetSendingOptionsOutput");
formatter.finish()
}
}
/// See [`PutConfigurationSetSendingOptionsOutput`](crate::output::PutConfigurationSetSendingOptionsOutput)
pub mod put_configuration_set_sending_options_output {
/// A builder for [`PutConfigurationSetSendingOptionsOutput`](crate::output::PutConfigurationSetSendingOptionsOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {}
impl Builder {
/// Consumes the builder and constructs a [`PutConfigurationSetSendingOptionsOutput`](crate::output::PutConfigurationSetSendingOptionsOutput)
pub fn build(self) -> crate::output::PutConfigurationSetSendingOptionsOutput {
crate::output::PutConfigurationSetSendingOptionsOutput {}
}
}
}
impl PutConfigurationSetSendingOptionsOutput {
/// Creates a new builder-style object to manufacture [`PutConfigurationSetSendingOptionsOutput`](crate::output::PutConfigurationSetSendingOptionsOutput)
pub fn builder() -> crate::output::put_configuration_set_sending_options_output::Builder {
crate::output::put_configuration_set_sending_options_output::Builder::default()
}
}
/// <p>An HTTP 200 response if the request succeeds, or an error message if the request fails.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct PutConfigurationSetReputationOptionsOutput {}
impl std::fmt::Debug for PutConfigurationSetReputationOptionsOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("PutConfigurationSetReputationOptionsOutput");
formatter.finish()
}
}
/// See [`PutConfigurationSetReputationOptionsOutput`](crate::output::PutConfigurationSetReputationOptionsOutput)
pub mod put_configuration_set_reputation_options_output {
/// A builder for [`PutConfigurationSetReputationOptionsOutput`](crate::output::PutConfigurationSetReputationOptionsOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {}
impl Builder {
/// Consumes the builder and constructs a [`PutConfigurationSetReputationOptionsOutput`](crate::output::PutConfigurationSetReputationOptionsOutput)
pub fn build(self) -> crate::output::PutConfigurationSetReputationOptionsOutput {
crate::output::PutConfigurationSetReputationOptionsOutput {}
}
}
}
impl PutConfigurationSetReputationOptionsOutput {
/// Creates a new builder-style object to manufacture [`PutConfigurationSetReputationOptionsOutput`](crate::output::PutConfigurationSetReputationOptionsOutput)
pub fn builder() -> crate::output::put_configuration_set_reputation_options_output::Builder {
crate::output::put_configuration_set_reputation_options_output::Builder::default()
}
}
/// <p>An HTTP 200 response if the request succeeds, or an error message if the request fails.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct PutConfigurationSetDeliveryOptionsOutput {}
impl std::fmt::Debug for PutConfigurationSetDeliveryOptionsOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("PutConfigurationSetDeliveryOptionsOutput");
formatter.finish()
}
}
/// See [`PutConfigurationSetDeliveryOptionsOutput`](crate::output::PutConfigurationSetDeliveryOptionsOutput)
pub mod put_configuration_set_delivery_options_output {
/// A builder for [`PutConfigurationSetDeliveryOptionsOutput`](crate::output::PutConfigurationSetDeliveryOptionsOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {}
impl Builder {
/// Consumes the builder and constructs a [`PutConfigurationSetDeliveryOptionsOutput`](crate::output::PutConfigurationSetDeliveryOptionsOutput)
pub fn build(self) -> crate::output::PutConfigurationSetDeliveryOptionsOutput {
crate::output::PutConfigurationSetDeliveryOptionsOutput {}
}
}
}
impl PutConfigurationSetDeliveryOptionsOutput {
/// Creates a new builder-style object to manufacture [`PutConfigurationSetDeliveryOptionsOutput`](crate::output::PutConfigurationSetDeliveryOptionsOutput)
pub fn builder() -> crate::output::put_configuration_set_delivery_options_output::Builder {
crate::output::put_configuration_set_delivery_options_output::Builder::default()
}
}
/// <p>An HTTP 200 response if the request succeeds, or an error message if the request fails.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct PutAccountSendingAttributesOutput {}
impl std::fmt::Debug for PutAccountSendingAttributesOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("PutAccountSendingAttributesOutput");
formatter.finish()
}
}
/// See [`PutAccountSendingAttributesOutput`](crate::output::PutAccountSendingAttributesOutput)
pub mod put_account_sending_attributes_output {
/// A builder for [`PutAccountSendingAttributesOutput`](crate::output::PutAccountSendingAttributesOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {}
impl Builder {
/// Consumes the builder and constructs a [`PutAccountSendingAttributesOutput`](crate::output::PutAccountSendingAttributesOutput)
pub fn build(self) -> crate::output::PutAccountSendingAttributesOutput {
crate::output::PutAccountSendingAttributesOutput {}
}
}
}
impl PutAccountSendingAttributesOutput {
/// Creates a new builder-style object to manufacture [`PutAccountSendingAttributesOutput`](crate::output::PutAccountSendingAttributesOutput)
pub fn builder() -> crate::output::put_account_sending_attributes_output::Builder {
crate::output::put_account_sending_attributes_output::Builder::default()
}
}
/// <p>An HTTP 200 response if the request succeeds, or an error message if the request fails.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct PutAccountDedicatedIpWarmupAttributesOutput {}
impl std::fmt::Debug for PutAccountDedicatedIpWarmupAttributesOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("PutAccountDedicatedIpWarmupAttributesOutput");
formatter.finish()
}
}
/// See [`PutAccountDedicatedIpWarmupAttributesOutput`](crate::output::PutAccountDedicatedIpWarmupAttributesOutput)
pub mod put_account_dedicated_ip_warmup_attributes_output {
/// A builder for [`PutAccountDedicatedIpWarmupAttributesOutput`](crate::output::PutAccountDedicatedIpWarmupAttributesOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {}
impl Builder {
/// Consumes the builder and constructs a [`PutAccountDedicatedIpWarmupAttributesOutput`](crate::output::PutAccountDedicatedIpWarmupAttributesOutput)
pub fn build(self) -> crate::output::PutAccountDedicatedIpWarmupAttributesOutput {
crate::output::PutAccountDedicatedIpWarmupAttributesOutput {}
}
}
}
impl PutAccountDedicatedIpWarmupAttributesOutput {
/// Creates a new builder-style object to manufacture [`PutAccountDedicatedIpWarmupAttributesOutput`](crate::output::PutAccountDedicatedIpWarmupAttributesOutput)
pub fn builder() -> crate::output::put_account_dedicated_ip_warmup_attributes_output::Builder {
crate::output::put_account_dedicated_ip_warmup_attributes_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct ListTagsForResourceOutput {
/// <p>An array that lists all the tags that are associated with the resource. Each tag consists of a required tag key (<code>Key</code>) and an associated tag value (<code>Value</code>)</p>
pub tags: std::option::Option<std::vec::Vec<crate::model::Tag>>,
}
impl ListTagsForResourceOutput {
/// <p>An array that lists all the tags that are associated with the resource. Each tag consists of a required tag key (<code>Key</code>) and an associated tag value (<code>Value</code>)</p>
pub fn tags(&self) -> std::option::Option<&[crate::model::Tag]> {
self.tags.as_deref()
}
}
impl std::fmt::Debug for ListTagsForResourceOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("ListTagsForResourceOutput");
formatter.field("tags", &self.tags);
formatter.finish()
}
}
/// See [`ListTagsForResourceOutput`](crate::output::ListTagsForResourceOutput)
pub mod list_tags_for_resource_output {
/// A builder for [`ListTagsForResourceOutput`](crate::output::ListTagsForResourceOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) tags: std::option::Option<std::vec::Vec<crate::model::Tag>>,
}
impl Builder {
/// Appends an item to `tags`.
///
/// To override the contents of this collection use [`set_tags`](Self::set_tags).
///
/// <p>An array that lists all the tags that are associated with the resource. Each tag consists of a required tag key (<code>Key</code>) and an associated tag value (<code>Value</code>)</p>
pub fn tags(mut self, input: crate::model::Tag) -> Self {
let mut v = self.tags.unwrap_or_default();
v.push(input);
self.tags = Some(v);
self
}
/// <p>An array that lists all the tags that are associated with the resource. Each tag consists of a required tag key (<code>Key</code>) and an associated tag value (<code>Value</code>)</p>
pub fn set_tags(
mut self,
input: std::option::Option<std::vec::Vec<crate::model::Tag>>,
) -> Self {
self.tags = input;
self
}
/// Consumes the builder and constructs a [`ListTagsForResourceOutput`](crate::output::ListTagsForResourceOutput)
pub fn build(self) -> crate::output::ListTagsForResourceOutput {
crate::output::ListTagsForResourceOutput { tags: self.tags }
}
}
}
impl ListTagsForResourceOutput {
/// Creates a new builder-style object to manufacture [`ListTagsForResourceOutput`](crate::output::ListTagsForResourceOutput)
pub fn builder() -> crate::output::list_tags_for_resource_output::Builder {
crate::output::list_tags_for_resource_output::Builder::default()
}
}
/// <p>A list of all of the identities that you've attempted to verify for use with Amazon Pinpoint, regardless of whether or not those identities were successfully verified.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct ListEmailIdentitiesOutput {
/// <p>An array that includes all of the identities associated with your Amazon Pinpoint account.</p>
pub email_identities: std::option::Option<std::vec::Vec<crate::model::IdentityInfo>>,
/// <p>A token that indicates that there are additional configuration sets to list. To view additional configuration sets, issue another request to <code>ListEmailIdentities</code>, and pass this token in the <code>NextToken</code> parameter.</p>
pub next_token: std::option::Option<std::string::String>,
}
impl ListEmailIdentitiesOutput {
/// <p>An array that includes all of the identities associated with your Amazon Pinpoint account.</p>
pub fn email_identities(&self) -> std::option::Option<&[crate::model::IdentityInfo]> {
self.email_identities.as_deref()
}
/// <p>A token that indicates that there are additional configuration sets to list. To view additional configuration sets, issue another request to <code>ListEmailIdentities</code>, and pass this token in the <code>NextToken</code> parameter.</p>
pub fn next_token(&self) -> std::option::Option<&str> {
self.next_token.as_deref()
}
}
impl std::fmt::Debug for ListEmailIdentitiesOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("ListEmailIdentitiesOutput");
formatter.field("email_identities", &self.email_identities);
formatter.field("next_token", &self.next_token);
formatter.finish()
}
}
/// See [`ListEmailIdentitiesOutput`](crate::output::ListEmailIdentitiesOutput)
pub mod list_email_identities_output {
/// A builder for [`ListEmailIdentitiesOutput`](crate::output::ListEmailIdentitiesOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) email_identities: std::option::Option<std::vec::Vec<crate::model::IdentityInfo>>,
pub(crate) next_token: std::option::Option<std::string::String>,
}
impl Builder {
/// Appends an item to `email_identities`.
///
/// To override the contents of this collection use [`set_email_identities`](Self::set_email_identities).
///
/// <p>An array that includes all of the identities associated with your Amazon Pinpoint account.</p>
pub fn email_identities(mut self, input: crate::model::IdentityInfo) -> Self {
let mut v = self.email_identities.unwrap_or_default();
v.push(input);
self.email_identities = Some(v);
self
}
/// <p>An array that includes all of the identities associated with your Amazon Pinpoint account.</p>
pub fn set_email_identities(
mut self,
input: std::option::Option<std::vec::Vec<crate::model::IdentityInfo>>,
) -> Self {
self.email_identities = input;
self
}
/// <p>A token that indicates that there are additional configuration sets to list. To view additional configuration sets, issue another request to <code>ListEmailIdentities</code>, and pass this token in the <code>NextToken</code> parameter.</p>
pub fn next_token(mut self, input: impl Into<std::string::String>) -> Self {
self.next_token = Some(input.into());
self
}
/// <p>A token that indicates that there are additional configuration sets to list. To view additional configuration sets, issue another request to <code>ListEmailIdentities</code>, and pass this token in the <code>NextToken</code> parameter.</p>
pub fn set_next_token(mut self, input: std::option::Option<std::string::String>) -> Self {
self.next_token = input;
self
}
/// Consumes the builder and constructs a [`ListEmailIdentitiesOutput`](crate::output::ListEmailIdentitiesOutput)
pub fn build(self) -> crate::output::ListEmailIdentitiesOutput {
crate::output::ListEmailIdentitiesOutput {
email_identities: self.email_identities,
next_token: self.next_token,
}
}
}
}
impl ListEmailIdentitiesOutput {
/// Creates a new builder-style object to manufacture [`ListEmailIdentitiesOutput`](crate::output::ListEmailIdentitiesOutput)
pub fn builder() -> crate::output::list_email_identities_output::Builder {
crate::output::list_email_identities_output::Builder::default()
}
}
/// <p>An array of objects that provide deliverability data for all the campaigns that used a specific domain to send email during a specified time range. This data is available for a domain only if you enabled the Deliverability dashboard (<code>PutDeliverabilityDashboardOption</code> operation) for the domain.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct ListDomainDeliverabilityCampaignsOutput {
/// <p>An array of responses, one for each campaign that used the domain to send email during the specified time range.</p>
pub domain_deliverability_campaigns:
std::option::Option<std::vec::Vec<crate::model::DomainDeliverabilityCampaign>>,
/// <p>A token that’s returned from a previous call to the <code>ListDomainDeliverabilityCampaigns</code> operation. This token indicates the position of the campaign in the list of campaigns.</p>
pub next_token: std::option::Option<std::string::String>,
}
impl ListDomainDeliverabilityCampaignsOutput {
/// <p>An array of responses, one for each campaign that used the domain to send email during the specified time range.</p>
pub fn domain_deliverability_campaigns(
&self,
) -> std::option::Option<&[crate::model::DomainDeliverabilityCampaign]> {
self.domain_deliverability_campaigns.as_deref()
}
/// <p>A token that’s returned from a previous call to the <code>ListDomainDeliverabilityCampaigns</code> operation. This token indicates the position of the campaign in the list of campaigns.</p>
pub fn next_token(&self) -> std::option::Option<&str> {
self.next_token.as_deref()
}
}
impl std::fmt::Debug for ListDomainDeliverabilityCampaignsOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("ListDomainDeliverabilityCampaignsOutput");
formatter.field(
"domain_deliverability_campaigns",
&self.domain_deliverability_campaigns,
);
formatter.field("next_token", &self.next_token);
formatter.finish()
}
}
/// See [`ListDomainDeliverabilityCampaignsOutput`](crate::output::ListDomainDeliverabilityCampaignsOutput)
pub mod list_domain_deliverability_campaigns_output {
/// A builder for [`ListDomainDeliverabilityCampaignsOutput`](crate::output::ListDomainDeliverabilityCampaignsOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) domain_deliverability_campaigns:
std::option::Option<std::vec::Vec<crate::model::DomainDeliverabilityCampaign>>,
pub(crate) next_token: std::option::Option<std::string::String>,
}
impl Builder {
/// Appends an item to `domain_deliverability_campaigns`.
///
/// To override the contents of this collection use [`set_domain_deliverability_campaigns`](Self::set_domain_deliverability_campaigns).
///
/// <p>An array of responses, one for each campaign that used the domain to send email during the specified time range.</p>
pub fn domain_deliverability_campaigns(
mut self,
input: crate::model::DomainDeliverabilityCampaign,
) -> Self {
let mut v = self.domain_deliverability_campaigns.unwrap_or_default();
v.push(input);
self.domain_deliverability_campaigns = Some(v);
self
}
/// <p>An array of responses, one for each campaign that used the domain to send email during the specified time range.</p>
pub fn set_domain_deliverability_campaigns(
mut self,
input: std::option::Option<std::vec::Vec<crate::model::DomainDeliverabilityCampaign>>,
) -> Self {
self.domain_deliverability_campaigns = input;
self
}
/// <p>A token that’s returned from a previous call to the <code>ListDomainDeliverabilityCampaigns</code> operation. This token indicates the position of the campaign in the list of campaigns.</p>
pub fn next_token(mut self, input: impl Into<std::string::String>) -> Self {
self.next_token = Some(input.into());
self
}
/// <p>A token that’s returned from a previous call to the <code>ListDomainDeliverabilityCampaigns</code> operation. This token indicates the position of the campaign in the list of campaigns.</p>
pub fn set_next_token(mut self, input: std::option::Option<std::string::String>) -> Self {
self.next_token = input;
self
}
/// Consumes the builder and constructs a [`ListDomainDeliverabilityCampaignsOutput`](crate::output::ListDomainDeliverabilityCampaignsOutput)
pub fn build(self) -> crate::output::ListDomainDeliverabilityCampaignsOutput {
crate::output::ListDomainDeliverabilityCampaignsOutput {
domain_deliverability_campaigns: self.domain_deliverability_campaigns,
next_token: self.next_token,
}
}
}
}
impl ListDomainDeliverabilityCampaignsOutput {
/// Creates a new builder-style object to manufacture [`ListDomainDeliverabilityCampaignsOutput`](crate::output::ListDomainDeliverabilityCampaignsOutput)
pub fn builder() -> crate::output::list_domain_deliverability_campaigns_output::Builder {
crate::output::list_domain_deliverability_campaigns_output::Builder::default()
}
}
/// <p>A list of the predictive inbox placement test reports that are available for your account, regardless of whether or not those tests are complete.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct ListDeliverabilityTestReportsOutput {
/// <p>An object that contains a lists of predictive inbox placement tests that you've performed.</p>
pub deliverability_test_reports:
std::option::Option<std::vec::Vec<crate::model::DeliverabilityTestReport>>,
/// <p>A token that indicates that there are additional predictive inbox placement tests to list. To view additional predictive inbox placement tests, issue another request to <code>ListDeliverabilityTestReports</code>, and pass this token in the <code>NextToken</code> parameter.</p>
pub next_token: std::option::Option<std::string::String>,
}
impl ListDeliverabilityTestReportsOutput {
/// <p>An object that contains a lists of predictive inbox placement tests that you've performed.</p>
pub fn deliverability_test_reports(
&self,
) -> std::option::Option<&[crate::model::DeliverabilityTestReport]> {
self.deliverability_test_reports.as_deref()
}
/// <p>A token that indicates that there are additional predictive inbox placement tests to list. To view additional predictive inbox placement tests, issue another request to <code>ListDeliverabilityTestReports</code>, and pass this token in the <code>NextToken</code> parameter.</p>
pub fn next_token(&self) -> std::option::Option<&str> {
self.next_token.as_deref()
}
}
impl std::fmt::Debug for ListDeliverabilityTestReportsOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("ListDeliverabilityTestReportsOutput");
formatter.field(
"deliverability_test_reports",
&self.deliverability_test_reports,
);
formatter.field("next_token", &self.next_token);
formatter.finish()
}
}
/// See [`ListDeliverabilityTestReportsOutput`](crate::output::ListDeliverabilityTestReportsOutput)
pub mod list_deliverability_test_reports_output {
/// A builder for [`ListDeliverabilityTestReportsOutput`](crate::output::ListDeliverabilityTestReportsOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) deliverability_test_reports:
std::option::Option<std::vec::Vec<crate::model::DeliverabilityTestReport>>,
pub(crate) next_token: std::option::Option<std::string::String>,
}
impl Builder {
/// Appends an item to `deliverability_test_reports`.
///
/// To override the contents of this collection use [`set_deliverability_test_reports`](Self::set_deliverability_test_reports).
///
/// <p>An object that contains a lists of predictive inbox placement tests that you've performed.</p>
pub fn deliverability_test_reports(
mut self,
input: crate::model::DeliverabilityTestReport,
) -> Self {
let mut v = self.deliverability_test_reports.unwrap_or_default();
v.push(input);
self.deliverability_test_reports = Some(v);
self
}
/// <p>An object that contains a lists of predictive inbox placement tests that you've performed.</p>
pub fn set_deliverability_test_reports(
mut self,
input: std::option::Option<std::vec::Vec<crate::model::DeliverabilityTestReport>>,
) -> Self {
self.deliverability_test_reports = input;
self
}
/// <p>A token that indicates that there are additional predictive inbox placement tests to list. To view additional predictive inbox placement tests, issue another request to <code>ListDeliverabilityTestReports</code>, and pass this token in the <code>NextToken</code> parameter.</p>
pub fn next_token(mut self, input: impl Into<std::string::String>) -> Self {
self.next_token = Some(input.into());
self
}
/// <p>A token that indicates that there are additional predictive inbox placement tests to list. To view additional predictive inbox placement tests, issue another request to <code>ListDeliverabilityTestReports</code>, and pass this token in the <code>NextToken</code> parameter.</p>
pub fn set_next_token(mut self, input: std::option::Option<std::string::String>) -> Self {
self.next_token = input;
self
}
/// Consumes the builder and constructs a [`ListDeliverabilityTestReportsOutput`](crate::output::ListDeliverabilityTestReportsOutput)
pub fn build(self) -> crate::output::ListDeliverabilityTestReportsOutput {
crate::output::ListDeliverabilityTestReportsOutput {
deliverability_test_reports: self.deliverability_test_reports,
next_token: self.next_token,
}
}
}
}
impl ListDeliverabilityTestReportsOutput {
/// Creates a new builder-style object to manufacture [`ListDeliverabilityTestReportsOutput`](crate::output::ListDeliverabilityTestReportsOutput)
pub fn builder() -> crate::output::list_deliverability_test_reports_output::Builder {
crate::output::list_deliverability_test_reports_output::Builder::default()
}
}
/// <p>A list of dedicated IP pools.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct ListDedicatedIpPoolsOutput {
/// <p>A list of all of the dedicated IP pools that are associated with your Amazon Pinpoint account.</p>
pub dedicated_ip_pools: std::option::Option<std::vec::Vec<std::string::String>>,
/// <p>A token that indicates that there are additional IP pools to list. To view additional IP pools, issue another request to <code>ListDedicatedIpPools</code>, passing this token in the <code>NextToken</code> parameter.</p>
pub next_token: std::option::Option<std::string::String>,
}
impl ListDedicatedIpPoolsOutput {
/// <p>A list of all of the dedicated IP pools that are associated with your Amazon Pinpoint account.</p>
pub fn dedicated_ip_pools(&self) -> std::option::Option<&[std::string::String]> {
self.dedicated_ip_pools.as_deref()
}
/// <p>A token that indicates that there are additional IP pools to list. To view additional IP pools, issue another request to <code>ListDedicatedIpPools</code>, passing this token in the <code>NextToken</code> parameter.</p>
pub fn next_token(&self) -> std::option::Option<&str> {
self.next_token.as_deref()
}
}
impl std::fmt::Debug for ListDedicatedIpPoolsOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("ListDedicatedIpPoolsOutput");
formatter.field("dedicated_ip_pools", &self.dedicated_ip_pools);
formatter.field("next_token", &self.next_token);
formatter.finish()
}
}
/// See [`ListDedicatedIpPoolsOutput`](crate::output::ListDedicatedIpPoolsOutput)
pub mod list_dedicated_ip_pools_output {
/// A builder for [`ListDedicatedIpPoolsOutput`](crate::output::ListDedicatedIpPoolsOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) dedicated_ip_pools: std::option::Option<std::vec::Vec<std::string::String>>,
pub(crate) next_token: std::option::Option<std::string::String>,
}
impl Builder {
/// Appends an item to `dedicated_ip_pools`.
///
/// To override the contents of this collection use [`set_dedicated_ip_pools`](Self::set_dedicated_ip_pools).
///
/// <p>A list of all of the dedicated IP pools that are associated with your Amazon Pinpoint account.</p>
pub fn dedicated_ip_pools(mut self, input: impl Into<std::string::String>) -> Self {
let mut v = self.dedicated_ip_pools.unwrap_or_default();
v.push(input.into());
self.dedicated_ip_pools = Some(v);
self
}
/// <p>A list of all of the dedicated IP pools that are associated with your Amazon Pinpoint account.</p>
pub fn set_dedicated_ip_pools(
mut self,
input: std::option::Option<std::vec::Vec<std::string::String>>,
) -> Self {
self.dedicated_ip_pools = input;
self
}
/// <p>A token that indicates that there are additional IP pools to list. To view additional IP pools, issue another request to <code>ListDedicatedIpPools</code>, passing this token in the <code>NextToken</code> parameter.</p>
pub fn next_token(mut self, input: impl Into<std::string::String>) -> Self {
self.next_token = Some(input.into());
self
}
/// <p>A token that indicates that there are additional IP pools to list. To view additional IP pools, issue another request to <code>ListDedicatedIpPools</code>, passing this token in the <code>NextToken</code> parameter.</p>
pub fn set_next_token(mut self, input: std::option::Option<std::string::String>) -> Self {
self.next_token = input;
self
}
/// Consumes the builder and constructs a [`ListDedicatedIpPoolsOutput`](crate::output::ListDedicatedIpPoolsOutput)
pub fn build(self) -> crate::output::ListDedicatedIpPoolsOutput {
crate::output::ListDedicatedIpPoolsOutput {
dedicated_ip_pools: self.dedicated_ip_pools,
next_token: self.next_token,
}
}
}
}
impl ListDedicatedIpPoolsOutput {
/// Creates a new builder-style object to manufacture [`ListDedicatedIpPoolsOutput`](crate::output::ListDedicatedIpPoolsOutput)
pub fn builder() -> crate::output::list_dedicated_ip_pools_output::Builder {
crate::output::list_dedicated_ip_pools_output::Builder::default()
}
}
/// <p>A list of configuration sets in your Amazon Pinpoint account in the current AWS Region.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct ListConfigurationSetsOutput {
/// <p>An array that contains all of the configuration sets in your Amazon Pinpoint account in the current AWS Region.</p>
pub configuration_sets: std::option::Option<std::vec::Vec<std::string::String>>,
/// <p>A token that indicates that there are additional configuration sets to list. To view additional configuration sets, issue another request to <code>ListConfigurationSets</code>, and pass this token in the <code>NextToken</code> parameter.</p>
pub next_token: std::option::Option<std::string::String>,
}
impl ListConfigurationSetsOutput {
/// <p>An array that contains all of the configuration sets in your Amazon Pinpoint account in the current AWS Region.</p>
pub fn configuration_sets(&self) -> std::option::Option<&[std::string::String]> {
self.configuration_sets.as_deref()
}
/// <p>A token that indicates that there are additional configuration sets to list. To view additional configuration sets, issue another request to <code>ListConfigurationSets</code>, and pass this token in the <code>NextToken</code> parameter.</p>
pub fn next_token(&self) -> std::option::Option<&str> {
self.next_token.as_deref()
}
}
impl std::fmt::Debug for ListConfigurationSetsOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("ListConfigurationSetsOutput");
formatter.field("configuration_sets", &self.configuration_sets);
formatter.field("next_token", &self.next_token);
formatter.finish()
}
}
/// See [`ListConfigurationSetsOutput`](crate::output::ListConfigurationSetsOutput)
pub mod list_configuration_sets_output {
/// A builder for [`ListConfigurationSetsOutput`](crate::output::ListConfigurationSetsOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) configuration_sets: std::option::Option<std::vec::Vec<std::string::String>>,
pub(crate) next_token: std::option::Option<std::string::String>,
}
impl Builder {
/// Appends an item to `configuration_sets`.
///
/// To override the contents of this collection use [`set_configuration_sets`](Self::set_configuration_sets).
///
/// <p>An array that contains all of the configuration sets in your Amazon Pinpoint account in the current AWS Region.</p>
pub fn configuration_sets(mut self, input: impl Into<std::string::String>) -> Self {
let mut v = self.configuration_sets.unwrap_or_default();
v.push(input.into());
self.configuration_sets = Some(v);
self
}
/// <p>An array that contains all of the configuration sets in your Amazon Pinpoint account in the current AWS Region.</p>
pub fn set_configuration_sets(
mut self,
input: std::option::Option<std::vec::Vec<std::string::String>>,
) -> Self {
self.configuration_sets = input;
self
}
/// <p>A token that indicates that there are additional configuration sets to list. To view additional configuration sets, issue another request to <code>ListConfigurationSets</code>, and pass this token in the <code>NextToken</code> parameter.</p>
pub fn next_token(mut self, input: impl Into<std::string::String>) -> Self {
self.next_token = Some(input.into());
self
}
/// <p>A token that indicates that there are additional configuration sets to list. To view additional configuration sets, issue another request to <code>ListConfigurationSets</code>, and pass this token in the <code>NextToken</code> parameter.</p>
pub fn set_next_token(mut self, input: std::option::Option<std::string::String>) -> Self {
self.next_token = input;
self
}
/// Consumes the builder and constructs a [`ListConfigurationSetsOutput`](crate::output::ListConfigurationSetsOutput)
pub fn build(self) -> crate::output::ListConfigurationSetsOutput {
crate::output::ListConfigurationSetsOutput {
configuration_sets: self.configuration_sets,
next_token: self.next_token,
}
}
}
}
impl ListConfigurationSetsOutput {
/// Creates a new builder-style object to manufacture [`ListConfigurationSetsOutput`](crate::output::ListConfigurationSetsOutput)
pub fn builder() -> crate::output::list_configuration_sets_output::Builder {
crate::output::list_configuration_sets_output::Builder::default()
}
}
/// <p>Details about an email identity.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct GetEmailIdentityOutput {
/// <p>The email identity type.</p>
pub identity_type: std::option::Option<crate::model::IdentityType>,
/// <p>The feedback forwarding configuration for the identity.</p>
/// <p>If the value is <code>true</code>, Amazon Pinpoint sends you email notifications when bounce or complaint events occur. Amazon Pinpoint sends this notification to the address that you specified in the Return-Path header of the original email.</p>
/// <p>When you set this value to <code>false</code>, Amazon Pinpoint sends notifications through other mechanisms, such as by notifying an Amazon SNS topic or another event destination. You're required to have a method of tracking bounces and complaints. If you haven't set up another mechanism for receiving bounce or complaint notifications, Amazon Pinpoint sends an email notification when these events occur (even if this setting is disabled).</p>
pub feedback_forwarding_status: bool,
/// <p>Specifies whether or not the identity is verified. In Amazon Pinpoint, you can only send email from verified email addresses or domains. For more information about verifying identities, see the <a href="https://docs.aws.amazon.com/pinpoint/latest/userguide/channels-email-manage-verify.html">Amazon Pinpoint User Guide</a>.</p>
pub verified_for_sending_status: bool,
/// <p>An object that contains information about the DKIM attributes for the identity. This object includes the tokens that you use to create the CNAME records that are required to complete the DKIM verification process.</p>
pub dkim_attributes: std::option::Option<crate::model::DkimAttributes>,
/// <p>An object that contains information about the Mail-From attributes for the email identity.</p>
pub mail_from_attributes: std::option::Option<crate::model::MailFromAttributes>,
/// <p>An array of objects that define the tags (keys and values) that are associated with the email identity.</p>
pub tags: std::option::Option<std::vec::Vec<crate::model::Tag>>,
}
impl GetEmailIdentityOutput {
/// <p>The email identity type.</p>
pub fn identity_type(&self) -> std::option::Option<&crate::model::IdentityType> {
self.identity_type.as_ref()
}
/// <p>The feedback forwarding configuration for the identity.</p>
/// <p>If the value is <code>true</code>, Amazon Pinpoint sends you email notifications when bounce or complaint events occur. Amazon Pinpoint sends this notification to the address that you specified in the Return-Path header of the original email.</p>
/// <p>When you set this value to <code>false</code>, Amazon Pinpoint sends notifications through other mechanisms, such as by notifying an Amazon SNS topic or another event destination. You're required to have a method of tracking bounces and complaints. If you haven't set up another mechanism for receiving bounce or complaint notifications, Amazon Pinpoint sends an email notification when these events occur (even if this setting is disabled).</p>
pub fn feedback_forwarding_status(&self) -> bool {
self.feedback_forwarding_status
}
/// <p>Specifies whether or not the identity is verified. In Amazon Pinpoint, you can only send email from verified email addresses or domains. For more information about verifying identities, see the <a href="https://docs.aws.amazon.com/pinpoint/latest/userguide/channels-email-manage-verify.html">Amazon Pinpoint User Guide</a>.</p>
pub fn verified_for_sending_status(&self) -> bool {
self.verified_for_sending_status
}
/// <p>An object that contains information about the DKIM attributes for the identity. This object includes the tokens that you use to create the CNAME records that are required to complete the DKIM verification process.</p>
pub fn dkim_attributes(&self) -> std::option::Option<&crate::model::DkimAttributes> {
self.dkim_attributes.as_ref()
}
/// <p>An object that contains information about the Mail-From attributes for the email identity.</p>
pub fn mail_from_attributes(&self) -> std::option::Option<&crate::model::MailFromAttributes> {
self.mail_from_attributes.as_ref()
}
/// <p>An array of objects that define the tags (keys and values) that are associated with the email identity.</p>
pub fn tags(&self) -> std::option::Option<&[crate::model::Tag]> {
self.tags.as_deref()
}
}
impl std::fmt::Debug for GetEmailIdentityOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("GetEmailIdentityOutput");
formatter.field("identity_type", &self.identity_type);
formatter.field(
"feedback_forwarding_status",
&self.feedback_forwarding_status,
);
formatter.field(
"verified_for_sending_status",
&self.verified_for_sending_status,
);
formatter.field("dkim_attributes", &self.dkim_attributes);
formatter.field("mail_from_attributes", &self.mail_from_attributes);
formatter.field("tags", &self.tags);
formatter.finish()
}
}
/// See [`GetEmailIdentityOutput`](crate::output::GetEmailIdentityOutput)
pub mod get_email_identity_output {
/// A builder for [`GetEmailIdentityOutput`](crate::output::GetEmailIdentityOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) identity_type: std::option::Option<crate::model::IdentityType>,
pub(crate) feedback_forwarding_status: std::option::Option<bool>,
pub(crate) verified_for_sending_status: std::option::Option<bool>,
pub(crate) dkim_attributes: std::option::Option<crate::model::DkimAttributes>,
pub(crate) mail_from_attributes: std::option::Option<crate::model::MailFromAttributes>,
pub(crate) tags: std::option::Option<std::vec::Vec<crate::model::Tag>>,
}
impl Builder {
/// <p>The email identity type.</p>
pub fn identity_type(mut self, input: crate::model::IdentityType) -> Self {
self.identity_type = Some(input);
self
}
/// <p>The email identity type.</p>
pub fn set_identity_type(
mut self,
input: std::option::Option<crate::model::IdentityType>,
) -> Self {
self.identity_type = input;
self
}
/// <p>The feedback forwarding configuration for the identity.</p>
/// <p>If the value is <code>true</code>, Amazon Pinpoint sends you email notifications when bounce or complaint events occur. Amazon Pinpoint sends this notification to the address that you specified in the Return-Path header of the original email.</p>
/// <p>When you set this value to <code>false</code>, Amazon Pinpoint sends notifications through other mechanisms, such as by notifying an Amazon SNS topic or another event destination. You're required to have a method of tracking bounces and complaints. If you haven't set up another mechanism for receiving bounce or complaint notifications, Amazon Pinpoint sends an email notification when these events occur (even if this setting is disabled).</p>
pub fn feedback_forwarding_status(mut self, input: bool) -> Self {
self.feedback_forwarding_status = Some(input);
self
}
/// <p>The feedback forwarding configuration for the identity.</p>
/// <p>If the value is <code>true</code>, Amazon Pinpoint sends you email notifications when bounce or complaint events occur. Amazon Pinpoint sends this notification to the address that you specified in the Return-Path header of the original email.</p>
/// <p>When you set this value to <code>false</code>, Amazon Pinpoint sends notifications through other mechanisms, such as by notifying an Amazon SNS topic or another event destination. You're required to have a method of tracking bounces and complaints. If you haven't set up another mechanism for receiving bounce or complaint notifications, Amazon Pinpoint sends an email notification when these events occur (even if this setting is disabled).</p>
pub fn set_feedback_forwarding_status(mut self, input: std::option::Option<bool>) -> Self {
self.feedback_forwarding_status = input;
self
}
/// <p>Specifies whether or not the identity is verified. In Amazon Pinpoint, you can only send email from verified email addresses or domains. For more information about verifying identities, see the <a href="https://docs.aws.amazon.com/pinpoint/latest/userguide/channels-email-manage-verify.html">Amazon Pinpoint User Guide</a>.</p>
pub fn verified_for_sending_status(mut self, input: bool) -> Self {
self.verified_for_sending_status = Some(input);
self
}
/// <p>Specifies whether or not the identity is verified. In Amazon Pinpoint, you can only send email from verified email addresses or domains. For more information about verifying identities, see the <a href="https://docs.aws.amazon.com/pinpoint/latest/userguide/channels-email-manage-verify.html">Amazon Pinpoint User Guide</a>.</p>
pub fn set_verified_for_sending_status(mut self, input: std::option::Option<bool>) -> Self {
self.verified_for_sending_status = input;
self
}
/// <p>An object that contains information about the DKIM attributes for the identity. This object includes the tokens that you use to create the CNAME records that are required to complete the DKIM verification process.</p>
pub fn dkim_attributes(mut self, input: crate::model::DkimAttributes) -> Self {
self.dkim_attributes = Some(input);
self
}
/// <p>An object that contains information about the DKIM attributes for the identity. This object includes the tokens that you use to create the CNAME records that are required to complete the DKIM verification process.</p>
pub fn set_dkim_attributes(
mut self,
input: std::option::Option<crate::model::DkimAttributes>,
) -> Self {
self.dkim_attributes = input;
self
}
/// <p>An object that contains information about the Mail-From attributes for the email identity.</p>
pub fn mail_from_attributes(mut self, input: crate::model::MailFromAttributes) -> Self {
self.mail_from_attributes = Some(input);
self
}
/// <p>An object that contains information about the Mail-From attributes for the email identity.</p>
pub fn set_mail_from_attributes(
mut self,
input: std::option::Option<crate::model::MailFromAttributes>,
) -> Self {
self.mail_from_attributes = input;
self
}
/// Appends an item to `tags`.
///
/// To override the contents of this collection use [`set_tags`](Self::set_tags).
///
/// <p>An array of objects that define the tags (keys and values) that are associated with the email identity.</p>
pub fn tags(mut self, input: crate::model::Tag) -> Self {
let mut v = self.tags.unwrap_or_default();
v.push(input);
self.tags = Some(v);
self
}
/// <p>An array of objects that define the tags (keys and values) that are associated with the email identity.</p>
pub fn set_tags(
mut self,
input: std::option::Option<std::vec::Vec<crate::model::Tag>>,
) -> Self {
self.tags = input;
self
}
/// Consumes the builder and constructs a [`GetEmailIdentityOutput`](crate::output::GetEmailIdentityOutput)
pub fn build(self) -> crate::output::GetEmailIdentityOutput {
crate::output::GetEmailIdentityOutput {
identity_type: self.identity_type,
feedback_forwarding_status: self.feedback_forwarding_status.unwrap_or_default(),
verified_for_sending_status: self.verified_for_sending_status.unwrap_or_default(),
dkim_attributes: self.dkim_attributes,
mail_from_attributes: self.mail_from_attributes,
tags: self.tags,
}
}
}
}
impl GetEmailIdentityOutput {
/// Creates a new builder-style object to manufacture [`GetEmailIdentityOutput`](crate::output::GetEmailIdentityOutput)
pub fn builder() -> crate::output::get_email_identity_output::Builder {
crate::output::get_email_identity_output::Builder::default()
}
}
/// <p>An object that includes statistics that are related to the domain that you specified.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct GetDomainStatisticsReportOutput {
/// <p>An object that contains deliverability metrics for the domain that you specified. The data in this object is a summary of all of the data that was collected from the <code>StartDate</code> to the <code>EndDate</code>.</p>
pub overall_volume: std::option::Option<crate::model::OverallVolume>,
/// <p>An object that contains deliverability metrics for the domain that you specified. This object contains data for each day, starting on the <code>StartDate</code> and ending on the <code>EndDate</code>.</p>
pub daily_volumes: std::option::Option<std::vec::Vec<crate::model::DailyVolume>>,
}
impl GetDomainStatisticsReportOutput {
/// <p>An object that contains deliverability metrics for the domain that you specified. The data in this object is a summary of all of the data that was collected from the <code>StartDate</code> to the <code>EndDate</code>.</p>
pub fn overall_volume(&self) -> std::option::Option<&crate::model::OverallVolume> {
self.overall_volume.as_ref()
}
/// <p>An object that contains deliverability metrics for the domain that you specified. This object contains data for each day, starting on the <code>StartDate</code> and ending on the <code>EndDate</code>.</p>
pub fn daily_volumes(&self) -> std::option::Option<&[crate::model::DailyVolume]> {
self.daily_volumes.as_deref()
}
}
impl std::fmt::Debug for GetDomainStatisticsReportOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("GetDomainStatisticsReportOutput");
formatter.field("overall_volume", &self.overall_volume);
formatter.field("daily_volumes", &self.daily_volumes);
formatter.finish()
}
}
/// See [`GetDomainStatisticsReportOutput`](crate::output::GetDomainStatisticsReportOutput)
pub mod get_domain_statistics_report_output {
/// A builder for [`GetDomainStatisticsReportOutput`](crate::output::GetDomainStatisticsReportOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) overall_volume: std::option::Option<crate::model::OverallVolume>,
pub(crate) daily_volumes: std::option::Option<std::vec::Vec<crate::model::DailyVolume>>,
}
impl Builder {
/// <p>An object that contains deliverability metrics for the domain that you specified. The data in this object is a summary of all of the data that was collected from the <code>StartDate</code> to the <code>EndDate</code>.</p>
pub fn overall_volume(mut self, input: crate::model::OverallVolume) -> Self {
self.overall_volume = Some(input);
self
}
/// <p>An object that contains deliverability metrics for the domain that you specified. The data in this object is a summary of all of the data that was collected from the <code>StartDate</code> to the <code>EndDate</code>.</p>
pub fn set_overall_volume(
mut self,
input: std::option::Option<crate::model::OverallVolume>,
) -> Self {
self.overall_volume = input;
self
}
/// Appends an item to `daily_volumes`.
///
/// To override the contents of this collection use [`set_daily_volumes`](Self::set_daily_volumes).
///
/// <p>An object that contains deliverability metrics for the domain that you specified. This object contains data for each day, starting on the <code>StartDate</code> and ending on the <code>EndDate</code>.</p>
pub fn daily_volumes(mut self, input: crate::model::DailyVolume) -> Self {
let mut v = self.daily_volumes.unwrap_or_default();
v.push(input);
self.daily_volumes = Some(v);
self
}
/// <p>An object that contains deliverability metrics for the domain that you specified. This object contains data for each day, starting on the <code>StartDate</code> and ending on the <code>EndDate</code>.</p>
pub fn set_daily_volumes(
mut self,
input: std::option::Option<std::vec::Vec<crate::model::DailyVolume>>,
) -> Self {
self.daily_volumes = input;
self
}
/// Consumes the builder and constructs a [`GetDomainStatisticsReportOutput`](crate::output::GetDomainStatisticsReportOutput)
pub fn build(self) -> crate::output::GetDomainStatisticsReportOutput {
crate::output::GetDomainStatisticsReportOutput {
overall_volume: self.overall_volume,
daily_volumes: self.daily_volumes,
}
}
}
}
impl GetDomainStatisticsReportOutput {
/// Creates a new builder-style object to manufacture [`GetDomainStatisticsReportOutput`](crate::output::GetDomainStatisticsReportOutput)
pub fn builder() -> crate::output::get_domain_statistics_report_output::Builder {
crate::output::get_domain_statistics_report_output::Builder::default()
}
}
/// <p>An object that contains all the deliverability data for a specific campaign. This data is available for a campaign only if the campaign sent email by using a domain that the Deliverability dashboard is enabled for (<code>PutDeliverabilityDashboardOption</code> operation).</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct GetDomainDeliverabilityCampaignOutput {
/// <p>An object that contains the deliverability data for the campaign.</p>
pub domain_deliverability_campaign:
std::option::Option<crate::model::DomainDeliverabilityCampaign>,
}
impl GetDomainDeliverabilityCampaignOutput {
/// <p>An object that contains the deliverability data for the campaign.</p>
pub fn domain_deliverability_campaign(
&self,
) -> std::option::Option<&crate::model::DomainDeliverabilityCampaign> {
self.domain_deliverability_campaign.as_ref()
}
}
impl std::fmt::Debug for GetDomainDeliverabilityCampaignOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("GetDomainDeliverabilityCampaignOutput");
formatter.field(
"domain_deliverability_campaign",
&self.domain_deliverability_campaign,
);
formatter.finish()
}
}
/// See [`GetDomainDeliverabilityCampaignOutput`](crate::output::GetDomainDeliverabilityCampaignOutput)
pub mod get_domain_deliverability_campaign_output {
/// A builder for [`GetDomainDeliverabilityCampaignOutput`](crate::output::GetDomainDeliverabilityCampaignOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) domain_deliverability_campaign:
std::option::Option<crate::model::DomainDeliverabilityCampaign>,
}
impl Builder {
/// <p>An object that contains the deliverability data for the campaign.</p>
pub fn domain_deliverability_campaign(
mut self,
input: crate::model::DomainDeliverabilityCampaign,
) -> Self {
self.domain_deliverability_campaign = Some(input);
self
}
/// <p>An object that contains the deliverability data for the campaign.</p>
pub fn set_domain_deliverability_campaign(
mut self,
input: std::option::Option<crate::model::DomainDeliverabilityCampaign>,
) -> Self {
self.domain_deliverability_campaign = input;
self
}
/// Consumes the builder and constructs a [`GetDomainDeliverabilityCampaignOutput`](crate::output::GetDomainDeliverabilityCampaignOutput)
pub fn build(self) -> crate::output::GetDomainDeliverabilityCampaignOutput {
crate::output::GetDomainDeliverabilityCampaignOutput {
domain_deliverability_campaign: self.domain_deliverability_campaign,
}
}
}
}
impl GetDomainDeliverabilityCampaignOutput {
/// Creates a new builder-style object to manufacture [`GetDomainDeliverabilityCampaignOutput`](crate::output::GetDomainDeliverabilityCampaignOutput)
pub fn builder() -> crate::output::get_domain_deliverability_campaign_output::Builder {
crate::output::get_domain_deliverability_campaign_output::Builder::default()
}
}
/// <p>The results of the predictive inbox placement test.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct GetDeliverabilityTestReportOutput {
/// <p>An object that contains the results of the predictive inbox placement test.</p>
pub deliverability_test_report: std::option::Option<crate::model::DeliverabilityTestReport>,
/// <p>An object that specifies how many test messages that were sent during the predictive inbox placement test were delivered to recipients' inboxes, how many were sent to recipients' spam folders, and how many weren't delivered.</p>
pub overall_placement: std::option::Option<crate::model::PlacementStatistics>,
/// <p>An object that describes how the test email was handled by several email providers, including Gmail, Hotmail, Yahoo, AOL, and others.</p>
pub isp_placements: std::option::Option<std::vec::Vec<crate::model::IspPlacement>>,
/// <p>An object that contains the message that you sent when you performed this predictive inbox placement test.</p>
pub message: std::option::Option<std::string::String>,
/// <p>An array of objects that define the tags (keys and values) that are associated with the predictive inbox placement test.</p>
pub tags: std::option::Option<std::vec::Vec<crate::model::Tag>>,
}
impl GetDeliverabilityTestReportOutput {
/// <p>An object that contains the results of the predictive inbox placement test.</p>
pub fn deliverability_test_report(
&self,
) -> std::option::Option<&crate::model::DeliverabilityTestReport> {
self.deliverability_test_report.as_ref()
}
/// <p>An object that specifies how many test messages that were sent during the predictive inbox placement test were delivered to recipients' inboxes, how many were sent to recipients' spam folders, and how many weren't delivered.</p>
pub fn overall_placement(&self) -> std::option::Option<&crate::model::PlacementStatistics> {
self.overall_placement.as_ref()
}
/// <p>An object that describes how the test email was handled by several email providers, including Gmail, Hotmail, Yahoo, AOL, and others.</p>
pub fn isp_placements(&self) -> std::option::Option<&[crate::model::IspPlacement]> {
self.isp_placements.as_deref()
}
/// <p>An object that contains the message that you sent when you performed this predictive inbox placement test.</p>
pub fn message(&self) -> std::option::Option<&str> {
self.message.as_deref()
}
/// <p>An array of objects that define the tags (keys and values) that are associated with the predictive inbox placement test.</p>
pub fn tags(&self) -> std::option::Option<&[crate::model::Tag]> {
self.tags.as_deref()
}
}
impl std::fmt::Debug for GetDeliverabilityTestReportOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("GetDeliverabilityTestReportOutput");
formatter.field(
"deliverability_test_report",
&self.deliverability_test_report,
);
formatter.field("overall_placement", &self.overall_placement);
formatter.field("isp_placements", &self.isp_placements);
formatter.field("message", &self.message);
formatter.field("tags", &self.tags);
formatter.finish()
}
}
/// See [`GetDeliverabilityTestReportOutput`](crate::output::GetDeliverabilityTestReportOutput)
pub mod get_deliverability_test_report_output {
/// A builder for [`GetDeliverabilityTestReportOutput`](crate::output::GetDeliverabilityTestReportOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) deliverability_test_report:
std::option::Option<crate::model::DeliverabilityTestReport>,
pub(crate) overall_placement: std::option::Option<crate::model::PlacementStatistics>,
pub(crate) isp_placements: std::option::Option<std::vec::Vec<crate::model::IspPlacement>>,
pub(crate) message: std::option::Option<std::string::String>,
pub(crate) tags: std::option::Option<std::vec::Vec<crate::model::Tag>>,
}
impl Builder {
/// <p>An object that contains the results of the predictive inbox placement test.</p>
pub fn deliverability_test_report(
mut self,
input: crate::model::DeliverabilityTestReport,
) -> Self {
self.deliverability_test_report = Some(input);
self
}
/// <p>An object that contains the results of the predictive inbox placement test.</p>
pub fn set_deliverability_test_report(
mut self,
input: std::option::Option<crate::model::DeliverabilityTestReport>,
) -> Self {
self.deliverability_test_report = input;
self
}
/// <p>An object that specifies how many test messages that were sent during the predictive inbox placement test were delivered to recipients' inboxes, how many were sent to recipients' spam folders, and how many weren't delivered.</p>
pub fn overall_placement(mut self, input: crate::model::PlacementStatistics) -> Self {
self.overall_placement = Some(input);
self
}
/// <p>An object that specifies how many test messages that were sent during the predictive inbox placement test were delivered to recipients' inboxes, how many were sent to recipients' spam folders, and how many weren't delivered.</p>
pub fn set_overall_placement(
mut self,
input: std::option::Option<crate::model::PlacementStatistics>,
) -> Self {
self.overall_placement = input;
self
}
/// Appends an item to `isp_placements`.
///
/// To override the contents of this collection use [`set_isp_placements`](Self::set_isp_placements).
///
/// <p>An object that describes how the test email was handled by several email providers, including Gmail, Hotmail, Yahoo, AOL, and others.</p>
pub fn isp_placements(mut self, input: crate::model::IspPlacement) -> Self {
let mut v = self.isp_placements.unwrap_or_default();
v.push(input);
self.isp_placements = Some(v);
self
}
/// <p>An object that describes how the test email was handled by several email providers, including Gmail, Hotmail, Yahoo, AOL, and others.</p>
pub fn set_isp_placements(
mut self,
input: std::option::Option<std::vec::Vec<crate::model::IspPlacement>>,
) -> Self {
self.isp_placements = input;
self
}
/// <p>An object that contains the message that you sent when you performed this predictive inbox placement test.</p>
pub fn message(mut self, input: impl Into<std::string::String>) -> Self {
self.message = Some(input.into());
self
}
/// <p>An object that contains the message that you sent when you performed this predictive inbox placement test.</p>
pub fn set_message(mut self, input: std::option::Option<std::string::String>) -> Self {
self.message = input;
self
}
/// Appends an item to `tags`.
///
/// To override the contents of this collection use [`set_tags`](Self::set_tags).
///
/// <p>An array of objects that define the tags (keys and values) that are associated with the predictive inbox placement test.</p>
pub fn tags(mut self, input: crate::model::Tag) -> Self {
let mut v = self.tags.unwrap_or_default();
v.push(input);
self.tags = Some(v);
self
}
/// <p>An array of objects that define the tags (keys and values) that are associated with the predictive inbox placement test.</p>
pub fn set_tags(
mut self,
input: std::option::Option<std::vec::Vec<crate::model::Tag>>,
) -> Self {
self.tags = input;
self
}
/// Consumes the builder and constructs a [`GetDeliverabilityTestReportOutput`](crate::output::GetDeliverabilityTestReportOutput)
pub fn build(self) -> crate::output::GetDeliverabilityTestReportOutput {
crate::output::GetDeliverabilityTestReportOutput {
deliverability_test_report: self.deliverability_test_report,
overall_placement: self.overall_placement,
isp_placements: self.isp_placements,
message: self.message,
tags: self.tags,
}
}
}
}
impl GetDeliverabilityTestReportOutput {
/// Creates a new builder-style object to manufacture [`GetDeliverabilityTestReportOutput`](crate::output::GetDeliverabilityTestReportOutput)
pub fn builder() -> crate::output::get_deliverability_test_report_output::Builder {
crate::output::get_deliverability_test_report_output::Builder::default()
}
}
/// <p>An object that shows the status of the Deliverability dashboard for your Amazon Pinpoint account.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct GetDeliverabilityDashboardOptionsOutput {
/// <p>Specifies whether the Deliverability dashboard is enabled for your Amazon Pinpoint account. If this value is <code>true</code>, the dashboard is enabled.</p>
pub dashboard_enabled: bool,
/// <p>The date, in Unix time format, when your current subscription to the Deliverability dashboard is scheduled to expire, if your subscription is scheduled to expire at the end of the current calendar month. This value is null if you have an active subscription that isn’t due to expire at the end of the month.</p>
pub subscription_expiry_date: std::option::Option<aws_smithy_types::DateTime>,
/// <p>The current status of your Deliverability dashboard subscription. If this value is <code>PENDING_EXPIRATION</code>, your subscription is scheduled to expire at the end of the current calendar month.</p>
pub account_status: std::option::Option<crate::model::DeliverabilityDashboardAccountStatus>,
/// <p>An array of objects, one for each verified domain that you use to send email and currently has an active Deliverability dashboard subscription that isn’t scheduled to expire at the end of the current calendar month.</p>
pub active_subscribed_domains:
std::option::Option<std::vec::Vec<crate::model::DomainDeliverabilityTrackingOption>>,
/// <p>An array of objects, one for each verified domain that you use to send email and currently has an active Deliverability dashboard subscription that's scheduled to expire at the end of the current calendar month.</p>
pub pending_expiration_subscribed_domains:
std::option::Option<std::vec::Vec<crate::model::DomainDeliverabilityTrackingOption>>,
}
impl GetDeliverabilityDashboardOptionsOutput {
/// <p>Specifies whether the Deliverability dashboard is enabled for your Amazon Pinpoint account. If this value is <code>true</code>, the dashboard is enabled.</p>
pub fn dashboard_enabled(&self) -> bool {
self.dashboard_enabled
}
/// <p>The date, in Unix time format, when your current subscription to the Deliverability dashboard is scheduled to expire, if your subscription is scheduled to expire at the end of the current calendar month. This value is null if you have an active subscription that isn’t due to expire at the end of the month.</p>
pub fn subscription_expiry_date(&self) -> std::option::Option<&aws_smithy_types::DateTime> {
self.subscription_expiry_date.as_ref()
}
/// <p>The current status of your Deliverability dashboard subscription. If this value is <code>PENDING_EXPIRATION</code>, your subscription is scheduled to expire at the end of the current calendar month.</p>
pub fn account_status(
&self,
) -> std::option::Option<&crate::model::DeliverabilityDashboardAccountStatus> {
self.account_status.as_ref()
}
/// <p>An array of objects, one for each verified domain that you use to send email and currently has an active Deliverability dashboard subscription that isn’t scheduled to expire at the end of the current calendar month.</p>
pub fn active_subscribed_domains(
&self,
) -> std::option::Option<&[crate::model::DomainDeliverabilityTrackingOption]> {
self.active_subscribed_domains.as_deref()
}
/// <p>An array of objects, one for each verified domain that you use to send email and currently has an active Deliverability dashboard subscription that's scheduled to expire at the end of the current calendar month.</p>
pub fn pending_expiration_subscribed_domains(
&self,
) -> std::option::Option<&[crate::model::DomainDeliverabilityTrackingOption]> {
self.pending_expiration_subscribed_domains.as_deref()
}
}
impl std::fmt::Debug for GetDeliverabilityDashboardOptionsOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("GetDeliverabilityDashboardOptionsOutput");
formatter.field("dashboard_enabled", &self.dashboard_enabled);
formatter.field("subscription_expiry_date", &self.subscription_expiry_date);
formatter.field("account_status", &self.account_status);
formatter.field("active_subscribed_domains", &self.active_subscribed_domains);
formatter.field(
"pending_expiration_subscribed_domains",
&self.pending_expiration_subscribed_domains,
);
formatter.finish()
}
}
/// See [`GetDeliverabilityDashboardOptionsOutput`](crate::output::GetDeliverabilityDashboardOptionsOutput)
pub mod get_deliverability_dashboard_options_output {
/// A builder for [`GetDeliverabilityDashboardOptionsOutput`](crate::output::GetDeliverabilityDashboardOptionsOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) dashboard_enabled: std::option::Option<bool>,
pub(crate) subscription_expiry_date: std::option::Option<aws_smithy_types::DateTime>,
pub(crate) account_status:
std::option::Option<crate::model::DeliverabilityDashboardAccountStatus>,
pub(crate) active_subscribed_domains:
std::option::Option<std::vec::Vec<crate::model::DomainDeliverabilityTrackingOption>>,
pub(crate) pending_expiration_subscribed_domains:
std::option::Option<std::vec::Vec<crate::model::DomainDeliverabilityTrackingOption>>,
}
impl Builder {
/// <p>Specifies whether the Deliverability dashboard is enabled for your Amazon Pinpoint account. If this value is <code>true</code>, the dashboard is enabled.</p>
pub fn dashboard_enabled(mut self, input: bool) -> Self {
self.dashboard_enabled = Some(input);
self
}
/// <p>Specifies whether the Deliverability dashboard is enabled for your Amazon Pinpoint account. If this value is <code>true</code>, the dashboard is enabled.</p>
pub fn set_dashboard_enabled(mut self, input: std::option::Option<bool>) -> Self {
self.dashboard_enabled = input;
self
}
/// <p>The date, in Unix time format, when your current subscription to the Deliverability dashboard is scheduled to expire, if your subscription is scheduled to expire at the end of the current calendar month. This value is null if you have an active subscription that isn’t due to expire at the end of the month.</p>
pub fn subscription_expiry_date(mut self, input: aws_smithy_types::DateTime) -> Self {
self.subscription_expiry_date = Some(input);
self
}
/// <p>The date, in Unix time format, when your current subscription to the Deliverability dashboard is scheduled to expire, if your subscription is scheduled to expire at the end of the current calendar month. This value is null if you have an active subscription that isn’t due to expire at the end of the month.</p>
pub fn set_subscription_expiry_date(
mut self,
input: std::option::Option<aws_smithy_types::DateTime>,
) -> Self {
self.subscription_expiry_date = input;
self
}
/// <p>The current status of your Deliverability dashboard subscription. If this value is <code>PENDING_EXPIRATION</code>, your subscription is scheduled to expire at the end of the current calendar month.</p>
pub fn account_status(
mut self,
input: crate::model::DeliverabilityDashboardAccountStatus,
) -> Self {
self.account_status = Some(input);
self
}
/// <p>The current status of your Deliverability dashboard subscription. If this value is <code>PENDING_EXPIRATION</code>, your subscription is scheduled to expire at the end of the current calendar month.</p>
pub fn set_account_status(
mut self,
input: std::option::Option<crate::model::DeliverabilityDashboardAccountStatus>,
) -> Self {
self.account_status = input;
self
}
/// Appends an item to `active_subscribed_domains`.
///
/// To override the contents of this collection use [`set_active_subscribed_domains`](Self::set_active_subscribed_domains).
///
/// <p>An array of objects, one for each verified domain that you use to send email and currently has an active Deliverability dashboard subscription that isn’t scheduled to expire at the end of the current calendar month.</p>
pub fn active_subscribed_domains(
mut self,
input: crate::model::DomainDeliverabilityTrackingOption,
) -> Self {
let mut v = self.active_subscribed_domains.unwrap_or_default();
v.push(input);
self.active_subscribed_domains = Some(v);
self
}
/// <p>An array of objects, one for each verified domain that you use to send email and currently has an active Deliverability dashboard subscription that isn’t scheduled to expire at the end of the current calendar month.</p>
pub fn set_active_subscribed_domains(
mut self,
input: std::option::Option<
std::vec::Vec<crate::model::DomainDeliverabilityTrackingOption>,
>,
) -> Self {
self.active_subscribed_domains = input;
self
}
/// Appends an item to `pending_expiration_subscribed_domains`.
///
/// To override the contents of this collection use [`set_pending_expiration_subscribed_domains`](Self::set_pending_expiration_subscribed_domains).
///
/// <p>An array of objects, one for each verified domain that you use to send email and currently has an active Deliverability dashboard subscription that's scheduled to expire at the end of the current calendar month.</p>
pub fn pending_expiration_subscribed_domains(
mut self,
input: crate::model::DomainDeliverabilityTrackingOption,
) -> Self {
let mut v = self
.pending_expiration_subscribed_domains
.unwrap_or_default();
v.push(input);
self.pending_expiration_subscribed_domains = Some(v);
self
}
/// <p>An array of objects, one for each verified domain that you use to send email and currently has an active Deliverability dashboard subscription that's scheduled to expire at the end of the current calendar month.</p>
pub fn set_pending_expiration_subscribed_domains(
mut self,
input: std::option::Option<
std::vec::Vec<crate::model::DomainDeliverabilityTrackingOption>,
>,
) -> Self {
self.pending_expiration_subscribed_domains = input;
self
}
/// Consumes the builder and constructs a [`GetDeliverabilityDashboardOptionsOutput`](crate::output::GetDeliverabilityDashboardOptionsOutput)
pub fn build(self) -> crate::output::GetDeliverabilityDashboardOptionsOutput {
crate::output::GetDeliverabilityDashboardOptionsOutput {
dashboard_enabled: self.dashboard_enabled.unwrap_or_default(),
subscription_expiry_date: self.subscription_expiry_date,
account_status: self.account_status,
active_subscribed_domains: self.active_subscribed_domains,
pending_expiration_subscribed_domains: self.pending_expiration_subscribed_domains,
}
}
}
}
impl GetDeliverabilityDashboardOptionsOutput {
/// Creates a new builder-style object to manufacture [`GetDeliverabilityDashboardOptionsOutput`](crate::output::GetDeliverabilityDashboardOptionsOutput)
pub fn builder() -> crate::output::get_deliverability_dashboard_options_output::Builder {
crate::output::get_deliverability_dashboard_options_output::Builder::default()
}
}
/// <p>Information about the dedicated IP addresses that are associated with your Amazon Pinpoint account.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct GetDedicatedIpsOutput {
/// <p>A list of dedicated IP addresses that are reserved for use by your Amazon Pinpoint account.</p>
pub dedicated_ips: std::option::Option<std::vec::Vec<crate::model::DedicatedIp>>,
/// <p>A token that indicates that there are additional dedicated IP addresses to list. To view additional addresses, issue another request to <code>GetDedicatedIps</code>, passing this token in the <code>NextToken</code> parameter.</p>
pub next_token: std::option::Option<std::string::String>,
}
impl GetDedicatedIpsOutput {
/// <p>A list of dedicated IP addresses that are reserved for use by your Amazon Pinpoint account.</p>
pub fn dedicated_ips(&self) -> std::option::Option<&[crate::model::DedicatedIp]> {
self.dedicated_ips.as_deref()
}
/// <p>A token that indicates that there are additional dedicated IP addresses to list. To view additional addresses, issue another request to <code>GetDedicatedIps</code>, passing this token in the <code>NextToken</code> parameter.</p>
pub fn next_token(&self) -> std::option::Option<&str> {
self.next_token.as_deref()
}
}
impl std::fmt::Debug for GetDedicatedIpsOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("GetDedicatedIpsOutput");
formatter.field("dedicated_ips", &self.dedicated_ips);
formatter.field("next_token", &self.next_token);
formatter.finish()
}
}
/// See [`GetDedicatedIpsOutput`](crate::output::GetDedicatedIpsOutput)
pub mod get_dedicated_ips_output {
/// A builder for [`GetDedicatedIpsOutput`](crate::output::GetDedicatedIpsOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) dedicated_ips: std::option::Option<std::vec::Vec<crate::model::DedicatedIp>>,
pub(crate) next_token: std::option::Option<std::string::String>,
}
impl Builder {
/// Appends an item to `dedicated_ips`.
///
/// To override the contents of this collection use [`set_dedicated_ips`](Self::set_dedicated_ips).
///
/// <p>A list of dedicated IP addresses that are reserved for use by your Amazon Pinpoint account.</p>
pub fn dedicated_ips(mut self, input: crate::model::DedicatedIp) -> Self {
let mut v = self.dedicated_ips.unwrap_or_default();
v.push(input);
self.dedicated_ips = Some(v);
self
}
/// <p>A list of dedicated IP addresses that are reserved for use by your Amazon Pinpoint account.</p>
pub fn set_dedicated_ips(
mut self,
input: std::option::Option<std::vec::Vec<crate::model::DedicatedIp>>,
) -> Self {
self.dedicated_ips = input;
self
}
/// <p>A token that indicates that there are additional dedicated IP addresses to list. To view additional addresses, issue another request to <code>GetDedicatedIps</code>, passing this token in the <code>NextToken</code> parameter.</p>
pub fn next_token(mut self, input: impl Into<std::string::String>) -> Self {
self.next_token = Some(input.into());
self
}
/// <p>A token that indicates that there are additional dedicated IP addresses to list. To view additional addresses, issue another request to <code>GetDedicatedIps</code>, passing this token in the <code>NextToken</code> parameter.</p>
pub fn set_next_token(mut self, input: std::option::Option<std::string::String>) -> Self {
self.next_token = input;
self
}
/// Consumes the builder and constructs a [`GetDedicatedIpsOutput`](crate::output::GetDedicatedIpsOutput)
pub fn build(self) -> crate::output::GetDedicatedIpsOutput {
crate::output::GetDedicatedIpsOutput {
dedicated_ips: self.dedicated_ips,
next_token: self.next_token,
}
}
}
}
impl GetDedicatedIpsOutput {
/// Creates a new builder-style object to manufacture [`GetDedicatedIpsOutput`](crate::output::GetDedicatedIpsOutput)
pub fn builder() -> crate::output::get_dedicated_ips_output::Builder {
crate::output::get_dedicated_ips_output::Builder::default()
}
}
/// <p>Information about a dedicated IP address.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct GetDedicatedIpOutput {
/// <p>An object that contains information about a dedicated IP address.</p>
pub dedicated_ip: std::option::Option<crate::model::DedicatedIp>,
}
impl GetDedicatedIpOutput {
/// <p>An object that contains information about a dedicated IP address.</p>
pub fn dedicated_ip(&self) -> std::option::Option<&crate::model::DedicatedIp> {
self.dedicated_ip.as_ref()
}
}
impl std::fmt::Debug for GetDedicatedIpOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("GetDedicatedIpOutput");
formatter.field("dedicated_ip", &self.dedicated_ip);
formatter.finish()
}
}
/// See [`GetDedicatedIpOutput`](crate::output::GetDedicatedIpOutput)
pub mod get_dedicated_ip_output {
/// A builder for [`GetDedicatedIpOutput`](crate::output::GetDedicatedIpOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) dedicated_ip: std::option::Option<crate::model::DedicatedIp>,
}
impl Builder {
/// <p>An object that contains information about a dedicated IP address.</p>
pub fn dedicated_ip(mut self, input: crate::model::DedicatedIp) -> Self {
self.dedicated_ip = Some(input);
self
}
/// <p>An object that contains information about a dedicated IP address.</p>
pub fn set_dedicated_ip(
mut self,
input: std::option::Option<crate::model::DedicatedIp>,
) -> Self {
self.dedicated_ip = input;
self
}
/// Consumes the builder and constructs a [`GetDedicatedIpOutput`](crate::output::GetDedicatedIpOutput)
pub fn build(self) -> crate::output::GetDedicatedIpOutput {
crate::output::GetDedicatedIpOutput {
dedicated_ip: self.dedicated_ip,
}
}
}
}
impl GetDedicatedIpOutput {
/// Creates a new builder-style object to manufacture [`GetDedicatedIpOutput`](crate::output::GetDedicatedIpOutput)
pub fn builder() -> crate::output::get_dedicated_ip_output::Builder {
crate::output::get_dedicated_ip_output::Builder::default()
}
}
/// <p>Information about an event destination for a configuration set.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct GetConfigurationSetEventDestinationsOutput {
/// <p>An array that includes all of the events destinations that have been configured for the configuration set.</p>
pub event_destinations: std::option::Option<std::vec::Vec<crate::model::EventDestination>>,
}
impl GetConfigurationSetEventDestinationsOutput {
/// <p>An array that includes all of the events destinations that have been configured for the configuration set.</p>
pub fn event_destinations(&self) -> std::option::Option<&[crate::model::EventDestination]> {
self.event_destinations.as_deref()
}
}
impl std::fmt::Debug for GetConfigurationSetEventDestinationsOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("GetConfigurationSetEventDestinationsOutput");
formatter.field("event_destinations", &self.event_destinations);
formatter.finish()
}
}
/// See [`GetConfigurationSetEventDestinationsOutput`](crate::output::GetConfigurationSetEventDestinationsOutput)
pub mod get_configuration_set_event_destinations_output {
/// A builder for [`GetConfigurationSetEventDestinationsOutput`](crate::output::GetConfigurationSetEventDestinationsOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) event_destinations:
std::option::Option<std::vec::Vec<crate::model::EventDestination>>,
}
impl Builder {
/// Appends an item to `event_destinations`.
///
/// To override the contents of this collection use [`set_event_destinations`](Self::set_event_destinations).
///
/// <p>An array that includes all of the events destinations that have been configured for the configuration set.</p>
pub fn event_destinations(mut self, input: crate::model::EventDestination) -> Self {
let mut v = self.event_destinations.unwrap_or_default();
v.push(input);
self.event_destinations = Some(v);
self
}
/// <p>An array that includes all of the events destinations that have been configured for the configuration set.</p>
pub fn set_event_destinations(
mut self,
input: std::option::Option<std::vec::Vec<crate::model::EventDestination>>,
) -> Self {
self.event_destinations = input;
self
}
/// Consumes the builder and constructs a [`GetConfigurationSetEventDestinationsOutput`](crate::output::GetConfigurationSetEventDestinationsOutput)
pub fn build(self) -> crate::output::GetConfigurationSetEventDestinationsOutput {
crate::output::GetConfigurationSetEventDestinationsOutput {
event_destinations: self.event_destinations,
}
}
}
}
impl GetConfigurationSetEventDestinationsOutput {
/// Creates a new builder-style object to manufacture [`GetConfigurationSetEventDestinationsOutput`](crate::output::GetConfigurationSetEventDestinationsOutput)
pub fn builder() -> crate::output::get_configuration_set_event_destinations_output::Builder {
crate::output::get_configuration_set_event_destinations_output::Builder::default()
}
}
/// <p>Information about a configuration set.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct GetConfigurationSetOutput {
/// <p>The name of the configuration set.</p>
pub configuration_set_name: std::option::Option<std::string::String>,
/// <p>An object that defines the open and click tracking options for emails that you send using the configuration set.</p>
pub tracking_options: std::option::Option<crate::model::TrackingOptions>,
/// <p>An object that defines the dedicated IP pool that is used to send emails that you send using the configuration set.</p>
pub delivery_options: std::option::Option<crate::model::DeliveryOptions>,
/// <p>An object that defines whether or not Amazon Pinpoint collects reputation metrics for the emails that you send that use the configuration set.</p>
pub reputation_options: std::option::Option<crate::model::ReputationOptions>,
/// <p>An object that defines whether or not Amazon Pinpoint can send email that you send using the configuration set.</p>
pub sending_options: std::option::Option<crate::model::SendingOptions>,
/// <p>An array of objects that define the tags (keys and values) that are associated with the configuration set.</p>
pub tags: std::option::Option<std::vec::Vec<crate::model::Tag>>,
}
impl GetConfigurationSetOutput {
/// <p>The name of the configuration set.</p>
pub fn configuration_set_name(&self) -> std::option::Option<&str> {
self.configuration_set_name.as_deref()
}
/// <p>An object that defines the open and click tracking options for emails that you send using the configuration set.</p>
pub fn tracking_options(&self) -> std::option::Option<&crate::model::TrackingOptions> {
self.tracking_options.as_ref()
}
/// <p>An object that defines the dedicated IP pool that is used to send emails that you send using the configuration set.</p>
pub fn delivery_options(&self) -> std::option::Option<&crate::model::DeliveryOptions> {
self.delivery_options.as_ref()
}
/// <p>An object that defines whether or not Amazon Pinpoint collects reputation metrics for the emails that you send that use the configuration set.</p>
pub fn reputation_options(&self) -> std::option::Option<&crate::model::ReputationOptions> {
self.reputation_options.as_ref()
}
/// <p>An object that defines whether or not Amazon Pinpoint can send email that you send using the configuration set.</p>
pub fn sending_options(&self) -> std::option::Option<&crate::model::SendingOptions> {
self.sending_options.as_ref()
}
/// <p>An array of objects that define the tags (keys and values) that are associated with the configuration set.</p>
pub fn tags(&self) -> std::option::Option<&[crate::model::Tag]> {
self.tags.as_deref()
}
}
impl std::fmt::Debug for GetConfigurationSetOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("GetConfigurationSetOutput");
formatter.field("configuration_set_name", &self.configuration_set_name);
formatter.field("tracking_options", &self.tracking_options);
formatter.field("delivery_options", &self.delivery_options);
formatter.field("reputation_options", &self.reputation_options);
formatter.field("sending_options", &self.sending_options);
formatter.field("tags", &self.tags);
formatter.finish()
}
}
/// See [`GetConfigurationSetOutput`](crate::output::GetConfigurationSetOutput)
pub mod get_configuration_set_output {
/// A builder for [`GetConfigurationSetOutput`](crate::output::GetConfigurationSetOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) configuration_set_name: std::option::Option<std::string::String>,
pub(crate) tracking_options: std::option::Option<crate::model::TrackingOptions>,
pub(crate) delivery_options: std::option::Option<crate::model::DeliveryOptions>,
pub(crate) reputation_options: std::option::Option<crate::model::ReputationOptions>,
pub(crate) sending_options: std::option::Option<crate::model::SendingOptions>,
pub(crate) tags: std::option::Option<std::vec::Vec<crate::model::Tag>>,
}
impl Builder {
/// <p>The name of the configuration set.</p>
pub fn configuration_set_name(mut self, input: impl Into<std::string::String>) -> Self {
self.configuration_set_name = Some(input.into());
self
}
/// <p>The name of the configuration set.</p>
pub fn set_configuration_set_name(
mut self,
input: std::option::Option<std::string::String>,
) -> Self {
self.configuration_set_name = input;
self
}
/// <p>An object that defines the open and click tracking options for emails that you send using the configuration set.</p>
pub fn tracking_options(mut self, input: crate::model::TrackingOptions) -> Self {
self.tracking_options = Some(input);
self
}
/// <p>An object that defines the open and click tracking options for emails that you send using the configuration set.</p>
pub fn set_tracking_options(
mut self,
input: std::option::Option<crate::model::TrackingOptions>,
) -> Self {
self.tracking_options = input;
self
}
/// <p>An object that defines the dedicated IP pool that is used to send emails that you send using the configuration set.</p>
pub fn delivery_options(mut self, input: crate::model::DeliveryOptions) -> Self {
self.delivery_options = Some(input);
self
}
/// <p>An object that defines the dedicated IP pool that is used to send emails that you send using the configuration set.</p>
pub fn set_delivery_options(
mut self,
input: std::option::Option<crate::model::DeliveryOptions>,
) -> Self {
self.delivery_options = input;
self
}
/// <p>An object that defines whether or not Amazon Pinpoint collects reputation metrics for the emails that you send that use the configuration set.</p>
pub fn reputation_options(mut self, input: crate::model::ReputationOptions) -> Self {
self.reputation_options = Some(input);
self
}
/// <p>An object that defines whether or not Amazon Pinpoint collects reputation metrics for the emails that you send that use the configuration set.</p>
pub fn set_reputation_options(
mut self,
input: std::option::Option<crate::model::ReputationOptions>,
) -> Self {
self.reputation_options = input;
self
}
/// <p>An object that defines whether or not Amazon Pinpoint can send email that you send using the configuration set.</p>
pub fn sending_options(mut self, input: crate::model::SendingOptions) -> Self {
self.sending_options = Some(input);
self
}
/// <p>An object that defines whether or not Amazon Pinpoint can send email that you send using the configuration set.</p>
pub fn set_sending_options(
mut self,
input: std::option::Option<crate::model::SendingOptions>,
) -> Self {
self.sending_options = input;
self
}
/// Appends an item to `tags`.
///
/// To override the contents of this collection use [`set_tags`](Self::set_tags).
///
/// <p>An array of objects that define the tags (keys and values) that are associated with the configuration set.</p>
pub fn tags(mut self, input: crate::model::Tag) -> Self {
let mut v = self.tags.unwrap_or_default();
v.push(input);
self.tags = Some(v);
self
}
/// <p>An array of objects that define the tags (keys and values) that are associated with the configuration set.</p>
pub fn set_tags(
mut self,
input: std::option::Option<std::vec::Vec<crate::model::Tag>>,
) -> Self {
self.tags = input;
self
}
/// Consumes the builder and constructs a [`GetConfigurationSetOutput`](crate::output::GetConfigurationSetOutput)
pub fn build(self) -> crate::output::GetConfigurationSetOutput {
crate::output::GetConfigurationSetOutput {
configuration_set_name: self.configuration_set_name,
tracking_options: self.tracking_options,
delivery_options: self.delivery_options,
reputation_options: self.reputation_options,
sending_options: self.sending_options,
tags: self.tags,
}
}
}
}
impl GetConfigurationSetOutput {
/// Creates a new builder-style object to manufacture [`GetConfigurationSetOutput`](crate::output::GetConfigurationSetOutput)
pub fn builder() -> crate::output::get_configuration_set_output::Builder {
crate::output::get_configuration_set_output::Builder::default()
}
}
/// <p>An object that contains information about blacklist events.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct GetBlacklistReportsOutput {
/// <p>An object that contains information about a blacklist that one of your dedicated IP addresses appears on.</p>
pub blacklist_report: std::option::Option<
std::collections::HashMap<std::string::String, std::vec::Vec<crate::model::BlacklistEntry>>,
>,
}
impl GetBlacklistReportsOutput {
/// <p>An object that contains information about a blacklist that one of your dedicated IP addresses appears on.</p>
pub fn blacklist_report(
&self,
) -> std::option::Option<
&std::collections::HashMap<
std::string::String,
std::vec::Vec<crate::model::BlacklistEntry>,
>,
> {
self.blacklist_report.as_ref()
}
}
impl std::fmt::Debug for GetBlacklistReportsOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("GetBlacklistReportsOutput");
formatter.field("blacklist_report", &self.blacklist_report);
formatter.finish()
}
}
/// See [`GetBlacklistReportsOutput`](crate::output::GetBlacklistReportsOutput)
pub mod get_blacklist_reports_output {
/// A builder for [`GetBlacklistReportsOutput`](crate::output::GetBlacklistReportsOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) blacklist_report: std::option::Option<
std::collections::HashMap<
std::string::String,
std::vec::Vec<crate::model::BlacklistEntry>,
>,
>,
}
impl Builder {
/// Adds a key-value pair to `blacklist_report`.
///
/// To override the contents of this collection use [`set_blacklist_report`](Self::set_blacklist_report).
///
/// <p>An object that contains information about a blacklist that one of your dedicated IP addresses appears on.</p>
pub fn blacklist_report(
mut self,
k: impl Into<std::string::String>,
v: std::vec::Vec<crate::model::BlacklistEntry>,
) -> Self {
let mut hash_map = self.blacklist_report.unwrap_or_default();
hash_map.insert(k.into(), v);
self.blacklist_report = Some(hash_map);
self
}
/// <p>An object that contains information about a blacklist that one of your dedicated IP addresses appears on.</p>
pub fn set_blacklist_report(
mut self,
input: std::option::Option<
std::collections::HashMap<
std::string::String,
std::vec::Vec<crate::model::BlacklistEntry>,
>,
>,
) -> Self {
self.blacklist_report = input;
self
}
/// Consumes the builder and constructs a [`GetBlacklistReportsOutput`](crate::output::GetBlacklistReportsOutput)
pub fn build(self) -> crate::output::GetBlacklistReportsOutput {
crate::output::GetBlacklistReportsOutput {
blacklist_report: self.blacklist_report,
}
}
}
}
impl GetBlacklistReportsOutput {
/// Creates a new builder-style object to manufacture [`GetBlacklistReportsOutput`](crate::output::GetBlacklistReportsOutput)
pub fn builder() -> crate::output::get_blacklist_reports_output::Builder {
crate::output::get_blacklist_reports_output::Builder::default()
}
}
/// <p>A list of details about the email-sending capabilities of your Amazon Pinpoint account in the current AWS Region.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct GetAccountOutput {
/// <p>An object that contains information about the per-day and per-second sending limits for your Amazon Pinpoint account in the current AWS Region.</p>
pub send_quota: std::option::Option<crate::model::SendQuota>,
/// <p>Indicates whether or not email sending is enabled for your Amazon Pinpoint account in the current AWS Region.</p>
pub sending_enabled: bool,
/// <p>Indicates whether or not the automatic warm-up feature is enabled for dedicated IP addresses that are associated with your account.</p>
pub dedicated_ip_auto_warmup_enabled: bool,
/// <p>The reputation status of your Amazon Pinpoint account. The status can be one of the following:</p>
/// <ul>
/// <li> <p> <code>HEALTHY</code> – There are no reputation-related issues that currently impact your account.</p> </li>
/// <li> <p> <code>PROBATION</code> – We've identified some issues with your Amazon Pinpoint account. We're placing your account under review while you work on correcting these issues.</p> </li>
/// <li> <p> <code>SHUTDOWN</code> – Your account's ability to send email is currently paused because of an issue with the email sent from your account. When you correct the issue, you can contact us and request that your account's ability to send email is resumed.</p> </li>
/// </ul>
pub enforcement_status: std::option::Option<std::string::String>,
/// <p>Indicates whether or not your account has production access in the current AWS Region.</p>
/// <p>If the value is <code>false</code>, then your account is in the <i>sandbox</i>. When your account is in the sandbox, you can only send email to verified identities. Additionally, the maximum number of emails you can send in a 24-hour period (your sending quota) is 200, and the maximum number of emails you can send per second (your maximum sending rate) is 1.</p>
/// <p>If the value is <code>true</code>, then your account has production access. When your account has production access, you can send email to any address. The sending quota and maximum sending rate for your account vary based on your specific use case.</p>
pub production_access_enabled: bool,
}
impl GetAccountOutput {
/// <p>An object that contains information about the per-day and per-second sending limits for your Amazon Pinpoint account in the current AWS Region.</p>
pub fn send_quota(&self) -> std::option::Option<&crate::model::SendQuota> {
self.send_quota.as_ref()
}
/// <p>Indicates whether or not email sending is enabled for your Amazon Pinpoint account in the current AWS Region.</p>
pub fn sending_enabled(&self) -> bool {
self.sending_enabled
}
/// <p>Indicates whether or not the automatic warm-up feature is enabled for dedicated IP addresses that are associated with your account.</p>
pub fn dedicated_ip_auto_warmup_enabled(&self) -> bool {
self.dedicated_ip_auto_warmup_enabled
}
/// <p>The reputation status of your Amazon Pinpoint account. The status can be one of the following:</p>
/// <ul>
/// <li> <p> <code>HEALTHY</code> – There are no reputation-related issues that currently impact your account.</p> </li>
/// <li> <p> <code>PROBATION</code> – We've identified some issues with your Amazon Pinpoint account. We're placing your account under review while you work on correcting these issues.</p> </li>
/// <li> <p> <code>SHUTDOWN</code> – Your account's ability to send email is currently paused because of an issue with the email sent from your account. When you correct the issue, you can contact us and request that your account's ability to send email is resumed.</p> </li>
/// </ul>
pub fn enforcement_status(&self) -> std::option::Option<&str> {
self.enforcement_status.as_deref()
}
/// <p>Indicates whether or not your account has production access in the current AWS Region.</p>
/// <p>If the value is <code>false</code>, then your account is in the <i>sandbox</i>. When your account is in the sandbox, you can only send email to verified identities. Additionally, the maximum number of emails you can send in a 24-hour period (your sending quota) is 200, and the maximum number of emails you can send per second (your maximum sending rate) is 1.</p>
/// <p>If the value is <code>true</code>, then your account has production access. When your account has production access, you can send email to any address. The sending quota and maximum sending rate for your account vary based on your specific use case.</p>
pub fn production_access_enabled(&self) -> bool {
self.production_access_enabled
}
}
impl std::fmt::Debug for GetAccountOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("GetAccountOutput");
formatter.field("send_quota", &self.send_quota);
formatter.field("sending_enabled", &self.sending_enabled);
formatter.field(
"dedicated_ip_auto_warmup_enabled",
&self.dedicated_ip_auto_warmup_enabled,
);
formatter.field("enforcement_status", &self.enforcement_status);
formatter.field("production_access_enabled", &self.production_access_enabled);
formatter.finish()
}
}
/// See [`GetAccountOutput`](crate::output::GetAccountOutput)
pub mod get_account_output {
/// A builder for [`GetAccountOutput`](crate::output::GetAccountOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) send_quota: std::option::Option<crate::model::SendQuota>,
pub(crate) sending_enabled: std::option::Option<bool>,
pub(crate) dedicated_ip_auto_warmup_enabled: std::option::Option<bool>,
pub(crate) enforcement_status: std::option::Option<std::string::String>,
pub(crate) production_access_enabled: std::option::Option<bool>,
}
impl Builder {
/// <p>An object that contains information about the per-day and per-second sending limits for your Amazon Pinpoint account in the current AWS Region.</p>
pub fn send_quota(mut self, input: crate::model::SendQuota) -> Self {
self.send_quota = Some(input);
self
}
/// <p>An object that contains information about the per-day and per-second sending limits for your Amazon Pinpoint account in the current AWS Region.</p>
pub fn set_send_quota(
mut self,
input: std::option::Option<crate::model::SendQuota>,
) -> Self {
self.send_quota = input;
self
}
/// <p>Indicates whether or not email sending is enabled for your Amazon Pinpoint account in the current AWS Region.</p>
pub fn sending_enabled(mut self, input: bool) -> Self {
self.sending_enabled = Some(input);
self
}
/// <p>Indicates whether or not email sending is enabled for your Amazon Pinpoint account in the current AWS Region.</p>
pub fn set_sending_enabled(mut self, input: std::option::Option<bool>) -> Self {
self.sending_enabled = input;
self
}
/// <p>Indicates whether or not the automatic warm-up feature is enabled for dedicated IP addresses that are associated with your account.</p>
pub fn dedicated_ip_auto_warmup_enabled(mut self, input: bool) -> Self {
self.dedicated_ip_auto_warmup_enabled = Some(input);
self
}
/// <p>Indicates whether or not the automatic warm-up feature is enabled for dedicated IP addresses that are associated with your account.</p>
pub fn set_dedicated_ip_auto_warmup_enabled(
mut self,
input: std::option::Option<bool>,
) -> Self {
self.dedicated_ip_auto_warmup_enabled = input;
self
}
/// <p>The reputation status of your Amazon Pinpoint account. The status can be one of the following:</p>
/// <ul>
/// <li> <p> <code>HEALTHY</code> – There are no reputation-related issues that currently impact your account.</p> </li>
/// <li> <p> <code>PROBATION</code> – We've identified some issues with your Amazon Pinpoint account. We're placing your account under review while you work on correcting these issues.</p> </li>
/// <li> <p> <code>SHUTDOWN</code> – Your account's ability to send email is currently paused because of an issue with the email sent from your account. When you correct the issue, you can contact us and request that your account's ability to send email is resumed.</p> </li>
/// </ul>
pub fn enforcement_status(mut self, input: impl Into<std::string::String>) -> Self {
self.enforcement_status = Some(input.into());
self
}
/// <p>The reputation status of your Amazon Pinpoint account. The status can be one of the following:</p>
/// <ul>
/// <li> <p> <code>HEALTHY</code> – There are no reputation-related issues that currently impact your account.</p> </li>
/// <li> <p> <code>PROBATION</code> – We've identified some issues with your Amazon Pinpoint account. We're placing your account under review while you work on correcting these issues.</p> </li>
/// <li> <p> <code>SHUTDOWN</code> – Your account's ability to send email is currently paused because of an issue with the email sent from your account. When you correct the issue, you can contact us and request that your account's ability to send email is resumed.</p> </li>
/// </ul>
pub fn set_enforcement_status(
mut self,
input: std::option::Option<std::string::String>,
) -> Self {
self.enforcement_status = input;
self
}
/// <p>Indicates whether or not your account has production access in the current AWS Region.</p>
/// <p>If the value is <code>false</code>, then your account is in the <i>sandbox</i>. When your account is in the sandbox, you can only send email to verified identities. Additionally, the maximum number of emails you can send in a 24-hour period (your sending quota) is 200, and the maximum number of emails you can send per second (your maximum sending rate) is 1.</p>
/// <p>If the value is <code>true</code>, then your account has production access. When your account has production access, you can send email to any address. The sending quota and maximum sending rate for your account vary based on your specific use case.</p>
pub fn production_access_enabled(mut self, input: bool) -> Self {
self.production_access_enabled = Some(input);
self
}
/// <p>Indicates whether or not your account has production access in the current AWS Region.</p>
/// <p>If the value is <code>false</code>, then your account is in the <i>sandbox</i>. When your account is in the sandbox, you can only send email to verified identities. Additionally, the maximum number of emails you can send in a 24-hour period (your sending quota) is 200, and the maximum number of emails you can send per second (your maximum sending rate) is 1.</p>
/// <p>If the value is <code>true</code>, then your account has production access. When your account has production access, you can send email to any address. The sending quota and maximum sending rate for your account vary based on your specific use case.</p>
pub fn set_production_access_enabled(mut self, input: std::option::Option<bool>) -> Self {
self.production_access_enabled = input;
self
}
/// Consumes the builder and constructs a [`GetAccountOutput`](crate::output::GetAccountOutput)
pub fn build(self) -> crate::output::GetAccountOutput {
crate::output::GetAccountOutput {
send_quota: self.send_quota,
sending_enabled: self.sending_enabled.unwrap_or_default(),
dedicated_ip_auto_warmup_enabled: self
.dedicated_ip_auto_warmup_enabled
.unwrap_or_default(),
enforcement_status: self.enforcement_status,
production_access_enabled: self.production_access_enabled.unwrap_or_default(),
}
}
}
}
impl GetAccountOutput {
/// Creates a new builder-style object to manufacture [`GetAccountOutput`](crate::output::GetAccountOutput)
pub fn builder() -> crate::output::get_account_output::Builder {
crate::output::get_account_output::Builder::default()
}
}
/// <p>An HTTP 200 response if the request succeeds, or an error message if the request fails.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct DeleteEmailIdentityOutput {}
impl std::fmt::Debug for DeleteEmailIdentityOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("DeleteEmailIdentityOutput");
formatter.finish()
}
}
/// See [`DeleteEmailIdentityOutput`](crate::output::DeleteEmailIdentityOutput)
pub mod delete_email_identity_output {
/// A builder for [`DeleteEmailIdentityOutput`](crate::output::DeleteEmailIdentityOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {}
impl Builder {
/// Consumes the builder and constructs a [`DeleteEmailIdentityOutput`](crate::output::DeleteEmailIdentityOutput)
pub fn build(self) -> crate::output::DeleteEmailIdentityOutput {
crate::output::DeleteEmailIdentityOutput {}
}
}
}
impl DeleteEmailIdentityOutput {
/// Creates a new builder-style object to manufacture [`DeleteEmailIdentityOutput`](crate::output::DeleteEmailIdentityOutput)
pub fn builder() -> crate::output::delete_email_identity_output::Builder {
crate::output::delete_email_identity_output::Builder::default()
}
}
/// <p>An HTTP 200 response if the request succeeds, or an error message if the request fails.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct DeleteDedicatedIpPoolOutput {}
impl std::fmt::Debug for DeleteDedicatedIpPoolOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("DeleteDedicatedIpPoolOutput");
formatter.finish()
}
}
/// See [`DeleteDedicatedIpPoolOutput`](crate::output::DeleteDedicatedIpPoolOutput)
pub mod delete_dedicated_ip_pool_output {
/// A builder for [`DeleteDedicatedIpPoolOutput`](crate::output::DeleteDedicatedIpPoolOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {}
impl Builder {
/// Consumes the builder and constructs a [`DeleteDedicatedIpPoolOutput`](crate::output::DeleteDedicatedIpPoolOutput)
pub fn build(self) -> crate::output::DeleteDedicatedIpPoolOutput {
crate::output::DeleteDedicatedIpPoolOutput {}
}
}
}
impl DeleteDedicatedIpPoolOutput {
/// Creates a new builder-style object to manufacture [`DeleteDedicatedIpPoolOutput`](crate::output::DeleteDedicatedIpPoolOutput)
pub fn builder() -> crate::output::delete_dedicated_ip_pool_output::Builder {
crate::output::delete_dedicated_ip_pool_output::Builder::default()
}
}
/// <p>An HTTP 200 response if the request succeeds, or an error message if the request fails.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct DeleteConfigurationSetEventDestinationOutput {}
impl std::fmt::Debug for DeleteConfigurationSetEventDestinationOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("DeleteConfigurationSetEventDestinationOutput");
formatter.finish()
}
}
/// See [`DeleteConfigurationSetEventDestinationOutput`](crate::output::DeleteConfigurationSetEventDestinationOutput)
pub mod delete_configuration_set_event_destination_output {
/// A builder for [`DeleteConfigurationSetEventDestinationOutput`](crate::output::DeleteConfigurationSetEventDestinationOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {}
impl Builder {
/// Consumes the builder and constructs a [`DeleteConfigurationSetEventDestinationOutput`](crate::output::DeleteConfigurationSetEventDestinationOutput)
pub fn build(self) -> crate::output::DeleteConfigurationSetEventDestinationOutput {
crate::output::DeleteConfigurationSetEventDestinationOutput {}
}
}
}
impl DeleteConfigurationSetEventDestinationOutput {
/// Creates a new builder-style object to manufacture [`DeleteConfigurationSetEventDestinationOutput`](crate::output::DeleteConfigurationSetEventDestinationOutput)
pub fn builder() -> crate::output::delete_configuration_set_event_destination_output::Builder {
crate::output::delete_configuration_set_event_destination_output::Builder::default()
}
}
/// <p>An HTTP 200 response if the request succeeds, or an error message if the request fails.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct DeleteConfigurationSetOutput {}
impl std::fmt::Debug for DeleteConfigurationSetOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("DeleteConfigurationSetOutput");
formatter.finish()
}
}
/// See [`DeleteConfigurationSetOutput`](crate::output::DeleteConfigurationSetOutput)
pub mod delete_configuration_set_output {
/// A builder for [`DeleteConfigurationSetOutput`](crate::output::DeleteConfigurationSetOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {}
impl Builder {
/// Consumes the builder and constructs a [`DeleteConfigurationSetOutput`](crate::output::DeleteConfigurationSetOutput)
pub fn build(self) -> crate::output::DeleteConfigurationSetOutput {
crate::output::DeleteConfigurationSetOutput {}
}
}
}
impl DeleteConfigurationSetOutput {
/// Creates a new builder-style object to manufacture [`DeleteConfigurationSetOutput`](crate::output::DeleteConfigurationSetOutput)
pub fn builder() -> crate::output::delete_configuration_set_output::Builder {
crate::output::delete_configuration_set_output::Builder::default()
}
}
/// <p>If the email identity is a domain, this object contains tokens that you can use to create a set of CNAME records. To sucessfully verify your domain, you have to add these records to the DNS configuration for your domain.</p>
/// <p>If the email identity is an email address, this object is empty. </p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct CreateEmailIdentityOutput {
/// <p>The email identity type.</p>
pub identity_type: std::option::Option<crate::model::IdentityType>,
/// <p>Specifies whether or not the identity is verified. In Amazon Pinpoint, you can only send email from verified email addresses or domains. For more information about verifying identities, see the <a href="https://docs.aws.amazon.com/pinpoint/latest/userguide/channels-email-manage-verify.html">Amazon Pinpoint User Guide</a>.</p>
pub verified_for_sending_status: bool,
/// <p>An object that contains information about the DKIM attributes for the identity. This object includes the tokens that you use to create the CNAME records that are required to complete the DKIM verification process.</p>
pub dkim_attributes: std::option::Option<crate::model::DkimAttributes>,
}
impl CreateEmailIdentityOutput {
/// <p>The email identity type.</p>
pub fn identity_type(&self) -> std::option::Option<&crate::model::IdentityType> {
self.identity_type.as_ref()
}
/// <p>Specifies whether or not the identity is verified. In Amazon Pinpoint, you can only send email from verified email addresses or domains. For more information about verifying identities, see the <a href="https://docs.aws.amazon.com/pinpoint/latest/userguide/channels-email-manage-verify.html">Amazon Pinpoint User Guide</a>.</p>
pub fn verified_for_sending_status(&self) -> bool {
self.verified_for_sending_status
}
/// <p>An object that contains information about the DKIM attributes for the identity. This object includes the tokens that you use to create the CNAME records that are required to complete the DKIM verification process.</p>
pub fn dkim_attributes(&self) -> std::option::Option<&crate::model::DkimAttributes> {
self.dkim_attributes.as_ref()
}
}
impl std::fmt::Debug for CreateEmailIdentityOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("CreateEmailIdentityOutput");
formatter.field("identity_type", &self.identity_type);
formatter.field(
"verified_for_sending_status",
&self.verified_for_sending_status,
);
formatter.field("dkim_attributes", &self.dkim_attributes);
formatter.finish()
}
}
/// See [`CreateEmailIdentityOutput`](crate::output::CreateEmailIdentityOutput)
pub mod create_email_identity_output {
/// A builder for [`CreateEmailIdentityOutput`](crate::output::CreateEmailIdentityOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) identity_type: std::option::Option<crate::model::IdentityType>,
pub(crate) verified_for_sending_status: std::option::Option<bool>,
pub(crate) dkim_attributes: std::option::Option<crate::model::DkimAttributes>,
}
impl Builder {
/// <p>The email identity type.</p>
pub fn identity_type(mut self, input: crate::model::IdentityType) -> Self {
self.identity_type = Some(input);
self
}
/// <p>The email identity type.</p>
pub fn set_identity_type(
mut self,
input: std::option::Option<crate::model::IdentityType>,
) -> Self {
self.identity_type = input;
self
}
/// <p>Specifies whether or not the identity is verified. In Amazon Pinpoint, you can only send email from verified email addresses or domains. For more information about verifying identities, see the <a href="https://docs.aws.amazon.com/pinpoint/latest/userguide/channels-email-manage-verify.html">Amazon Pinpoint User Guide</a>.</p>
pub fn verified_for_sending_status(mut self, input: bool) -> Self {
self.verified_for_sending_status = Some(input);
self
}
/// <p>Specifies whether or not the identity is verified. In Amazon Pinpoint, you can only send email from verified email addresses or domains. For more information about verifying identities, see the <a href="https://docs.aws.amazon.com/pinpoint/latest/userguide/channels-email-manage-verify.html">Amazon Pinpoint User Guide</a>.</p>
pub fn set_verified_for_sending_status(mut self, input: std::option::Option<bool>) -> Self {
self.verified_for_sending_status = input;
self
}
/// <p>An object that contains information about the DKIM attributes for the identity. This object includes the tokens that you use to create the CNAME records that are required to complete the DKIM verification process.</p>
pub fn dkim_attributes(mut self, input: crate::model::DkimAttributes) -> Self {
self.dkim_attributes = Some(input);
self
}
/// <p>An object that contains information about the DKIM attributes for the identity. This object includes the tokens that you use to create the CNAME records that are required to complete the DKIM verification process.</p>
pub fn set_dkim_attributes(
mut self,
input: std::option::Option<crate::model::DkimAttributes>,
) -> Self {
self.dkim_attributes = input;
self
}
/// Consumes the builder and constructs a [`CreateEmailIdentityOutput`](crate::output::CreateEmailIdentityOutput)
pub fn build(self) -> crate::output::CreateEmailIdentityOutput {
crate::output::CreateEmailIdentityOutput {
identity_type: self.identity_type,
verified_for_sending_status: self.verified_for_sending_status.unwrap_or_default(),
dkim_attributes: self.dkim_attributes,
}
}
}
}
impl CreateEmailIdentityOutput {
/// Creates a new builder-style object to manufacture [`CreateEmailIdentityOutput`](crate::output::CreateEmailIdentityOutput)
pub fn builder() -> crate::output::create_email_identity_output::Builder {
crate::output::create_email_identity_output::Builder::default()
}
}
/// <p>Information about the predictive inbox placement test that you created.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct CreateDeliverabilityTestReportOutput {
/// <p>A unique string that identifies the predictive inbox placement test.</p>
pub report_id: std::option::Option<std::string::String>,
/// <p>The status of the predictive inbox placement test. If the status is <code>IN_PROGRESS</code>, then the predictive inbox placement test is currently running. Predictive inbox placement tests are usually complete within 24 hours of creating the test. If the status is <code>COMPLETE</code>, then the test is finished, and you can use the <code>GetDeliverabilityTestReport</code> to view the results of the test.</p>
pub deliverability_test_status: std::option::Option<crate::model::DeliverabilityTestStatus>,
}
impl CreateDeliverabilityTestReportOutput {
/// <p>A unique string that identifies the predictive inbox placement test.</p>
pub fn report_id(&self) -> std::option::Option<&str> {
self.report_id.as_deref()
}
/// <p>The status of the predictive inbox placement test. If the status is <code>IN_PROGRESS</code>, then the predictive inbox placement test is currently running. Predictive inbox placement tests are usually complete within 24 hours of creating the test. If the status is <code>COMPLETE</code>, then the test is finished, and you can use the <code>GetDeliverabilityTestReport</code> to view the results of the test.</p>
pub fn deliverability_test_status(
&self,
) -> std::option::Option<&crate::model::DeliverabilityTestStatus> {
self.deliverability_test_status.as_ref()
}
}
impl std::fmt::Debug for CreateDeliverabilityTestReportOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("CreateDeliverabilityTestReportOutput");
formatter.field("report_id", &self.report_id);
formatter.field(
"deliverability_test_status",
&self.deliverability_test_status,
);
formatter.finish()
}
}
/// See [`CreateDeliverabilityTestReportOutput`](crate::output::CreateDeliverabilityTestReportOutput)
pub mod create_deliverability_test_report_output {
/// A builder for [`CreateDeliverabilityTestReportOutput`](crate::output::CreateDeliverabilityTestReportOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) report_id: std::option::Option<std::string::String>,
pub(crate) deliverability_test_status:
std::option::Option<crate::model::DeliverabilityTestStatus>,
}
impl Builder {
/// <p>A unique string that identifies the predictive inbox placement test.</p>
pub fn report_id(mut self, input: impl Into<std::string::String>) -> Self {
self.report_id = Some(input.into());
self
}
/// <p>A unique string that identifies the predictive inbox placement test.</p>
pub fn set_report_id(mut self, input: std::option::Option<std::string::String>) -> Self {
self.report_id = input;
self
}
/// <p>The status of the predictive inbox placement test. If the status is <code>IN_PROGRESS</code>, then the predictive inbox placement test is currently running. Predictive inbox placement tests are usually complete within 24 hours of creating the test. If the status is <code>COMPLETE</code>, then the test is finished, and you can use the <code>GetDeliverabilityTestReport</code> to view the results of the test.</p>
pub fn deliverability_test_status(
mut self,
input: crate::model::DeliverabilityTestStatus,
) -> Self {
self.deliverability_test_status = Some(input);
self
}
/// <p>The status of the predictive inbox placement test. If the status is <code>IN_PROGRESS</code>, then the predictive inbox placement test is currently running. Predictive inbox placement tests are usually complete within 24 hours of creating the test. If the status is <code>COMPLETE</code>, then the test is finished, and you can use the <code>GetDeliverabilityTestReport</code> to view the results of the test.</p>
pub fn set_deliverability_test_status(
mut self,
input: std::option::Option<crate::model::DeliverabilityTestStatus>,
) -> Self {
self.deliverability_test_status = input;
self
}
/// Consumes the builder and constructs a [`CreateDeliverabilityTestReportOutput`](crate::output::CreateDeliverabilityTestReportOutput)
pub fn build(self) -> crate::output::CreateDeliverabilityTestReportOutput {
crate::output::CreateDeliverabilityTestReportOutput {
report_id: self.report_id,
deliverability_test_status: self.deliverability_test_status,
}
}
}
}
impl CreateDeliverabilityTestReportOutput {
/// Creates a new builder-style object to manufacture [`CreateDeliverabilityTestReportOutput`](crate::output::CreateDeliverabilityTestReportOutput)
pub fn builder() -> crate::output::create_deliverability_test_report_output::Builder {
crate::output::create_deliverability_test_report_output::Builder::default()
}
}
/// <p>An HTTP 200 response if the request succeeds, or an error message if the request fails.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct CreateDedicatedIpPoolOutput {}
impl std::fmt::Debug for CreateDedicatedIpPoolOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("CreateDedicatedIpPoolOutput");
formatter.finish()
}
}
/// See [`CreateDedicatedIpPoolOutput`](crate::output::CreateDedicatedIpPoolOutput)
pub mod create_dedicated_ip_pool_output {
/// A builder for [`CreateDedicatedIpPoolOutput`](crate::output::CreateDedicatedIpPoolOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {}
impl Builder {
/// Consumes the builder and constructs a [`CreateDedicatedIpPoolOutput`](crate::output::CreateDedicatedIpPoolOutput)
pub fn build(self) -> crate::output::CreateDedicatedIpPoolOutput {
crate::output::CreateDedicatedIpPoolOutput {}
}
}
}
impl CreateDedicatedIpPoolOutput {
/// Creates a new builder-style object to manufacture [`CreateDedicatedIpPoolOutput`](crate::output::CreateDedicatedIpPoolOutput)
pub fn builder() -> crate::output::create_dedicated_ip_pool_output::Builder {
crate::output::create_dedicated_ip_pool_output::Builder::default()
}
}
/// <p>An HTTP 200 response if the request succeeds, or an error message if the request fails.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct CreateConfigurationSetEventDestinationOutput {}
impl std::fmt::Debug for CreateConfigurationSetEventDestinationOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("CreateConfigurationSetEventDestinationOutput");
formatter.finish()
}
}
/// See [`CreateConfigurationSetEventDestinationOutput`](crate::output::CreateConfigurationSetEventDestinationOutput)
pub mod create_configuration_set_event_destination_output {
/// A builder for [`CreateConfigurationSetEventDestinationOutput`](crate::output::CreateConfigurationSetEventDestinationOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {}
impl Builder {
/// Consumes the builder and constructs a [`CreateConfigurationSetEventDestinationOutput`](crate::output::CreateConfigurationSetEventDestinationOutput)
pub fn build(self) -> crate::output::CreateConfigurationSetEventDestinationOutput {
crate::output::CreateConfigurationSetEventDestinationOutput {}
}
}
}
impl CreateConfigurationSetEventDestinationOutput {
/// Creates a new builder-style object to manufacture [`CreateConfigurationSetEventDestinationOutput`](crate::output::CreateConfigurationSetEventDestinationOutput)
pub fn builder() -> crate::output::create_configuration_set_event_destination_output::Builder {
crate::output::create_configuration_set_event_destination_output::Builder::default()
}
}
/// <p>An HTTP 200 response if the request succeeds, or an error message if the request fails.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct CreateConfigurationSetOutput {}
impl std::fmt::Debug for CreateConfigurationSetOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("CreateConfigurationSetOutput");
formatter.finish()
}
}
/// See [`CreateConfigurationSetOutput`](crate::output::CreateConfigurationSetOutput)
pub mod create_configuration_set_output {
/// A builder for [`CreateConfigurationSetOutput`](crate::output::CreateConfigurationSetOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {}
impl Builder {
/// Consumes the builder and constructs a [`CreateConfigurationSetOutput`](crate::output::CreateConfigurationSetOutput)
pub fn build(self) -> crate::output::CreateConfigurationSetOutput {
crate::output::CreateConfigurationSetOutput {}
}
}
}
impl CreateConfigurationSetOutput {
/// Creates a new builder-style object to manufacture [`CreateConfigurationSetOutput`](crate::output::CreateConfigurationSetOutput)
pub fn builder() -> crate::output::create_configuration_set_output::Builder {
crate::output::create_configuration_set_output::Builder::default()
}
}