aws-sdk-sesv2 1.14.0 → 1.15.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-sesv2.rb +1 -1
- data/lib/aws-sdk-sesv2/client.rb +47 -1
- data/lib/aws-sdk-sesv2/client_api.rb +22 -0
- data/lib/aws-sdk-sesv2/types.rb +52 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 995160f32ef6843d7d586082457c556c83445e05466f1a88b6b104c79023ec41
|
4
|
+
data.tar.gz: bd9b45248bdd94788cb3683d3cf51bd8eab7a31a692babba64be617c1223cc64
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4c08b534f52037d1d27d756ddf825bf69ee9d8a7aaa49140a623714da61d92791ea782bc28b9e6354c1f2c1312572476494171c71d7a3c177c385dba630ef309
|
7
|
+
data.tar.gz: 4e81623adefcf4a9a401d0529d5b373e91207c2f55c3502ea3a2c67e44edc980fef28ff4df91931bc99bbe0027b52d1b7b099671f72b24136b92f78719a98677
|
data/lib/aws-sdk-sesv2.rb
CHANGED
data/lib/aws-sdk-sesv2/client.rb
CHANGED
@@ -766,6 +766,16 @@ module Aws::SESV2
|
|
766
766
|
# the public key that you want to use for DKIM authentication) and a
|
767
767
|
# private key.
|
768
768
|
#
|
769
|
+
# When you verify a domain, this operation provides a set of DKIM
|
770
|
+
# tokens, which you can convert into CNAME tokens. You add these CNAME
|
771
|
+
# tokens to the DNS configuration for your domain. Your domain is
|
772
|
+
# verified when Amazon SES detects these records in the DNS
|
773
|
+
# configuration for your domain. For some DNS providers, it can take 72
|
774
|
+
# hours or more to complete the domain verification process.
|
775
|
+
#
|
776
|
+
# Additionally, you can associate an existing configuration set with the
|
777
|
+
# email identity that you're verifying.
|
778
|
+
#
|
769
779
|
#
|
770
780
|
#
|
771
781
|
# [1]: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim.html
|
@@ -789,6 +799,11 @@ module Aws::SESV2
|
|
789
799
|
#
|
790
800
|
# [1]: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim.html
|
791
801
|
#
|
802
|
+
# @option params [String] :configuration_set_name
|
803
|
+
# The configuration set to use by default when sending from this
|
804
|
+
# identity. Note that any configuration set defined in the email sending
|
805
|
+
# request takes precedence.
|
806
|
+
#
|
792
807
|
# @return [Types::CreateEmailIdentityResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
793
808
|
#
|
794
809
|
# * {Types::CreateEmailIdentityResponse#identity_type #identity_type} => String
|
@@ -809,6 +824,7 @@ module Aws::SESV2
|
|
809
824
|
# domain_signing_selector: "Selector", # required
|
810
825
|
# domain_signing_private_key: "PrivateKey", # required
|
811
826
|
# },
|
827
|
+
# configuration_set_name: "ConfigurationSetName",
|
812
828
|
# })
|
813
829
|
#
|
814
830
|
# @example Response structure
|
@@ -1889,6 +1905,7 @@ module Aws::SESV2
|
|
1889
1905
|
# * {Types::GetEmailIdentityResponse#mail_from_attributes #mail_from_attributes} => Types::MailFromAttributes
|
1890
1906
|
# * {Types::GetEmailIdentityResponse#policies #policies} => Hash<String,String>
|
1891
1907
|
# * {Types::GetEmailIdentityResponse#tags #tags} => Array<Types::Tag>
|
1908
|
+
# * {Types::GetEmailIdentityResponse#configuration_set_name #configuration_set_name} => String
|
1892
1909
|
#
|
1893
1910
|
# @example Request syntax with placeholder values
|
1894
1911
|
#
|
@@ -1914,6 +1931,7 @@ module Aws::SESV2
|
|
1914
1931
|
# resp.tags #=> Array
|
1915
1932
|
# resp.tags[0].key #=> String
|
1916
1933
|
# resp.tags[0].value #=> String
|
1934
|
+
# resp.configuration_set_name #=> String
|
1917
1935
|
#
|
1918
1936
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetEmailIdentity AWS API Documentation
|
1919
1937
|
#
|
@@ -3148,6 +3166,34 @@ module Aws::SESV2
|
|
3148
3166
|
req.send_request(options)
|
3149
3167
|
end
|
3150
3168
|
|
3169
|
+
# Used to associate a configuration set with an email identity.
|
3170
|
+
#
|
3171
|
+
# @option params [required, String] :email_identity
|
3172
|
+
# The email address or domain that you want to associate with a
|
3173
|
+
# configuration set.
|
3174
|
+
#
|
3175
|
+
# @option params [String] :configuration_set_name
|
3176
|
+
# The configuration set that you want to associate with an email
|
3177
|
+
# identity.
|
3178
|
+
#
|
3179
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3180
|
+
#
|
3181
|
+
# @example Request syntax with placeholder values
|
3182
|
+
#
|
3183
|
+
# resp = client.put_email_identity_configuration_set_attributes({
|
3184
|
+
# email_identity: "Identity", # required
|
3185
|
+
# configuration_set_name: "ConfigurationSetName",
|
3186
|
+
# })
|
3187
|
+
#
|
3188
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutEmailIdentityConfigurationSetAttributes AWS API Documentation
|
3189
|
+
#
|
3190
|
+
# @overload put_email_identity_configuration_set_attributes(params = {})
|
3191
|
+
# @param [Hash] params ({})
|
3192
|
+
def put_email_identity_configuration_set_attributes(params = {}, options = {})
|
3193
|
+
req = build_request(:put_email_identity_configuration_set_attributes, params)
|
3194
|
+
req.send_request(options)
|
3195
|
+
end
|
3196
|
+
|
3151
3197
|
# Used to enable or disable DKIM authentication for an email identity.
|
3152
3198
|
#
|
3153
3199
|
# @option params [required, String] :email_identity
|
@@ -4156,7 +4202,7 @@ module Aws::SESV2
|
|
4156
4202
|
params: params,
|
4157
4203
|
config: config)
|
4158
4204
|
context[:gem_name] = 'aws-sdk-sesv2'
|
4159
|
-
context[:gem_version] = '1.
|
4205
|
+
context[:gem_version] = '1.15.0'
|
4160
4206
|
Seahorse::Client::Request.new(handlers, context)
|
4161
4207
|
end
|
4162
4208
|
|
@@ -297,6 +297,8 @@ module Aws::SESV2
|
|
297
297
|
PutDedicatedIpWarmupAttributesResponse = Shapes::StructureShape.new(name: 'PutDedicatedIpWarmupAttributesResponse')
|
298
298
|
PutDeliverabilityDashboardOptionRequest = Shapes::StructureShape.new(name: 'PutDeliverabilityDashboardOptionRequest')
|
299
299
|
PutDeliverabilityDashboardOptionResponse = Shapes::StructureShape.new(name: 'PutDeliverabilityDashboardOptionResponse')
|
300
|
+
PutEmailIdentityConfigurationSetAttributesRequest = Shapes::StructureShape.new(name: 'PutEmailIdentityConfigurationSetAttributesRequest')
|
301
|
+
PutEmailIdentityConfigurationSetAttributesResponse = Shapes::StructureShape.new(name: 'PutEmailIdentityConfigurationSetAttributesResponse')
|
300
302
|
PutEmailIdentityDkimAttributesRequest = Shapes::StructureShape.new(name: 'PutEmailIdentityDkimAttributesRequest')
|
301
303
|
PutEmailIdentityDkimAttributesResponse = Shapes::StructureShape.new(name: 'PutEmailIdentityDkimAttributesResponse')
|
302
304
|
PutEmailIdentityDkimSigningAttributesRequest = Shapes::StructureShape.new(name: 'PutEmailIdentityDkimSigningAttributesRequest')
|
@@ -543,6 +545,7 @@ module Aws::SESV2
|
|
543
545
|
CreateEmailIdentityRequest.add_member(:email_identity, Shapes::ShapeRef.new(shape: Identity, required: true, location_name: "EmailIdentity"))
|
544
546
|
CreateEmailIdentityRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
545
547
|
CreateEmailIdentityRequest.add_member(:dkim_signing_attributes, Shapes::ShapeRef.new(shape: DkimSigningAttributes, location_name: "DkimSigningAttributes"))
|
548
|
+
CreateEmailIdentityRequest.add_member(:configuration_set_name, Shapes::ShapeRef.new(shape: ConfigurationSetName, location_name: "ConfigurationSetName"))
|
546
549
|
CreateEmailIdentityRequest.struct_class = Types::CreateEmailIdentityRequest
|
547
550
|
|
548
551
|
CreateEmailIdentityResponse.add_member(:identity_type, Shapes::ShapeRef.new(shape: IdentityType, location_name: "IdentityType"))
|
@@ -886,6 +889,7 @@ module Aws::SESV2
|
|
886
889
|
GetEmailIdentityResponse.add_member(:mail_from_attributes, Shapes::ShapeRef.new(shape: MailFromAttributes, location_name: "MailFromAttributes"))
|
887
890
|
GetEmailIdentityResponse.add_member(:policies, Shapes::ShapeRef.new(shape: PolicyMap, location_name: "Policies"))
|
888
891
|
GetEmailIdentityResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
892
|
+
GetEmailIdentityResponse.add_member(:configuration_set_name, Shapes::ShapeRef.new(shape: ConfigurationSetName, location_name: "ConfigurationSetName"))
|
889
893
|
GetEmailIdentityResponse.struct_class = Types::GetEmailIdentityResponse
|
890
894
|
|
891
895
|
GetEmailTemplateRequest.add_member(:template_name, Shapes::ShapeRef.new(shape: EmailTemplateName, required: true, location: "uri", location_name: "TemplateName"))
|
@@ -1190,6 +1194,12 @@ module Aws::SESV2
|
|
1190
1194
|
|
1191
1195
|
PutDeliverabilityDashboardOptionResponse.struct_class = Types::PutDeliverabilityDashboardOptionResponse
|
1192
1196
|
|
1197
|
+
PutEmailIdentityConfigurationSetAttributesRequest.add_member(:email_identity, Shapes::ShapeRef.new(shape: Identity, required: true, location: "uri", location_name: "EmailIdentity"))
|
1198
|
+
PutEmailIdentityConfigurationSetAttributesRequest.add_member(:configuration_set_name, Shapes::ShapeRef.new(shape: ConfigurationSetName, location_name: "ConfigurationSetName"))
|
1199
|
+
PutEmailIdentityConfigurationSetAttributesRequest.struct_class = Types::PutEmailIdentityConfigurationSetAttributesRequest
|
1200
|
+
|
1201
|
+
PutEmailIdentityConfigurationSetAttributesResponse.struct_class = Types::PutEmailIdentityConfigurationSetAttributesResponse
|
1202
|
+
|
1193
1203
|
PutEmailIdentityDkimAttributesRequest.add_member(:email_identity, Shapes::ShapeRef.new(shape: Identity, required: true, location: "uri", location_name: "EmailIdentity"))
|
1194
1204
|
PutEmailIdentityDkimAttributesRequest.add_member(:signing_enabled, Shapes::ShapeRef.new(shape: Enabled, location_name: "SigningEnabled"))
|
1195
1205
|
PutEmailIdentityDkimAttributesRequest.struct_class = Types::PutEmailIdentityDkimAttributesRequest
|
@@ -1550,6 +1560,7 @@ module Aws::SESV2
|
|
1550
1560
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1551
1561
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1552
1562
|
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
1563
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1553
1564
|
end)
|
1554
1565
|
|
1555
1566
|
api.add_operation(:create_email_identity_policy, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2227,6 +2238,17 @@ module Aws::SESV2
|
|
2227
2238
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2228
2239
|
end)
|
2229
2240
|
|
2241
|
+
api.add_operation(:put_email_identity_configuration_set_attributes, Seahorse::Model::Operation.new.tap do |o|
|
2242
|
+
o.name = "PutEmailIdentityConfigurationSetAttributes"
|
2243
|
+
o.http_method = "PUT"
|
2244
|
+
o.http_request_uri = "/v2/email/identities/{EmailIdentity}/configuration-set"
|
2245
|
+
o.input = Shapes::ShapeRef.new(shape: PutEmailIdentityConfigurationSetAttributesRequest)
|
2246
|
+
o.output = Shapes::ShapeRef.new(shape: PutEmailIdentityConfigurationSetAttributesResponse)
|
2247
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2248
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2249
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2250
|
+
end)
|
2251
|
+
|
2230
2252
|
api.add_operation(:put_email_identity_dkim_attributes, Seahorse::Model::Operation.new.tap do |o|
|
2231
2253
|
o.name = "PutEmailIdentityDkimAttributes"
|
2232
2254
|
o.http_method = "PUT"
|
data/lib/aws-sdk-sesv2/types.rb
CHANGED
@@ -1079,6 +1079,7 @@ module Aws::SESV2
|
|
1079
1079
|
# domain_signing_selector: "Selector", # required
|
1080
1080
|
# domain_signing_private_key: "PrivateKey", # required
|
1081
1081
|
# },
|
1082
|
+
# configuration_set_name: "ConfigurationSetName",
|
1082
1083
|
# }
|
1083
1084
|
#
|
1084
1085
|
# @!attribute [rw] email_identity
|
@@ -1104,12 +1105,19 @@ module Aws::SESV2
|
|
1104
1105
|
# [1]: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim.html
|
1105
1106
|
# @return [Types::DkimSigningAttributes]
|
1106
1107
|
#
|
1108
|
+
# @!attribute [rw] configuration_set_name
|
1109
|
+
# The configuration set to use by default when sending from this
|
1110
|
+
# identity. Note that any configuration set defined in the email
|
1111
|
+
# sending request takes precedence.
|
1112
|
+
# @return [String]
|
1113
|
+
#
|
1107
1114
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/CreateEmailIdentityRequest AWS API Documentation
|
1108
1115
|
#
|
1109
1116
|
class CreateEmailIdentityRequest < Struct.new(
|
1110
1117
|
:email_identity,
|
1111
1118
|
:tags,
|
1112
|
-
:dkim_signing_attributes
|
1119
|
+
:dkim_signing_attributes,
|
1120
|
+
:configuration_set_name)
|
1113
1121
|
SENSITIVE = []
|
1114
1122
|
include Aws::Structure
|
1115
1123
|
end
|
@@ -3294,6 +3302,11 @@ module Aws::SESV2
|
|
3294
3302
|
# associated with the email identity.
|
3295
3303
|
# @return [Array<Types::Tag>]
|
3296
3304
|
#
|
3305
|
+
# @!attribute [rw] configuration_set_name
|
3306
|
+
# The configuration set used by default when sending from this
|
3307
|
+
# identity.
|
3308
|
+
# @return [String]
|
3309
|
+
#
|
3297
3310
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetEmailIdentityResponse AWS API Documentation
|
3298
3311
|
#
|
3299
3312
|
class GetEmailIdentityResponse < Struct.new(
|
@@ -3303,7 +3316,8 @@ module Aws::SESV2
|
|
3303
3316
|
:dkim_attributes,
|
3304
3317
|
:mail_from_attributes,
|
3305
3318
|
:policies,
|
3306
|
-
:tags
|
3319
|
+
:tags,
|
3320
|
+
:configuration_set_name)
|
3307
3321
|
SENSITIVE = []
|
3308
3322
|
include Aws::Structure
|
3309
3323
|
end
|
@@ -5259,6 +5273,42 @@ module Aws::SESV2
|
|
5259
5273
|
#
|
5260
5274
|
class PutDeliverabilityDashboardOptionResponse < Aws::EmptyStructure; end
|
5261
5275
|
|
5276
|
+
# A request to associate a configuration set with an email identity.
|
5277
|
+
#
|
5278
|
+
# @note When making an API call, you may pass PutEmailIdentityConfigurationSetAttributesRequest
|
5279
|
+
# data as a hash:
|
5280
|
+
#
|
5281
|
+
# {
|
5282
|
+
# email_identity: "Identity", # required
|
5283
|
+
# configuration_set_name: "ConfigurationSetName",
|
5284
|
+
# }
|
5285
|
+
#
|
5286
|
+
# @!attribute [rw] email_identity
|
5287
|
+
# The email address or domain that you want to associate with a
|
5288
|
+
# configuration set.
|
5289
|
+
# @return [String]
|
5290
|
+
#
|
5291
|
+
# @!attribute [rw] configuration_set_name
|
5292
|
+
# The configuration set that you want to associate with an email
|
5293
|
+
# identity.
|
5294
|
+
# @return [String]
|
5295
|
+
#
|
5296
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutEmailIdentityConfigurationSetAttributesRequest AWS API Documentation
|
5297
|
+
#
|
5298
|
+
class PutEmailIdentityConfigurationSetAttributesRequest < Struct.new(
|
5299
|
+
:email_identity,
|
5300
|
+
:configuration_set_name)
|
5301
|
+
SENSITIVE = []
|
5302
|
+
include Aws::Structure
|
5303
|
+
end
|
5304
|
+
|
5305
|
+
# If the action is successful, the service sends back an HTTP 200
|
5306
|
+
# response with an empty HTTP body.
|
5307
|
+
#
|
5308
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutEmailIdentityConfigurationSetAttributesResponse AWS API Documentation
|
5309
|
+
#
|
5310
|
+
class PutEmailIdentityConfigurationSetAttributesResponse < Aws::EmptyStructure; end
|
5311
|
+
|
5262
5312
|
# A request to enable or disable DKIM signing of email that you send
|
5263
5313
|
# from an email identity.
|
5264
5314
|
#
|
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.15.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:
|
11
|
+
date: 2021-01-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|