aws-sdk-sesv2 1.50.0 → 1.51.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2d37f4ceae4293776fd9d6d6d72e926e9f7c9c84aeb084e14269ab180cd896f8
4
- data.tar.gz: dbb1dd8c8ad13857b093ff7ed6edf44fd0ab12d6a516514df1733f2f86892af5
3
+ metadata.gz: 715646afa82394df165bcb504868721ea2d09cbecad800c2e64f1a5cd213f4f2
4
+ data.tar.gz: 85cbcc51babe75ca534f1b97bedbe6cc430df15cd85f5e51fe0e7e7aff14c7a5
5
5
  SHA512:
6
- metadata.gz: '09d70a4c3799f8c93dd116e53d18b0dc5620e566664c0595c8549feffc3cf08b796057a1e50a050cf26406f60f23cb83d2d1b8df43a1bc919f59b82f3844111e'
7
- data.tar.gz: 5aa36a02e713313fb7e5adeb40ac83766932891ed28645b4dcd539eeb71722de8016495316933b6b3d117e4599af3c577357b1de14439301cab468d39554092a
6
+ metadata.gz: 956275340010741e2e3c5fd5cbd599751a8ec87655c6ab08f40e949a0bc478db7d4a7913de369294e5023fe7b3cede5da6979e54475405b30c05a3fd8eb2d9fe
7
+ data.tar.gz: e86f8633b658f513432202555e28aecd65830901d17049c2dbda80d2b81b2b04abe9d951b970b47fb057a6c4d4af9e0af4e920736fcaab89457d790a32f1766f
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.51.0 (2024-06-12)
5
+ ------------------
6
+
7
+ * Feature - This release adds support for Amazon EventBridge as an email sending events destination.
8
+
4
9
  1.50.0 (2024-06-05)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.50.0
1
+ 1.51.0
@@ -588,10 +588,8 @@ module Aws::SESV2
588
588
  # Create an event destination. *Events* include message sends,
589
589
  # deliveries, opens, clicks, bounces, and complaints. *Event
590
590
  # destinations* are places that you can send information about these
591
- # events to. For example, you can send event data to Amazon SNS to
592
- # receive notifications when you receive bounces or complaints, or you
593
- # can use Amazon Kinesis Data Firehose to stream data to Amazon S3 for
594
- # long-term storage.
591
+ # events to. For example, you can send event data to Amazon EventBridge
592
+ # and associate a rule to send the event to the specified target.
595
593
  #
596
594
  # A single configuration set can include more than one event
597
595
  # destination.
@@ -632,6 +630,9 @@ module Aws::SESV2
632
630
  # sns_destination: {
633
631
  # topic_arn: "AmazonResourceName", # required
634
632
  # },
633
+ # event_bridge_destination: {
634
+ # event_bus_arn: "AmazonResourceName", # required
635
+ # },
635
636
  # pinpoint_destination: {
636
637
  # application_arn: "AmazonResourceName",
637
638
  # },
@@ -1366,9 +1367,8 @@ module Aws::SESV2
1366
1367
  # *Events* include message sends, deliveries, opens, clicks, bounces,
1367
1368
  # and complaints. *Event destinations* are places that you can send
1368
1369
  # information about these events to. For example, you can send event
1369
- # data to Amazon SNS to receive notifications when you receive bounces
1370
- # or complaints, or you can use Amazon Kinesis Data Firehose to stream
1371
- # data to Amazon S3 for long-term storage.
1370
+ # data to Amazon EventBridge and associate a rule to send the event to
1371
+ # the specified target.
1372
1372
  #
1373
1373
  # @option params [required, String] :configuration_set_name
1374
1374
  # The name of the configuration set that contains the event destination
@@ -1757,9 +1757,8 @@ module Aws::SESV2
1757
1757
  # *Events* include message sends, deliveries, opens, clicks, bounces,
1758
1758
  # and complaints. *Event destinations* are places that you can send
1759
1759
  # information about these events to. For example, you can send event
1760
- # data to Amazon SNS to receive notifications when you receive bounces
1761
- # or complaints, or you can use Amazon Kinesis Data Firehose to stream
1762
- # data to Amazon S3 for long-term storage.
1760
+ # data to Amazon EventBridge and associate a rule to send the event to
1761
+ # the specified target.
1763
1762
  #
1764
1763
  # @option params [required, String] :configuration_set_name
1765
1764
  # The name of the configuration set that contains the event destination.
@@ -1788,6 +1787,7 @@ module Aws::SESV2
1788
1787
  # resp.event_destinations[0].cloud_watch_destination.dimension_configurations[0].dimension_value_source #=> String, one of "MESSAGE_TAG", "EMAIL_HEADER", "LINK_TAG"
1789
1788
  # resp.event_destinations[0].cloud_watch_destination.dimension_configurations[0].default_dimension_value #=> String
1790
1789
  # resp.event_destinations[0].sns_destination.topic_arn #=> String
1790
+ # resp.event_destinations[0].event_bridge_destination.event_bus_arn #=> String
1791
1791
  # resp.event_destinations[0].pinpoint_destination.application_arn #=> String
1792
1792
  #
1793
1793
  # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetConfigurationSetEventDestinations AWS API Documentation
@@ -4807,9 +4807,8 @@ module Aws::SESV2
4807
4807
  # *Events* include message sends, deliveries, opens, clicks, bounces,
4808
4808
  # and complaints. *Event destinations* are places that you can send
4809
4809
  # information about these events to. For example, you can send event
4810
- # data to Amazon SNS to receive notifications when you receive bounces
4811
- # or complaints, or you can use Amazon Kinesis Data Firehose to stream
4812
- # data to Amazon S3 for long-term storage.
4810
+ # data to Amazon EventBridge and associate a rule to send the event to
4811
+ # the specified target.
4813
4812
  #
4814
4813
  # @option params [required, String] :configuration_set_name
4815
4814
  # The name of the configuration set that contains the event destination
@@ -4847,6 +4846,9 @@ module Aws::SESV2
4847
4846
  # sns_destination: {
4848
4847
  # topic_arn: "AmazonResourceName", # required
4849
4848
  # },
4849
+ # event_bridge_destination: {
4850
+ # event_bus_arn: "AmazonResourceName", # required
4851
+ # },
4850
4852
  # pinpoint_destination: {
4851
4853
  # application_arn: "AmazonResourceName",
4852
4854
  # },
@@ -5124,7 +5126,7 @@ module Aws::SESV2
5124
5126
  params: params,
5125
5127
  config: config)
5126
5128
  context[:gem_name] = 'aws-sdk-sesv2'
5127
- context[:gem_version] = '1.50.0'
5129
+ context[:gem_version] = '1.51.0'
5128
5130
  Seahorse::Client::Request.new(handlers, context)
5129
5131
  end
5130
5132
 
@@ -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",
@@ -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 notification when certain email
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 notification when certain email
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 notification when certain email events
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
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-sesv2/customizations'
52
52
  # @!group service
53
53
  module Aws::SESV2
54
54
 
55
- GEM_VERSION = '1.50.0'
55
+ GEM_VERSION = '1.51.0'
56
56
 
57
57
  end
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.50.0
4
+ version: 1.51.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-05 00:00:00.000000000 Z
11
+ date: 2024-06-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core