aws-sdk-sesv2 1.32.0 → 1.34.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: 1188ba2f1bf6a5ad937774b14654ad36807e91471eb6a6162c064b280fa6919d
4
- data.tar.gz: 0ef053572d39678d81ddc85aa36e7895f949b616e9847f106e65be8b683b0a7a
3
+ metadata.gz: 28fc9b7afcd636ce07902c1391f3cb1dec40fd1cb403a4890465a30a232e1ecb
4
+ data.tar.gz: cb81f1e4cb948b7fa0dc5404bea787124424809e1b753fbdc566f703b494db01
5
5
  SHA512:
6
- metadata.gz: 8b78f8c606405b1978aa4c848da1cd5e7a8696d898a9e95c307cc2bcd2a138bbe797fabf546bed3bbe090e78825d6c5bb52694c092abd0ca9f629d1f933b9e83
7
- data.tar.gz: dd603abee7eda2e5427adc5c38fcc1a68871f0d52468fc1de87fbfa542ee920c3f5544af3cee5b9ccd195788c3d9d1424349d330c2d6746640c81f1cccf92b1c
6
+ metadata.gz: c5513e5d2961a68b370ec66f2f9128e80b3b965707b7ec258f025b27bfc885653bef63ddc4c54ac16ab3a3b88b048beaed4945157ce91482b12d088451373915
7
+ data.tar.gz: 2c8befd21e054a13ca6db1d2400e1300ab05dc8b4f51d4f401bddd1ad88958466b99d150cf0da963942acee482c27daa9a2fb3fb92f322b8bc987cb3ade0c694
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.34.0 (2023-05-31)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.33.0 (2023-05-19)
10
+ ------------------
11
+
12
+ * Feature - This release allows customers to update scaling mode property of dedicated IP pools with PutDedicatedIpPoolScalingAttributes call.
13
+
4
14
  1.32.0 (2023-03-09)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.32.0
1
+ 1.34.0
@@ -275,6 +275,11 @@ module Aws::SESV2
275
275
  # in the future.
276
276
  #
277
277
  #
278
+ # @option options [String] :sdk_ua_app_id
279
+ # A unique and opaque application ID that is appended to the
280
+ # User-Agent header as app/<sdk_ua_app_id>. It should have a
281
+ # maximum length of 50.
282
+ #
278
283
  # @option options [String] :secret_access_key
279
284
  #
280
285
  # @option options [String] :session_token
@@ -1571,7 +1576,7 @@ module Aws::SESV2
1571
1576
  # The name of the contact list to which the contact belongs.
1572
1577
  #
1573
1578
  # @option params [required, String] :email_address
1574
- # The contact's email addres.
1579
+ # The contact's email address.
1575
1580
  #
1576
1581
  # @return [Types::GetContactResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1577
1582
  #
@@ -3373,6 +3378,55 @@ module Aws::SESV2
3373
3378
  req.send_request(options)
3374
3379
  end
3375
3380
 
3381
+ # Used to convert a dedicated IP pool to a different scaling mode.
3382
+ #
3383
+ # <note markdown="1"> `MANAGED` pools cannot be converted to `STANDARD` scaling mode.
3384
+ #
3385
+ # </note>
3386
+ #
3387
+ # @option params [required, String] :pool_name
3388
+ # The name of the dedicated IP pool.
3389
+ #
3390
+ # @option params [required, String] :scaling_mode
3391
+ # The scaling mode to apply to the dedicated IP pool.
3392
+ #
3393
+ # <note markdown="1"> Changing the scaling mode from `MANAGED` to `STANDARD` is not
3394
+ # supported.
3395
+ #
3396
+ # </note>
3397
+ #
3398
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3399
+ #
3400
+ #
3401
+ # @example Example: Used to convert a dedicated IP pool to a different scaling mode.
3402
+ #
3403
+ # # This example converts a dedicated IP pool from STANDARD to MANAGED.
3404
+ #
3405
+ # resp = client.put_dedicated_ip_pool_scaling_attributes({
3406
+ # pool_name: "sample-ses-pool",
3407
+ # scaling_mode: "MANAGED",
3408
+ # })
3409
+ #
3410
+ # resp.to_h outputs the following:
3411
+ # {
3412
+ # }
3413
+ #
3414
+ # @example Request syntax with placeholder values
3415
+ #
3416
+ # resp = client.put_dedicated_ip_pool_scaling_attributes({
3417
+ # pool_name: "PoolName", # required
3418
+ # scaling_mode: "STANDARD", # required, accepts STANDARD, MANAGED
3419
+ # })
3420
+ #
3421
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutDedicatedIpPoolScalingAttributes AWS API Documentation
3422
+ #
3423
+ # @overload put_dedicated_ip_pool_scaling_attributes(params = {})
3424
+ # @param [Hash] params ({})
3425
+ def put_dedicated_ip_pool_scaling_attributes(params = {}, options = {})
3426
+ req = build_request(:put_dedicated_ip_pool_scaling_attributes, params)
3427
+ req.send_request(options)
3428
+ end
3429
+
3376
3430
  # @option params [required, String] :ip
3377
3431
  # The dedicated IP address that you want to update the warm-up
3378
3432
  # attributes for.
@@ -4237,7 +4291,7 @@ module Aws::SESV2
4237
4291
  # The name of the contact list.
4238
4292
  #
4239
4293
  # @option params [required, String] :email_address
4240
- # The contact's email addres.
4294
+ # The contact's email address.
4241
4295
  #
4242
4296
  # @option params [Array<Types::TopicPreference>] :topic_preferences
4243
4297
  # The contact's preference for being opted-in to or opted-out of a
@@ -4487,7 +4541,7 @@ module Aws::SESV2
4487
4541
  params: params,
4488
4542
  config: config)
4489
4543
  context[:gem_name] = 'aws-sdk-sesv2'
4490
- context[:gem_version] = '1.32.0'
4544
+ context[:gem_version] = '1.34.0'
4491
4545
  Seahorse::Client::Request.new(handlers, context)
4492
4546
  end
4493
4547
 
@@ -327,6 +327,8 @@ module Aws::SESV2
327
327
  PutConfigurationSetVdmOptionsResponse = Shapes::StructureShape.new(name: 'PutConfigurationSetVdmOptionsResponse')
328
328
  PutDedicatedIpInPoolRequest = Shapes::StructureShape.new(name: 'PutDedicatedIpInPoolRequest')
329
329
  PutDedicatedIpInPoolResponse = Shapes::StructureShape.new(name: 'PutDedicatedIpInPoolResponse')
330
+ PutDedicatedIpPoolScalingAttributesRequest = Shapes::StructureShape.new(name: 'PutDedicatedIpPoolScalingAttributesRequest')
331
+ PutDedicatedIpPoolScalingAttributesResponse = Shapes::StructureShape.new(name: 'PutDedicatedIpPoolScalingAttributesResponse')
330
332
  PutDedicatedIpWarmupAttributesRequest = Shapes::StructureShape.new(name: 'PutDedicatedIpWarmupAttributesRequest')
331
333
  PutDedicatedIpWarmupAttributesResponse = Shapes::StructureShape.new(name: 'PutDedicatedIpWarmupAttributesResponse')
332
334
  PutDeliverabilityDashboardOptionRequest = Shapes::StructureShape.new(name: 'PutDeliverabilityDashboardOptionRequest')
@@ -1325,6 +1327,12 @@ module Aws::SESV2
1325
1327
 
1326
1328
  PutDedicatedIpInPoolResponse.struct_class = Types::PutDedicatedIpInPoolResponse
1327
1329
 
1330
+ PutDedicatedIpPoolScalingAttributesRequest.add_member(:pool_name, Shapes::ShapeRef.new(shape: PoolName, required: true, location: "uri", location_name: "PoolName"))
1331
+ PutDedicatedIpPoolScalingAttributesRequest.add_member(:scaling_mode, Shapes::ShapeRef.new(shape: ScalingMode, required: true, location_name: "ScalingMode"))
1332
+ PutDedicatedIpPoolScalingAttributesRequest.struct_class = Types::PutDedicatedIpPoolScalingAttributesRequest
1333
+
1334
+ PutDedicatedIpPoolScalingAttributesResponse.struct_class = Types::PutDedicatedIpPoolScalingAttributesResponse
1335
+
1328
1336
  PutDedicatedIpWarmupAttributesRequest.add_member(:ip, Shapes::ShapeRef.new(shape: Ip, required: true, location: "uri", location_name: "IP"))
1329
1337
  PutDedicatedIpWarmupAttributesRequest.add_member(:warmup_percentage, Shapes::ShapeRef.new(shape: Percentage100Wrapper, required: true, location_name: "WarmupPercentage"))
1330
1338
  PutDedicatedIpWarmupAttributesRequest.struct_class = Types::PutDedicatedIpWarmupAttributesRequest
@@ -2440,6 +2448,18 @@ module Aws::SESV2
2440
2448
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2441
2449
  end)
2442
2450
 
2451
+ api.add_operation(:put_dedicated_ip_pool_scaling_attributes, Seahorse::Model::Operation.new.tap do |o|
2452
+ o.name = "PutDedicatedIpPoolScalingAttributes"
2453
+ o.http_method = "PUT"
2454
+ o.http_request_uri = "/v2/email/dedicated-ip-pools/{PoolName}/scaling"
2455
+ o.input = Shapes::ShapeRef.new(shape: PutDedicatedIpPoolScalingAttributesRequest)
2456
+ o.output = Shapes::ShapeRef.new(shape: PutDedicatedIpPoolScalingAttributesResponse)
2457
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2458
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
2459
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2460
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2461
+ end)
2462
+
2443
2463
  api.add_operation(:put_dedicated_ip_warmup_attributes, Seahorse::Model::Operation.new.tap do |o|
2444
2464
  o.name = "PutDedicatedIpWarmupAttributes"
2445
2465
  o.http_method = "PUT"
@@ -935,6 +935,20 @@ module Aws::SESV2
935
935
  end
936
936
  end
937
937
 
938
+ class PutDedicatedIpPoolScalingAttributes
939
+ def self.build(context)
940
+ unless context.config.regional_endpoint
941
+ endpoint = context.config.endpoint.to_s
942
+ end
943
+ Aws::SESV2::EndpointParameters.new(
944
+ region: context.config.region,
945
+ use_dual_stack: context.config.use_dualstack_endpoint,
946
+ use_fips: context.config.use_fips_endpoint,
947
+ endpoint: endpoint,
948
+ )
949
+ end
950
+ end
951
+
938
952
  class PutDedicatedIpWarmupAttributes
939
953
  def self.build(context)
940
954
  unless context.config.regional_endpoint
@@ -188,6 +188,8 @@ module Aws::SESV2
188
188
  Aws::SESV2::Endpoints::PutConfigurationSetVdmOptions.build(context)
189
189
  when :put_dedicated_ip_in_pool
190
190
  Aws::SESV2::Endpoints::PutDedicatedIpInPool.build(context)
191
+ when :put_dedicated_ip_pool_scaling_attributes
192
+ Aws::SESV2::Endpoints::PutDedicatedIpPoolScalingAttributes.build(context)
191
193
  when :put_dedicated_ip_warmup_attributes
192
194
  Aws::SESV2::Endpoints::PutDedicatedIpWarmupAttributes.build(context)
193
195
  when :put_deliverability_dashboard_option
@@ -1244,11 +1244,11 @@ module Aws::SESV2
1244
1244
  # @!attribute [rw] scaling_mode
1245
1245
  # The type of the dedicated IP pool.
1246
1246
  #
1247
- # * `STANDARD` – A dedicated IP pool where the customer can control
1248
- # which IPs are part of the pool.
1247
+ # * `STANDARD` – A dedicated IP pool where you can control which IPs
1248
+ # are part of the pool.
1249
1249
  #
1250
1250
  # * `MANAGED` – A dedicated IP pool where the reputation and number of
1251
- # IPs is automatically managed by Amazon SES.
1251
+ # IPs are automatically managed by Amazon SES.
1252
1252
  # @return [String]
1253
1253
  #
1254
1254
  # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/DedicatedIpPool AWS API Documentation
@@ -2513,7 +2513,7 @@ module Aws::SESV2
2513
2513
  # @return [String]
2514
2514
  #
2515
2515
  # @!attribute [rw] email_address
2516
- # The contact's email addres.
2516
+ # The contact's email address.
2517
2517
  # @return [String]
2518
2518
  #
2519
2519
  # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetContactRequest AWS API Documentation
@@ -2530,7 +2530,7 @@ module Aws::SESV2
2530
2530
  # @return [String]
2531
2531
  #
2532
2532
  # @!attribute [rw] email_address
2533
- # The contact's email addres.
2533
+ # The contact's email address.
2534
2534
  # @return [String]
2535
2535
  #
2536
2536
  # @!attribute [rw] topic_preferences
@@ -4867,6 +4867,37 @@ module Aws::SESV2
4867
4867
  #
4868
4868
  class PutDedicatedIpInPoolResponse < Aws::EmptyStructure; end
4869
4869
 
4870
+ # A request to convert a dedicated IP pool to a different scaling mode.
4871
+ #
4872
+ # @!attribute [rw] pool_name
4873
+ # The name of the dedicated IP pool.
4874
+ # @return [String]
4875
+ #
4876
+ # @!attribute [rw] scaling_mode
4877
+ # The scaling mode to apply to the dedicated IP pool.
4878
+ #
4879
+ # <note markdown="1"> Changing the scaling mode from `MANAGED` to `STANDARD` is not
4880
+ # supported.
4881
+ #
4882
+ # </note>
4883
+ # @return [String]
4884
+ #
4885
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutDedicatedIpPoolScalingAttributesRequest AWS API Documentation
4886
+ #
4887
+ class PutDedicatedIpPoolScalingAttributesRequest < Struct.new(
4888
+ :pool_name,
4889
+ :scaling_mode)
4890
+ SENSITIVE = []
4891
+ include Aws::Structure
4892
+ end
4893
+
4894
+ # An HTTP 200 response if the request succeeds, or an error message if
4895
+ # the request fails.
4896
+ #
4897
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutDedicatedIpPoolScalingAttributesResponse AWS API Documentation
4898
+ #
4899
+ class PutDedicatedIpPoolScalingAttributesResponse < Aws::EmptyStructure; end
4900
+
4870
4901
  # A request to change the warm-up attributes for a dedicated IP address.
4871
4902
  # This operation is useful when you want to resume the warm-up process
4872
4903
  # for an existing IP address.
@@ -6272,7 +6303,7 @@ module Aws::SESV2
6272
6303
  # @return [String]
6273
6304
  #
6274
6305
  # @!attribute [rw] email_address
6275
- # The contact's email addres.
6306
+ # The contact's email address.
6276
6307
  # @return [String]
6277
6308
  #
6278
6309
  # @!attribute [rw] topic_preferences
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.32.0'
55
+ GEM_VERSION = '1.34.0'
56
56
 
57
57
  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.32.0
4
+ version: 1.34.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: 2023-03-09 00:00:00.000000000 Z
11
+ date: 2023-05-31 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.165.0
22
+ version: 3.174.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.165.0
32
+ version: 3.174.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement