aws-sdk-pinpoint 1.100.0 → 1.102.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -27,7 +27,7 @@ The endpoint provider used to resolve endpoints. Any object that responds to
27
27
  class Handler < Seahorse::Client::Handler
28
28
  def call(context)
29
29
  unless context[:discovered_endpoint]
30
- params = parameters_for_operation(context)
30
+ params = Aws::Pinpoint::Endpoints.parameters_for_operation(context)
31
31
  endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
32
 
33
33
  context.http_request.endpoint = endpoint.url
@@ -67,255 +67,6 @@ The endpoint provider used to resolve endpoints. Any object that responds to
67
67
  context.http_request.headers[key] = value
68
68
  end
69
69
  end
70
-
71
- def parameters_for_operation(context)
72
- case context.operation_name
73
- when :create_app
74
- Aws::Pinpoint::Endpoints::CreateApp.build(context)
75
- when :create_campaign
76
- Aws::Pinpoint::Endpoints::CreateCampaign.build(context)
77
- when :create_email_template
78
- Aws::Pinpoint::Endpoints::CreateEmailTemplate.build(context)
79
- when :create_export_job
80
- Aws::Pinpoint::Endpoints::CreateExportJob.build(context)
81
- when :create_import_job
82
- Aws::Pinpoint::Endpoints::CreateImportJob.build(context)
83
- when :create_in_app_template
84
- Aws::Pinpoint::Endpoints::CreateInAppTemplate.build(context)
85
- when :create_journey
86
- Aws::Pinpoint::Endpoints::CreateJourney.build(context)
87
- when :create_push_template
88
- Aws::Pinpoint::Endpoints::CreatePushTemplate.build(context)
89
- when :create_recommender_configuration
90
- Aws::Pinpoint::Endpoints::CreateRecommenderConfiguration.build(context)
91
- when :create_segment
92
- Aws::Pinpoint::Endpoints::CreateSegment.build(context)
93
- when :create_sms_template
94
- Aws::Pinpoint::Endpoints::CreateSmsTemplate.build(context)
95
- when :create_voice_template
96
- Aws::Pinpoint::Endpoints::CreateVoiceTemplate.build(context)
97
- when :delete_adm_channel
98
- Aws::Pinpoint::Endpoints::DeleteAdmChannel.build(context)
99
- when :delete_apns_channel
100
- Aws::Pinpoint::Endpoints::DeleteApnsChannel.build(context)
101
- when :delete_apns_sandbox_channel
102
- Aws::Pinpoint::Endpoints::DeleteApnsSandboxChannel.build(context)
103
- when :delete_apns_voip_channel
104
- Aws::Pinpoint::Endpoints::DeleteApnsVoipChannel.build(context)
105
- when :delete_apns_voip_sandbox_channel
106
- Aws::Pinpoint::Endpoints::DeleteApnsVoipSandboxChannel.build(context)
107
- when :delete_app
108
- Aws::Pinpoint::Endpoints::DeleteApp.build(context)
109
- when :delete_baidu_channel
110
- Aws::Pinpoint::Endpoints::DeleteBaiduChannel.build(context)
111
- when :delete_campaign
112
- Aws::Pinpoint::Endpoints::DeleteCampaign.build(context)
113
- when :delete_email_channel
114
- Aws::Pinpoint::Endpoints::DeleteEmailChannel.build(context)
115
- when :delete_email_template
116
- Aws::Pinpoint::Endpoints::DeleteEmailTemplate.build(context)
117
- when :delete_endpoint
118
- Aws::Pinpoint::Endpoints::DeleteEndpoint.build(context)
119
- when :delete_event_stream
120
- Aws::Pinpoint::Endpoints::DeleteEventStream.build(context)
121
- when :delete_gcm_channel
122
- Aws::Pinpoint::Endpoints::DeleteGcmChannel.build(context)
123
- when :delete_in_app_template
124
- Aws::Pinpoint::Endpoints::DeleteInAppTemplate.build(context)
125
- when :delete_journey
126
- Aws::Pinpoint::Endpoints::DeleteJourney.build(context)
127
- when :delete_push_template
128
- Aws::Pinpoint::Endpoints::DeletePushTemplate.build(context)
129
- when :delete_recommender_configuration
130
- Aws::Pinpoint::Endpoints::DeleteRecommenderConfiguration.build(context)
131
- when :delete_segment
132
- Aws::Pinpoint::Endpoints::DeleteSegment.build(context)
133
- when :delete_sms_channel
134
- Aws::Pinpoint::Endpoints::DeleteSmsChannel.build(context)
135
- when :delete_sms_template
136
- Aws::Pinpoint::Endpoints::DeleteSmsTemplate.build(context)
137
- when :delete_user_endpoints
138
- Aws::Pinpoint::Endpoints::DeleteUserEndpoints.build(context)
139
- when :delete_voice_channel
140
- Aws::Pinpoint::Endpoints::DeleteVoiceChannel.build(context)
141
- when :delete_voice_template
142
- Aws::Pinpoint::Endpoints::DeleteVoiceTemplate.build(context)
143
- when :get_adm_channel
144
- Aws::Pinpoint::Endpoints::GetAdmChannel.build(context)
145
- when :get_apns_channel
146
- Aws::Pinpoint::Endpoints::GetApnsChannel.build(context)
147
- when :get_apns_sandbox_channel
148
- Aws::Pinpoint::Endpoints::GetApnsSandboxChannel.build(context)
149
- when :get_apns_voip_channel
150
- Aws::Pinpoint::Endpoints::GetApnsVoipChannel.build(context)
151
- when :get_apns_voip_sandbox_channel
152
- Aws::Pinpoint::Endpoints::GetApnsVoipSandboxChannel.build(context)
153
- when :get_app
154
- Aws::Pinpoint::Endpoints::GetApp.build(context)
155
- when :get_application_date_range_kpi
156
- Aws::Pinpoint::Endpoints::GetApplicationDateRangeKpi.build(context)
157
- when :get_application_settings
158
- Aws::Pinpoint::Endpoints::GetApplicationSettings.build(context)
159
- when :get_apps
160
- Aws::Pinpoint::Endpoints::GetApps.build(context)
161
- when :get_baidu_channel
162
- Aws::Pinpoint::Endpoints::GetBaiduChannel.build(context)
163
- when :get_campaign
164
- Aws::Pinpoint::Endpoints::GetCampaign.build(context)
165
- when :get_campaign_activities
166
- Aws::Pinpoint::Endpoints::GetCampaignActivities.build(context)
167
- when :get_campaign_date_range_kpi
168
- Aws::Pinpoint::Endpoints::GetCampaignDateRangeKpi.build(context)
169
- when :get_campaign_version
170
- Aws::Pinpoint::Endpoints::GetCampaignVersion.build(context)
171
- when :get_campaign_versions
172
- Aws::Pinpoint::Endpoints::GetCampaignVersions.build(context)
173
- when :get_campaigns
174
- Aws::Pinpoint::Endpoints::GetCampaigns.build(context)
175
- when :get_channels
176
- Aws::Pinpoint::Endpoints::GetChannels.build(context)
177
- when :get_email_channel
178
- Aws::Pinpoint::Endpoints::GetEmailChannel.build(context)
179
- when :get_email_template
180
- Aws::Pinpoint::Endpoints::GetEmailTemplate.build(context)
181
- when :get_endpoint
182
- Aws::Pinpoint::Endpoints::GetEndpoint.build(context)
183
- when :get_event_stream
184
- Aws::Pinpoint::Endpoints::GetEventStream.build(context)
185
- when :get_export_job
186
- Aws::Pinpoint::Endpoints::GetExportJob.build(context)
187
- when :get_export_jobs
188
- Aws::Pinpoint::Endpoints::GetExportJobs.build(context)
189
- when :get_gcm_channel
190
- Aws::Pinpoint::Endpoints::GetGcmChannel.build(context)
191
- when :get_import_job
192
- Aws::Pinpoint::Endpoints::GetImportJob.build(context)
193
- when :get_import_jobs
194
- Aws::Pinpoint::Endpoints::GetImportJobs.build(context)
195
- when :get_in_app_messages
196
- Aws::Pinpoint::Endpoints::GetInAppMessages.build(context)
197
- when :get_in_app_template
198
- Aws::Pinpoint::Endpoints::GetInAppTemplate.build(context)
199
- when :get_journey
200
- Aws::Pinpoint::Endpoints::GetJourney.build(context)
201
- when :get_journey_date_range_kpi
202
- Aws::Pinpoint::Endpoints::GetJourneyDateRangeKpi.build(context)
203
- when :get_journey_execution_activity_metrics
204
- Aws::Pinpoint::Endpoints::GetJourneyExecutionActivityMetrics.build(context)
205
- when :get_journey_execution_metrics
206
- Aws::Pinpoint::Endpoints::GetJourneyExecutionMetrics.build(context)
207
- when :get_journey_run_execution_activity_metrics
208
- Aws::Pinpoint::Endpoints::GetJourneyRunExecutionActivityMetrics.build(context)
209
- when :get_journey_run_execution_metrics
210
- Aws::Pinpoint::Endpoints::GetJourneyRunExecutionMetrics.build(context)
211
- when :get_journey_runs
212
- Aws::Pinpoint::Endpoints::GetJourneyRuns.build(context)
213
- when :get_push_template
214
- Aws::Pinpoint::Endpoints::GetPushTemplate.build(context)
215
- when :get_recommender_configuration
216
- Aws::Pinpoint::Endpoints::GetRecommenderConfiguration.build(context)
217
- when :get_recommender_configurations
218
- Aws::Pinpoint::Endpoints::GetRecommenderConfigurations.build(context)
219
- when :get_segment
220
- Aws::Pinpoint::Endpoints::GetSegment.build(context)
221
- when :get_segment_export_jobs
222
- Aws::Pinpoint::Endpoints::GetSegmentExportJobs.build(context)
223
- when :get_segment_import_jobs
224
- Aws::Pinpoint::Endpoints::GetSegmentImportJobs.build(context)
225
- when :get_segment_version
226
- Aws::Pinpoint::Endpoints::GetSegmentVersion.build(context)
227
- when :get_segment_versions
228
- Aws::Pinpoint::Endpoints::GetSegmentVersions.build(context)
229
- when :get_segments
230
- Aws::Pinpoint::Endpoints::GetSegments.build(context)
231
- when :get_sms_channel
232
- Aws::Pinpoint::Endpoints::GetSmsChannel.build(context)
233
- when :get_sms_template
234
- Aws::Pinpoint::Endpoints::GetSmsTemplate.build(context)
235
- when :get_user_endpoints
236
- Aws::Pinpoint::Endpoints::GetUserEndpoints.build(context)
237
- when :get_voice_channel
238
- Aws::Pinpoint::Endpoints::GetVoiceChannel.build(context)
239
- when :get_voice_template
240
- Aws::Pinpoint::Endpoints::GetVoiceTemplate.build(context)
241
- when :list_journeys
242
- Aws::Pinpoint::Endpoints::ListJourneys.build(context)
243
- when :list_tags_for_resource
244
- Aws::Pinpoint::Endpoints::ListTagsForResource.build(context)
245
- when :list_template_versions
246
- Aws::Pinpoint::Endpoints::ListTemplateVersions.build(context)
247
- when :list_templates
248
- Aws::Pinpoint::Endpoints::ListTemplates.build(context)
249
- when :phone_number_validate
250
- Aws::Pinpoint::Endpoints::PhoneNumberValidate.build(context)
251
- when :put_event_stream
252
- Aws::Pinpoint::Endpoints::PutEventStream.build(context)
253
- when :put_events
254
- Aws::Pinpoint::Endpoints::PutEvents.build(context)
255
- when :remove_attributes
256
- Aws::Pinpoint::Endpoints::RemoveAttributes.build(context)
257
- when :send_messages
258
- Aws::Pinpoint::Endpoints::SendMessages.build(context)
259
- when :send_otp_message
260
- Aws::Pinpoint::Endpoints::SendOTPMessage.build(context)
261
- when :send_users_messages
262
- Aws::Pinpoint::Endpoints::SendUsersMessages.build(context)
263
- when :tag_resource
264
- Aws::Pinpoint::Endpoints::TagResource.build(context)
265
- when :untag_resource
266
- Aws::Pinpoint::Endpoints::UntagResource.build(context)
267
- when :update_adm_channel
268
- Aws::Pinpoint::Endpoints::UpdateAdmChannel.build(context)
269
- when :update_apns_channel
270
- Aws::Pinpoint::Endpoints::UpdateApnsChannel.build(context)
271
- when :update_apns_sandbox_channel
272
- Aws::Pinpoint::Endpoints::UpdateApnsSandboxChannel.build(context)
273
- when :update_apns_voip_channel
274
- Aws::Pinpoint::Endpoints::UpdateApnsVoipChannel.build(context)
275
- when :update_apns_voip_sandbox_channel
276
- Aws::Pinpoint::Endpoints::UpdateApnsVoipSandboxChannel.build(context)
277
- when :update_application_settings
278
- Aws::Pinpoint::Endpoints::UpdateApplicationSettings.build(context)
279
- when :update_baidu_channel
280
- Aws::Pinpoint::Endpoints::UpdateBaiduChannel.build(context)
281
- when :update_campaign
282
- Aws::Pinpoint::Endpoints::UpdateCampaign.build(context)
283
- when :update_email_channel
284
- Aws::Pinpoint::Endpoints::UpdateEmailChannel.build(context)
285
- when :update_email_template
286
- Aws::Pinpoint::Endpoints::UpdateEmailTemplate.build(context)
287
- when :update_endpoint
288
- Aws::Pinpoint::Endpoints::UpdateEndpoint.build(context)
289
- when :update_endpoints_batch
290
- Aws::Pinpoint::Endpoints::UpdateEndpointsBatch.build(context)
291
- when :update_gcm_channel
292
- Aws::Pinpoint::Endpoints::UpdateGcmChannel.build(context)
293
- when :update_in_app_template
294
- Aws::Pinpoint::Endpoints::UpdateInAppTemplate.build(context)
295
- when :update_journey
296
- Aws::Pinpoint::Endpoints::UpdateJourney.build(context)
297
- when :update_journey_state
298
- Aws::Pinpoint::Endpoints::UpdateJourneyState.build(context)
299
- when :update_push_template
300
- Aws::Pinpoint::Endpoints::UpdatePushTemplate.build(context)
301
- when :update_recommender_configuration
302
- Aws::Pinpoint::Endpoints::UpdateRecommenderConfiguration.build(context)
303
- when :update_segment
304
- Aws::Pinpoint::Endpoints::UpdateSegment.build(context)
305
- when :update_sms_channel
306
- Aws::Pinpoint::Endpoints::UpdateSmsChannel.build(context)
307
- when :update_sms_template
308
- Aws::Pinpoint::Endpoints::UpdateSmsTemplate.build(context)
309
- when :update_template_active_version
310
- Aws::Pinpoint::Endpoints::UpdateTemplateActiveVersion.build(context)
311
- when :update_voice_channel
312
- Aws::Pinpoint::Endpoints::UpdateVoiceChannel.build(context)
313
- when :update_voice_template
314
- Aws::Pinpoint::Endpoints::UpdateVoiceTemplate.build(context)
315
- when :verify_otp_message
316
- Aws::Pinpoint::Endpoints::VerifyOTPMessage.build(context)
317
- end
318
- end
319
70
  end
320
71
 
321
72
  def add_handlers(handlers, _config)
@@ -11,6 +11,8 @@
11
11
  require 'aws-sdk-core'
12
12
  require 'aws-sigv4'
13
13
 
14
+ Aws::Plugins::GlobalConfiguration.add_identifier(:pinpoint)
15
+
14
16
  # This module provides support for Amazon Pinpoint. This module is available in the
15
17
  # `aws-sdk-pinpoint` gem.
16
18
  #
@@ -52,7 +54,7 @@ module Aws::Pinpoint
52
54
  autoload :EndpointProvider, 'aws-sdk-pinpoint/endpoint_provider'
53
55
  autoload :Endpoints, 'aws-sdk-pinpoint/endpoints'
54
56
 
55
- GEM_VERSION = '1.100.0'
57
+ GEM_VERSION = '1.102.0'
56
58
 
57
59
  end
58
60
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-pinpoint
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.100.0
4
+ version: 1.102.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: 2024-09-23 00:00:00.000000000 Z
11
+ date: 2024-10-18 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.207.0
22
+ version: 3.210.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.207.0
32
+ version: 3.210.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement