aws-sdk-sesv2 1.32.0 → 1.33.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sesv2/client.rb +52 -3
- data/lib/aws-sdk-sesv2/client_api.rb +20 -0
- data/lib/aws-sdk-sesv2/endpoints.rb +14 -0
- data/lib/aws-sdk-sesv2/plugins/endpoints.rb +2 -0
- data/lib/aws-sdk-sesv2/types.rb +37 -6
- data/lib/aws-sdk-sesv2.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c34771195c3e38e456bbe25fd06086d4582c3e5ac1c2ebeb62646ff76e13312b
|
4
|
+
data.tar.gz: 5c1fa57f82d87eec030edc4d48fd0bf05106bf1dda00dbf0ff13a1913a3a0b27
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f4d06a2c81454763c0d85c42856fc227fcff1e91acf0debc493c442cb6509378aaaf32a73f59cef5341e8b56289ea7ff62205641e13fbb53c65d201ce0ec4cb
|
7
|
+
data.tar.gz: 03ed7f52bedba4f28d1eb12ab4c66f5f21b7b8bcf2c38188370348582c8bc42a10ca87bf8750e8e9a80d7eea9b5e3b5d92b45616c088389e24fbd4b2bcd101e2
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.33.0 (2023-05-19)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release allows customers to update scaling mode property of dedicated IP pools with PutDedicatedIpPoolScalingAttributes call.
|
8
|
+
|
4
9
|
1.32.0 (2023-03-09)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.33.0
|
data/lib/aws-sdk-sesv2/client.rb
CHANGED
@@ -1571,7 +1571,7 @@ module Aws::SESV2
|
|
1571
1571
|
# The name of the contact list to which the contact belongs.
|
1572
1572
|
#
|
1573
1573
|
# @option params [required, String] :email_address
|
1574
|
-
# The contact's email
|
1574
|
+
# The contact's email address.
|
1575
1575
|
#
|
1576
1576
|
# @return [Types::GetContactResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1577
1577
|
#
|
@@ -3373,6 +3373,55 @@ module Aws::SESV2
|
|
3373
3373
|
req.send_request(options)
|
3374
3374
|
end
|
3375
3375
|
|
3376
|
+
# Used to convert a dedicated IP pool to a different scaling mode.
|
3377
|
+
#
|
3378
|
+
# <note markdown="1"> `MANAGED` pools cannot be converted to `STANDARD` scaling mode.
|
3379
|
+
#
|
3380
|
+
# </note>
|
3381
|
+
#
|
3382
|
+
# @option params [required, String] :pool_name
|
3383
|
+
# The name of the dedicated IP pool.
|
3384
|
+
#
|
3385
|
+
# @option params [required, String] :scaling_mode
|
3386
|
+
# The scaling mode to apply to the dedicated IP pool.
|
3387
|
+
#
|
3388
|
+
# <note markdown="1"> Changing the scaling mode from `MANAGED` to `STANDARD` is not
|
3389
|
+
# supported.
|
3390
|
+
#
|
3391
|
+
# </note>
|
3392
|
+
#
|
3393
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3394
|
+
#
|
3395
|
+
#
|
3396
|
+
# @example Example: Used to convert a dedicated IP pool to a different scaling mode.
|
3397
|
+
#
|
3398
|
+
# # This example converts a dedicated IP pool from STANDARD to MANAGED.
|
3399
|
+
#
|
3400
|
+
# resp = client.put_dedicated_ip_pool_scaling_attributes({
|
3401
|
+
# pool_name: "sample-ses-pool",
|
3402
|
+
# scaling_mode: "MANAGED",
|
3403
|
+
# })
|
3404
|
+
#
|
3405
|
+
# resp.to_h outputs the following:
|
3406
|
+
# {
|
3407
|
+
# }
|
3408
|
+
#
|
3409
|
+
# @example Request syntax with placeholder values
|
3410
|
+
#
|
3411
|
+
# resp = client.put_dedicated_ip_pool_scaling_attributes({
|
3412
|
+
# pool_name: "PoolName", # required
|
3413
|
+
# scaling_mode: "STANDARD", # required, accepts STANDARD, MANAGED
|
3414
|
+
# })
|
3415
|
+
#
|
3416
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutDedicatedIpPoolScalingAttributes AWS API Documentation
|
3417
|
+
#
|
3418
|
+
# @overload put_dedicated_ip_pool_scaling_attributes(params = {})
|
3419
|
+
# @param [Hash] params ({})
|
3420
|
+
def put_dedicated_ip_pool_scaling_attributes(params = {}, options = {})
|
3421
|
+
req = build_request(:put_dedicated_ip_pool_scaling_attributes, params)
|
3422
|
+
req.send_request(options)
|
3423
|
+
end
|
3424
|
+
|
3376
3425
|
# @option params [required, String] :ip
|
3377
3426
|
# The dedicated IP address that you want to update the warm-up
|
3378
3427
|
# attributes for.
|
@@ -4237,7 +4286,7 @@ module Aws::SESV2
|
|
4237
4286
|
# The name of the contact list.
|
4238
4287
|
#
|
4239
4288
|
# @option params [required, String] :email_address
|
4240
|
-
# The contact's email
|
4289
|
+
# The contact's email address.
|
4241
4290
|
#
|
4242
4291
|
# @option params [Array<Types::TopicPreference>] :topic_preferences
|
4243
4292
|
# The contact's preference for being opted-in to or opted-out of a
|
@@ -4487,7 +4536,7 @@ module Aws::SESV2
|
|
4487
4536
|
params: params,
|
4488
4537
|
config: config)
|
4489
4538
|
context[:gem_name] = 'aws-sdk-sesv2'
|
4490
|
-
context[:gem_version] = '1.
|
4539
|
+
context[:gem_version] = '1.33.0'
|
4491
4540
|
Seahorse::Client::Request.new(handlers, context)
|
4492
4541
|
end
|
4493
4542
|
|
@@ -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
|
data/lib/aws-sdk-sesv2/types.rb
CHANGED
@@ -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
|
1248
|
-
#
|
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
|
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
|
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
|
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
|
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
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.33.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-
|
11
|
+
date: 2023-05-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|