aws-sdk-sesv2 1.29.0 → 1.30.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 +202 -1
- data/lib/aws-sdk-sesv2/client_api.rb +190 -0
- data/lib/aws-sdk-sesv2/endpoint_parameters.rb +0 -3
- data/lib/aws-sdk-sesv2/endpoint_provider.rb +76 -76
- data/lib/aws-sdk-sesv2/endpoints.rb +56 -0
- data/lib/aws-sdk-sesv2/errors.rb +11 -0
- data/lib/aws-sdk-sesv2/plugins/endpoints.rb +8 -0
- data/lib/aws-sdk-sesv2/types.rb +627 -3
- data/lib/aws-sdk-sesv2.rb +2 -2
- metadata +2 -2
@@ -11,6 +11,20 @@
|
|
11
11
|
module Aws::SESV2
|
12
12
|
module Endpoints
|
13
13
|
|
14
|
+
class BatchGetMetricData
|
15
|
+
def self.build(context)
|
16
|
+
unless context.config.regional_endpoint
|
17
|
+
endpoint = context.config.endpoint.to_s
|
18
|
+
end
|
19
|
+
Aws::SESV2::EndpointParameters.new(
|
20
|
+
region: context.config.region,
|
21
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
22
|
+
use_fips: context.config.use_fips_endpoint,
|
23
|
+
endpoint: endpoint,
|
24
|
+
)
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
14
28
|
class CreateConfigurationSet
|
15
29
|
def self.build(context)
|
16
30
|
unless context.config.regional_endpoint
|
@@ -711,6 +725,20 @@ module Aws::SESV2
|
|
711
725
|
end
|
712
726
|
end
|
713
727
|
|
728
|
+
class ListRecommendations
|
729
|
+
def self.build(context)
|
730
|
+
unless context.config.regional_endpoint
|
731
|
+
endpoint = context.config.endpoint.to_s
|
732
|
+
end
|
733
|
+
Aws::SESV2::EndpointParameters.new(
|
734
|
+
region: context.config.region,
|
735
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
736
|
+
use_fips: context.config.use_fips_endpoint,
|
737
|
+
endpoint: endpoint,
|
738
|
+
)
|
739
|
+
end
|
740
|
+
end
|
741
|
+
|
714
742
|
class ListSuppressedDestinations
|
715
743
|
def self.build(context)
|
716
744
|
unless context.config.regional_endpoint
|
@@ -795,6 +823,20 @@ module Aws::SESV2
|
|
795
823
|
end
|
796
824
|
end
|
797
825
|
|
826
|
+
class PutAccountVdmAttributes
|
827
|
+
def self.build(context)
|
828
|
+
unless context.config.regional_endpoint
|
829
|
+
endpoint = context.config.endpoint.to_s
|
830
|
+
end
|
831
|
+
Aws::SESV2::EndpointParameters.new(
|
832
|
+
region: context.config.region,
|
833
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
834
|
+
use_fips: context.config.use_fips_endpoint,
|
835
|
+
endpoint: endpoint,
|
836
|
+
)
|
837
|
+
end
|
838
|
+
end
|
839
|
+
|
798
840
|
class PutConfigurationSetDeliveryOptions
|
799
841
|
def self.build(context)
|
800
842
|
unless context.config.regional_endpoint
|
@@ -865,6 +907,20 @@ module Aws::SESV2
|
|
865
907
|
end
|
866
908
|
end
|
867
909
|
|
910
|
+
class PutConfigurationSetVdmOptions
|
911
|
+
def self.build(context)
|
912
|
+
unless context.config.regional_endpoint
|
913
|
+
endpoint = context.config.endpoint.to_s
|
914
|
+
end
|
915
|
+
Aws::SESV2::EndpointParameters.new(
|
916
|
+
region: context.config.region,
|
917
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
918
|
+
use_fips: context.config.use_fips_endpoint,
|
919
|
+
endpoint: endpoint,
|
920
|
+
)
|
921
|
+
end
|
922
|
+
end
|
923
|
+
|
868
924
|
class PutDedicatedIpInPool
|
869
925
|
def self.build(context)
|
870
926
|
unless context.config.regional_endpoint
|
data/lib/aws-sdk-sesv2/errors.rb
CHANGED
@@ -32,6 +32,7 @@ module Aws::SESV2
|
|
32
32
|
# * {BadRequestException}
|
33
33
|
# * {ConcurrentModificationException}
|
34
34
|
# * {ConflictException}
|
35
|
+
# * {InternalServiceErrorException}
|
35
36
|
# * {InvalidNextTokenException}
|
36
37
|
# * {LimitExceededException}
|
37
38
|
# * {MailFromDomainNotVerifiedException}
|
@@ -96,6 +97,16 @@ module Aws::SESV2
|
|
96
97
|
end
|
97
98
|
end
|
98
99
|
|
100
|
+
class InternalServiceErrorException < ServiceError
|
101
|
+
|
102
|
+
# @param [Seahorse::Client::RequestContext] context
|
103
|
+
# @param [String] message
|
104
|
+
# @param [Aws::SESV2::Types::InternalServiceErrorException] data
|
105
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
106
|
+
super(context, message, data)
|
107
|
+
end
|
108
|
+
end
|
109
|
+
|
99
110
|
class InvalidNextTokenException < ServiceError
|
100
111
|
|
101
112
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -56,6 +56,8 @@ module Aws::SESV2
|
|
56
56
|
|
57
57
|
def parameters_for_operation(context)
|
58
58
|
case context.operation_name
|
59
|
+
when :batch_get_metric_data
|
60
|
+
Aws::SESV2::Endpoints::BatchGetMetricData.build(context)
|
59
61
|
when :create_configuration_set
|
60
62
|
Aws::SESV2::Endpoints::CreateConfigurationSet.build(context)
|
61
63
|
when :create_configuration_set_event_destination
|
@@ -156,6 +158,8 @@ module Aws::SESV2
|
|
156
158
|
Aws::SESV2::Endpoints::ListEmailTemplates.build(context)
|
157
159
|
when :list_import_jobs
|
158
160
|
Aws::SESV2::Endpoints::ListImportJobs.build(context)
|
161
|
+
when :list_recommendations
|
162
|
+
Aws::SESV2::Endpoints::ListRecommendations.build(context)
|
159
163
|
when :list_suppressed_destinations
|
160
164
|
Aws::SESV2::Endpoints::ListSuppressedDestinations.build(context)
|
161
165
|
when :list_tags_for_resource
|
@@ -168,6 +172,8 @@ module Aws::SESV2
|
|
168
172
|
Aws::SESV2::Endpoints::PutAccountSendingAttributes.build(context)
|
169
173
|
when :put_account_suppression_attributes
|
170
174
|
Aws::SESV2::Endpoints::PutAccountSuppressionAttributes.build(context)
|
175
|
+
when :put_account_vdm_attributes
|
176
|
+
Aws::SESV2::Endpoints::PutAccountVdmAttributes.build(context)
|
171
177
|
when :put_configuration_set_delivery_options
|
172
178
|
Aws::SESV2::Endpoints::PutConfigurationSetDeliveryOptions.build(context)
|
173
179
|
when :put_configuration_set_reputation_options
|
@@ -178,6 +184,8 @@ module Aws::SESV2
|
|
178
184
|
Aws::SESV2::Endpoints::PutConfigurationSetSuppressionOptions.build(context)
|
179
185
|
when :put_configuration_set_tracking_options
|
180
186
|
Aws::SESV2::Endpoints::PutConfigurationSetTrackingOptions.build(context)
|
187
|
+
when :put_configuration_set_vdm_options
|
188
|
+
Aws::SESV2::Endpoints::PutConfigurationSetVdmOptions.build(context)
|
181
189
|
when :put_dedicated_ip_in_pool
|
182
190
|
Aws::SESV2::Endpoints::PutDedicatedIpInPool.build(context)
|
183
191
|
when :put_dedicated_ip_warmup_attributes
|