aws-sdk-sesv2 1.106.0 → 1.107.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7f13ef709d7e1ec0a249d10c13cabe08307e4cf74313091763ac55d9517a0594
4
- data.tar.gz: 790f51d2cc3acea699575829656e6eca9131afeaaf1d93b78148e71d5bb870fe
3
+ metadata.gz: 15881793800d4934a9a5fa99541bab7f694a1b5c86b342369e433e487693d859
4
+ data.tar.gz: 55e7d30fe09e99592b1cb4dfa685883d610c21cfe02ee047389927c0f5821adf
5
5
  SHA512:
6
- metadata.gz: f005e2f143b6cd1a04a4adb013345fd1d1cc225226f3e9baf8857722a305ceefc2fb83d439a317fc81767b76ac87ade4d6f4ea613b8da4978f332a399bde13cb
7
- data.tar.gz: 9967ca4751d276e9936906d7b4f77e6f2133c8847b158f58d7ede42f9fcae7e1a171b0adfd6e3ad8c39584e140036ee2ce6ba7c7650a852ff2243d0c684d8656
6
+ metadata.gz: 898baa7e51b115a0f25518df0b95f612f4c67dea067504b515530f27c0df53133db43a0e37bdf3ff2571661f71535865725f2c3b32b3a4efcfcaaa0e2d4fe029
7
+ data.tar.gz: d602552794fb7196fbf6ec9df6927827fa69b6552a0b2e3716089a57eed363136a4cd01bc26675f695d3672114d7dd136cf0476ff4584411c91ec0b16af27325
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.107.0 (2026-09-01)
5
+ ------------------
6
+
7
+ * Feature - Added support for managing SMIME signing certificates for email identities, including associating, listing, and disassociating certificates. Added the UpdateConfigurationSet operation to configure message security options such as signing scheme.
8
+
4
9
  1.106.0 (2026-08-20)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.106.0
1
+ 1.107.0
@@ -474,6 +474,63 @@ module Aws::SESV2
474
474
 
475
475
  # @!group API Operations
476
476
 
477
+ # Associates an S/MIME certificate with an email identity. After the
478
+ # certificate is active, Amazon SES API v2 can add an S/MIME signature
479
+ # to messages that you send from the associated address when signing is
480
+ # enabled on the configuration set used to send the message.
481
+ #
482
+ # The certificate is an X.509 certificate that you manage in Certificate
483
+ # Manager (ACM). You identify it by its Amazon Resource Name (ARN).
484
+ #
485
+ # * If the email identity is a domain, you must specify a `FromAddress`
486
+ # that belongs to that domain or one of its subdomains. The
487
+ # certificate applies to messages sent from that address.
488
+ #
489
+ # * If the email identity is an email address, `FromAddress` is
490
+ # optional. If you specify it, it must exactly match the email
491
+ # identity.
492
+ #
493
+ # When the association is created, the certificate begins provisioning
494
+ # and its status is `PROVISIONING`. The status changes to `ACTIVE` when
495
+ # the certificate is ready to use for signing. Each email address can
496
+ # have only one certificate association. If an association already
497
+ # exists for the address, this operation returns an error, unless the
498
+ # existing association is in the `DEPROVISIONING` state.
499
+ #
500
+ # @option params [required, String] :email_identity
501
+ # The email identity, either an email address or a domain, to associate
502
+ # the certificate with.
503
+ #
504
+ # @option params [String] :from_address
505
+ # The email address that the certificate applies to. This value is
506
+ # required when the email identity is a domain, and the address must
507
+ # belong to that domain or one of its subdomains. When the email
508
+ # identity is an email address, this value is optional. If you specify
509
+ # it, it must exactly match the email identity.
510
+ #
511
+ # @option params [required, String] :certificate_arn
512
+ # The Amazon Resource Name (ARN) of the Certificate Manager (ACM)
513
+ # certificate to associate with the email identity.
514
+ #
515
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
516
+ #
517
+ # @example Request syntax with placeholder values
518
+ #
519
+ # resp = client.associate_email_identity_certificate({
520
+ # email_identity: "Identity", # required
521
+ # from_address: "EmailAddress",
522
+ # certificate_arn: "CertificateArn", # required
523
+ # })
524
+ #
525
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/AssociateEmailIdentityCertificate AWS API Documentation
526
+ #
527
+ # @overload associate_email_identity_certificate(params = {})
528
+ # @param [Hash] params ({})
529
+ def associate_email_identity_certificate(params = {}, options = {})
530
+ req = build_request(:associate_email_identity_certificate, params)
531
+ req.send_request(options)
532
+ end
533
+
477
534
  # Retrieves batches of metric data collected based on your sending
478
535
  # activity.
479
536
  #
@@ -604,6 +661,11 @@ module Aws::SESV2
604
661
  # An object that defines the MailManager archiving options for emails
605
662
  # that you send using the configuration set.
606
663
  #
664
+ # @option params [Types::MessageSecurityOptions] :message_security_options
665
+ # The message security options to apply to the configuration set, such
666
+ # as the signing scheme used for messages that you send with the
667
+ # configuration set.
668
+ #
607
669
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
608
670
  #
609
671
  # @example Request syntax with placeholder values
@@ -655,6 +717,15 @@ module Aws::SESV2
655
717
  # archiving_options: {
656
718
  # archive_arn: "ArchiveArn",
657
719
  # },
720
+ # message_security_options: {
721
+ # signing_scheme: {
722
+ # default_scheme: {
723
+ # },
724
+ # smime_scheme: {
725
+ # signature_format: "DETACHED", # accepts DETACHED
726
+ # },
727
+ # },
728
+ # },
658
729
  # })
659
730
  #
660
731
  # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/CreateConfigurationSet AWS API Documentation
@@ -2012,6 +2083,45 @@ module Aws::SESV2
2012
2083
  req.send_request(options)
2013
2084
  end
2014
2085
 
2086
+ # Removes the association between an S/MIME certificate and an email
2087
+ # identity. After the association is removed, Amazon SES API v2 stops
2088
+ # adding an S/MIME signature to messages sent from that address.
2089
+ #
2090
+ # If the email identity is a domain, specify the `FromAddress` whose
2091
+ # certificate association you want to remove.
2092
+ #
2093
+ # This operation is idempotent. If the specified email identity exists
2094
+ # but there's no matching certificate association, the operation
2095
+ # succeeds without making any changes. Amazon SES API v2 returns a
2096
+ # `NotFoundException` only when the specified email identity doesn't
2097
+ # exist.
2098
+ #
2099
+ # @option params [required, String] :email_identity
2100
+ # The email identity whose certificate association you want to remove.
2101
+ #
2102
+ # @option params [String] :from_address
2103
+ # The email address whose certificate association you want to remove.
2104
+ # This value is required when the email identity is a domain. When the
2105
+ # email identity is an email address, this value is optional.
2106
+ #
2107
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2108
+ #
2109
+ # @example Request syntax with placeholder values
2110
+ #
2111
+ # resp = client.disassociate_email_identity_certificate({
2112
+ # email_identity: "Identity", # required
2113
+ # from_address: "EmailAddress",
2114
+ # })
2115
+ #
2116
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/DisassociateEmailIdentityCertificate AWS API Documentation
2117
+ #
2118
+ # @overload disassociate_email_identity_certificate(params = {})
2119
+ # @param [Hash] params ({})
2120
+ def disassociate_email_identity_certificate(params = {}, options = {})
2121
+ req = build_request(:disassociate_email_identity_certificate, params)
2122
+ req.send_request(options)
2123
+ end
2124
+
2015
2125
  # Obtain information about the email-sending status and capabilities of
2016
2126
  # your Amazon SES account in the current Amazon Web Services Region.
2017
2127
  #
@@ -2122,6 +2232,7 @@ module Aws::SESV2
2122
2232
  # * {Types::GetConfigurationSetResponse#suppression_options #suppression_options} => Types::SuppressionOptions
2123
2233
  # * {Types::GetConfigurationSetResponse#vdm_options #vdm_options} => Types::VdmOptions
2124
2234
  # * {Types::GetConfigurationSetResponse#archiving_options #archiving_options} => Types::ArchivingOptions
2235
+ # * {Types::GetConfigurationSetResponse#message_security_options #message_security_options} => Types::MessageSecurityOptions
2125
2236
  #
2126
2237
  # @example Request syntax with placeholder values
2127
2238
  #
@@ -2151,6 +2262,7 @@ module Aws::SESV2
2151
2262
  # resp.vdm_options.dashboard_options.engagement_metrics #=> String, one of "ENABLED", "DISABLED"
2152
2263
  # resp.vdm_options.guardian_options.optimized_shared_delivery #=> String, one of "ENABLED", "DISABLED"
2153
2264
  # resp.archiving_options.archive_arn #=> String
2265
+ # resp.message_security_options.signing_scheme.smime_scheme.signature_format #=> String, one of "DETACHED"
2154
2266
  #
2155
2267
  # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetConfigurationSet AWS API Documentation
2156
2268
  #
@@ -3827,6 +3939,67 @@ module Aws::SESV2
3827
3939
  req.send_request(options)
3828
3940
  end
3829
3941
 
3942
+ # Lists the S/MIME certificates that are associated with the specified
3943
+ # email identity. The results include certificates in all states, such
3944
+ # as `PROVISIONING`, `ACTIVE`, `INACTIVE`, `DEPROVISIONING`, and
3945
+ # `FAILED`.
3946
+ #
3947
+ # If a certificate has passed its expiration time, it's returned with a
3948
+ # status of `FAILED`.
3949
+ #
3950
+ # We recommend using pagination to ensure that the operation returns
3951
+ # quickly and successfully. When there are more results than fit in a
3952
+ # single response, the response includes a `NextToken` value that you
3953
+ # use in a subsequent call to retrieve the next set of results.
3954
+ #
3955
+ # @option params [required, String] :email_identity
3956
+ # The email identity whose certificate associations you want to list.
3957
+ #
3958
+ # @option params [String] :next_token
3959
+ # A token returned from a previous call to
3960
+ # `ListEmailIdentityCertificates` to indicate the position in the list
3961
+ # of certificates.
3962
+ #
3963
+ # @option params [Integer] :page_size
3964
+ # The number of results to show in a single call to
3965
+ # `ListEmailIdentityCertificates`. If the number of results is larger
3966
+ # than the number you specified in this parameter, then the response
3967
+ # includes a `NextToken` element, which you can use to obtain additional
3968
+ # results.
3969
+ #
3970
+ # @return [Types::ListEmailIdentityCertificatesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3971
+ #
3972
+ # * {Types::ListEmailIdentityCertificatesResponse#certificates #certificates} => Array<Types::IdentityCertificate>
3973
+ # * {Types::ListEmailIdentityCertificatesResponse#next_token #next_token} => String
3974
+ #
3975
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3976
+ #
3977
+ # @example Request syntax with placeholder values
3978
+ #
3979
+ # resp = client.list_email_identity_certificates({
3980
+ # email_identity: "Identity", # required
3981
+ # next_token: "NextToken",
3982
+ # page_size: 1,
3983
+ # })
3984
+ #
3985
+ # @example Response structure
3986
+ #
3987
+ # resp.certificates #=> Array
3988
+ # resp.certificates[0].from_address #=> String
3989
+ # resp.certificates[0].status #=> String, one of "PROVISIONING", "INACTIVE", "DEPROVISIONING", "ACTIVE", "FAILED"
3990
+ # resp.certificates[0].certificate_arn #=> String
3991
+ # resp.certificates[0].certificate_expiry_time #=> Time
3992
+ # resp.next_token #=> String
3993
+ #
3994
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ListEmailIdentityCertificates AWS API Documentation
3995
+ #
3996
+ # @overload list_email_identity_certificates(params = {})
3997
+ # @param [Hash] params ({})
3998
+ def list_email_identity_certificates(params = {}, options = {})
3999
+ req = build_request(:list_email_identity_certificates, params)
4000
+ req.send_request(options)
4001
+ end
4002
+
3830
4003
  # Lists the email templates present in your Amazon SES account in the
3831
4004
  # current Amazon Web Services Region.
3832
4005
  #
@@ -6022,6 +6195,45 @@ module Aws::SESV2
6022
6195
  req.send_request(options)
6023
6196
  end
6024
6197
 
6198
+ # Updates an existing configuration set.
6199
+ #
6200
+ # This operation performs a partial update. Only the attributes that you
6201
+ # include in the request are updated; any omitted attribute is left
6202
+ # unchanged.
6203
+ #
6204
+ # @option params [required, String] :configuration_set_name
6205
+ # The name of the configuration set to update.
6206
+ #
6207
+ # @option params [Types::MessageSecurityOptions] :message_security_options
6208
+ # The security options that apply to the MIME message itself for
6209
+ # messages sent with the configuration set.
6210
+ #
6211
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
6212
+ #
6213
+ # @example Request syntax with placeholder values
6214
+ #
6215
+ # resp = client.update_configuration_set({
6216
+ # configuration_set_name: "ConfigurationSetName", # required
6217
+ # message_security_options: {
6218
+ # signing_scheme: {
6219
+ # default_scheme: {
6220
+ # },
6221
+ # smime_scheme: {
6222
+ # signature_format: "DETACHED", # accepts DETACHED
6223
+ # },
6224
+ # },
6225
+ # },
6226
+ # })
6227
+ #
6228
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/UpdateConfigurationSet AWS API Documentation
6229
+ #
6230
+ # @overload update_configuration_set(params = {})
6231
+ # @param [Hash] params ({})
6232
+ def update_configuration_set(params = {}, options = {})
6233
+ req = build_request(:update_configuration_set, params)
6234
+ req.send_request(options)
6235
+ end
6236
+
6025
6237
  # Update the configuration of an event destination for a configuration
6026
6238
  # set.
6027
6239
  #
@@ -6446,7 +6658,7 @@ module Aws::SESV2
6446
6658
  tracer: tracer
6447
6659
  )
6448
6660
  context[:gem_name] = 'aws-sdk-sesv2'
6449
- context[:gem_version] = '1.106.0'
6661
+ context[:gem_version] = '1.107.0'
6450
6662
  Seahorse::Client::Request.new(handlers, context)
6451
6663
  end
6452
6664
 
@@ -23,6 +23,8 @@ module Aws::SESV2
23
23
  AmazonResourceName = Shapes::StringShape.new(name: 'AmazonResourceName')
24
24
  ArchiveArn = Shapes::StringShape.new(name: 'ArchiveArn')
25
25
  ArchivingOptions = Shapes::StructureShape.new(name: 'ArchivingOptions')
26
+ AssociateEmailIdentityCertificateRequest = Shapes::StructureShape.new(name: 'AssociateEmailIdentityCertificateRequest')
27
+ AssociateEmailIdentityCertificateResponse = Shapes::StructureShape.new(name: 'AssociateEmailIdentityCertificateResponse')
26
28
  Attachment = Shapes::StructureShape.new(name: 'Attachment')
27
29
  AttachmentContentDescription = Shapes::StringShape.new(name: 'AttachmentContentDescription')
28
30
  AttachmentContentDisposition = Shapes::StringShape.new(name: 'AttachmentContentDisposition')
@@ -58,6 +60,7 @@ module Aws::SESV2
58
60
  CancelExportJobRequest = Shapes::StructureShape.new(name: 'CancelExportJobRequest')
59
61
  CancelExportJobResponse = Shapes::StructureShape.new(name: 'CancelExportJobResponse')
60
62
  CaseId = Shapes::StringShape.new(name: 'CaseId')
63
+ CertificateArn = Shapes::StringShape.new(name: 'CertificateArn')
61
64
  Charset = Shapes::StringShape.new(name: 'Charset')
62
65
  CloudWatchDestination = Shapes::StructureShape.new(name: 'CloudWatchDestination')
63
66
  CloudWatchDimensionConfiguration = Shapes::StructureShape.new(name: 'CloudWatchDimensionConfiguration')
@@ -120,6 +123,7 @@ module Aws::SESV2
120
123
  DedicatedIpList = Shapes::ListShape.new(name: 'DedicatedIpList')
121
124
  DedicatedIpPool = Shapes::StructureShape.new(name: 'DedicatedIpPool')
122
125
  DefaultDimensionValue = Shapes::StringShape.new(name: 'DefaultDimensionValue')
126
+ DefaultSigningScheme = Shapes::StructureShape.new(name: 'DefaultSigningScheme')
123
127
  DeleteConfigurationSetEventDestinationRequest = Shapes::StructureShape.new(name: 'DeleteConfigurationSetEventDestinationRequest')
124
128
  DeleteConfigurationSetEventDestinationResponse = Shapes::StructureShape.new(name: 'DeleteConfigurationSetEventDestinationResponse')
125
129
  DeleteConfigurationSetRequest = Shapes::StructureShape.new(name: 'DeleteConfigurationSetRequest')
@@ -160,6 +164,8 @@ module Aws::SESV2
160
164
  DimensionName = Shapes::StringShape.new(name: 'DimensionName')
161
165
  DimensionValueSource = Shapes::StringShape.new(name: 'DimensionValueSource')
162
166
  Dimensions = Shapes::MapShape.new(name: 'Dimensions')
167
+ DisassociateEmailIdentityCertificateRequest = Shapes::StructureShape.new(name: 'DisassociateEmailIdentityCertificateRequest')
168
+ DisassociateEmailIdentityCertificateResponse = Shapes::StructureShape.new(name: 'DisassociateEmailIdentityCertificateResponse')
163
169
  DisplayName = Shapes::StringShape.new(name: 'DisplayName')
164
170
  DkimAttributes = Shapes::StructureShape.new(name: 'DkimAttributes')
165
171
  DkimSigningAttributes = Shapes::StructureShape.new(name: 'DkimSigningAttributes')
@@ -283,6 +289,9 @@ module Aws::SESV2
283
289
  HostedZone = Shapes::StringShape.new(name: 'HostedZone')
284
290
  HttpsPolicy = Shapes::StringShape.new(name: 'HttpsPolicy')
285
291
  Identity = Shapes::StringShape.new(name: 'Identity')
292
+ IdentityCertificate = Shapes::StructureShape.new(name: 'IdentityCertificate')
293
+ IdentityCertificateList = Shapes::ListShape.new(name: 'IdentityCertificateList')
294
+ IdentityCertificateStatus = Shapes::StringShape.new(name: 'IdentityCertificateStatus')
286
295
  IdentityInfo = Shapes::StructureShape.new(name: 'IdentityInfo')
287
296
  IdentityInfoList = Shapes::ListShape.new(name: 'IdentityInfoList')
288
297
  IdentityType = Shapes::StringShape.new(name: 'IdentityType')
@@ -330,6 +339,8 @@ module Aws::SESV2
330
339
  ListDomainDeliverabilityCampaignsResponse = Shapes::StructureShape.new(name: 'ListDomainDeliverabilityCampaignsResponse')
331
340
  ListEmailIdentitiesRequest = Shapes::StructureShape.new(name: 'ListEmailIdentitiesRequest')
332
341
  ListEmailIdentitiesResponse = Shapes::StructureShape.new(name: 'ListEmailIdentitiesResponse')
342
+ ListEmailIdentityCertificatesRequest = Shapes::StructureShape.new(name: 'ListEmailIdentityCertificatesRequest')
343
+ ListEmailIdentityCertificatesResponse = Shapes::StructureShape.new(name: 'ListEmailIdentityCertificatesResponse')
333
344
  ListEmailTemplatesRequest = Shapes::StructureShape.new(name: 'ListEmailTemplatesRequest')
334
345
  ListEmailTemplatesResponse = Shapes::StructureShape.new(name: 'ListEmailTemplatesResponse')
335
346
  ListExportJobsRequest = Shapes::StructureShape.new(name: 'ListExportJobsRequest')
@@ -383,6 +394,7 @@ module Aws::SESV2
383
394
  MessageInsightsExportMaxResults = Shapes::IntegerShape.new(name: 'MessageInsightsExportMaxResults')
384
395
  MessageInsightsFilters = Shapes::StructureShape.new(name: 'MessageInsightsFilters')
385
396
  MessageRejected = Shapes::StructureShape.new(name: 'MessageRejected')
397
+ MessageSecurityOptions = Shapes::StructureShape.new(name: 'MessageSecurityOptions')
386
398
  MessageTag = Shapes::StructureShape.new(name: 'MessageTag')
387
399
  MessageTagList = Shapes::ListShape.new(name: 'MessageTagList')
388
400
  MessageTagName = Shapes::StringShape.new(name: 'MessageTagName')
@@ -521,6 +533,9 @@ module Aws::SESV2
521
533
  SendingStatus = Shapes::StringShape.new(name: 'SendingStatus')
522
534
  SentLast24Hours = Shapes::FloatShape.new(name: 'SentLast24Hours')
523
535
  SerialNumber = Shapes::IntegerShape.new(name: 'SerialNumber')
536
+ SignatureFormat = Shapes::StringShape.new(name: 'SignatureFormat')
537
+ SigningScheme = Shapes::UnionShape.new(name: 'SigningScheme')
538
+ SmimeSigningScheme = Shapes::StructureShape.new(name: 'SmimeSigningScheme')
524
539
  SnsDestination = Shapes::StructureShape.new(name: 'SnsDestination')
525
540
  Status = Shapes::StringShape.new(name: 'Status')
526
541
  StatusCause = Shapes::StringShape.new(name: 'StatusCause')
@@ -580,6 +595,8 @@ module Aws::SESV2
580
595
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
581
596
  UpdateConfigurationSetEventDestinationRequest = Shapes::StructureShape.new(name: 'UpdateConfigurationSetEventDestinationRequest')
582
597
  UpdateConfigurationSetEventDestinationResponse = Shapes::StructureShape.new(name: 'UpdateConfigurationSetEventDestinationResponse')
598
+ UpdateConfigurationSetRequest = Shapes::StructureShape.new(name: 'UpdateConfigurationSetRequest')
599
+ UpdateConfigurationSetResponse = Shapes::StructureShape.new(name: 'UpdateConfigurationSetResponse')
583
600
  UpdateContactListRequest = Shapes::StructureShape.new(name: 'UpdateContactListRequest')
584
601
  UpdateContactListResponse = Shapes::StructureShape.new(name: 'UpdateContactListResponse')
585
602
  UpdateContactRequest = Shapes::StructureShape.new(name: 'UpdateContactRequest')
@@ -623,6 +640,13 @@ module Aws::SESV2
623
640
  ArchivingOptions.add_member(:archive_arn, Shapes::ShapeRef.new(shape: ArchiveArn, location_name: "ArchiveArn"))
624
641
  ArchivingOptions.struct_class = Types::ArchivingOptions
625
642
 
643
+ AssociateEmailIdentityCertificateRequest.add_member(:email_identity, Shapes::ShapeRef.new(shape: Identity, required: true, location_name: "EmailIdentity"))
644
+ AssociateEmailIdentityCertificateRequest.add_member(:from_address, Shapes::ShapeRef.new(shape: EmailAddress, location_name: "FromAddress"))
645
+ AssociateEmailIdentityCertificateRequest.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: CertificateArn, required: true, location_name: "CertificateArn"))
646
+ AssociateEmailIdentityCertificateRequest.struct_class = Types::AssociateEmailIdentityCertificateRequest
647
+
648
+ AssociateEmailIdentityCertificateResponse.struct_class = Types::AssociateEmailIdentityCertificateResponse
649
+
626
650
  Attachment.add_member(:raw_content, Shapes::ShapeRef.new(shape: RawAttachmentData, required: true, location_name: "RawContent"))
627
651
  Attachment.add_member(:content_disposition, Shapes::ShapeRef.new(shape: AttachmentContentDisposition, location_name: "ContentDisposition"))
628
652
  Attachment.add_member(:file_name, Shapes::ShapeRef.new(shape: AttachmentFileName, required: true, location_name: "FileName"))
@@ -755,6 +779,7 @@ module Aws::SESV2
755
779
  CreateConfigurationSetRequest.add_member(:suppression_options, Shapes::ShapeRef.new(shape: SuppressionOptions, location_name: "SuppressionOptions"))
756
780
  CreateConfigurationSetRequest.add_member(:vdm_options, Shapes::ShapeRef.new(shape: VdmOptions, location_name: "VdmOptions"))
757
781
  CreateConfigurationSetRequest.add_member(:archiving_options, Shapes::ShapeRef.new(shape: ArchivingOptions, location_name: "ArchivingOptions"))
782
+ CreateConfigurationSetRequest.add_member(:message_security_options, Shapes::ShapeRef.new(shape: MessageSecurityOptions, location_name: "MessageSecurityOptions"))
758
783
  CreateConfigurationSetRequest.struct_class = Types::CreateConfigurationSetRequest
759
784
 
760
785
  CreateConfigurationSetResponse.struct_class = Types::CreateConfigurationSetResponse
@@ -906,6 +931,8 @@ module Aws::SESV2
906
931
  DedicatedIpPool.add_member(:scaling_mode, Shapes::ShapeRef.new(shape: ScalingMode, required: true, location_name: "ScalingMode"))
907
932
  DedicatedIpPool.struct_class = Types::DedicatedIpPool
908
933
 
934
+ DefaultSigningScheme.struct_class = Types::DefaultSigningScheme
935
+
909
936
  DeleteConfigurationSetEventDestinationRequest.add_member(:configuration_set_name, Shapes::ShapeRef.new(shape: ConfigurationSetName, required: true, location: "uri", location_name: "ConfigurationSetName"))
910
937
  DeleteConfigurationSetEventDestinationRequest.add_member(:event_destination_name, Shapes::ShapeRef.new(shape: EventDestinationName, required: true, location: "uri", location_name: "EventDestinationName"))
911
938
  DeleteConfigurationSetEventDestinationRequest.struct_class = Types::DeleteConfigurationSetEventDestinationRequest
@@ -1003,6 +1030,12 @@ module Aws::SESV2
1003
1030
  Dimensions.key = Shapes::ShapeRef.new(shape: MetricDimensionName)
1004
1031
  Dimensions.value = Shapes::ShapeRef.new(shape: MetricDimensionValue)
1005
1032
 
1033
+ DisassociateEmailIdentityCertificateRequest.add_member(:email_identity, Shapes::ShapeRef.new(shape: Identity, required: true, location_name: "EmailIdentity"))
1034
+ DisassociateEmailIdentityCertificateRequest.add_member(:from_address, Shapes::ShapeRef.new(shape: EmailAddress, location_name: "FromAddress"))
1035
+ DisassociateEmailIdentityCertificateRequest.struct_class = Types::DisassociateEmailIdentityCertificateRequest
1036
+
1037
+ DisassociateEmailIdentityCertificateResponse.struct_class = Types::DisassociateEmailIdentityCertificateResponse
1038
+
1006
1039
  DkimAttributes.add_member(:signing_enabled, Shapes::ShapeRef.new(shape: Enabled, location_name: "SigningEnabled"))
1007
1040
  DkimAttributes.add_member(:status, Shapes::ShapeRef.new(shape: DkimStatus, location_name: "Status"))
1008
1041
  DkimAttributes.add_member(:tokens, Shapes::ShapeRef.new(shape: DnsTokenList, location_name: "Tokens"))
@@ -1200,6 +1233,7 @@ module Aws::SESV2
1200
1233
  GetConfigurationSetResponse.add_member(:suppression_options, Shapes::ShapeRef.new(shape: SuppressionOptions, location_name: "SuppressionOptions"))
1201
1234
  GetConfigurationSetResponse.add_member(:vdm_options, Shapes::ShapeRef.new(shape: VdmOptions, location_name: "VdmOptions"))
1202
1235
  GetConfigurationSetResponse.add_member(:archiving_options, Shapes::ShapeRef.new(shape: ArchivingOptions, location_name: "ArchivingOptions"))
1236
+ GetConfigurationSetResponse.add_member(:message_security_options, Shapes::ShapeRef.new(shape: MessageSecurityOptions, location_name: "MessageSecurityOptions"))
1203
1237
  GetConfigurationSetResponse.struct_class = Types::GetConfigurationSetResponse
1204
1238
 
1205
1239
  GetContactListRequest.add_member(:contact_list_name, Shapes::ShapeRef.new(shape: ContactListName, required: true, location: "uri", location_name: "ContactListName"))
@@ -1404,6 +1438,14 @@ module Aws::SESV2
1404
1438
  GuardianOptions.add_member(:optimized_shared_delivery, Shapes::ShapeRef.new(shape: FeatureStatus, location_name: "OptimizedSharedDelivery"))
1405
1439
  GuardianOptions.struct_class = Types::GuardianOptions
1406
1440
 
1441
+ IdentityCertificate.add_member(:from_address, Shapes::ShapeRef.new(shape: EmailAddress, location_name: "FromAddress"))
1442
+ IdentityCertificate.add_member(:status, Shapes::ShapeRef.new(shape: IdentityCertificateStatus, location_name: "Status"))
1443
+ IdentityCertificate.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: CertificateArn, location_name: "CertificateArn"))
1444
+ IdentityCertificate.add_member(:certificate_expiry_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CertificateExpiryTime"))
1445
+ IdentityCertificate.struct_class = Types::IdentityCertificate
1446
+
1447
+ IdentityCertificateList.member = Shapes::ShapeRef.new(shape: IdentityCertificate)
1448
+
1407
1449
  IdentityInfo.add_member(:identity_type, Shapes::ShapeRef.new(shape: IdentityType, location_name: "IdentityType"))
1408
1450
  IdentityInfo.add_member(:identity_name, Shapes::ShapeRef.new(shape: Identity, location_name: "IdentityName"))
1409
1451
  IdentityInfo.add_member(:sending_enabled, Shapes::ShapeRef.new(shape: Enabled, location_name: "SendingEnabled"))
@@ -1540,6 +1582,15 @@ module Aws::SESV2
1540
1582
  ListEmailIdentitiesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
1541
1583
  ListEmailIdentitiesResponse.struct_class = Types::ListEmailIdentitiesResponse
1542
1584
 
1585
+ ListEmailIdentityCertificatesRequest.add_member(:email_identity, Shapes::ShapeRef.new(shape: Identity, required: true, location_name: "EmailIdentity"))
1586
+ ListEmailIdentityCertificatesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
1587
+ ListEmailIdentityCertificatesRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: MaxItems, location_name: "PageSize"))
1588
+ ListEmailIdentityCertificatesRequest.struct_class = Types::ListEmailIdentityCertificatesRequest
1589
+
1590
+ ListEmailIdentityCertificatesResponse.add_member(:certificates, Shapes::ShapeRef.new(shape: IdentityCertificateList, location_name: "Certificates"))
1591
+ ListEmailIdentityCertificatesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
1592
+ ListEmailIdentityCertificatesResponse.struct_class = Types::ListEmailIdentityCertificatesResponse
1593
+
1543
1594
  ListEmailTemplatesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "NextToken"))
1544
1595
  ListEmailTemplatesRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: MaxItems, location: "querystring", location_name: "PageSize"))
1545
1596
  ListEmailTemplatesRequest.struct_class = Types::ListEmailTemplatesRequest
@@ -1694,6 +1745,9 @@ module Aws::SESV2
1694
1745
 
1695
1746
  MessageRejected.struct_class = Types::MessageRejected
1696
1747
 
1748
+ MessageSecurityOptions.add_member(:signing_scheme, Shapes::ShapeRef.new(shape: SigningScheme, location_name: "SigningScheme"))
1749
+ MessageSecurityOptions.struct_class = Types::MessageSecurityOptions
1750
+
1697
1751
  MessageTag.add_member(:name, Shapes::ShapeRef.new(shape: MessageTagName, required: true, location_name: "Name"))
1698
1752
  MessageTag.add_member(:value, Shapes::ShapeRef.new(shape: MessageTagValue, required: true, location_name: "Value"))
1699
1753
  MessageTag.struct_class = Types::MessageTag
@@ -2033,6 +2087,17 @@ module Aws::SESV2
2033
2087
 
2034
2088
  SendingPausedException.struct_class = Types::SendingPausedException
2035
2089
 
2090
+ SigningScheme.add_member(:default_scheme, Shapes::ShapeRef.new(shape: DefaultSigningScheme, location_name: "DefaultScheme"))
2091
+ SigningScheme.add_member(:smime_scheme, Shapes::ShapeRef.new(shape: SmimeSigningScheme, location_name: "SmimeScheme"))
2092
+ SigningScheme.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
2093
+ SigningScheme.add_member_subclass(:default_scheme, Types::SigningScheme::DefaultScheme)
2094
+ SigningScheme.add_member_subclass(:smime_scheme, Types::SigningScheme::SmimeScheme)
2095
+ SigningScheme.add_member_subclass(:unknown, Types::SigningScheme::Unknown)
2096
+ SigningScheme.struct_class = Types::SigningScheme
2097
+
2098
+ SmimeSigningScheme.add_member(:signature_format, Shapes::ShapeRef.new(shape: SignatureFormat, location_name: "SignatureFormat"))
2099
+ SmimeSigningScheme.struct_class = Types::SmimeSigningScheme
2100
+
2036
2101
  SnsDestination.add_member(:topic_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "TopicArn"))
2037
2102
  SnsDestination.struct_class = Types::SnsDestination
2038
2103
 
@@ -2185,6 +2250,12 @@ module Aws::SESV2
2185
2250
 
2186
2251
  UpdateConfigurationSetEventDestinationResponse.struct_class = Types::UpdateConfigurationSetEventDestinationResponse
2187
2252
 
2253
+ UpdateConfigurationSetRequest.add_member(:configuration_set_name, Shapes::ShapeRef.new(shape: ConfigurationSetName, required: true, location_name: "ConfigurationSetName"))
2254
+ UpdateConfigurationSetRequest.add_member(:message_security_options, Shapes::ShapeRef.new(shape: MessageSecurityOptions, location_name: "MessageSecurityOptions"))
2255
+ UpdateConfigurationSetRequest.struct_class = Types::UpdateConfigurationSetRequest
2256
+
2257
+ UpdateConfigurationSetResponse.struct_class = Types::UpdateConfigurationSetResponse
2258
+
2188
2259
  UpdateContactListRequest.add_member(:contact_list_name, Shapes::ShapeRef.new(shape: ContactListName, required: true, location: "uri", location_name: "ContactListName"))
2189
2260
  UpdateContactListRequest.add_member(:topics, Shapes::ShapeRef.new(shape: Topics, location_name: "Topics"))
2190
2261
  UpdateContactListRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
@@ -2280,6 +2351,18 @@ module Aws::SESV2
2280
2351
  "uid" => "sesv2-2019-09-27",
2281
2352
  }
2282
2353
 
2354
+ api.add_operation(:associate_email_identity_certificate, Seahorse::Model::Operation.new.tap do |o|
2355
+ o.name = "AssociateEmailIdentityCertificate"
2356
+ o.http_method = "POST"
2357
+ o.http_request_uri = "/v2/email/identity/certificates"
2358
+ o.input = Shapes::ShapeRef.new(shape: AssociateEmailIdentityCertificateRequest)
2359
+ o.output = Shapes::ShapeRef.new(shape: AssociateEmailIdentityCertificateResponse)
2360
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2361
+ o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsException)
2362
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2363
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2364
+ end)
2365
+
2283
2366
  api.add_operation(:batch_get_metric_data, Seahorse::Model::Operation.new.tap do |o|
2284
2367
  o.name = "BatchGetMetricData"
2285
2368
  o.http_method = "POST"
@@ -2643,6 +2726,17 @@ module Aws::SESV2
2643
2726
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2644
2727
  end)
2645
2728
 
2729
+ api.add_operation(:disassociate_email_identity_certificate, Seahorse::Model::Operation.new.tap do |o|
2730
+ o.name = "DisassociateEmailIdentityCertificate"
2731
+ o.http_method = "POST"
2732
+ o.http_request_uri = "/v2/email/identity/certificates/delete"
2733
+ o.input = Shapes::ShapeRef.new(shape: DisassociateEmailIdentityCertificateRequest)
2734
+ o.output = Shapes::ShapeRef.new(shape: DisassociateEmailIdentityCertificateResponse)
2735
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2736
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2737
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2738
+ end)
2739
+
2646
2740
  api.add_operation(:get_account, Seahorse::Model::Operation.new.tap do |o|
2647
2741
  o.name = "GetAccount"
2648
2742
  o.http_method = "GET"
@@ -3053,6 +3147,23 @@ module Aws::SESV2
3053
3147
  )
3054
3148
  end)
3055
3149
 
3150
+ api.add_operation(:list_email_identity_certificates, Seahorse::Model::Operation.new.tap do |o|
3151
+ o.name = "ListEmailIdentityCertificates"
3152
+ o.http_method = "POST"
3153
+ o.http_request_uri = "/v2/email/identity/certificates/list"
3154
+ o.input = Shapes::ShapeRef.new(shape: ListEmailIdentityCertificatesRequest)
3155
+ o.output = Shapes::ShapeRef.new(shape: ListEmailIdentityCertificatesResponse)
3156
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
3157
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
3158
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
3159
+ o[:pager] = Aws::Pager.new(
3160
+ limit_key: "page_size",
3161
+ tokens: {
3162
+ "next_token" => "next_token"
3163
+ }
3164
+ )
3165
+ end)
3166
+
3056
3167
  api.add_operation(:list_email_templates, Seahorse::Model::Operation.new.tap do |o|
3057
3168
  o.name = "ListEmailTemplates"
3058
3169
  o.http_method = "GET"
@@ -3574,6 +3685,17 @@ module Aws::SESV2
3574
3685
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
3575
3686
  end)
3576
3687
 
3688
+ api.add_operation(:update_configuration_set, Seahorse::Model::Operation.new.tap do |o|
3689
+ o.name = "UpdateConfigurationSet"
3690
+ o.http_method = "POST"
3691
+ o.http_request_uri = "/v2/email/update-configuration-sets"
3692
+ o.input = Shapes::ShapeRef.new(shape: UpdateConfigurationSetRequest)
3693
+ o.output = Shapes::ShapeRef.new(shape: UpdateConfigurationSetResponse)
3694
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
3695
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
3696
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
3697
+ end)
3698
+
3577
3699
  api.add_operation(:update_configuration_set_event_destination, Seahorse::Model::Operation.new.tap do |o|
3578
3700
  o.name = "UpdateConfigurationSetEventDestination"
3579
3701
  o.http_method = "PUT"
@@ -87,6 +87,43 @@ module Aws::SESV2
87
87
  include Aws::Structure
88
88
  end
89
89
 
90
+ # A request to associate an S/MIME certificate with an email identity.
91
+ #
92
+ # @!attribute [rw] email_identity
93
+ # The email identity, either an email address or a domain, to
94
+ # associate the certificate with.
95
+ # @return [String]
96
+ #
97
+ # @!attribute [rw] from_address
98
+ # The email address that the certificate applies to. This value is
99
+ # required when the email identity is a domain, and the address must
100
+ # belong to that domain or one of its subdomains. When the email
101
+ # identity is an email address, this value is optional. If you specify
102
+ # it, it must exactly match the email identity.
103
+ # @return [String]
104
+ #
105
+ # @!attribute [rw] certificate_arn
106
+ # The Amazon Resource Name (ARN) of the Certificate Manager (ACM)
107
+ # certificate to associate with the email identity.
108
+ # @return [String]
109
+ #
110
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/AssociateEmailIdentityCertificateRequest AWS API Documentation
111
+ #
112
+ class AssociateEmailIdentityCertificateRequest < Struct.new(
113
+ :email_identity,
114
+ :from_address,
115
+ :certificate_arn)
116
+ SENSITIVE = []
117
+ include Aws::Structure
118
+ end
119
+
120
+ # An HTTP 200 response if the request succeeds, or an error message if
121
+ # the request fails.
122
+ #
123
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/AssociateEmailIdentityCertificateResponse AWS API Documentation
124
+ #
125
+ class AssociateEmailIdentityCertificateResponse < Aws::EmptyStructure; end
126
+
90
127
  # Contains metadata and attachment raw content.
91
128
  #
92
129
  # @!attribute [rw] raw_content
@@ -840,6 +877,12 @@ module Aws::SESV2
840
877
  # that you send using the configuration set.
841
878
  # @return [Types::ArchivingOptions]
842
879
  #
880
+ # @!attribute [rw] message_security_options
881
+ # The message security options to apply to the configuration set, such
882
+ # as the signing scheme used for messages that you send with the
883
+ # configuration set.
884
+ # @return [Types::MessageSecurityOptions]
885
+ #
843
886
  # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/CreateConfigurationSetRequest AWS API Documentation
844
887
  #
845
888
  class CreateConfigurationSetRequest < Struct.new(
@@ -851,7 +894,8 @@ module Aws::SESV2
851
894
  :tags,
852
895
  :suppression_options,
853
896
  :vdm_options,
854
- :archiving_options)
897
+ :archiving_options,
898
+ :message_security_options)
855
899
  SENSITIVE = []
856
900
  include Aws::Structure
857
901
  end
@@ -1690,6 +1734,16 @@ module Aws::SESV2
1690
1734
  include Aws::Structure
1691
1735
  end
1692
1736
 
1737
+ # Specifies the default signing scheme, in which Amazon SES API v2
1738
+ # doesn't apply S/MIME signing to messages sent with the configuration
1739
+ # set.
1740
+ #
1741
+ # @api private
1742
+ #
1743
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/DefaultSigningScheme AWS API Documentation
1744
+ #
1745
+ class DefaultSigningScheme < Aws::EmptyStructure; end
1746
+
1693
1747
  # A request to delete an event destination from a configuration set.
1694
1748
  #
1695
1749
  # @!attribute [rw] configuration_set_name
@@ -2164,6 +2218,35 @@ module Aws::SESV2
2164
2218
  include Aws::Structure
2165
2219
  end
2166
2220
 
2221
+ # A request to remove the association between an S/MIME certificate and
2222
+ # an email identity.
2223
+ #
2224
+ # @!attribute [rw] email_identity
2225
+ # The email identity whose certificate association you want to remove.
2226
+ # @return [String]
2227
+ #
2228
+ # @!attribute [rw] from_address
2229
+ # The email address whose certificate association you want to remove.
2230
+ # This value is required when the email identity is a domain. When the
2231
+ # email identity is an email address, this value is optional.
2232
+ # @return [String]
2233
+ #
2234
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/DisassociateEmailIdentityCertificateRequest AWS API Documentation
2235
+ #
2236
+ class DisassociateEmailIdentityCertificateRequest < Struct.new(
2237
+ :email_identity,
2238
+ :from_address)
2239
+ SENSITIVE = []
2240
+ include Aws::Structure
2241
+ end
2242
+
2243
+ # An HTTP 200 response if the request succeeds, or an error message if
2244
+ # the request fails.
2245
+ #
2246
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/DisassociateEmailIdentityCertificateResponse AWS API Documentation
2247
+ #
2248
+ class DisassociateEmailIdentityCertificateResponse < Aws::EmptyStructure; end
2249
+
2167
2250
  # An object that contains information about the DKIM authentication
2168
2251
  # status for an email identity.
2169
2252
  #
@@ -3615,6 +3698,12 @@ module Aws::SESV2
3615
3698
  # archived that you send using the configuration set.
3616
3699
  # @return [Types::ArchivingOptions]
3617
3700
  #
3701
+ # @!attribute [rw] message_security_options
3702
+ # The message security options that are applied to the configuration
3703
+ # set, such as the signing scheme used for messages that you send with
3704
+ # the configuration set.
3705
+ # @return [Types::MessageSecurityOptions]
3706
+ #
3618
3707
  # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetConfigurationSetResponse AWS API Documentation
3619
3708
  #
3620
3709
  class GetConfigurationSetResponse < Struct.new(
@@ -3626,7 +3715,8 @@ module Aws::SESV2
3626
3715
  :tags,
3627
3716
  :suppression_options,
3628
3717
  :vdm_options,
3629
- :archiving_options)
3718
+ :archiving_options,
3719
+ :message_security_options)
3630
3720
  SENSITIVE = []
3631
3721
  include Aws::Structure
3632
3722
  end
@@ -4750,6 +4840,38 @@ module Aws::SESV2
4750
4840
  include Aws::Structure
4751
4841
  end
4752
4842
 
4843
+ # An object that contains information about an S/MIME certificate
4844
+ # that's associated with an email identity.
4845
+ #
4846
+ # @!attribute [rw] from_address
4847
+ # The email address that the certificate applies to.
4848
+ # @return [String]
4849
+ #
4850
+ # @!attribute [rw] status
4851
+ # The status of the certificate association. A status of `ACTIVE`
4852
+ # indicates that the certificate is ready to use for signing.
4853
+ # @return [String]
4854
+ #
4855
+ # @!attribute [rw] certificate_arn
4856
+ # The Amazon Resource Name (ARN) of the Certificate Manager (ACM)
4857
+ # certificate that's associated with the email identity.
4858
+ # @return [String]
4859
+ #
4860
+ # @!attribute [rw] certificate_expiry_time
4861
+ # The timestamp after which the certificate is no longer valid.
4862
+ # @return [Time]
4863
+ #
4864
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/IdentityCertificate AWS API Documentation
4865
+ #
4866
+ class IdentityCertificate < Struct.new(
4867
+ :from_address,
4868
+ :status,
4869
+ :certificate_arn,
4870
+ :certificate_expiry_time)
4871
+ SENSITIVE = []
4872
+ include Aws::Structure
4873
+ end
4874
+
4753
4875
  # Information about an email identity.
4754
4876
  #
4755
4877
  # @!attribute [rw] identity_type
@@ -5474,6 +5596,62 @@ module Aws::SESV2
5474
5596
  include Aws::Structure
5475
5597
  end
5476
5598
 
5599
+ # A request to list the S/MIME certificates that are associated with an
5600
+ # email identity.
5601
+ #
5602
+ # @!attribute [rw] email_identity
5603
+ # The email identity whose certificate associations you want to list.
5604
+ # @return [String]
5605
+ #
5606
+ # @!attribute [rw] next_token
5607
+ # A token returned from a previous call to
5608
+ # `ListEmailIdentityCertificates` to indicate the position in the list
5609
+ # of certificates.
5610
+ # @return [String]
5611
+ #
5612
+ # @!attribute [rw] page_size
5613
+ # The number of results to show in a single call to
5614
+ # `ListEmailIdentityCertificates`. If the number of results is larger
5615
+ # than the number you specified in this parameter, then the response
5616
+ # includes a `NextToken` element, which you can use to obtain
5617
+ # additional results.
5618
+ # @return [Integer]
5619
+ #
5620
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ListEmailIdentityCertificatesRequest AWS API Documentation
5621
+ #
5622
+ class ListEmailIdentityCertificatesRequest < Struct.new(
5623
+ :email_identity,
5624
+ :next_token,
5625
+ :page_size)
5626
+ SENSITIVE = []
5627
+ include Aws::Structure
5628
+ end
5629
+
5630
+ # Information about the S/MIME certificates that are associated with an
5631
+ # email identity.
5632
+ #
5633
+ # @!attribute [rw] certificates
5634
+ # An array that contains the certificate associations for the email
5635
+ # identity. Each entry includes the from address, the certificate's
5636
+ # status, its Amazon Resource Name (ARN), and its expiry time.
5637
+ # @return [Array<Types::IdentityCertificate>]
5638
+ #
5639
+ # @!attribute [rw] next_token
5640
+ # A token that indicates that there are additional certificates to
5641
+ # list. To view additional certificates, issue another request to
5642
+ # `ListEmailIdentityCertificates`, and pass this token in the
5643
+ # `NextToken` parameter.
5644
+ # @return [String]
5645
+ #
5646
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ListEmailIdentityCertificatesResponse AWS API Documentation
5647
+ #
5648
+ class ListEmailIdentityCertificatesResponse < Struct.new(
5649
+ :certificates,
5650
+ :next_token)
5651
+ SENSITIVE = []
5652
+ include Aws::Structure
5653
+ end
5654
+
5477
5655
  # Represents a request to list the email templates present in your
5478
5656
  # Amazon SES account in the current Amazon Web Services Region. For more
5479
5657
  # information, see the [Amazon SES Developer Guide][1].
@@ -6255,6 +6433,11 @@ module Aws::SESV2
6255
6433
  #
6256
6434
  # @!attribute [rw] max_results
6257
6435
  # The maximum number of results.
6436
+ #
6437
+ # <note markdown="1"> If you don't specify `MaxResults`, the export returns a maximum of
6438
+ # 1,000 results.
6439
+ #
6440
+ # </note>
6258
6441
  # @return [Integer]
6259
6442
  #
6260
6443
  # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/MessageInsightsDataSource AWS API Documentation
@@ -6336,6 +6519,24 @@ module Aws::SESV2
6336
6519
  #
6337
6520
  class MessageRejected < Aws::EmptyStructure; end
6338
6521
 
6522
+ # An object that defines the message-level security options that apply
6523
+ # to messages that you send using the configuration set. Currently,
6524
+ # these options determine whether Amazon SES API v2 adds an S/MIME
6525
+ # signature to your messages and, if so, the format of that signature.
6526
+ #
6527
+ # @!attribute [rw] signing_scheme
6528
+ # The signing scheme that Amazon SES API v2 applies to messages sent
6529
+ # with the configuration set.
6530
+ # @return [Types::SigningScheme]
6531
+ #
6532
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/MessageSecurityOptions AWS API Documentation
6533
+ #
6534
+ class MessageSecurityOptions < Struct.new(
6535
+ :signing_scheme)
6536
+ SENSITIVE = []
6537
+ include Aws::Structure
6538
+ end
6539
+
6339
6540
  # Contains the name and value of a tag that you apply to an email. You
6340
6541
  # can use message tags when you publish email sending events.
6341
6542
  #
@@ -8304,6 +8505,57 @@ module Aws::SESV2
8304
8505
  #
8305
8506
  class SendingPausedException < Aws::EmptyStructure; end
8306
8507
 
8508
+ # Specifies the signing scheme to apply to messages sent with a
8509
+ # configuration set. This is a union type, so you specify exactly one of
8510
+ # its members.
8511
+ #
8512
+ # @note SigningScheme is a union - when making an API calls you must set exactly one of the members.
8513
+ #
8514
+ # @note SigningScheme is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of SigningScheme corresponding to the set member.
8515
+ #
8516
+ # @!attribute [rw] default_scheme
8517
+ # Use the default signing behavior. When you select this option,
8518
+ # Amazon SES API v2 doesn't add an S/MIME signature to messages sent
8519
+ # with the configuration set.
8520
+ # @return [Types::DefaultSigningScheme]
8521
+ #
8522
+ # @!attribute [rw] smime_scheme
8523
+ # Sign messages sent with the configuration set using S/MIME. For
8524
+ # signing to apply, the email identity used to send a message must
8525
+ # have an active S/MIME certificate association.
8526
+ # @return [Types::SmimeSigningScheme]
8527
+ #
8528
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/SigningScheme AWS API Documentation
8529
+ #
8530
+ class SigningScheme < Struct.new(
8531
+ :default_scheme,
8532
+ :smime_scheme,
8533
+ :unknown)
8534
+ SENSITIVE = []
8535
+ include Aws::Structure
8536
+ include Aws::Structure::Union
8537
+
8538
+ class DefaultScheme < SigningScheme; end
8539
+ class SmimeScheme < SigningScheme; end
8540
+ class Unknown < SigningScheme; end
8541
+ end
8542
+
8543
+ # Specifies that Amazon SES API v2 signs messages sent with the
8544
+ # configuration set using S/MIME.
8545
+ #
8546
+ # @!attribute [rw] signature_format
8547
+ # The format of the S/MIME signature that Amazon SES API v2 applies to
8548
+ # messages.
8549
+ # @return [String]
8550
+ #
8551
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/SmimeSigningScheme AWS API Documentation
8552
+ #
8553
+ class SmimeSigningScheme < Struct.new(
8554
+ :signature_format)
8555
+ SENSITIVE = []
8556
+ include Aws::Structure
8557
+ end
8558
+
8307
8559
  # An object that defines an Amazon SNS destination for email events. You
8308
8560
  # can use Amazon SNS to send notifications when certain email events
8309
8561
  # occur.
@@ -9169,6 +9421,34 @@ module Aws::SESV2
9169
9421
  #
9170
9422
  class UpdateConfigurationSetEventDestinationResponse < Aws::EmptyStructure; end
9171
9423
 
9424
+ # A request to update the configuration of an existing configuration
9425
+ # set.
9426
+ #
9427
+ # @!attribute [rw] configuration_set_name
9428
+ # The name of the configuration set to update.
9429
+ # @return [String]
9430
+ #
9431
+ # @!attribute [rw] message_security_options
9432
+ # The security options that apply to the MIME message itself for
9433
+ # messages sent with the configuration set.
9434
+ # @return [Types::MessageSecurityOptions]
9435
+ #
9436
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/UpdateConfigurationSetRequest AWS API Documentation
9437
+ #
9438
+ class UpdateConfigurationSetRequest < Struct.new(
9439
+ :configuration_set_name,
9440
+ :message_security_options)
9441
+ SENSITIVE = []
9442
+ include Aws::Structure
9443
+ end
9444
+
9445
+ # An HTTP 200 response if the request succeeds, or an error message if
9446
+ # the request fails.
9447
+ #
9448
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/UpdateConfigurationSetResponse AWS API Documentation
9449
+ #
9450
+ class UpdateConfigurationSetResponse < Aws::EmptyStructure; end
9451
+
9172
9452
  # @!attribute [rw] contact_list_name
9173
9453
  # The name of the contact list.
9174
9454
  # @return [String]
data/lib/aws-sdk-sesv2.rb CHANGED
@@ -23,7 +23,7 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:sesv2)
23
23
  # structure.
24
24
  #
25
25
  # sesv2 = Aws::SESV2::Client.new
26
- # resp = sesv2.batch_get_metric_data(params)
26
+ # resp = sesv2.associate_email_identity_certificate(params)
27
27
  #
28
28
  # See {Client} for more information.
29
29
  #
@@ -54,7 +54,7 @@ module Aws::SESV2
54
54
  autoload :EndpointProvider, 'aws-sdk-sesv2/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-sesv2/endpoints'
56
56
 
57
- GEM_VERSION = '1.106.0'
57
+ GEM_VERSION = '1.107.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -78,6 +78,17 @@ module Aws
78
78
  | (?Hash[Symbol, untyped]) -> instance
79
79
 
80
80
 
81
+ interface _AssociateEmailIdentityCertificateResponseSuccess
82
+ include ::Seahorse::Client::_ResponseSuccess[Types::AssociateEmailIdentityCertificateResponse]
83
+ end
84
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SESV2/Client.html#associate_email_identity_certificate-instance_method
85
+ def associate_email_identity_certificate: (
86
+ email_identity: ::String,
87
+ ?from_address: ::String,
88
+ certificate_arn: ::String
89
+ ) -> _AssociateEmailIdentityCertificateResponseSuccess
90
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateEmailIdentityCertificateResponseSuccess
91
+
81
92
  interface _BatchGetMetricDataResponseSuccess
82
93
  include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetMetricDataResponse]
83
94
  def results: () -> ::Array[Types::MetricDataResult]
@@ -143,7 +154,8 @@ module Aws
143
154
  ?vdm_options: Params::vdm_options,
144
155
  ?archiving_options: {
145
156
  archive_arn: ::String?
146
- }
157
+ },
158
+ ?message_security_options: Params::message_security_options
147
159
  ) -> _CreateConfigurationSetResponseSuccess
148
160
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateConfigurationSetResponseSuccess
149
161
 
@@ -550,6 +562,16 @@ module Aws
550
562
  ) -> _DeleteTenantResourceAssociationResponseSuccess
551
563
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteTenantResourceAssociationResponseSuccess
552
564
 
565
+ interface _DisassociateEmailIdentityCertificateResponseSuccess
566
+ include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateEmailIdentityCertificateResponse]
567
+ end
568
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SESV2/Client.html#disassociate_email_identity_certificate-instance_method
569
+ def disassociate_email_identity_certificate: (
570
+ email_identity: ::String,
571
+ ?from_address: ::String
572
+ ) -> _DisassociateEmailIdentityCertificateResponseSuccess
573
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateEmailIdentityCertificateResponseSuccess
574
+
553
575
  interface _GetAccountResponseSuccess
554
576
  include ::Seahorse::Client::_ResponseSuccess[Types::GetAccountResponse]
555
577
  def dedicated_ip_auto_warmup_enabled: () -> bool
@@ -588,6 +610,7 @@ module Aws
588
610
  def suppression_options: () -> Types::SuppressionOptions
589
611
  def vdm_options: () -> Types::VdmOptions
590
612
  def archiving_options: () -> Types::ArchivingOptions
613
+ def message_security_options: () -> Types::MessageSecurityOptions
591
614
  end
592
615
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SESV2/Client.html#get_configuration_set-instance_method
593
616
  def get_configuration_set: (
@@ -992,6 +1015,19 @@ module Aws
992
1015
  ) -> _ListEmailIdentitiesResponseSuccess
993
1016
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListEmailIdentitiesResponseSuccess
994
1017
 
1018
+ interface _ListEmailIdentityCertificatesResponseSuccess
1019
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListEmailIdentityCertificatesResponse]
1020
+ def certificates: () -> ::Array[Types::IdentityCertificate]
1021
+ def next_token: () -> ::String
1022
+ end
1023
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SESV2/Client.html#list_email_identity_certificates-instance_method
1024
+ def list_email_identity_certificates: (
1025
+ email_identity: ::String,
1026
+ ?next_token: ::String,
1027
+ ?page_size: ::Integer
1028
+ ) -> _ListEmailIdentityCertificatesResponseSuccess
1029
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListEmailIdentityCertificatesResponseSuccess
1030
+
995
1031
  interface _ListEmailTemplatesResponseSuccess
996
1032
  include ::Seahorse::Client::_ResponseSuccess[Types::ListEmailTemplatesResponse]
997
1033
  def templates_metadata: () -> ::Array[Types::EmailTemplateMetadata]
@@ -1560,6 +1596,16 @@ module Aws
1560
1596
  ) -> _UntagResourceResponseSuccess
1561
1597
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
1562
1598
 
1599
+ interface _UpdateConfigurationSetResponseSuccess
1600
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateConfigurationSetResponse]
1601
+ end
1602
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SESV2/Client.html#update_configuration_set-instance_method
1603
+ def update_configuration_set: (
1604
+ configuration_set_name: ::String,
1605
+ ?message_security_options: Params::message_security_options
1606
+ ) -> _UpdateConfigurationSetResponseSuccess
1607
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateConfigurationSetResponseSuccess
1608
+
1563
1609
  interface _UpdateConfigurationSetEventDestinationResponseSuccess
1564
1610
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateConfigurationSetEventDestinationResponse]
1565
1611
  end
data/sig/params.rbs CHANGED
@@ -26,6 +26,16 @@ module Aws
26
26
  }?
27
27
  }
28
28
 
29
+ type message_security_options = {
30
+ signing_scheme: {
31
+ default_scheme: {
32
+ }?,
33
+ smime_scheme: {
34
+ signature_format: ("DETACHED")?
35
+ }?
36
+ }?
37
+ }
38
+
29
39
  type event_destination_definition = {
30
40
  enabled: bool?,
31
41
  matching_event_types: Array[("SEND" | "REJECT" | "BOUNCE" | "COMPLAINT" | "DELIVERY" | "OPEN" | "CLICK" | "RENDERING_FAILURE" | "DELIVERY_DELAY" | "SUBSCRIPTION")]?,
data/sig/types.rbs CHANGED
@@ -29,6 +29,16 @@ module Aws::SESV2
29
29
  SENSITIVE: []
30
30
  end
31
31
 
32
+ class AssociateEmailIdentityCertificateRequest
33
+ attr_accessor email_identity: ::String
34
+ attr_accessor from_address: ::String
35
+ attr_accessor certificate_arn: ::String
36
+ SENSITIVE: []
37
+ end
38
+
39
+ class AssociateEmailIdentityCertificateResponse < Aws::EmptyStructure
40
+ end
41
+
32
42
  class Attachment
33
43
  attr_accessor raw_content: ::String
34
44
  attr_accessor content_disposition: ("ATTACHMENT" | "INLINE")
@@ -188,6 +198,7 @@ module Aws::SESV2
188
198
  attr_accessor suppression_options: Types::SuppressionOptions
189
199
  attr_accessor vdm_options: Types::VdmOptions
190
200
  attr_accessor archiving_options: Types::ArchivingOptions
201
+ attr_accessor message_security_options: Types::MessageSecurityOptions
191
202
  SENSITIVE: []
192
203
  end
193
204
 
@@ -392,6 +403,9 @@ module Aws::SESV2
392
403
  SENSITIVE: []
393
404
  end
394
405
 
406
+ class DefaultSigningScheme < Aws::EmptyStructure
407
+ end
408
+
395
409
  class DeleteConfigurationSetEventDestinationRequest
396
410
  attr_accessor configuration_set_name: ::String
397
411
  attr_accessor event_destination_name: ::String
@@ -532,6 +546,15 @@ module Aws::SESV2
532
546
  SENSITIVE: []
533
547
  end
534
548
 
549
+ class DisassociateEmailIdentityCertificateRequest
550
+ attr_accessor email_identity: ::String
551
+ attr_accessor from_address: ::String
552
+ SENSITIVE: []
553
+ end
554
+
555
+ class DisassociateEmailIdentityCertificateResponse < Aws::EmptyStructure
556
+ end
557
+
535
558
  class DkimAttributes
536
559
  attr_accessor signing_enabled: bool
537
560
  attr_accessor status: ("PENDING" | "SUCCESS" | "FAILED" | "TEMPORARY_FAILURE" | "NOT_STARTED")
@@ -752,6 +775,7 @@ module Aws::SESV2
752
775
  attr_accessor suppression_options: Types::SuppressionOptions
753
776
  attr_accessor vdm_options: Types::VdmOptions
754
777
  attr_accessor archiving_options: Types::ArchivingOptions
778
+ attr_accessor message_security_options: Types::MessageSecurityOptions
755
779
  SENSITIVE: []
756
780
  end
757
781
 
@@ -1044,6 +1068,14 @@ module Aws::SESV2
1044
1068
  SENSITIVE: []
1045
1069
  end
1046
1070
 
1071
+ class IdentityCertificate
1072
+ attr_accessor from_address: ::String
1073
+ attr_accessor status: ("PROVISIONING" | "INACTIVE" | "DEPROVISIONING" | "ACTIVE" | "FAILED")
1074
+ attr_accessor certificate_arn: ::String
1075
+ attr_accessor certificate_expiry_time: ::Time
1076
+ SENSITIVE: []
1077
+ end
1078
+
1047
1079
  class IdentityInfo
1048
1080
  attr_accessor identity_type: ("EMAIL_ADDRESS" | "DOMAIN" | "MANAGED_DOMAIN")
1049
1081
  attr_accessor identity_name: ::String
@@ -1215,6 +1247,19 @@ module Aws::SESV2
1215
1247
  SENSITIVE: []
1216
1248
  end
1217
1249
 
1250
+ class ListEmailIdentityCertificatesRequest
1251
+ attr_accessor email_identity: ::String
1252
+ attr_accessor next_token: ::String
1253
+ attr_accessor page_size: ::Integer
1254
+ SENSITIVE: []
1255
+ end
1256
+
1257
+ class ListEmailIdentityCertificatesResponse
1258
+ attr_accessor certificates: ::Array[Types::IdentityCertificate]
1259
+ attr_accessor next_token: ::String
1260
+ SENSITIVE: []
1261
+ end
1262
+
1218
1263
  class ListEmailTemplatesRequest
1219
1264
  attr_accessor next_token: ::String
1220
1265
  attr_accessor page_size: ::Integer
@@ -1415,6 +1460,11 @@ module Aws::SESV2
1415
1460
  class MessageRejected < Aws::EmptyStructure
1416
1461
  end
1417
1462
 
1463
+ class MessageSecurityOptions
1464
+ attr_accessor signing_scheme: Types::SigningScheme
1465
+ SENSITIVE: []
1466
+ end
1467
+
1418
1468
  class MessageTag
1419
1469
  attr_accessor name: ::String
1420
1470
  attr_accessor value: ::String
@@ -1857,6 +1907,25 @@ module Aws::SESV2
1857
1907
  class SendingPausedException < Aws::EmptyStructure
1858
1908
  end
1859
1909
 
1910
+ class SigningScheme
1911
+ attr_accessor default_scheme: Types::DefaultSigningScheme
1912
+ attr_accessor smime_scheme: Types::SmimeSigningScheme
1913
+ attr_accessor unknown: untyped
1914
+ SENSITIVE: []
1915
+
1916
+ class DefaultScheme < SigningScheme
1917
+ end
1918
+ class SmimeScheme < SigningScheme
1919
+ end
1920
+ class Unknown < SigningScheme
1921
+ end
1922
+ end
1923
+
1924
+ class SmimeSigningScheme
1925
+ attr_accessor signature_format: ("DETACHED")
1926
+ SENSITIVE: []
1927
+ end
1928
+
1860
1929
  class SnsDestination
1861
1930
  attr_accessor topic_arn: ::String
1862
1931
  SENSITIVE: []
@@ -2051,6 +2120,15 @@ module Aws::SESV2
2051
2120
  class UpdateConfigurationSetEventDestinationResponse < Aws::EmptyStructure
2052
2121
  end
2053
2122
 
2123
+ class UpdateConfigurationSetRequest
2124
+ attr_accessor configuration_set_name: ::String
2125
+ attr_accessor message_security_options: Types::MessageSecurityOptions
2126
+ SENSITIVE: []
2127
+ end
2128
+
2129
+ class UpdateConfigurationSetResponse < Aws::EmptyStructure
2130
+ end
2131
+
2054
2132
  class UpdateContactListRequest
2055
2133
  attr_accessor contact_list_name: ::String
2056
2134
  attr_accessor topics: ::Array[Types::Topic]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-sesv2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.106.0
4
+ version: 1.107.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services