aws-sdk-sesv2 1.50.0 → 1.52.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sesv2/client.rb +21 -16
- data/lib/aws-sdk-sesv2/client_api.rb +7 -0
- data/lib/aws-sdk-sesv2/types.rb +34 -3
- data/lib/aws-sdk-sesv2.rb +1 -1
- data/sig/client.rbs +6 -0
- data/sig/types.rbs +7 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 370f07ef8d23718dbab9d03aca07803a2a713980cf652f80f0399bd53ccdb0ec
|
4
|
+
data.tar.gz: 0d40be6de1d70b4eab28aae1d0fb8feabfacecbbceb37e055127e6806ef7b0be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 856a0e2484c2a6c756066ca03b9963f8b1cc03ac5a6d900a8471631f5bb09f0dbdc227bc782a78d8de82de86ac03ed124e437bd575be3bb303b9a980eb878137
|
7
|
+
data.tar.gz: 3899b45722ac3b80ba46c06494496d5cdee582b4a974724b59e838bf31069ee342adc46885219eeec19bd3c2fc7ac366bf4871293699ff274226f7d6db7f436c
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.52.0 (2024-06-24)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.51.0 (2024-06-12)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release adds support for Amazon EventBridge as an email sending events destination.
|
13
|
+
|
4
14
|
1.50.0 (2024-06-05)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.52.0
|
data/lib/aws-sdk-sesv2/client.rb
CHANGED
@@ -89,6 +89,11 @@ module Aws::SESV2
|
|
89
89
|
|
90
90
|
# @overload initialize(options)
|
91
91
|
# @param [Hash] options
|
92
|
+
#
|
93
|
+
# @option options [Array<Seahorse::Client::Plugin>] :plugins ([]])
|
94
|
+
# A list of plugins to apply to the client. Each plugin is either a
|
95
|
+
# class name or an instance of a plugin class.
|
96
|
+
#
|
92
97
|
# @option options [required, Aws::CredentialProvider] :credentials
|
93
98
|
# Your AWS credentials. This can be an instance of any one of the
|
94
99
|
# following classes:
|
@@ -209,7 +214,6 @@ module Aws::SESV2
|
|
209
214
|
# 'https://example.com'
|
210
215
|
# 'http://example.com:123'
|
211
216
|
#
|
212
|
-
#
|
213
217
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
214
218
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
215
219
|
# for endpoint discovery enabled operations. Defaults to 1000.
|
@@ -298,7 +302,6 @@ module Aws::SESV2
|
|
298
302
|
# throttling. This is a provisional mode that may change behavior
|
299
303
|
# in the future.
|
300
304
|
#
|
301
|
-
#
|
302
305
|
# @option options [String] :sdk_ua_app_id
|
303
306
|
# A unique and opaque application ID that is appended to the
|
304
307
|
# User-Agent header as app/sdk_ua_app_id. It should have a
|
@@ -588,10 +591,8 @@ module Aws::SESV2
|
|
588
591
|
# Create an event destination. *Events* include message sends,
|
589
592
|
# deliveries, opens, clicks, bounces, and complaints. *Event
|
590
593
|
# destinations* are places that you can send information about these
|
591
|
-
# events to. For example, you can send event data to Amazon
|
592
|
-
#
|
593
|
-
# can use Amazon Kinesis Data Firehose to stream data to Amazon S3 for
|
594
|
-
# long-term storage.
|
594
|
+
# events to. For example, you can send event data to Amazon EventBridge
|
595
|
+
# and associate a rule to send the event to the specified target.
|
595
596
|
#
|
596
597
|
# A single configuration set can include more than one event
|
597
598
|
# destination.
|
@@ -632,6 +633,9 @@ module Aws::SESV2
|
|
632
633
|
# sns_destination: {
|
633
634
|
# topic_arn: "AmazonResourceName", # required
|
634
635
|
# },
|
636
|
+
# event_bridge_destination: {
|
637
|
+
# event_bus_arn: "AmazonResourceName", # required
|
638
|
+
# },
|
635
639
|
# pinpoint_destination: {
|
636
640
|
# application_arn: "AmazonResourceName",
|
637
641
|
# },
|
@@ -1366,9 +1370,8 @@ module Aws::SESV2
|
|
1366
1370
|
# *Events* include message sends, deliveries, opens, clicks, bounces,
|
1367
1371
|
# and complaints. *Event destinations* are places that you can send
|
1368
1372
|
# information about these events to. For example, you can send event
|
1369
|
-
# data to Amazon
|
1370
|
-
#
|
1371
|
-
# data to Amazon S3 for long-term storage.
|
1373
|
+
# data to Amazon EventBridge and associate a rule to send the event to
|
1374
|
+
# the specified target.
|
1372
1375
|
#
|
1373
1376
|
# @option params [required, String] :configuration_set_name
|
1374
1377
|
# The name of the configuration set that contains the event destination
|
@@ -1757,9 +1760,8 @@ module Aws::SESV2
|
|
1757
1760
|
# *Events* include message sends, deliveries, opens, clicks, bounces,
|
1758
1761
|
# and complaints. *Event destinations* are places that you can send
|
1759
1762
|
# information about these events to. For example, you can send event
|
1760
|
-
# data to Amazon
|
1761
|
-
#
|
1762
|
-
# data to Amazon S3 for long-term storage.
|
1763
|
+
# data to Amazon EventBridge and associate a rule to send the event to
|
1764
|
+
# the specified target.
|
1763
1765
|
#
|
1764
1766
|
# @option params [required, String] :configuration_set_name
|
1765
1767
|
# The name of the configuration set that contains the event destination.
|
@@ -1788,6 +1790,7 @@ module Aws::SESV2
|
|
1788
1790
|
# resp.event_destinations[0].cloud_watch_destination.dimension_configurations[0].dimension_value_source #=> String, one of "MESSAGE_TAG", "EMAIL_HEADER", "LINK_TAG"
|
1789
1791
|
# resp.event_destinations[0].cloud_watch_destination.dimension_configurations[0].default_dimension_value #=> String
|
1790
1792
|
# resp.event_destinations[0].sns_destination.topic_arn #=> String
|
1793
|
+
# resp.event_destinations[0].event_bridge_destination.event_bus_arn #=> String
|
1791
1794
|
# resp.event_destinations[0].pinpoint_destination.application_arn #=> String
|
1792
1795
|
#
|
1793
1796
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetConfigurationSetEventDestinations AWS API Documentation
|
@@ -4807,9 +4810,8 @@ module Aws::SESV2
|
|
4807
4810
|
# *Events* include message sends, deliveries, opens, clicks, bounces,
|
4808
4811
|
# and complaints. *Event destinations* are places that you can send
|
4809
4812
|
# information about these events to. For example, you can send event
|
4810
|
-
# data to Amazon
|
4811
|
-
#
|
4812
|
-
# data to Amazon S3 for long-term storage.
|
4813
|
+
# data to Amazon EventBridge and associate a rule to send the event to
|
4814
|
+
# the specified target.
|
4813
4815
|
#
|
4814
4816
|
# @option params [required, String] :configuration_set_name
|
4815
4817
|
# The name of the configuration set that contains the event destination
|
@@ -4847,6 +4849,9 @@ module Aws::SESV2
|
|
4847
4849
|
# sns_destination: {
|
4848
4850
|
# topic_arn: "AmazonResourceName", # required
|
4849
4851
|
# },
|
4852
|
+
# event_bridge_destination: {
|
4853
|
+
# event_bus_arn: "AmazonResourceName", # required
|
4854
|
+
# },
|
4850
4855
|
# pinpoint_destination: {
|
4851
4856
|
# application_arn: "AmazonResourceName",
|
4852
4857
|
# },
|
@@ -5124,7 +5129,7 @@ module Aws::SESV2
|
|
5124
5129
|
params: params,
|
5125
5130
|
config: config)
|
5126
5131
|
context[:gem_name] = 'aws-sdk-sesv2'
|
5127
|
-
context[:gem_version] = '1.
|
5132
|
+
context[:gem_version] = '1.52.0'
|
5128
5133
|
Seahorse::Client::Request.new(handlers, context)
|
5129
5134
|
end
|
5130
5135
|
|
@@ -172,6 +172,7 @@ module Aws::SESV2
|
|
172
172
|
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
173
173
|
Esp = Shapes::StringShape.new(name: 'Esp')
|
174
174
|
Esps = Shapes::ListShape.new(name: 'Esps')
|
175
|
+
EventBridgeDestination = Shapes::StructureShape.new(name: 'EventBridgeDestination')
|
175
176
|
EventDestination = Shapes::StructureShape.new(name: 'EventDestination')
|
176
177
|
EventDestinationDefinition = Shapes::StructureShape.new(name: 'EventDestinationDefinition')
|
177
178
|
EventDestinationName = Shapes::StringShape.new(name: 'EventDestinationName')
|
@@ -905,12 +906,16 @@ module Aws::SESV2
|
|
905
906
|
|
906
907
|
Esps.member = Shapes::ShapeRef.new(shape: Esp)
|
907
908
|
|
909
|
+
EventBridgeDestination.add_member(:event_bus_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "EventBusArn"))
|
910
|
+
EventBridgeDestination.struct_class = Types::EventBridgeDestination
|
911
|
+
|
908
912
|
EventDestination.add_member(:name, Shapes::ShapeRef.new(shape: EventDestinationName, required: true, location_name: "Name"))
|
909
913
|
EventDestination.add_member(:enabled, Shapes::ShapeRef.new(shape: Enabled, location_name: "Enabled"))
|
910
914
|
EventDestination.add_member(:matching_event_types, Shapes::ShapeRef.new(shape: EventTypes, required: true, location_name: "MatchingEventTypes"))
|
911
915
|
EventDestination.add_member(:kinesis_firehose_destination, Shapes::ShapeRef.new(shape: KinesisFirehoseDestination, location_name: "KinesisFirehoseDestination"))
|
912
916
|
EventDestination.add_member(:cloud_watch_destination, Shapes::ShapeRef.new(shape: CloudWatchDestination, location_name: "CloudWatchDestination"))
|
913
917
|
EventDestination.add_member(:sns_destination, Shapes::ShapeRef.new(shape: SnsDestination, location_name: "SnsDestination"))
|
918
|
+
EventDestination.add_member(:event_bridge_destination, Shapes::ShapeRef.new(shape: EventBridgeDestination, location_name: "EventBridgeDestination"))
|
914
919
|
EventDestination.add_member(:pinpoint_destination, Shapes::ShapeRef.new(shape: PinpointDestination, location_name: "PinpointDestination"))
|
915
920
|
EventDestination.struct_class = Types::EventDestination
|
916
921
|
|
@@ -919,6 +924,7 @@ module Aws::SESV2
|
|
919
924
|
EventDestinationDefinition.add_member(:kinesis_firehose_destination, Shapes::ShapeRef.new(shape: KinesisFirehoseDestination, location_name: "KinesisFirehoseDestination"))
|
920
925
|
EventDestinationDefinition.add_member(:cloud_watch_destination, Shapes::ShapeRef.new(shape: CloudWatchDestination, location_name: "CloudWatchDestination"))
|
921
926
|
EventDestinationDefinition.add_member(:sns_destination, Shapes::ShapeRef.new(shape: SnsDestination, location_name: "SnsDestination"))
|
927
|
+
EventDestinationDefinition.add_member(:event_bridge_destination, Shapes::ShapeRef.new(shape: EventBridgeDestination, location_name: "EventBridgeDestination"))
|
922
928
|
EventDestinationDefinition.add_member(:pinpoint_destination, Shapes::ShapeRef.new(shape: PinpointDestination, location_name: "PinpointDestination"))
|
923
929
|
EventDestinationDefinition.struct_class = Types::EventDestinationDefinition
|
924
930
|
|
@@ -1833,6 +1839,7 @@ module Aws::SESV2
|
|
1833
1839
|
|
1834
1840
|
api.metadata = {
|
1835
1841
|
"apiVersion" => "2019-09-27",
|
1842
|
+
"auth" => ["aws.auth#sigv4"],
|
1836
1843
|
"endpointPrefix" => "email",
|
1837
1844
|
"jsonVersion" => "1.1",
|
1838
1845
|
"protocol" => "rest-json",
|
data/lib/aws-sdk-sesv2/types.rb
CHANGED
@@ -2189,6 +2189,23 @@ module Aws::SESV2
|
|
2189
2189
|
include Aws::Structure
|
2190
2190
|
end
|
2191
2191
|
|
2192
|
+
# An object that defines an Amazon EventBridge destination for email
|
2193
|
+
# events. You can use Amazon EventBridge to send notifications when
|
2194
|
+
# certain email events occur.
|
2195
|
+
#
|
2196
|
+
# @!attribute [rw] event_bus_arn
|
2197
|
+
# The Amazon Resource Name (ARN) of the Amazon EventBridge bus to
|
2198
|
+
# publish email events to. Only the default bus is supported.
|
2199
|
+
# @return [String]
|
2200
|
+
#
|
2201
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/EventBridgeDestination AWS API Documentation
|
2202
|
+
#
|
2203
|
+
class EventBridgeDestination < Struct.new(
|
2204
|
+
:event_bus_arn)
|
2205
|
+
SENSITIVE = []
|
2206
|
+
include Aws::Structure
|
2207
|
+
end
|
2208
|
+
|
2192
2209
|
# In the Amazon SES API v2, *events* include message sends, deliveries,
|
2193
2210
|
# opens, clicks, bounces, complaints and delivery delays. *Event
|
2194
2211
|
# destinations* are places that you can send information about these
|
@@ -2278,10 +2295,16 @@ module Aws::SESV2
|
|
2278
2295
|
#
|
2279
2296
|
# @!attribute [rw] sns_destination
|
2280
2297
|
# An object that defines an Amazon SNS destination for email events.
|
2281
|
-
# You can use Amazon SNS to send
|
2298
|
+
# You can use Amazon SNS to send notifications when certain email
|
2282
2299
|
# events occur.
|
2283
2300
|
# @return [Types::SnsDestination]
|
2284
2301
|
#
|
2302
|
+
# @!attribute [rw] event_bridge_destination
|
2303
|
+
# An object that defines an Amazon EventBridge destination for email
|
2304
|
+
# events. You can use Amazon EventBridge to send notifications when
|
2305
|
+
# certain email events occur.
|
2306
|
+
# @return [Types::EventBridgeDestination]
|
2307
|
+
#
|
2285
2308
|
# @!attribute [rw] pinpoint_destination
|
2286
2309
|
# An object that defines an Amazon Pinpoint project destination for
|
2287
2310
|
# email events. You can send email event data to a Amazon Pinpoint
|
@@ -2304,6 +2327,7 @@ module Aws::SESV2
|
|
2304
2327
|
:kinesis_firehose_destination,
|
2305
2328
|
:cloud_watch_destination,
|
2306
2329
|
:sns_destination,
|
2330
|
+
:event_bridge_destination,
|
2307
2331
|
:pinpoint_destination)
|
2308
2332
|
SENSITIVE = []
|
2309
2333
|
include Aws::Structure
|
@@ -2343,10 +2367,16 @@ module Aws::SESV2
|
|
2343
2367
|
#
|
2344
2368
|
# @!attribute [rw] sns_destination
|
2345
2369
|
# An object that defines an Amazon SNS destination for email events.
|
2346
|
-
# You can use Amazon SNS to send
|
2370
|
+
# You can use Amazon SNS to send notifications when certain email
|
2347
2371
|
# events occur.
|
2348
2372
|
# @return [Types::SnsDestination]
|
2349
2373
|
#
|
2374
|
+
# @!attribute [rw] event_bridge_destination
|
2375
|
+
# An object that defines an Amazon EventBridge destination for email
|
2376
|
+
# events. You can use Amazon EventBridge to send notifications when
|
2377
|
+
# certain email events occur.
|
2378
|
+
# @return [Types::EventBridgeDestination]
|
2379
|
+
#
|
2350
2380
|
# @!attribute [rw] pinpoint_destination
|
2351
2381
|
# An object that defines an Amazon Pinpoint project destination for
|
2352
2382
|
# email events. You can send email event data to a Amazon Pinpoint
|
@@ -2368,6 +2398,7 @@ module Aws::SESV2
|
|
2368
2398
|
:kinesis_firehose_destination,
|
2369
2399
|
:cloud_watch_destination,
|
2370
2400
|
:sns_destination,
|
2401
|
+
:event_bridge_destination,
|
2371
2402
|
:pinpoint_destination)
|
2372
2403
|
SENSITIVE = []
|
2373
2404
|
include Aws::Structure
|
@@ -6579,7 +6610,7 @@ module Aws::SESV2
|
|
6579
6610
|
class SendingPausedException < Aws::EmptyStructure; end
|
6580
6611
|
|
6581
6612
|
# An object that defines an Amazon SNS destination for email events. You
|
6582
|
-
# can use Amazon SNS to send
|
6613
|
+
# can use Amazon SNS to send notifications when certain email events
|
6583
6614
|
# occur.
|
6584
6615
|
#
|
6585
6616
|
# @!attribute [rw] topic_arn
|
data/lib/aws-sdk-sesv2.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -167,6 +167,9 @@ module Aws
|
|
167
167
|
sns_destination: {
|
168
168
|
topic_arn: ::String
|
169
169
|
}?,
|
170
|
+
event_bridge_destination: {
|
171
|
+
event_bus_arn: ::String
|
172
|
+
}?,
|
170
173
|
pinpoint_destination: {
|
171
174
|
application_arn: ::String?
|
172
175
|
}?
|
@@ -1427,6 +1430,9 @@ module Aws
|
|
1427
1430
|
sns_destination: {
|
1428
1431
|
topic_arn: ::String
|
1429
1432
|
}?,
|
1433
|
+
event_bridge_destination: {
|
1434
|
+
event_bus_arn: ::String
|
1435
|
+
}?,
|
1430
1436
|
pinpoint_destination: {
|
1431
1437
|
application_arn: ::String?
|
1432
1438
|
}?
|
data/sig/types.rbs
CHANGED
@@ -513,6 +513,11 @@ module Aws::SESV2
|
|
513
513
|
SENSITIVE: []
|
514
514
|
end
|
515
515
|
|
516
|
+
class EventBridgeDestination
|
517
|
+
attr_accessor event_bus_arn: ::String
|
518
|
+
SENSITIVE: []
|
519
|
+
end
|
520
|
+
|
516
521
|
class EventDestination
|
517
522
|
attr_accessor name: ::String
|
518
523
|
attr_accessor enabled: bool
|
@@ -520,6 +525,7 @@ module Aws::SESV2
|
|
520
525
|
attr_accessor kinesis_firehose_destination: Types::KinesisFirehoseDestination
|
521
526
|
attr_accessor cloud_watch_destination: Types::CloudWatchDestination
|
522
527
|
attr_accessor sns_destination: Types::SnsDestination
|
528
|
+
attr_accessor event_bridge_destination: Types::EventBridgeDestination
|
523
529
|
attr_accessor pinpoint_destination: Types::PinpointDestination
|
524
530
|
SENSITIVE: []
|
525
531
|
end
|
@@ -530,6 +536,7 @@ module Aws::SESV2
|
|
530
536
|
attr_accessor kinesis_firehose_destination: Types::KinesisFirehoseDestination
|
531
537
|
attr_accessor cloud_watch_destination: Types::CloudWatchDestination
|
532
538
|
attr_accessor sns_destination: Types::SnsDestination
|
539
|
+
attr_accessor event_bridge_destination: Types::EventBridgeDestination
|
533
540
|
attr_accessor pinpoint_destination: Types::PinpointDestination
|
534
541
|
SENSITIVE: []
|
535
542
|
end
|
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.52.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-06-
|
11
|
+
date: 2024-06-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.198.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.198.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|