aws-sdk-sesv2 1.27.0 → 1.29.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: f89da41109646b48739f5a0213c777087dea839456d821c2c0e8dcdd956a1d3b
4
- data.tar.gz: 7594000a19c3f83d0d1ce2beaa0a525f58b78f62003fd3b4a744f50f132da3dc
3
+ metadata.gz: 162508f6b93a3821d5abbc38a121c5fe31f44a2b9e04e5ecfe7060be05b3df31
4
+ data.tar.gz: b44c9176e5949dbaf5ff9460e94535daa44538900260b36cc02f726a7379a289
5
5
  SHA512:
6
- metadata.gz: a91221baecb23373bc1217222ed8bf79edc06df3755968d7c90cd07febbae67f787bbded999b29eda3b20c3a429586cc6670230e9ae1fca0a9c9a77ef771c3f0
7
- data.tar.gz: 9561b78ee27116db169018c08b907e6eab25d5fd1e47b1a1433509575dba0fc88c95bbbedd0f35963e7046a2d45ce47cad3a0a48c782f6368d2298f89ba8978e
6
+ metadata.gz: b78729614ed3a8ce7544bb737f4b4310be0f19956c67012e486f42551369b947b9c5fd0424b5619f2659519793a0ff0af75d379e3fef65a8ab24469b4c6ba644
7
+ data.tar.gz: 0ec66f3798a84bd0bdafc35793318dc9e48b913c48a63bd0ba9b9ae7671c75200cc4d555c278e0e4bf51a84a6f6bbf69df2ff6628398e2b64da903ed12e4edc4
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.29.0 (2022-10-25)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.28.0 (2022-10-18)
10
+ ------------------
11
+
12
+ * Feature - This release allows subscribers to enable Dedicated IPs (managed) to send email via a fully managed dedicated IP experience. It also adds identities' VerificationStatus in the response of GetEmailIdentity and ListEmailIdentities APIs, and ImportJobs counts in the response of ListImportJobs API.
13
+
4
14
  1.27.0 (2022-02-24)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.27.0
1
+ 1.29.0
@@ -30,7 +30,7 @@ require 'aws-sdk-core/plugins/http_checksum.rb'
30
30
  require 'aws-sdk-core/plugins/checksum_algorithm.rb'
31
31
  require 'aws-sdk-core/plugins/defaults_mode.rb'
32
32
  require 'aws-sdk-core/plugins/recursion_detection.rb'
33
- require 'aws-sdk-core/plugins/signature_v4.rb'
33
+ require 'aws-sdk-core/plugins/sign.rb'
34
34
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
35
35
 
36
36
  Aws::Plugins::GlobalConfiguration.add_identifier(:sesv2)
@@ -79,8 +79,9 @@ module Aws::SESV2
79
79
  add_plugin(Aws::Plugins::ChecksumAlgorithm)
80
80
  add_plugin(Aws::Plugins::DefaultsMode)
81
81
  add_plugin(Aws::Plugins::RecursionDetection)
82
- add_plugin(Aws::Plugins::SignatureV4)
82
+ add_plugin(Aws::Plugins::Sign)
83
83
  add_plugin(Aws::Plugins::Protocols::RestJson)
84
+ add_plugin(Aws::SESV2::Plugins::Endpoints)
84
85
 
85
86
  # @overload initialize(options)
86
87
  # @param [Hash] options
@@ -287,6 +288,19 @@ module Aws::SESV2
287
288
  # ** Please note ** When response stubbing is enabled, no HTTP
288
289
  # requests are made, and retries are disabled.
289
290
  #
291
+ # @option options [Aws::TokenProvider] :token_provider
292
+ # A Bearer Token Provider. This can be an instance of any one of the
293
+ # following classes:
294
+ #
295
+ # * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
296
+ # tokens.
297
+ #
298
+ # * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
299
+ # access token generated from `aws login`.
300
+ #
301
+ # When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
302
+ # will be used to search for tokens configured for your profile in shared configuration files.
303
+ #
290
304
  # @option options [Boolean] :use_dualstack_endpoint
291
305
  # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
292
306
  # will be used if available.
@@ -300,6 +314,9 @@ module Aws::SESV2
300
314
  # When `true`, request parameters are validated before
301
315
  # sending the request.
302
316
  #
317
+ # @option options [Aws::SESV2::EndpointProvider] :endpoint_provider
318
+ # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::SESV2::EndpointParameters`
319
+ #
303
320
  # @option options [URI::HTTP,String] :http_proxy A proxy to send
304
321
  # requests through. Formatted like 'http://proxy.com:123'.
305
322
  #
@@ -585,14 +602,14 @@ module Aws::SESV2
585
602
  # Creates a new custom verification email template.
586
603
  #
587
604
  # For more information about custom verification email templates, see
588
- # [Using Custom Verification Email Templates][1] in the *Amazon SES
605
+ # [Using custom verification email templates][1] in the *Amazon SES
589
606
  # Developer Guide*.
590
607
  #
591
608
  # You can execute this operation no more than once per second.
592
609
  #
593
610
  #
594
611
  #
595
- # [1]: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-email-verify-address-custom.html
612
+ # [1]: https://docs.aws.amazon.com/ses/latest/dg/creating-identities.html#send-email-verify-address-custom
596
613
  #
597
614
  # @option params [required, String] :template_name
598
615
  # The name of the custom verification email template.
@@ -606,12 +623,12 @@ module Aws::SESV2
606
623
  # @option params [required, String] :template_content
607
624
  # The content of the custom verification email. The total size of the
608
625
  # email must be less than 10 MB. The message body may contain HTML, with
609
- # some limitations. For more information, see [Custom Verification Email
610
- # Frequently Asked Questions][1] in the *Amazon SES Developer Guide*.
626
+ # some limitations. For more information, see [Custom verification email
627
+ # frequently asked questions][1] in the *Amazon SES Developer Guide*.
611
628
  #
612
629
  #
613
630
  #
614
- # [1]: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-email-verify-address-custom.html#custom-verification-emails-faq
631
+ # [1]: https://docs.aws.amazon.com/ses/latest/dg/creating-identities.html#send-email-verify-address-custom-faq
615
632
  #
616
633
  # @option params [required, String] :success_redirection_url
617
634
  # The URL that the recipient of the verification email is sent to if his
@@ -656,6 +673,9 @@ module Aws::SESV2
656
673
  # An object that defines the tags (keys and values) that you want to
657
674
  # associate with the pool.
658
675
  #
676
+ # @option params [String] :scaling_mode
677
+ # The type of scaling mode.
678
+ #
659
679
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
660
680
  #
661
681
  # @example Request syntax with placeholder values
@@ -668,6 +688,7 @@ module Aws::SESV2
668
688
  # value: "TagValue", # required
669
689
  # },
670
690
  # ],
691
+ # scaling_mode: "STANDARD", # accepts STANDARD, MANAGED
671
692
  # })
672
693
  #
673
694
  # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/CreateDedicatedIpPool AWS API Documentation
@@ -1126,14 +1147,14 @@ module Aws::SESV2
1126
1147
  # Deletes an existing custom verification email template.
1127
1148
  #
1128
1149
  # For more information about custom verification email templates, see
1129
- # [Using Custom Verification Email Templates][1] in the *Amazon SES
1150
+ # [Using custom verification email templates][1] in the *Amazon SES
1130
1151
  # Developer Guide*.
1131
1152
  #
1132
1153
  # You can execute this operation no more than once per second.
1133
1154
  #
1134
1155
  #
1135
1156
  #
1136
- # [1]: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-email-verify-address-custom.html
1157
+ # [1]: https://docs.aws.amazon.com/ses/latest/dg/creating-identities.html#send-email-verify-address-custom
1137
1158
  #
1138
1159
  # @option params [required, String] :template_name
1139
1160
  # The name of the custom verification email template that you want to
@@ -1571,14 +1592,14 @@ module Aws::SESV2
1571
1592
  # you specify.
1572
1593
  #
1573
1594
  # For more information about custom verification email templates, see
1574
- # [Using Custom Verification Email Templates][1] in the *Amazon SES
1595
+ # [Using custom verification email templates][1] in the *Amazon SES
1575
1596
  # Developer Guide*.
1576
1597
  #
1577
1598
  # You can execute this operation no more than once per second.
1578
1599
  #
1579
1600
  #
1580
1601
  #
1581
- # [1]: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-email-verify-address-custom.html
1602
+ # [1]: https://docs.aws.amazon.com/ses/latest/dg/creating-identities.html#send-email-verify-address-custom
1582
1603
  #
1583
1604
  # @option params [required, String] :template_name
1584
1605
  # The name of the custom verification email template that you want to
@@ -1652,6 +1673,35 @@ module Aws::SESV2
1652
1673
  req.send_request(options)
1653
1674
  end
1654
1675
 
1676
+ # Retrieve information about the dedicated pool.
1677
+ #
1678
+ # @option params [required, String] :pool_name
1679
+ # The name of the dedicated IP pool to retrieve.
1680
+ #
1681
+ # @return [Types::GetDedicatedIpPoolResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1682
+ #
1683
+ # * {Types::GetDedicatedIpPoolResponse#dedicated_ip_pool #dedicated_ip_pool} => Types::DedicatedIpPool
1684
+ #
1685
+ # @example Request syntax with placeholder values
1686
+ #
1687
+ # resp = client.get_dedicated_ip_pool({
1688
+ # pool_name: "PoolName", # required
1689
+ # })
1690
+ #
1691
+ # @example Response structure
1692
+ #
1693
+ # resp.dedicated_ip_pool.pool_name #=> String
1694
+ # resp.dedicated_ip_pool.scaling_mode #=> String, one of "STANDARD", "MANAGED"
1695
+ #
1696
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetDedicatedIpPool AWS API Documentation
1697
+ #
1698
+ # @overload get_dedicated_ip_pool(params = {})
1699
+ # @param [Hash] params ({})
1700
+ def get_dedicated_ip_pool(params = {}, options = {})
1701
+ req = build_request(:get_dedicated_ip_pool, params)
1702
+ req.send_request(options)
1703
+ end
1704
+
1655
1705
  # List the dedicated IP addresses that are associated with your Amazon
1656
1706
  # Web Services account.
1657
1707
  #
@@ -1932,6 +1982,7 @@ module Aws::SESV2
1932
1982
  # * {Types::GetEmailIdentityResponse#policies #policies} => Hash<String,String>
1933
1983
  # * {Types::GetEmailIdentityResponse#tags #tags} => Array<Types::Tag>
1934
1984
  # * {Types::GetEmailIdentityResponse#configuration_set_name #configuration_set_name} => String
1985
+ # * {Types::GetEmailIdentityResponse#verification_status #verification_status} => String
1935
1986
  #
1936
1987
  # @example Request syntax with placeholder values
1937
1988
  #
@@ -1961,6 +2012,7 @@ module Aws::SESV2
1961
2012
  # resp.tags[0].key #=> String
1962
2013
  # resp.tags[0].value #=> String
1963
2014
  # resp.configuration_set_name #=> String
2015
+ # resp.verification_status #=> String, one of "PENDING", "SUCCESS", "FAILED", "TEMPORARY_FAILURE", "NOT_STARTED"
1964
2016
  #
1965
2017
  # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetEmailIdentity AWS API Documentation
1966
2018
  #
@@ -2298,14 +2350,14 @@ module Aws::SESV2
2298
2350
  # account in the current Amazon Web Services Region.
2299
2351
  #
2300
2352
  # For more information about custom verification email templates, see
2301
- # [Using Custom Verification Email Templates][1] in the *Amazon SES
2353
+ # [Using custom verification email templates][1] in the *Amazon SES
2302
2354
  # Developer Guide*.
2303
2355
  #
2304
2356
  # You can execute this operation no more than once per second.
2305
2357
  #
2306
2358
  #
2307
2359
  #
2308
- # [1]: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-email-verify-address-custom.html
2360
+ # [1]: https://docs.aws.amazon.com/ses/latest/dg/creating-identities.html#send-email-verify-address-custom
2309
2361
  #
2310
2362
  # @option params [String] :next_token
2311
2363
  # A token returned from a previous call to
@@ -2457,13 +2509,12 @@ module Aws::SESV2
2457
2509
  # dashboard for the domain.
2458
2510
  #
2459
2511
  # @option params [required, Time,DateTime,Date,Integer,String] :start_date
2460
- # The first day, in Unix time format, that you want to obtain
2461
- # deliverability data for.
2512
+ # The first day that you want to obtain deliverability data for.
2462
2513
  #
2463
2514
  # @option params [required, Time,DateTime,Date,Integer,String] :end_date
2464
- # The last day, in Unix time format, that you want to obtain
2465
- # deliverability data for. This value has to be less than or equal to 30
2466
- # days after the value of the `StartDate` parameter.
2515
+ # The last day that you want to obtain deliverability data for. This
2516
+ # value has to be less than or equal to 30 days after the value of the
2517
+ # `StartDate` parameter.
2467
2518
  #
2468
2519
  # @option params [required, String] :subscribed_domain
2469
2520
  # The domain to obtain deliverability data for.
@@ -2566,6 +2617,7 @@ module Aws::SESV2
2566
2617
  # resp.email_identities[0].identity_type #=> String, one of "EMAIL_ADDRESS", "DOMAIN", "MANAGED_DOMAIN"
2567
2618
  # resp.email_identities[0].identity_name #=> String
2568
2619
  # resp.email_identities[0].sending_enabled #=> Boolean
2620
+ # resp.email_identities[0].verification_status #=> String, one of "PENDING", "SUCCESS", "FAILED", "TEMPORARY_FAILURE", "NOT_STARTED"
2569
2621
  # resp.next_token #=> String
2570
2622
  #
2571
2623
  # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ListEmailIdentities AWS API Documentation
@@ -2668,6 +2720,8 @@ module Aws::SESV2
2668
2720
  # resp.import_jobs[0].import_destination.contact_list_destination.contact_list_import_action #=> String, one of "DELETE", "PUT"
2669
2721
  # resp.import_jobs[0].job_status #=> String, one of "CREATED", "PROCESSING", "COMPLETED", "FAILED"
2670
2722
  # resp.import_jobs[0].created_timestamp #=> Time
2723
+ # resp.import_jobs[0].processed_records_count #=> Integer
2724
+ # resp.import_jobs[0].failed_records_count #=> Integer
2671
2725
  # resp.next_token #=> String
2672
2726
  #
2673
2727
  # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ListImportJobs AWS API Documentation
@@ -2688,12 +2742,12 @@ module Aws::SESV2
2688
2742
  # @option params [Time,DateTime,Date,Integer,String] :start_date
2689
2743
  # Used to filter the list of suppressed email destinations so that it
2690
2744
  # only includes addresses that were added to the list after a specific
2691
- # date. The date that you specify should be in Unix time format.
2745
+ # date.
2692
2746
  #
2693
2747
  # @option params [Time,DateTime,Date,Integer,String] :end_date
2694
2748
  # Used to filter the list of suppressed email destinations so that it
2695
2749
  # only includes addresses that were added to the list before a specific
2696
- # date. The date that you specify should be in Unix time format.
2750
+ # date.
2697
2751
  #
2698
2752
  # @option params [String] :next_token
2699
2753
  # A token returned from a previous call to `ListSuppressedDestinations`
@@ -3591,14 +3645,14 @@ module Aws::SESV2
3591
3645
  #
3592
3646
  # To use this operation, you must first create a custom verification
3593
3647
  # email template. For more information about creating and using custom
3594
- # verification email templates, see [Using Custom Verification Email
3595
- # Templates][1] in the *Amazon SES Developer Guide*.
3648
+ # verification email templates, see [Using custom verification email
3649
+ # templates][1] in the *Amazon SES Developer Guide*.
3596
3650
  #
3597
3651
  # You can execute this operation no more than once per second.
3598
3652
  #
3599
3653
  #
3600
3654
  #
3601
- # [1]: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-email-verify-address-custom.html
3655
+ # [1]: https://docs.aws.amazon.com/ses/latest/dg/creating-identities.html#send-email-verify-address-custom
3602
3656
  #
3603
3657
  # @option params [required, String] :email_address
3604
3658
  # The email address to verify.
@@ -4063,14 +4117,14 @@ module Aws::SESV2
4063
4117
  # Updates an existing custom verification email template.
4064
4118
  #
4065
4119
  # For more information about custom verification email templates, see
4066
- # [Using Custom Verification Email Templates][1] in the *Amazon SES
4120
+ # [Using custom verification email templates][1] in the *Amazon SES
4067
4121
  # Developer Guide*.
4068
4122
  #
4069
4123
  # You can execute this operation no more than once per second.
4070
4124
  #
4071
4125
  #
4072
4126
  #
4073
- # [1]: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-email-verify-address-custom.html
4127
+ # [1]: https://docs.aws.amazon.com/ses/latest/dg/creating-identities.html#send-email-verify-address-custom
4074
4128
  #
4075
4129
  # @option params [required, String] :template_name
4076
4130
  # The name of the custom verification email template that you want to
@@ -4085,12 +4139,12 @@ module Aws::SESV2
4085
4139
  # @option params [required, String] :template_content
4086
4140
  # The content of the custom verification email. The total size of the
4087
4141
  # email must be less than 10 MB. The message body may contain HTML, with
4088
- # some limitations. For more information, see [Custom Verification Email
4089
- # Frequently Asked Questions][1] in the *Amazon SES Developer Guide*.
4142
+ # some limitations. For more information, see [Custom verification email
4143
+ # frequently asked questions][1] in the *Amazon SES Developer Guide*.
4090
4144
  #
4091
4145
  #
4092
4146
  #
4093
- # [1]: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-email-verify-address-custom.html#custom-verification-emails-faq
4147
+ # [1]: https://docs.aws.amazon.com/ses/latest/dg/creating-identities.html#send-email-verify-address-custom-faq
4094
4148
  #
4095
4149
  # @option params [required, String] :success_redirection_url
4096
4150
  # The URL that the recipient of the verification email is sent to if his
@@ -4232,7 +4286,7 @@ module Aws::SESV2
4232
4286
  params: params,
4233
4287
  config: config)
4234
4288
  context[:gem_name] = 'aws-sdk-sesv2'
4235
- context[:gem_version] = '1.27.0'
4289
+ context[:gem_version] = '1.29.0'
4236
4290
  Seahorse::Client::Request.new(handlers, context)
4237
4291
  end
4238
4292
 
@@ -82,6 +82,7 @@ module Aws::SESV2
82
82
  DataFormat = Shapes::StringShape.new(name: 'DataFormat')
83
83
  DedicatedIp = Shapes::StructureShape.new(name: 'DedicatedIp')
84
84
  DedicatedIpList = Shapes::ListShape.new(name: 'DedicatedIpList')
85
+ DedicatedIpPool = Shapes::StructureShape.new(name: 'DedicatedIpPool')
85
86
  DefaultDimensionValue = Shapes::StringShape.new(name: 'DefaultDimensionValue')
86
87
  DeleteConfigurationSetEventDestinationRequest = Shapes::StructureShape.new(name: 'DeleteConfigurationSetEventDestinationRequest')
87
88
  DeleteConfigurationSetEventDestinationResponse = Shapes::StructureShape.new(name: 'DeleteConfigurationSetEventDestinationResponse')
@@ -170,6 +171,8 @@ module Aws::SESV2
170
171
  GetContactResponse = Shapes::StructureShape.new(name: 'GetContactResponse')
171
172
  GetCustomVerificationEmailTemplateRequest = Shapes::StructureShape.new(name: 'GetCustomVerificationEmailTemplateRequest')
172
173
  GetCustomVerificationEmailTemplateResponse = Shapes::StructureShape.new(name: 'GetCustomVerificationEmailTemplateResponse')
174
+ GetDedicatedIpPoolRequest = Shapes::StructureShape.new(name: 'GetDedicatedIpPoolRequest')
175
+ GetDedicatedIpPoolResponse = Shapes::StructureShape.new(name: 'GetDedicatedIpPoolResponse')
173
176
  GetDedicatedIpRequest = Shapes::StructureShape.new(name: 'GetDedicatedIpRequest')
174
177
  GetDedicatedIpResponse = Shapes::StructureShape.new(name: 'GetDedicatedIpResponse')
175
178
  GetDedicatedIpsRequest = Shapes::StructureShape.new(name: 'GetDedicatedIpsRequest')
@@ -322,6 +325,7 @@ module Aws::SESV2
322
325
  ReviewDetails = Shapes::StructureShape.new(name: 'ReviewDetails')
323
326
  ReviewStatus = Shapes::StringShape.new(name: 'ReviewStatus')
324
327
  S3Url = Shapes::StringShape.new(name: 'S3Url')
328
+ ScalingMode = Shapes::StringShape.new(name: 'ScalingMode')
325
329
  Selector = Shapes::StringShape.new(name: 'Selector')
326
330
  SendBulkEmailRequest = Shapes::StructureShape.new(name: 'SendBulkEmailRequest')
327
331
  SendBulkEmailResponse = Shapes::StructureShape.new(name: 'SendBulkEmailResponse')
@@ -386,6 +390,7 @@ module Aws::SESV2
386
390
  UpdateEmailTemplateResponse = Shapes::StructureShape.new(name: 'UpdateEmailTemplateResponse')
387
391
  UseCaseDescription = Shapes::StringShape.new(name: 'UseCaseDescription')
388
392
  UseDefaultIfPreferenceUnavailable = Shapes::BooleanShape.new(name: 'UseDefaultIfPreferenceUnavailable')
393
+ VerificationStatus = Shapes::StringShape.new(name: 'VerificationStatus')
389
394
  Volume = Shapes::IntegerShape.new(name: 'Volume')
390
395
  VolumeStatistics = Shapes::StructureShape.new(name: 'VolumeStatistics')
391
396
  WarmupStatus = Shapes::StringShape.new(name: 'WarmupStatus')
@@ -522,6 +527,7 @@ module Aws::SESV2
522
527
 
523
528
  CreateDedicatedIpPoolRequest.add_member(:pool_name, Shapes::ShapeRef.new(shape: PoolName, required: true, location_name: "PoolName"))
524
529
  CreateDedicatedIpPoolRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
530
+ CreateDedicatedIpPoolRequest.add_member(:scaling_mode, Shapes::ShapeRef.new(shape: ScalingMode, location_name: "ScalingMode"))
525
531
  CreateDedicatedIpPoolRequest.struct_class = Types::CreateDedicatedIpPoolRequest
526
532
 
527
533
  CreateDedicatedIpPoolResponse.struct_class = Types::CreateDedicatedIpPoolResponse
@@ -591,6 +597,10 @@ module Aws::SESV2
591
597
 
592
598
  DedicatedIpList.member = Shapes::ShapeRef.new(shape: DedicatedIp)
593
599
 
600
+ DedicatedIpPool.add_member(:pool_name, Shapes::ShapeRef.new(shape: PoolName, required: true, location_name: "PoolName"))
601
+ DedicatedIpPool.add_member(:scaling_mode, Shapes::ShapeRef.new(shape: ScalingMode, required: true, location_name: "ScalingMode"))
602
+ DedicatedIpPool.struct_class = Types::DedicatedIpPool
603
+
594
604
  DeleteConfigurationSetEventDestinationRequest.add_member(:configuration_set_name, Shapes::ShapeRef.new(shape: ConfigurationSetName, required: true, location: "uri", location_name: "ConfigurationSetName"))
595
605
  DeleteConfigurationSetEventDestinationRequest.add_member(:event_destination_name, Shapes::ShapeRef.new(shape: EventDestinationName, required: true, location: "uri", location_name: "EventDestinationName"))
596
606
  DeleteConfigurationSetEventDestinationRequest.struct_class = Types::DeleteConfigurationSetEventDestinationRequest
@@ -829,6 +839,12 @@ module Aws::SESV2
829
839
  GetCustomVerificationEmailTemplateResponse.add_member(:failure_redirection_url, Shapes::ShapeRef.new(shape: FailureRedirectionURL, location_name: "FailureRedirectionURL"))
830
840
  GetCustomVerificationEmailTemplateResponse.struct_class = Types::GetCustomVerificationEmailTemplateResponse
831
841
 
842
+ GetDedicatedIpPoolRequest.add_member(:pool_name, Shapes::ShapeRef.new(shape: PoolName, required: true, location: "uri", location_name: "PoolName"))
843
+ GetDedicatedIpPoolRequest.struct_class = Types::GetDedicatedIpPoolRequest
844
+
845
+ GetDedicatedIpPoolResponse.add_member(:dedicated_ip_pool, Shapes::ShapeRef.new(shape: DedicatedIpPool, location_name: "DedicatedIpPool"))
846
+ GetDedicatedIpPoolResponse.struct_class = Types::GetDedicatedIpPoolResponse
847
+
832
848
  GetDedicatedIpRequest.add_member(:ip, Shapes::ShapeRef.new(shape: Ip, required: true, location: "uri", location_name: "IP"))
833
849
  GetDedicatedIpRequest.struct_class = Types::GetDedicatedIpRequest
834
850
 
@@ -895,6 +911,7 @@ module Aws::SESV2
895
911
  GetEmailIdentityResponse.add_member(:policies, Shapes::ShapeRef.new(shape: PolicyMap, location_name: "Policies"))
896
912
  GetEmailIdentityResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
897
913
  GetEmailIdentityResponse.add_member(:configuration_set_name, Shapes::ShapeRef.new(shape: ConfigurationSetName, location_name: "ConfigurationSetName"))
914
+ GetEmailIdentityResponse.add_member(:verification_status, Shapes::ShapeRef.new(shape: VerificationStatus, location_name: "VerificationStatus"))
898
915
  GetEmailIdentityResponse.struct_class = Types::GetEmailIdentityResponse
899
916
 
900
917
  GetEmailTemplateRequest.add_member(:template_name, Shapes::ShapeRef.new(shape: EmailTemplateName, required: true, location: "uri", location_name: "TemplateName"))
@@ -927,6 +944,7 @@ module Aws::SESV2
927
944
  IdentityInfo.add_member(:identity_type, Shapes::ShapeRef.new(shape: IdentityType, location_name: "IdentityType"))
928
945
  IdentityInfo.add_member(:identity_name, Shapes::ShapeRef.new(shape: Identity, location_name: "IdentityName"))
929
946
  IdentityInfo.add_member(:sending_enabled, Shapes::ShapeRef.new(shape: Enabled, location_name: "SendingEnabled"))
947
+ IdentityInfo.add_member(:verification_status, Shapes::ShapeRef.new(shape: VerificationStatus, location_name: "VerificationStatus"))
930
948
  IdentityInfo.struct_class = Types::IdentityInfo
931
949
 
932
950
  IdentityInfoList.member = Shapes::ShapeRef.new(shape: IdentityInfo)
@@ -943,6 +961,8 @@ module Aws::SESV2
943
961
  ImportJobSummary.add_member(:import_destination, Shapes::ShapeRef.new(shape: ImportDestination, location_name: "ImportDestination"))
944
962
  ImportJobSummary.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
945
963
  ImportJobSummary.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedTimestamp"))
964
+ ImportJobSummary.add_member(:processed_records_count, Shapes::ShapeRef.new(shape: ProcessedRecordsCount, location_name: "ProcessedRecordsCount"))
965
+ ImportJobSummary.add_member(:failed_records_count, Shapes::ShapeRef.new(shape: FailedRecordsCount, location_name: "FailedRecordsCount"))
946
966
  ImportJobSummary.struct_class = Types::ImportJobSummary
947
967
 
948
968
  ImportJobSummaryList.member = Shapes::ShapeRef.new(shape: ImportJobSummary)
@@ -1805,6 +1825,17 @@ module Aws::SESV2
1805
1825
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1806
1826
  end)
1807
1827
 
1828
+ api.add_operation(:get_dedicated_ip_pool, Seahorse::Model::Operation.new.tap do |o|
1829
+ o.name = "GetDedicatedIpPool"
1830
+ o.http_method = "GET"
1831
+ o.http_request_uri = "/v2/email/dedicated-ip-pools/{PoolName}"
1832
+ o.input = Shapes::ShapeRef.new(shape: GetDedicatedIpPoolRequest)
1833
+ o.output = Shapes::ShapeRef.new(shape: GetDedicatedIpPoolResponse)
1834
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1835
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1836
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1837
+ end)
1838
+
1808
1839
  api.add_operation(:get_dedicated_ips, Seahorse::Model::Operation.new.tap do |o|
1809
1840
  o.name = "GetDedicatedIps"
1810
1841
  o.http_method = "GET"
@@ -0,0 +1,69 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::SESV2
11
+ # Endpoint parameters used to influence endpoints per request.
12
+ #
13
+ # @!attribute region
14
+ # The AWS region used to dispatch the request.
15
+ #
16
+ # @return [String]
17
+ #
18
+ # @!attribute use_dual_stack
19
+ # When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
20
+ #
21
+ # @return [Boolean]
22
+ #
23
+ # @!attribute use_fips
24
+ # When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
25
+ #
26
+ # @return [Boolean]
27
+ #
28
+ # @!attribute endpoint
29
+ # Override the endpoint used to send this request
30
+ #
31
+ # @return [String]
32
+ #
33
+ EndpointParameters = Struct.new(
34
+ :region,
35
+ :use_dual_stack,
36
+ :use_fips,
37
+ :endpoint,
38
+ ) do
39
+ include Aws::Structure
40
+
41
+ # @api private
42
+ class << self
43
+ PARAM_MAP = {
44
+ 'Region' => :region,
45
+ 'UseDualStack' => :use_dual_stack,
46
+ 'UseFIPS' => :use_fips,
47
+ 'Endpoint' => :endpoint,
48
+ }.freeze
49
+ end
50
+
51
+ def initialize(options = {})
52
+ self[:region] = options[:region]
53
+ if self[:region].nil?
54
+ raise ArgumentError, "Missing required EndpointParameter: :region"
55
+ end
56
+ self[:use_dual_stack] = options[:use_dual_stack]
57
+ self[:use_dual_stack] = false if self[:use_dual_stack].nil?
58
+ if self[:use_dual_stack].nil?
59
+ raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
60
+ end
61
+ self[:use_fips] = options[:use_fips]
62
+ self[:use_fips] = false if self[:use_fips].nil?
63
+ if self[:use_fips].nil?
64
+ raise ArgumentError, "Missing required EndpointParameter: :use_fips"
65
+ end
66
+ self[:endpoint] = options[:endpoint]
67
+ end
68
+ end
69
+ end
@@ -0,0 +1,111 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::SESV2
11
+ class EndpointProvider
12
+ def initialize(rule_set = nil)
13
+ @@rule_set ||= begin
14
+ endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
+ Aws::Endpoints::RuleSet.new(
16
+ version: endpoint_rules['version'],
17
+ service_id: endpoint_rules['serviceId'],
18
+ parameters: endpoint_rules['parameters'],
19
+ rules: endpoint_rules['rules']
20
+ )
21
+ end
22
+ @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
+ end
24
+
25
+ def resolve_endpoint(parameters)
26
+ @provider.resolve_endpoint(parameters)
27
+ end
28
+
29
+ # @api private
30
+ RULES = <<-JSON
31
+ eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
+ bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOnRydWUsImRvY3VtZW50
33
+ YXRpb24iOiJUaGUgQVdTIHJlZ2lvbiB1c2VkIHRvIGRpc3BhdGNoIHRoZSBy
34
+ ZXF1ZXN0LiIsInR5cGUiOiJTdHJpbmcifSwiVXNlRHVhbFN0YWNrIjp7ImJ1
35
+ aWx0SW4iOiJBV1M6OlVzZUR1YWxTdGFjayIsInJlcXVpcmVkIjp0cnVlLCJk
36
+ ZWZhdWx0IjpmYWxzZSwiZG9jdW1lbnRhdGlvbiI6IldoZW4gdHJ1ZSwgdXNl
37
+ IHRoZSBkdWFsLXN0YWNrIGVuZHBvaW50LiBJZiB0aGUgY29uZmlndXJlZCBl
38
+ bmRwb2ludCBkb2VzIG5vdCBzdXBwb3J0IGR1YWwtc3RhY2ssIGRpc3BhdGNo
39
+ aW5nIHRoZSByZXF1ZXN0IE1BWSByZXR1cm4gYW4gZXJyb3IuIiwidHlwZSI6
40
+ IkJvb2xlYW4ifSwiVXNlRklQUyI6eyJidWlsdEluIjoiQVdTOjpVc2VGSVBT
41
+ IiwicmVxdWlyZWQiOnRydWUsImRlZmF1bHQiOmZhbHNlLCJkb2N1bWVudGF0
42
+ aW9uIjoiV2hlbiB0cnVlLCBzZW5kIHRoaXMgcmVxdWVzdCB0byB0aGUgRklQ
43
+ Uy1jb21wbGlhbnQgcmVnaW9uYWwgZW5kcG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