aws-sdk-pinpoint 1.85.0 → 1.86.0

Sign up to get free protection for your applications and to get access to all the features.
data/sig/client.rbs ADDED
@@ -0,0 +1,4262 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module Pinpoint
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?stub_responses: untyped,
52
+ ?token_provider: untyped,
53
+ ?use_dualstack_endpoint: bool,
54
+ ?use_fips_endpoint: bool,
55
+ ?validate_params: bool,
56
+ ?endpoint_provider: untyped,
57
+ ?http_proxy: String,
58
+ ?http_open_timeout: (Float | Integer),
59
+ ?http_read_timeout: (Float | Integer),
60
+ ?http_idle_timeout: (Float | Integer),
61
+ ?http_continue_timeout: (Float | Integer),
62
+ ?ssl_timeout: (Float | Integer | nil),
63
+ ?http_wire_trace: bool,
64
+ ?ssl_verify_peer: bool,
65
+ ?ssl_ca_bundle: String,
66
+ ?ssl_ca_directory: String,
67
+ ?ssl_ca_store: String,
68
+ ?on_chunk_received: Proc,
69
+ ?on_chunk_sent: Proc,
70
+ ?raise_response_errors: bool
71
+ ) -> instance
72
+ | (?Hash[Symbol, untyped]) -> instance
73
+
74
+
75
+ interface _CreateAppResponseSuccess
76
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateAppResponse]
77
+ def application_response: () -> Types::ApplicationResponse
78
+ end
79
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#create_app-instance_method
80
+ def create_app: (
81
+ create_application_request: {
82
+ name: ::String,
83
+ tags: Hash[::String, ::String]?
84
+ }
85
+ ) -> _CreateAppResponseSuccess
86
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAppResponseSuccess
87
+
88
+ interface _CreateCampaignResponseSuccess
89
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateCampaignResponse]
90
+ def campaign_response: () -> Types::CampaignResponse
91
+ end
92
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#create_campaign-instance_method
93
+ def create_campaign: (
94
+ application_id: ::String,
95
+ write_campaign_request: {
96
+ additional_treatments: Array[
97
+ {
98
+ custom_delivery_configuration: {
99
+ delivery_uri: ::String,
100
+ endpoint_types: Array[("PUSH" | "GCM" | "APNS" | "APNS_SANDBOX" | "APNS_VOIP" | "APNS_VOIP_SANDBOX" | "ADM" | "SMS" | "VOICE" | "EMAIL" | "BAIDU" | "CUSTOM" | "IN_APP")]?
101
+ }?,
102
+ message_configuration: {
103
+ adm_message: {
104
+ action: ("OPEN_APP" | "DEEP_LINK" | "URL")?,
105
+ body: ::String?,
106
+ image_icon_url: ::String?,
107
+ image_small_icon_url: ::String?,
108
+ image_url: ::String?,
109
+ json_body: ::String?,
110
+ media_url: ::String?,
111
+ raw_content: ::String?,
112
+ silent_push: bool?,
113
+ time_to_live: ::Integer?,
114
+ title: ::String?,
115
+ url: ::String?
116
+ }?,
117
+ apns_message: {
118
+ action: ("OPEN_APP" | "DEEP_LINK" | "URL")?,
119
+ body: ::String?,
120
+ image_icon_url: ::String?,
121
+ image_small_icon_url: ::String?,
122
+ image_url: ::String?,
123
+ json_body: ::String?,
124
+ media_url: ::String?,
125
+ raw_content: ::String?,
126
+ silent_push: bool?,
127
+ time_to_live: ::Integer?,
128
+ title: ::String?,
129
+ url: ::String?
130
+ }?,
131
+ baidu_message: {
132
+ action: ("OPEN_APP" | "DEEP_LINK" | "URL")?,
133
+ body: ::String?,
134
+ image_icon_url: ::String?,
135
+ image_small_icon_url: ::String?,
136
+ image_url: ::String?,
137
+ json_body: ::String?,
138
+ media_url: ::String?,
139
+ raw_content: ::String?,
140
+ silent_push: bool?,
141
+ time_to_live: ::Integer?,
142
+ title: ::String?,
143
+ url: ::String?
144
+ }?,
145
+ custom_message: {
146
+ data: ::String?
147
+ }?,
148
+ default_message: {
149
+ action: ("OPEN_APP" | "DEEP_LINK" | "URL")?,
150
+ body: ::String?,
151
+ image_icon_url: ::String?,
152
+ image_small_icon_url: ::String?,
153
+ image_url: ::String?,
154
+ json_body: ::String?,
155
+ media_url: ::String?,
156
+ raw_content: ::String?,
157
+ silent_push: bool?,
158
+ time_to_live: ::Integer?,
159
+ title: ::String?,
160
+ url: ::String?
161
+ }?,
162
+ email_message: {
163
+ body: ::String?,
164
+ from_address: ::String?,
165
+ html_body: ::String?,
166
+ title: ::String?
167
+ }?,
168
+ gcm_message: {
169
+ action: ("OPEN_APP" | "DEEP_LINK" | "URL")?,
170
+ body: ::String?,
171
+ image_icon_url: ::String?,
172
+ image_small_icon_url: ::String?,
173
+ image_url: ::String?,
174
+ json_body: ::String?,
175
+ media_url: ::String?,
176
+ raw_content: ::String?,
177
+ silent_push: bool?,
178
+ time_to_live: ::Integer?,
179
+ title: ::String?,
180
+ url: ::String?
181
+ }?,
182
+ sms_message: {
183
+ body: ::String?,
184
+ message_type: ("TRANSACTIONAL" | "PROMOTIONAL")?,
185
+ origination_number: ::String?,
186
+ sender_id: ::String?,
187
+ entity_id: ::String?,
188
+ template_id: ::String?
189
+ }?,
190
+ in_app_message: {
191
+ body: ::String?,
192
+ content: Array[
193
+ {
194
+ background_color: ::String?,
195
+ body_config: {
196
+ alignment: ("LEFT" | "CENTER" | "RIGHT"),
197
+ body: ::String,
198
+ text_color: ::String
199
+ }?,
200
+ header_config: {
201
+ alignment: ("LEFT" | "CENTER" | "RIGHT"),
202
+ header: ::String,
203
+ text_color: ::String
204
+ }?,
205
+ image_url: ::String?,
206
+ primary_btn: {
207
+ android: {
208
+ button_action: ("LINK" | "DEEP_LINK" | "CLOSE"),
209
+ link: ::String?
210
+ }?,
211
+ default_config: {
212
+ background_color: ::String?,
213
+ border_radius: ::Integer?,
214
+ button_action: ("LINK" | "DEEP_LINK" | "CLOSE"),
215
+ link: ::String?,
216
+ text: ::String,
217
+ text_color: ::String?
218
+ }?,
219
+ ios: {
220
+ button_action: ("LINK" | "DEEP_LINK" | "CLOSE"),
221
+ link: ::String?
222
+ }?,
223
+ web: {
224
+ button_action: ("LINK" | "DEEP_LINK" | "CLOSE"),
225
+ link: ::String?
226
+ }?
227
+ }?,
228
+ secondary_btn: {
229
+ android: {
230
+ button_action: ("LINK" | "DEEP_LINK" | "CLOSE"),
231
+ link: ::String?
232
+ }?,
233
+ default_config: {
234
+ background_color: ::String?,
235
+ border_radius: ::Integer?,
236
+ button_action: ("LINK" | "DEEP_LINK" | "CLOSE"),
237
+ link: ::String?,
238
+ text: ::String,
239
+ text_color: ::String?
240
+ }?,
241
+ ios: {
242
+ button_action: ("LINK" | "DEEP_LINK" | "CLOSE"),
243
+ link: ::String?
244
+ }?,
245
+ web: {
246
+ button_action: ("LINK" | "DEEP_LINK" | "CLOSE"),
247
+ link: ::String?
248
+ }?
249
+ }?
250
+ },
251
+ ]?,
252
+ custom_config: Hash[::String, ::String]?,
253
+ layout: ("BOTTOM_BANNER" | "TOP_BANNER" | "OVERLAYS" | "MOBILE_FEED" | "MIDDLE_BANNER" | "CAROUSEL")?
254
+ }?
255
+ }?,
256
+ schedule: {
257
+ end_time: ::String?,
258
+ event_filter: {
259
+ dimensions: {
260
+ attributes: Hash[::String, {
261
+ attribute_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEFORE" | "AFTER" | "BETWEEN" | "ON")?,
262
+ values: Array[::String]
263
+ }]?,
264
+ event_type: {
265
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
266
+ values: Array[::String]
267
+ }?,
268
+ metrics: Hash[::String, {
269
+ comparison_operator: ::String,
270
+ value: ::Float
271
+ }]?
272
+ },
273
+ filter_type: ("SYSTEM" | "ENDPOINT")
274
+ }?,
275
+ frequency: ("ONCE" | "HOURLY" | "DAILY" | "WEEKLY" | "MONTHLY" | "EVENT" | "IN_APP_EVENT")?,
276
+ is_local_time: bool?,
277
+ quiet_time: {
278
+ end: ::String?,
279
+ start: ::String?
280
+ }?,
281
+ start_time: ::String,
282
+ timezone: ::String?
283
+ }?,
284
+ size_percent: ::Integer,
285
+ template_configuration: {
286
+ email_template: {
287
+ name: ::String?,
288
+ version: ::String?
289
+ }?,
290
+ push_template: {
291
+ name: ::String?,
292
+ version: ::String?
293
+ }?,
294
+ sms_template: {
295
+ name: ::String?,
296
+ version: ::String?
297
+ }?,
298
+ voice_template: {
299
+ name: ::String?,
300
+ version: ::String?
301
+ }?,
302
+ in_app_template: {
303
+ name: ::String?,
304
+ version: ::String?
305
+ }?
306
+ }?,
307
+ treatment_description: ::String?,
308
+ treatment_name: ::String?
309
+ },
310
+ ]?,
311
+ custom_delivery_configuration: {
312
+ delivery_uri: ::String,
313
+ endpoint_types: Array[("PUSH" | "GCM" | "APNS" | "APNS_SANDBOX" | "APNS_VOIP" | "APNS_VOIP_SANDBOX" | "ADM" | "SMS" | "VOICE" | "EMAIL" | "BAIDU" | "CUSTOM" | "IN_APP")]?
314
+ }?,
315
+ description: ::String?,
316
+ holdout_percent: ::Integer?,
317
+ hook: {
318
+ lambda_function_name: ::String?,
319
+ mode: ("DELIVERY" | "FILTER")?,
320
+ web_url: ::String?
321
+ }?,
322
+ is_paused: bool?,
323
+ limits: {
324
+ daily: ::Integer?,
325
+ maximum_duration: ::Integer?,
326
+ messages_per_second: ::Integer?,
327
+ total: ::Integer?,
328
+ session: ::Integer?
329
+ }?,
330
+ message_configuration: {
331
+ adm_message: {
332
+ action: ("OPEN_APP" | "DEEP_LINK" | "URL")?,
333
+ body: ::String?,
334
+ image_icon_url: ::String?,
335
+ image_small_icon_url: ::String?,
336
+ image_url: ::String?,
337
+ json_body: ::String?,
338
+ media_url: ::String?,
339
+ raw_content: ::String?,
340
+ silent_push: bool?,
341
+ time_to_live: ::Integer?,
342
+ title: ::String?,
343
+ url: ::String?
344
+ }?,
345
+ apns_message: {
346
+ action: ("OPEN_APP" | "DEEP_LINK" | "URL")?,
347
+ body: ::String?,
348
+ image_icon_url: ::String?,
349
+ image_small_icon_url: ::String?,
350
+ image_url: ::String?,
351
+ json_body: ::String?,
352
+ media_url: ::String?,
353
+ raw_content: ::String?,
354
+ silent_push: bool?,
355
+ time_to_live: ::Integer?,
356
+ title: ::String?,
357
+ url: ::String?
358
+ }?,
359
+ baidu_message: {
360
+ action: ("OPEN_APP" | "DEEP_LINK" | "URL")?,
361
+ body: ::String?,
362
+ image_icon_url: ::String?,
363
+ image_small_icon_url: ::String?,
364
+ image_url: ::String?,
365
+ json_body: ::String?,
366
+ media_url: ::String?,
367
+ raw_content: ::String?,
368
+ silent_push: bool?,
369
+ time_to_live: ::Integer?,
370
+ title: ::String?,
371
+ url: ::String?
372
+ }?,
373
+ custom_message: {
374
+ data: ::String?
375
+ }?,
376
+ default_message: {
377
+ action: ("OPEN_APP" | "DEEP_LINK" | "URL")?,
378
+ body: ::String?,
379
+ image_icon_url: ::String?,
380
+ image_small_icon_url: ::String?,
381
+ image_url: ::String?,
382
+ json_body: ::String?,
383
+ media_url: ::String?,
384
+ raw_content: ::String?,
385
+ silent_push: bool?,
386
+ time_to_live: ::Integer?,
387
+ title: ::String?,
388
+ url: ::String?
389
+ }?,
390
+ email_message: {
391
+ body: ::String?,
392
+ from_address: ::String?,
393
+ html_body: ::String?,
394
+ title: ::String?
395
+ }?,
396
+ gcm_message: {
397
+ action: ("OPEN_APP" | "DEEP_LINK" | "URL")?,
398
+ body: ::String?,
399
+ image_icon_url: ::String?,
400
+ image_small_icon_url: ::String?,
401
+ image_url: ::String?,
402
+ json_body: ::String?,
403
+ media_url: ::String?,
404
+ raw_content: ::String?,
405
+ silent_push: bool?,
406
+ time_to_live: ::Integer?,
407
+ title: ::String?,
408
+ url: ::String?
409
+ }?,
410
+ sms_message: {
411
+ body: ::String?,
412
+ message_type: ("TRANSACTIONAL" | "PROMOTIONAL")?,
413
+ origination_number: ::String?,
414
+ sender_id: ::String?,
415
+ entity_id: ::String?,
416
+ template_id: ::String?
417
+ }?,
418
+ in_app_message: {
419
+ body: ::String?,
420
+ content: Array[
421
+ {
422
+ background_color: ::String?,
423
+ body_config: {
424
+ alignment: ("LEFT" | "CENTER" | "RIGHT"),
425
+ body: ::String,
426
+ text_color: ::String
427
+ }?,
428
+ header_config: {
429
+ alignment: ("LEFT" | "CENTER" | "RIGHT"),
430
+ header: ::String,
431
+ text_color: ::String
432
+ }?,
433
+ image_url: ::String?,
434
+ primary_btn: {
435
+ android: {
436
+ button_action: ("LINK" | "DEEP_LINK" | "CLOSE"),
437
+ link: ::String?
438
+ }?,
439
+ default_config: {
440
+ background_color: ::String?,
441
+ border_radius: ::Integer?,
442
+ button_action: ("LINK" | "DEEP_LINK" | "CLOSE"),
443
+ link: ::String?,
444
+ text: ::String,
445
+ text_color: ::String?
446
+ }?,
447
+ ios: {
448
+ button_action: ("LINK" | "DEEP_LINK" | "CLOSE"),
449
+ link: ::String?
450
+ }?,
451
+ web: {
452
+ button_action: ("LINK" | "DEEP_LINK" | "CLOSE"),
453
+ link: ::String?
454
+ }?
455
+ }?,
456
+ secondary_btn: {
457
+ android: {
458
+ button_action: ("LINK" | "DEEP_LINK" | "CLOSE"),
459
+ link: ::String?
460
+ }?,
461
+ default_config: {
462
+ background_color: ::String?,
463
+ border_radius: ::Integer?,
464
+ button_action: ("LINK" | "DEEP_LINK" | "CLOSE"),
465
+ link: ::String?,
466
+ text: ::String,
467
+ text_color: ::String?
468
+ }?,
469
+ ios: {
470
+ button_action: ("LINK" | "DEEP_LINK" | "CLOSE"),
471
+ link: ::String?
472
+ }?,
473
+ web: {
474
+ button_action: ("LINK" | "DEEP_LINK" | "CLOSE"),
475
+ link: ::String?
476
+ }?
477
+ }?
478
+ },
479
+ ]?,
480
+ custom_config: Hash[::String, ::String]?,
481
+ layout: ("BOTTOM_BANNER" | "TOP_BANNER" | "OVERLAYS" | "MOBILE_FEED" | "MIDDLE_BANNER" | "CAROUSEL")?
482
+ }?
483
+ }?,
484
+ name: ::String?,
485
+ schedule: {
486
+ end_time: ::String?,
487
+ event_filter: {
488
+ dimensions: {
489
+ attributes: Hash[::String, {
490
+ attribute_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEFORE" | "AFTER" | "BETWEEN" | "ON")?,
491
+ values: Array[::String]
492
+ }]?,
493
+ event_type: {
494
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
495
+ values: Array[::String]
496
+ }?,
497
+ metrics: Hash[::String, {
498
+ comparison_operator: ::String,
499
+ value: ::Float
500
+ }]?
501
+ },
502
+ filter_type: ("SYSTEM" | "ENDPOINT")
503
+ }?,
504
+ frequency: ("ONCE" | "HOURLY" | "DAILY" | "WEEKLY" | "MONTHLY" | "EVENT" | "IN_APP_EVENT")?,
505
+ is_local_time: bool?,
506
+ quiet_time: {
507
+ end: ::String?,
508
+ start: ::String?
509
+ }?,
510
+ start_time: ::String,
511
+ timezone: ::String?
512
+ }?,
513
+ segment_id: ::String?,
514
+ segment_version: ::Integer?,
515
+ tags: Hash[::String, ::String]?,
516
+ template_configuration: {
517
+ email_template: {
518
+ name: ::String?,
519
+ version: ::String?
520
+ }?,
521
+ push_template: {
522
+ name: ::String?,
523
+ version: ::String?
524
+ }?,
525
+ sms_template: {
526
+ name: ::String?,
527
+ version: ::String?
528
+ }?,
529
+ voice_template: {
530
+ name: ::String?,
531
+ version: ::String?
532
+ }?,
533
+ in_app_template: {
534
+ name: ::String?,
535
+ version: ::String?
536
+ }?
537
+ }?,
538
+ treatment_description: ::String?,
539
+ treatment_name: ::String?,
540
+ priority: ::Integer?
541
+ }
542
+ ) -> _CreateCampaignResponseSuccess
543
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCampaignResponseSuccess
544
+
545
+ interface _CreateEmailTemplateResponseSuccess
546
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateEmailTemplateResponse]
547
+ def create_template_message_body: () -> Types::CreateTemplateMessageBody
548
+ end
549
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#create_email_template-instance_method
550
+ def create_email_template: (
551
+ email_template_request: {
552
+ default_substitutions: ::String?,
553
+ html_part: ::String?,
554
+ recommender_id: ::String?,
555
+ subject: ::String?,
556
+ tags: Hash[::String, ::String]?,
557
+ template_description: ::String?,
558
+ text_part: ::String?
559
+ },
560
+ template_name: ::String
561
+ ) -> _CreateEmailTemplateResponseSuccess
562
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateEmailTemplateResponseSuccess
563
+
564
+ interface _CreateExportJobResponseSuccess
565
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateExportJobResponse]
566
+ def export_job_response: () -> Types::ExportJobResponse
567
+ end
568
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#create_export_job-instance_method
569
+ def create_export_job: (
570
+ application_id: ::String,
571
+ export_job_request: {
572
+ role_arn: ::String,
573
+ s3_url_prefix: ::String,
574
+ segment_id: ::String?,
575
+ segment_version: ::Integer?
576
+ }
577
+ ) -> _CreateExportJobResponseSuccess
578
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateExportJobResponseSuccess
579
+
580
+ interface _CreateImportJobResponseSuccess
581
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateImportJobResponse]
582
+ def import_job_response: () -> Types::ImportJobResponse
583
+ end
584
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#create_import_job-instance_method
585
+ def create_import_job: (
586
+ application_id: ::String,
587
+ import_job_request: {
588
+ define_segment: bool?,
589
+ external_id: ::String?,
590
+ format: ("CSV" | "JSON"),
591
+ register_endpoints: bool?,
592
+ role_arn: ::String,
593
+ s3_url: ::String,
594
+ segment_id: ::String?,
595
+ segment_name: ::String?
596
+ }
597
+ ) -> _CreateImportJobResponseSuccess
598
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateImportJobResponseSuccess
599
+
600
+ interface _CreateInAppTemplateResponseSuccess
601
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateInAppTemplateResponse]
602
+ def template_create_message_body: () -> Types::TemplateCreateMessageBody
603
+ end
604
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#create_in_app_template-instance_method
605
+ def create_in_app_template: (
606
+ in_app_template_request: {
607
+ content: Array[
608
+ {
609
+ background_color: ::String?,
610
+ body_config: {
611
+ alignment: ("LEFT" | "CENTER" | "RIGHT"),
612
+ body: ::String,
613
+ text_color: ::String
614
+ }?,
615
+ header_config: {
616
+ alignment: ("LEFT" | "CENTER" | "RIGHT"),
617
+ header: ::String,
618
+ text_color: ::String
619
+ }?,
620
+ image_url: ::String?,
621
+ primary_btn: {
622
+ android: {
623
+ button_action: ("LINK" | "DEEP_LINK" | "CLOSE"),
624
+ link: ::String?
625
+ }?,
626
+ default_config: {
627
+ background_color: ::String?,
628
+ border_radius: ::Integer?,
629
+ button_action: ("LINK" | "DEEP_LINK" | "CLOSE"),
630
+ link: ::String?,
631
+ text: ::String,
632
+ text_color: ::String?
633
+ }?,
634
+ ios: {
635
+ button_action: ("LINK" | "DEEP_LINK" | "CLOSE"),
636
+ link: ::String?
637
+ }?,
638
+ web: {
639
+ button_action: ("LINK" | "DEEP_LINK" | "CLOSE"),
640
+ link: ::String?
641
+ }?
642
+ }?,
643
+ secondary_btn: {
644
+ android: {
645
+ button_action: ("LINK" | "DEEP_LINK" | "CLOSE"),
646
+ link: ::String?
647
+ }?,
648
+ default_config: {
649
+ background_color: ::String?,
650
+ border_radius: ::Integer?,
651
+ button_action: ("LINK" | "DEEP_LINK" | "CLOSE"),
652
+ link: ::String?,
653
+ text: ::String,
654
+ text_color: ::String?
655
+ }?,
656
+ ios: {
657
+ button_action: ("LINK" | "DEEP_LINK" | "CLOSE"),
658
+ link: ::String?
659
+ }?,
660
+ web: {
661
+ button_action: ("LINK" | "DEEP_LINK" | "CLOSE"),
662
+ link: ::String?
663
+ }?
664
+ }?
665
+ },
666
+ ]?,
667
+ custom_config: Hash[::String, ::String]?,
668
+ layout: ("BOTTOM_BANNER" | "TOP_BANNER" | "OVERLAYS" | "MOBILE_FEED" | "MIDDLE_BANNER" | "CAROUSEL")?,
669
+ tags: Hash[::String, ::String]?,
670
+ template_description: ::String?
671
+ },
672
+ template_name: ::String
673
+ ) -> _CreateInAppTemplateResponseSuccess
674
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateInAppTemplateResponseSuccess
675
+
676
+ interface _CreateJourneyResponseSuccess
677
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateJourneyResponse]
678
+ def journey_response: () -> Types::JourneyResponse
679
+ end
680
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#create_journey-instance_method
681
+ def create_journey: (
682
+ application_id: ::String,
683
+ write_journey_request: {
684
+ activities: Hash[::String, {
685
+ custom: {
686
+ delivery_uri: ::String?,
687
+ endpoint_types: Array[("PUSH" | "GCM" | "APNS" | "APNS_SANDBOX" | "APNS_VOIP" | "APNS_VOIP_SANDBOX" | "ADM" | "SMS" | "VOICE" | "EMAIL" | "BAIDU" | "CUSTOM" | "IN_APP")]?,
688
+ message_config: {
689
+ data: ::String?
690
+ }?,
691
+ next_activity: ::String?,
692
+ template_name: ::String?,
693
+ template_version: ::String?
694
+ }?,
695
+ conditional_split: {
696
+ condition: {
697
+ conditions: Array[
698
+ {
699
+ event_condition: {
700
+ dimensions: {
701
+ attributes: Hash[::String, {
702
+ attribute_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEFORE" | "AFTER" | "BETWEEN" | "ON")?,
703
+ values: Array[::String]
704
+ }]?,
705
+ event_type: {
706
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
707
+ values: Array[::String]
708
+ }?,
709
+ metrics: Hash[::String, {
710
+ comparison_operator: ::String,
711
+ value: ::Float
712
+ }]?
713
+ }?,
714
+ message_activity: ::String?
715
+ }?,
716
+ segment_condition: {
717
+ segment_id: ::String
718
+ }?,
719
+ segment_dimensions: {
720
+ attributes: Hash[::String, {
721
+ attribute_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEFORE" | "AFTER" | "BETWEEN" | "ON")?,
722
+ values: Array[::String]
723
+ }]?,
724
+ behavior: {
725
+ recency: {
726
+ duration: ("HR_24" | "DAY_7" | "DAY_14" | "DAY_30"),
727
+ recency_type: ("ACTIVE" | "INACTIVE")
728
+ }?
729
+ }?,
730
+ demographic: {
731
+ app_version: {
732
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
733
+ values: Array[::String]
734
+ }?,
735
+ channel: {
736
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
737
+ values: Array[::String]
738
+ }?,
739
+ device_type: {
740
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
741
+ values: Array[::String]
742
+ }?,
743
+ make: {
744
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
745
+ values: Array[::String]
746
+ }?,
747
+ model: {
748
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
749
+ values: Array[::String]
750
+ }?,
751
+ platform: {
752
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
753
+ values: Array[::String]
754
+ }?
755
+ }?,
756
+ location: {
757
+ country: {
758
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
759
+ values: Array[::String]
760
+ }?,
761
+ gps_point: {
762
+ coordinates: {
763
+ latitude: ::Float,
764
+ longitude: ::Float
765
+ },
766
+ range_in_kilometers: ::Float?
767
+ }?
768
+ }?,
769
+ metrics: Hash[::String, {
770
+ comparison_operator: ::String,
771
+ value: ::Float
772
+ }]?,
773
+ user_attributes: Hash[::String, {
774
+ attribute_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEFORE" | "AFTER" | "BETWEEN" | "ON")?,
775
+ values: Array[::String]
776
+ }]?
777
+ }?
778
+ },
779
+ ]?,
780
+ operator: ("ALL" | "ANY")?
781
+ }?,
782
+ evaluation_wait_time: {
783
+ wait_for: ::String?,
784
+ wait_until: ::String?
785
+ }?,
786
+ false_activity: ::String?,
787
+ true_activity: ::String?
788
+ }?,
789
+ description: ::String?,
790
+ email: {
791
+ message_config: {
792
+ from_address: ::String?
793
+ }?,
794
+ next_activity: ::String?,
795
+ template_name: ::String?,
796
+ template_version: ::String?
797
+ }?,
798
+ holdout: {
799
+ next_activity: ::String?,
800
+ percentage: ::Integer
801
+ }?,
802
+ multi_condition: {
803
+ branches: Array[
804
+ {
805
+ condition: {
806
+ event_condition: {
807
+ dimensions: {
808
+ attributes: Hash[::String, {
809
+ attribute_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEFORE" | "AFTER" | "BETWEEN" | "ON")?,
810
+ values: Array[::String]
811
+ }]?,
812
+ event_type: {
813
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
814
+ values: Array[::String]
815
+ }?,
816
+ metrics: Hash[::String, {
817
+ comparison_operator: ::String,
818
+ value: ::Float
819
+ }]?
820
+ }?,
821
+ message_activity: ::String?
822
+ }?,
823
+ segment_condition: {
824
+ segment_id: ::String
825
+ }?,
826
+ segment_dimensions: {
827
+ attributes: Hash[::String, {
828
+ attribute_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEFORE" | "AFTER" | "BETWEEN" | "ON")?,
829
+ values: Array[::String]
830
+ }]?,
831
+ behavior: {
832
+ recency: {
833
+ duration: ("HR_24" | "DAY_7" | "DAY_14" | "DAY_30"),
834
+ recency_type: ("ACTIVE" | "INACTIVE")
835
+ }?
836
+ }?,
837
+ demographic: {
838
+ app_version: {
839
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
840
+ values: Array[::String]
841
+ }?,
842
+ channel: {
843
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
844
+ values: Array[::String]
845
+ }?,
846
+ device_type: {
847
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
848
+ values: Array[::String]
849
+ }?,
850
+ make: {
851
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
852
+ values: Array[::String]
853
+ }?,
854
+ model: {
855
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
856
+ values: Array[::String]
857
+ }?,
858
+ platform: {
859
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
860
+ values: Array[::String]
861
+ }?
862
+ }?,
863
+ location: {
864
+ country: {
865
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
866
+ values: Array[::String]
867
+ }?,
868
+ gps_point: {
869
+ coordinates: {
870
+ latitude: ::Float,
871
+ longitude: ::Float
872
+ },
873
+ range_in_kilometers: ::Float?
874
+ }?
875
+ }?,
876
+ metrics: Hash[::String, {
877
+ comparison_operator: ::String,
878
+ value: ::Float
879
+ }]?,
880
+ user_attributes: Hash[::String, {
881
+ attribute_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEFORE" | "AFTER" | "BETWEEN" | "ON")?,
882
+ values: Array[::String]
883
+ }]?
884
+ }?
885
+ }?,
886
+ next_activity: ::String?
887
+ },
888
+ ]?,
889
+ default_activity: ::String?,
890
+ evaluation_wait_time: {
891
+ wait_for: ::String?,
892
+ wait_until: ::String?
893
+ }?
894
+ }?,
895
+ push: {
896
+ message_config: {
897
+ time_to_live: ::String?
898
+ }?,
899
+ next_activity: ::String?,
900
+ template_name: ::String?,
901
+ template_version: ::String?
902
+ }?,
903
+ random_split: {
904
+ branches: Array[
905
+ {
906
+ next_activity: ::String?,
907
+ percentage: ::Integer?
908
+ },
909
+ ]?
910
+ }?,
911
+ sms: {
912
+ message_config: {
913
+ message_type: ("TRANSACTIONAL" | "PROMOTIONAL")?,
914
+ origination_number: ::String?,
915
+ sender_id: ::String?,
916
+ entity_id: ::String?,
917
+ template_id: ::String?
918
+ }?,
919
+ next_activity: ::String?,
920
+ template_name: ::String?,
921
+ template_version: ::String?
922
+ }?,
923
+ wait: {
924
+ next_activity: ::String?,
925
+ wait_time: {
926
+ wait_for: ::String?,
927
+ wait_until: ::String?
928
+ }?
929
+ }?,
930
+ contact_center: {
931
+ next_activity: ::String?
932
+ }?
933
+ }]?,
934
+ creation_date: ::String?,
935
+ last_modified_date: ::String?,
936
+ limits: {
937
+ daily_cap: ::Integer?,
938
+ endpoint_reentry_cap: ::Integer?,
939
+ messages_per_second: ::Integer?,
940
+ endpoint_reentry_interval: ::String?,
941
+ timeframe_cap: {
942
+ cap: ::Integer?,
943
+ days: ::Integer?
944
+ }?,
945
+ total_cap: ::Integer?
946
+ }?,
947
+ local_time: bool?,
948
+ name: ::String,
949
+ quiet_time: {
950
+ end: ::String?,
951
+ start: ::String?
952
+ }?,
953
+ refresh_frequency: ::String?,
954
+ schedule: {
955
+ end_time: ::Time?,
956
+ start_time: ::Time?,
957
+ timezone: ::String?
958
+ }?,
959
+ start_activity: ::String?,
960
+ start_condition: {
961
+ description: ::String?,
962
+ event_start_condition: {
963
+ event_filter: {
964
+ dimensions: {
965
+ attributes: Hash[::String, {
966
+ attribute_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEFORE" | "AFTER" | "BETWEEN" | "ON")?,
967
+ values: Array[::String]
968
+ }]?,
969
+ event_type: {
970
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
971
+ values: Array[::String]
972
+ }?,
973
+ metrics: Hash[::String, {
974
+ comparison_operator: ::String,
975
+ value: ::Float
976
+ }]?
977
+ },
978
+ filter_type: ("SYSTEM" | "ENDPOINT")
979
+ }?,
980
+ segment_id: ::String?
981
+ }?,
982
+ segment_start_condition: {
983
+ segment_id: ::String
984
+ }?
985
+ }?,
986
+ state: ("DRAFT" | "ACTIVE" | "COMPLETED" | "CANCELLED" | "CLOSED" | "PAUSED")?,
987
+ wait_for_quiet_time: bool?,
988
+ refresh_on_segment_update: bool?,
989
+ journey_channel_settings: {
990
+ connect_campaign_arn: ::String?,
991
+ connect_campaign_execution_role_arn: ::String?
992
+ }?,
993
+ sending_schedule: bool?,
994
+ open_hours: {
995
+ email: Hash[("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY"), Array[
996
+ {
997
+ start_time: ::String?,
998
+ end_time: ::String?
999
+ },
1000
+ ]]?,
1001
+ sms: Hash[("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY"), Array[
1002
+ {
1003
+ start_time: ::String?,
1004
+ end_time: ::String?
1005
+ },
1006
+ ]]?,
1007
+ push: Hash[("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY"), Array[
1008
+ {
1009
+ start_time: ::String?,
1010
+ end_time: ::String?
1011
+ },
1012
+ ]]?,
1013
+ voice: Hash[("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY"), Array[
1014
+ {
1015
+ start_time: ::String?,
1016
+ end_time: ::String?
1017
+ },
1018
+ ]]?,
1019
+ custom: Hash[("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY"), Array[
1020
+ {
1021
+ start_time: ::String?,
1022
+ end_time: ::String?
1023
+ },
1024
+ ]]?
1025
+ }?,
1026
+ closed_days: {
1027
+ email: Array[
1028
+ {
1029
+ name: ::String?,
1030
+ start_date_time: ::String?,
1031
+ end_date_time: ::String?
1032
+ },
1033
+ ]?,
1034
+ sms: Array[
1035
+ {
1036
+ name: ::String?,
1037
+ start_date_time: ::String?,
1038
+ end_date_time: ::String?
1039
+ },
1040
+ ]?,
1041
+ push: Array[
1042
+ {
1043
+ name: ::String?,
1044
+ start_date_time: ::String?,
1045
+ end_date_time: ::String?
1046
+ },
1047
+ ]?,
1048
+ voice: Array[
1049
+ {
1050
+ name: ::String?,
1051
+ start_date_time: ::String?,
1052
+ end_date_time: ::String?
1053
+ },
1054
+ ]?,
1055
+ custom: Array[
1056
+ {
1057
+ name: ::String?,
1058
+ start_date_time: ::String?,
1059
+ end_date_time: ::String?
1060
+ },
1061
+ ]?
1062
+ }?,
1063
+ timezone_estimation_methods: Array[("PHONE_NUMBER" | "POSTAL_CODE")]?
1064
+ }
1065
+ ) -> _CreateJourneyResponseSuccess
1066
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateJourneyResponseSuccess
1067
+
1068
+ interface _CreatePushTemplateResponseSuccess
1069
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreatePushTemplateResponse]
1070
+ def create_template_message_body: () -> Types::CreateTemplateMessageBody
1071
+ end
1072
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#create_push_template-instance_method
1073
+ def create_push_template: (
1074
+ push_notification_template_request: {
1075
+ adm: {
1076
+ action: ("OPEN_APP" | "DEEP_LINK" | "URL")?,
1077
+ body: ::String?,
1078
+ image_icon_url: ::String?,
1079
+ image_url: ::String?,
1080
+ raw_content: ::String?,
1081
+ small_image_icon_url: ::String?,
1082
+ sound: ::String?,
1083
+ title: ::String?,
1084
+ url: ::String?
1085
+ }?,
1086
+ apns: {
1087
+ action: ("OPEN_APP" | "DEEP_LINK" | "URL")?,
1088
+ body: ::String?,
1089
+ media_url: ::String?,
1090
+ raw_content: ::String?,
1091
+ sound: ::String?,
1092
+ title: ::String?,
1093
+ url: ::String?
1094
+ }?,
1095
+ baidu: {
1096
+ action: ("OPEN_APP" | "DEEP_LINK" | "URL")?,
1097
+ body: ::String?,
1098
+ image_icon_url: ::String?,
1099
+ image_url: ::String?,
1100
+ raw_content: ::String?,
1101
+ small_image_icon_url: ::String?,
1102
+ sound: ::String?,
1103
+ title: ::String?,
1104
+ url: ::String?
1105
+ }?,
1106
+ default: {
1107
+ action: ("OPEN_APP" | "DEEP_LINK" | "URL")?,
1108
+ body: ::String?,
1109
+ sound: ::String?,
1110
+ title: ::String?,
1111
+ url: ::String?
1112
+ }?,
1113
+ default_substitutions: ::String?,
1114
+ gcm: {
1115
+ action: ("OPEN_APP" | "DEEP_LINK" | "URL")?,
1116
+ body: ::String?,
1117
+ image_icon_url: ::String?,
1118
+ image_url: ::String?,
1119
+ raw_content: ::String?,
1120
+ small_image_icon_url: ::String?,
1121
+ sound: ::String?,
1122
+ title: ::String?,
1123
+ url: ::String?
1124
+ }?,
1125
+ recommender_id: ::String?,
1126
+ tags: Hash[::String, ::String]?,
1127
+ template_description: ::String?
1128
+ },
1129
+ template_name: ::String
1130
+ ) -> _CreatePushTemplateResponseSuccess
1131
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePushTemplateResponseSuccess
1132
+
1133
+ interface _CreateRecommenderConfigurationResponseSuccess
1134
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateRecommenderConfigurationResponse]
1135
+ def recommender_configuration_response: () -> Types::RecommenderConfigurationResponse
1136
+ end
1137
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#create_recommender_configuration-instance_method
1138
+ def create_recommender_configuration: (
1139
+ create_recommender_configuration: {
1140
+ attributes: Hash[::String, ::String]?,
1141
+ description: ::String?,
1142
+ name: ::String?,
1143
+ recommendation_provider_id_type: ::String?,
1144
+ recommendation_provider_role_arn: ::String,
1145
+ recommendation_provider_uri: ::String,
1146
+ recommendation_transformer_uri: ::String?,
1147
+ recommendations_display_name: ::String?,
1148
+ recommendations_per_message: ::Integer?
1149
+ }
1150
+ ) -> _CreateRecommenderConfigurationResponseSuccess
1151
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateRecommenderConfigurationResponseSuccess
1152
+
1153
+ interface _CreateSegmentResponseSuccess
1154
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateSegmentResponse]
1155
+ def segment_response: () -> Types::SegmentResponse
1156
+ end
1157
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#create_segment-instance_method
1158
+ def create_segment: (
1159
+ application_id: ::String,
1160
+ write_segment_request: {
1161
+ dimensions: {
1162
+ attributes: Hash[::String, {
1163
+ attribute_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEFORE" | "AFTER" | "BETWEEN" | "ON")?,
1164
+ values: Array[::String]
1165
+ }]?,
1166
+ behavior: {
1167
+ recency: {
1168
+ duration: ("HR_24" | "DAY_7" | "DAY_14" | "DAY_30"),
1169
+ recency_type: ("ACTIVE" | "INACTIVE")
1170
+ }?
1171
+ }?,
1172
+ demographic: {
1173
+ app_version: {
1174
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
1175
+ values: Array[::String]
1176
+ }?,
1177
+ channel: {
1178
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
1179
+ values: Array[::String]
1180
+ }?,
1181
+ device_type: {
1182
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
1183
+ values: Array[::String]
1184
+ }?,
1185
+ make: {
1186
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
1187
+ values: Array[::String]
1188
+ }?,
1189
+ model: {
1190
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
1191
+ values: Array[::String]
1192
+ }?,
1193
+ platform: {
1194
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
1195
+ values: Array[::String]
1196
+ }?
1197
+ }?,
1198
+ location: {
1199
+ country: {
1200
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
1201
+ values: Array[::String]
1202
+ }?,
1203
+ gps_point: {
1204
+ coordinates: {
1205
+ latitude: ::Float,
1206
+ longitude: ::Float
1207
+ },
1208
+ range_in_kilometers: ::Float?
1209
+ }?
1210
+ }?,
1211
+ metrics: Hash[::String, {
1212
+ comparison_operator: ::String,
1213
+ value: ::Float
1214
+ }]?,
1215
+ user_attributes: Hash[::String, {
1216
+ attribute_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEFORE" | "AFTER" | "BETWEEN" | "ON")?,
1217
+ values: Array[::String]
1218
+ }]?
1219
+ }?,
1220
+ name: ::String?,
1221
+ segment_groups: {
1222
+ groups: Array[
1223
+ {
1224
+ dimensions: Array[
1225
+ {
1226
+ attributes: Hash[::String, {
1227
+ attribute_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEFORE" | "AFTER" | "BETWEEN" | "ON")?,
1228
+ values: Array[::String]
1229
+ }]?,
1230
+ behavior: {
1231
+ recency: {
1232
+ duration: ("HR_24" | "DAY_7" | "DAY_14" | "DAY_30"),
1233
+ recency_type: ("ACTIVE" | "INACTIVE")
1234
+ }?
1235
+ }?,
1236
+ demographic: {
1237
+ app_version: {
1238
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
1239
+ values: Array[::String]
1240
+ }?,
1241
+ channel: {
1242
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
1243
+ values: Array[::String]
1244
+ }?,
1245
+ device_type: {
1246
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
1247
+ values: Array[::String]
1248
+ }?,
1249
+ make: {
1250
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
1251
+ values: Array[::String]
1252
+ }?,
1253
+ model: {
1254
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
1255
+ values: Array[::String]
1256
+ }?,
1257
+ platform: {
1258
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
1259
+ values: Array[::String]
1260
+ }?
1261
+ }?,
1262
+ location: {
1263
+ country: {
1264
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
1265
+ values: Array[::String]
1266
+ }?,
1267
+ gps_point: {
1268
+ coordinates: {
1269
+ latitude: ::Float,
1270
+ longitude: ::Float
1271
+ },
1272
+ range_in_kilometers: ::Float?
1273
+ }?
1274
+ }?,
1275
+ metrics: Hash[::String, {
1276
+ comparison_operator: ::String,
1277
+ value: ::Float
1278
+ }]?,
1279
+ user_attributes: Hash[::String, {
1280
+ attribute_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEFORE" | "AFTER" | "BETWEEN" | "ON")?,
1281
+ values: Array[::String]
1282
+ }]?
1283
+ },
1284
+ ]?,
1285
+ source_segments: Array[
1286
+ {
1287
+ id: ::String,
1288
+ version: ::Integer?
1289
+ },
1290
+ ]?,
1291
+ source_type: ("ALL" | "ANY" | "NONE")?,
1292
+ type: ("ALL" | "ANY" | "NONE")?
1293
+ },
1294
+ ]?,
1295
+ include: ("ALL" | "ANY" | "NONE")?
1296
+ }?,
1297
+ tags: Hash[::String, ::String]?
1298
+ }
1299
+ ) -> _CreateSegmentResponseSuccess
1300
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSegmentResponseSuccess
1301
+
1302
+ interface _CreateSmsTemplateResponseSuccess
1303
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateSmsTemplateResponse]
1304
+ def create_template_message_body: () -> Types::CreateTemplateMessageBody
1305
+ end
1306
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#create_sms_template-instance_method
1307
+ def create_sms_template: (
1308
+ sms_template_request: {
1309
+ body: ::String?,
1310
+ default_substitutions: ::String?,
1311
+ recommender_id: ::String?,
1312
+ tags: Hash[::String, ::String]?,
1313
+ template_description: ::String?
1314
+ },
1315
+ template_name: ::String
1316
+ ) -> _CreateSmsTemplateResponseSuccess
1317
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSmsTemplateResponseSuccess
1318
+
1319
+ interface _CreateVoiceTemplateResponseSuccess
1320
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateVoiceTemplateResponse]
1321
+ def create_template_message_body: () -> Types::CreateTemplateMessageBody
1322
+ end
1323
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#create_voice_template-instance_method
1324
+ def create_voice_template: (
1325
+ template_name: ::String,
1326
+ voice_template_request: {
1327
+ body: ::String?,
1328
+ default_substitutions: ::String?,
1329
+ language_code: ::String?,
1330
+ tags: Hash[::String, ::String]?,
1331
+ template_description: ::String?,
1332
+ voice_id: ::String?
1333
+ }
1334
+ ) -> _CreateVoiceTemplateResponseSuccess
1335
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateVoiceTemplateResponseSuccess
1336
+
1337
+ interface _DeleteAdmChannelResponseSuccess
1338
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAdmChannelResponse]
1339
+ def adm_channel_response: () -> Types::ADMChannelResponse
1340
+ end
1341
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#delete_adm_channel-instance_method
1342
+ def delete_adm_channel: (
1343
+ application_id: ::String
1344
+ ) -> _DeleteAdmChannelResponseSuccess
1345
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAdmChannelResponseSuccess
1346
+
1347
+ interface _DeleteApnsChannelResponseSuccess
1348
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteApnsChannelResponse]
1349
+ def apns_channel_response: () -> Types::APNSChannelResponse
1350
+ end
1351
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#delete_apns_channel-instance_method
1352
+ def delete_apns_channel: (
1353
+ application_id: ::String
1354
+ ) -> _DeleteApnsChannelResponseSuccess
1355
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteApnsChannelResponseSuccess
1356
+
1357
+ interface _DeleteApnsSandboxChannelResponseSuccess
1358
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteApnsSandboxChannelResponse]
1359
+ def apns_sandbox_channel_response: () -> Types::APNSSandboxChannelResponse
1360
+ end
1361
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#delete_apns_sandbox_channel-instance_method
1362
+ def delete_apns_sandbox_channel: (
1363
+ application_id: ::String
1364
+ ) -> _DeleteApnsSandboxChannelResponseSuccess
1365
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteApnsSandboxChannelResponseSuccess
1366
+
1367
+ interface _DeleteApnsVoipChannelResponseSuccess
1368
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteApnsVoipChannelResponse]
1369
+ def apns_voip_channel_response: () -> Types::APNSVoipChannelResponse
1370
+ end
1371
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#delete_apns_voip_channel-instance_method
1372
+ def delete_apns_voip_channel: (
1373
+ application_id: ::String
1374
+ ) -> _DeleteApnsVoipChannelResponseSuccess
1375
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteApnsVoipChannelResponseSuccess
1376
+
1377
+ interface _DeleteApnsVoipSandboxChannelResponseSuccess
1378
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteApnsVoipSandboxChannelResponse]
1379
+ def apns_voip_sandbox_channel_response: () -> Types::APNSVoipSandboxChannelResponse
1380
+ end
1381
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#delete_apns_voip_sandbox_channel-instance_method
1382
+ def delete_apns_voip_sandbox_channel: (
1383
+ application_id: ::String
1384
+ ) -> _DeleteApnsVoipSandboxChannelResponseSuccess
1385
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteApnsVoipSandboxChannelResponseSuccess
1386
+
1387
+ interface _DeleteAppResponseSuccess
1388
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAppResponse]
1389
+ def application_response: () -> Types::ApplicationResponse
1390
+ end
1391
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#delete_app-instance_method
1392
+ def delete_app: (
1393
+ application_id: ::String
1394
+ ) -> _DeleteAppResponseSuccess
1395
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAppResponseSuccess
1396
+
1397
+ interface _DeleteBaiduChannelResponseSuccess
1398
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteBaiduChannelResponse]
1399
+ def baidu_channel_response: () -> Types::BaiduChannelResponse
1400
+ end
1401
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#delete_baidu_channel-instance_method
1402
+ def delete_baidu_channel: (
1403
+ application_id: ::String
1404
+ ) -> _DeleteBaiduChannelResponseSuccess
1405
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteBaiduChannelResponseSuccess
1406
+
1407
+ interface _DeleteCampaignResponseSuccess
1408
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteCampaignResponse]
1409
+ def campaign_response: () -> Types::CampaignResponse
1410
+ end
1411
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#delete_campaign-instance_method
1412
+ def delete_campaign: (
1413
+ application_id: ::String,
1414
+ campaign_id: ::String
1415
+ ) -> _DeleteCampaignResponseSuccess
1416
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteCampaignResponseSuccess
1417
+
1418
+ interface _DeleteEmailChannelResponseSuccess
1419
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteEmailChannelResponse]
1420
+ def email_channel_response: () -> Types::EmailChannelResponse
1421
+ end
1422
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#delete_email_channel-instance_method
1423
+ def delete_email_channel: (
1424
+ application_id: ::String
1425
+ ) -> _DeleteEmailChannelResponseSuccess
1426
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteEmailChannelResponseSuccess
1427
+
1428
+ interface _DeleteEmailTemplateResponseSuccess
1429
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteEmailTemplateResponse]
1430
+ def message_body: () -> Types::MessageBody
1431
+ end
1432
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#delete_email_template-instance_method
1433
+ def delete_email_template: (
1434
+ template_name: ::String,
1435
+ ?version: ::String
1436
+ ) -> _DeleteEmailTemplateResponseSuccess
1437
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteEmailTemplateResponseSuccess
1438
+
1439
+ interface _DeleteEndpointResponseSuccess
1440
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteEndpointResponse]
1441
+ def endpoint_response: () -> Types::EndpointResponse
1442
+ end
1443
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#delete_endpoint-instance_method
1444
+ def delete_endpoint: (
1445
+ application_id: ::String,
1446
+ endpoint_id: ::String
1447
+ ) -> _DeleteEndpointResponseSuccess
1448
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteEndpointResponseSuccess
1449
+
1450
+ interface _DeleteEventStreamResponseSuccess
1451
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteEventStreamResponse]
1452
+ def event_stream: () -> Types::EventStream
1453
+ end
1454
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#delete_event_stream-instance_method
1455
+ def delete_event_stream: (
1456
+ application_id: ::String
1457
+ ) -> _DeleteEventStreamResponseSuccess
1458
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteEventStreamResponseSuccess
1459
+
1460
+ interface _DeleteGcmChannelResponseSuccess
1461
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteGcmChannelResponse]
1462
+ def gcm_channel_response: () -> Types::GCMChannelResponse
1463
+ end
1464
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#delete_gcm_channel-instance_method
1465
+ def delete_gcm_channel: (
1466
+ application_id: ::String
1467
+ ) -> _DeleteGcmChannelResponseSuccess
1468
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteGcmChannelResponseSuccess
1469
+
1470
+ interface _DeleteInAppTemplateResponseSuccess
1471
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteInAppTemplateResponse]
1472
+ def message_body: () -> Types::MessageBody
1473
+ end
1474
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#delete_in_app_template-instance_method
1475
+ def delete_in_app_template: (
1476
+ template_name: ::String,
1477
+ ?version: ::String
1478
+ ) -> _DeleteInAppTemplateResponseSuccess
1479
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteInAppTemplateResponseSuccess
1480
+
1481
+ interface _DeleteJourneyResponseSuccess
1482
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteJourneyResponse]
1483
+ def journey_response: () -> Types::JourneyResponse
1484
+ end
1485
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#delete_journey-instance_method
1486
+ def delete_journey: (
1487
+ application_id: ::String,
1488
+ journey_id: ::String
1489
+ ) -> _DeleteJourneyResponseSuccess
1490
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteJourneyResponseSuccess
1491
+
1492
+ interface _DeletePushTemplateResponseSuccess
1493
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeletePushTemplateResponse]
1494
+ def message_body: () -> Types::MessageBody
1495
+ end
1496
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#delete_push_template-instance_method
1497
+ def delete_push_template: (
1498
+ template_name: ::String,
1499
+ ?version: ::String
1500
+ ) -> _DeletePushTemplateResponseSuccess
1501
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeletePushTemplateResponseSuccess
1502
+
1503
+ interface _DeleteRecommenderConfigurationResponseSuccess
1504
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteRecommenderConfigurationResponse]
1505
+ def recommender_configuration_response: () -> Types::RecommenderConfigurationResponse
1506
+ end
1507
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#delete_recommender_configuration-instance_method
1508
+ def delete_recommender_configuration: (
1509
+ recommender_id: ::String
1510
+ ) -> _DeleteRecommenderConfigurationResponseSuccess
1511
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteRecommenderConfigurationResponseSuccess
1512
+
1513
+ interface _DeleteSegmentResponseSuccess
1514
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteSegmentResponse]
1515
+ def segment_response: () -> Types::SegmentResponse
1516
+ end
1517
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#delete_segment-instance_method
1518
+ def delete_segment: (
1519
+ application_id: ::String,
1520
+ segment_id: ::String
1521
+ ) -> _DeleteSegmentResponseSuccess
1522
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteSegmentResponseSuccess
1523
+
1524
+ interface _DeleteSmsChannelResponseSuccess
1525
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteSmsChannelResponse]
1526
+ def sms_channel_response: () -> Types::SMSChannelResponse
1527
+ end
1528
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#delete_sms_channel-instance_method
1529
+ def delete_sms_channel: (
1530
+ application_id: ::String
1531
+ ) -> _DeleteSmsChannelResponseSuccess
1532
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteSmsChannelResponseSuccess
1533
+
1534
+ interface _DeleteSmsTemplateResponseSuccess
1535
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteSmsTemplateResponse]
1536
+ def message_body: () -> Types::MessageBody
1537
+ end
1538
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#delete_sms_template-instance_method
1539
+ def delete_sms_template: (
1540
+ template_name: ::String,
1541
+ ?version: ::String
1542
+ ) -> _DeleteSmsTemplateResponseSuccess
1543
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteSmsTemplateResponseSuccess
1544
+
1545
+ interface _DeleteUserEndpointsResponseSuccess
1546
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteUserEndpointsResponse]
1547
+ def endpoints_response: () -> Types::EndpointsResponse
1548
+ end
1549
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#delete_user_endpoints-instance_method
1550
+ def delete_user_endpoints: (
1551
+ application_id: ::String,
1552
+ user_id: ::String
1553
+ ) -> _DeleteUserEndpointsResponseSuccess
1554
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteUserEndpointsResponseSuccess
1555
+
1556
+ interface _DeleteVoiceChannelResponseSuccess
1557
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteVoiceChannelResponse]
1558
+ def voice_channel_response: () -> Types::VoiceChannelResponse
1559
+ end
1560
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#delete_voice_channel-instance_method
1561
+ def delete_voice_channel: (
1562
+ application_id: ::String
1563
+ ) -> _DeleteVoiceChannelResponseSuccess
1564
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteVoiceChannelResponseSuccess
1565
+
1566
+ interface _DeleteVoiceTemplateResponseSuccess
1567
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteVoiceTemplateResponse]
1568
+ def message_body: () -> Types::MessageBody
1569
+ end
1570
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#delete_voice_template-instance_method
1571
+ def delete_voice_template: (
1572
+ template_name: ::String,
1573
+ ?version: ::String
1574
+ ) -> _DeleteVoiceTemplateResponseSuccess
1575
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteVoiceTemplateResponseSuccess
1576
+
1577
+ interface _GetAdmChannelResponseSuccess
1578
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAdmChannelResponse]
1579
+ def adm_channel_response: () -> Types::ADMChannelResponse
1580
+ end
1581
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#get_adm_channel-instance_method
1582
+ def get_adm_channel: (
1583
+ application_id: ::String
1584
+ ) -> _GetAdmChannelResponseSuccess
1585
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAdmChannelResponseSuccess
1586
+
1587
+ interface _GetApnsChannelResponseSuccess
1588
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetApnsChannelResponse]
1589
+ def apns_channel_response: () -> Types::APNSChannelResponse
1590
+ end
1591
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#get_apns_channel-instance_method
1592
+ def get_apns_channel: (
1593
+ application_id: ::String
1594
+ ) -> _GetApnsChannelResponseSuccess
1595
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetApnsChannelResponseSuccess
1596
+
1597
+ interface _GetApnsSandboxChannelResponseSuccess
1598
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetApnsSandboxChannelResponse]
1599
+ def apns_sandbox_channel_response: () -> Types::APNSSandboxChannelResponse
1600
+ end
1601
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#get_apns_sandbox_channel-instance_method
1602
+ def get_apns_sandbox_channel: (
1603
+ application_id: ::String
1604
+ ) -> _GetApnsSandboxChannelResponseSuccess
1605
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetApnsSandboxChannelResponseSuccess
1606
+
1607
+ interface _GetApnsVoipChannelResponseSuccess
1608
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetApnsVoipChannelResponse]
1609
+ def apns_voip_channel_response: () -> Types::APNSVoipChannelResponse
1610
+ end
1611
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#get_apns_voip_channel-instance_method
1612
+ def get_apns_voip_channel: (
1613
+ application_id: ::String
1614
+ ) -> _GetApnsVoipChannelResponseSuccess
1615
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetApnsVoipChannelResponseSuccess
1616
+
1617
+ interface _GetApnsVoipSandboxChannelResponseSuccess
1618
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetApnsVoipSandboxChannelResponse]
1619
+ def apns_voip_sandbox_channel_response: () -> Types::APNSVoipSandboxChannelResponse
1620
+ end
1621
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#get_apns_voip_sandbox_channel-instance_method
1622
+ def get_apns_voip_sandbox_channel: (
1623
+ application_id: ::String
1624
+ ) -> _GetApnsVoipSandboxChannelResponseSuccess
1625
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetApnsVoipSandboxChannelResponseSuccess
1626
+
1627
+ interface _GetAppResponseSuccess
1628
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAppResponse]
1629
+ def application_response: () -> Types::ApplicationResponse
1630
+ end
1631
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#get_app-instance_method
1632
+ def get_app: (
1633
+ application_id: ::String
1634
+ ) -> _GetAppResponseSuccess
1635
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAppResponseSuccess
1636
+
1637
+ interface _GetApplicationDateRangeKpiResponseSuccess
1638
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetApplicationDateRangeKpiResponse]
1639
+ def application_date_range_kpi_response: () -> Types::ApplicationDateRangeKpiResponse
1640
+ end
1641
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#get_application_date_range_kpi-instance_method
1642
+ def get_application_date_range_kpi: (
1643
+ application_id: ::String,
1644
+ ?end_time: ::Time,
1645
+ kpi_name: ::String,
1646
+ ?next_token: ::String,
1647
+ ?page_size: ::String,
1648
+ ?start_time: ::Time
1649
+ ) -> _GetApplicationDateRangeKpiResponseSuccess
1650
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetApplicationDateRangeKpiResponseSuccess
1651
+
1652
+ interface _GetApplicationSettingsResponseSuccess
1653
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetApplicationSettingsResponse]
1654
+ def application_settings_resource: () -> Types::ApplicationSettingsResource
1655
+ end
1656
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#get_application_settings-instance_method
1657
+ def get_application_settings: (
1658
+ application_id: ::String
1659
+ ) -> _GetApplicationSettingsResponseSuccess
1660
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetApplicationSettingsResponseSuccess
1661
+
1662
+ interface _GetAppsResponseSuccess
1663
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAppsResponse]
1664
+ def applications_response: () -> Types::ApplicationsResponse
1665
+ end
1666
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#get_apps-instance_method
1667
+ def get_apps: (
1668
+ ?page_size: ::String,
1669
+ ?token: ::String
1670
+ ) -> _GetAppsResponseSuccess
1671
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAppsResponseSuccess
1672
+
1673
+ interface _GetBaiduChannelResponseSuccess
1674
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetBaiduChannelResponse]
1675
+ def baidu_channel_response: () -> Types::BaiduChannelResponse
1676
+ end
1677
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#get_baidu_channel-instance_method
1678
+ def get_baidu_channel: (
1679
+ application_id: ::String
1680
+ ) -> _GetBaiduChannelResponseSuccess
1681
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBaiduChannelResponseSuccess
1682
+
1683
+ interface _GetCampaignResponseSuccess
1684
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetCampaignResponse]
1685
+ def campaign_response: () -> Types::CampaignResponse
1686
+ end
1687
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#get_campaign-instance_method
1688
+ def get_campaign: (
1689
+ application_id: ::String,
1690
+ campaign_id: ::String
1691
+ ) -> _GetCampaignResponseSuccess
1692
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCampaignResponseSuccess
1693
+
1694
+ interface _GetCampaignActivitiesResponseSuccess
1695
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetCampaignActivitiesResponse]
1696
+ def activities_response: () -> Types::ActivitiesResponse
1697
+ end
1698
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#get_campaign_activities-instance_method
1699
+ def get_campaign_activities: (
1700
+ application_id: ::String,
1701
+ campaign_id: ::String,
1702
+ ?page_size: ::String,
1703
+ ?token: ::String
1704
+ ) -> _GetCampaignActivitiesResponseSuccess
1705
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCampaignActivitiesResponseSuccess
1706
+
1707
+ interface _GetCampaignDateRangeKpiResponseSuccess
1708
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetCampaignDateRangeKpiResponse]
1709
+ def campaign_date_range_kpi_response: () -> Types::CampaignDateRangeKpiResponse
1710
+ end
1711
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#get_campaign_date_range_kpi-instance_method
1712
+ def get_campaign_date_range_kpi: (
1713
+ application_id: ::String,
1714
+ campaign_id: ::String,
1715
+ ?end_time: ::Time,
1716
+ kpi_name: ::String,
1717
+ ?next_token: ::String,
1718
+ ?page_size: ::String,
1719
+ ?start_time: ::Time
1720
+ ) -> _GetCampaignDateRangeKpiResponseSuccess
1721
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCampaignDateRangeKpiResponseSuccess
1722
+
1723
+ interface _GetCampaignVersionResponseSuccess
1724
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetCampaignVersionResponse]
1725
+ def campaign_response: () -> Types::CampaignResponse
1726
+ end
1727
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#get_campaign_version-instance_method
1728
+ def get_campaign_version: (
1729
+ application_id: ::String,
1730
+ campaign_id: ::String,
1731
+ version: ::String
1732
+ ) -> _GetCampaignVersionResponseSuccess
1733
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCampaignVersionResponseSuccess
1734
+
1735
+ interface _GetCampaignVersionsResponseSuccess
1736
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetCampaignVersionsResponse]
1737
+ def campaigns_response: () -> Types::CampaignsResponse
1738
+ end
1739
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#get_campaign_versions-instance_method
1740
+ def get_campaign_versions: (
1741
+ application_id: ::String,
1742
+ campaign_id: ::String,
1743
+ ?page_size: ::String,
1744
+ ?token: ::String
1745
+ ) -> _GetCampaignVersionsResponseSuccess
1746
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCampaignVersionsResponseSuccess
1747
+
1748
+ interface _GetCampaignsResponseSuccess
1749
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetCampaignsResponse]
1750
+ def campaigns_response: () -> Types::CampaignsResponse
1751
+ end
1752
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#get_campaigns-instance_method
1753
+ def get_campaigns: (
1754
+ application_id: ::String,
1755
+ ?page_size: ::String,
1756
+ ?token: ::String
1757
+ ) -> _GetCampaignsResponseSuccess
1758
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCampaignsResponseSuccess
1759
+
1760
+ interface _GetChannelsResponseSuccess
1761
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetChannelsResponse]
1762
+ def channels_response: () -> Types::ChannelsResponse
1763
+ end
1764
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#get_channels-instance_method
1765
+ def get_channels: (
1766
+ application_id: ::String
1767
+ ) -> _GetChannelsResponseSuccess
1768
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetChannelsResponseSuccess
1769
+
1770
+ interface _GetEmailChannelResponseSuccess
1771
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetEmailChannelResponse]
1772
+ def email_channel_response: () -> Types::EmailChannelResponse
1773
+ end
1774
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#get_email_channel-instance_method
1775
+ def get_email_channel: (
1776
+ application_id: ::String
1777
+ ) -> _GetEmailChannelResponseSuccess
1778
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetEmailChannelResponseSuccess
1779
+
1780
+ interface _GetEmailTemplateResponseSuccess
1781
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetEmailTemplateResponse]
1782
+ def email_template_response: () -> Types::EmailTemplateResponse
1783
+ end
1784
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#get_email_template-instance_method
1785
+ def get_email_template: (
1786
+ template_name: ::String,
1787
+ ?version: ::String
1788
+ ) -> _GetEmailTemplateResponseSuccess
1789
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetEmailTemplateResponseSuccess
1790
+
1791
+ interface _GetEndpointResponseSuccess
1792
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetEndpointResponse]
1793
+ def endpoint_response: () -> Types::EndpointResponse
1794
+ end
1795
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#get_endpoint-instance_method
1796
+ def get_endpoint: (
1797
+ application_id: ::String,
1798
+ endpoint_id: ::String
1799
+ ) -> _GetEndpointResponseSuccess
1800
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetEndpointResponseSuccess
1801
+
1802
+ interface _GetEventStreamResponseSuccess
1803
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetEventStreamResponse]
1804
+ def event_stream: () -> Types::EventStream
1805
+ end
1806
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#get_event_stream-instance_method
1807
+ def get_event_stream: (
1808
+ application_id: ::String
1809
+ ) -> _GetEventStreamResponseSuccess
1810
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetEventStreamResponseSuccess
1811
+
1812
+ interface _GetExportJobResponseSuccess
1813
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetExportJobResponse]
1814
+ def export_job_response: () -> Types::ExportJobResponse
1815
+ end
1816
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#get_export_job-instance_method
1817
+ def get_export_job: (
1818
+ application_id: ::String,
1819
+ job_id: ::String
1820
+ ) -> _GetExportJobResponseSuccess
1821
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetExportJobResponseSuccess
1822
+
1823
+ interface _GetExportJobsResponseSuccess
1824
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetExportJobsResponse]
1825
+ def export_jobs_response: () -> Types::ExportJobsResponse
1826
+ end
1827
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#get_export_jobs-instance_method
1828
+ def get_export_jobs: (
1829
+ application_id: ::String,
1830
+ ?page_size: ::String,
1831
+ ?token: ::String
1832
+ ) -> _GetExportJobsResponseSuccess
1833
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetExportJobsResponseSuccess
1834
+
1835
+ interface _GetGcmChannelResponseSuccess
1836
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetGcmChannelResponse]
1837
+ def gcm_channel_response: () -> Types::GCMChannelResponse
1838
+ end
1839
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#get_gcm_channel-instance_method
1840
+ def get_gcm_channel: (
1841
+ application_id: ::String
1842
+ ) -> _GetGcmChannelResponseSuccess
1843
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetGcmChannelResponseSuccess
1844
+
1845
+ interface _GetImportJobResponseSuccess
1846
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetImportJobResponse]
1847
+ def import_job_response: () -> Types::ImportJobResponse
1848
+ end
1849
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#get_import_job-instance_method
1850
+ def get_import_job: (
1851
+ application_id: ::String,
1852
+ job_id: ::String
1853
+ ) -> _GetImportJobResponseSuccess
1854
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetImportJobResponseSuccess
1855
+
1856
+ interface _GetImportJobsResponseSuccess
1857
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetImportJobsResponse]
1858
+ def import_jobs_response: () -> Types::ImportJobsResponse
1859
+ end
1860
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#get_import_jobs-instance_method
1861
+ def get_import_jobs: (
1862
+ application_id: ::String,
1863
+ ?page_size: ::String,
1864
+ ?token: ::String
1865
+ ) -> _GetImportJobsResponseSuccess
1866
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetImportJobsResponseSuccess
1867
+
1868
+ interface _GetInAppMessagesResponseSuccess
1869
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetInAppMessagesResponse]
1870
+ def in_app_messages_response: () -> Types::InAppMessagesResponse
1871
+ end
1872
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#get_in_app_messages-instance_method
1873
+ def get_in_app_messages: (
1874
+ application_id: ::String,
1875
+ endpoint_id: ::String
1876
+ ) -> _GetInAppMessagesResponseSuccess
1877
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetInAppMessagesResponseSuccess
1878
+
1879
+ interface _GetInAppTemplateResponseSuccess
1880
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetInAppTemplateResponse]
1881
+ def in_app_template_response: () -> Types::InAppTemplateResponse
1882
+ end
1883
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#get_in_app_template-instance_method
1884
+ def get_in_app_template: (
1885
+ template_name: ::String,
1886
+ ?version: ::String
1887
+ ) -> _GetInAppTemplateResponseSuccess
1888
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetInAppTemplateResponseSuccess
1889
+
1890
+ interface _GetJourneyResponseSuccess
1891
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetJourneyResponse]
1892
+ def journey_response: () -> Types::JourneyResponse
1893
+ end
1894
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#get_journey-instance_method
1895
+ def get_journey: (
1896
+ application_id: ::String,
1897
+ journey_id: ::String
1898
+ ) -> _GetJourneyResponseSuccess
1899
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetJourneyResponseSuccess
1900
+
1901
+ interface _GetJourneyDateRangeKpiResponseSuccess
1902
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetJourneyDateRangeKpiResponse]
1903
+ def journey_date_range_kpi_response: () -> Types::JourneyDateRangeKpiResponse
1904
+ end
1905
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#get_journey_date_range_kpi-instance_method
1906
+ def get_journey_date_range_kpi: (
1907
+ application_id: ::String,
1908
+ ?end_time: ::Time,
1909
+ journey_id: ::String,
1910
+ kpi_name: ::String,
1911
+ ?next_token: ::String,
1912
+ ?page_size: ::String,
1913
+ ?start_time: ::Time
1914
+ ) -> _GetJourneyDateRangeKpiResponseSuccess
1915
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetJourneyDateRangeKpiResponseSuccess
1916
+
1917
+ interface _GetJourneyExecutionActivityMetricsResponseSuccess
1918
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetJourneyExecutionActivityMetricsResponse]
1919
+ def journey_execution_activity_metrics_response: () -> Types::JourneyExecutionActivityMetricsResponse
1920
+ end
1921
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#get_journey_execution_activity_metrics-instance_method
1922
+ def get_journey_execution_activity_metrics: (
1923
+ application_id: ::String,
1924
+ journey_activity_id: ::String,
1925
+ journey_id: ::String,
1926
+ ?next_token: ::String,
1927
+ ?page_size: ::String
1928
+ ) -> _GetJourneyExecutionActivityMetricsResponseSuccess
1929
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetJourneyExecutionActivityMetricsResponseSuccess
1930
+
1931
+ interface _GetJourneyExecutionMetricsResponseSuccess
1932
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetJourneyExecutionMetricsResponse]
1933
+ def journey_execution_metrics_response: () -> Types::JourneyExecutionMetricsResponse
1934
+ end
1935
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#get_journey_execution_metrics-instance_method
1936
+ def get_journey_execution_metrics: (
1937
+ application_id: ::String,
1938
+ journey_id: ::String,
1939
+ ?next_token: ::String,
1940
+ ?page_size: ::String
1941
+ ) -> _GetJourneyExecutionMetricsResponseSuccess
1942
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetJourneyExecutionMetricsResponseSuccess
1943
+
1944
+ interface _GetJourneyRunExecutionActivityMetricsResponseSuccess
1945
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetJourneyRunExecutionActivityMetricsResponse]
1946
+ def journey_run_execution_activity_metrics_response: () -> Types::JourneyRunExecutionActivityMetricsResponse
1947
+ end
1948
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#get_journey_run_execution_activity_metrics-instance_method
1949
+ def get_journey_run_execution_activity_metrics: (
1950
+ application_id: ::String,
1951
+ journey_activity_id: ::String,
1952
+ journey_id: ::String,
1953
+ ?next_token: ::String,
1954
+ ?page_size: ::String,
1955
+ run_id: ::String
1956
+ ) -> _GetJourneyRunExecutionActivityMetricsResponseSuccess
1957
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetJourneyRunExecutionActivityMetricsResponseSuccess
1958
+
1959
+ interface _GetJourneyRunExecutionMetricsResponseSuccess
1960
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetJourneyRunExecutionMetricsResponse]
1961
+ def journey_run_execution_metrics_response: () -> Types::JourneyRunExecutionMetricsResponse
1962
+ end
1963
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#get_journey_run_execution_metrics-instance_method
1964
+ def get_journey_run_execution_metrics: (
1965
+ application_id: ::String,
1966
+ journey_id: ::String,
1967
+ ?next_token: ::String,
1968
+ ?page_size: ::String,
1969
+ run_id: ::String
1970
+ ) -> _GetJourneyRunExecutionMetricsResponseSuccess
1971
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetJourneyRunExecutionMetricsResponseSuccess
1972
+
1973
+ interface _GetJourneyRunsResponseSuccess
1974
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetJourneyRunsResponse]
1975
+ def journey_runs_response: () -> Types::JourneyRunsResponse
1976
+ end
1977
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#get_journey_runs-instance_method
1978
+ def get_journey_runs: (
1979
+ application_id: ::String,
1980
+ journey_id: ::String,
1981
+ ?page_size: ::String,
1982
+ ?token: ::String
1983
+ ) -> _GetJourneyRunsResponseSuccess
1984
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetJourneyRunsResponseSuccess
1985
+
1986
+ interface _GetPushTemplateResponseSuccess
1987
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetPushTemplateResponse]
1988
+ def push_notification_template_response: () -> Types::PushNotificationTemplateResponse
1989
+ end
1990
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#get_push_template-instance_method
1991
+ def get_push_template: (
1992
+ template_name: ::String,
1993
+ ?version: ::String
1994
+ ) -> _GetPushTemplateResponseSuccess
1995
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPushTemplateResponseSuccess
1996
+
1997
+ interface _GetRecommenderConfigurationResponseSuccess
1998
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetRecommenderConfigurationResponse]
1999
+ def recommender_configuration_response: () -> Types::RecommenderConfigurationResponse
2000
+ end
2001
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#get_recommender_configuration-instance_method
2002
+ def get_recommender_configuration: (
2003
+ recommender_id: ::String
2004
+ ) -> _GetRecommenderConfigurationResponseSuccess
2005
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRecommenderConfigurationResponseSuccess
2006
+
2007
+ interface _GetRecommenderConfigurationsResponseSuccess
2008
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetRecommenderConfigurationsResponse]
2009
+ def list_recommender_configurations_response: () -> Types::ListRecommenderConfigurationsResponse
2010
+ end
2011
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#get_recommender_configurations-instance_method
2012
+ def get_recommender_configurations: (
2013
+ ?page_size: ::String,
2014
+ ?token: ::String
2015
+ ) -> _GetRecommenderConfigurationsResponseSuccess
2016
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRecommenderConfigurationsResponseSuccess
2017
+
2018
+ interface _GetSegmentResponseSuccess
2019
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSegmentResponse]
2020
+ def segment_response: () -> Types::SegmentResponse
2021
+ end
2022
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#get_segment-instance_method
2023
+ def get_segment: (
2024
+ application_id: ::String,
2025
+ segment_id: ::String
2026
+ ) -> _GetSegmentResponseSuccess
2027
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSegmentResponseSuccess
2028
+
2029
+ interface _GetSegmentExportJobsResponseSuccess
2030
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSegmentExportJobsResponse]
2031
+ def export_jobs_response: () -> Types::ExportJobsResponse
2032
+ end
2033
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#get_segment_export_jobs-instance_method
2034
+ def get_segment_export_jobs: (
2035
+ application_id: ::String,
2036
+ ?page_size: ::String,
2037
+ segment_id: ::String,
2038
+ ?token: ::String
2039
+ ) -> _GetSegmentExportJobsResponseSuccess
2040
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSegmentExportJobsResponseSuccess
2041
+
2042
+ interface _GetSegmentImportJobsResponseSuccess
2043
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSegmentImportJobsResponse]
2044
+ def import_jobs_response: () -> Types::ImportJobsResponse
2045
+ end
2046
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#get_segment_import_jobs-instance_method
2047
+ def get_segment_import_jobs: (
2048
+ application_id: ::String,
2049
+ ?page_size: ::String,
2050
+ segment_id: ::String,
2051
+ ?token: ::String
2052
+ ) -> _GetSegmentImportJobsResponseSuccess
2053
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSegmentImportJobsResponseSuccess
2054
+
2055
+ interface _GetSegmentVersionResponseSuccess
2056
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSegmentVersionResponse]
2057
+ def segment_response: () -> Types::SegmentResponse
2058
+ end
2059
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#get_segment_version-instance_method
2060
+ def get_segment_version: (
2061
+ application_id: ::String,
2062
+ segment_id: ::String,
2063
+ version: ::String
2064
+ ) -> _GetSegmentVersionResponseSuccess
2065
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSegmentVersionResponseSuccess
2066
+
2067
+ interface _GetSegmentVersionsResponseSuccess
2068
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSegmentVersionsResponse]
2069
+ def segments_response: () -> Types::SegmentsResponse
2070
+ end
2071
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#get_segment_versions-instance_method
2072
+ def get_segment_versions: (
2073
+ application_id: ::String,
2074
+ ?page_size: ::String,
2075
+ segment_id: ::String,
2076
+ ?token: ::String
2077
+ ) -> _GetSegmentVersionsResponseSuccess
2078
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSegmentVersionsResponseSuccess
2079
+
2080
+ interface _GetSegmentsResponseSuccess
2081
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSegmentsResponse]
2082
+ def segments_response: () -> Types::SegmentsResponse
2083
+ end
2084
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#get_segments-instance_method
2085
+ def get_segments: (
2086
+ application_id: ::String,
2087
+ ?page_size: ::String,
2088
+ ?token: ::String
2089
+ ) -> _GetSegmentsResponseSuccess
2090
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSegmentsResponseSuccess
2091
+
2092
+ interface _GetSmsChannelResponseSuccess
2093
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSmsChannelResponse]
2094
+ def sms_channel_response: () -> Types::SMSChannelResponse
2095
+ end
2096
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#get_sms_channel-instance_method
2097
+ def get_sms_channel: (
2098
+ application_id: ::String
2099
+ ) -> _GetSmsChannelResponseSuccess
2100
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSmsChannelResponseSuccess
2101
+
2102
+ interface _GetSmsTemplateResponseSuccess
2103
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSmsTemplateResponse]
2104
+ def sms_template_response: () -> Types::SMSTemplateResponse
2105
+ end
2106
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#get_sms_template-instance_method
2107
+ def get_sms_template: (
2108
+ template_name: ::String,
2109
+ ?version: ::String
2110
+ ) -> _GetSmsTemplateResponseSuccess
2111
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSmsTemplateResponseSuccess
2112
+
2113
+ interface _GetUserEndpointsResponseSuccess
2114
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetUserEndpointsResponse]
2115
+ def endpoints_response: () -> Types::EndpointsResponse
2116
+ end
2117
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#get_user_endpoints-instance_method
2118
+ def get_user_endpoints: (
2119
+ application_id: ::String,
2120
+ user_id: ::String
2121
+ ) -> _GetUserEndpointsResponseSuccess
2122
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetUserEndpointsResponseSuccess
2123
+
2124
+ interface _GetVoiceChannelResponseSuccess
2125
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetVoiceChannelResponse]
2126
+ def voice_channel_response: () -> Types::VoiceChannelResponse
2127
+ end
2128
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#get_voice_channel-instance_method
2129
+ def get_voice_channel: (
2130
+ application_id: ::String
2131
+ ) -> _GetVoiceChannelResponseSuccess
2132
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetVoiceChannelResponseSuccess
2133
+
2134
+ interface _GetVoiceTemplateResponseSuccess
2135
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetVoiceTemplateResponse]
2136
+ def voice_template_response: () -> Types::VoiceTemplateResponse
2137
+ end
2138
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#get_voice_template-instance_method
2139
+ def get_voice_template: (
2140
+ template_name: ::String,
2141
+ ?version: ::String
2142
+ ) -> _GetVoiceTemplateResponseSuccess
2143
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetVoiceTemplateResponseSuccess
2144
+
2145
+ interface _ListJourneysResponseSuccess
2146
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListJourneysResponse]
2147
+ def journeys_response: () -> Types::JourneysResponse
2148
+ end
2149
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#list_journeys-instance_method
2150
+ def list_journeys: (
2151
+ application_id: ::String,
2152
+ ?page_size: ::String,
2153
+ ?token: ::String
2154
+ ) -> _ListJourneysResponseSuccess
2155
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListJourneysResponseSuccess
2156
+
2157
+ interface _ListTagsForResourceResponseSuccess
2158
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
2159
+ def tags_model: () -> Types::TagsModel
2160
+ end
2161
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#list_tags_for_resource-instance_method
2162
+ def list_tags_for_resource: (
2163
+ resource_arn: ::String
2164
+ ) -> _ListTagsForResourceResponseSuccess
2165
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
2166
+
2167
+ interface _ListTemplateVersionsResponseSuccess
2168
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTemplateVersionsResponse]
2169
+ def template_versions_response: () -> Types::TemplateVersionsResponse
2170
+ end
2171
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#list_template_versions-instance_method
2172
+ def list_template_versions: (
2173
+ ?next_token: ::String,
2174
+ ?page_size: ::String,
2175
+ template_name: ::String,
2176
+ template_type: ::String
2177
+ ) -> _ListTemplateVersionsResponseSuccess
2178
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTemplateVersionsResponseSuccess
2179
+
2180
+ interface _ListTemplatesResponseSuccess
2181
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTemplatesResponse]
2182
+ def templates_response: () -> Types::TemplatesResponse
2183
+ end
2184
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#list_templates-instance_method
2185
+ def list_templates: (
2186
+ ?next_token: ::String,
2187
+ ?page_size: ::String,
2188
+ ?prefix: ::String,
2189
+ ?template_type: ::String
2190
+ ) -> _ListTemplatesResponseSuccess
2191
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTemplatesResponseSuccess
2192
+
2193
+ interface _PhoneNumberValidateResponseSuccess
2194
+ include ::Seahorse::Client::_ResponseSuccess[Types::PhoneNumberValidateResponse]
2195
+ def number_validate_response: () -> Types::NumberValidateResponse
2196
+ end
2197
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#phone_number_validate-instance_method
2198
+ def phone_number_validate: (
2199
+ number_validate_request: {
2200
+ iso_country_code: ::String?,
2201
+ phone_number: ::String?
2202
+ }
2203
+ ) -> _PhoneNumberValidateResponseSuccess
2204
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PhoneNumberValidateResponseSuccess
2205
+
2206
+ interface _PutEventStreamResponseSuccess
2207
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutEventStreamResponse]
2208
+ def event_stream: () -> Types::EventStream
2209
+ end
2210
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#put_event_stream-instance_method
2211
+ def put_event_stream: (
2212
+ application_id: ::String,
2213
+ write_event_stream: {
2214
+ destination_stream_arn: ::String,
2215
+ role_arn: ::String
2216
+ }
2217
+ ) -> _PutEventStreamResponseSuccess
2218
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutEventStreamResponseSuccess
2219
+
2220
+ interface _PutEventsResponseSuccess
2221
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutEventsResponse]
2222
+ def events_response: () -> Types::EventsResponse
2223
+ end
2224
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#put_events-instance_method
2225
+ def put_events: (
2226
+ application_id: ::String,
2227
+ events_request: {
2228
+ batch_item: Hash[::String, {
2229
+ endpoint: {
2230
+ address: ::String?,
2231
+ attributes: Hash[::String, Array[::String]]?,
2232
+ channel_type: ("PUSH" | "GCM" | "APNS" | "APNS_SANDBOX" | "APNS_VOIP" | "APNS_VOIP_SANDBOX" | "ADM" | "SMS" | "VOICE" | "EMAIL" | "BAIDU" | "CUSTOM" | "IN_APP")?,
2233
+ demographic: {
2234
+ app_version: ::String?,
2235
+ locale: ::String?,
2236
+ make: ::String?,
2237
+ model: ::String?,
2238
+ model_version: ::String?,
2239
+ platform: ::String?,
2240
+ platform_version: ::String?,
2241
+ timezone: ::String?
2242
+ }?,
2243
+ effective_date: ::String?,
2244
+ endpoint_status: ::String?,
2245
+ location: {
2246
+ city: ::String?,
2247
+ country: ::String?,
2248
+ latitude: ::Float?,
2249
+ longitude: ::Float?,
2250
+ postal_code: ::String?,
2251
+ region: ::String?
2252
+ }?,
2253
+ metrics: Hash[::String, ::Float]?,
2254
+ opt_out: ::String?,
2255
+ request_id: ::String?,
2256
+ user: {
2257
+ user_attributes: Hash[::String, Array[::String]]?,
2258
+ user_id: ::String?
2259
+ }?
2260
+ },
2261
+ events: Hash[::String, {
2262
+ app_package_name: ::String?,
2263
+ app_title: ::String?,
2264
+ app_version_code: ::String?,
2265
+ attributes: Hash[::String, ::String]?,
2266
+ client_sdk_version: ::String?,
2267
+ event_type: ::String,
2268
+ metrics: Hash[::String, ::Float]?,
2269
+ sdk_name: ::String?,
2270
+ session: {
2271
+ duration: ::Integer?,
2272
+ id: ::String,
2273
+ start_timestamp: ::String,
2274
+ stop_timestamp: ::String?
2275
+ }?,
2276
+ timestamp: ::String
2277
+ }]
2278
+ }]
2279
+ }
2280
+ ) -> _PutEventsResponseSuccess
2281
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutEventsResponseSuccess
2282
+
2283
+ interface _RemoveAttributesResponseSuccess
2284
+ include ::Seahorse::Client::_ResponseSuccess[Types::RemoveAttributesResponse]
2285
+ def attributes_resource: () -> Types::AttributesResource
2286
+ end
2287
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#remove_attributes-instance_method
2288
+ def remove_attributes: (
2289
+ application_id: ::String,
2290
+ attribute_type: ::String,
2291
+ update_attributes_request: {
2292
+ blacklist: Array[::String]?
2293
+ }
2294
+ ) -> _RemoveAttributesResponseSuccess
2295
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RemoveAttributesResponseSuccess
2296
+
2297
+ interface _SendMessagesResponseSuccess
2298
+ include ::Seahorse::Client::_ResponseSuccess[Types::SendMessagesResponse]
2299
+ def message_response: () -> Types::MessageResponse
2300
+ end
2301
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#send_messages-instance_method
2302
+ def send_messages: (
2303
+ application_id: ::String,
2304
+ message_request: {
2305
+ addresses: Hash[::String, {
2306
+ body_override: ::String?,
2307
+ channel_type: ("PUSH" | "GCM" | "APNS" | "APNS_SANDBOX" | "APNS_VOIP" | "APNS_VOIP_SANDBOX" | "ADM" | "SMS" | "VOICE" | "EMAIL" | "BAIDU" | "CUSTOM" | "IN_APP")?,
2308
+ context: Hash[::String, ::String]?,
2309
+ raw_content: ::String?,
2310
+ substitutions: Hash[::String, Array[::String]]?,
2311
+ title_override: ::String?
2312
+ }]?,
2313
+ context: Hash[::String, ::String]?,
2314
+ endpoints: Hash[::String, {
2315
+ body_override: ::String?,
2316
+ context: Hash[::String, ::String]?,
2317
+ raw_content: ::String?,
2318
+ substitutions: Hash[::String, Array[::String]]?,
2319
+ title_override: ::String?
2320
+ }]?,
2321
+ message_configuration: {
2322
+ adm_message: {
2323
+ action: ("OPEN_APP" | "DEEP_LINK" | "URL")?,
2324
+ body: ::String?,
2325
+ consolidation_key: ::String?,
2326
+ data: Hash[::String, ::String]?,
2327
+ expires_after: ::String?,
2328
+ icon_reference: ::String?,
2329
+ image_icon_url: ::String?,
2330
+ image_url: ::String?,
2331
+ md5: ::String?,
2332
+ raw_content: ::String?,
2333
+ silent_push: bool?,
2334
+ small_image_icon_url: ::String?,
2335
+ sound: ::String?,
2336
+ substitutions: Hash[::String, Array[::String]]?,
2337
+ title: ::String?,
2338
+ url: ::String?
2339
+ }?,
2340
+ apns_message: {
2341
+ apns_push_type: ::String?,
2342
+ action: ("OPEN_APP" | "DEEP_LINK" | "URL")?,
2343
+ badge: ::Integer?,
2344
+ body: ::String?,
2345
+ category: ::String?,
2346
+ collapse_id: ::String?,
2347
+ data: Hash[::String, ::String]?,
2348
+ media_url: ::String?,
2349
+ preferred_authentication_method: ::String?,
2350
+ priority: ::String?,
2351
+ raw_content: ::String?,
2352
+ silent_push: bool?,
2353
+ sound: ::String?,
2354
+ substitutions: Hash[::String, Array[::String]]?,
2355
+ thread_id: ::String?,
2356
+ time_to_live: ::Integer?,
2357
+ title: ::String?,
2358
+ url: ::String?
2359
+ }?,
2360
+ baidu_message: {
2361
+ action: ("OPEN_APP" | "DEEP_LINK" | "URL")?,
2362
+ body: ::String?,
2363
+ data: Hash[::String, ::String]?,
2364
+ icon_reference: ::String?,
2365
+ image_icon_url: ::String?,
2366
+ image_url: ::String?,
2367
+ raw_content: ::String?,
2368
+ silent_push: bool?,
2369
+ small_image_icon_url: ::String?,
2370
+ sound: ::String?,
2371
+ substitutions: Hash[::String, Array[::String]]?,
2372
+ time_to_live: ::Integer?,
2373
+ title: ::String?,
2374
+ url: ::String?
2375
+ }?,
2376
+ default_message: {
2377
+ body: ::String?,
2378
+ substitutions: Hash[::String, Array[::String]]?
2379
+ }?,
2380
+ default_push_notification_message: {
2381
+ action: ("OPEN_APP" | "DEEP_LINK" | "URL")?,
2382
+ body: ::String?,
2383
+ data: Hash[::String, ::String]?,
2384
+ silent_push: bool?,
2385
+ substitutions: Hash[::String, Array[::String]]?,
2386
+ title: ::String?,
2387
+ url: ::String?
2388
+ }?,
2389
+ email_message: {
2390
+ body: ::String?,
2391
+ feedback_forwarding_address: ::String?,
2392
+ from_address: ::String?,
2393
+ raw_email: {
2394
+ data: ::String?
2395
+ }?,
2396
+ reply_to_addresses: Array[::String]?,
2397
+ simple_email: {
2398
+ html_part: {
2399
+ charset: ::String?,
2400
+ data: ::String?
2401
+ }?,
2402
+ subject: {
2403
+ charset: ::String?,
2404
+ data: ::String?
2405
+ }?,
2406
+ text_part: {
2407
+ charset: ::String?,
2408
+ data: ::String?
2409
+ }?
2410
+ }?,
2411
+ substitutions: Hash[::String, Array[::String]]?
2412
+ }?,
2413
+ gcm_message: {
2414
+ action: ("OPEN_APP" | "DEEP_LINK" | "URL")?,
2415
+ body: ::String?,
2416
+ collapse_key: ::String?,
2417
+ data: Hash[::String, ::String]?,
2418
+ icon_reference: ::String?,
2419
+ image_icon_url: ::String?,
2420
+ image_url: ::String?,
2421
+ preferred_authentication_method: ::String?,
2422
+ priority: ::String?,
2423
+ raw_content: ::String?,
2424
+ restricted_package_name: ::String?,
2425
+ silent_push: bool?,
2426
+ small_image_icon_url: ::String?,
2427
+ sound: ::String?,
2428
+ substitutions: Hash[::String, Array[::String]]?,
2429
+ time_to_live: ::Integer?,
2430
+ title: ::String?,
2431
+ url: ::String?
2432
+ }?,
2433
+ sms_message: {
2434
+ body: ::String?,
2435
+ keyword: ::String?,
2436
+ media_url: ::String?,
2437
+ message_type: ("TRANSACTIONAL" | "PROMOTIONAL")?,
2438
+ origination_number: ::String?,
2439
+ sender_id: ::String?,
2440
+ substitutions: Hash[::String, Array[::String]]?,
2441
+ entity_id: ::String?,
2442
+ template_id: ::String?
2443
+ }?,
2444
+ voice_message: {
2445
+ body: ::String?,
2446
+ language_code: ::String?,
2447
+ origination_number: ::String?,
2448
+ substitutions: Hash[::String, Array[::String]]?,
2449
+ voice_id: ::String?
2450
+ }?
2451
+ },
2452
+ template_configuration: {
2453
+ email_template: {
2454
+ name: ::String?,
2455
+ version: ::String?
2456
+ }?,
2457
+ push_template: {
2458
+ name: ::String?,
2459
+ version: ::String?
2460
+ }?,
2461
+ sms_template: {
2462
+ name: ::String?,
2463
+ version: ::String?
2464
+ }?,
2465
+ voice_template: {
2466
+ name: ::String?,
2467
+ version: ::String?
2468
+ }?,
2469
+ in_app_template: {
2470
+ name: ::String?,
2471
+ version: ::String?
2472
+ }?
2473
+ }?,
2474
+ trace_id: ::String?
2475
+ }
2476
+ ) -> _SendMessagesResponseSuccess
2477
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SendMessagesResponseSuccess
2478
+
2479
+ interface _SendOTPMessageResponseSuccess
2480
+ include ::Seahorse::Client::_ResponseSuccess[Types::SendOTPMessageResponse]
2481
+ def message_response: () -> Types::MessageResponse
2482
+ end
2483
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#send_otp_message-instance_method
2484
+ def send_otp_message: (
2485
+ application_id: ::String,
2486
+ send_otp_message_request_parameters: {
2487
+ allowed_attempts: ::Integer?,
2488
+ brand_name: ::String,
2489
+ channel: ::String,
2490
+ code_length: ::Integer?,
2491
+ destination_identity: ::String,
2492
+ entity_id: ::String?,
2493
+ language: ::String?,
2494
+ origination_identity: ::String,
2495
+ reference_id: ::String,
2496
+ template_id: ::String?,
2497
+ validity_period: ::Integer?
2498
+ }
2499
+ ) -> _SendOTPMessageResponseSuccess
2500
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SendOTPMessageResponseSuccess
2501
+
2502
+ interface _SendUsersMessagesResponseSuccess
2503
+ include ::Seahorse::Client::_ResponseSuccess[Types::SendUsersMessagesResponse]
2504
+ def send_users_message_response: () -> Types::SendUsersMessageResponse
2505
+ end
2506
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#send_users_messages-instance_method
2507
+ def send_users_messages: (
2508
+ application_id: ::String,
2509
+ send_users_message_request: {
2510
+ context: Hash[::String, ::String]?,
2511
+ message_configuration: {
2512
+ adm_message: {
2513
+ action: ("OPEN_APP" | "DEEP_LINK" | "URL")?,
2514
+ body: ::String?,
2515
+ consolidation_key: ::String?,
2516
+ data: Hash[::String, ::String]?,
2517
+ expires_after: ::String?,
2518
+ icon_reference: ::String?,
2519
+ image_icon_url: ::String?,
2520
+ image_url: ::String?,
2521
+ md5: ::String?,
2522
+ raw_content: ::String?,
2523
+ silent_push: bool?,
2524
+ small_image_icon_url: ::String?,
2525
+ sound: ::String?,
2526
+ substitutions: Hash[::String, Array[::String]]?,
2527
+ title: ::String?,
2528
+ url: ::String?
2529
+ }?,
2530
+ apns_message: {
2531
+ apns_push_type: ::String?,
2532
+ action: ("OPEN_APP" | "DEEP_LINK" | "URL")?,
2533
+ badge: ::Integer?,
2534
+ body: ::String?,
2535
+ category: ::String?,
2536
+ collapse_id: ::String?,
2537
+ data: Hash[::String, ::String]?,
2538
+ media_url: ::String?,
2539
+ preferred_authentication_method: ::String?,
2540
+ priority: ::String?,
2541
+ raw_content: ::String?,
2542
+ silent_push: bool?,
2543
+ sound: ::String?,
2544
+ substitutions: Hash[::String, Array[::String]]?,
2545
+ thread_id: ::String?,
2546
+ time_to_live: ::Integer?,
2547
+ title: ::String?,
2548
+ url: ::String?
2549
+ }?,
2550
+ baidu_message: {
2551
+ action: ("OPEN_APP" | "DEEP_LINK" | "URL")?,
2552
+ body: ::String?,
2553
+ data: Hash[::String, ::String]?,
2554
+ icon_reference: ::String?,
2555
+ image_icon_url: ::String?,
2556
+ image_url: ::String?,
2557
+ raw_content: ::String?,
2558
+ silent_push: bool?,
2559
+ small_image_icon_url: ::String?,
2560
+ sound: ::String?,
2561
+ substitutions: Hash[::String, Array[::String]]?,
2562
+ time_to_live: ::Integer?,
2563
+ title: ::String?,
2564
+ url: ::String?
2565
+ }?,
2566
+ default_message: {
2567
+ body: ::String?,
2568
+ substitutions: Hash[::String, Array[::String]]?
2569
+ }?,
2570
+ default_push_notification_message: {
2571
+ action: ("OPEN_APP" | "DEEP_LINK" | "URL")?,
2572
+ body: ::String?,
2573
+ data: Hash[::String, ::String]?,
2574
+ silent_push: bool?,
2575
+ substitutions: Hash[::String, Array[::String]]?,
2576
+ title: ::String?,
2577
+ url: ::String?
2578
+ }?,
2579
+ email_message: {
2580
+ body: ::String?,
2581
+ feedback_forwarding_address: ::String?,
2582
+ from_address: ::String?,
2583
+ raw_email: {
2584
+ data: ::String?
2585
+ }?,
2586
+ reply_to_addresses: Array[::String]?,
2587
+ simple_email: {
2588
+ html_part: {
2589
+ charset: ::String?,
2590
+ data: ::String?
2591
+ }?,
2592
+ subject: {
2593
+ charset: ::String?,
2594
+ data: ::String?
2595
+ }?,
2596
+ text_part: {
2597
+ charset: ::String?,
2598
+ data: ::String?
2599
+ }?
2600
+ }?,
2601
+ substitutions: Hash[::String, Array[::String]]?
2602
+ }?,
2603
+ gcm_message: {
2604
+ action: ("OPEN_APP" | "DEEP_LINK" | "URL")?,
2605
+ body: ::String?,
2606
+ collapse_key: ::String?,
2607
+ data: Hash[::String, ::String]?,
2608
+ icon_reference: ::String?,
2609
+ image_icon_url: ::String?,
2610
+ image_url: ::String?,
2611
+ preferred_authentication_method: ::String?,
2612
+ priority: ::String?,
2613
+ raw_content: ::String?,
2614
+ restricted_package_name: ::String?,
2615
+ silent_push: bool?,
2616
+ small_image_icon_url: ::String?,
2617
+ sound: ::String?,
2618
+ substitutions: Hash[::String, Array[::String]]?,
2619
+ time_to_live: ::Integer?,
2620
+ title: ::String?,
2621
+ url: ::String?
2622
+ }?,
2623
+ sms_message: {
2624
+ body: ::String?,
2625
+ keyword: ::String?,
2626
+ media_url: ::String?,
2627
+ message_type: ("TRANSACTIONAL" | "PROMOTIONAL")?,
2628
+ origination_number: ::String?,
2629
+ sender_id: ::String?,
2630
+ substitutions: Hash[::String, Array[::String]]?,
2631
+ entity_id: ::String?,
2632
+ template_id: ::String?
2633
+ }?,
2634
+ voice_message: {
2635
+ body: ::String?,
2636
+ language_code: ::String?,
2637
+ origination_number: ::String?,
2638
+ substitutions: Hash[::String, Array[::String]]?,
2639
+ voice_id: ::String?
2640
+ }?
2641
+ },
2642
+ template_configuration: {
2643
+ email_template: {
2644
+ name: ::String?,
2645
+ version: ::String?
2646
+ }?,
2647
+ push_template: {
2648
+ name: ::String?,
2649
+ version: ::String?
2650
+ }?,
2651
+ sms_template: {
2652
+ name: ::String?,
2653
+ version: ::String?
2654
+ }?,
2655
+ voice_template: {
2656
+ name: ::String?,
2657
+ version: ::String?
2658
+ }?,
2659
+ in_app_template: {
2660
+ name: ::String?,
2661
+ version: ::String?
2662
+ }?
2663
+ }?,
2664
+ trace_id: ::String?,
2665
+ users: Hash[::String, {
2666
+ body_override: ::String?,
2667
+ context: Hash[::String, ::String]?,
2668
+ raw_content: ::String?,
2669
+ substitutions: Hash[::String, Array[::String]]?,
2670
+ title_override: ::String?
2671
+ }]
2672
+ }
2673
+ ) -> _SendUsersMessagesResponseSuccess
2674
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SendUsersMessagesResponseSuccess
2675
+
2676
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#tag_resource-instance_method
2677
+ def tag_resource: (
2678
+ resource_arn: ::String,
2679
+ tags_model: {
2680
+ tags: Hash[::String, ::String]
2681
+ }
2682
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
2683
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
2684
+
2685
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#untag_resource-instance_method
2686
+ def untag_resource: (
2687
+ resource_arn: ::String,
2688
+ tag_keys: Array[::String]
2689
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
2690
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
2691
+
2692
+ interface _UpdateAdmChannelResponseSuccess
2693
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateAdmChannelResponse]
2694
+ def adm_channel_response: () -> Types::ADMChannelResponse
2695
+ end
2696
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#update_adm_channel-instance_method
2697
+ def update_adm_channel: (
2698
+ adm_channel_request: {
2699
+ client_id: ::String,
2700
+ client_secret: ::String,
2701
+ enabled: bool?
2702
+ },
2703
+ application_id: ::String
2704
+ ) -> _UpdateAdmChannelResponseSuccess
2705
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAdmChannelResponseSuccess
2706
+
2707
+ interface _UpdateApnsChannelResponseSuccess
2708
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateApnsChannelResponse]
2709
+ def apns_channel_response: () -> Types::APNSChannelResponse
2710
+ end
2711
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#update_apns_channel-instance_method
2712
+ def update_apns_channel: (
2713
+ apns_channel_request: {
2714
+ bundle_id: ::String?,
2715
+ certificate: ::String?,
2716
+ default_authentication_method: ::String?,
2717
+ enabled: bool?,
2718
+ private_key: ::String?,
2719
+ team_id: ::String?,
2720
+ token_key: ::String?,
2721
+ token_key_id: ::String?
2722
+ },
2723
+ application_id: ::String
2724
+ ) -> _UpdateApnsChannelResponseSuccess
2725
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateApnsChannelResponseSuccess
2726
+
2727
+ interface _UpdateApnsSandboxChannelResponseSuccess
2728
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateApnsSandboxChannelResponse]
2729
+ def apns_sandbox_channel_response: () -> Types::APNSSandboxChannelResponse
2730
+ end
2731
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#update_apns_sandbox_channel-instance_method
2732
+ def update_apns_sandbox_channel: (
2733
+ apns_sandbox_channel_request: {
2734
+ bundle_id: ::String?,
2735
+ certificate: ::String?,
2736
+ default_authentication_method: ::String?,
2737
+ enabled: bool?,
2738
+ private_key: ::String?,
2739
+ team_id: ::String?,
2740
+ token_key: ::String?,
2741
+ token_key_id: ::String?
2742
+ },
2743
+ application_id: ::String
2744
+ ) -> _UpdateApnsSandboxChannelResponseSuccess
2745
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateApnsSandboxChannelResponseSuccess
2746
+
2747
+ interface _UpdateApnsVoipChannelResponseSuccess
2748
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateApnsVoipChannelResponse]
2749
+ def apns_voip_channel_response: () -> Types::APNSVoipChannelResponse
2750
+ end
2751
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#update_apns_voip_channel-instance_method
2752
+ def update_apns_voip_channel: (
2753
+ apns_voip_channel_request: {
2754
+ bundle_id: ::String?,
2755
+ certificate: ::String?,
2756
+ default_authentication_method: ::String?,
2757
+ enabled: bool?,
2758
+ private_key: ::String?,
2759
+ team_id: ::String?,
2760
+ token_key: ::String?,
2761
+ token_key_id: ::String?
2762
+ },
2763
+ application_id: ::String
2764
+ ) -> _UpdateApnsVoipChannelResponseSuccess
2765
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateApnsVoipChannelResponseSuccess
2766
+
2767
+ interface _UpdateApnsVoipSandboxChannelResponseSuccess
2768
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateApnsVoipSandboxChannelResponse]
2769
+ def apns_voip_sandbox_channel_response: () -> Types::APNSVoipSandboxChannelResponse
2770
+ end
2771
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#update_apns_voip_sandbox_channel-instance_method
2772
+ def update_apns_voip_sandbox_channel: (
2773
+ apns_voip_sandbox_channel_request: {
2774
+ bundle_id: ::String?,
2775
+ certificate: ::String?,
2776
+ default_authentication_method: ::String?,
2777
+ enabled: bool?,
2778
+ private_key: ::String?,
2779
+ team_id: ::String?,
2780
+ token_key: ::String?,
2781
+ token_key_id: ::String?
2782
+ },
2783
+ application_id: ::String
2784
+ ) -> _UpdateApnsVoipSandboxChannelResponseSuccess
2785
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateApnsVoipSandboxChannelResponseSuccess
2786
+
2787
+ interface _UpdateApplicationSettingsResponseSuccess
2788
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateApplicationSettingsResponse]
2789
+ def application_settings_resource: () -> Types::ApplicationSettingsResource
2790
+ end
2791
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#update_application_settings-instance_method
2792
+ def update_application_settings: (
2793
+ application_id: ::String,
2794
+ write_application_settings_request: {
2795
+ campaign_hook: {
2796
+ lambda_function_name: ::String?,
2797
+ mode: ("DELIVERY" | "FILTER")?,
2798
+ web_url: ::String?
2799
+ }?,
2800
+ cloud_watch_metrics_enabled: bool?,
2801
+ limits: {
2802
+ daily: ::Integer?,
2803
+ maximum_duration: ::Integer?,
2804
+ messages_per_second: ::Integer?,
2805
+ total: ::Integer?,
2806
+ session: ::Integer?
2807
+ }?,
2808
+ quiet_time: {
2809
+ end: ::String?,
2810
+ start: ::String?
2811
+ }?,
2812
+ journey_limits: {
2813
+ daily_cap: ::Integer?,
2814
+ timeframe_cap: {
2815
+ cap: ::Integer?,
2816
+ days: ::Integer?
2817
+ }?,
2818
+ total_cap: ::Integer?
2819
+ }?
2820
+ }
2821
+ ) -> _UpdateApplicationSettingsResponseSuccess
2822
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateApplicationSettingsResponseSuccess
2823
+
2824
+ interface _UpdateBaiduChannelResponseSuccess
2825
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateBaiduChannelResponse]
2826
+ def baidu_channel_response: () -> Types::BaiduChannelResponse
2827
+ end
2828
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#update_baidu_channel-instance_method
2829
+ def update_baidu_channel: (
2830
+ application_id: ::String,
2831
+ baidu_channel_request: {
2832
+ api_key: ::String,
2833
+ enabled: bool?,
2834
+ secret_key: ::String
2835
+ }
2836
+ ) -> _UpdateBaiduChannelResponseSuccess
2837
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateBaiduChannelResponseSuccess
2838
+
2839
+ interface _UpdateCampaignResponseSuccess
2840
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateCampaignResponse]
2841
+ def campaign_response: () -> Types::CampaignResponse
2842
+ end
2843
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#update_campaign-instance_method
2844
+ def update_campaign: (
2845
+ application_id: ::String,
2846
+ campaign_id: ::String,
2847
+ write_campaign_request: {
2848
+ additional_treatments: Array[
2849
+ {
2850
+ custom_delivery_configuration: {
2851
+ delivery_uri: ::String,
2852
+ endpoint_types: Array[("PUSH" | "GCM" | "APNS" | "APNS_SANDBOX" | "APNS_VOIP" | "APNS_VOIP_SANDBOX" | "ADM" | "SMS" | "VOICE" | "EMAIL" | "BAIDU" | "CUSTOM" | "IN_APP")]?
2853
+ }?,
2854
+ message_configuration: {
2855
+ adm_message: {
2856
+ action: ("OPEN_APP" | "DEEP_LINK" | "URL")?,
2857
+ body: ::String?,
2858
+ image_icon_url: ::String?,
2859
+ image_small_icon_url: ::String?,
2860
+ image_url: ::String?,
2861
+ json_body: ::String?,
2862
+ media_url: ::String?,
2863
+ raw_content: ::String?,
2864
+ silent_push: bool?,
2865
+ time_to_live: ::Integer?,
2866
+ title: ::String?,
2867
+ url: ::String?
2868
+ }?,
2869
+ apns_message: {
2870
+ action: ("OPEN_APP" | "DEEP_LINK" | "URL")?,
2871
+ body: ::String?,
2872
+ image_icon_url: ::String?,
2873
+ image_small_icon_url: ::String?,
2874
+ image_url: ::String?,
2875
+ json_body: ::String?,
2876
+ media_url: ::String?,
2877
+ raw_content: ::String?,
2878
+ silent_push: bool?,
2879
+ time_to_live: ::Integer?,
2880
+ title: ::String?,
2881
+ url: ::String?
2882
+ }?,
2883
+ baidu_message: {
2884
+ action: ("OPEN_APP" | "DEEP_LINK" | "URL")?,
2885
+ body: ::String?,
2886
+ image_icon_url: ::String?,
2887
+ image_small_icon_url: ::String?,
2888
+ image_url: ::String?,
2889
+ json_body: ::String?,
2890
+ media_url: ::String?,
2891
+ raw_content: ::String?,
2892
+ silent_push: bool?,
2893
+ time_to_live: ::Integer?,
2894
+ title: ::String?,
2895
+ url: ::String?
2896
+ }?,
2897
+ custom_message: {
2898
+ data: ::String?
2899
+ }?,
2900
+ default_message: {
2901
+ action: ("OPEN_APP" | "DEEP_LINK" | "URL")?,
2902
+ body: ::String?,
2903
+ image_icon_url: ::String?,
2904
+ image_small_icon_url: ::String?,
2905
+ image_url: ::String?,
2906
+ json_body: ::String?,
2907
+ media_url: ::String?,
2908
+ raw_content: ::String?,
2909
+ silent_push: bool?,
2910
+ time_to_live: ::Integer?,
2911
+ title: ::String?,
2912
+ url: ::String?
2913
+ }?,
2914
+ email_message: {
2915
+ body: ::String?,
2916
+ from_address: ::String?,
2917
+ html_body: ::String?,
2918
+ title: ::String?
2919
+ }?,
2920
+ gcm_message: {
2921
+ action: ("OPEN_APP" | "DEEP_LINK" | "URL")?,
2922
+ body: ::String?,
2923
+ image_icon_url: ::String?,
2924
+ image_small_icon_url: ::String?,
2925
+ image_url: ::String?,
2926
+ json_body: ::String?,
2927
+ media_url: ::String?,
2928
+ raw_content: ::String?,
2929
+ silent_push: bool?,
2930
+ time_to_live: ::Integer?,
2931
+ title: ::String?,
2932
+ url: ::String?
2933
+ }?,
2934
+ sms_message: {
2935
+ body: ::String?,
2936
+ message_type: ("TRANSACTIONAL" | "PROMOTIONAL")?,
2937
+ origination_number: ::String?,
2938
+ sender_id: ::String?,
2939
+ entity_id: ::String?,
2940
+ template_id: ::String?
2941
+ }?,
2942
+ in_app_message: {
2943
+ body: ::String?,
2944
+ content: Array[
2945
+ {
2946
+ background_color: ::String?,
2947
+ body_config: {
2948
+ alignment: ("LEFT" | "CENTER" | "RIGHT"),
2949
+ body: ::String,
2950
+ text_color: ::String
2951
+ }?,
2952
+ header_config: {
2953
+ alignment: ("LEFT" | "CENTER" | "RIGHT"),
2954
+ header: ::String,
2955
+ text_color: ::String
2956
+ }?,
2957
+ image_url: ::String?,
2958
+ primary_btn: {
2959
+ android: {
2960
+ button_action: ("LINK" | "DEEP_LINK" | "CLOSE"),
2961
+ link: ::String?
2962
+ }?,
2963
+ default_config: {
2964
+ background_color: ::String?,
2965
+ border_radius: ::Integer?,
2966
+ button_action: ("LINK" | "DEEP_LINK" | "CLOSE"),
2967
+ link: ::String?,
2968
+ text: ::String,
2969
+ text_color: ::String?
2970
+ }?,
2971
+ ios: {
2972
+ button_action: ("LINK" | "DEEP_LINK" | "CLOSE"),
2973
+ link: ::String?
2974
+ }?,
2975
+ web: {
2976
+ button_action: ("LINK" | "DEEP_LINK" | "CLOSE"),
2977
+ link: ::String?
2978
+ }?
2979
+ }?,
2980
+ secondary_btn: {
2981
+ android: {
2982
+ button_action: ("LINK" | "DEEP_LINK" | "CLOSE"),
2983
+ link: ::String?
2984
+ }?,
2985
+ default_config: {
2986
+ background_color: ::String?,
2987
+ border_radius: ::Integer?,
2988
+ button_action: ("LINK" | "DEEP_LINK" | "CLOSE"),
2989
+ link: ::String?,
2990
+ text: ::String,
2991
+ text_color: ::String?
2992
+ }?,
2993
+ ios: {
2994
+ button_action: ("LINK" | "DEEP_LINK" | "CLOSE"),
2995
+ link: ::String?
2996
+ }?,
2997
+ web: {
2998
+ button_action: ("LINK" | "DEEP_LINK" | "CLOSE"),
2999
+ link: ::String?
3000
+ }?
3001
+ }?
3002
+ },
3003
+ ]?,
3004
+ custom_config: Hash[::String, ::String]?,
3005
+ layout: ("BOTTOM_BANNER" | "TOP_BANNER" | "OVERLAYS" | "MOBILE_FEED" | "MIDDLE_BANNER" | "CAROUSEL")?
3006
+ }?
3007
+ }?,
3008
+ schedule: {
3009
+ end_time: ::String?,
3010
+ event_filter: {
3011
+ dimensions: {
3012
+ attributes: Hash[::String, {
3013
+ attribute_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEFORE" | "AFTER" | "BETWEEN" | "ON")?,
3014
+ values: Array[::String]
3015
+ }]?,
3016
+ event_type: {
3017
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
3018
+ values: Array[::String]
3019
+ }?,
3020
+ metrics: Hash[::String, {
3021
+ comparison_operator: ::String,
3022
+ value: ::Float
3023
+ }]?
3024
+ },
3025
+ filter_type: ("SYSTEM" | "ENDPOINT")
3026
+ }?,
3027
+ frequency: ("ONCE" | "HOURLY" | "DAILY" | "WEEKLY" | "MONTHLY" | "EVENT" | "IN_APP_EVENT")?,
3028
+ is_local_time: bool?,
3029
+ quiet_time: {
3030
+ end: ::String?,
3031
+ start: ::String?
3032
+ }?,
3033
+ start_time: ::String,
3034
+ timezone: ::String?
3035
+ }?,
3036
+ size_percent: ::Integer,
3037
+ template_configuration: {
3038
+ email_template: {
3039
+ name: ::String?,
3040
+ version: ::String?
3041
+ }?,
3042
+ push_template: {
3043
+ name: ::String?,
3044
+ version: ::String?
3045
+ }?,
3046
+ sms_template: {
3047
+ name: ::String?,
3048
+ version: ::String?
3049
+ }?,
3050
+ voice_template: {
3051
+ name: ::String?,
3052
+ version: ::String?
3053
+ }?,
3054
+ in_app_template: {
3055
+ name: ::String?,
3056
+ version: ::String?
3057
+ }?
3058
+ }?,
3059
+ treatment_description: ::String?,
3060
+ treatment_name: ::String?
3061
+ },
3062
+ ]?,
3063
+ custom_delivery_configuration: {
3064
+ delivery_uri: ::String,
3065
+ endpoint_types: Array[("PUSH" | "GCM" | "APNS" | "APNS_SANDBOX" | "APNS_VOIP" | "APNS_VOIP_SANDBOX" | "ADM" | "SMS" | "VOICE" | "EMAIL" | "BAIDU" | "CUSTOM" | "IN_APP")]?
3066
+ }?,
3067
+ description: ::String?,
3068
+ holdout_percent: ::Integer?,
3069
+ hook: {
3070
+ lambda_function_name: ::String?,
3071
+ mode: ("DELIVERY" | "FILTER")?,
3072
+ web_url: ::String?
3073
+ }?,
3074
+ is_paused: bool?,
3075
+ limits: {
3076
+ daily: ::Integer?,
3077
+ maximum_duration: ::Integer?,
3078
+ messages_per_second: ::Integer?,
3079
+ total: ::Integer?,
3080
+ session: ::Integer?
3081
+ }?,
3082
+ message_configuration: {
3083
+ adm_message: {
3084
+ action: ("OPEN_APP" | "DEEP_LINK" | "URL")?,
3085
+ body: ::String?,
3086
+ image_icon_url: ::String?,
3087
+ image_small_icon_url: ::String?,
3088
+ image_url: ::String?,
3089
+ json_body: ::String?,
3090
+ media_url: ::String?,
3091
+ raw_content: ::String?,
3092
+ silent_push: bool?,
3093
+ time_to_live: ::Integer?,
3094
+ title: ::String?,
3095
+ url: ::String?
3096
+ }?,
3097
+ apns_message: {
3098
+ action: ("OPEN_APP" | "DEEP_LINK" | "URL")?,
3099
+ body: ::String?,
3100
+ image_icon_url: ::String?,
3101
+ image_small_icon_url: ::String?,
3102
+ image_url: ::String?,
3103
+ json_body: ::String?,
3104
+ media_url: ::String?,
3105
+ raw_content: ::String?,
3106
+ silent_push: bool?,
3107
+ time_to_live: ::Integer?,
3108
+ title: ::String?,
3109
+ url: ::String?
3110
+ }?,
3111
+ baidu_message: {
3112
+ action: ("OPEN_APP" | "DEEP_LINK" | "URL")?,
3113
+ body: ::String?,
3114
+ image_icon_url: ::String?,
3115
+ image_small_icon_url: ::String?,
3116
+ image_url: ::String?,
3117
+ json_body: ::String?,
3118
+ media_url: ::String?,
3119
+ raw_content: ::String?,
3120
+ silent_push: bool?,
3121
+ time_to_live: ::Integer?,
3122
+ title: ::String?,
3123
+ url: ::String?
3124
+ }?,
3125
+ custom_message: {
3126
+ data: ::String?
3127
+ }?,
3128
+ default_message: {
3129
+ action: ("OPEN_APP" | "DEEP_LINK" | "URL")?,
3130
+ body: ::String?,
3131
+ image_icon_url: ::String?,
3132
+ image_small_icon_url: ::String?,
3133
+ image_url: ::String?,
3134
+ json_body: ::String?,
3135
+ media_url: ::String?,
3136
+ raw_content: ::String?,
3137
+ silent_push: bool?,
3138
+ time_to_live: ::Integer?,
3139
+ title: ::String?,
3140
+ url: ::String?
3141
+ }?,
3142
+ email_message: {
3143
+ body: ::String?,
3144
+ from_address: ::String?,
3145
+ html_body: ::String?,
3146
+ title: ::String?
3147
+ }?,
3148
+ gcm_message: {
3149
+ action: ("OPEN_APP" | "DEEP_LINK" | "URL")?,
3150
+ body: ::String?,
3151
+ image_icon_url: ::String?,
3152
+ image_small_icon_url: ::String?,
3153
+ image_url: ::String?,
3154
+ json_body: ::String?,
3155
+ media_url: ::String?,
3156
+ raw_content: ::String?,
3157
+ silent_push: bool?,
3158
+ time_to_live: ::Integer?,
3159
+ title: ::String?,
3160
+ url: ::String?
3161
+ }?,
3162
+ sms_message: {
3163
+ body: ::String?,
3164
+ message_type: ("TRANSACTIONAL" | "PROMOTIONAL")?,
3165
+ origination_number: ::String?,
3166
+ sender_id: ::String?,
3167
+ entity_id: ::String?,
3168
+ template_id: ::String?
3169
+ }?,
3170
+ in_app_message: {
3171
+ body: ::String?,
3172
+ content: Array[
3173
+ {
3174
+ background_color: ::String?,
3175
+ body_config: {
3176
+ alignment: ("LEFT" | "CENTER" | "RIGHT"),
3177
+ body: ::String,
3178
+ text_color: ::String
3179
+ }?,
3180
+ header_config: {
3181
+ alignment: ("LEFT" | "CENTER" | "RIGHT"),
3182
+ header: ::String,
3183
+ text_color: ::String
3184
+ }?,
3185
+ image_url: ::String?,
3186
+ primary_btn: {
3187
+ android: {
3188
+ button_action: ("LINK" | "DEEP_LINK" | "CLOSE"),
3189
+ link: ::String?
3190
+ }?,
3191
+ default_config: {
3192
+ background_color: ::String?,
3193
+ border_radius: ::Integer?,
3194
+ button_action: ("LINK" | "DEEP_LINK" | "CLOSE"),
3195
+ link: ::String?,
3196
+ text: ::String,
3197
+ text_color: ::String?
3198
+ }?,
3199
+ ios: {
3200
+ button_action: ("LINK" | "DEEP_LINK" | "CLOSE"),
3201
+ link: ::String?
3202
+ }?,
3203
+ web: {
3204
+ button_action: ("LINK" | "DEEP_LINK" | "CLOSE"),
3205
+ link: ::String?
3206
+ }?
3207
+ }?,
3208
+ secondary_btn: {
3209
+ android: {
3210
+ button_action: ("LINK" | "DEEP_LINK" | "CLOSE"),
3211
+ link: ::String?
3212
+ }?,
3213
+ default_config: {
3214
+ background_color: ::String?,
3215
+ border_radius: ::Integer?,
3216
+ button_action: ("LINK" | "DEEP_LINK" | "CLOSE"),
3217
+ link: ::String?,
3218
+ text: ::String,
3219
+ text_color: ::String?
3220
+ }?,
3221
+ ios: {
3222
+ button_action: ("LINK" | "DEEP_LINK" | "CLOSE"),
3223
+ link: ::String?
3224
+ }?,
3225
+ web: {
3226
+ button_action: ("LINK" | "DEEP_LINK" | "CLOSE"),
3227
+ link: ::String?
3228
+ }?
3229
+ }?
3230
+ },
3231
+ ]?,
3232
+ custom_config: Hash[::String, ::String]?,
3233
+ layout: ("BOTTOM_BANNER" | "TOP_BANNER" | "OVERLAYS" | "MOBILE_FEED" | "MIDDLE_BANNER" | "CAROUSEL")?
3234
+ }?
3235
+ }?,
3236
+ name: ::String?,
3237
+ schedule: {
3238
+ end_time: ::String?,
3239
+ event_filter: {
3240
+ dimensions: {
3241
+ attributes: Hash[::String, {
3242
+ attribute_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEFORE" | "AFTER" | "BETWEEN" | "ON")?,
3243
+ values: Array[::String]
3244
+ }]?,
3245
+ event_type: {
3246
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
3247
+ values: Array[::String]
3248
+ }?,
3249
+ metrics: Hash[::String, {
3250
+ comparison_operator: ::String,
3251
+ value: ::Float
3252
+ }]?
3253
+ },
3254
+ filter_type: ("SYSTEM" | "ENDPOINT")
3255
+ }?,
3256
+ frequency: ("ONCE" | "HOURLY" | "DAILY" | "WEEKLY" | "MONTHLY" | "EVENT" | "IN_APP_EVENT")?,
3257
+ is_local_time: bool?,
3258
+ quiet_time: {
3259
+ end: ::String?,
3260
+ start: ::String?
3261
+ }?,
3262
+ start_time: ::String,
3263
+ timezone: ::String?
3264
+ }?,
3265
+ segment_id: ::String?,
3266
+ segment_version: ::Integer?,
3267
+ tags: Hash[::String, ::String]?,
3268
+ template_configuration: {
3269
+ email_template: {
3270
+ name: ::String?,
3271
+ version: ::String?
3272
+ }?,
3273
+ push_template: {
3274
+ name: ::String?,
3275
+ version: ::String?
3276
+ }?,
3277
+ sms_template: {
3278
+ name: ::String?,
3279
+ version: ::String?
3280
+ }?,
3281
+ voice_template: {
3282
+ name: ::String?,
3283
+ version: ::String?
3284
+ }?,
3285
+ in_app_template: {
3286
+ name: ::String?,
3287
+ version: ::String?
3288
+ }?
3289
+ }?,
3290
+ treatment_description: ::String?,
3291
+ treatment_name: ::String?,
3292
+ priority: ::Integer?
3293
+ }
3294
+ ) -> _UpdateCampaignResponseSuccess
3295
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateCampaignResponseSuccess
3296
+
3297
+ interface _UpdateEmailChannelResponseSuccess
3298
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateEmailChannelResponse]
3299
+ def email_channel_response: () -> Types::EmailChannelResponse
3300
+ end
3301
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#update_email_channel-instance_method
3302
+ def update_email_channel: (
3303
+ application_id: ::String,
3304
+ email_channel_request: {
3305
+ configuration_set: ::String?,
3306
+ enabled: bool?,
3307
+ from_address: ::String,
3308
+ identity: ::String,
3309
+ role_arn: ::String?
3310
+ }
3311
+ ) -> _UpdateEmailChannelResponseSuccess
3312
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateEmailChannelResponseSuccess
3313
+
3314
+ interface _UpdateEmailTemplateResponseSuccess
3315
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateEmailTemplateResponse]
3316
+ def message_body: () -> Types::MessageBody
3317
+ end
3318
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#update_email_template-instance_method
3319
+ def update_email_template: (
3320
+ ?create_new_version: bool,
3321
+ email_template_request: {
3322
+ default_substitutions: ::String?,
3323
+ html_part: ::String?,
3324
+ recommender_id: ::String?,
3325
+ subject: ::String?,
3326
+ tags: Hash[::String, ::String]?,
3327
+ template_description: ::String?,
3328
+ text_part: ::String?
3329
+ },
3330
+ template_name: ::String,
3331
+ ?version: ::String
3332
+ ) -> _UpdateEmailTemplateResponseSuccess
3333
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateEmailTemplateResponseSuccess
3334
+
3335
+ interface _UpdateEndpointResponseSuccess
3336
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateEndpointResponse]
3337
+ def message_body: () -> Types::MessageBody
3338
+ end
3339
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#update_endpoint-instance_method
3340
+ def update_endpoint: (
3341
+ application_id: ::String,
3342
+ endpoint_id: ::String,
3343
+ endpoint_request: {
3344
+ address: ::String?,
3345
+ attributes: Hash[::String, Array[::String]]?,
3346
+ channel_type: ("PUSH" | "GCM" | "APNS" | "APNS_SANDBOX" | "APNS_VOIP" | "APNS_VOIP_SANDBOX" | "ADM" | "SMS" | "VOICE" | "EMAIL" | "BAIDU" | "CUSTOM" | "IN_APP")?,
3347
+ demographic: {
3348
+ app_version: ::String?,
3349
+ locale: ::String?,
3350
+ make: ::String?,
3351
+ model: ::String?,
3352
+ model_version: ::String?,
3353
+ platform: ::String?,
3354
+ platform_version: ::String?,
3355
+ timezone: ::String?
3356
+ }?,
3357
+ effective_date: ::String?,
3358
+ endpoint_status: ::String?,
3359
+ location: {
3360
+ city: ::String?,
3361
+ country: ::String?,
3362
+ latitude: ::Float?,
3363
+ longitude: ::Float?,
3364
+ postal_code: ::String?,
3365
+ region: ::String?
3366
+ }?,
3367
+ metrics: Hash[::String, ::Float]?,
3368
+ opt_out: ::String?,
3369
+ request_id: ::String?,
3370
+ user: {
3371
+ user_attributes: Hash[::String, Array[::String]]?,
3372
+ user_id: ::String?
3373
+ }?
3374
+ }
3375
+ ) -> _UpdateEndpointResponseSuccess
3376
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateEndpointResponseSuccess
3377
+
3378
+ interface _UpdateEndpointsBatchResponseSuccess
3379
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateEndpointsBatchResponse]
3380
+ def message_body: () -> Types::MessageBody
3381
+ end
3382
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#update_endpoints_batch-instance_method
3383
+ def update_endpoints_batch: (
3384
+ application_id: ::String,
3385
+ endpoint_batch_request: {
3386
+ item: Array[
3387
+ {
3388
+ address: ::String?,
3389
+ attributes: Hash[::String, Array[::String]]?,
3390
+ channel_type: ("PUSH" | "GCM" | "APNS" | "APNS_SANDBOX" | "APNS_VOIP" | "APNS_VOIP_SANDBOX" | "ADM" | "SMS" | "VOICE" | "EMAIL" | "BAIDU" | "CUSTOM" | "IN_APP")?,
3391
+ demographic: {
3392
+ app_version: ::String?,
3393
+ locale: ::String?,
3394
+ make: ::String?,
3395
+ model: ::String?,
3396
+ model_version: ::String?,
3397
+ platform: ::String?,
3398
+ platform_version: ::String?,
3399
+ timezone: ::String?
3400
+ }?,
3401
+ effective_date: ::String?,
3402
+ endpoint_status: ::String?,
3403
+ id: ::String?,
3404
+ location: {
3405
+ city: ::String?,
3406
+ country: ::String?,
3407
+ latitude: ::Float?,
3408
+ longitude: ::Float?,
3409
+ postal_code: ::String?,
3410
+ region: ::String?
3411
+ }?,
3412
+ metrics: Hash[::String, ::Float]?,
3413
+ opt_out: ::String?,
3414
+ request_id: ::String?,
3415
+ user: {
3416
+ user_attributes: Hash[::String, Array[::String]]?,
3417
+ user_id: ::String?
3418
+ }?
3419
+ },
3420
+ ]
3421
+ }
3422
+ ) -> _UpdateEndpointsBatchResponseSuccess
3423
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateEndpointsBatchResponseSuccess
3424
+
3425
+ interface _UpdateGcmChannelResponseSuccess
3426
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateGcmChannelResponse]
3427
+ def gcm_channel_response: () -> Types::GCMChannelResponse
3428
+ end
3429
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#update_gcm_channel-instance_method
3430
+ def update_gcm_channel: (
3431
+ application_id: ::String,
3432
+ gcm_channel_request: {
3433
+ api_key: ::String?,
3434
+ default_authentication_method: ::String?,
3435
+ enabled: bool?,
3436
+ service_json: ::String?
3437
+ }
3438
+ ) -> _UpdateGcmChannelResponseSuccess
3439
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateGcmChannelResponseSuccess
3440
+
3441
+ interface _UpdateInAppTemplateResponseSuccess
3442
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateInAppTemplateResponse]
3443
+ def message_body: () -> Types::MessageBody
3444
+ end
3445
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#update_in_app_template-instance_method
3446
+ def update_in_app_template: (
3447
+ ?create_new_version: bool,
3448
+ in_app_template_request: {
3449
+ content: Array[
3450
+ {
3451
+ background_color: ::String?,
3452
+ body_config: {
3453
+ alignment: ("LEFT" | "CENTER" | "RIGHT"),
3454
+ body: ::String,
3455
+ text_color: ::String
3456
+ }?,
3457
+ header_config: {
3458
+ alignment: ("LEFT" | "CENTER" | "RIGHT"),
3459
+ header: ::String,
3460
+ text_color: ::String
3461
+ }?,
3462
+ image_url: ::String?,
3463
+ primary_btn: {
3464
+ android: {
3465
+ button_action: ("LINK" | "DEEP_LINK" | "CLOSE"),
3466
+ link: ::String?
3467
+ }?,
3468
+ default_config: {
3469
+ background_color: ::String?,
3470
+ border_radius: ::Integer?,
3471
+ button_action: ("LINK" | "DEEP_LINK" | "CLOSE"),
3472
+ link: ::String?,
3473
+ text: ::String,
3474
+ text_color: ::String?
3475
+ }?,
3476
+ ios: {
3477
+ button_action: ("LINK" | "DEEP_LINK" | "CLOSE"),
3478
+ link: ::String?
3479
+ }?,
3480
+ web: {
3481
+ button_action: ("LINK" | "DEEP_LINK" | "CLOSE"),
3482
+ link: ::String?
3483
+ }?
3484
+ }?,
3485
+ secondary_btn: {
3486
+ android: {
3487
+ button_action: ("LINK" | "DEEP_LINK" | "CLOSE"),
3488
+ link: ::String?
3489
+ }?,
3490
+ default_config: {
3491
+ background_color: ::String?,
3492
+ border_radius: ::Integer?,
3493
+ button_action: ("LINK" | "DEEP_LINK" | "CLOSE"),
3494
+ link: ::String?,
3495
+ text: ::String,
3496
+ text_color: ::String?
3497
+ }?,
3498
+ ios: {
3499
+ button_action: ("LINK" | "DEEP_LINK" | "CLOSE"),
3500
+ link: ::String?
3501
+ }?,
3502
+ web: {
3503
+ button_action: ("LINK" | "DEEP_LINK" | "CLOSE"),
3504
+ link: ::String?
3505
+ }?
3506
+ }?
3507
+ },
3508
+ ]?,
3509
+ custom_config: Hash[::String, ::String]?,
3510
+ layout: ("BOTTOM_BANNER" | "TOP_BANNER" | "OVERLAYS" | "MOBILE_FEED" | "MIDDLE_BANNER" | "CAROUSEL")?,
3511
+ tags: Hash[::String, ::String]?,
3512
+ template_description: ::String?
3513
+ },
3514
+ template_name: ::String,
3515
+ ?version: ::String
3516
+ ) -> _UpdateInAppTemplateResponseSuccess
3517
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateInAppTemplateResponseSuccess
3518
+
3519
+ interface _UpdateJourneyResponseSuccess
3520
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateJourneyResponse]
3521
+ def journey_response: () -> Types::JourneyResponse
3522
+ end
3523
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#update_journey-instance_method
3524
+ def update_journey: (
3525
+ application_id: ::String,
3526
+ journey_id: ::String,
3527
+ write_journey_request: {
3528
+ activities: Hash[::String, {
3529
+ custom: {
3530
+ delivery_uri: ::String?,
3531
+ endpoint_types: Array[("PUSH" | "GCM" | "APNS" | "APNS_SANDBOX" | "APNS_VOIP" | "APNS_VOIP_SANDBOX" | "ADM" | "SMS" | "VOICE" | "EMAIL" | "BAIDU" | "CUSTOM" | "IN_APP")]?,
3532
+ message_config: {
3533
+ data: ::String?
3534
+ }?,
3535
+ next_activity: ::String?,
3536
+ template_name: ::String?,
3537
+ template_version: ::String?
3538
+ }?,
3539
+ conditional_split: {
3540
+ condition: {
3541
+ conditions: Array[
3542
+ {
3543
+ event_condition: {
3544
+ dimensions: {
3545
+ attributes: Hash[::String, {
3546
+ attribute_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEFORE" | "AFTER" | "BETWEEN" | "ON")?,
3547
+ values: Array[::String]
3548
+ }]?,
3549
+ event_type: {
3550
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
3551
+ values: Array[::String]
3552
+ }?,
3553
+ metrics: Hash[::String, {
3554
+ comparison_operator: ::String,
3555
+ value: ::Float
3556
+ }]?
3557
+ }?,
3558
+ message_activity: ::String?
3559
+ }?,
3560
+ segment_condition: {
3561
+ segment_id: ::String
3562
+ }?,
3563
+ segment_dimensions: {
3564
+ attributes: Hash[::String, {
3565
+ attribute_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEFORE" | "AFTER" | "BETWEEN" | "ON")?,
3566
+ values: Array[::String]
3567
+ }]?,
3568
+ behavior: {
3569
+ recency: {
3570
+ duration: ("HR_24" | "DAY_7" | "DAY_14" | "DAY_30"),
3571
+ recency_type: ("ACTIVE" | "INACTIVE")
3572
+ }?
3573
+ }?,
3574
+ demographic: {
3575
+ app_version: {
3576
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
3577
+ values: Array[::String]
3578
+ }?,
3579
+ channel: {
3580
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
3581
+ values: Array[::String]
3582
+ }?,
3583
+ device_type: {
3584
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
3585
+ values: Array[::String]
3586
+ }?,
3587
+ make: {
3588
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
3589
+ values: Array[::String]
3590
+ }?,
3591
+ model: {
3592
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
3593
+ values: Array[::String]
3594
+ }?,
3595
+ platform: {
3596
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
3597
+ values: Array[::String]
3598
+ }?
3599
+ }?,
3600
+ location: {
3601
+ country: {
3602
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
3603
+ values: Array[::String]
3604
+ }?,
3605
+ gps_point: {
3606
+ coordinates: {
3607
+ latitude: ::Float,
3608
+ longitude: ::Float
3609
+ },
3610
+ range_in_kilometers: ::Float?
3611
+ }?
3612
+ }?,
3613
+ metrics: Hash[::String, {
3614
+ comparison_operator: ::String,
3615
+ value: ::Float
3616
+ }]?,
3617
+ user_attributes: Hash[::String, {
3618
+ attribute_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEFORE" | "AFTER" | "BETWEEN" | "ON")?,
3619
+ values: Array[::String]
3620
+ }]?
3621
+ }?
3622
+ },
3623
+ ]?,
3624
+ operator: ("ALL" | "ANY")?
3625
+ }?,
3626
+ evaluation_wait_time: {
3627
+ wait_for: ::String?,
3628
+ wait_until: ::String?
3629
+ }?,
3630
+ false_activity: ::String?,
3631
+ true_activity: ::String?
3632
+ }?,
3633
+ description: ::String?,
3634
+ email: {
3635
+ message_config: {
3636
+ from_address: ::String?
3637
+ }?,
3638
+ next_activity: ::String?,
3639
+ template_name: ::String?,
3640
+ template_version: ::String?
3641
+ }?,
3642
+ holdout: {
3643
+ next_activity: ::String?,
3644
+ percentage: ::Integer
3645
+ }?,
3646
+ multi_condition: {
3647
+ branches: Array[
3648
+ {
3649
+ condition: {
3650
+ event_condition: {
3651
+ dimensions: {
3652
+ attributes: Hash[::String, {
3653
+ attribute_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEFORE" | "AFTER" | "BETWEEN" | "ON")?,
3654
+ values: Array[::String]
3655
+ }]?,
3656
+ event_type: {
3657
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
3658
+ values: Array[::String]
3659
+ }?,
3660
+ metrics: Hash[::String, {
3661
+ comparison_operator: ::String,
3662
+ value: ::Float
3663
+ }]?
3664
+ }?,
3665
+ message_activity: ::String?
3666
+ }?,
3667
+ segment_condition: {
3668
+ segment_id: ::String
3669
+ }?,
3670
+ segment_dimensions: {
3671
+ attributes: Hash[::String, {
3672
+ attribute_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEFORE" | "AFTER" | "BETWEEN" | "ON")?,
3673
+ values: Array[::String]
3674
+ }]?,
3675
+ behavior: {
3676
+ recency: {
3677
+ duration: ("HR_24" | "DAY_7" | "DAY_14" | "DAY_30"),
3678
+ recency_type: ("ACTIVE" | "INACTIVE")
3679
+ }?
3680
+ }?,
3681
+ demographic: {
3682
+ app_version: {
3683
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
3684
+ values: Array[::String]
3685
+ }?,
3686
+ channel: {
3687
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
3688
+ values: Array[::String]
3689
+ }?,
3690
+ device_type: {
3691
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
3692
+ values: Array[::String]
3693
+ }?,
3694
+ make: {
3695
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
3696
+ values: Array[::String]
3697
+ }?,
3698
+ model: {
3699
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
3700
+ values: Array[::String]
3701
+ }?,
3702
+ platform: {
3703
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
3704
+ values: Array[::String]
3705
+ }?
3706
+ }?,
3707
+ location: {
3708
+ country: {
3709
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
3710
+ values: Array[::String]
3711
+ }?,
3712
+ gps_point: {
3713
+ coordinates: {
3714
+ latitude: ::Float,
3715
+ longitude: ::Float
3716
+ },
3717
+ range_in_kilometers: ::Float?
3718
+ }?
3719
+ }?,
3720
+ metrics: Hash[::String, {
3721
+ comparison_operator: ::String,
3722
+ value: ::Float
3723
+ }]?,
3724
+ user_attributes: Hash[::String, {
3725
+ attribute_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEFORE" | "AFTER" | "BETWEEN" | "ON")?,
3726
+ values: Array[::String]
3727
+ }]?
3728
+ }?
3729
+ }?,
3730
+ next_activity: ::String?
3731
+ },
3732
+ ]?,
3733
+ default_activity: ::String?,
3734
+ evaluation_wait_time: {
3735
+ wait_for: ::String?,
3736
+ wait_until: ::String?
3737
+ }?
3738
+ }?,
3739
+ push: {
3740
+ message_config: {
3741
+ time_to_live: ::String?
3742
+ }?,
3743
+ next_activity: ::String?,
3744
+ template_name: ::String?,
3745
+ template_version: ::String?
3746
+ }?,
3747
+ random_split: {
3748
+ branches: Array[
3749
+ {
3750
+ next_activity: ::String?,
3751
+ percentage: ::Integer?
3752
+ },
3753
+ ]?
3754
+ }?,
3755
+ sms: {
3756
+ message_config: {
3757
+ message_type: ("TRANSACTIONAL" | "PROMOTIONAL")?,
3758
+ origination_number: ::String?,
3759
+ sender_id: ::String?,
3760
+ entity_id: ::String?,
3761
+ template_id: ::String?
3762
+ }?,
3763
+ next_activity: ::String?,
3764
+ template_name: ::String?,
3765
+ template_version: ::String?
3766
+ }?,
3767
+ wait: {
3768
+ next_activity: ::String?,
3769
+ wait_time: {
3770
+ wait_for: ::String?,
3771
+ wait_until: ::String?
3772
+ }?
3773
+ }?,
3774
+ contact_center: {
3775
+ next_activity: ::String?
3776
+ }?
3777
+ }]?,
3778
+ creation_date: ::String?,
3779
+ last_modified_date: ::String?,
3780
+ limits: {
3781
+ daily_cap: ::Integer?,
3782
+ endpoint_reentry_cap: ::Integer?,
3783
+ messages_per_second: ::Integer?,
3784
+ endpoint_reentry_interval: ::String?,
3785
+ timeframe_cap: {
3786
+ cap: ::Integer?,
3787
+ days: ::Integer?
3788
+ }?,
3789
+ total_cap: ::Integer?
3790
+ }?,
3791
+ local_time: bool?,
3792
+ name: ::String,
3793
+ quiet_time: {
3794
+ end: ::String?,
3795
+ start: ::String?
3796
+ }?,
3797
+ refresh_frequency: ::String?,
3798
+ schedule: {
3799
+ end_time: ::Time?,
3800
+ start_time: ::Time?,
3801
+ timezone: ::String?
3802
+ }?,
3803
+ start_activity: ::String?,
3804
+ start_condition: {
3805
+ description: ::String?,
3806
+ event_start_condition: {
3807
+ event_filter: {
3808
+ dimensions: {
3809
+ attributes: Hash[::String, {
3810
+ attribute_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEFORE" | "AFTER" | "BETWEEN" | "ON")?,
3811
+ values: Array[::String]
3812
+ }]?,
3813
+ event_type: {
3814
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
3815
+ values: Array[::String]
3816
+ }?,
3817
+ metrics: Hash[::String, {
3818
+ comparison_operator: ::String,
3819
+ value: ::Float
3820
+ }]?
3821
+ },
3822
+ filter_type: ("SYSTEM" | "ENDPOINT")
3823
+ }?,
3824
+ segment_id: ::String?
3825
+ }?,
3826
+ segment_start_condition: {
3827
+ segment_id: ::String
3828
+ }?
3829
+ }?,
3830
+ state: ("DRAFT" | "ACTIVE" | "COMPLETED" | "CANCELLED" | "CLOSED" | "PAUSED")?,
3831
+ wait_for_quiet_time: bool?,
3832
+ refresh_on_segment_update: bool?,
3833
+ journey_channel_settings: {
3834
+ connect_campaign_arn: ::String?,
3835
+ connect_campaign_execution_role_arn: ::String?
3836
+ }?,
3837
+ sending_schedule: bool?,
3838
+ open_hours: {
3839
+ email: Hash[("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY"), Array[
3840
+ {
3841
+ start_time: ::String?,
3842
+ end_time: ::String?
3843
+ },
3844
+ ]]?,
3845
+ sms: Hash[("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY"), Array[
3846
+ {
3847
+ start_time: ::String?,
3848
+ end_time: ::String?
3849
+ },
3850
+ ]]?,
3851
+ push: Hash[("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY"), Array[
3852
+ {
3853
+ start_time: ::String?,
3854
+ end_time: ::String?
3855
+ },
3856
+ ]]?,
3857
+ voice: Hash[("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY"), Array[
3858
+ {
3859
+ start_time: ::String?,
3860
+ end_time: ::String?
3861
+ },
3862
+ ]]?,
3863
+ custom: Hash[("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY"), Array[
3864
+ {
3865
+ start_time: ::String?,
3866
+ end_time: ::String?
3867
+ },
3868
+ ]]?
3869
+ }?,
3870
+ closed_days: {
3871
+ email: Array[
3872
+ {
3873
+ name: ::String?,
3874
+ start_date_time: ::String?,
3875
+ end_date_time: ::String?
3876
+ },
3877
+ ]?,
3878
+ sms: Array[
3879
+ {
3880
+ name: ::String?,
3881
+ start_date_time: ::String?,
3882
+ end_date_time: ::String?
3883
+ },
3884
+ ]?,
3885
+ push: Array[
3886
+ {
3887
+ name: ::String?,
3888
+ start_date_time: ::String?,
3889
+ end_date_time: ::String?
3890
+ },
3891
+ ]?,
3892
+ voice: Array[
3893
+ {
3894
+ name: ::String?,
3895
+ start_date_time: ::String?,
3896
+ end_date_time: ::String?
3897
+ },
3898
+ ]?,
3899
+ custom: Array[
3900
+ {
3901
+ name: ::String?,
3902
+ start_date_time: ::String?,
3903
+ end_date_time: ::String?
3904
+ },
3905
+ ]?
3906
+ }?,
3907
+ timezone_estimation_methods: Array[("PHONE_NUMBER" | "POSTAL_CODE")]?
3908
+ }
3909
+ ) -> _UpdateJourneyResponseSuccess
3910
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateJourneyResponseSuccess
3911
+
3912
+ interface _UpdateJourneyStateResponseSuccess
3913
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateJourneyStateResponse]
3914
+ def journey_response: () -> Types::JourneyResponse
3915
+ end
3916
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#update_journey_state-instance_method
3917
+ def update_journey_state: (
3918
+ application_id: ::String,
3919
+ journey_id: ::String,
3920
+ journey_state_request: {
3921
+ state: ("DRAFT" | "ACTIVE" | "COMPLETED" | "CANCELLED" | "CLOSED" | "PAUSED")?
3922
+ }
3923
+ ) -> _UpdateJourneyStateResponseSuccess
3924
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateJourneyStateResponseSuccess
3925
+
3926
+ interface _UpdatePushTemplateResponseSuccess
3927
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdatePushTemplateResponse]
3928
+ def message_body: () -> Types::MessageBody
3929
+ end
3930
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#update_push_template-instance_method
3931
+ def update_push_template: (
3932
+ ?create_new_version: bool,
3933
+ push_notification_template_request: {
3934
+ adm: {
3935
+ action: ("OPEN_APP" | "DEEP_LINK" | "URL")?,
3936
+ body: ::String?,
3937
+ image_icon_url: ::String?,
3938
+ image_url: ::String?,
3939
+ raw_content: ::String?,
3940
+ small_image_icon_url: ::String?,
3941
+ sound: ::String?,
3942
+ title: ::String?,
3943
+ url: ::String?
3944
+ }?,
3945
+ apns: {
3946
+ action: ("OPEN_APP" | "DEEP_LINK" | "URL")?,
3947
+ body: ::String?,
3948
+ media_url: ::String?,
3949
+ raw_content: ::String?,
3950
+ sound: ::String?,
3951
+ title: ::String?,
3952
+ url: ::String?
3953
+ }?,
3954
+ baidu: {
3955
+ action: ("OPEN_APP" | "DEEP_LINK" | "URL")?,
3956
+ body: ::String?,
3957
+ image_icon_url: ::String?,
3958
+ image_url: ::String?,
3959
+ raw_content: ::String?,
3960
+ small_image_icon_url: ::String?,
3961
+ sound: ::String?,
3962
+ title: ::String?,
3963
+ url: ::String?
3964
+ }?,
3965
+ default: {
3966
+ action: ("OPEN_APP" | "DEEP_LINK" | "URL")?,
3967
+ body: ::String?,
3968
+ sound: ::String?,
3969
+ title: ::String?,
3970
+ url: ::String?
3971
+ }?,
3972
+ default_substitutions: ::String?,
3973
+ gcm: {
3974
+ action: ("OPEN_APP" | "DEEP_LINK" | "URL")?,
3975
+ body: ::String?,
3976
+ image_icon_url: ::String?,
3977
+ image_url: ::String?,
3978
+ raw_content: ::String?,
3979
+ small_image_icon_url: ::String?,
3980
+ sound: ::String?,
3981
+ title: ::String?,
3982
+ url: ::String?
3983
+ }?,
3984
+ recommender_id: ::String?,
3985
+ tags: Hash[::String, ::String]?,
3986
+ template_description: ::String?
3987
+ },
3988
+ template_name: ::String,
3989
+ ?version: ::String
3990
+ ) -> _UpdatePushTemplateResponseSuccess
3991
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePushTemplateResponseSuccess
3992
+
3993
+ interface _UpdateRecommenderConfigurationResponseSuccess
3994
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateRecommenderConfigurationResponse]
3995
+ def recommender_configuration_response: () -> Types::RecommenderConfigurationResponse
3996
+ end
3997
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#update_recommender_configuration-instance_method
3998
+ def update_recommender_configuration: (
3999
+ recommender_id: ::String,
4000
+ update_recommender_configuration: {
4001
+ attributes: Hash[::String, ::String]?,
4002
+ description: ::String?,
4003
+ name: ::String?,
4004
+ recommendation_provider_id_type: ::String?,
4005
+ recommendation_provider_role_arn: ::String,
4006
+ recommendation_provider_uri: ::String,
4007
+ recommendation_transformer_uri: ::String?,
4008
+ recommendations_display_name: ::String?,
4009
+ recommendations_per_message: ::Integer?
4010
+ }
4011
+ ) -> _UpdateRecommenderConfigurationResponseSuccess
4012
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateRecommenderConfigurationResponseSuccess
4013
+
4014
+ interface _UpdateSegmentResponseSuccess
4015
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateSegmentResponse]
4016
+ def segment_response: () -> Types::SegmentResponse
4017
+ end
4018
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#update_segment-instance_method
4019
+ def update_segment: (
4020
+ application_id: ::String,
4021
+ segment_id: ::String,
4022
+ write_segment_request: {
4023
+ dimensions: {
4024
+ attributes: Hash[::String, {
4025
+ attribute_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEFORE" | "AFTER" | "BETWEEN" | "ON")?,
4026
+ values: Array[::String]
4027
+ }]?,
4028
+ behavior: {
4029
+ recency: {
4030
+ duration: ("HR_24" | "DAY_7" | "DAY_14" | "DAY_30"),
4031
+ recency_type: ("ACTIVE" | "INACTIVE")
4032
+ }?
4033
+ }?,
4034
+ demographic: {
4035
+ app_version: {
4036
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
4037
+ values: Array[::String]
4038
+ }?,
4039
+ channel: {
4040
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
4041
+ values: Array[::String]
4042
+ }?,
4043
+ device_type: {
4044
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
4045
+ values: Array[::String]
4046
+ }?,
4047
+ make: {
4048
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
4049
+ values: Array[::String]
4050
+ }?,
4051
+ model: {
4052
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
4053
+ values: Array[::String]
4054
+ }?,
4055
+ platform: {
4056
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
4057
+ values: Array[::String]
4058
+ }?
4059
+ }?,
4060
+ location: {
4061
+ country: {
4062
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
4063
+ values: Array[::String]
4064
+ }?,
4065
+ gps_point: {
4066
+ coordinates: {
4067
+ latitude: ::Float,
4068
+ longitude: ::Float
4069
+ },
4070
+ range_in_kilometers: ::Float?
4071
+ }?
4072
+ }?,
4073
+ metrics: Hash[::String, {
4074
+ comparison_operator: ::String,
4075
+ value: ::Float
4076
+ }]?,
4077
+ user_attributes: Hash[::String, {
4078
+ attribute_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEFORE" | "AFTER" | "BETWEEN" | "ON")?,
4079
+ values: Array[::String]
4080
+ }]?
4081
+ }?,
4082
+ name: ::String?,
4083
+ segment_groups: {
4084
+ groups: Array[
4085
+ {
4086
+ dimensions: Array[
4087
+ {
4088
+ attributes: Hash[::String, {
4089
+ attribute_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEFORE" | "AFTER" | "BETWEEN" | "ON")?,
4090
+ values: Array[::String]
4091
+ }]?,
4092
+ behavior: {
4093
+ recency: {
4094
+ duration: ("HR_24" | "DAY_7" | "DAY_14" | "DAY_30"),
4095
+ recency_type: ("ACTIVE" | "INACTIVE")
4096
+ }?
4097
+ }?,
4098
+ demographic: {
4099
+ app_version: {
4100
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
4101
+ values: Array[::String]
4102
+ }?,
4103
+ channel: {
4104
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
4105
+ values: Array[::String]
4106
+ }?,
4107
+ device_type: {
4108
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
4109
+ values: Array[::String]
4110
+ }?,
4111
+ make: {
4112
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
4113
+ values: Array[::String]
4114
+ }?,
4115
+ model: {
4116
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
4117
+ values: Array[::String]
4118
+ }?,
4119
+ platform: {
4120
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
4121
+ values: Array[::String]
4122
+ }?
4123
+ }?,
4124
+ location: {
4125
+ country: {
4126
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE")?,
4127
+ values: Array[::String]
4128
+ }?,
4129
+ gps_point: {
4130
+ coordinates: {
4131
+ latitude: ::Float,
4132
+ longitude: ::Float
4133
+ },
4134
+ range_in_kilometers: ::Float?
4135
+ }?
4136
+ }?,
4137
+ metrics: Hash[::String, {
4138
+ comparison_operator: ::String,
4139
+ value: ::Float
4140
+ }]?,
4141
+ user_attributes: Hash[::String, {
4142
+ attribute_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEFORE" | "AFTER" | "BETWEEN" | "ON")?,
4143
+ values: Array[::String]
4144
+ }]?
4145
+ },
4146
+ ]?,
4147
+ source_segments: Array[
4148
+ {
4149
+ id: ::String,
4150
+ version: ::Integer?
4151
+ },
4152
+ ]?,
4153
+ source_type: ("ALL" | "ANY" | "NONE")?,
4154
+ type: ("ALL" | "ANY" | "NONE")?
4155
+ },
4156
+ ]?,
4157
+ include: ("ALL" | "ANY" | "NONE")?
4158
+ }?,
4159
+ tags: Hash[::String, ::String]?
4160
+ }
4161
+ ) -> _UpdateSegmentResponseSuccess
4162
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateSegmentResponseSuccess
4163
+
4164
+ interface _UpdateSmsChannelResponseSuccess
4165
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateSmsChannelResponse]
4166
+ def sms_channel_response: () -> Types::SMSChannelResponse
4167
+ end
4168
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#update_sms_channel-instance_method
4169
+ def update_sms_channel: (
4170
+ application_id: ::String,
4171
+ sms_channel_request: {
4172
+ enabled: bool?,
4173
+ sender_id: ::String?,
4174
+ short_code: ::String?
4175
+ }
4176
+ ) -> _UpdateSmsChannelResponseSuccess
4177
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateSmsChannelResponseSuccess
4178
+
4179
+ interface _UpdateSmsTemplateResponseSuccess
4180
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateSmsTemplateResponse]
4181
+ def message_body: () -> Types::MessageBody
4182
+ end
4183
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#update_sms_template-instance_method
4184
+ def update_sms_template: (
4185
+ ?create_new_version: bool,
4186
+ sms_template_request: {
4187
+ body: ::String?,
4188
+ default_substitutions: ::String?,
4189
+ recommender_id: ::String?,
4190
+ tags: Hash[::String, ::String]?,
4191
+ template_description: ::String?
4192
+ },
4193
+ template_name: ::String,
4194
+ ?version: ::String
4195
+ ) -> _UpdateSmsTemplateResponseSuccess
4196
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateSmsTemplateResponseSuccess
4197
+
4198
+ interface _UpdateTemplateActiveVersionResponseSuccess
4199
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateTemplateActiveVersionResponse]
4200
+ def message_body: () -> Types::MessageBody
4201
+ end
4202
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#update_template_active_version-instance_method
4203
+ def update_template_active_version: (
4204
+ template_active_version_request: {
4205
+ version: ::String?
4206
+ },
4207
+ template_name: ::String,
4208
+ template_type: ::String
4209
+ ) -> _UpdateTemplateActiveVersionResponseSuccess
4210
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateTemplateActiveVersionResponseSuccess
4211
+
4212
+ interface _UpdateVoiceChannelResponseSuccess
4213
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateVoiceChannelResponse]
4214
+ def voice_channel_response: () -> Types::VoiceChannelResponse
4215
+ end
4216
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#update_voice_channel-instance_method
4217
+ def update_voice_channel: (
4218
+ application_id: ::String,
4219
+ voice_channel_request: {
4220
+ enabled: bool?
4221
+ }
4222
+ ) -> _UpdateVoiceChannelResponseSuccess
4223
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateVoiceChannelResponseSuccess
4224
+
4225
+ interface _UpdateVoiceTemplateResponseSuccess
4226
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateVoiceTemplateResponse]
4227
+ def message_body: () -> Types::MessageBody
4228
+ end
4229
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#update_voice_template-instance_method
4230
+ def update_voice_template: (
4231
+ ?create_new_version: bool,
4232
+ template_name: ::String,
4233
+ ?version: ::String,
4234
+ voice_template_request: {
4235
+ body: ::String?,
4236
+ default_substitutions: ::String?,
4237
+ language_code: ::String?,
4238
+ tags: Hash[::String, ::String]?,
4239
+ template_description: ::String?,
4240
+ voice_id: ::String?
4241
+ }
4242
+ ) -> _UpdateVoiceTemplateResponseSuccess
4243
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateVoiceTemplateResponseSuccess
4244
+
4245
+ interface _VerifyOTPMessageResponseSuccess
4246
+ include ::Seahorse::Client::_ResponseSuccess[Types::VerifyOTPMessageResponse]
4247
+ def verification_response: () -> Types::VerificationResponse
4248
+ end
4249
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pinpoint/Client.html#verify_otp_message-instance_method
4250
+ def verify_otp_message: (
4251
+ application_id: ::String,
4252
+ verify_otp_message_request_parameters: {
4253
+ destination_identity: ::String,
4254
+ otp: ::String,
4255
+ reference_id: ::String
4256
+ }
4257
+ ) -> _VerifyOTPMessageResponseSuccess
4258
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _VerifyOTPMessageResponseSuccess
4259
+ end
4260
+ end
4261
+ end
4262
+