aws-sdk-ses 1.77.0 → 1.78.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ses/client.rb +15 -1
- data/lib/aws-sdk-ses/client_api.rb +7 -0
- data/lib/aws-sdk-ses/types.rb +63 -16
- data/lib/aws-sdk-ses.rb +1 -1
- data/sig/client.rbs +8 -0
- data/sig/types.rbs +7 -0
- 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: c16d9302d637b2182cad34acd124696c642d9e8898d506fe313c2b589198d4a5
|
4
|
+
data.tar.gz: a1da78f7a227553891876a1b44527fc8c74afff670862808a794667cf5685ccc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 270d3d0913378d334a650f5114cb0138149515d4062ecd47dbbdecd317018a89a15d227078e359432682060b1a7ead529d64401cf1723bec4c0154be57113a29
|
7
|
+
data.tar.gz: 74e52f2d6e94e9d019196eda894428ade061640a14f6076b291c543b8f66f076b89a9f4679326276924c5d46139a39107c25baea6bc061a9f41f2152a072b4d0
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.78.0 (2024-11-22)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds support for starting email contacts in your Amazon Connect instance as an email receiving action.
|
8
|
+
|
4
9
|
1.77.0 (2024-11-18)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.78.0
|
data/lib/aws-sdk-ses/client.rb
CHANGED
@@ -860,6 +860,10 @@ module Aws::SES
|
|
860
860
|
# topic_arn: "AmazonResourceName", # required
|
861
861
|
# encoding: "UTF-8", # accepts UTF-8, Base64
|
862
862
|
# },
|
863
|
+
# connect_action: {
|
864
|
+
# instance_arn: "ConnectInstanceArn", # required
|
865
|
+
# iam_role_arn: "IAMRoleARN", # required
|
866
|
+
# },
|
863
867
|
# },
|
864
868
|
# ],
|
865
869
|
# scan_enabled: false,
|
@@ -1458,6 +1462,8 @@ module Aws::SES
|
|
1458
1462
|
# resp.rules[0].actions[0].add_header_action.header_value #=> String
|
1459
1463
|
# resp.rules[0].actions[0].sns_action.topic_arn #=> String
|
1460
1464
|
# resp.rules[0].actions[0].sns_action.encoding #=> String, one of "UTF-8", "Base64"
|
1465
|
+
# resp.rules[0].actions[0].connect_action.instance_arn #=> String
|
1466
|
+
# resp.rules[0].actions[0].connect_action.iam_role_arn #=> String
|
1461
1467
|
# resp.rules[0].scan_enabled #=> Boolean
|
1462
1468
|
#
|
1463
1469
|
# @see http://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DescribeActiveReceiptRuleSet AWS API Documentation
|
@@ -1615,6 +1621,8 @@ module Aws::SES
|
|
1615
1621
|
# resp.rule.actions[0].add_header_action.header_value #=> String
|
1616
1622
|
# resp.rule.actions[0].sns_action.topic_arn #=> String
|
1617
1623
|
# resp.rule.actions[0].sns_action.encoding #=> String, one of "UTF-8", "Base64"
|
1624
|
+
# resp.rule.actions[0].connect_action.instance_arn #=> String
|
1625
|
+
# resp.rule.actions[0].connect_action.iam_role_arn #=> String
|
1618
1626
|
# resp.rule.scan_enabled #=> Boolean
|
1619
1627
|
#
|
1620
1628
|
# @see http://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DescribeReceiptRule AWS API Documentation
|
@@ -1716,6 +1724,8 @@ module Aws::SES
|
|
1716
1724
|
# resp.rules[0].actions[0].add_header_action.header_value #=> String
|
1717
1725
|
# resp.rules[0].actions[0].sns_action.topic_arn #=> String
|
1718
1726
|
# resp.rules[0].actions[0].sns_action.encoding #=> String, one of "UTF-8", "Base64"
|
1727
|
+
# resp.rules[0].actions[0].connect_action.instance_arn #=> String
|
1728
|
+
# resp.rules[0].actions[0].connect_action.iam_role_arn #=> String
|
1719
1729
|
# resp.rules[0].scan_enabled #=> Boolean
|
1720
1730
|
#
|
1721
1731
|
# @see http://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DescribeReceiptRuleSet AWS API Documentation
|
@@ -4910,6 +4920,10 @@ module Aws::SES
|
|
4910
4920
|
# topic_arn: "AmazonResourceName", # required
|
4911
4921
|
# encoding: "UTF-8", # accepts UTF-8, Base64
|
4912
4922
|
# },
|
4923
|
+
# connect_action: {
|
4924
|
+
# instance_arn: "ConnectInstanceArn", # required
|
4925
|
+
# iam_role_arn: "IAMRoleARN", # required
|
4926
|
+
# },
|
4913
4927
|
# },
|
4914
4928
|
# ],
|
4915
4929
|
# scan_enabled: false,
|
@@ -5182,7 +5196,7 @@ module Aws::SES
|
|
5182
5196
|
tracer: tracer
|
5183
5197
|
)
|
5184
5198
|
context[:gem_name] = 'aws-sdk-ses'
|
5185
|
-
context[:gem_version] = '1.
|
5199
|
+
context[:gem_version] = '1.78.0'
|
5186
5200
|
Seahorse::Client::Request.new(handlers, context)
|
5187
5201
|
end
|
5188
5202
|
|
@@ -51,6 +51,8 @@ module Aws::SES
|
|
51
51
|
ConfigurationSetName = Shapes::StringShape.new(name: 'ConfigurationSetName')
|
52
52
|
ConfigurationSetSendingPausedException = Shapes::StructureShape.new(name: 'ConfigurationSetSendingPausedException', error: {"code"=>"ConfigurationSetSendingPausedException", "httpStatusCode"=>400, "senderFault"=>true})
|
53
53
|
ConfigurationSets = Shapes::ListShape.new(name: 'ConfigurationSets')
|
54
|
+
ConnectAction = Shapes::StructureShape.new(name: 'ConnectAction')
|
55
|
+
ConnectInstanceArn = Shapes::StringShape.new(name: 'ConnectInstanceArn')
|
54
56
|
Content = Shapes::StructureShape.new(name: 'Content')
|
55
57
|
Counter = Shapes::IntegerShape.new(name: 'Counter')
|
56
58
|
CreateConfigurationSetEventDestinationRequest = Shapes::StructureShape.new(name: 'CreateConfigurationSetEventDestinationRequest')
|
@@ -408,6 +410,10 @@ module Aws::SES
|
|
408
410
|
|
409
411
|
ConfigurationSets.member = Shapes::ShapeRef.new(shape: ConfigurationSet)
|
410
412
|
|
413
|
+
ConnectAction.add_member(:instance_arn, Shapes::ShapeRef.new(shape: ConnectInstanceArn, required: true, location_name: "InstanceARN"))
|
414
|
+
ConnectAction.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: IAMRoleARN, required: true, location_name: "IAMRoleARN"))
|
415
|
+
ConnectAction.struct_class = Types::ConnectAction
|
416
|
+
|
411
417
|
Content.add_member(:data, Shapes::ShapeRef.new(shape: MessageData, required: true, location_name: "Data"))
|
412
418
|
Content.add_member(:charset, Shapes::ShapeRef.new(shape: Charset, location_name: "Charset"))
|
413
419
|
Content.struct_class = Types::Content
|
@@ -843,6 +849,7 @@ module Aws::SES
|
|
843
849
|
ReceiptAction.add_member(:stop_action, Shapes::ShapeRef.new(shape: StopAction, location_name: "StopAction"))
|
844
850
|
ReceiptAction.add_member(:add_header_action, Shapes::ShapeRef.new(shape: AddHeaderAction, location_name: "AddHeaderAction"))
|
845
851
|
ReceiptAction.add_member(:sns_action, Shapes::ShapeRef.new(shape: SNSAction, location_name: "SNSAction"))
|
852
|
+
ReceiptAction.add_member(:connect_action, Shapes::ShapeRef.new(shape: ConnectAction, location_name: "ConnectAction"))
|
846
853
|
ReceiptAction.struct_class = Types::ReceiptAction
|
847
854
|
|
848
855
|
ReceiptActionsList.member = Shapes::ShapeRef.new(shape: ReceiptAction)
|
data/lib/aws-sdk-ses/types.rb
CHANGED
@@ -538,6 +538,45 @@ module Aws::SES
|
|
538
538
|
include Aws::Structure
|
539
539
|
end
|
540
540
|
|
541
|
+
# When included in a receipt rule, this action parses the received
|
542
|
+
# message and starts an email contact in Amazon Connect on your behalf.
|
543
|
+
#
|
544
|
+
# <note markdown="1"> When you receive emails, the maximum email size (including headers) is
|
545
|
+
# 40 MB. Additionally, emails may only have up to 10 attachments. Emails
|
546
|
+
# larger than 40 MB or with more than 10 attachments will be bounced.
|
547
|
+
#
|
548
|
+
# </note>
|
549
|
+
#
|
550
|
+
# We recommend that you configure this action via Amazon Connect.
|
551
|
+
#
|
552
|
+
# @!attribute [rw] instance_arn
|
553
|
+
# The Amazon Resource Name (ARN) for the Amazon Connect instance that
|
554
|
+
# Amazon SES integrates with for starting email contacts.
|
555
|
+
#
|
556
|
+
# For more information about Amazon Connect instances, see the [Amazon
|
557
|
+
# Connect Administrator Guide][1]
|
558
|
+
#
|
559
|
+
#
|
560
|
+
#
|
561
|
+
# [1]: https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-instances.html
|
562
|
+
# @return [String]
|
563
|
+
#
|
564
|
+
# @!attribute [rw] iam_role_arn
|
565
|
+
# The Amazon Resource Name (ARN) of the IAM role to be used by Amazon
|
566
|
+
# Simple Email Service while starting email contacts to the Amazon
|
567
|
+
# Connect instance. This role should have permission to invoke
|
568
|
+
# `connect:StartEmailContact` for the given Amazon Connect instance.
|
569
|
+
# @return [String]
|
570
|
+
#
|
571
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ConnectAction AWS API Documentation
|
572
|
+
#
|
573
|
+
class ConnectAction < Struct.new(
|
574
|
+
:instance_arn,
|
575
|
+
:iam_role_arn)
|
576
|
+
SENSITIVE = []
|
577
|
+
include Aws::Structure
|
578
|
+
end
|
579
|
+
|
541
580
|
# Represents textual data, plus an optional character set specification.
|
542
581
|
#
|
543
582
|
# By default, the text must be 7-bit ASCII, due to the constraints of
|
@@ -3080,6 +3119,11 @@ module Aws::SES
|
|
3080
3119
|
# Publishes the email content within a notification to Amazon SNS.
|
3081
3120
|
# @return [Types::SNSAction]
|
3082
3121
|
#
|
3122
|
+
# @!attribute [rw] connect_action
|
3123
|
+
# Parses the received message and starts an email contact in Amazon
|
3124
|
+
# Connect on your behalf.
|
3125
|
+
# @return [Types::ConnectAction]
|
3126
|
+
#
|
3083
3127
|
# @see http://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ReceiptAction AWS API Documentation
|
3084
3128
|
#
|
3085
3129
|
class ReceiptAction < Struct.new(
|
@@ -3089,7 +3133,8 @@ module Aws::SES
|
|
3089
3133
|
:lambda_action,
|
3090
3134
|
:stop_action,
|
3091
3135
|
:add_header_action,
|
3092
|
-
:sns_action
|
3136
|
+
:sns_action,
|
3137
|
+
:connect_action)
|
3093
3138
|
SENSITIVE = []
|
3094
3139
|
include Aws::Structure
|
3095
3140
|
end
|
@@ -3527,27 +3572,29 @@ module Aws::SES
|
|
3527
3572
|
# @!attribute [rw] kms_key_arn
|
3528
3573
|
# The customer managed key that Amazon SES should use to encrypt your
|
3529
3574
|
# emails before saving them to the Amazon S3 bucket. You can use the
|
3530
|
-
#
|
3531
|
-
# Amazon Web Services KMS as follows:
|
3575
|
+
# Amazon Web Services managed key or a customer managed key that you
|
3576
|
+
# created in Amazon Web Services KMS as follows:
|
3532
3577
|
#
|
3533
|
-
# * To use the
|
3578
|
+
# * To use the Amazon Web Services managed key, provide an ARN in the
|
3579
|
+
# form of
|
3534
3580
|
# `arn:aws:kms:REGION:ACCOUNT-ID-WITHOUT-HYPHENS:alias/aws/ses`. For
|
3535
3581
|
# example, if your Amazon Web Services account ID is 123456789012
|
3536
|
-
# and you want to use the
|
3537
|
-
# (Oregon) Region, the ARN of the
|
3538
|
-
# `arn:aws:kms:us-west-2:123456789012:alias/aws/ses`.
|
3539
|
-
#
|
3540
|
-
# give Amazon SES permission to use the
|
3541
|
-
#
|
3542
|
-
#
|
3543
|
-
#
|
3544
|
-
#
|
3545
|
-
#
|
3582
|
+
# and you want to use the Amazon Web Services managed key in the US
|
3583
|
+
# West (Oregon) Region, the ARN of the Amazon Web Services managed
|
3584
|
+
# key would be `arn:aws:kms:us-west-2:123456789012:alias/aws/ses`.
|
3585
|
+
# If you use the Amazon Web Services managed key, you don't need to
|
3586
|
+
# perform any extra steps to give Amazon SES permission to use the
|
3587
|
+
# key.
|
3588
|
+
#
|
3589
|
+
# * To use a customer managed key that you created in Amazon Web
|
3590
|
+
# Services KMS, provide the ARN of the customer managed key and
|
3591
|
+
# ensure that you add a statement to your key's policy to give
|
3592
|
+
# Amazon SES permission to use it. For more information about giving
|
3546
3593
|
# permissions, see the [Amazon SES Developer Guide][1].
|
3547
3594
|
#
|
3548
3595
|
# For more information about key policies, see the [Amazon Web
|
3549
|
-
# Services KMS Developer Guide][2]. If you do not specify
|
3550
|
-
# key, Amazon SES does not encrypt your emails.
|
3596
|
+
# Services KMS Developer Guide][2]. If you do not specify an Amazon
|
3597
|
+
# Web Services KMS key, Amazon SES does not encrypt your emails.
|
3551
3598
|
#
|
3552
3599
|
# Your mail is encrypted by Amazon SES using the Amazon S3 encryption
|
3553
3600
|
# client before the mail is submitted to Amazon S3 for storage. It is
|
data/lib/aws-sdk-ses.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -212,6 +212,10 @@ module Aws
|
|
212
212
|
sns_action: {
|
213
213
|
topic_arn: ::String,
|
214
214
|
encoding: ("UTF-8" | "Base64")?
|
215
|
+
}?,
|
216
|
+
connect_action: {
|
217
|
+
instance_arn: ::String,
|
218
|
+
iam_role_arn: ::String
|
215
219
|
}?
|
216
220
|
},
|
217
221
|
]?,
|
@@ -1003,6 +1007,10 @@ module Aws
|
|
1003
1007
|
sns_action: {
|
1004
1008
|
topic_arn: ::String,
|
1005
1009
|
encoding: ("UTF-8" | "Base64")?
|
1010
|
+
}?,
|
1011
|
+
connect_action: {
|
1012
|
+
instance_arn: ::String,
|
1013
|
+
iam_role_arn: ::String
|
1006
1014
|
}?
|
1007
1015
|
},
|
1008
1016
|
]?,
|
data/sig/types.rbs
CHANGED
@@ -105,6 +105,12 @@ module Aws::SES
|
|
105
105
|
SENSITIVE: []
|
106
106
|
end
|
107
107
|
|
108
|
+
class ConnectAction
|
109
|
+
attr_accessor instance_arn: ::String
|
110
|
+
attr_accessor iam_role_arn: ::String
|
111
|
+
SENSITIVE: []
|
112
|
+
end
|
113
|
+
|
108
114
|
class Content
|
109
115
|
attr_accessor data: ::String
|
110
116
|
attr_accessor charset: ::String
|
@@ -722,6 +728,7 @@ module Aws::SES
|
|
722
728
|
attr_accessor stop_action: Types::StopAction
|
723
729
|
attr_accessor add_header_action: Types::AddHeaderAction
|
724
730
|
attr_accessor sns_action: Types::SNSAction
|
731
|
+
attr_accessor connect_action: Types::ConnectAction
|
725
732
|
SENSITIVE: []
|
726
733
|
end
|
727
734
|
|
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.78.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: 2024-11-
|
11
|
+
date: 2024-11-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|