aws-sdk-sesv2 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-sesv2.rb +1 -1
- data/lib/aws-sdk-sesv2/client.rb +219 -6
- data/lib/aws-sdk-sesv2/client_api.rb +161 -2
- data/lib/aws-sdk-sesv2/types.rb +401 -16
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e5546ebd009ad347c0bdc2c27708156ef89d67e2
|
|
4
|
+
data.tar.gz: 32b5539035701be0f4604c1a6052811b923bd7c2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 732926fbaed8d753ada4876c08558275a5ff07a6e1740bfde12cdc4a8ebcf2b16283d41d2ed8deb6ba90535c3a8ad4069c188583fb40ba37bdcc5ee1259e9061
|
|
7
|
+
data.tar.gz: 04f6e715cd46ec7ed57bcc96993c140a8ec653bf64fe0777caa3b03050739d429cebb077cd9d24b7888152f4467ce1a0555884ec1142bee9a83947e375e785c5
|
data/lib/aws-sdk-sesv2.rb
CHANGED
data/lib/aws-sdk-sesv2/client.rb
CHANGED
|
@@ -284,6 +284,10 @@ module Aws::SESV2
|
|
|
284
284
|
# An array of objects that define the tags (keys and values) that you
|
|
285
285
|
# want to associate with the configuration set.
|
|
286
286
|
#
|
|
287
|
+
# @option params [Types::SuppressionOptions] :suppression_options
|
|
288
|
+
# An object that contains information about your account's suppression
|
|
289
|
+
# preferences.
|
|
290
|
+
#
|
|
287
291
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
288
292
|
#
|
|
289
293
|
# @example Request syntax with placeholder values
|
|
@@ -310,6 +314,9 @@ module Aws::SESV2
|
|
|
310
314
|
# value: "TagValue", # required
|
|
311
315
|
# },
|
|
312
316
|
# ],
|
|
317
|
+
# suppression_options: {
|
|
318
|
+
# suppressed_reasons: ["BOUNCE"], # accepts BOUNCE, COMPLAINT
|
|
319
|
+
# },
|
|
313
320
|
# })
|
|
314
321
|
#
|
|
315
322
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/CreateConfigurationSet AWS API Documentation
|
|
@@ -672,26 +679,52 @@ module Aws::SESV2
|
|
|
672
679
|
req.send_request(options)
|
|
673
680
|
end
|
|
674
681
|
|
|
682
|
+
# Used to delete a suppressed email destination from your suppression
|
|
683
|
+
# list.
|
|
684
|
+
#
|
|
685
|
+
# @option params [required, String] :email_address
|
|
686
|
+
# The suppressed email destination to delete.
|
|
687
|
+
#
|
|
688
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
689
|
+
#
|
|
690
|
+
# @example Request syntax with placeholder values
|
|
691
|
+
#
|
|
692
|
+
# resp = client.delete_suppressed_destination({
|
|
693
|
+
# email_address: "EmailAddress", # required
|
|
694
|
+
# })
|
|
695
|
+
#
|
|
696
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/DeleteSuppressedDestination AWS API Documentation
|
|
697
|
+
#
|
|
698
|
+
# @overload delete_suppressed_destination(params = {})
|
|
699
|
+
# @param [Hash] params ({})
|
|
700
|
+
def delete_suppressed_destination(params = {}, options = {})
|
|
701
|
+
req = build_request(:delete_suppressed_destination, params)
|
|
702
|
+
req.send_request(options)
|
|
703
|
+
end
|
|
704
|
+
|
|
675
705
|
# Obtain information about the email-sending status and capabilities of
|
|
676
706
|
# your Amazon SES account in the current AWS Region.
|
|
677
707
|
#
|
|
678
708
|
# @return [Types::GetAccountResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
679
709
|
#
|
|
680
|
-
# * {Types::GetAccountResponse#send_quota #send_quota} => Types::SendQuota
|
|
681
|
-
# * {Types::GetAccountResponse#sending_enabled #sending_enabled} => Boolean
|
|
682
710
|
# * {Types::GetAccountResponse#dedicated_ip_auto_warmup_enabled #dedicated_ip_auto_warmup_enabled} => Boolean
|
|
683
711
|
# * {Types::GetAccountResponse#enforcement_status #enforcement_status} => String
|
|
684
712
|
# * {Types::GetAccountResponse#production_access_enabled #production_access_enabled} => Boolean
|
|
713
|
+
# * {Types::GetAccountResponse#send_quota #send_quota} => Types::SendQuota
|
|
714
|
+
# * {Types::GetAccountResponse#sending_enabled #sending_enabled} => Boolean
|
|
715
|
+
# * {Types::GetAccountResponse#suppression_attributes #suppression_attributes} => Types::SuppressionAttributes
|
|
685
716
|
#
|
|
686
717
|
# @example Response structure
|
|
687
718
|
#
|
|
719
|
+
# resp.dedicated_ip_auto_warmup_enabled #=> Boolean
|
|
720
|
+
# resp.enforcement_status #=> String
|
|
721
|
+
# resp.production_access_enabled #=> Boolean
|
|
688
722
|
# resp.send_quota.max_24_hour_send #=> Float
|
|
689
723
|
# resp.send_quota.max_send_rate #=> Float
|
|
690
724
|
# resp.send_quota.sent_last_24_hours #=> Float
|
|
691
725
|
# resp.sending_enabled #=> Boolean
|
|
692
|
-
# resp.
|
|
693
|
-
# resp.
|
|
694
|
-
# resp.production_access_enabled #=> Boolean
|
|
726
|
+
# resp.suppression_attributes.suppressed_reasons #=> Array
|
|
727
|
+
# resp.suppression_attributes.suppressed_reasons[0] #=> String, one of "BOUNCE", "COMPLAINT"
|
|
695
728
|
#
|
|
696
729
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetAccount AWS API Documentation
|
|
697
730
|
#
|
|
@@ -759,6 +792,7 @@ module Aws::SESV2
|
|
|
759
792
|
# * {Types::GetConfigurationSetResponse#reputation_options #reputation_options} => Types::ReputationOptions
|
|
760
793
|
# * {Types::GetConfigurationSetResponse#sending_options #sending_options} => Types::SendingOptions
|
|
761
794
|
# * {Types::GetConfigurationSetResponse#tags #tags} => Array<Types::Tag>
|
|
795
|
+
# * {Types::GetConfigurationSetResponse#suppression_options #suppression_options} => Types::SuppressionOptions
|
|
762
796
|
#
|
|
763
797
|
# @example Request syntax with placeholder values
|
|
764
798
|
#
|
|
@@ -778,6 +812,8 @@ module Aws::SESV2
|
|
|
778
812
|
# resp.tags #=> Array
|
|
779
813
|
# resp.tags[0].key #=> String
|
|
780
814
|
# resp.tags[0].value #=> String
|
|
815
|
+
# resp.suppression_options.suppressed_reasons #=> Array
|
|
816
|
+
# resp.suppression_options.suppressed_reasons[0] #=> String, one of "BOUNCE", "COMPLAINT"
|
|
781
817
|
#
|
|
782
818
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetConfigurationSet AWS API Documentation
|
|
783
819
|
#
|
|
@@ -1179,6 +1215,39 @@ module Aws::SESV2
|
|
|
1179
1215
|
req.send_request(options)
|
|
1180
1216
|
end
|
|
1181
1217
|
|
|
1218
|
+
# Used to fetch a single suppressed email destination from your
|
|
1219
|
+
# suppression list.
|
|
1220
|
+
#
|
|
1221
|
+
# @option params [required, String] :email_address
|
|
1222
|
+
# Email destination to fetch from the suppression list.
|
|
1223
|
+
#
|
|
1224
|
+
# @return [Types::GetSuppressedDestinationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1225
|
+
#
|
|
1226
|
+
# * {Types::GetSuppressedDestinationResponse#suppressed_destination #suppressed_destination} => Types::SuppressedDestination
|
|
1227
|
+
#
|
|
1228
|
+
# @example Request syntax with placeholder values
|
|
1229
|
+
#
|
|
1230
|
+
# resp = client.get_suppressed_destination({
|
|
1231
|
+
# email_address: "EmailAddress", # required
|
|
1232
|
+
# })
|
|
1233
|
+
#
|
|
1234
|
+
# @example Response structure
|
|
1235
|
+
#
|
|
1236
|
+
# resp.suppressed_destination.email_address #=> String
|
|
1237
|
+
# resp.suppressed_destination.reason #=> String, one of "BOUNCE", "COMPLAINT"
|
|
1238
|
+
# resp.suppressed_destination.last_update_time #=> Time
|
|
1239
|
+
# resp.suppressed_destination.attributes.message_id #=> String
|
|
1240
|
+
# resp.suppressed_destination.attributes.feedback_id #=> String
|
|
1241
|
+
#
|
|
1242
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetSuppressedDestination AWS API Documentation
|
|
1243
|
+
#
|
|
1244
|
+
# @overload get_suppressed_destination(params = {})
|
|
1245
|
+
# @param [Hash] params ({})
|
|
1246
|
+
def get_suppressed_destination(params = {}, options = {})
|
|
1247
|
+
req = build_request(:get_suppressed_destination, params)
|
|
1248
|
+
req.send_request(options)
|
|
1249
|
+
end
|
|
1250
|
+
|
|
1182
1251
|
# List all of the configuration sets associated with your account in the
|
|
1183
1252
|
# current region.
|
|
1184
1253
|
#
|
|
@@ -1439,6 +1508,60 @@ module Aws::SESV2
|
|
|
1439
1508
|
req.send_request(options)
|
|
1440
1509
|
end
|
|
1441
1510
|
|
|
1511
|
+
# Used to fetch a list suppressed email destinations from your
|
|
1512
|
+
# suppression list.
|
|
1513
|
+
#
|
|
1514
|
+
# @option params [Array<String>] :reasons
|
|
1515
|
+
# Filters email destinations suppressed by the given reasons.
|
|
1516
|
+
#
|
|
1517
|
+
# @option params [Time,DateTime,Date,Integer,String] :start_date
|
|
1518
|
+
# Filters email destinations suppressed before the given time.
|
|
1519
|
+
#
|
|
1520
|
+
# @option params [Time,DateTime,Date,Integer,String] :end_date
|
|
1521
|
+
# Filters email destinations suppressed after the given time.
|
|
1522
|
+
#
|
|
1523
|
+
# @option params [String] :next_token
|
|
1524
|
+
# A token returned from a previous call to `ListSuppressedDestinations`
|
|
1525
|
+
# to indicate the position in the list of suppressed email destinations.
|
|
1526
|
+
#
|
|
1527
|
+
# @option params [Integer] :page_size
|
|
1528
|
+
# The number of results to show in a single call to
|
|
1529
|
+
# `ListSuppressedDestinations`. If the number of results is larger than
|
|
1530
|
+
# the number you specified in this parameter, then the response includes
|
|
1531
|
+
# a `NextToken` element, which you can use to obtain additional results.
|
|
1532
|
+
#
|
|
1533
|
+
# @return [Types::ListSuppressedDestinationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1534
|
+
#
|
|
1535
|
+
# * {Types::ListSuppressedDestinationsResponse#suppressed_destination_summaries #suppressed_destination_summaries} => Array<Types::SuppressedDestinationSummary>
|
|
1536
|
+
# * {Types::ListSuppressedDestinationsResponse#next_token #next_token} => String
|
|
1537
|
+
#
|
|
1538
|
+
# @example Request syntax with placeholder values
|
|
1539
|
+
#
|
|
1540
|
+
# resp = client.list_suppressed_destinations({
|
|
1541
|
+
# reasons: ["BOUNCE"], # accepts BOUNCE, COMPLAINT
|
|
1542
|
+
# start_date: Time.now,
|
|
1543
|
+
# end_date: Time.now,
|
|
1544
|
+
# next_token: "NextToken",
|
|
1545
|
+
# page_size: 1,
|
|
1546
|
+
# })
|
|
1547
|
+
#
|
|
1548
|
+
# @example Response structure
|
|
1549
|
+
#
|
|
1550
|
+
# resp.suppressed_destination_summaries #=> Array
|
|
1551
|
+
# resp.suppressed_destination_summaries[0].email_address #=> String
|
|
1552
|
+
# resp.suppressed_destination_summaries[0].reason #=> String, one of "BOUNCE", "COMPLAINT"
|
|
1553
|
+
# resp.suppressed_destination_summaries[0].last_update_time #=> Time
|
|
1554
|
+
# resp.next_token #=> String
|
|
1555
|
+
#
|
|
1556
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ListSuppressedDestinations AWS API Documentation
|
|
1557
|
+
#
|
|
1558
|
+
# @overload list_suppressed_destinations(params = {})
|
|
1559
|
+
# @param [Hash] params ({})
|
|
1560
|
+
def list_suppressed_destinations(params = {}, options = {})
|
|
1561
|
+
req = build_request(:list_suppressed_destinations, params)
|
|
1562
|
+
req.send_request(options)
|
|
1563
|
+
end
|
|
1564
|
+
|
|
1442
1565
|
# Retrieve a list of the tags (keys and values) that are associated with
|
|
1443
1566
|
# a specified resource. A *tag* is a label that you optionally define
|
|
1444
1567
|
# and associate with a resource. Each tag consists of a required *tag
|
|
@@ -1530,6 +1653,35 @@ module Aws::SESV2
|
|
|
1530
1653
|
req.send_request(options)
|
|
1531
1654
|
end
|
|
1532
1655
|
|
|
1656
|
+
# Change your account's suppression preferences for your account.
|
|
1657
|
+
#
|
|
1658
|
+
# @option params [Array<String>] :suppressed_reasons
|
|
1659
|
+
# A list of reasons to suppress email addresses. The only valid reasons
|
|
1660
|
+
# are:
|
|
1661
|
+
#
|
|
1662
|
+
# * `COMPLAINT` – Amazon SES will suppress an email address that
|
|
1663
|
+
# receives a complaint.
|
|
1664
|
+
#
|
|
1665
|
+
# * `BOUNCE` – Amazon SES will suppress an email address that hard
|
|
1666
|
+
# bounces.
|
|
1667
|
+
#
|
|
1668
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
1669
|
+
#
|
|
1670
|
+
# @example Request syntax with placeholder values
|
|
1671
|
+
#
|
|
1672
|
+
# resp = client.put_account_suppression_attributes({
|
|
1673
|
+
# suppressed_reasons: ["BOUNCE"], # accepts BOUNCE, COMPLAINT
|
|
1674
|
+
# })
|
|
1675
|
+
#
|
|
1676
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutAccountSuppressionAttributes AWS API Documentation
|
|
1677
|
+
#
|
|
1678
|
+
# @overload put_account_suppression_attributes(params = {})
|
|
1679
|
+
# @param [Hash] params ({})
|
|
1680
|
+
def put_account_suppression_attributes(params = {}, options = {})
|
|
1681
|
+
req = build_request(:put_account_suppression_attributes, params)
|
|
1682
|
+
req.send_request(options)
|
|
1683
|
+
end
|
|
1684
|
+
|
|
1533
1685
|
# Associate a configuration set with a dedicated IP pool. You can use
|
|
1534
1686
|
# dedicated IP pools to create groups of dedicated IP addresses for
|
|
1535
1687
|
# sending specific types of email.
|
|
@@ -1627,6 +1779,41 @@ module Aws::SESV2
|
|
|
1627
1779
|
req.send_request(options)
|
|
1628
1780
|
end
|
|
1629
1781
|
|
|
1782
|
+
# Specify your account's suppression preferences for a configuration
|
|
1783
|
+
# set.
|
|
1784
|
+
#
|
|
1785
|
+
# @option params [required, String] :configuration_set_name
|
|
1786
|
+
# The name of the configuration set that you want to enable or disable
|
|
1787
|
+
# email sending for.
|
|
1788
|
+
#
|
|
1789
|
+
# @option params [Array<String>] :suppressed_reasons
|
|
1790
|
+
# A list of reasons to suppress email addresses. The only valid reasons
|
|
1791
|
+
# are:
|
|
1792
|
+
#
|
|
1793
|
+
# * `COMPLAINT` – Amazon SES will suppress an email address that
|
|
1794
|
+
# receives a complaint.
|
|
1795
|
+
#
|
|
1796
|
+
# * `BOUNCE` – Amazon SES will suppress an email address that hard
|
|
1797
|
+
# bounces.
|
|
1798
|
+
#
|
|
1799
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
1800
|
+
#
|
|
1801
|
+
# @example Request syntax with placeholder values
|
|
1802
|
+
#
|
|
1803
|
+
# resp = client.put_configuration_set_suppression_options({
|
|
1804
|
+
# configuration_set_name: "ConfigurationSetName", # required
|
|
1805
|
+
# suppressed_reasons: ["BOUNCE"], # accepts BOUNCE, COMPLAINT
|
|
1806
|
+
# })
|
|
1807
|
+
#
|
|
1808
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutConfigurationSetSuppressionOptions AWS API Documentation
|
|
1809
|
+
#
|
|
1810
|
+
# @overload put_configuration_set_suppression_options(params = {})
|
|
1811
|
+
# @param [Hash] params ({})
|
|
1812
|
+
def put_configuration_set_suppression_options(params = {}, options = {})
|
|
1813
|
+
req = build_request(:put_configuration_set_suppression_options, params)
|
|
1814
|
+
req.send_request(options)
|
|
1815
|
+
end
|
|
1816
|
+
|
|
1630
1817
|
# Specify a custom domain to use for open and click tracking elements in
|
|
1631
1818
|
# email that you send.
|
|
1632
1819
|
#
|
|
@@ -1897,6 +2084,32 @@ module Aws::SESV2
|
|
|
1897
2084
|
req.send_request(options)
|
|
1898
2085
|
end
|
|
1899
2086
|
|
|
2087
|
+
# Puts (overwrites) an email destination in your suppression list.
|
|
2088
|
+
#
|
|
2089
|
+
# @option params [required, String] :email_address
|
|
2090
|
+
# Email destination to be suppressed.
|
|
2091
|
+
#
|
|
2092
|
+
# @option params [required, String] :reason
|
|
2093
|
+
# Reason for which the email destination is suppressed.
|
|
2094
|
+
#
|
|
2095
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
2096
|
+
#
|
|
2097
|
+
# @example Request syntax with placeholder values
|
|
2098
|
+
#
|
|
2099
|
+
# resp = client.put_suppressed_destination({
|
|
2100
|
+
# email_address: "EmailAddress", # required
|
|
2101
|
+
# reason: "BOUNCE", # required, accepts BOUNCE, COMPLAINT
|
|
2102
|
+
# })
|
|
2103
|
+
#
|
|
2104
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutSuppressedDestination AWS API Documentation
|
|
2105
|
+
#
|
|
2106
|
+
# @overload put_suppressed_destination(params = {})
|
|
2107
|
+
# @param [Hash] params ({})
|
|
2108
|
+
def put_suppressed_destination(params = {}, options = {})
|
|
2109
|
+
req = build_request(:put_suppressed_destination, params)
|
|
2110
|
+
req.send_request(options)
|
|
2111
|
+
end
|
|
2112
|
+
|
|
1900
2113
|
# Sends an email message. You can use the Amazon SES API v2 to send two
|
|
1901
2114
|
# types of messages:
|
|
1902
2115
|
#
|
|
@@ -2153,7 +2366,7 @@ module Aws::SESV2
|
|
|
2153
2366
|
params: params,
|
|
2154
2367
|
config: config)
|
|
2155
2368
|
context[:gem_name] = 'aws-sdk-sesv2'
|
|
2156
|
-
context[:gem_version] = '1.
|
|
2369
|
+
context[:gem_version] = '1.1.0'
|
|
2157
2370
|
Seahorse::Client::Request.new(handlers, context)
|
|
2158
2371
|
end
|
|
2159
2372
|
|
|
@@ -56,6 +56,8 @@ module Aws::SESV2
|
|
|
56
56
|
DeleteDedicatedIpPoolResponse = Shapes::StructureShape.new(name: 'DeleteDedicatedIpPoolResponse')
|
|
57
57
|
DeleteEmailIdentityRequest = Shapes::StructureShape.new(name: 'DeleteEmailIdentityRequest')
|
|
58
58
|
DeleteEmailIdentityResponse = Shapes::StructureShape.new(name: 'DeleteEmailIdentityResponse')
|
|
59
|
+
DeleteSuppressedDestinationRequest = Shapes::StructureShape.new(name: 'DeleteSuppressedDestinationRequest')
|
|
60
|
+
DeleteSuppressedDestinationResponse = Shapes::StructureShape.new(name: 'DeleteSuppressedDestinationResponse')
|
|
59
61
|
DeliverabilityDashboardAccountStatus = Shapes::StringShape.new(name: 'DeliverabilityDashboardAccountStatus')
|
|
60
62
|
DeliverabilityTestReport = Shapes::StructureShape.new(name: 'DeliverabilityTestReport')
|
|
61
63
|
DeliverabilityTestReports = Shapes::ListShape.new(name: 'DeliverabilityTestReports')
|
|
@@ -88,6 +90,7 @@ module Aws::SESV2
|
|
|
88
90
|
EventDestinations = Shapes::ListShape.new(name: 'EventDestinations')
|
|
89
91
|
EventType = Shapes::StringShape.new(name: 'EventType')
|
|
90
92
|
EventTypes = Shapes::ListShape.new(name: 'EventTypes')
|
|
93
|
+
FeedbackId = Shapes::StringShape.new(name: 'FeedbackId')
|
|
91
94
|
GeneralEnforcementStatus = Shapes::StringShape.new(name: 'GeneralEnforcementStatus')
|
|
92
95
|
GetAccountRequest = Shapes::StructureShape.new(name: 'GetAccountRequest')
|
|
93
96
|
GetAccountResponse = Shapes::StructureShape.new(name: 'GetAccountResponse')
|
|
@@ -111,12 +114,15 @@ module Aws::SESV2
|
|
|
111
114
|
GetDomainStatisticsReportResponse = Shapes::StructureShape.new(name: 'GetDomainStatisticsReportResponse')
|
|
112
115
|
GetEmailIdentityRequest = Shapes::StructureShape.new(name: 'GetEmailIdentityRequest')
|
|
113
116
|
GetEmailIdentityResponse = Shapes::StructureShape.new(name: 'GetEmailIdentityResponse')
|
|
117
|
+
GetSuppressedDestinationRequest = Shapes::StructureShape.new(name: 'GetSuppressedDestinationRequest')
|
|
118
|
+
GetSuppressedDestinationResponse = Shapes::StructureShape.new(name: 'GetSuppressedDestinationResponse')
|
|
114
119
|
Identity = Shapes::StringShape.new(name: 'Identity')
|
|
115
120
|
IdentityInfo = Shapes::StructureShape.new(name: 'IdentityInfo')
|
|
116
121
|
IdentityInfoList = Shapes::ListShape.new(name: 'IdentityInfoList')
|
|
117
122
|
IdentityType = Shapes::StringShape.new(name: 'IdentityType')
|
|
118
123
|
ImageUrl = Shapes::StringShape.new(name: 'ImageUrl')
|
|
119
124
|
InboxPlacementTrackingOption = Shapes::StructureShape.new(name: 'InboxPlacementTrackingOption')
|
|
125
|
+
InvalidNextTokenException = Shapes::StructureShape.new(name: 'InvalidNextTokenException')
|
|
120
126
|
Ip = Shapes::StringShape.new(name: 'Ip')
|
|
121
127
|
IpList = Shapes::ListShape.new(name: 'IpList')
|
|
122
128
|
IspName = Shapes::StringShape.new(name: 'IspName')
|
|
@@ -137,6 +143,8 @@ module Aws::SESV2
|
|
|
137
143
|
ListEmailIdentitiesRequest = Shapes::StructureShape.new(name: 'ListEmailIdentitiesRequest')
|
|
138
144
|
ListEmailIdentitiesResponse = Shapes::StructureShape.new(name: 'ListEmailIdentitiesResponse')
|
|
139
145
|
ListOfDedicatedIpPools = Shapes::ListShape.new(name: 'ListOfDedicatedIpPools')
|
|
146
|
+
ListSuppressedDestinationsRequest = Shapes::StructureShape.new(name: 'ListSuppressedDestinationsRequest')
|
|
147
|
+
ListSuppressedDestinationsResponse = Shapes::StructureShape.new(name: 'ListSuppressedDestinationsResponse')
|
|
140
148
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
|
141
149
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
|
142
150
|
MailFromAttributes = Shapes::StructureShape.new(name: 'MailFromAttributes')
|
|
@@ -167,12 +175,16 @@ module Aws::SESV2
|
|
|
167
175
|
PutAccountDedicatedIpWarmupAttributesResponse = Shapes::StructureShape.new(name: 'PutAccountDedicatedIpWarmupAttributesResponse')
|
|
168
176
|
PutAccountSendingAttributesRequest = Shapes::StructureShape.new(name: 'PutAccountSendingAttributesRequest')
|
|
169
177
|
PutAccountSendingAttributesResponse = Shapes::StructureShape.new(name: 'PutAccountSendingAttributesResponse')
|
|
178
|
+
PutAccountSuppressionAttributesRequest = Shapes::StructureShape.new(name: 'PutAccountSuppressionAttributesRequest')
|
|
179
|
+
PutAccountSuppressionAttributesResponse = Shapes::StructureShape.new(name: 'PutAccountSuppressionAttributesResponse')
|
|
170
180
|
PutConfigurationSetDeliveryOptionsRequest = Shapes::StructureShape.new(name: 'PutConfigurationSetDeliveryOptionsRequest')
|
|
171
181
|
PutConfigurationSetDeliveryOptionsResponse = Shapes::StructureShape.new(name: 'PutConfigurationSetDeliveryOptionsResponse')
|
|
172
182
|
PutConfigurationSetReputationOptionsRequest = Shapes::StructureShape.new(name: 'PutConfigurationSetReputationOptionsRequest')
|
|
173
183
|
PutConfigurationSetReputationOptionsResponse = Shapes::StructureShape.new(name: 'PutConfigurationSetReputationOptionsResponse')
|
|
174
184
|
PutConfigurationSetSendingOptionsRequest = Shapes::StructureShape.new(name: 'PutConfigurationSetSendingOptionsRequest')
|
|
175
185
|
PutConfigurationSetSendingOptionsResponse = Shapes::StructureShape.new(name: 'PutConfigurationSetSendingOptionsResponse')
|
|
186
|
+
PutConfigurationSetSuppressionOptionsRequest = Shapes::StructureShape.new(name: 'PutConfigurationSetSuppressionOptionsRequest')
|
|
187
|
+
PutConfigurationSetSuppressionOptionsResponse = Shapes::StructureShape.new(name: 'PutConfigurationSetSuppressionOptionsResponse')
|
|
176
188
|
PutConfigurationSetTrackingOptionsRequest = Shapes::StructureShape.new(name: 'PutConfigurationSetTrackingOptionsRequest')
|
|
177
189
|
PutConfigurationSetTrackingOptionsResponse = Shapes::StructureShape.new(name: 'PutConfigurationSetTrackingOptionsResponse')
|
|
178
190
|
PutDedicatedIpInPoolRequest = Shapes::StructureShape.new(name: 'PutDedicatedIpInPoolRequest')
|
|
@@ -187,6 +199,8 @@ module Aws::SESV2
|
|
|
187
199
|
PutEmailIdentityFeedbackAttributesResponse = Shapes::StructureShape.new(name: 'PutEmailIdentityFeedbackAttributesResponse')
|
|
188
200
|
PutEmailIdentityMailFromAttributesRequest = Shapes::StructureShape.new(name: 'PutEmailIdentityMailFromAttributesRequest')
|
|
189
201
|
PutEmailIdentityMailFromAttributesResponse = Shapes::StructureShape.new(name: 'PutEmailIdentityMailFromAttributesResponse')
|
|
202
|
+
PutSuppressedDestinationRequest = Shapes::StructureShape.new(name: 'PutSuppressedDestinationRequest')
|
|
203
|
+
PutSuppressedDestinationResponse = Shapes::StructureShape.new(name: 'PutSuppressedDestinationResponse')
|
|
190
204
|
RawMessage = Shapes::StructureShape.new(name: 'RawMessage')
|
|
191
205
|
RawMessageData = Shapes::BlobShape.new(name: 'RawMessageData')
|
|
192
206
|
RblName = Shapes::StringShape.new(name: 'RblName')
|
|
@@ -202,6 +216,14 @@ module Aws::SESV2
|
|
|
202
216
|
SentLast24Hours = Shapes::FloatShape.new(name: 'SentLast24Hours')
|
|
203
217
|
SnsDestination = Shapes::StructureShape.new(name: 'SnsDestination')
|
|
204
218
|
Subject = Shapes::StringShape.new(name: 'Subject')
|
|
219
|
+
SuppressedDestination = Shapes::StructureShape.new(name: 'SuppressedDestination')
|
|
220
|
+
SuppressedDestinationAttributes = Shapes::StructureShape.new(name: 'SuppressedDestinationAttributes')
|
|
221
|
+
SuppressedDestinationSummaries = Shapes::ListShape.new(name: 'SuppressedDestinationSummaries')
|
|
222
|
+
SuppressedDestinationSummary = Shapes::StructureShape.new(name: 'SuppressedDestinationSummary')
|
|
223
|
+
SuppressionAttributes = Shapes::StructureShape.new(name: 'SuppressionAttributes')
|
|
224
|
+
SuppressionListReason = Shapes::StringShape.new(name: 'SuppressionListReason')
|
|
225
|
+
SuppressionListReasons = Shapes::ListShape.new(name: 'SuppressionListReasons')
|
|
226
|
+
SuppressionOptions = Shapes::StructureShape.new(name: 'SuppressionOptions')
|
|
205
227
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
|
206
228
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
|
207
229
|
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
|
@@ -269,6 +291,7 @@ module Aws::SESV2
|
|
|
269
291
|
CreateConfigurationSetRequest.add_member(:reputation_options, Shapes::ShapeRef.new(shape: ReputationOptions, location_name: "ReputationOptions"))
|
|
270
292
|
CreateConfigurationSetRequest.add_member(:sending_options, Shapes::ShapeRef.new(shape: SendingOptions, location_name: "SendingOptions"))
|
|
271
293
|
CreateConfigurationSetRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
|
294
|
+
CreateConfigurationSetRequest.add_member(:suppression_options, Shapes::ShapeRef.new(shape: SuppressionOptions, location_name: "SuppressionOptions"))
|
|
272
295
|
CreateConfigurationSetRequest.struct_class = Types::CreateConfigurationSetRequest
|
|
273
296
|
|
|
274
297
|
CreateConfigurationSetResponse.struct_class = Types::CreateConfigurationSetResponse
|
|
@@ -334,6 +357,11 @@ module Aws::SESV2
|
|
|
334
357
|
|
|
335
358
|
DeleteEmailIdentityResponse.struct_class = Types::DeleteEmailIdentityResponse
|
|
336
359
|
|
|
360
|
+
DeleteSuppressedDestinationRequest.add_member(:email_address, Shapes::ShapeRef.new(shape: EmailAddress, required: true, location: "uri", location_name: "EmailAddress"))
|
|
361
|
+
DeleteSuppressedDestinationRequest.struct_class = Types::DeleteSuppressedDestinationRequest
|
|
362
|
+
|
|
363
|
+
DeleteSuppressedDestinationResponse.struct_class = Types::DeleteSuppressedDestinationResponse
|
|
364
|
+
|
|
337
365
|
DeliverabilityTestReport.add_member(:report_id, Shapes::ShapeRef.new(shape: ReportId, location_name: "ReportId"))
|
|
338
366
|
DeliverabilityTestReport.add_member(:report_name, Shapes::ShapeRef.new(shape: ReportName, location_name: "ReportName"))
|
|
339
367
|
DeliverabilityTestReport.add_member(:subject, Shapes::ShapeRef.new(shape: DeliverabilityTestSubject, location_name: "Subject"))
|
|
@@ -426,11 +454,12 @@ module Aws::SESV2
|
|
|
426
454
|
|
|
427
455
|
GetAccountRequest.struct_class = Types::GetAccountRequest
|
|
428
456
|
|
|
429
|
-
GetAccountResponse.add_member(:send_quota, Shapes::ShapeRef.new(shape: SendQuota, location_name: "SendQuota"))
|
|
430
|
-
GetAccountResponse.add_member(:sending_enabled, Shapes::ShapeRef.new(shape: Enabled, location_name: "SendingEnabled"))
|
|
431
457
|
GetAccountResponse.add_member(:dedicated_ip_auto_warmup_enabled, Shapes::ShapeRef.new(shape: Enabled, location_name: "DedicatedIpAutoWarmupEnabled"))
|
|
432
458
|
GetAccountResponse.add_member(:enforcement_status, Shapes::ShapeRef.new(shape: GeneralEnforcementStatus, location_name: "EnforcementStatus"))
|
|
433
459
|
GetAccountResponse.add_member(:production_access_enabled, Shapes::ShapeRef.new(shape: Enabled, location_name: "ProductionAccessEnabled"))
|
|
460
|
+
GetAccountResponse.add_member(:send_quota, Shapes::ShapeRef.new(shape: SendQuota, location_name: "SendQuota"))
|
|
461
|
+
GetAccountResponse.add_member(:sending_enabled, Shapes::ShapeRef.new(shape: Enabled, location_name: "SendingEnabled"))
|
|
462
|
+
GetAccountResponse.add_member(:suppression_attributes, Shapes::ShapeRef.new(shape: SuppressionAttributes, location_name: "SuppressionAttributes"))
|
|
434
463
|
GetAccountResponse.struct_class = Types::GetAccountResponse
|
|
435
464
|
|
|
436
465
|
GetBlacklistReportsRequest.add_member(:blacklist_item_names, Shapes::ShapeRef.new(shape: BlacklistItemNames, required: true, location: "querystring", location_name: "BlacklistItemNames"))
|
|
@@ -454,6 +483,7 @@ module Aws::SESV2
|
|
|
454
483
|
GetConfigurationSetResponse.add_member(:reputation_options, Shapes::ShapeRef.new(shape: ReputationOptions, location_name: "ReputationOptions"))
|
|
455
484
|
GetConfigurationSetResponse.add_member(:sending_options, Shapes::ShapeRef.new(shape: SendingOptions, location_name: "SendingOptions"))
|
|
456
485
|
GetConfigurationSetResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
|
486
|
+
GetConfigurationSetResponse.add_member(:suppression_options, Shapes::ShapeRef.new(shape: SuppressionOptions, location_name: "SuppressionOptions"))
|
|
457
487
|
GetConfigurationSetResponse.struct_class = Types::GetConfigurationSetResponse
|
|
458
488
|
|
|
459
489
|
GetDedicatedIpRequest.add_member(:ip, Shapes::ShapeRef.new(shape: Ip, required: true, location: "uri", location_name: "IP"))
|
|
@@ -516,6 +546,12 @@ module Aws::SESV2
|
|
|
516
546
|
GetEmailIdentityResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
|
517
547
|
GetEmailIdentityResponse.struct_class = Types::GetEmailIdentityResponse
|
|
518
548
|
|
|
549
|
+
GetSuppressedDestinationRequest.add_member(:email_address, Shapes::ShapeRef.new(shape: EmailAddress, required: true, location: "uri", location_name: "EmailAddress"))
|
|
550
|
+
GetSuppressedDestinationRequest.struct_class = Types::GetSuppressedDestinationRequest
|
|
551
|
+
|
|
552
|
+
GetSuppressedDestinationResponse.add_member(:suppressed_destination, Shapes::ShapeRef.new(shape: SuppressedDestination, required: true, location_name: "SuppressedDestination"))
|
|
553
|
+
GetSuppressedDestinationResponse.struct_class = Types::GetSuppressedDestinationResponse
|
|
554
|
+
|
|
519
555
|
IdentityInfo.add_member(:identity_type, Shapes::ShapeRef.new(shape: IdentityType, location_name: "IdentityType"))
|
|
520
556
|
IdentityInfo.add_member(:identity_name, Shapes::ShapeRef.new(shape: Identity, location_name: "IdentityName"))
|
|
521
557
|
IdentityInfo.add_member(:sending_enabled, Shapes::ShapeRef.new(shape: Enabled, location_name: "SendingEnabled"))
|
|
@@ -586,6 +622,17 @@ module Aws::SESV2
|
|
|
586
622
|
|
|
587
623
|
ListOfDedicatedIpPools.member = Shapes::ShapeRef.new(shape: PoolName)
|
|
588
624
|
|
|
625
|
+
ListSuppressedDestinationsRequest.add_member(:reasons, Shapes::ShapeRef.new(shape: SuppressionListReasons, location: "querystring", location_name: "Reason"))
|
|
626
|
+
ListSuppressedDestinationsRequest.add_member(:start_date, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "StartDate"))
|
|
627
|
+
ListSuppressedDestinationsRequest.add_member(:end_date, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "EndDate"))
|
|
628
|
+
ListSuppressedDestinationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "NextToken"))
|
|
629
|
+
ListSuppressedDestinationsRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: MaxItems, location: "querystring", location_name: "PageSize"))
|
|
630
|
+
ListSuppressedDestinationsRequest.struct_class = Types::ListSuppressedDestinationsRequest
|
|
631
|
+
|
|
632
|
+
ListSuppressedDestinationsResponse.add_member(:suppressed_destination_summaries, Shapes::ShapeRef.new(shape: SuppressedDestinationSummaries, location_name: "SuppressedDestinationSummaries"))
|
|
633
|
+
ListSuppressedDestinationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
|
634
|
+
ListSuppressedDestinationsResponse.struct_class = Types::ListSuppressedDestinationsResponse
|
|
635
|
+
|
|
589
636
|
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location: "querystring", location_name: "ResourceArn"))
|
|
590
637
|
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
|
591
638
|
|
|
@@ -632,6 +679,11 @@ module Aws::SESV2
|
|
|
632
679
|
|
|
633
680
|
PutAccountSendingAttributesResponse.struct_class = Types::PutAccountSendingAttributesResponse
|
|
634
681
|
|
|
682
|
+
PutAccountSuppressionAttributesRequest.add_member(:suppressed_reasons, Shapes::ShapeRef.new(shape: SuppressionListReasons, location_name: "SuppressedReasons"))
|
|
683
|
+
PutAccountSuppressionAttributesRequest.struct_class = Types::PutAccountSuppressionAttributesRequest
|
|
684
|
+
|
|
685
|
+
PutAccountSuppressionAttributesResponse.struct_class = Types::PutAccountSuppressionAttributesResponse
|
|
686
|
+
|
|
635
687
|
PutConfigurationSetDeliveryOptionsRequest.add_member(:configuration_set_name, Shapes::ShapeRef.new(shape: ConfigurationSetName, required: true, location: "uri", location_name: "ConfigurationSetName"))
|
|
636
688
|
PutConfigurationSetDeliveryOptionsRequest.add_member(:tls_policy, Shapes::ShapeRef.new(shape: TlsPolicy, location_name: "TlsPolicy"))
|
|
637
689
|
PutConfigurationSetDeliveryOptionsRequest.add_member(:sending_pool_name, Shapes::ShapeRef.new(shape: SendingPoolName, location_name: "SendingPoolName"))
|
|
@@ -651,6 +703,12 @@ module Aws::SESV2
|
|
|
651
703
|
|
|
652
704
|
PutConfigurationSetSendingOptionsResponse.struct_class = Types::PutConfigurationSetSendingOptionsResponse
|
|
653
705
|
|
|
706
|
+
PutConfigurationSetSuppressionOptionsRequest.add_member(:configuration_set_name, Shapes::ShapeRef.new(shape: ConfigurationSetName, required: true, location: "uri", location_name: "ConfigurationSetName"))
|
|
707
|
+
PutConfigurationSetSuppressionOptionsRequest.add_member(:suppressed_reasons, Shapes::ShapeRef.new(shape: SuppressionListReasons, location_name: "SuppressedReasons"))
|
|
708
|
+
PutConfigurationSetSuppressionOptionsRequest.struct_class = Types::PutConfigurationSetSuppressionOptionsRequest
|
|
709
|
+
|
|
710
|
+
PutConfigurationSetSuppressionOptionsResponse.struct_class = Types::PutConfigurationSetSuppressionOptionsResponse
|
|
711
|
+
|
|
654
712
|
PutConfigurationSetTrackingOptionsRequest.add_member(:configuration_set_name, Shapes::ShapeRef.new(shape: ConfigurationSetName, required: true, location: "uri", location_name: "ConfigurationSetName"))
|
|
655
713
|
PutConfigurationSetTrackingOptionsRequest.add_member(:custom_redirect_domain, Shapes::ShapeRef.new(shape: CustomRedirectDomain, location_name: "CustomRedirectDomain"))
|
|
656
714
|
PutConfigurationSetTrackingOptionsRequest.struct_class = Types::PutConfigurationSetTrackingOptionsRequest
|
|
@@ -694,6 +752,12 @@ module Aws::SESV2
|
|
|
694
752
|
|
|
695
753
|
PutEmailIdentityMailFromAttributesResponse.struct_class = Types::PutEmailIdentityMailFromAttributesResponse
|
|
696
754
|
|
|
755
|
+
PutSuppressedDestinationRequest.add_member(:email_address, Shapes::ShapeRef.new(shape: EmailAddress, required: true, location_name: "EmailAddress"))
|
|
756
|
+
PutSuppressedDestinationRequest.add_member(:reason, Shapes::ShapeRef.new(shape: SuppressionListReason, required: true, location_name: "Reason"))
|
|
757
|
+
PutSuppressedDestinationRequest.struct_class = Types::PutSuppressedDestinationRequest
|
|
758
|
+
|
|
759
|
+
PutSuppressedDestinationResponse.struct_class = Types::PutSuppressedDestinationResponse
|
|
760
|
+
|
|
697
761
|
RawMessage.add_member(:data, Shapes::ShapeRef.new(shape: RawMessageData, required: true, location_name: "Data"))
|
|
698
762
|
RawMessage.struct_class = Types::RawMessage
|
|
699
763
|
|
|
@@ -724,6 +788,31 @@ module Aws::SESV2
|
|
|
724
788
|
SnsDestination.add_member(:topic_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "TopicArn"))
|
|
725
789
|
SnsDestination.struct_class = Types::SnsDestination
|
|
726
790
|
|
|
791
|
+
SuppressedDestination.add_member(:email_address, Shapes::ShapeRef.new(shape: EmailAddress, required: true, location_name: "EmailAddress"))
|
|
792
|
+
SuppressedDestination.add_member(:reason, Shapes::ShapeRef.new(shape: SuppressionListReason, required: true, location_name: "Reason"))
|
|
793
|
+
SuppressedDestination.add_member(:last_update_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "LastUpdateTime"))
|
|
794
|
+
SuppressedDestination.add_member(:attributes, Shapes::ShapeRef.new(shape: SuppressedDestinationAttributes, location_name: "Attributes"))
|
|
795
|
+
SuppressedDestination.struct_class = Types::SuppressedDestination
|
|
796
|
+
|
|
797
|
+
SuppressedDestinationAttributes.add_member(:message_id, Shapes::ShapeRef.new(shape: OutboundMessageId, location_name: "MessageId"))
|
|
798
|
+
SuppressedDestinationAttributes.add_member(:feedback_id, Shapes::ShapeRef.new(shape: FeedbackId, location_name: "FeedbackId"))
|
|
799
|
+
SuppressedDestinationAttributes.struct_class = Types::SuppressedDestinationAttributes
|
|
800
|
+
|
|
801
|
+
SuppressedDestinationSummaries.member = Shapes::ShapeRef.new(shape: SuppressedDestinationSummary)
|
|
802
|
+
|
|
803
|
+
SuppressedDestinationSummary.add_member(:email_address, Shapes::ShapeRef.new(shape: EmailAddress, required: true, location_name: "EmailAddress"))
|
|
804
|
+
SuppressedDestinationSummary.add_member(:reason, Shapes::ShapeRef.new(shape: SuppressionListReason, required: true, location_name: "Reason"))
|
|
805
|
+
SuppressedDestinationSummary.add_member(:last_update_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "LastUpdateTime"))
|
|
806
|
+
SuppressedDestinationSummary.struct_class = Types::SuppressedDestinationSummary
|
|
807
|
+
|
|
808
|
+
SuppressionAttributes.add_member(:suppressed_reasons, Shapes::ShapeRef.new(shape: SuppressionListReasons, location_name: "SuppressedReasons"))
|
|
809
|
+
SuppressionAttributes.struct_class = Types::SuppressionAttributes
|
|
810
|
+
|
|
811
|
+
SuppressionListReasons.member = Shapes::ShapeRef.new(shape: SuppressionListReason)
|
|
812
|
+
|
|
813
|
+
SuppressionOptions.add_member(:suppressed_reasons, Shapes::ShapeRef.new(shape: SuppressionListReasons, location_name: "SuppressedReasons"))
|
|
814
|
+
SuppressionOptions.struct_class = Types::SuppressionOptions
|
|
815
|
+
|
|
727
816
|
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
|
|
728
817
|
Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "Value"))
|
|
729
818
|
Tag.struct_class = Types::Tag
|
|
@@ -899,6 +988,17 @@ module Aws::SESV2
|
|
|
899
988
|
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
|
900
989
|
end)
|
|
901
990
|
|
|
991
|
+
api.add_operation(:delete_suppressed_destination, Seahorse::Model::Operation.new.tap do |o|
|
|
992
|
+
o.name = "DeleteSuppressedDestination"
|
|
993
|
+
o.http_method = "DELETE"
|
|
994
|
+
o.http_request_uri = "/v2/email/suppression/addresses/{EmailAddress}"
|
|
995
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteSuppressedDestinationRequest)
|
|
996
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteSuppressedDestinationResponse)
|
|
997
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
|
998
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
|
999
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
|
1000
|
+
end)
|
|
1001
|
+
|
|
902
1002
|
api.add_operation(:get_account, Seahorse::Model::Operation.new.tap do |o|
|
|
903
1003
|
o.name = "GetAccount"
|
|
904
1004
|
o.http_method = "GET"
|
|
@@ -1025,6 +1125,17 @@ module Aws::SESV2
|
|
|
1025
1125
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
|
1026
1126
|
end)
|
|
1027
1127
|
|
|
1128
|
+
api.add_operation(:get_suppressed_destination, Seahorse::Model::Operation.new.tap do |o|
|
|
1129
|
+
o.name = "GetSuppressedDestination"
|
|
1130
|
+
o.http_method = "GET"
|
|
1131
|
+
o.http_request_uri = "/v2/email/suppression/addresses/{EmailAddress}"
|
|
1132
|
+
o.input = Shapes::ShapeRef.new(shape: GetSuppressedDestinationRequest)
|
|
1133
|
+
o.output = Shapes::ShapeRef.new(shape: GetSuppressedDestinationResponse)
|
|
1134
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
|
1135
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
|
1136
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
|
1137
|
+
end)
|
|
1138
|
+
|
|
1028
1139
|
api.add_operation(:list_configuration_sets, Seahorse::Model::Operation.new.tap do |o|
|
|
1029
1140
|
o.name = "ListConfigurationSets"
|
|
1030
1141
|
o.http_method = "GET"
|
|
@@ -1107,6 +1218,23 @@ module Aws::SESV2
|
|
|
1107
1218
|
)
|
|
1108
1219
|
end)
|
|
1109
1220
|
|
|
1221
|
+
api.add_operation(:list_suppressed_destinations, Seahorse::Model::Operation.new.tap do |o|
|
|
1222
|
+
o.name = "ListSuppressedDestinations"
|
|
1223
|
+
o.http_method = "GET"
|
|
1224
|
+
o.http_request_uri = "/v2/email/suppression/addresses"
|
|
1225
|
+
o.input = Shapes::ShapeRef.new(shape: ListSuppressedDestinationsRequest)
|
|
1226
|
+
o.output = Shapes::ShapeRef.new(shape: ListSuppressedDestinationsResponse)
|
|
1227
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
|
1228
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
|
1229
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
|
1230
|
+
o[:pager] = Aws::Pager.new(
|
|
1231
|
+
limit_key: "page_size",
|
|
1232
|
+
tokens: {
|
|
1233
|
+
"next_token" => "next_token"
|
|
1234
|
+
}
|
|
1235
|
+
)
|
|
1236
|
+
end)
|
|
1237
|
+
|
|
1110
1238
|
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
|
1111
1239
|
o.name = "ListTagsForResource"
|
|
1112
1240
|
o.http_method = "GET"
|
|
@@ -1138,6 +1266,16 @@ module Aws::SESV2
|
|
|
1138
1266
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
|
1139
1267
|
end)
|
|
1140
1268
|
|
|
1269
|
+
api.add_operation(:put_account_suppression_attributes, Seahorse::Model::Operation.new.tap do |o|
|
|
1270
|
+
o.name = "PutAccountSuppressionAttributes"
|
|
1271
|
+
o.http_method = "PUT"
|
|
1272
|
+
o.http_request_uri = "/v2/email/account/suppression"
|
|
1273
|
+
o.input = Shapes::ShapeRef.new(shape: PutAccountSuppressionAttributesRequest)
|
|
1274
|
+
o.output = Shapes::ShapeRef.new(shape: PutAccountSuppressionAttributesResponse)
|
|
1275
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
|
1276
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
|
1277
|
+
end)
|
|
1278
|
+
|
|
1141
1279
|
api.add_operation(:put_configuration_set_delivery_options, Seahorse::Model::Operation.new.tap do |o|
|
|
1142
1280
|
o.name = "PutConfigurationSetDeliveryOptions"
|
|
1143
1281
|
o.http_method = "PUT"
|
|
@@ -1171,6 +1309,17 @@ module Aws::SESV2
|
|
|
1171
1309
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
|
1172
1310
|
end)
|
|
1173
1311
|
|
|
1312
|
+
api.add_operation(:put_configuration_set_suppression_options, Seahorse::Model::Operation.new.tap do |o|
|
|
1313
|
+
o.name = "PutConfigurationSetSuppressionOptions"
|
|
1314
|
+
o.http_method = "PUT"
|
|
1315
|
+
o.http_request_uri = "/v2/email/configuration-sets/{ConfigurationSetName}/suppression-options"
|
|
1316
|
+
o.input = Shapes::ShapeRef.new(shape: PutConfigurationSetSuppressionOptionsRequest)
|
|
1317
|
+
o.output = Shapes::ShapeRef.new(shape: PutConfigurationSetSuppressionOptionsResponse)
|
|
1318
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
|
1319
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
|
1320
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
|
1321
|
+
end)
|
|
1322
|
+
|
|
1174
1323
|
api.add_operation(:put_configuration_set_tracking_options, Seahorse::Model::Operation.new.tap do |o|
|
|
1175
1324
|
o.name = "PutConfigurationSetTrackingOptions"
|
|
1176
1325
|
o.http_method = "PUT"
|
|
@@ -1250,6 +1399,16 @@ module Aws::SESV2
|
|
|
1250
1399
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
|
1251
1400
|
end)
|
|
1252
1401
|
|
|
1402
|
+
api.add_operation(:put_suppressed_destination, Seahorse::Model::Operation.new.tap do |o|
|
|
1403
|
+
o.name = "PutSuppressedDestination"
|
|
1404
|
+
o.http_method = "PUT"
|
|
1405
|
+
o.http_request_uri = "/v2/email/suppression/addresses"
|
|
1406
|
+
o.input = Shapes::ShapeRef.new(shape: PutSuppressedDestinationRequest)
|
|
1407
|
+
o.output = Shapes::ShapeRef.new(shape: PutSuppressedDestinationResponse)
|
|
1408
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
|
1409
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
|
1410
|
+
end)
|
|
1411
|
+
|
|
1253
1412
|
api.add_operation(:send_email, Seahorse::Model::Operation.new.tap do |o|
|
|
1254
1413
|
o.name = "SendEmail"
|
|
1255
1414
|
o.http_method = "POST"
|
data/lib/aws-sdk-sesv2/types.rb
CHANGED
|
@@ -272,6 +272,9 @@ module Aws::SESV2
|
|
|
272
272
|
# value: "TagValue", # required
|
|
273
273
|
# },
|
|
274
274
|
# ],
|
|
275
|
+
# suppression_options: {
|
|
276
|
+
# suppressed_reasons: ["BOUNCE"], # accepts BOUNCE, COMPLAINT
|
|
277
|
+
# },
|
|
275
278
|
# }
|
|
276
279
|
#
|
|
277
280
|
# @!attribute [rw] configuration_set_name
|
|
@@ -303,6 +306,11 @@ module Aws::SESV2
|
|
|
303
306
|
# want to associate with the configuration set.
|
|
304
307
|
# @return [Array<Types::Tag>]
|
|
305
308
|
#
|
|
309
|
+
# @!attribute [rw] suppression_options
|
|
310
|
+
# An object that contains information about your account's
|
|
311
|
+
# suppression preferences.
|
|
312
|
+
# @return [Types::SuppressionOptions]
|
|
313
|
+
#
|
|
306
314
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/CreateConfigurationSetRequest AWS API Documentation
|
|
307
315
|
#
|
|
308
316
|
class CreateConfigurationSetRequest < Struct.new(
|
|
@@ -311,7 +319,8 @@ module Aws::SESV2
|
|
|
311
319
|
:delivery_options,
|
|
312
320
|
:reputation_options,
|
|
313
321
|
:sending_options,
|
|
314
|
-
:tags
|
|
322
|
+
:tags,
|
|
323
|
+
:suppression_options)
|
|
315
324
|
include Aws::Structure
|
|
316
325
|
end
|
|
317
326
|
|
|
@@ -728,6 +737,33 @@ module Aws::SESV2
|
|
|
728
737
|
#
|
|
729
738
|
class DeleteEmailIdentityResponse < Aws::EmptyStructure; end
|
|
730
739
|
|
|
740
|
+
# A request to delete a suppressed email destination.
|
|
741
|
+
#
|
|
742
|
+
# @note When making an API call, you may pass DeleteSuppressedDestinationRequest
|
|
743
|
+
# data as a hash:
|
|
744
|
+
#
|
|
745
|
+
# {
|
|
746
|
+
# email_address: "EmailAddress", # required
|
|
747
|
+
# }
|
|
748
|
+
#
|
|
749
|
+
# @!attribute [rw] email_address
|
|
750
|
+
# The suppressed email destination to delete.
|
|
751
|
+
# @return [String]
|
|
752
|
+
#
|
|
753
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/DeleteSuppressedDestinationRequest AWS API Documentation
|
|
754
|
+
#
|
|
755
|
+
class DeleteSuppressedDestinationRequest < Struct.new(
|
|
756
|
+
:email_address)
|
|
757
|
+
include Aws::Structure
|
|
758
|
+
end
|
|
759
|
+
|
|
760
|
+
# An HTTP 200 response if the request succeeds, or an error message if
|
|
761
|
+
# the request fails.
|
|
762
|
+
#
|
|
763
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/DeleteSuppressedDestinationResponse AWS API Documentation
|
|
764
|
+
#
|
|
765
|
+
class DeleteSuppressedDestinationResponse < Aws::EmptyStructure; end
|
|
766
|
+
|
|
731
767
|
# An object that contains metadata related to a predictive inbox
|
|
732
768
|
# placement test.
|
|
733
769
|
#
|
|
@@ -1335,17 +1371,6 @@ module Aws::SESV2
|
|
|
1335
1371
|
# A list of details about the email-sending capabilities of your Amazon
|
|
1336
1372
|
# SES account in the current AWS Region.
|
|
1337
1373
|
#
|
|
1338
|
-
# @!attribute [rw] send_quota
|
|
1339
|
-
# An object that contains information about the per-day and per-second
|
|
1340
|
-
# sending limits for your Amazon SES account in the current AWS
|
|
1341
|
-
# Region.
|
|
1342
|
-
# @return [Types::SendQuota]
|
|
1343
|
-
#
|
|
1344
|
-
# @!attribute [rw] sending_enabled
|
|
1345
|
-
# Indicates whether or not email sending is enabled for your Amazon
|
|
1346
|
-
# SES account in the current AWS Region.
|
|
1347
|
-
# @return [Boolean]
|
|
1348
|
-
#
|
|
1349
1374
|
# @!attribute [rw] dedicated_ip_auto_warmup_enabled
|
|
1350
1375
|
# Indicates whether or not the automatic warm-up feature is enabled
|
|
1351
1376
|
# for dedicated IP addresses that are associated with your account.
|
|
@@ -1385,14 +1410,31 @@ module Aws::SESV2
|
|
|
1385
1410
|
# vary based on your specific use case.
|
|
1386
1411
|
# @return [Boolean]
|
|
1387
1412
|
#
|
|
1413
|
+
# @!attribute [rw] send_quota
|
|
1414
|
+
# An object that contains information about the per-day and per-second
|
|
1415
|
+
# sending limits for your Amazon SES account in the current AWS
|
|
1416
|
+
# Region.
|
|
1417
|
+
# @return [Types::SendQuota]
|
|
1418
|
+
#
|
|
1419
|
+
# @!attribute [rw] sending_enabled
|
|
1420
|
+
# Indicates whether or not email sending is enabled for your Amazon
|
|
1421
|
+
# SES account in the current AWS Region.
|
|
1422
|
+
# @return [Boolean]
|
|
1423
|
+
#
|
|
1424
|
+
# @!attribute [rw] suppression_attributes
|
|
1425
|
+
# An object that contains information about your account's
|
|
1426
|
+
# suppression preferences.
|
|
1427
|
+
# @return [Types::SuppressionAttributes]
|
|
1428
|
+
#
|
|
1388
1429
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetAccountResponse AWS API Documentation
|
|
1389
1430
|
#
|
|
1390
1431
|
class GetAccountResponse < Struct.new(
|
|
1391
|
-
:send_quota,
|
|
1392
|
-
:sending_enabled,
|
|
1393
1432
|
:dedicated_ip_auto_warmup_enabled,
|
|
1394
1433
|
:enforcement_status,
|
|
1395
|
-
:production_access_enabled
|
|
1434
|
+
:production_access_enabled,
|
|
1435
|
+
:send_quota,
|
|
1436
|
+
:sending_enabled,
|
|
1437
|
+
:suppression_attributes)
|
|
1396
1438
|
include Aws::Structure
|
|
1397
1439
|
end
|
|
1398
1440
|
|
|
@@ -1521,6 +1563,11 @@ module Aws::SESV2
|
|
|
1521
1563
|
# associated with the configuration set.
|
|
1522
1564
|
# @return [Array<Types::Tag>]
|
|
1523
1565
|
#
|
|
1566
|
+
# @!attribute [rw] suppression_options
|
|
1567
|
+
# An object that contains information about your account's
|
|
1568
|
+
# suppression preferences.
|
|
1569
|
+
# @return [Types::SuppressionOptions]
|
|
1570
|
+
#
|
|
1524
1571
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetConfigurationSetResponse AWS API Documentation
|
|
1525
1572
|
#
|
|
1526
1573
|
class GetConfigurationSetResponse < Struct.new(
|
|
@@ -1529,7 +1576,8 @@ module Aws::SESV2
|
|
|
1529
1576
|
:delivery_options,
|
|
1530
1577
|
:reputation_options,
|
|
1531
1578
|
:sending_options,
|
|
1532
|
-
:tags
|
|
1579
|
+
:tags,
|
|
1580
|
+
:suppression_options)
|
|
1533
1581
|
include Aws::Structure
|
|
1534
1582
|
end
|
|
1535
1583
|
|
|
@@ -1937,6 +1985,40 @@ module Aws::SESV2
|
|
|
1937
1985
|
include Aws::Structure
|
|
1938
1986
|
end
|
|
1939
1987
|
|
|
1988
|
+
# A request to get a suppressed email destination.
|
|
1989
|
+
#
|
|
1990
|
+
# @note When making an API call, you may pass GetSuppressedDestinationRequest
|
|
1991
|
+
# data as a hash:
|
|
1992
|
+
#
|
|
1993
|
+
# {
|
|
1994
|
+
# email_address: "EmailAddress", # required
|
|
1995
|
+
# }
|
|
1996
|
+
#
|
|
1997
|
+
# @!attribute [rw] email_address
|
|
1998
|
+
# Email destination to fetch from the suppression list.
|
|
1999
|
+
# @return [String]
|
|
2000
|
+
#
|
|
2001
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetSuppressedDestinationRequest AWS API Documentation
|
|
2002
|
+
#
|
|
2003
|
+
class GetSuppressedDestinationRequest < Struct.new(
|
|
2004
|
+
:email_address)
|
|
2005
|
+
include Aws::Structure
|
|
2006
|
+
end
|
|
2007
|
+
|
|
2008
|
+
# Information about the suppressed email destination.
|
|
2009
|
+
#
|
|
2010
|
+
# @!attribute [rw] suppressed_destination
|
|
2011
|
+
# An object containing information about the suppressed email
|
|
2012
|
+
# destination.
|
|
2013
|
+
# @return [Types::SuppressedDestination]
|
|
2014
|
+
#
|
|
2015
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetSuppressedDestinationResponse AWS API Documentation
|
|
2016
|
+
#
|
|
2017
|
+
class GetSuppressedDestinationResponse < Struct.new(
|
|
2018
|
+
:suppressed_destination)
|
|
2019
|
+
include Aws::Structure
|
|
2020
|
+
end
|
|
2021
|
+
|
|
1940
2022
|
# Information about an email identity.
|
|
1941
2023
|
#
|
|
1942
2024
|
# @!attribute [rw] identity_type
|
|
@@ -2363,6 +2445,78 @@ module Aws::SESV2
|
|
|
2363
2445
|
include Aws::Structure
|
|
2364
2446
|
end
|
|
2365
2447
|
|
|
2448
|
+
# A request to obtain a list of suppressed email destinations.
|
|
2449
|
+
#
|
|
2450
|
+
# @note When making an API call, you may pass ListSuppressedDestinationsRequest
|
|
2451
|
+
# data as a hash:
|
|
2452
|
+
#
|
|
2453
|
+
# {
|
|
2454
|
+
# reasons: ["BOUNCE"], # accepts BOUNCE, COMPLAINT
|
|
2455
|
+
# start_date: Time.now,
|
|
2456
|
+
# end_date: Time.now,
|
|
2457
|
+
# next_token: "NextToken",
|
|
2458
|
+
# page_size: 1,
|
|
2459
|
+
# }
|
|
2460
|
+
#
|
|
2461
|
+
# @!attribute [rw] reasons
|
|
2462
|
+
# Filters email destinations suppressed by the given reasons.
|
|
2463
|
+
# @return [Array<String>]
|
|
2464
|
+
#
|
|
2465
|
+
# @!attribute [rw] start_date
|
|
2466
|
+
# Filters email destinations suppressed before the given time.
|
|
2467
|
+
# @return [Time]
|
|
2468
|
+
#
|
|
2469
|
+
# @!attribute [rw] end_date
|
|
2470
|
+
# Filters email destinations suppressed after the given time.
|
|
2471
|
+
# @return [Time]
|
|
2472
|
+
#
|
|
2473
|
+
# @!attribute [rw] next_token
|
|
2474
|
+
# A token returned from a previous call to
|
|
2475
|
+
# `ListSuppressedDestinations` to indicate the position in the list of
|
|
2476
|
+
# suppressed email destinations.
|
|
2477
|
+
# @return [String]
|
|
2478
|
+
#
|
|
2479
|
+
# @!attribute [rw] page_size
|
|
2480
|
+
# The number of results to show in a single call to
|
|
2481
|
+
# `ListSuppressedDestinations`. If the number of results is larger
|
|
2482
|
+
# than the number you specified in this parameter, then the response
|
|
2483
|
+
# includes a `NextToken` element, which you can use to obtain
|
|
2484
|
+
# additional results.
|
|
2485
|
+
# @return [Integer]
|
|
2486
|
+
#
|
|
2487
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ListSuppressedDestinationsRequest AWS API Documentation
|
|
2488
|
+
#
|
|
2489
|
+
class ListSuppressedDestinationsRequest < Struct.new(
|
|
2490
|
+
:reasons,
|
|
2491
|
+
:start_date,
|
|
2492
|
+
:end_date,
|
|
2493
|
+
:next_token,
|
|
2494
|
+
:page_size)
|
|
2495
|
+
include Aws::Structure
|
|
2496
|
+
end
|
|
2497
|
+
|
|
2498
|
+
# A list of suppressed email destinations.
|
|
2499
|
+
#
|
|
2500
|
+
# @!attribute [rw] suppressed_destination_summaries
|
|
2501
|
+
# A list of summaries, each containing a summary for a suppressed
|
|
2502
|
+
# email destination.
|
|
2503
|
+
# @return [Array<Types::SuppressedDestinationSummary>]
|
|
2504
|
+
#
|
|
2505
|
+
# @!attribute [rw] next_token
|
|
2506
|
+
# A token that indicates that there are additional suppressed
|
|
2507
|
+
# destinations to list. To view additional suppressed destinations,
|
|
2508
|
+
# issue another request to `ListSuppressedDestinations`, and pass this
|
|
2509
|
+
# token in the `NextToken` parameter.
|
|
2510
|
+
# @return [String]
|
|
2511
|
+
#
|
|
2512
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ListSuppressedDestinationsResponse AWS API Documentation
|
|
2513
|
+
#
|
|
2514
|
+
class ListSuppressedDestinationsResponse < Struct.new(
|
|
2515
|
+
:suppressed_destination_summaries,
|
|
2516
|
+
:next_token)
|
|
2517
|
+
include Aws::Structure
|
|
2518
|
+
end
|
|
2519
|
+
|
|
2366
2520
|
# @note When making an API call, you may pass ListTagsForResourceRequest
|
|
2367
2521
|
# data as a hash:
|
|
2368
2522
|
#
|
|
@@ -2687,6 +2841,40 @@ module Aws::SESV2
|
|
|
2687
2841
|
#
|
|
2688
2842
|
class PutAccountSendingAttributesResponse < Aws::EmptyStructure; end
|
|
2689
2843
|
|
|
2844
|
+
# A request to change your account's suppression preferences.
|
|
2845
|
+
#
|
|
2846
|
+
# @note When making an API call, you may pass PutAccountSuppressionAttributesRequest
|
|
2847
|
+
# data as a hash:
|
|
2848
|
+
#
|
|
2849
|
+
# {
|
|
2850
|
+
# suppressed_reasons: ["BOUNCE"], # accepts BOUNCE, COMPLAINT
|
|
2851
|
+
# }
|
|
2852
|
+
#
|
|
2853
|
+
# @!attribute [rw] suppressed_reasons
|
|
2854
|
+
# A list of reasons to suppress email addresses. The only valid
|
|
2855
|
+
# reasons are:
|
|
2856
|
+
#
|
|
2857
|
+
# * `COMPLAINT` – Amazon SES will suppress an email address that
|
|
2858
|
+
# receives a complaint.
|
|
2859
|
+
#
|
|
2860
|
+
# * `BOUNCE` – Amazon SES will suppress an email address that hard
|
|
2861
|
+
# bounces.
|
|
2862
|
+
# @return [Array<String>]
|
|
2863
|
+
#
|
|
2864
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutAccountSuppressionAttributesRequest AWS API Documentation
|
|
2865
|
+
#
|
|
2866
|
+
class PutAccountSuppressionAttributesRequest < Struct.new(
|
|
2867
|
+
:suppressed_reasons)
|
|
2868
|
+
include Aws::Structure
|
|
2869
|
+
end
|
|
2870
|
+
|
|
2871
|
+
# An HTTP 200 response if the request succeeds, or an error message if
|
|
2872
|
+
# the request fails.
|
|
2873
|
+
#
|
|
2874
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutAccountSuppressionAttributesResponse AWS API Documentation
|
|
2875
|
+
#
|
|
2876
|
+
class PutAccountSuppressionAttributesResponse < Aws::EmptyStructure; end
|
|
2877
|
+
|
|
2690
2878
|
# A request to associate a configuration set with a dedicated IP pool.
|
|
2691
2879
|
#
|
|
2692
2880
|
# @note When making an API call, you may pass PutConfigurationSetDeliveryOptionsRequest
|
|
@@ -2805,6 +2993,48 @@ module Aws::SESV2
|
|
|
2805
2993
|
#
|
|
2806
2994
|
class PutConfigurationSetSendingOptionsResponse < Aws::EmptyStructure; end
|
|
2807
2995
|
|
|
2996
|
+
# A request to change your account's suppression preferences for an
|
|
2997
|
+
# specific configuration set.
|
|
2998
|
+
#
|
|
2999
|
+
# @note When making an API call, you may pass PutConfigurationSetSuppressionOptionsRequest
|
|
3000
|
+
# data as a hash:
|
|
3001
|
+
#
|
|
3002
|
+
# {
|
|
3003
|
+
# configuration_set_name: "ConfigurationSetName", # required
|
|
3004
|
+
# suppressed_reasons: ["BOUNCE"], # accepts BOUNCE, COMPLAINT
|
|
3005
|
+
# }
|
|
3006
|
+
#
|
|
3007
|
+
# @!attribute [rw] configuration_set_name
|
|
3008
|
+
# The name of the configuration set that you want to enable or disable
|
|
3009
|
+
# email sending for.
|
|
3010
|
+
# @return [String]
|
|
3011
|
+
#
|
|
3012
|
+
# @!attribute [rw] suppressed_reasons
|
|
3013
|
+
# A list of reasons to suppress email addresses. The only valid
|
|
3014
|
+
# reasons are:
|
|
3015
|
+
#
|
|
3016
|
+
# * `COMPLAINT` – Amazon SES will suppress an email address that
|
|
3017
|
+
# receives a complaint.
|
|
3018
|
+
#
|
|
3019
|
+
# * `BOUNCE` – Amazon SES will suppress an email address that hard
|
|
3020
|
+
# bounces.
|
|
3021
|
+
# @return [Array<String>]
|
|
3022
|
+
#
|
|
3023
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutConfigurationSetSuppressionOptionsRequest AWS API Documentation
|
|
3024
|
+
#
|
|
3025
|
+
class PutConfigurationSetSuppressionOptionsRequest < Struct.new(
|
|
3026
|
+
:configuration_set_name,
|
|
3027
|
+
:suppressed_reasons)
|
|
3028
|
+
include Aws::Structure
|
|
3029
|
+
end
|
|
3030
|
+
|
|
3031
|
+
# An HTTP 200 response if the request succeeds, or an error message if
|
|
3032
|
+
# the request fails.
|
|
3033
|
+
#
|
|
3034
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutConfigurationSetSuppressionOptionsResponse AWS API Documentation
|
|
3035
|
+
#
|
|
3036
|
+
class PutConfigurationSetSuppressionOptionsResponse < Aws::EmptyStructure; end
|
|
3037
|
+
|
|
2808
3038
|
# A request to add a custom domain for tracking open and click events to
|
|
2809
3039
|
# a configuration set.
|
|
2810
3040
|
#
|
|
@@ -3113,6 +3343,39 @@ module Aws::SESV2
|
|
|
3113
3343
|
#
|
|
3114
3344
|
class PutEmailIdentityMailFromAttributesResponse < Aws::EmptyStructure; end
|
|
3115
3345
|
|
|
3346
|
+
# A request to suppress an email destination.
|
|
3347
|
+
#
|
|
3348
|
+
# @note When making an API call, you may pass PutSuppressedDestinationRequest
|
|
3349
|
+
# data as a hash:
|
|
3350
|
+
#
|
|
3351
|
+
# {
|
|
3352
|
+
# email_address: "EmailAddress", # required
|
|
3353
|
+
# reason: "BOUNCE", # required, accepts BOUNCE, COMPLAINT
|
|
3354
|
+
# }
|
|
3355
|
+
#
|
|
3356
|
+
# @!attribute [rw] email_address
|
|
3357
|
+
# Email destination to be suppressed.
|
|
3358
|
+
# @return [String]
|
|
3359
|
+
#
|
|
3360
|
+
# @!attribute [rw] reason
|
|
3361
|
+
# Reason for which the email destination is suppressed.
|
|
3362
|
+
# @return [String]
|
|
3363
|
+
#
|
|
3364
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutSuppressedDestinationRequest AWS API Documentation
|
|
3365
|
+
#
|
|
3366
|
+
class PutSuppressedDestinationRequest < Struct.new(
|
|
3367
|
+
:email_address,
|
|
3368
|
+
:reason)
|
|
3369
|
+
include Aws::Structure
|
|
3370
|
+
end
|
|
3371
|
+
|
|
3372
|
+
# An HTTP 200 response if the request succeeds, or an error message if
|
|
3373
|
+
# the request fails.
|
|
3374
|
+
#
|
|
3375
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutSuppressedDestinationResponse AWS API Documentation
|
|
3376
|
+
#
|
|
3377
|
+
class PutSuppressedDestinationResponse < Aws::EmptyStructure; end
|
|
3378
|
+
|
|
3116
3379
|
# The raw email message.
|
|
3117
3380
|
#
|
|
3118
3381
|
# @note When making an API call, you may pass RawMessage
|
|
@@ -3389,6 +3652,128 @@ module Aws::SESV2
|
|
|
3389
3652
|
include Aws::Structure
|
|
3390
3653
|
end
|
|
3391
3654
|
|
|
3655
|
+
# An object containing information about the suppressed email
|
|
3656
|
+
# destination.
|
|
3657
|
+
#
|
|
3658
|
+
# @!attribute [rw] email_address
|
|
3659
|
+
# The suppressed email destination.
|
|
3660
|
+
# @return [String]
|
|
3661
|
+
#
|
|
3662
|
+
# @!attribute [rw] reason
|
|
3663
|
+
# The reason for which the email destination is suppressed.
|
|
3664
|
+
# @return [String]
|
|
3665
|
+
#
|
|
3666
|
+
# @!attribute [rw] last_update_time
|
|
3667
|
+
# The last time the suppressed destination was updated.
|
|
3668
|
+
# @return [Time]
|
|
3669
|
+
#
|
|
3670
|
+
# @!attribute [rw] attributes
|
|
3671
|
+
# `Optional` value with information about the sources of the
|
|
3672
|
+
# suppression.
|
|
3673
|
+
# @return [Types::SuppressedDestinationAttributes]
|
|
3674
|
+
#
|
|
3675
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/SuppressedDestination AWS API Documentation
|
|
3676
|
+
#
|
|
3677
|
+
class SuppressedDestination < Struct.new(
|
|
3678
|
+
:email_address,
|
|
3679
|
+
:reason,
|
|
3680
|
+
:last_update_time,
|
|
3681
|
+
:attributes)
|
|
3682
|
+
include Aws::Structure
|
|
3683
|
+
end
|
|
3684
|
+
|
|
3685
|
+
# An object containing additional attributes related to a suppressed
|
|
3686
|
+
# destination.
|
|
3687
|
+
#
|
|
3688
|
+
# @!attribute [rw] message_id
|
|
3689
|
+
# A unique identifier of the message that caused the suppression of
|
|
3690
|
+
# the email destination.
|
|
3691
|
+
# @return [String]
|
|
3692
|
+
#
|
|
3693
|
+
# @!attribute [rw] feedback_id
|
|
3694
|
+
# A unique identifier of the suppression cause.
|
|
3695
|
+
# @return [String]
|
|
3696
|
+
#
|
|
3697
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/SuppressedDestinationAttributes AWS API Documentation
|
|
3698
|
+
#
|
|
3699
|
+
class SuppressedDestinationAttributes < Struct.new(
|
|
3700
|
+
:message_id,
|
|
3701
|
+
:feedback_id)
|
|
3702
|
+
include Aws::Structure
|
|
3703
|
+
end
|
|
3704
|
+
|
|
3705
|
+
# A summary for the suppressed email destination.
|
|
3706
|
+
#
|
|
3707
|
+
# @!attribute [rw] email_address
|
|
3708
|
+
# The suppressed email destination.
|
|
3709
|
+
# @return [String]
|
|
3710
|
+
#
|
|
3711
|
+
# @!attribute [rw] reason
|
|
3712
|
+
# The reason for which the email destination is suppressed.
|
|
3713
|
+
# @return [String]
|
|
3714
|
+
#
|
|
3715
|
+
# @!attribute [rw] last_update_time
|
|
3716
|
+
# The last time the suppressed destination was updated.
|
|
3717
|
+
# @return [Time]
|
|
3718
|
+
#
|
|
3719
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/SuppressedDestinationSummary AWS API Documentation
|
|
3720
|
+
#
|
|
3721
|
+
class SuppressedDestinationSummary < Struct.new(
|
|
3722
|
+
:email_address,
|
|
3723
|
+
:reason,
|
|
3724
|
+
:last_update_time)
|
|
3725
|
+
include Aws::Structure
|
|
3726
|
+
end
|
|
3727
|
+
|
|
3728
|
+
# An object that contains information about your account's suppression
|
|
3729
|
+
# preferences.
|
|
3730
|
+
#
|
|
3731
|
+
# @!attribute [rw] suppressed_reasons
|
|
3732
|
+
# A list of reasons to suppress email addresses. The only valid
|
|
3733
|
+
# reasons are:
|
|
3734
|
+
#
|
|
3735
|
+
# * `COMPLAINT` – Amazon SES will suppress an email address that
|
|
3736
|
+
# receives a complaint.
|
|
3737
|
+
#
|
|
3738
|
+
# * `BOUNCE` – Amazon SES will suppress an email address that hard
|
|
3739
|
+
# bounces.
|
|
3740
|
+
# @return [Array<String>]
|
|
3741
|
+
#
|
|
3742
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/SuppressionAttributes AWS API Documentation
|
|
3743
|
+
#
|
|
3744
|
+
class SuppressionAttributes < Struct.new(
|
|
3745
|
+
:suppressed_reasons)
|
|
3746
|
+
include Aws::Structure
|
|
3747
|
+
end
|
|
3748
|
+
|
|
3749
|
+
# An object that contains information about your account's suppression
|
|
3750
|
+
# preferences.
|
|
3751
|
+
#
|
|
3752
|
+
# @note When making an API call, you may pass SuppressionOptions
|
|
3753
|
+
# data as a hash:
|
|
3754
|
+
#
|
|
3755
|
+
# {
|
|
3756
|
+
# suppressed_reasons: ["BOUNCE"], # accepts BOUNCE, COMPLAINT
|
|
3757
|
+
# }
|
|
3758
|
+
#
|
|
3759
|
+
# @!attribute [rw] suppressed_reasons
|
|
3760
|
+
# A list of reasons to suppress email addresses. The only valid
|
|
3761
|
+
# reasons are:
|
|
3762
|
+
#
|
|
3763
|
+
# * `COMPLAINT` – Amazon SES will suppress an email address that
|
|
3764
|
+
# receives a complaint.
|
|
3765
|
+
#
|
|
3766
|
+
# * `BOUNCE` – Amazon SES will suppress an email address that hard
|
|
3767
|
+
# bounces.
|
|
3768
|
+
# @return [Array<String>]
|
|
3769
|
+
#
|
|
3770
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/SuppressionOptions AWS API Documentation
|
|
3771
|
+
#
|
|
3772
|
+
class SuppressionOptions < Struct.new(
|
|
3773
|
+
:suppressed_reasons)
|
|
3774
|
+
include Aws::Structure
|
|
3775
|
+
end
|
|
3776
|
+
|
|
3392
3777
|
# An object that defines the tags that are associated with a resource.
|
|
3393
3778
|
# A *tag* is a label that you optionally define and associate with a
|
|
3394
3779
|
# resource. Tags can help you categorize and manage resources in
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-sesv2
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-11-
|
|
11
|
+
date: 2019-11-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|