aws-sdk-sesv2 1.103.0 → 1.104.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: b74a939e959bd06eb3240fdb0fc306b332d657e6cb9d509e74c4448791873807
4
- data.tar.gz: efe1f518124a313b5ff0b4f9f65c3cd17c4a1483f9d41902762b313c345bfd88
3
+ metadata.gz: 2fac515df1e31aeeec459bc7982a3b5918645b1baa0462a4cf6f698a689c0ae6
4
+ data.tar.gz: 71530148f8340c2c08ac56f9bbc9bd7144d94a6500237f0c34a4644414dcaec1
5
5
  SHA512:
6
- metadata.gz: 7ef97d8a42ba363caa15aa0d5ef44e5aebffebe95e7ad8b61aac5183ec2c790b2a1be40c5a19cb65d9425f422a61f28191444a1fdaf1450d378ddca7a16ed657
7
- data.tar.gz: cfcad1d4049839639fbd1555349ae64cff106a883d82937d37fa3c1992006a83f97fd06b93d016033cfce36429e6586e687b4576988a45280d333a4167e32611
6
+ metadata.gz: 8514a638fe1abd2ef70da5ecb67b1f214287189d251a79bbc6fe8798afcc641e1b79e4cb50e9ed682326799e8d205e2068c7cc5a8720b47f9932855a19cab487
7
+ data.tar.gz: 2b7c81d7e860dee0f74bb15a8b4fcec4167c0ef9dd7427e1cdc773e9a75ce82fc45170415d57561188a7fc36fb5bf1b5194abf2da24080cda6c1ef371f760f72
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.104.0 (2026-07-20)
5
+ ------------------
6
+
7
+ * Feature - Amazon SES introduces three new Pricing Plans (Essentials, Pro, Enterprise), which bundle SES features under one pricing umbrella. The new PutAccountPricingAttributes API lets the user set the account's plan, while current plan retrievalif done through the new PricingAttributes field on GetAccount.
8
+
4
9
  1.103.0 (2026-07-09)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.103.0
1
+ 1.104.0
@@ -1469,9 +1469,9 @@ module Aws::SESV2
1469
1469
  # The primary region is going to be the AWS-Region where the operation
1470
1470
  # is executed. The secondary region has to be provided in request's
1471
1471
  # parameters. From the data flow standpoint there is no difference
1472
- # between primary and secondary regions - sending traffic will be split
1473
- # equally between the two. The primary region is the region where the
1474
- # resource has been created and where it can be managed.
1472
+ # between primary and secondary regions - sending traffic is divided
1473
+ # between the two. The primary region is the region where the resource
1474
+ # has been created and where it can be managed.
1475
1475
  #
1476
1476
  # @option params [required, String] :endpoint_name
1477
1477
  # The name of the multi-region endpoint (global-endpoint).
@@ -2025,6 +2025,7 @@ module Aws::SESV2
2025
2025
  # * {Types::GetAccountResponse#suppression_attributes #suppression_attributes} => Types::SuppressionAttributes
2026
2026
  # * {Types::GetAccountResponse#details #details} => Types::AccountDetails
2027
2027
  # * {Types::GetAccountResponse#vdm_attributes #vdm_attributes} => Types::VdmAttributes
2028
+ # * {Types::GetAccountResponse#pricing_attributes #pricing_attributes} => Types::PricingAttributes
2028
2029
  #
2029
2030
  # @example Response structure
2030
2031
  #
@@ -2050,6 +2051,8 @@ module Aws::SESV2
2050
2051
  # resp.vdm_attributes.vdm_enabled #=> String, one of "ENABLED", "DISABLED"
2051
2052
  # resp.vdm_attributes.dashboard_attributes.engagement_metrics #=> String, one of "ENABLED", "DISABLED"
2052
2053
  # resp.vdm_attributes.guardian_attributes.optimized_shared_delivery #=> String, one of "ENABLED", "DISABLED"
2054
+ # resp.pricing_attributes.current_plan #=> String, one of "NONE", "ESSENTIALS", "PRO", "ENTERPRISE"
2055
+ # resp.pricing_attributes.next_plan #=> String, one of "NONE", "ESSENTIALS", "PRO", "ENTERPRISE"
2053
2056
  #
2054
2057
  # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetAccount AWS API Documentation
2055
2058
  #
@@ -4531,6 +4534,43 @@ module Aws::SESV2
4531
4534
  req.send_request(options)
4532
4535
  end
4533
4536
 
4537
+ # Set the pricing plan for your Amazon SES account. Use this operation
4538
+ # to choose a billing plan that packages multiple Amazon SES features at
4539
+ # a single rate.
4540
+ #
4541
+ # @option params [required, String] :plan
4542
+ # The pricing plan to apply to your Amazon SES account. Can be one of
4543
+ # the following:
4544
+ #
4545
+ # * `NONE` – No pricing plan is applied; billing follows per-feature
4546
+ # pricing.
4547
+ #
4548
+ # * `ESSENTIALS` – Baseline Amazon SES capabilities and select premium
4549
+ # features.
4550
+ #
4551
+ # * `PRO` – Includes everything in `ESSENTIALS`, plus additional premium
4552
+ # features for growing senders.
4553
+ #
4554
+ # * `ENTERPRISE` – Includes everything in `PRO`, plus features intended
4555
+ # for large-scale senders.
4556
+ #
4557
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
4558
+ #
4559
+ # @example Request syntax with placeholder values
4560
+ #
4561
+ # resp = client.put_account_pricing_attributes({
4562
+ # plan: "NONE", # required, accepts NONE, ESSENTIALS, PRO, ENTERPRISE
4563
+ # })
4564
+ #
4565
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutAccountPricingAttributes AWS API Documentation
4566
+ #
4567
+ # @overload put_account_pricing_attributes(params = {})
4568
+ # @param [Hash] params ({})
4569
+ def put_account_pricing_attributes(params = {}, options = {})
4570
+ req = build_request(:put_account_pricing_attributes, params)
4571
+ req.send_request(options)
4572
+ end
4573
+
4534
4574
  # Enable or disable the ability of your account to send email.
4535
4575
  #
4536
4576
  # @option params [Boolean] :sending_enabled
@@ -6384,7 +6424,7 @@ module Aws::SESV2
6384
6424
  tracer: tracer
6385
6425
  )
6386
6426
  context[:gem_name] = 'aws-sdk-sesv2'
6387
- context[:gem_version] = '1.103.0'
6427
+ context[:gem_version] = '1.104.0'
6388
6428
  Seahorse::Client::Request.new(handlers, context)
6389
6429
  end
6390
6430
 
@@ -413,6 +413,8 @@ module Aws::SESV2
413
413
  PolicyMap = Shapes::MapShape.new(name: 'PolicyMap')
414
414
  PolicyName = Shapes::StringShape.new(name: 'PolicyName')
415
415
  PoolName = Shapes::StringShape.new(name: 'PoolName')
416
+ PricingAttributes = Shapes::StructureShape.new(name: 'PricingAttributes')
417
+ PricingPlan = Shapes::StringShape.new(name: 'PricingPlan')
416
418
  PrimaryNameServer = Shapes::StringShape.new(name: 'PrimaryNameServer')
417
419
  PrivateKey = Shapes::StringShape.new(name: 'PrivateKey')
418
420
  ProcessedRecordsCount = Shapes::IntegerShape.new(name: 'ProcessedRecordsCount')
@@ -420,6 +422,8 @@ module Aws::SESV2
420
422
  PutAccountDedicatedIpWarmupAttributesResponse = Shapes::StructureShape.new(name: 'PutAccountDedicatedIpWarmupAttributesResponse')
421
423
  PutAccountDetailsRequest = Shapes::StructureShape.new(name: 'PutAccountDetailsRequest')
422
424
  PutAccountDetailsResponse = Shapes::StructureShape.new(name: 'PutAccountDetailsResponse')
425
+ PutAccountPricingAttributesRequest = Shapes::StructureShape.new(name: 'PutAccountPricingAttributesRequest')
426
+ PutAccountPricingAttributesResponse = Shapes::StructureShape.new(name: 'PutAccountPricingAttributesResponse')
423
427
  PutAccountSendingAttributesRequest = Shapes::StructureShape.new(name: 'PutAccountSendingAttributesRequest')
424
428
  PutAccountSendingAttributesResponse = Shapes::StructureShape.new(name: 'PutAccountSendingAttributesResponse')
425
429
  PutAccountSuppressionAttributesRequest = Shapes::StructureShape.new(name: 'PutAccountSuppressionAttributesRequest')
@@ -1164,6 +1168,7 @@ module Aws::SESV2
1164
1168
  GetAccountResponse.add_member(:suppression_attributes, Shapes::ShapeRef.new(shape: SuppressionAttributes, location_name: "SuppressionAttributes"))
1165
1169
  GetAccountResponse.add_member(:details, Shapes::ShapeRef.new(shape: AccountDetails, location_name: "Details"))
1166
1170
  GetAccountResponse.add_member(:vdm_attributes, Shapes::ShapeRef.new(shape: VdmAttributes, location_name: "VdmAttributes"))
1171
+ GetAccountResponse.add_member(:pricing_attributes, Shapes::ShapeRef.new(shape: PricingAttributes, location_name: "PricingAttributes"))
1167
1172
  GetAccountResponse.struct_class = Types::GetAccountResponse
1168
1173
 
1169
1174
  GetBlacklistReportsRequest.add_member(:blacklist_item_names, Shapes::ShapeRef.new(shape: BlacklistItemNames, required: true, location: "querystring", location_name: "BlacklistItemNames"))
@@ -1743,6 +1748,10 @@ module Aws::SESV2
1743
1748
  PolicyMap.key = Shapes::ShapeRef.new(shape: PolicyName)
1744
1749
  PolicyMap.value = Shapes::ShapeRef.new(shape: Policy)
1745
1750
 
1751
+ PricingAttributes.add_member(:current_plan, Shapes::ShapeRef.new(shape: PricingPlan, location_name: "CurrentPlan"))
1752
+ PricingAttributes.add_member(:next_plan, Shapes::ShapeRef.new(shape: PricingPlan, location_name: "NextPlan"))
1753
+ PricingAttributes.struct_class = Types::PricingAttributes
1754
+
1746
1755
  PutAccountDedicatedIpWarmupAttributesRequest.add_member(:auto_warmup_enabled, Shapes::ShapeRef.new(shape: Enabled, location_name: "AutoWarmupEnabled"))
1747
1756
  PutAccountDedicatedIpWarmupAttributesRequest.struct_class = Types::PutAccountDedicatedIpWarmupAttributesRequest
1748
1757
 
@@ -1758,6 +1767,11 @@ module Aws::SESV2
1758
1767
 
1759
1768
  PutAccountDetailsResponse.struct_class = Types::PutAccountDetailsResponse
1760
1769
 
1770
+ PutAccountPricingAttributesRequest.add_member(:plan, Shapes::ShapeRef.new(shape: PricingPlan, required: true, location_name: "Plan"))
1771
+ PutAccountPricingAttributesRequest.struct_class = Types::PutAccountPricingAttributesRequest
1772
+
1773
+ PutAccountPricingAttributesResponse.struct_class = Types::PutAccountPricingAttributesResponse
1774
+
1761
1775
  PutAccountSendingAttributesRequest.add_member(:sending_enabled, Shapes::ShapeRef.new(shape: Enabled, location_name: "SendingEnabled"))
1762
1776
  PutAccountSendingAttributesRequest.struct_class = Types::PutAccountSendingAttributesRequest
1763
1777
 
@@ -3225,6 +3239,17 @@ module Aws::SESV2
3225
3239
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
3226
3240
  end)
3227
3241
 
3242
+ api.add_operation(:put_account_pricing_attributes, Seahorse::Model::Operation.new.tap do |o|
3243
+ o.name = "PutAccountPricingAttributes"
3244
+ o.http_method = "PUT"
3245
+ o.http_request_uri = "/v2/email/account/pricing-attributes"
3246
+ o.input = Shapes::ShapeRef.new(shape: PutAccountPricingAttributesRequest)
3247
+ o.output = Shapes::ShapeRef.new(shape: PutAccountPricingAttributesResponse)
3248
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
3249
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
3250
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
3251
+ end)
3252
+
3228
3253
  api.add_operation(:put_account_sending_attributes, Seahorse::Model::Operation.new.tap do |o|
3229
3254
  o.name = "PutAccountSendingAttributes"
3230
3255
  o.http_method = "PUT"
@@ -3429,6 +3429,12 @@ module Aws::SESV2
3429
3429
  # The VDM attributes that apply to your Amazon SES account.
3430
3430
  # @return [Types::VdmAttributes]
3431
3431
  #
3432
+ # @!attribute [rw] pricing_attributes
3433
+ # The pricing attributes that apply to your Amazon SES account,
3434
+ # including the currently active pricing plan and any scheduled
3435
+ # change.
3436
+ # @return [Types::PricingAttributes]
3437
+ #
3432
3438
  # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetAccountResponse AWS API Documentation
3433
3439
  #
3434
3440
  class GetAccountResponse < Struct.new(
@@ -3439,7 +3445,8 @@ module Aws::SESV2
3439
3445
  :sending_enabled,
3440
3446
  :suppression_attributes,
3441
3447
  :details,
3442
- :vdm_attributes)
3448
+ :vdm_attributes,
3449
+ :pricing_attributes)
3443
3450
  SENSITIVE = []
3444
3451
  include Aws::Structure
3445
3452
  end
@@ -6560,6 +6567,30 @@ module Aws::SESV2
6560
6567
  include Aws::Structure
6561
6568
  end
6562
6569
 
6570
+ # The pricing attributes that apply to your Amazon SES account,
6571
+ # including the currently active pricing plan and any scheduled change
6572
+ # for the next billing cycle.
6573
+ #
6574
+ # @!attribute [rw] current_plan
6575
+ # The pricing plan that is currently active on your Amazon SES
6576
+ # account.
6577
+ # @return [String]
6578
+ #
6579
+ # @!attribute [rw] next_plan
6580
+ # The pricing plan that will become active at the start of the next
6581
+ # billing cycle, if a scheduled change has been requested. This field
6582
+ # is empty when no scheduled change is pending.
6583
+ # @return [String]
6584
+ #
6585
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PricingAttributes AWS API Documentation
6586
+ #
6587
+ class PricingAttributes < Struct.new(
6588
+ :current_plan,
6589
+ :next_plan)
6590
+ SENSITIVE = []
6591
+ include Aws::Structure
6592
+ end
6593
+
6563
6594
  # A request to enable or disable the automatic IP address warm-up
6564
6595
  # feature.
6565
6596
  #
@@ -6643,6 +6674,40 @@ module Aws::SESV2
6643
6674
  #
6644
6675
  class PutAccountDetailsResponse < Aws::EmptyStructure; end
6645
6676
 
6677
+ # A request to set the pricing plan for your Amazon SES account.
6678
+ #
6679
+ # @!attribute [rw] plan
6680
+ # The pricing plan to apply to your Amazon SES account. Can be one of
6681
+ # the following:
6682
+ #
6683
+ # * `NONE` – No pricing plan is applied; billing follows per-feature
6684
+ # pricing.
6685
+ #
6686
+ # * `ESSENTIALS` – Baseline Amazon SES capabilities and select premium
6687
+ # features.
6688
+ #
6689
+ # * `PRO` – Includes everything in `ESSENTIALS`, plus additional
6690
+ # premium features for growing senders.
6691
+ #
6692
+ # * `ENTERPRISE` – Includes everything in `PRO`, plus features
6693
+ # intended for large-scale senders.
6694
+ # @return [String]
6695
+ #
6696
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutAccountPricingAttributesRequest AWS API Documentation
6697
+ #
6698
+ class PutAccountPricingAttributesRequest < Struct.new(
6699
+ :plan)
6700
+ SENSITIVE = []
6701
+ include Aws::Structure
6702
+ end
6703
+
6704
+ # An HTTP 200 response if the request succeeds, or an error response if
6705
+ # the request fails.
6706
+ #
6707
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutAccountPricingAttributesResponse AWS API Documentation
6708
+ #
6709
+ class PutAccountPricingAttributesResponse < Aws::EmptyStructure; end
6710
+
6646
6711
  # A request to change the ability of your account to send email.
6647
6712
  #
6648
6713
  # @!attribute [rw] sending_enabled
data/lib/aws-sdk-sesv2.rb CHANGED
@@ -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.103.0'
57
+ GEM_VERSION = '1.104.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -560,6 +560,7 @@ module Aws
560
560
  def suppression_attributes: () -> Types::SuppressionAttributes
561
561
  def details: () -> Types::AccountDetails
562
562
  def vdm_attributes: () -> Types::VdmAttributes
563
+ def pricing_attributes: () -> Types::PricingAttributes
563
564
  end
564
565
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SESV2/Client.html#get_account-instance_method
565
566
  def get_account: (
@@ -1156,6 +1157,15 @@ module Aws
1156
1157
  ) -> _PutAccountDetailsResponseSuccess
1157
1158
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutAccountDetailsResponseSuccess
1158
1159
 
1160
+ interface _PutAccountPricingAttributesResponseSuccess
1161
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutAccountPricingAttributesResponse]
1162
+ end
1163
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SESV2/Client.html#put_account_pricing_attributes-instance_method
1164
+ def put_account_pricing_attributes: (
1165
+ plan: ("NONE" | "ESSENTIALS" | "PRO" | "ENTERPRISE")
1166
+ ) -> _PutAccountPricingAttributesResponseSuccess
1167
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutAccountPricingAttributesResponseSuccess
1168
+
1159
1169
  interface _PutAccountSendingAttributesResponseSuccess
1160
1170
  include ::Seahorse::Client::_ResponseSuccess[Types::PutAccountSendingAttributesResponse]
1161
1171
  end
data/sig/types.rbs CHANGED
@@ -708,6 +708,7 @@ module Aws::SESV2
708
708
  attr_accessor suppression_attributes: Types::SuppressionAttributes
709
709
  attr_accessor details: Types::AccountDetails
710
710
  attr_accessor vdm_attributes: Types::VdmAttributes
711
+ attr_accessor pricing_attributes: Types::PricingAttributes
711
712
  SENSITIVE: []
712
713
  end
713
714
 
@@ -1472,6 +1473,12 @@ module Aws::SESV2
1472
1473
  SENSITIVE: []
1473
1474
  end
1474
1475
 
1476
+ class PricingAttributes
1477
+ attr_accessor current_plan: ("NONE" | "ESSENTIALS" | "PRO" | "ENTERPRISE")
1478
+ attr_accessor next_plan: ("NONE" | "ESSENTIALS" | "PRO" | "ENTERPRISE")
1479
+ SENSITIVE: []
1480
+ end
1481
+
1475
1482
  class PutAccountDedicatedIpWarmupAttributesRequest
1476
1483
  attr_accessor auto_warmup_enabled: bool
1477
1484
  SENSITIVE: []
@@ -1493,6 +1500,14 @@ module Aws::SESV2
1493
1500
  class PutAccountDetailsResponse < Aws::EmptyStructure
1494
1501
  end
1495
1502
 
1503
+ class PutAccountPricingAttributesRequest
1504
+ attr_accessor plan: ("NONE" | "ESSENTIALS" | "PRO" | "ENTERPRISE")
1505
+ SENSITIVE: []
1506
+ end
1507
+
1508
+ class PutAccountPricingAttributesResponse < Aws::EmptyStructure
1509
+ end
1510
+
1496
1511
  class PutAccountSendingAttributesRequest
1497
1512
  attr_accessor sending_enabled: bool
1498
1513
  SENSITIVE: []
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.103.0
4
+ version: 1.104.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services