aws-sdk-ses 1.3.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-ses.rb +1 -1
- data/lib/aws-sdk-ses/client.rb +166 -3
- data/lib/aws-sdk-ses/client_api.rb +70 -0
- data/lib/aws-sdk-ses/types.rb +154 -2
- 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: 60aecc0b7740d988c311deee653af093b50a6872
|
4
|
+
data.tar.gz: 74cdfdf292e9ac05ff753049fd171073102ac5c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b4ff87d16ac039e7919c91f07ef8031233d0baaafd189f5cbf415b6952bcd0af0ee8635057322265ec9aeacf249809bef771ffd8e18c6842af85bddd5a393a3
|
7
|
+
data.tar.gz: 2bc1ffe507cad513f0f70ebfc4e855ac7a4eee65206c416a5541ebfcc1bc547d9731f2222dbd243f60c6a3e7cc71c67d84dba901d44d926b14586088bbb209c7
|
data/lib/aws-sdk-ses.rb
CHANGED
data/lib/aws-sdk-ses/client.rb
CHANGED
@@ -1100,12 +1100,13 @@ module Aws::SES
|
|
1100
1100
|
# * {Types::DescribeConfigurationSetResponse#configuration_set #configuration_set} => Types::ConfigurationSet
|
1101
1101
|
# * {Types::DescribeConfigurationSetResponse#event_destinations #event_destinations} => Array<Types::EventDestination>
|
1102
1102
|
# * {Types::DescribeConfigurationSetResponse#tracking_options #tracking_options} => Types::TrackingOptions
|
1103
|
+
# * {Types::DescribeConfigurationSetResponse#reputation_options #reputation_options} => Types::ReputationOptions
|
1103
1104
|
#
|
1104
1105
|
# @example Request syntax with placeholder values
|
1105
1106
|
#
|
1106
1107
|
# resp = client.describe_configuration_set({
|
1107
1108
|
# configuration_set_name: "ConfigurationSetName", # required
|
1108
|
-
# configuration_set_attribute_names: ["eventDestinations"], # accepts eventDestinations, trackingOptions
|
1109
|
+
# configuration_set_attribute_names: ["eventDestinations"], # accepts eventDestinations, trackingOptions, reputationOptions
|
1109
1110
|
# })
|
1110
1111
|
#
|
1111
1112
|
# @example Response structure
|
@@ -1124,6 +1125,9 @@ module Aws::SES
|
|
1124
1125
|
# resp.event_destinations[0].cloud_watch_destination.dimension_configurations[0].default_dimension_value #=> String
|
1125
1126
|
# resp.event_destinations[0].sns_destination.topic_arn #=> String
|
1126
1127
|
# resp.tracking_options.custom_redirect_domain #=> String
|
1128
|
+
# resp.reputation_options.sending_enabled #=> Boolean
|
1129
|
+
# resp.reputation_options.reputation_metrics_enabled #=> Boolean
|
1130
|
+
# resp.reputation_options.last_fresh_start #=> Time
|
1127
1131
|
#
|
1128
1132
|
# @see http://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DescribeConfigurationSet AWS API Documentation
|
1129
1133
|
#
|
@@ -1329,6 +1333,40 @@ module Aws::SES
|
|
1329
1333
|
req.send_request(options)
|
1330
1334
|
end
|
1331
1335
|
|
1336
|
+
# Returns the email sending status of the Amazon SES account.
|
1337
|
+
#
|
1338
|
+
# You can execute this operation no more than once per second.
|
1339
|
+
#
|
1340
|
+
# @return [Types::GetAccountSendingEnabledResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1341
|
+
#
|
1342
|
+
# * {Types::GetAccountSendingEnabledResponse#enabled #enabled} => Boolean
|
1343
|
+
#
|
1344
|
+
#
|
1345
|
+
# @example Example: GetAccountSendingEnabled
|
1346
|
+
#
|
1347
|
+
# # The following example returns if sending status for an account is enabled. (true / false):
|
1348
|
+
#
|
1349
|
+
# resp = client.get_account_sending_enabled({
|
1350
|
+
# })
|
1351
|
+
#
|
1352
|
+
# resp.to_h outputs the following:
|
1353
|
+
# {
|
1354
|
+
# enabled: true,
|
1355
|
+
# }
|
1356
|
+
#
|
1357
|
+
# @example Response structure
|
1358
|
+
#
|
1359
|
+
# resp.enabled #=> Boolean
|
1360
|
+
#
|
1361
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetAccountSendingEnabled AWS API Documentation
|
1362
|
+
#
|
1363
|
+
# @overload get_account_sending_enabled(params = {})
|
1364
|
+
# @param [Hash] params ({})
|
1365
|
+
def get_account_sending_enabled(params = {}, options = {})
|
1366
|
+
req = build_request(:get_account_sending_enabled, params)
|
1367
|
+
req.send_request(options)
|
1368
|
+
end
|
1369
|
+
|
1332
1370
|
# Returns the current status of Easy DKIM signing for an entity. For
|
1333
1371
|
# domain name identities, this operation also returns the DKIM tokens
|
1334
1372
|
# that are required for Easy DKIM signing, and whether Amazon SES has
|
@@ -2635,7 +2673,7 @@ module Aws::SES
|
|
2635
2673
|
# @example Response structure
|
2636
2674
|
#
|
2637
2675
|
# resp.status #=> Array
|
2638
|
-
# resp.status[0].status #=> String, one of "Success", "MessageRejected", "MailFromDomainNotVerified", "ConfigurationSetDoesNotExist", "TemplateDoesNotExist", "AccountSuspended", "AccountThrottled", "AccountDailyQuotaExceeded", "InvalidSendingPoolName", "InvalidParameterValue", "TransientFailure", "Failed"
|
2676
|
+
# resp.status[0].status #=> String, one of "Success", "MessageRejected", "MailFromDomainNotVerified", "ConfigurationSetDoesNotExist", "TemplateDoesNotExist", "AccountSuspended", "AccountThrottled", "AccountDailyQuotaExceeded", "InvalidSendingPoolName", "AccountSendingPaused", "ConfigurationSetSendingPaused", "InvalidParameterValue", "TransientFailure", "Failed"
|
2639
2677
|
# resp.status[0].error #=> String
|
2640
2678
|
# resp.status[0].message_id #=> String
|
2641
2679
|
#
|
@@ -3804,6 +3842,44 @@ module Aws::SES
|
|
3804
3842
|
req.send_request(options)
|
3805
3843
|
end
|
3806
3844
|
|
3845
|
+
# Enables or disables email sending across your entire Amazon SES
|
3846
|
+
# account. You can use this operation in conjunction with Amazon
|
3847
|
+
# CloudWatch alarms to temporarily pause email sending across your
|
3848
|
+
# Amazon SES account when reputation metrics (such as your bounce on
|
3849
|
+
# complaint rate) reach certain thresholds.
|
3850
|
+
#
|
3851
|
+
# You can execute this operation no more than once per second.
|
3852
|
+
#
|
3853
|
+
# @option params [Boolean] :enabled
|
3854
|
+
# Describes whether email sending is enabled or disabled for your Amazon
|
3855
|
+
# SES account.
|
3856
|
+
#
|
3857
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3858
|
+
#
|
3859
|
+
#
|
3860
|
+
# @example Example: UpdateAccountSendingEnabled
|
3861
|
+
#
|
3862
|
+
# # The following example updated the sending status for this account.
|
3863
|
+
#
|
3864
|
+
# resp = client.update_account_sending_enabled({
|
3865
|
+
# enabled: true,
|
3866
|
+
# })
|
3867
|
+
#
|
3868
|
+
# @example Request syntax with placeholder values
|
3869
|
+
#
|
3870
|
+
# resp = client.update_account_sending_enabled({
|
3871
|
+
# enabled: false,
|
3872
|
+
# })
|
3873
|
+
#
|
3874
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateAccountSendingEnabled AWS API Documentation
|
3875
|
+
#
|
3876
|
+
# @overload update_account_sending_enabled(params = {})
|
3877
|
+
# @param [Hash] params ({})
|
3878
|
+
def update_account_sending_enabled(params = {}, options = {})
|
3879
|
+
req = build_request(:update_account_sending_enabled, params)
|
3880
|
+
req.send_request(options)
|
3881
|
+
end
|
3882
|
+
|
3807
3883
|
# Updates the event destination of a configuration set. Event
|
3808
3884
|
# destinations are associated with configuration sets, which enable you
|
3809
3885
|
# to publish email sending events to Amazon CloudWatch, Amazon Kinesis
|
@@ -3870,6 +3946,93 @@ module Aws::SES
|
|
3870
3946
|
req.send_request(options)
|
3871
3947
|
end
|
3872
3948
|
|
3949
|
+
# Enables or disables the publishing of reputation metrics for emails
|
3950
|
+
# sent using a specific configuration set. Reputation metrics include
|
3951
|
+
# bounce and complaint rates. These metrics are published to Amazon
|
3952
|
+
# CloudWatch. By using Amazon CloudWatch, you can create alarms when
|
3953
|
+
# bounce or complaint rates exceed a certain threshold.
|
3954
|
+
#
|
3955
|
+
# You can execute this operation no more than once per second.
|
3956
|
+
#
|
3957
|
+
# @option params [required, String] :configuration_set_name
|
3958
|
+
# The name of the configuration set that you want to update.
|
3959
|
+
#
|
3960
|
+
# @option params [required, Boolean] :enabled
|
3961
|
+
# Describes whether or not Amazon SES will publish reputation metrics
|
3962
|
+
# for the configuration set, such as bounce and complaint rates, to
|
3963
|
+
# Amazon CloudWatch.
|
3964
|
+
#
|
3965
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3966
|
+
#
|
3967
|
+
#
|
3968
|
+
# @example Example: UpdateConfigurationSetReputationMetricsEnabled
|
3969
|
+
#
|
3970
|
+
# # Set the reputationMetricsEnabled flag for a specific configuration set.
|
3971
|
+
#
|
3972
|
+
# resp = client.update_configuration_set_reputation_metrics_enabled({
|
3973
|
+
# configuration_set_name: "foo",
|
3974
|
+
# enabled: true,
|
3975
|
+
# })
|
3976
|
+
#
|
3977
|
+
# @example Request syntax with placeholder values
|
3978
|
+
#
|
3979
|
+
# resp = client.update_configuration_set_reputation_metrics_enabled({
|
3980
|
+
# configuration_set_name: "ConfigurationSetName", # required
|
3981
|
+
# enabled: false, # required
|
3982
|
+
# })
|
3983
|
+
#
|
3984
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateConfigurationSetReputationMetricsEnabled AWS API Documentation
|
3985
|
+
#
|
3986
|
+
# @overload update_configuration_set_reputation_metrics_enabled(params = {})
|
3987
|
+
# @param [Hash] params ({})
|
3988
|
+
def update_configuration_set_reputation_metrics_enabled(params = {}, options = {})
|
3989
|
+
req = build_request(:update_configuration_set_reputation_metrics_enabled, params)
|
3990
|
+
req.send_request(options)
|
3991
|
+
end
|
3992
|
+
|
3993
|
+
# Enables or disables email sending for messages sent using a specific
|
3994
|
+
# configuration set. You can use this operation in conjunction with
|
3995
|
+
# Amazon CloudWatch alarms to temporarily pause email sending for a
|
3996
|
+
# configuration set when the reputation metrics for that configuration
|
3997
|
+
# set (such as your bounce on complaint rate) reach certain thresholds.
|
3998
|
+
#
|
3999
|
+
# You can execute this operation no more than once per second.
|
4000
|
+
#
|
4001
|
+
# @option params [required, String] :configuration_set_name
|
4002
|
+
# The name of the configuration set that you want to update.
|
4003
|
+
#
|
4004
|
+
# @option params [required, Boolean] :enabled
|
4005
|
+
# Describes whether email sending is enabled or disabled for the
|
4006
|
+
# configuration set.
|
4007
|
+
#
|
4008
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4009
|
+
#
|
4010
|
+
#
|
4011
|
+
# @example Example: UpdateConfigurationSetReputationMetricsEnabled
|
4012
|
+
#
|
4013
|
+
# # Set the sending enabled flag for a specific configuration set.
|
4014
|
+
#
|
4015
|
+
# resp = client.update_configuration_set_sending_enabled({
|
4016
|
+
# configuration_set_name: "foo",
|
4017
|
+
# enabled: true,
|
4018
|
+
# })
|
4019
|
+
#
|
4020
|
+
# @example Request syntax with placeholder values
|
4021
|
+
#
|
4022
|
+
# resp = client.update_configuration_set_sending_enabled({
|
4023
|
+
# configuration_set_name: "ConfigurationSetName", # required
|
4024
|
+
# enabled: false, # required
|
4025
|
+
# })
|
4026
|
+
#
|
4027
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateConfigurationSetSendingEnabled AWS API Documentation
|
4028
|
+
#
|
4029
|
+
# @overload update_configuration_set_sending_enabled(params = {})
|
4030
|
+
# @param [Hash] params ({})
|
4031
|
+
def update_configuration_set_sending_enabled(params = {}, options = {})
|
4032
|
+
req = build_request(:update_configuration_set_sending_enabled, params)
|
4033
|
+
req.send_request(options)
|
4034
|
+
end
|
4035
|
+
|
3873
4036
|
# Modifies an association between a configuration set and a custom
|
3874
4037
|
# domain for open and click event tracking.
|
3875
4038
|
#
|
@@ -4256,7 +4419,7 @@ module Aws::SES
|
|
4256
4419
|
params: params,
|
4257
4420
|
config: config)
|
4258
4421
|
context[:gem_name] = 'aws-sdk-ses'
|
4259
|
-
context[:gem_version] = '1.
|
4422
|
+
context[:gem_version] = '1.4.0'
|
4260
4423
|
Seahorse::Client::Request.new(handlers, context)
|
4261
4424
|
end
|
4262
4425
|
|
@@ -11,6 +11,7 @@ module Aws::SES
|
|
11
11
|
|
12
12
|
include Seahorse::Model
|
13
13
|
|
14
|
+
AccountSendingPausedException = Shapes::StructureShape.new(name: 'AccountSendingPausedException')
|
14
15
|
AddHeaderAction = Shapes::StructureShape.new(name: 'AddHeaderAction')
|
15
16
|
Address = Shapes::StringShape.new(name: 'Address')
|
16
17
|
AddressList = Shapes::ListShape.new(name: 'AddressList')
|
@@ -45,6 +46,7 @@ module Aws::SES
|
|
45
46
|
ConfigurationSetAttributeList = Shapes::ListShape.new(name: 'ConfigurationSetAttributeList')
|
46
47
|
ConfigurationSetDoesNotExistException = Shapes::StructureShape.new(name: 'ConfigurationSetDoesNotExistException')
|
47
48
|
ConfigurationSetName = Shapes::StringShape.new(name: 'ConfigurationSetName')
|
49
|
+
ConfigurationSetSendingPausedException = Shapes::StructureShape.new(name: 'ConfigurationSetSendingPausedException')
|
48
50
|
ConfigurationSets = Shapes::ListShape.new(name: 'ConfigurationSets')
|
49
51
|
Content = Shapes::StructureShape.new(name: 'Content')
|
50
52
|
Counter = Shapes::IntegerShape.new(name: 'Counter')
|
@@ -114,6 +116,7 @@ module Aws::SES
|
|
114
116
|
ExtensionFieldList = Shapes::ListShape.new(name: 'ExtensionFieldList')
|
115
117
|
ExtensionFieldName = Shapes::StringShape.new(name: 'ExtensionFieldName')
|
116
118
|
ExtensionFieldValue = Shapes::StringShape.new(name: 'ExtensionFieldValue')
|
119
|
+
GetAccountSendingEnabledResponse = Shapes::StructureShape.new(name: 'GetAccountSendingEnabledResponse')
|
117
120
|
GetIdentityDkimAttributesRequest = Shapes::StructureShape.new(name: 'GetIdentityDkimAttributesRequest')
|
118
121
|
GetIdentityDkimAttributesResponse = Shapes::StructureShape.new(name: 'GetIdentityDkimAttributesResponse')
|
119
122
|
GetIdentityMailFromDomainAttributesRequest = Shapes::StructureShape.new(name: 'GetIdentityMailFromDomainAttributesRequest')
|
@@ -153,6 +156,7 @@ module Aws::SES
|
|
153
156
|
KinesisFirehoseDestination = Shapes::StructureShape.new(name: 'KinesisFirehoseDestination')
|
154
157
|
LambdaAction = Shapes::StructureShape.new(name: 'LambdaAction')
|
155
158
|
LastAttemptDate = Shapes::TimestampShape.new(name: 'LastAttemptDate')
|
159
|
+
LastFreshStart = Shapes::TimestampShape.new(name: 'LastFreshStart')
|
156
160
|
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
|
157
161
|
ListConfigurationSetsRequest = Shapes::StructureShape.new(name: 'ListConfigurationSetsRequest')
|
158
162
|
ListConfigurationSetsResponse = Shapes::StructureShape.new(name: 'ListConfigurationSetsResponse')
|
@@ -217,6 +221,7 @@ module Aws::SES
|
|
217
221
|
ReorderReceiptRuleSetRequest = Shapes::StructureShape.new(name: 'ReorderReceiptRuleSetRequest')
|
218
222
|
ReorderReceiptRuleSetResponse = Shapes::StructureShape.new(name: 'ReorderReceiptRuleSetResponse')
|
219
223
|
ReportingMta = Shapes::StringShape.new(name: 'ReportingMta')
|
224
|
+
ReputationOptions = Shapes::StructureShape.new(name: 'ReputationOptions')
|
220
225
|
RuleDoesNotExistException = Shapes::StructureShape.new(name: 'RuleDoesNotExistException')
|
221
226
|
RuleOrRuleSetName = Shapes::StringShape.new(name: 'RuleOrRuleSetName')
|
222
227
|
RuleSetDoesNotExistException = Shapes::StructureShape.new(name: 'RuleSetDoesNotExistException')
|
@@ -270,8 +275,11 @@ module Aws::SES
|
|
270
275
|
TrackingOptions = Shapes::StructureShape.new(name: 'TrackingOptions')
|
271
276
|
TrackingOptionsAlreadyExistsException = Shapes::StructureShape.new(name: 'TrackingOptionsAlreadyExistsException')
|
272
277
|
TrackingOptionsDoesNotExistException = Shapes::StructureShape.new(name: 'TrackingOptionsDoesNotExistException')
|
278
|
+
UpdateAccountSendingEnabledRequest = Shapes::StructureShape.new(name: 'UpdateAccountSendingEnabledRequest')
|
273
279
|
UpdateConfigurationSetEventDestinationRequest = Shapes::StructureShape.new(name: 'UpdateConfigurationSetEventDestinationRequest')
|
274
280
|
UpdateConfigurationSetEventDestinationResponse = Shapes::StructureShape.new(name: 'UpdateConfigurationSetEventDestinationResponse')
|
281
|
+
UpdateConfigurationSetReputationMetricsEnabledRequest = Shapes::StructureShape.new(name: 'UpdateConfigurationSetReputationMetricsEnabledRequest')
|
282
|
+
UpdateConfigurationSetSendingEnabledRequest = Shapes::StructureShape.new(name: 'UpdateConfigurationSetSendingEnabledRequest')
|
275
283
|
UpdateConfigurationSetTrackingOptionsRequest = Shapes::StructureShape.new(name: 'UpdateConfigurationSetTrackingOptionsRequest')
|
276
284
|
UpdateConfigurationSetTrackingOptionsResponse = Shapes::StructureShape.new(name: 'UpdateConfigurationSetTrackingOptionsResponse')
|
277
285
|
UpdateReceiptRuleRequest = Shapes::StructureShape.new(name: 'UpdateReceiptRuleRequest')
|
@@ -460,6 +468,7 @@ module Aws::SES
|
|
460
468
|
DescribeConfigurationSetResponse.add_member(:configuration_set, Shapes::ShapeRef.new(shape: ConfigurationSet, location_name: "ConfigurationSet"))
|
461
469
|
DescribeConfigurationSetResponse.add_member(:event_destinations, Shapes::ShapeRef.new(shape: EventDestinations, location_name: "EventDestinations"))
|
462
470
|
DescribeConfigurationSetResponse.add_member(:tracking_options, Shapes::ShapeRef.new(shape: TrackingOptions, location_name: "TrackingOptions"))
|
471
|
+
DescribeConfigurationSetResponse.add_member(:reputation_options, Shapes::ShapeRef.new(shape: ReputationOptions, location_name: "ReputationOptions"))
|
463
472
|
DescribeConfigurationSetResponse.struct_class = Types::DescribeConfigurationSetResponse
|
464
473
|
|
465
474
|
DescribeReceiptRuleRequest.add_member(:rule_set_name, Shapes::ShapeRef.new(shape: ReceiptRuleSetName, required: true, location_name: "RuleSetName"))
|
@@ -502,6 +511,9 @@ module Aws::SES
|
|
502
511
|
|
503
512
|
ExtensionFieldList.member = Shapes::ShapeRef.new(shape: ExtensionField)
|
504
513
|
|
514
|
+
GetAccountSendingEnabledResponse.add_member(:enabled, Shapes::ShapeRef.new(shape: Enabled, location_name: "Enabled"))
|
515
|
+
GetAccountSendingEnabledResponse.struct_class = Types::GetAccountSendingEnabledResponse
|
516
|
+
|
505
517
|
GetIdentityDkimAttributesRequest.add_member(:identities, Shapes::ShapeRef.new(shape: IdentityList, required: true, location_name: "Identities"))
|
506
518
|
GetIdentityDkimAttributesRequest.struct_class = Types::GetIdentityDkimAttributesRequest
|
507
519
|
|
@@ -719,6 +731,11 @@ module Aws::SES
|
|
719
731
|
|
720
732
|
ReorderReceiptRuleSetResponse.struct_class = Types::ReorderReceiptRuleSetResponse
|
721
733
|
|
734
|
+
ReputationOptions.add_member(:sending_enabled, Shapes::ShapeRef.new(shape: Enabled, location_name: "SendingEnabled"))
|
735
|
+
ReputationOptions.add_member(:reputation_metrics_enabled, Shapes::ShapeRef.new(shape: Enabled, location_name: "ReputationMetricsEnabled"))
|
736
|
+
ReputationOptions.add_member(:last_fresh_start, Shapes::ShapeRef.new(shape: LastFreshStart, location_name: "LastFreshStart"))
|
737
|
+
ReputationOptions.struct_class = Types::ReputationOptions
|
738
|
+
|
722
739
|
S3Action.add_member(:topic_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "TopicArn"))
|
723
740
|
S3Action.add_member(:bucket_name, Shapes::ShapeRef.new(shape: S3BucketName, required: true, location_name: "BucketName"))
|
724
741
|
S3Action.add_member(:object_key_prefix, Shapes::ShapeRef.new(shape: S3KeyPrefix, location_name: "ObjectKeyPrefix"))
|
@@ -882,12 +899,23 @@ module Aws::SES
|
|
882
899
|
TrackingOptions.add_member(:custom_redirect_domain, Shapes::ShapeRef.new(shape: CustomRedirectDomain, location_name: "CustomRedirectDomain"))
|
883
900
|
TrackingOptions.struct_class = Types::TrackingOptions
|
884
901
|
|
902
|
+
UpdateAccountSendingEnabledRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: Enabled, location_name: "Enabled"))
|
903
|
+
UpdateAccountSendingEnabledRequest.struct_class = Types::UpdateAccountSendingEnabledRequest
|
904
|
+
|
885
905
|
UpdateConfigurationSetEventDestinationRequest.add_member(:configuration_set_name, Shapes::ShapeRef.new(shape: ConfigurationSetName, required: true, location_name: "ConfigurationSetName"))
|
886
906
|
UpdateConfigurationSetEventDestinationRequest.add_member(:event_destination, Shapes::ShapeRef.new(shape: EventDestination, required: true, location_name: "EventDestination"))
|
887
907
|
UpdateConfigurationSetEventDestinationRequest.struct_class = Types::UpdateConfigurationSetEventDestinationRequest
|
888
908
|
|
889
909
|
UpdateConfigurationSetEventDestinationResponse.struct_class = Types::UpdateConfigurationSetEventDestinationResponse
|
890
910
|
|
911
|
+
UpdateConfigurationSetReputationMetricsEnabledRequest.add_member(:configuration_set_name, Shapes::ShapeRef.new(shape: ConfigurationSetName, required: true, location_name: "ConfigurationSetName"))
|
912
|
+
UpdateConfigurationSetReputationMetricsEnabledRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: Enabled, required: true, location_name: "Enabled"))
|
913
|
+
UpdateConfigurationSetReputationMetricsEnabledRequest.struct_class = Types::UpdateConfigurationSetReputationMetricsEnabledRequest
|
914
|
+
|
915
|
+
UpdateConfigurationSetSendingEnabledRequest.add_member(:configuration_set_name, Shapes::ShapeRef.new(shape: ConfigurationSetName, required: true, location_name: "ConfigurationSetName"))
|
916
|
+
UpdateConfigurationSetSendingEnabledRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: Enabled, required: true, location_name: "Enabled"))
|
917
|
+
UpdateConfigurationSetSendingEnabledRequest.struct_class = Types::UpdateConfigurationSetSendingEnabledRequest
|
918
|
+
|
891
919
|
UpdateConfigurationSetTrackingOptionsRequest.add_member(:configuration_set_name, Shapes::ShapeRef.new(shape: ConfigurationSetName, required: true, location_name: "ConfigurationSetName"))
|
892
920
|
UpdateConfigurationSetTrackingOptionsRequest.add_member(:tracking_options, Shapes::ShapeRef.new(shape: TrackingOptions, required: true, location_name: "TrackingOptions"))
|
893
921
|
UpdateConfigurationSetTrackingOptionsRequest.struct_class = Types::UpdateConfigurationSetTrackingOptionsRequest
|
@@ -1165,6 +1193,14 @@ module Aws::SES
|
|
1165
1193
|
o.errors << Shapes::ShapeRef.new(shape: RuleSetDoesNotExistException)
|
1166
1194
|
end)
|
1167
1195
|
|
1196
|
+
api.add_operation(:get_account_sending_enabled, Seahorse::Model::Operation.new.tap do |o|
|
1197
|
+
o.name = "GetAccountSendingEnabled"
|
1198
|
+
o.http_method = "POST"
|
1199
|
+
o.http_request_uri = "/"
|
1200
|
+
o.input = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1201
|
+
o.output = Shapes::ShapeRef.new(shape: GetAccountSendingEnabledResponse)
|
1202
|
+
end)
|
1203
|
+
|
1168
1204
|
api.add_operation(:get_identity_dkim_attributes, Seahorse::Model::Operation.new.tap do |o|
|
1169
1205
|
o.name = "GetIdentityDkimAttributes"
|
1170
1206
|
o.http_method = "POST"
|
@@ -1330,6 +1366,8 @@ module Aws::SES
|
|
1330
1366
|
o.errors << Shapes::ShapeRef.new(shape: MailFromDomainNotVerifiedException)
|
1331
1367
|
o.errors << Shapes::ShapeRef.new(shape: ConfigurationSetDoesNotExistException)
|
1332
1368
|
o.errors << Shapes::ShapeRef.new(shape: TemplateDoesNotExistException)
|
1369
|
+
o.errors << Shapes::ShapeRef.new(shape: ConfigurationSetSendingPausedException)
|
1370
|
+
o.errors << Shapes::ShapeRef.new(shape: AccountSendingPausedException)
|
1333
1371
|
end)
|
1334
1372
|
|
1335
1373
|
api.add_operation(:send_email, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1341,6 +1379,8 @@ module Aws::SES
|
|
1341
1379
|
o.errors << Shapes::ShapeRef.new(shape: MessageRejected)
|
1342
1380
|
o.errors << Shapes::ShapeRef.new(shape: MailFromDomainNotVerifiedException)
|
1343
1381
|
o.errors << Shapes::ShapeRef.new(shape: ConfigurationSetDoesNotExistException)
|
1382
|
+
o.errors << Shapes::ShapeRef.new(shape: ConfigurationSetSendingPausedException)
|
1383
|
+
o.errors << Shapes::ShapeRef.new(shape: AccountSendingPausedException)
|
1344
1384
|
end)
|
1345
1385
|
|
1346
1386
|
api.add_operation(:send_raw_email, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1352,6 +1392,8 @@ module Aws::SES
|
|
1352
1392
|
o.errors << Shapes::ShapeRef.new(shape: MessageRejected)
|
1353
1393
|
o.errors << Shapes::ShapeRef.new(shape: MailFromDomainNotVerifiedException)
|
1354
1394
|
o.errors << Shapes::ShapeRef.new(shape: ConfigurationSetDoesNotExistException)
|
1395
|
+
o.errors << Shapes::ShapeRef.new(shape: ConfigurationSetSendingPausedException)
|
1396
|
+
o.errors << Shapes::ShapeRef.new(shape: AccountSendingPausedException)
|
1355
1397
|
end)
|
1356
1398
|
|
1357
1399
|
api.add_operation(:send_templated_email, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1364,6 +1406,8 @@ module Aws::SES
|
|
1364
1406
|
o.errors << Shapes::ShapeRef.new(shape: MailFromDomainNotVerifiedException)
|
1365
1407
|
o.errors << Shapes::ShapeRef.new(shape: ConfigurationSetDoesNotExistException)
|
1366
1408
|
o.errors << Shapes::ShapeRef.new(shape: TemplateDoesNotExistException)
|
1409
|
+
o.errors << Shapes::ShapeRef.new(shape: ConfigurationSetSendingPausedException)
|
1410
|
+
o.errors << Shapes::ShapeRef.new(shape: AccountSendingPausedException)
|
1367
1411
|
end)
|
1368
1412
|
|
1369
1413
|
api.add_operation(:set_active_receipt_rule_set, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1436,6 +1480,14 @@ module Aws::SES
|
|
1436
1480
|
o.errors << Shapes::ShapeRef.new(shape: MissingRenderingAttributeException)
|
1437
1481
|
end)
|
1438
1482
|
|
1483
|
+
api.add_operation(:update_account_sending_enabled, Seahorse::Model::Operation.new.tap do |o|
|
1484
|
+
o.name = "UpdateAccountSendingEnabled"
|
1485
|
+
o.http_method = "POST"
|
1486
|
+
o.http_request_uri = "/"
|
1487
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateAccountSendingEnabledRequest)
|
1488
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1489
|
+
end)
|
1490
|
+
|
1439
1491
|
api.add_operation(:update_configuration_set_event_destination, Seahorse::Model::Operation.new.tap do |o|
|
1440
1492
|
o.name = "UpdateConfigurationSetEventDestination"
|
1441
1493
|
o.http_method = "POST"
|
@@ -1449,6 +1501,24 @@ module Aws::SES
|
|
1449
1501
|
o.errors << Shapes::ShapeRef.new(shape: InvalidSNSDestinationException)
|
1450
1502
|
end)
|
1451
1503
|
|
1504
|
+
api.add_operation(:update_configuration_set_reputation_metrics_enabled, Seahorse::Model::Operation.new.tap do |o|
|
1505
|
+
o.name = "UpdateConfigurationSetReputationMetricsEnabled"
|
1506
|
+
o.http_method = "POST"
|
1507
|
+
o.http_request_uri = "/"
|
1508
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateConfigurationSetReputationMetricsEnabledRequest)
|
1509
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1510
|
+
o.errors << Shapes::ShapeRef.new(shape: ConfigurationSetDoesNotExistException)
|
1511
|
+
end)
|
1512
|
+
|
1513
|
+
api.add_operation(:update_configuration_set_sending_enabled, Seahorse::Model::Operation.new.tap do |o|
|
1514
|
+
o.name = "UpdateConfigurationSetSendingEnabled"
|
1515
|
+
o.http_method = "POST"
|
1516
|
+
o.http_request_uri = "/"
|
1517
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateConfigurationSetSendingEnabledRequest)
|
1518
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1519
|
+
o.errors << Shapes::ShapeRef.new(shape: ConfigurationSetDoesNotExistException)
|
1520
|
+
end)
|
1521
|
+
|
1452
1522
|
api.add_operation(:update_configuration_set_tracking_options, Seahorse::Model::Operation.new.tap do |o|
|
1453
1523
|
o.name = "UpdateConfigurationSetTrackingOptions"
|
1454
1524
|
o.http_method = "POST"
|
data/lib/aws-sdk-ses/types.rb
CHANGED
@@ -322,6 +322,13 @@ module Aws::SES
|
|
322
322
|
# * `InvalidSendingPoolName`\: The configuration set you specified
|
323
323
|
# refers to an IP pool that does not exist.
|
324
324
|
#
|
325
|
+
# * `AccountSendingPaused`\: Email sending for the Amazon SES account
|
326
|
+
# was disabled using the UpdateAccountSendingEnabled operation.
|
327
|
+
#
|
328
|
+
# * `ConfigurationSetSendingPaused`\: Email sending for this
|
329
|
+
# configuration set was disabled using the
|
330
|
+
# UpdateConfigurationSetSendingEnabled operation.
|
331
|
+
#
|
325
332
|
# * `InvalidParameterValue`\: One or more of the parameters you
|
326
333
|
# specified when calling this operation was invalid. See the error
|
327
334
|
# message for additional information.
|
@@ -1284,7 +1291,7 @@ module Aws::SES
|
|
1284
1291
|
#
|
1285
1292
|
# {
|
1286
1293
|
# configuration_set_name: "ConfigurationSetName", # required
|
1287
|
-
# configuration_set_attribute_names: ["eventDestinations"], # accepts eventDestinations, trackingOptions
|
1294
|
+
# configuration_set_attribute_names: ["eventDestinations"], # accepts eventDestinations, trackingOptions, reputationOptions
|
1288
1295
|
# }
|
1289
1296
|
#
|
1290
1297
|
# @!attribute [rw] configuration_set_name
|
@@ -1325,12 +1332,18 @@ module Aws::SES
|
|
1325
1332
|
# with the configuration set.
|
1326
1333
|
# @return [Types::TrackingOptions]
|
1327
1334
|
#
|
1335
|
+
# @!attribute [rw] reputation_options
|
1336
|
+
# An object that represents the reputation settings for the
|
1337
|
+
# configuration set.
|
1338
|
+
# @return [Types::ReputationOptions]
|
1339
|
+
#
|
1328
1340
|
# @see http://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DescribeConfigurationSetResponse AWS API Documentation
|
1329
1341
|
#
|
1330
1342
|
class DescribeConfigurationSetResponse < Struct.new(
|
1331
1343
|
:configuration_set,
|
1332
1344
|
:event_destinations,
|
1333
|
-
:tracking_options
|
1345
|
+
:tracking_options,
|
1346
|
+
:reputation_options)
|
1334
1347
|
include Aws::Structure
|
1335
1348
|
end
|
1336
1349
|
|
@@ -1602,6 +1615,21 @@ module Aws::SES
|
|
1602
1615
|
include Aws::Structure
|
1603
1616
|
end
|
1604
1617
|
|
1618
|
+
# Represents a request to return the email sending status for your
|
1619
|
+
# Amazon SES account.
|
1620
|
+
#
|
1621
|
+
# @!attribute [rw] enabled
|
1622
|
+
# Describes whether email sending is enabled or disabled for your
|
1623
|
+
# Amazon SES account.
|
1624
|
+
# @return [Boolean]
|
1625
|
+
#
|
1626
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetAccountSendingEnabledResponse AWS API Documentation
|
1627
|
+
#
|
1628
|
+
class GetAccountSendingEnabledResponse < Struct.new(
|
1629
|
+
:enabled)
|
1630
|
+
include Aws::Structure
|
1631
|
+
end
|
1632
|
+
|
1605
1633
|
# Represents a request for the status of Amazon SES Easy DKIM signing
|
1606
1634
|
# for an identity. For domain identities, this request also returns the
|
1607
1635
|
# DKIM tokens that are required for Easy DKIM signing, and whether
|
@@ -3223,6 +3251,51 @@ module Aws::SES
|
|
3223
3251
|
#
|
3224
3252
|
class ReorderReceiptRuleSetResponse < Aws::EmptyStructure; end
|
3225
3253
|
|
3254
|
+
# Contains information about the reputation settings for a configuration
|
3255
|
+
# set.
|
3256
|
+
#
|
3257
|
+
# @!attribute [rw] sending_enabled
|
3258
|
+
# Describes whether email sending is enabled or disabled for the
|
3259
|
+
# configuration set. If the value is `true`, then Amazon SES will send
|
3260
|
+
# emails that use the configuration set. If the value is `false`,
|
3261
|
+
# Amazon SES will not send emails that use the configuration set. The
|
3262
|
+
# default value is `true`. You can change this setting using
|
3263
|
+
# UpdateConfigurationSetSendingEnabled.
|
3264
|
+
# @return [Boolean]
|
3265
|
+
#
|
3266
|
+
# @!attribute [rw] reputation_metrics_enabled
|
3267
|
+
# Describes whether or not Amazon SES publishes reputation metrics for
|
3268
|
+
# the configuration set, such as bounce and complaint rates, to Amazon
|
3269
|
+
# CloudWatch.
|
3270
|
+
#
|
3271
|
+
# If the value is `true`, reputation metrics are published. If the
|
3272
|
+
# value is `false`, reputation metrics are not published. The default
|
3273
|
+
# value is `false`.
|
3274
|
+
# @return [Boolean]
|
3275
|
+
#
|
3276
|
+
# @!attribute [rw] last_fresh_start
|
3277
|
+
# The date and time at which the reputation metrics for the
|
3278
|
+
# configuration set were last reset. Resetting these metrics is known
|
3279
|
+
# as a *fresh start*.
|
3280
|
+
#
|
3281
|
+
# When you disable email sending for a configuration set using
|
3282
|
+
# UpdateConfigurationSetSendingEnabled and later re-enable it, the
|
3283
|
+
# reputation metrics for the configuration set (but not for the entire
|
3284
|
+
# Amazon SES account) are reset.
|
3285
|
+
#
|
3286
|
+
# If email sending for the configuration set has never been disabled
|
3287
|
+
# and later re-enabled, the value of this attribute is `null`.
|
3288
|
+
# @return [Time]
|
3289
|
+
#
|
3290
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ReputationOptions AWS API Documentation
|
3291
|
+
#
|
3292
|
+
class ReputationOptions < Struct.new(
|
3293
|
+
:sending_enabled,
|
3294
|
+
:reputation_metrics_enabled,
|
3295
|
+
:last_fresh_start)
|
3296
|
+
include Aws::Structure
|
3297
|
+
end
|
3298
|
+
|
3226
3299
|
# When included in a receipt rule, this action saves the received
|
3227
3300
|
# message to an Amazon Simple Storage Service (Amazon S3) bucket and,
|
3228
3301
|
# optionally, publishes a notification to Amazon Simple Notification
|
@@ -4835,6 +4908,28 @@ module Aws::SES
|
|
4835
4908
|
include Aws::Structure
|
4836
4909
|
end
|
4837
4910
|
|
4911
|
+
# Represents a request to enable or disable the email sending
|
4912
|
+
# capabilities for your entire Amazon SES account.
|
4913
|
+
#
|
4914
|
+
# @note When making an API call, you may pass UpdateAccountSendingEnabledRequest
|
4915
|
+
# data as a hash:
|
4916
|
+
#
|
4917
|
+
# {
|
4918
|
+
# enabled: false,
|
4919
|
+
# }
|
4920
|
+
#
|
4921
|
+
# @!attribute [rw] enabled
|
4922
|
+
# Describes whether email sending is enabled or disabled for your
|
4923
|
+
# Amazon SES account.
|
4924
|
+
# @return [Boolean]
|
4925
|
+
#
|
4926
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateAccountSendingEnabledRequest AWS API Documentation
|
4927
|
+
#
|
4928
|
+
class UpdateAccountSendingEnabledRequest < Struct.new(
|
4929
|
+
:enabled)
|
4930
|
+
include Aws::Structure
|
4931
|
+
end
|
4932
|
+
|
4838
4933
|
# Represents a request to update the event destination of a
|
4839
4934
|
# configuration set. Configuration sets enable you to publish email
|
4840
4935
|
# sending events. For information about using configuration sets, see
|
@@ -4896,6 +4991,63 @@ module Aws::SES
|
|
4896
4991
|
#
|
4897
4992
|
class UpdateConfigurationSetEventDestinationResponse < Aws::EmptyStructure; end
|
4898
4993
|
|
4994
|
+
# Represents a request to modify the reputation metric publishing
|
4995
|
+
# settings for a configuration set.
|
4996
|
+
#
|
4997
|
+
# @note When making an API call, you may pass UpdateConfigurationSetReputationMetricsEnabledRequest
|
4998
|
+
# data as a hash:
|
4999
|
+
#
|
5000
|
+
# {
|
5001
|
+
# configuration_set_name: "ConfigurationSetName", # required
|
5002
|
+
# enabled: false, # required
|
5003
|
+
# }
|
5004
|
+
#
|
5005
|
+
# @!attribute [rw] configuration_set_name
|
5006
|
+
# The name of the configuration set that you want to update.
|
5007
|
+
# @return [String]
|
5008
|
+
#
|
5009
|
+
# @!attribute [rw] enabled
|
5010
|
+
# Describes whether or not Amazon SES will publish reputation metrics
|
5011
|
+
# for the configuration set, such as bounce and complaint rates, to
|
5012
|
+
# Amazon CloudWatch.
|
5013
|
+
# @return [Boolean]
|
5014
|
+
#
|
5015
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateConfigurationSetReputationMetricsEnabledRequest AWS API Documentation
|
5016
|
+
#
|
5017
|
+
class UpdateConfigurationSetReputationMetricsEnabledRequest < Struct.new(
|
5018
|
+
:configuration_set_name,
|
5019
|
+
:enabled)
|
5020
|
+
include Aws::Structure
|
5021
|
+
end
|
5022
|
+
|
5023
|
+
# Represents a request to enable or disable the email sending
|
5024
|
+
# capabilities for a specific configuration set.
|
5025
|
+
#
|
5026
|
+
# @note When making an API call, you may pass UpdateConfigurationSetSendingEnabledRequest
|
5027
|
+
# data as a hash:
|
5028
|
+
#
|
5029
|
+
# {
|
5030
|
+
# configuration_set_name: "ConfigurationSetName", # required
|
5031
|
+
# enabled: false, # required
|
5032
|
+
# }
|
5033
|
+
#
|
5034
|
+
# @!attribute [rw] configuration_set_name
|
5035
|
+
# The name of the configuration set that you want to update.
|
5036
|
+
# @return [String]
|
5037
|
+
#
|
5038
|
+
# @!attribute [rw] enabled
|
5039
|
+
# Describes whether email sending is enabled or disabled for the
|
5040
|
+
# configuration set.
|
5041
|
+
# @return [Boolean]
|
5042
|
+
#
|
5043
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateConfigurationSetSendingEnabledRequest AWS API Documentation
|
5044
|
+
#
|
5045
|
+
class UpdateConfigurationSetSendingEnabledRequest < Struct.new(
|
5046
|
+
:configuration_set_name,
|
5047
|
+
:enabled)
|
5048
|
+
include Aws::Structure
|
5049
|
+
end
|
5050
|
+
|
4899
5051
|
# Represents a request to update the tracking options for a
|
4900
5052
|
# configuration set.
|
4901
5053
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-ses
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.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: 2017-
|
11
|
+
date: 2017-11-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|