aws-sdk-sesv2 1.55.0 → 1.57.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: 6ce0063b9ec59fe610eb94991f03dc4439f6f0bcc4c1a72124a67c4566de423d
4
- data.tar.gz: 10066c843bf88b0738076c61e9198dc317f713baa42be1b033304241bdc9b54d
3
+ metadata.gz: bfe6fa38efc241877cc38ffb02c798476de3292e45deaff1c658fa5286786544
4
+ data.tar.gz: cdd5f46dab211542a253bd6731578095046ff2b432707ccd73f492733ef7eeba
5
5
  SHA512:
6
- metadata.gz: 48a727624bf5e1cc4059fda5d2c882c181e4d5dc3985efa53f61be3e85d29b10e3bcfac88c5f7717df098166e1b10d4090a29122cfda74e326eed92f9b48606b
7
- data.tar.gz: fbc4a32ebc50b676387f9d67ebcbcdc4b9facee3a861ee5dadd85ab0af2bb66b6ae2ba6794e6f244264fba3c5a394b15e86f717fd8a5a2f809b6a0f55999b1ac
6
+ metadata.gz: 0efcb0766d93774a00d7c7f0802a8d561bac4f29d9ea8999b600f8c2bde8d9f13cdd882d046cc4490641665ad41728e64709e8ae9f10baa396b9f94bbd0c498b
7
+ data.tar.gz: fb22890180f8a5454818c584de7950f2142369537218521129011586519cb7500965e97b92ceee850727dd822da468c360d15ca0c89b4968c7145fb39dc88a4b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.57.0 (2024-09-03)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.56.0 (2024-08-16)
10
+ ------------------
11
+
12
+ * Feature - Marking use case description field of account details as deprecated.
13
+
4
14
  1.55.0 (2024-07-18)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.55.0
1
+ 1.57.0
@@ -32,6 +32,7 @@ require 'aws-sdk-core/plugins/checksum_algorithm.rb'
32
32
  require 'aws-sdk-core/plugins/request_compression.rb'
33
33
  require 'aws-sdk-core/plugins/defaults_mode.rb'
34
34
  require 'aws-sdk-core/plugins/recursion_detection.rb'
35
+ require 'aws-sdk-core/plugins/telemetry.rb'
35
36
  require 'aws-sdk-core/plugins/sign.rb'
36
37
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
37
38
 
@@ -83,6 +84,7 @@ module Aws::SESV2
83
84
  add_plugin(Aws::Plugins::RequestCompression)
84
85
  add_plugin(Aws::Plugins::DefaultsMode)
85
86
  add_plugin(Aws::Plugins::RecursionDetection)
87
+ add_plugin(Aws::Plugins::Telemetry)
86
88
  add_plugin(Aws::Plugins::Sign)
87
89
  add_plugin(Aws::Plugins::Protocols::RestJson)
88
90
  add_plugin(Aws::SESV2::Plugins::Endpoints)
@@ -330,6 +332,16 @@ module Aws::SESV2
330
332
  # ** Please note ** When response stubbing is enabled, no HTTP
331
333
  # requests are made, and retries are disabled.
332
334
  #
335
+ # @option options [Aws::Telemetry::TelemetryProviderBase] :telemetry_provider (Aws::Telemetry::NoOpTelemetryProvider)
336
+ # Allows you to provide a telemetry provider, which is used to
337
+ # emit telemetry data. By default, uses `NoOpTelemetryProvider` which
338
+ # will not record or emit any telemetry data. The SDK supports the
339
+ # following telemetry providers:
340
+ #
341
+ # * OpenTelemetry (OTel) - To use the OTel provider, install and require the
342
+ # `opentelemetry-sdk` gem and then, pass in an instance of a
343
+ # `Aws::Telemetry::OTelProvider` for telemetry provider.
344
+ #
333
345
  # @option options [Aws::TokenProvider] :token_provider
334
346
  # A Bearer Token Provider. This can be an instance of any one of the
335
347
  # following classes:
@@ -3574,7 +3586,7 @@ module Aws::SESV2
3574
3586
  # @option params [String] :contact_language
3575
3587
  # The language you would prefer to be contacted with.
3576
3588
  #
3577
- # @option params [required, String] :use_case_description
3589
+ # @option params [String] :use_case_description
3578
3590
  # A description of the types of email that you plan to send.
3579
3591
  #
3580
3592
  # @option params [Array<String>] :additional_contact_email_addresses
@@ -3602,7 +3614,7 @@ module Aws::SESV2
3602
3614
  # mail_type: "MARKETING", # required, accepts MARKETING, TRANSACTIONAL
3603
3615
  # website_url: "WebsiteURL", # required
3604
3616
  # contact_language: "EN", # accepts EN, JA
3605
- # use_case_description: "UseCaseDescription", # required
3617
+ # use_case_description: "UseCaseDescription",
3606
3618
  # additional_contact_email_addresses: ["AdditionalContactEmailAddress"],
3607
3619
  # production_access_enabled: false,
3608
3620
  # })
@@ -5131,14 +5143,19 @@ module Aws::SESV2
5131
5143
  # @api private
5132
5144
  def build_request(operation_name, params = {})
5133
5145
  handlers = @handlers.for(operation_name)
5146
+ tracer = config.telemetry_provider.tracer_provider.tracer(
5147
+ Aws::Telemetry.module_to_tracer_name('Aws::SESV2')
5148
+ )
5134
5149
  context = Seahorse::Client::RequestContext.new(
5135
5150
  operation_name: operation_name,
5136
5151
  operation: config.api.operation(operation_name),
5137
5152
  client: self,
5138
5153
  params: params,
5139
- config: config)
5154
+ config: config,
5155
+ tracer: tracer
5156
+ )
5140
5157
  context[:gem_name] = 'aws-sdk-sesv2'
5141
- context[:gem_version] = '1.55.0'
5158
+ context[:gem_version] = '1.57.0'
5142
5159
  Seahorse::Client::Request.new(handlers, context)
5143
5160
  end
5144
5161
 
@@ -502,7 +502,7 @@ module Aws::SESV2
502
502
  AccountDetails.add_member(:mail_type, Shapes::ShapeRef.new(shape: MailType, location_name: "MailType"))
503
503
  AccountDetails.add_member(:website_url, Shapes::ShapeRef.new(shape: WebsiteURL, location_name: "WebsiteURL"))
504
504
  AccountDetails.add_member(:contact_language, Shapes::ShapeRef.new(shape: ContactLanguage, location_name: "ContactLanguage"))
505
- AccountDetails.add_member(:use_case_description, Shapes::ShapeRef.new(shape: UseCaseDescription, location_name: "UseCaseDescription"))
505
+ AccountDetails.add_member(:use_case_description, Shapes::ShapeRef.new(shape: UseCaseDescription, deprecated: true, location_name: "UseCaseDescription"))
506
506
  AccountDetails.add_member(:additional_contact_email_addresses, Shapes::ShapeRef.new(shape: AdditionalContactEmailAddresses, location_name: "AdditionalContactEmailAddresses"))
507
507
  AccountDetails.add_member(:review_details, Shapes::ShapeRef.new(shape: ReviewDetails, location_name: "ReviewDetails"))
508
508
  AccountDetails.struct_class = Types::AccountDetails
@@ -1472,7 +1472,7 @@ module Aws::SESV2
1472
1472
  PutAccountDetailsRequest.add_member(:mail_type, Shapes::ShapeRef.new(shape: MailType, required: true, location_name: "MailType"))
1473
1473
  PutAccountDetailsRequest.add_member(:website_url, Shapes::ShapeRef.new(shape: WebsiteURL, required: true, location_name: "WebsiteURL"))
1474
1474
  PutAccountDetailsRequest.add_member(:contact_language, Shapes::ShapeRef.new(shape: ContactLanguage, location_name: "ContactLanguage"))
1475
- PutAccountDetailsRequest.add_member(:use_case_description, Shapes::ShapeRef.new(shape: UseCaseDescription, required: true, location_name: "UseCaseDescription"))
1475
+ PutAccountDetailsRequest.add_member(:use_case_description, Shapes::ShapeRef.new(shape: UseCaseDescription, deprecated: true, location_name: "UseCaseDescription"))
1476
1476
  PutAccountDetailsRequest.add_member(:additional_contact_email_addresses, Shapes::ShapeRef.new(shape: AdditionalContactEmailAddresses, location_name: "AdditionalContactEmailAddresses"))
1477
1477
  PutAccountDetailsRequest.add_member(:production_access_enabled, Shapes::ShapeRef.new(shape: EnabledWrapper, location_name: "ProductionAccessEnabled"))
1478
1478
  PutAccountDetailsRequest.struct_class = Types::PutAccountDetailsRequest
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.55.0'
55
+ GEM_VERSION = '1.57.0'
56
56
 
57
57
  end
data/sig/client.rbs CHANGED
@@ -50,6 +50,7 @@ module Aws
50
50
  ?session_token: String,
51
51
  ?sigv4a_signing_region_set: Array[String],
52
52
  ?stub_responses: untyped,
53
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
53
54
  ?token_provider: untyped,
54
55
  ?use_dualstack_endpoint: bool,
55
56
  ?use_fips_endpoint: bool,
@@ -1003,7 +1004,7 @@ module Aws
1003
1004
  mail_type: ("MARKETING" | "TRANSACTIONAL"),
1004
1005
  website_url: ::String,
1005
1006
  ?contact_language: ("EN" | "JA"),
1006
- use_case_description: ::String,
1007
+ ?use_case_description: ::String,
1007
1008
  ?additional_contact_email_addresses: Array[::String],
1008
1009
  ?production_access_enabled: bool
1009
1010
  ) -> _PutAccountDetailsResponseSuccess
data/sig/resource.rbs CHANGED
@@ -50,6 +50,7 @@ module Aws
50
50
  ?session_token: String,
51
51
  ?sigv4a_signing_region_set: Array[String],
52
52
  ?stub_responses: untyped,
53
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
53
54
  ?token_provider: untyped,
54
55
  ?use_dualstack_endpoint: bool,
55
56
  ?use_fips_endpoint: bool,
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.55.0
4
+ version: 1.57.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-07-18 00:00:00.000000000 Z
11
+ date: 2024-09-03 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.201.0
22
+ version: 3.203.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.201.0
32
+ version: 3.203.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement