aws-sdk-pinpoint 1.85.0 → 1.87.0

Sign up to get free protection for your applications and to get access to all the features.
data/sig/types.rbs ADDED
@@ -0,0 +1,3421 @@
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::Pinpoint
9
+ module Types
10
+
11
+ class ADMChannelRequest
12
+ attr_accessor client_id: ::String
13
+ attr_accessor client_secret: ::String
14
+ attr_accessor enabled: bool
15
+ SENSITIVE: []
16
+ end
17
+
18
+ class ADMChannelResponse
19
+ attr_accessor application_id: ::String
20
+ attr_accessor creation_date: ::String
21
+ attr_accessor enabled: bool
22
+ attr_accessor has_credential: bool
23
+ attr_accessor id: ::String
24
+ attr_accessor is_archived: bool
25
+ attr_accessor last_modified_by: ::String
26
+ attr_accessor last_modified_date: ::String
27
+ attr_accessor platform: ::String
28
+ attr_accessor version: ::Integer
29
+ SENSITIVE: []
30
+ end
31
+
32
+ class ADMMessage
33
+ attr_accessor action: ("OPEN_APP" | "DEEP_LINK" | "URL")
34
+ attr_accessor body: ::String
35
+ attr_accessor consolidation_key: ::String
36
+ attr_accessor data: ::Hash[::String, ::String]
37
+ attr_accessor expires_after: ::String
38
+ attr_accessor icon_reference: ::String
39
+ attr_accessor image_icon_url: ::String
40
+ attr_accessor image_url: ::String
41
+ attr_accessor md5: ::String
42
+ attr_accessor raw_content: ::String
43
+ attr_accessor silent_push: bool
44
+ attr_accessor small_image_icon_url: ::String
45
+ attr_accessor sound: ::String
46
+ attr_accessor substitutions: ::Hash[::String, ::Array[::String]]
47
+ attr_accessor title: ::String
48
+ attr_accessor url: ::String
49
+ SENSITIVE: []
50
+ end
51
+
52
+ class APNSChannelRequest
53
+ attr_accessor bundle_id: ::String
54
+ attr_accessor certificate: ::String
55
+ attr_accessor default_authentication_method: ::String
56
+ attr_accessor enabled: bool
57
+ attr_accessor private_key: ::String
58
+ attr_accessor team_id: ::String
59
+ attr_accessor token_key: ::String
60
+ attr_accessor token_key_id: ::String
61
+ SENSITIVE: []
62
+ end
63
+
64
+ class APNSChannelResponse
65
+ attr_accessor application_id: ::String
66
+ attr_accessor creation_date: ::String
67
+ attr_accessor default_authentication_method: ::String
68
+ attr_accessor enabled: bool
69
+ attr_accessor has_credential: bool
70
+ attr_accessor has_token_key: bool
71
+ attr_accessor id: ::String
72
+ attr_accessor is_archived: bool
73
+ attr_accessor last_modified_by: ::String
74
+ attr_accessor last_modified_date: ::String
75
+ attr_accessor platform: ::String
76
+ attr_accessor version: ::Integer
77
+ SENSITIVE: []
78
+ end
79
+
80
+ class APNSMessage
81
+ attr_accessor apns_push_type: ::String
82
+ attr_accessor action: ("OPEN_APP" | "DEEP_LINK" | "URL")
83
+ attr_accessor badge: ::Integer
84
+ attr_accessor body: ::String
85
+ attr_accessor category: ::String
86
+ attr_accessor collapse_id: ::String
87
+ attr_accessor data: ::Hash[::String, ::String]
88
+ attr_accessor media_url: ::String
89
+ attr_accessor preferred_authentication_method: ::String
90
+ attr_accessor priority: ::String
91
+ attr_accessor raw_content: ::String
92
+ attr_accessor silent_push: bool
93
+ attr_accessor sound: ::String
94
+ attr_accessor substitutions: ::Hash[::String, ::Array[::String]]
95
+ attr_accessor thread_id: ::String
96
+ attr_accessor time_to_live: ::Integer
97
+ attr_accessor title: ::String
98
+ attr_accessor url: ::String
99
+ SENSITIVE: []
100
+ end
101
+
102
+ class APNSPushNotificationTemplate
103
+ attr_accessor action: ("OPEN_APP" | "DEEP_LINK" | "URL")
104
+ attr_accessor body: ::String
105
+ attr_accessor media_url: ::String
106
+ attr_accessor raw_content: ::String
107
+ attr_accessor sound: ::String
108
+ attr_accessor title: ::String
109
+ attr_accessor url: ::String
110
+ SENSITIVE: []
111
+ end
112
+
113
+ class APNSSandboxChannelRequest
114
+ attr_accessor bundle_id: ::String
115
+ attr_accessor certificate: ::String
116
+ attr_accessor default_authentication_method: ::String
117
+ attr_accessor enabled: bool
118
+ attr_accessor private_key: ::String
119
+ attr_accessor team_id: ::String
120
+ attr_accessor token_key: ::String
121
+ attr_accessor token_key_id: ::String
122
+ SENSITIVE: []
123
+ end
124
+
125
+ class APNSSandboxChannelResponse
126
+ attr_accessor application_id: ::String
127
+ attr_accessor creation_date: ::String
128
+ attr_accessor default_authentication_method: ::String
129
+ attr_accessor enabled: bool
130
+ attr_accessor has_credential: bool
131
+ attr_accessor has_token_key: bool
132
+ attr_accessor id: ::String
133
+ attr_accessor is_archived: bool
134
+ attr_accessor last_modified_by: ::String
135
+ attr_accessor last_modified_date: ::String
136
+ attr_accessor platform: ::String
137
+ attr_accessor version: ::Integer
138
+ SENSITIVE: []
139
+ end
140
+
141
+ class APNSVoipChannelRequest
142
+ attr_accessor bundle_id: ::String
143
+ attr_accessor certificate: ::String
144
+ attr_accessor default_authentication_method: ::String
145
+ attr_accessor enabled: bool
146
+ attr_accessor private_key: ::String
147
+ attr_accessor team_id: ::String
148
+ attr_accessor token_key: ::String
149
+ attr_accessor token_key_id: ::String
150
+ SENSITIVE: []
151
+ end
152
+
153
+ class APNSVoipChannelResponse
154
+ attr_accessor application_id: ::String
155
+ attr_accessor creation_date: ::String
156
+ attr_accessor default_authentication_method: ::String
157
+ attr_accessor enabled: bool
158
+ attr_accessor has_credential: bool
159
+ attr_accessor has_token_key: bool
160
+ attr_accessor id: ::String
161
+ attr_accessor is_archived: bool
162
+ attr_accessor last_modified_by: ::String
163
+ attr_accessor last_modified_date: ::String
164
+ attr_accessor platform: ::String
165
+ attr_accessor version: ::Integer
166
+ SENSITIVE: []
167
+ end
168
+
169
+ class APNSVoipSandboxChannelRequest
170
+ attr_accessor bundle_id: ::String
171
+ attr_accessor certificate: ::String
172
+ attr_accessor default_authentication_method: ::String
173
+ attr_accessor enabled: bool
174
+ attr_accessor private_key: ::String
175
+ attr_accessor team_id: ::String
176
+ attr_accessor token_key: ::String
177
+ attr_accessor token_key_id: ::String
178
+ SENSITIVE: []
179
+ end
180
+
181
+ class APNSVoipSandboxChannelResponse
182
+ attr_accessor application_id: ::String
183
+ attr_accessor creation_date: ::String
184
+ attr_accessor default_authentication_method: ::String
185
+ attr_accessor enabled: bool
186
+ attr_accessor has_credential: bool
187
+ attr_accessor has_token_key: bool
188
+ attr_accessor id: ::String
189
+ attr_accessor is_archived: bool
190
+ attr_accessor last_modified_by: ::String
191
+ attr_accessor last_modified_date: ::String
192
+ attr_accessor platform: ::String
193
+ attr_accessor version: ::Integer
194
+ SENSITIVE: []
195
+ end
196
+
197
+ class ActivitiesResponse
198
+ attr_accessor item: ::Array[Types::ActivityResponse]
199
+ attr_accessor next_token: ::String
200
+ SENSITIVE: []
201
+ end
202
+
203
+ class Activity
204
+ attr_accessor custom: Types::CustomMessageActivity
205
+ attr_accessor conditional_split: Types::ConditionalSplitActivity
206
+ attr_accessor description: ::String
207
+ attr_accessor email: Types::EmailMessageActivity
208
+ attr_accessor holdout: Types::HoldoutActivity
209
+ attr_accessor multi_condition: Types::MultiConditionalSplitActivity
210
+ attr_accessor push: Types::PushMessageActivity
211
+ attr_accessor random_split: Types::RandomSplitActivity
212
+ attr_accessor sms: Types::SMSMessageActivity
213
+ attr_accessor wait: Types::WaitActivity
214
+ attr_accessor contact_center: Types::ContactCenterActivity
215
+ SENSITIVE: []
216
+ end
217
+
218
+ class ActivityResponse
219
+ attr_accessor application_id: ::String
220
+ attr_accessor campaign_id: ::String
221
+ attr_accessor end: ::String
222
+ attr_accessor id: ::String
223
+ attr_accessor result: ::String
224
+ attr_accessor scheduled_start: ::String
225
+ attr_accessor start: ::String
226
+ attr_accessor state: ::String
227
+ attr_accessor successful_endpoint_count: ::Integer
228
+ attr_accessor timezones_completed_count: ::Integer
229
+ attr_accessor timezones_total_count: ::Integer
230
+ attr_accessor total_endpoint_count: ::Integer
231
+ attr_accessor treatment_id: ::String
232
+ attr_accessor execution_metrics: ::Hash[::String, ::String]
233
+ SENSITIVE: []
234
+ end
235
+
236
+ class AddressConfiguration
237
+ attr_accessor body_override: ::String
238
+ attr_accessor channel_type: ("PUSH" | "GCM" | "APNS" | "APNS_SANDBOX" | "APNS_VOIP" | "APNS_VOIP_SANDBOX" | "ADM" | "SMS" | "VOICE" | "EMAIL" | "BAIDU" | "CUSTOM" | "IN_APP")
239
+ attr_accessor context: ::Hash[::String, ::String]
240
+ attr_accessor raw_content: ::String
241
+ attr_accessor substitutions: ::Hash[::String, ::Array[::String]]
242
+ attr_accessor title_override: ::String
243
+ SENSITIVE: []
244
+ end
245
+
246
+ class AndroidPushNotificationTemplate
247
+ attr_accessor action: ("OPEN_APP" | "DEEP_LINK" | "URL")
248
+ attr_accessor body: ::String
249
+ attr_accessor image_icon_url: ::String
250
+ attr_accessor image_url: ::String
251
+ attr_accessor raw_content: ::String
252
+ attr_accessor small_image_icon_url: ::String
253
+ attr_accessor sound: ::String
254
+ attr_accessor title: ::String
255
+ attr_accessor url: ::String
256
+ SENSITIVE: []
257
+ end
258
+
259
+ class ApplicationDateRangeKpiResponse
260
+ attr_accessor application_id: ::String
261
+ attr_accessor end_time: ::Time
262
+ attr_accessor kpi_name: ::String
263
+ attr_accessor kpi_result: Types::BaseKpiResult
264
+ attr_accessor next_token: ::String
265
+ attr_accessor start_time: ::Time
266
+ SENSITIVE: []
267
+ end
268
+
269
+ class ApplicationResponse
270
+ attr_accessor arn: ::String
271
+ attr_accessor id: ::String
272
+ attr_accessor name: ::String
273
+ attr_accessor tags: ::Hash[::String, ::String]
274
+ attr_accessor creation_date: ::String
275
+ SENSITIVE: []
276
+ end
277
+
278
+ class ApplicationSettingsJourneyLimits
279
+ attr_accessor daily_cap: ::Integer
280
+ attr_accessor timeframe_cap: Types::JourneyTimeframeCap
281
+ attr_accessor total_cap: ::Integer
282
+ SENSITIVE: []
283
+ end
284
+
285
+ class ApplicationSettingsResource
286
+ attr_accessor application_id: ::String
287
+ attr_accessor campaign_hook: Types::CampaignHook
288
+ attr_accessor last_modified_date: ::String
289
+ attr_accessor limits: Types::CampaignLimits
290
+ attr_accessor quiet_time: Types::QuietTime
291
+ attr_accessor journey_limits: Types::ApplicationSettingsJourneyLimits
292
+ SENSITIVE: []
293
+ end
294
+
295
+ class ApplicationsResponse
296
+ attr_accessor item: ::Array[Types::ApplicationResponse]
297
+ attr_accessor next_token: ::String
298
+ SENSITIVE: []
299
+ end
300
+
301
+ class AttributeDimension
302
+ attr_accessor attribute_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEFORE" | "AFTER" | "BETWEEN" | "ON")
303
+ attr_accessor values: ::Array[::String]
304
+ SENSITIVE: []
305
+ end
306
+
307
+ class AttributesResource
308
+ attr_accessor application_id: ::String
309
+ attr_accessor attribute_type: ::String
310
+ attr_accessor attributes: ::Array[::String]
311
+ SENSITIVE: []
312
+ end
313
+
314
+ class BadRequestException
315
+ attr_accessor message: ::String
316
+ attr_accessor request_id: ::String
317
+ SENSITIVE: []
318
+ end
319
+
320
+ class BaiduChannelRequest
321
+ attr_accessor api_key: ::String
322
+ attr_accessor enabled: bool
323
+ attr_accessor secret_key: ::String
324
+ SENSITIVE: []
325
+ end
326
+
327
+ class BaiduChannelResponse
328
+ attr_accessor application_id: ::String
329
+ attr_accessor creation_date: ::String
330
+ attr_accessor credential: ::String
331
+ attr_accessor enabled: bool
332
+ attr_accessor has_credential: bool
333
+ attr_accessor id: ::String
334
+ attr_accessor is_archived: bool
335
+ attr_accessor last_modified_by: ::String
336
+ attr_accessor last_modified_date: ::String
337
+ attr_accessor platform: ::String
338
+ attr_accessor version: ::Integer
339
+ SENSITIVE: []
340
+ end
341
+
342
+ class BaiduMessage
343
+ attr_accessor action: ("OPEN_APP" | "DEEP_LINK" | "URL")
344
+ attr_accessor body: ::String
345
+ attr_accessor data: ::Hash[::String, ::String]
346
+ attr_accessor icon_reference: ::String
347
+ attr_accessor image_icon_url: ::String
348
+ attr_accessor image_url: ::String
349
+ attr_accessor raw_content: ::String
350
+ attr_accessor silent_push: bool
351
+ attr_accessor small_image_icon_url: ::String
352
+ attr_accessor sound: ::String
353
+ attr_accessor substitutions: ::Hash[::String, ::Array[::String]]
354
+ attr_accessor time_to_live: ::Integer
355
+ attr_accessor title: ::String
356
+ attr_accessor url: ::String
357
+ SENSITIVE: []
358
+ end
359
+
360
+ class BaseKpiResult
361
+ attr_accessor rows: ::Array[Types::ResultRow]
362
+ SENSITIVE: []
363
+ end
364
+
365
+ class CampaignCustomMessage
366
+ attr_accessor data: ::String
367
+ SENSITIVE: []
368
+ end
369
+
370
+ class CampaignDateRangeKpiResponse
371
+ attr_accessor application_id: ::String
372
+ attr_accessor campaign_id: ::String
373
+ attr_accessor end_time: ::Time
374
+ attr_accessor kpi_name: ::String
375
+ attr_accessor kpi_result: Types::BaseKpiResult
376
+ attr_accessor next_token: ::String
377
+ attr_accessor start_time: ::Time
378
+ SENSITIVE: []
379
+ end
380
+
381
+ class CampaignEmailMessage
382
+ attr_accessor body: ::String
383
+ attr_accessor from_address: ::String
384
+ attr_accessor html_body: ::String
385
+ attr_accessor title: ::String
386
+ SENSITIVE: []
387
+ end
388
+
389
+ class CampaignEventFilter
390
+ attr_accessor dimensions: Types::EventDimensions
391
+ attr_accessor filter_type: ("SYSTEM" | "ENDPOINT")
392
+ SENSITIVE: []
393
+ end
394
+
395
+ class CampaignHook
396
+ attr_accessor lambda_function_name: ::String
397
+ attr_accessor mode: ("DELIVERY" | "FILTER")
398
+ attr_accessor web_url: ::String
399
+ SENSITIVE: []
400
+ end
401
+
402
+ class CampaignInAppMessage
403
+ attr_accessor body: ::String
404
+ attr_accessor content: ::Array[Types::InAppMessageContent]
405
+ attr_accessor custom_config: ::Hash[::String, ::String]
406
+ attr_accessor layout: ("BOTTOM_BANNER" | "TOP_BANNER" | "OVERLAYS" | "MOBILE_FEED" | "MIDDLE_BANNER" | "CAROUSEL")
407
+ SENSITIVE: []
408
+ end
409
+
410
+ class CampaignLimits
411
+ attr_accessor daily: ::Integer
412
+ attr_accessor maximum_duration: ::Integer
413
+ attr_accessor messages_per_second: ::Integer
414
+ attr_accessor total: ::Integer
415
+ attr_accessor session: ::Integer
416
+ SENSITIVE: []
417
+ end
418
+
419
+ class CampaignResponse
420
+ attr_accessor additional_treatments: ::Array[Types::TreatmentResource]
421
+ attr_accessor application_id: ::String
422
+ attr_accessor arn: ::String
423
+ attr_accessor creation_date: ::String
424
+ attr_accessor custom_delivery_configuration: Types::CustomDeliveryConfiguration
425
+ attr_accessor default_state: Types::CampaignState
426
+ attr_accessor description: ::String
427
+ attr_accessor holdout_percent: ::Integer
428
+ attr_accessor hook: Types::CampaignHook
429
+ attr_accessor id: ::String
430
+ attr_accessor is_paused: bool
431
+ attr_accessor last_modified_date: ::String
432
+ attr_accessor limits: Types::CampaignLimits
433
+ attr_accessor message_configuration: Types::MessageConfiguration
434
+ attr_accessor name: ::String
435
+ attr_accessor schedule: Types::Schedule
436
+ attr_accessor segment_id: ::String
437
+ attr_accessor segment_version: ::Integer
438
+ attr_accessor state: Types::CampaignState
439
+ attr_accessor tags: ::Hash[::String, ::String]
440
+ attr_accessor template_configuration: Types::TemplateConfiguration
441
+ attr_accessor treatment_description: ::String
442
+ attr_accessor treatment_name: ::String
443
+ attr_accessor version: ::Integer
444
+ attr_accessor priority: ::Integer
445
+ SENSITIVE: []
446
+ end
447
+
448
+ class CampaignSmsMessage
449
+ attr_accessor body: ::String
450
+ attr_accessor message_type: ("TRANSACTIONAL" | "PROMOTIONAL")
451
+ attr_accessor origination_number: ::String
452
+ attr_accessor sender_id: ::String
453
+ attr_accessor entity_id: ::String
454
+ attr_accessor template_id: ::String
455
+ SENSITIVE: []
456
+ end
457
+
458
+ class CampaignState
459
+ attr_accessor campaign_status: ("SCHEDULED" | "EXECUTING" | "PENDING_NEXT_RUN" | "COMPLETED" | "PAUSED" | "DELETED" | "INVALID")
460
+ SENSITIVE: []
461
+ end
462
+
463
+ class CampaignsResponse
464
+ attr_accessor item: ::Array[Types::CampaignResponse]
465
+ attr_accessor next_token: ::String
466
+ SENSITIVE: []
467
+ end
468
+
469
+ class ChannelResponse
470
+ attr_accessor application_id: ::String
471
+ attr_accessor creation_date: ::String
472
+ attr_accessor enabled: bool
473
+ attr_accessor has_credential: bool
474
+ attr_accessor id: ::String
475
+ attr_accessor is_archived: bool
476
+ attr_accessor last_modified_by: ::String
477
+ attr_accessor last_modified_date: ::String
478
+ attr_accessor version: ::Integer
479
+ SENSITIVE: []
480
+ end
481
+
482
+ class ChannelsResponse
483
+ attr_accessor channels: ::Hash[::String, Types::ChannelResponse]
484
+ SENSITIVE: []
485
+ end
486
+
487
+ class Condition
488
+ attr_accessor conditions: ::Array[Types::SimpleCondition]
489
+ attr_accessor operator: ("ALL" | "ANY")
490
+ SENSITIVE: []
491
+ end
492
+
493
+ class ConditionalSplitActivity
494
+ attr_accessor condition: Types::Condition
495
+ attr_accessor evaluation_wait_time: Types::WaitTime
496
+ attr_accessor false_activity: ::String
497
+ attr_accessor true_activity: ::String
498
+ SENSITIVE: []
499
+ end
500
+
501
+ class ContactCenterActivity
502
+ attr_accessor next_activity: ::String
503
+ SENSITIVE: []
504
+ end
505
+
506
+ class ConflictException
507
+ attr_accessor message: ::String
508
+ attr_accessor request_id: ::String
509
+ SENSITIVE: []
510
+ end
511
+
512
+ class CreateAppRequest
513
+ attr_accessor create_application_request: Types::CreateApplicationRequest
514
+ SENSITIVE: []
515
+ end
516
+
517
+ class CreateAppResponse
518
+ attr_accessor application_response: Types::ApplicationResponse
519
+ SENSITIVE: []
520
+ end
521
+
522
+ class CreateApplicationRequest
523
+ attr_accessor name: ::String
524
+ attr_accessor tags: ::Hash[::String, ::String]
525
+ SENSITIVE: []
526
+ end
527
+
528
+ class CreateCampaignRequest
529
+ attr_accessor application_id: ::String
530
+ attr_accessor write_campaign_request: Types::WriteCampaignRequest
531
+ SENSITIVE: []
532
+ end
533
+
534
+ class CreateCampaignResponse
535
+ attr_accessor campaign_response: Types::CampaignResponse
536
+ SENSITIVE: []
537
+ end
538
+
539
+ class CreateEmailTemplateRequest
540
+ attr_accessor email_template_request: Types::EmailTemplateRequest
541
+ attr_accessor template_name: ::String
542
+ SENSITIVE: []
543
+ end
544
+
545
+ class CreateEmailTemplateResponse
546
+ attr_accessor create_template_message_body: Types::CreateTemplateMessageBody
547
+ SENSITIVE: []
548
+ end
549
+
550
+ class CreateExportJobRequest
551
+ attr_accessor application_id: ::String
552
+ attr_accessor export_job_request: Types::ExportJobRequest
553
+ SENSITIVE: []
554
+ end
555
+
556
+ class CreateExportJobResponse
557
+ attr_accessor export_job_response: Types::ExportJobResponse
558
+ SENSITIVE: []
559
+ end
560
+
561
+ class CreateImportJobRequest
562
+ attr_accessor application_id: ::String
563
+ attr_accessor import_job_request: Types::ImportJobRequest
564
+ SENSITIVE: []
565
+ end
566
+
567
+ class CreateImportJobResponse
568
+ attr_accessor import_job_response: Types::ImportJobResponse
569
+ SENSITIVE: []
570
+ end
571
+
572
+ class CreateInAppTemplateRequest
573
+ attr_accessor in_app_template_request: Types::InAppTemplateRequest
574
+ attr_accessor template_name: ::String
575
+ SENSITIVE: []
576
+ end
577
+
578
+ class CreateInAppTemplateResponse
579
+ attr_accessor template_create_message_body: Types::TemplateCreateMessageBody
580
+ SENSITIVE: []
581
+ end
582
+
583
+ class CreateJourneyRequest
584
+ attr_accessor application_id: ::String
585
+ attr_accessor write_journey_request: Types::WriteJourneyRequest
586
+ SENSITIVE: []
587
+ end
588
+
589
+ class CreateJourneyResponse
590
+ attr_accessor journey_response: Types::JourneyResponse
591
+ SENSITIVE: []
592
+ end
593
+
594
+ class CreatePushTemplateRequest
595
+ attr_accessor push_notification_template_request: Types::PushNotificationTemplateRequest
596
+ attr_accessor template_name: ::String
597
+ SENSITIVE: []
598
+ end
599
+
600
+ class CreatePushTemplateResponse
601
+ attr_accessor create_template_message_body: Types::CreateTemplateMessageBody
602
+ SENSITIVE: []
603
+ end
604
+
605
+ class CreateRecommenderConfiguration
606
+ attr_accessor attributes: ::Hash[::String, ::String]
607
+ attr_accessor description: ::String
608
+ attr_accessor name: ::String
609
+ attr_accessor recommendation_provider_id_type: ::String
610
+ attr_accessor recommendation_provider_role_arn: ::String
611
+ attr_accessor recommendation_provider_uri: ::String
612
+ attr_accessor recommendation_transformer_uri: ::String
613
+ attr_accessor recommendations_display_name: ::String
614
+ attr_accessor recommendations_per_message: ::Integer
615
+ SENSITIVE: []
616
+ end
617
+
618
+ class CreateRecommenderConfigurationRequest
619
+ attr_accessor create_recommender_configuration: Types::CreateRecommenderConfiguration
620
+ SENSITIVE: []
621
+ end
622
+
623
+ class CreateRecommenderConfigurationResponse
624
+ attr_accessor recommender_configuration_response: Types::RecommenderConfigurationResponse
625
+ SENSITIVE: []
626
+ end
627
+
628
+ class CreateSegmentRequest
629
+ attr_accessor application_id: ::String
630
+ attr_accessor write_segment_request: Types::WriteSegmentRequest
631
+ SENSITIVE: []
632
+ end
633
+
634
+ class CreateSegmentResponse
635
+ attr_accessor segment_response: Types::SegmentResponse
636
+ SENSITIVE: []
637
+ end
638
+
639
+ class CreateSmsTemplateRequest
640
+ attr_accessor sms_template_request: Types::SMSTemplateRequest
641
+ attr_accessor template_name: ::String
642
+ SENSITIVE: []
643
+ end
644
+
645
+ class CreateSmsTemplateResponse
646
+ attr_accessor create_template_message_body: Types::CreateTemplateMessageBody
647
+ SENSITIVE: []
648
+ end
649
+
650
+ class CreateTemplateMessageBody
651
+ attr_accessor arn: ::String
652
+ attr_accessor message: ::String
653
+ attr_accessor request_id: ::String
654
+ SENSITIVE: []
655
+ end
656
+
657
+ class CreateVoiceTemplateRequest
658
+ attr_accessor template_name: ::String
659
+ attr_accessor voice_template_request: Types::VoiceTemplateRequest
660
+ SENSITIVE: []
661
+ end
662
+
663
+ class CreateVoiceTemplateResponse
664
+ attr_accessor create_template_message_body: Types::CreateTemplateMessageBody
665
+ SENSITIVE: []
666
+ end
667
+
668
+ class CustomDeliveryConfiguration
669
+ attr_accessor delivery_uri: ::String
670
+ attr_accessor endpoint_types: ::Array[("PUSH" | "GCM" | "APNS" | "APNS_SANDBOX" | "APNS_VOIP" | "APNS_VOIP_SANDBOX" | "ADM" | "SMS" | "VOICE" | "EMAIL" | "BAIDU" | "CUSTOM" | "IN_APP")]
671
+ SENSITIVE: []
672
+ end
673
+
674
+ class CustomMessageActivity
675
+ attr_accessor delivery_uri: ::String
676
+ attr_accessor endpoint_types: ::Array[("PUSH" | "GCM" | "APNS" | "APNS_SANDBOX" | "APNS_VOIP" | "APNS_VOIP_SANDBOX" | "ADM" | "SMS" | "VOICE" | "EMAIL" | "BAIDU" | "CUSTOM" | "IN_APP")]
677
+ attr_accessor message_config: Types::JourneyCustomMessage
678
+ attr_accessor next_activity: ::String
679
+ attr_accessor template_name: ::String
680
+ attr_accessor template_version: ::String
681
+ SENSITIVE: []
682
+ end
683
+
684
+ class DefaultButtonConfiguration
685
+ attr_accessor background_color: ::String
686
+ attr_accessor border_radius: ::Integer
687
+ attr_accessor button_action: ("LINK" | "DEEP_LINK" | "CLOSE")
688
+ attr_accessor link: ::String
689
+ attr_accessor text: ::String
690
+ attr_accessor text_color: ::String
691
+ SENSITIVE: []
692
+ end
693
+
694
+ class DefaultMessage
695
+ attr_accessor body: ::String
696
+ attr_accessor substitutions: ::Hash[::String, ::Array[::String]]
697
+ SENSITIVE: []
698
+ end
699
+
700
+ class DefaultPushNotificationMessage
701
+ attr_accessor action: ("OPEN_APP" | "DEEP_LINK" | "URL")
702
+ attr_accessor body: ::String
703
+ attr_accessor data: ::Hash[::String, ::String]
704
+ attr_accessor silent_push: bool
705
+ attr_accessor substitutions: ::Hash[::String, ::Array[::String]]
706
+ attr_accessor title: ::String
707
+ attr_accessor url: ::String
708
+ SENSITIVE: []
709
+ end
710
+
711
+ class DefaultPushNotificationTemplate
712
+ attr_accessor action: ("OPEN_APP" | "DEEP_LINK" | "URL")
713
+ attr_accessor body: ::String
714
+ attr_accessor sound: ::String
715
+ attr_accessor title: ::String
716
+ attr_accessor url: ::String
717
+ SENSITIVE: []
718
+ end
719
+
720
+ class DeleteAdmChannelRequest
721
+ attr_accessor application_id: ::String
722
+ SENSITIVE: []
723
+ end
724
+
725
+ class DeleteAdmChannelResponse
726
+ attr_accessor adm_channel_response: Types::ADMChannelResponse
727
+ SENSITIVE: []
728
+ end
729
+
730
+ class DeleteApnsChannelRequest
731
+ attr_accessor application_id: ::String
732
+ SENSITIVE: []
733
+ end
734
+
735
+ class DeleteApnsChannelResponse
736
+ attr_accessor apns_channel_response: Types::APNSChannelResponse
737
+ SENSITIVE: []
738
+ end
739
+
740
+ class DeleteApnsSandboxChannelRequest
741
+ attr_accessor application_id: ::String
742
+ SENSITIVE: []
743
+ end
744
+
745
+ class DeleteApnsSandboxChannelResponse
746
+ attr_accessor apns_sandbox_channel_response: Types::APNSSandboxChannelResponse
747
+ SENSITIVE: []
748
+ end
749
+
750
+ class DeleteApnsVoipChannelRequest
751
+ attr_accessor application_id: ::String
752
+ SENSITIVE: []
753
+ end
754
+
755
+ class DeleteApnsVoipChannelResponse
756
+ attr_accessor apns_voip_channel_response: Types::APNSVoipChannelResponse
757
+ SENSITIVE: []
758
+ end
759
+
760
+ class DeleteApnsVoipSandboxChannelRequest
761
+ attr_accessor application_id: ::String
762
+ SENSITIVE: []
763
+ end
764
+
765
+ class DeleteApnsVoipSandboxChannelResponse
766
+ attr_accessor apns_voip_sandbox_channel_response: Types::APNSVoipSandboxChannelResponse
767
+ SENSITIVE: []
768
+ end
769
+
770
+ class DeleteAppRequest
771
+ attr_accessor application_id: ::String
772
+ SENSITIVE: []
773
+ end
774
+
775
+ class DeleteAppResponse
776
+ attr_accessor application_response: Types::ApplicationResponse
777
+ SENSITIVE: []
778
+ end
779
+
780
+ class DeleteBaiduChannelRequest
781
+ attr_accessor application_id: ::String
782
+ SENSITIVE: []
783
+ end
784
+
785
+ class DeleteBaiduChannelResponse
786
+ attr_accessor baidu_channel_response: Types::BaiduChannelResponse
787
+ SENSITIVE: []
788
+ end
789
+
790
+ class DeleteCampaignRequest
791
+ attr_accessor application_id: ::String
792
+ attr_accessor campaign_id: ::String
793
+ SENSITIVE: []
794
+ end
795
+
796
+ class DeleteCampaignResponse
797
+ attr_accessor campaign_response: Types::CampaignResponse
798
+ SENSITIVE: []
799
+ end
800
+
801
+ class DeleteEmailChannelRequest
802
+ attr_accessor application_id: ::String
803
+ SENSITIVE: []
804
+ end
805
+
806
+ class DeleteEmailChannelResponse
807
+ attr_accessor email_channel_response: Types::EmailChannelResponse
808
+ SENSITIVE: []
809
+ end
810
+
811
+ class DeleteEmailTemplateRequest
812
+ attr_accessor template_name: ::String
813
+ attr_accessor version: ::String
814
+ SENSITIVE: []
815
+ end
816
+
817
+ class DeleteEmailTemplateResponse
818
+ attr_accessor message_body: Types::MessageBody
819
+ SENSITIVE: []
820
+ end
821
+
822
+ class DeleteEndpointRequest
823
+ attr_accessor application_id: ::String
824
+ attr_accessor endpoint_id: ::String
825
+ SENSITIVE: []
826
+ end
827
+
828
+ class DeleteEndpointResponse
829
+ attr_accessor endpoint_response: Types::EndpointResponse
830
+ SENSITIVE: []
831
+ end
832
+
833
+ class DeleteEventStreamRequest
834
+ attr_accessor application_id: ::String
835
+ SENSITIVE: []
836
+ end
837
+
838
+ class DeleteEventStreamResponse
839
+ attr_accessor event_stream: Types::EventStream
840
+ SENSITIVE: []
841
+ end
842
+
843
+ class DeleteGcmChannelRequest
844
+ attr_accessor application_id: ::String
845
+ SENSITIVE: []
846
+ end
847
+
848
+ class DeleteGcmChannelResponse
849
+ attr_accessor gcm_channel_response: Types::GCMChannelResponse
850
+ SENSITIVE: []
851
+ end
852
+
853
+ class DeleteInAppTemplateRequest
854
+ attr_accessor template_name: ::String
855
+ attr_accessor version: ::String
856
+ SENSITIVE: []
857
+ end
858
+
859
+ class DeleteInAppTemplateResponse
860
+ attr_accessor message_body: Types::MessageBody
861
+ SENSITIVE: []
862
+ end
863
+
864
+ class DeleteJourneyRequest
865
+ attr_accessor application_id: ::String
866
+ attr_accessor journey_id: ::String
867
+ SENSITIVE: []
868
+ end
869
+
870
+ class DeleteJourneyResponse
871
+ attr_accessor journey_response: Types::JourneyResponse
872
+ SENSITIVE: []
873
+ end
874
+
875
+ class DeletePushTemplateRequest
876
+ attr_accessor template_name: ::String
877
+ attr_accessor version: ::String
878
+ SENSITIVE: []
879
+ end
880
+
881
+ class DeletePushTemplateResponse
882
+ attr_accessor message_body: Types::MessageBody
883
+ SENSITIVE: []
884
+ end
885
+
886
+ class DeleteRecommenderConfigurationRequest
887
+ attr_accessor recommender_id: ::String
888
+ SENSITIVE: []
889
+ end
890
+
891
+ class DeleteRecommenderConfigurationResponse
892
+ attr_accessor recommender_configuration_response: Types::RecommenderConfigurationResponse
893
+ SENSITIVE: []
894
+ end
895
+
896
+ class DeleteSegmentRequest
897
+ attr_accessor application_id: ::String
898
+ attr_accessor segment_id: ::String
899
+ SENSITIVE: []
900
+ end
901
+
902
+ class DeleteSegmentResponse
903
+ attr_accessor segment_response: Types::SegmentResponse
904
+ SENSITIVE: []
905
+ end
906
+
907
+ class DeleteSmsChannelRequest
908
+ attr_accessor application_id: ::String
909
+ SENSITIVE: []
910
+ end
911
+
912
+ class DeleteSmsChannelResponse
913
+ attr_accessor sms_channel_response: Types::SMSChannelResponse
914
+ SENSITIVE: []
915
+ end
916
+
917
+ class DeleteSmsTemplateRequest
918
+ attr_accessor template_name: ::String
919
+ attr_accessor version: ::String
920
+ SENSITIVE: []
921
+ end
922
+
923
+ class DeleteSmsTemplateResponse
924
+ attr_accessor message_body: Types::MessageBody
925
+ SENSITIVE: []
926
+ end
927
+
928
+ class DeleteUserEndpointsRequest
929
+ attr_accessor application_id: ::String
930
+ attr_accessor user_id: ::String
931
+ SENSITIVE: []
932
+ end
933
+
934
+ class DeleteUserEndpointsResponse
935
+ attr_accessor endpoints_response: Types::EndpointsResponse
936
+ SENSITIVE: []
937
+ end
938
+
939
+ class DeleteVoiceChannelRequest
940
+ attr_accessor application_id: ::String
941
+ SENSITIVE: []
942
+ end
943
+
944
+ class DeleteVoiceChannelResponse
945
+ attr_accessor voice_channel_response: Types::VoiceChannelResponse
946
+ SENSITIVE: []
947
+ end
948
+
949
+ class DeleteVoiceTemplateRequest
950
+ attr_accessor template_name: ::String
951
+ attr_accessor version: ::String
952
+ SENSITIVE: []
953
+ end
954
+
955
+ class DeleteVoiceTemplateResponse
956
+ attr_accessor message_body: Types::MessageBody
957
+ SENSITIVE: []
958
+ end
959
+
960
+ class DirectMessageConfiguration
961
+ attr_accessor adm_message: Types::ADMMessage
962
+ attr_accessor apns_message: Types::APNSMessage
963
+ attr_accessor baidu_message: Types::BaiduMessage
964
+ attr_accessor default_message: Types::DefaultMessage
965
+ attr_accessor default_push_notification_message: Types::DefaultPushNotificationMessage
966
+ attr_accessor email_message: Types::EmailMessage
967
+ attr_accessor gcm_message: Types::GCMMessage
968
+ attr_accessor sms_message: Types::SMSMessage
969
+ attr_accessor voice_message: Types::VoiceMessage
970
+ SENSITIVE: []
971
+ end
972
+
973
+ class EmailChannelRequest
974
+ attr_accessor configuration_set: ::String
975
+ attr_accessor enabled: bool
976
+ attr_accessor from_address: ::String
977
+ attr_accessor identity: ::String
978
+ attr_accessor role_arn: ::String
979
+ attr_accessor orchestration_sending_role_arn: ::String
980
+ SENSITIVE: []
981
+ end
982
+
983
+ class EmailChannelResponse
984
+ attr_accessor application_id: ::String
985
+ attr_accessor configuration_set: ::String
986
+ attr_accessor creation_date: ::String
987
+ attr_accessor enabled: bool
988
+ attr_accessor from_address: ::String
989
+ attr_accessor has_credential: bool
990
+ attr_accessor id: ::String
991
+ attr_accessor identity: ::String
992
+ attr_accessor is_archived: bool
993
+ attr_accessor last_modified_by: ::String
994
+ attr_accessor last_modified_date: ::String
995
+ attr_accessor messages_per_second: ::Integer
996
+ attr_accessor platform: ::String
997
+ attr_accessor role_arn: ::String
998
+ attr_accessor orchestration_sending_role_arn: ::String
999
+ attr_accessor version: ::Integer
1000
+ SENSITIVE: []
1001
+ end
1002
+
1003
+ class EmailMessage
1004
+ attr_accessor body: ::String
1005
+ attr_accessor feedback_forwarding_address: ::String
1006
+ attr_accessor from_address: ::String
1007
+ attr_accessor raw_email: Types::RawEmail
1008
+ attr_accessor reply_to_addresses: ::Array[::String]
1009
+ attr_accessor simple_email: Types::SimpleEmail
1010
+ attr_accessor substitutions: ::Hash[::String, ::Array[::String]]
1011
+ SENSITIVE: []
1012
+ end
1013
+
1014
+ class EmailMessageActivity
1015
+ attr_accessor message_config: Types::JourneyEmailMessage
1016
+ attr_accessor next_activity: ::String
1017
+ attr_accessor template_name: ::String
1018
+ attr_accessor template_version: ::String
1019
+ SENSITIVE: []
1020
+ end
1021
+
1022
+ class EmailTemplateRequest
1023
+ attr_accessor default_substitutions: ::String
1024
+ attr_accessor html_part: ::String
1025
+ attr_accessor recommender_id: ::String
1026
+ attr_accessor subject: ::String
1027
+ attr_accessor tags: ::Hash[::String, ::String]
1028
+ attr_accessor template_description: ::String
1029
+ attr_accessor text_part: ::String
1030
+ SENSITIVE: []
1031
+ end
1032
+
1033
+ class EmailTemplateResponse
1034
+ attr_accessor arn: ::String
1035
+ attr_accessor creation_date: ::String
1036
+ attr_accessor default_substitutions: ::String
1037
+ attr_accessor html_part: ::String
1038
+ attr_accessor last_modified_date: ::String
1039
+ attr_accessor recommender_id: ::String
1040
+ attr_accessor subject: ::String
1041
+ attr_accessor tags: ::Hash[::String, ::String]
1042
+ attr_accessor template_description: ::String
1043
+ attr_accessor template_name: ::String
1044
+ attr_accessor template_type: ("EMAIL" | "SMS" | "VOICE" | "PUSH" | "INAPP")
1045
+ attr_accessor text_part: ::String
1046
+ attr_accessor version: ::String
1047
+ SENSITIVE: []
1048
+ end
1049
+
1050
+ class EndpointBatchItem
1051
+ attr_accessor address: ::String
1052
+ attr_accessor attributes: ::Hash[::String, ::Array[::String]]
1053
+ attr_accessor channel_type: ("PUSH" | "GCM" | "APNS" | "APNS_SANDBOX" | "APNS_VOIP" | "APNS_VOIP_SANDBOX" | "ADM" | "SMS" | "VOICE" | "EMAIL" | "BAIDU" | "CUSTOM" | "IN_APP")
1054
+ attr_accessor demographic: Types::EndpointDemographic
1055
+ attr_accessor effective_date: ::String
1056
+ attr_accessor endpoint_status: ::String
1057
+ attr_accessor id: ::String
1058
+ attr_accessor location: Types::EndpointLocation
1059
+ attr_accessor metrics: ::Hash[::String, ::Float]
1060
+ attr_accessor opt_out: ::String
1061
+ attr_accessor request_id: ::String
1062
+ attr_accessor user: Types::EndpointUser
1063
+ SENSITIVE: []
1064
+ end
1065
+
1066
+ class EndpointBatchRequest
1067
+ attr_accessor item: ::Array[Types::EndpointBatchItem]
1068
+ SENSITIVE: []
1069
+ end
1070
+
1071
+ class EndpointDemographic
1072
+ attr_accessor app_version: ::String
1073
+ attr_accessor locale: ::String
1074
+ attr_accessor make: ::String
1075
+ attr_accessor model: ::String
1076
+ attr_accessor model_version: ::String
1077
+ attr_accessor platform: ::String
1078
+ attr_accessor platform_version: ::String
1079
+ attr_accessor timezone: ::String
1080
+ SENSITIVE: []
1081
+ end
1082
+
1083
+ class EndpointItemResponse
1084
+ attr_accessor message: ::String
1085
+ attr_accessor status_code: ::Integer
1086
+ SENSITIVE: []
1087
+ end
1088
+
1089
+ class EndpointLocation
1090
+ attr_accessor city: ::String
1091
+ attr_accessor country: ::String
1092
+ attr_accessor latitude: ::Float
1093
+ attr_accessor longitude: ::Float
1094
+ attr_accessor postal_code: ::String
1095
+ attr_accessor region: ::String
1096
+ SENSITIVE: []
1097
+ end
1098
+
1099
+ class EndpointMessageResult
1100
+ attr_accessor address: ::String
1101
+ attr_accessor delivery_status: ("SUCCESSFUL" | "THROTTLED" | "TEMPORARY_FAILURE" | "PERMANENT_FAILURE" | "UNKNOWN_FAILURE" | "OPT_OUT" | "DUPLICATE")
1102
+ attr_accessor message_id: ::String
1103
+ attr_accessor status_code: ::Integer
1104
+ attr_accessor status_message: ::String
1105
+ attr_accessor updated_token: ::String
1106
+ SENSITIVE: []
1107
+ end
1108
+
1109
+ class EndpointRequest
1110
+ attr_accessor address: ::String
1111
+ attr_accessor attributes: ::Hash[::String, ::Array[::String]]
1112
+ attr_accessor channel_type: ("PUSH" | "GCM" | "APNS" | "APNS_SANDBOX" | "APNS_VOIP" | "APNS_VOIP_SANDBOX" | "ADM" | "SMS" | "VOICE" | "EMAIL" | "BAIDU" | "CUSTOM" | "IN_APP")
1113
+ attr_accessor demographic: Types::EndpointDemographic
1114
+ attr_accessor effective_date: ::String
1115
+ attr_accessor endpoint_status: ::String
1116
+ attr_accessor location: Types::EndpointLocation
1117
+ attr_accessor metrics: ::Hash[::String, ::Float]
1118
+ attr_accessor opt_out: ::String
1119
+ attr_accessor request_id: ::String
1120
+ attr_accessor user: Types::EndpointUser
1121
+ SENSITIVE: []
1122
+ end
1123
+
1124
+ class EndpointResponse
1125
+ attr_accessor address: ::String
1126
+ attr_accessor application_id: ::String
1127
+ attr_accessor attributes: ::Hash[::String, ::Array[::String]]
1128
+ attr_accessor channel_type: ("PUSH" | "GCM" | "APNS" | "APNS_SANDBOX" | "APNS_VOIP" | "APNS_VOIP_SANDBOX" | "ADM" | "SMS" | "VOICE" | "EMAIL" | "BAIDU" | "CUSTOM" | "IN_APP")
1129
+ attr_accessor cohort_id: ::String
1130
+ attr_accessor creation_date: ::String
1131
+ attr_accessor demographic: Types::EndpointDemographic
1132
+ attr_accessor effective_date: ::String
1133
+ attr_accessor endpoint_status: ::String
1134
+ attr_accessor id: ::String
1135
+ attr_accessor location: Types::EndpointLocation
1136
+ attr_accessor metrics: ::Hash[::String, ::Float]
1137
+ attr_accessor opt_out: ::String
1138
+ attr_accessor request_id: ::String
1139
+ attr_accessor user: Types::EndpointUser
1140
+ SENSITIVE: []
1141
+ end
1142
+
1143
+ class EndpointSendConfiguration
1144
+ attr_accessor body_override: ::String
1145
+ attr_accessor context: ::Hash[::String, ::String]
1146
+ attr_accessor raw_content: ::String
1147
+ attr_accessor substitutions: ::Hash[::String, ::Array[::String]]
1148
+ attr_accessor title_override: ::String
1149
+ SENSITIVE: []
1150
+ end
1151
+
1152
+ class EndpointUser
1153
+ attr_accessor user_attributes: ::Hash[::String, ::Array[::String]]
1154
+ attr_accessor user_id: ::String
1155
+ SENSITIVE: []
1156
+ end
1157
+
1158
+ class EndpointsResponse
1159
+ attr_accessor item: ::Array[Types::EndpointResponse]
1160
+ SENSITIVE: []
1161
+ end
1162
+
1163
+ class Event
1164
+ attr_accessor app_package_name: ::String
1165
+ attr_accessor app_title: ::String
1166
+ attr_accessor app_version_code: ::String
1167
+ attr_accessor attributes: ::Hash[::String, ::String]
1168
+ attr_accessor client_sdk_version: ::String
1169
+ attr_accessor event_type: ::String
1170
+ attr_accessor metrics: ::Hash[::String, ::Float]
1171
+ attr_accessor sdk_name: ::String
1172
+ attr_accessor session: Types::Session
1173
+ attr_accessor timestamp: ::String
1174
+ SENSITIVE: []
1175
+ end
1176
+
1177
+ class EventCondition
1178
+ attr_accessor dimensions: Types::EventDimensions
1179
+ attr_accessor message_activity: ::String
1180
+ SENSITIVE: []
1181
+ end
1182
+
1183
+ class EventDimensions
1184
+ attr_accessor attributes: ::Hash[::String, Types::AttributeDimension]
1185
+ attr_accessor event_type: Types::SetDimension
1186
+ attr_accessor metrics: ::Hash[::String, Types::MetricDimension]
1187
+ SENSITIVE: []
1188
+ end
1189
+
1190
+ class EventFilter
1191
+ attr_accessor dimensions: Types::EventDimensions
1192
+ attr_accessor filter_type: ("SYSTEM" | "ENDPOINT")
1193
+ SENSITIVE: []
1194
+ end
1195
+
1196
+ class EventItemResponse
1197
+ attr_accessor message: ::String
1198
+ attr_accessor status_code: ::Integer
1199
+ SENSITIVE: []
1200
+ end
1201
+
1202
+ class EventStartCondition
1203
+ attr_accessor event_filter: Types::EventFilter
1204
+ attr_accessor segment_id: ::String
1205
+ SENSITIVE: []
1206
+ end
1207
+
1208
+ class EventStream
1209
+ attr_accessor application_id: ::String
1210
+ attr_accessor destination_stream_arn: ::String
1211
+ attr_accessor external_id: ::String
1212
+ attr_accessor last_modified_date: ::String
1213
+ attr_accessor last_updated_by: ::String
1214
+ attr_accessor role_arn: ::String
1215
+ SENSITIVE: []
1216
+ end
1217
+
1218
+ class EventsBatch
1219
+ attr_accessor endpoint: Types::PublicEndpoint
1220
+ attr_accessor events: ::Hash[::String, Types::Event]
1221
+ SENSITIVE: []
1222
+ end
1223
+
1224
+ class EventsRequest
1225
+ attr_accessor batch_item: ::Hash[::String, Types::EventsBatch]
1226
+ SENSITIVE: []
1227
+ end
1228
+
1229
+ class EventsResponse
1230
+ attr_accessor results: ::Hash[::String, Types::ItemResponse]
1231
+ SENSITIVE: []
1232
+ end
1233
+
1234
+ class ExportJobRequest
1235
+ attr_accessor role_arn: ::String
1236
+ attr_accessor s3_url_prefix: ::String
1237
+ attr_accessor segment_id: ::String
1238
+ attr_accessor segment_version: ::Integer
1239
+ SENSITIVE: []
1240
+ end
1241
+
1242
+ class ExportJobResource
1243
+ attr_accessor role_arn: ::String
1244
+ attr_accessor s3_url_prefix: ::String
1245
+ attr_accessor segment_id: ::String
1246
+ attr_accessor segment_version: ::Integer
1247
+ SENSITIVE: []
1248
+ end
1249
+
1250
+ class ExportJobResponse
1251
+ attr_accessor application_id: ::String
1252
+ attr_accessor completed_pieces: ::Integer
1253
+ attr_accessor completion_date: ::String
1254
+ attr_accessor creation_date: ::String
1255
+ attr_accessor definition: Types::ExportJobResource
1256
+ attr_accessor failed_pieces: ::Integer
1257
+ attr_accessor failures: ::Array[::String]
1258
+ attr_accessor id: ::String
1259
+ attr_accessor job_status: ("CREATED" | "PREPARING_FOR_INITIALIZATION" | "INITIALIZING" | "PROCESSING" | "PENDING_JOB" | "COMPLETING" | "COMPLETED" | "FAILING" | "FAILED")
1260
+ attr_accessor total_failures: ::Integer
1261
+ attr_accessor total_pieces: ::Integer
1262
+ attr_accessor total_processed: ::Integer
1263
+ attr_accessor type: ::String
1264
+ SENSITIVE: []
1265
+ end
1266
+
1267
+ class ExportJobsResponse
1268
+ attr_accessor item: ::Array[Types::ExportJobResponse]
1269
+ attr_accessor next_token: ::String
1270
+ SENSITIVE: []
1271
+ end
1272
+
1273
+ class ForbiddenException
1274
+ attr_accessor message: ::String
1275
+ attr_accessor request_id: ::String
1276
+ SENSITIVE: []
1277
+ end
1278
+
1279
+ class GCMChannelRequest
1280
+ attr_accessor api_key: ::String
1281
+ attr_accessor default_authentication_method: ::String
1282
+ attr_accessor enabled: bool
1283
+ attr_accessor service_json: ::String
1284
+ SENSITIVE: []
1285
+ end
1286
+
1287
+ class GCMChannelResponse
1288
+ attr_accessor application_id: ::String
1289
+ attr_accessor creation_date: ::String
1290
+ attr_accessor credential: ::String
1291
+ attr_accessor default_authentication_method: ::String
1292
+ attr_accessor enabled: bool
1293
+ attr_accessor has_credential: bool
1294
+ attr_accessor has_fcm_service_credentials: bool
1295
+ attr_accessor id: ::String
1296
+ attr_accessor is_archived: bool
1297
+ attr_accessor last_modified_by: ::String
1298
+ attr_accessor last_modified_date: ::String
1299
+ attr_accessor platform: ::String
1300
+ attr_accessor version: ::Integer
1301
+ SENSITIVE: []
1302
+ end
1303
+
1304
+ class GCMMessage
1305
+ attr_accessor action: ("OPEN_APP" | "DEEP_LINK" | "URL")
1306
+ attr_accessor body: ::String
1307
+ attr_accessor collapse_key: ::String
1308
+ attr_accessor data: ::Hash[::String, ::String]
1309
+ attr_accessor icon_reference: ::String
1310
+ attr_accessor image_icon_url: ::String
1311
+ attr_accessor image_url: ::String
1312
+ attr_accessor preferred_authentication_method: ::String
1313
+ attr_accessor priority: ::String
1314
+ attr_accessor raw_content: ::String
1315
+ attr_accessor restricted_package_name: ::String
1316
+ attr_accessor silent_push: bool
1317
+ attr_accessor small_image_icon_url: ::String
1318
+ attr_accessor sound: ::String
1319
+ attr_accessor substitutions: ::Hash[::String, ::Array[::String]]
1320
+ attr_accessor time_to_live: ::Integer
1321
+ attr_accessor title: ::String
1322
+ attr_accessor url: ::String
1323
+ SENSITIVE: []
1324
+ end
1325
+
1326
+ class GPSCoordinates
1327
+ attr_accessor latitude: ::Float
1328
+ attr_accessor longitude: ::Float
1329
+ SENSITIVE: []
1330
+ end
1331
+
1332
+ class GPSPointDimension
1333
+ attr_accessor coordinates: Types::GPSCoordinates
1334
+ attr_accessor range_in_kilometers: ::Float
1335
+ SENSITIVE: []
1336
+ end
1337
+
1338
+ class GetAdmChannelRequest
1339
+ attr_accessor application_id: ::String
1340
+ SENSITIVE: []
1341
+ end
1342
+
1343
+ class GetAdmChannelResponse
1344
+ attr_accessor adm_channel_response: Types::ADMChannelResponse
1345
+ SENSITIVE: []
1346
+ end
1347
+
1348
+ class GetApnsChannelRequest
1349
+ attr_accessor application_id: ::String
1350
+ SENSITIVE: []
1351
+ end
1352
+
1353
+ class GetApnsChannelResponse
1354
+ attr_accessor apns_channel_response: Types::APNSChannelResponse
1355
+ SENSITIVE: []
1356
+ end
1357
+
1358
+ class GetApnsSandboxChannelRequest
1359
+ attr_accessor application_id: ::String
1360
+ SENSITIVE: []
1361
+ end
1362
+
1363
+ class GetApnsSandboxChannelResponse
1364
+ attr_accessor apns_sandbox_channel_response: Types::APNSSandboxChannelResponse
1365
+ SENSITIVE: []
1366
+ end
1367
+
1368
+ class GetApnsVoipChannelRequest
1369
+ attr_accessor application_id: ::String
1370
+ SENSITIVE: []
1371
+ end
1372
+
1373
+ class GetApnsVoipChannelResponse
1374
+ attr_accessor apns_voip_channel_response: Types::APNSVoipChannelResponse
1375
+ SENSITIVE: []
1376
+ end
1377
+
1378
+ class GetApnsVoipSandboxChannelRequest
1379
+ attr_accessor application_id: ::String
1380
+ SENSITIVE: []
1381
+ end
1382
+
1383
+ class GetApnsVoipSandboxChannelResponse
1384
+ attr_accessor apns_voip_sandbox_channel_response: Types::APNSVoipSandboxChannelResponse
1385
+ SENSITIVE: []
1386
+ end
1387
+
1388
+ class GetAppRequest
1389
+ attr_accessor application_id: ::String
1390
+ SENSITIVE: []
1391
+ end
1392
+
1393
+ class GetAppResponse
1394
+ attr_accessor application_response: Types::ApplicationResponse
1395
+ SENSITIVE: []
1396
+ end
1397
+
1398
+ class GetApplicationDateRangeKpiRequest
1399
+ attr_accessor application_id: ::String
1400
+ attr_accessor end_time: ::Time
1401
+ attr_accessor kpi_name: ::String
1402
+ attr_accessor next_token: ::String
1403
+ attr_accessor page_size: ::String
1404
+ attr_accessor start_time: ::Time
1405
+ SENSITIVE: []
1406
+ end
1407
+
1408
+ class GetApplicationDateRangeKpiResponse
1409
+ attr_accessor application_date_range_kpi_response: Types::ApplicationDateRangeKpiResponse
1410
+ SENSITIVE: []
1411
+ end
1412
+
1413
+ class GetApplicationSettingsRequest
1414
+ attr_accessor application_id: ::String
1415
+ SENSITIVE: []
1416
+ end
1417
+
1418
+ class GetApplicationSettingsResponse
1419
+ attr_accessor application_settings_resource: Types::ApplicationSettingsResource
1420
+ SENSITIVE: []
1421
+ end
1422
+
1423
+ class GetAppsRequest
1424
+ attr_accessor page_size: ::String
1425
+ attr_accessor token: ::String
1426
+ SENSITIVE: []
1427
+ end
1428
+
1429
+ class GetAppsResponse
1430
+ attr_accessor applications_response: Types::ApplicationsResponse
1431
+ SENSITIVE: []
1432
+ end
1433
+
1434
+ class GetBaiduChannelRequest
1435
+ attr_accessor application_id: ::String
1436
+ SENSITIVE: []
1437
+ end
1438
+
1439
+ class GetBaiduChannelResponse
1440
+ attr_accessor baidu_channel_response: Types::BaiduChannelResponse
1441
+ SENSITIVE: []
1442
+ end
1443
+
1444
+ class GetCampaignActivitiesRequest
1445
+ attr_accessor application_id: ::String
1446
+ attr_accessor campaign_id: ::String
1447
+ attr_accessor page_size: ::String
1448
+ attr_accessor token: ::String
1449
+ SENSITIVE: []
1450
+ end
1451
+
1452
+ class GetCampaignActivitiesResponse
1453
+ attr_accessor activities_response: Types::ActivitiesResponse
1454
+ SENSITIVE: []
1455
+ end
1456
+
1457
+ class GetCampaignDateRangeKpiRequest
1458
+ attr_accessor application_id: ::String
1459
+ attr_accessor campaign_id: ::String
1460
+ attr_accessor end_time: ::Time
1461
+ attr_accessor kpi_name: ::String
1462
+ attr_accessor next_token: ::String
1463
+ attr_accessor page_size: ::String
1464
+ attr_accessor start_time: ::Time
1465
+ SENSITIVE: []
1466
+ end
1467
+
1468
+ class GetCampaignDateRangeKpiResponse
1469
+ attr_accessor campaign_date_range_kpi_response: Types::CampaignDateRangeKpiResponse
1470
+ SENSITIVE: []
1471
+ end
1472
+
1473
+ class GetCampaignRequest
1474
+ attr_accessor application_id: ::String
1475
+ attr_accessor campaign_id: ::String
1476
+ SENSITIVE: []
1477
+ end
1478
+
1479
+ class GetCampaignResponse
1480
+ attr_accessor campaign_response: Types::CampaignResponse
1481
+ SENSITIVE: []
1482
+ end
1483
+
1484
+ class GetCampaignVersionRequest
1485
+ attr_accessor application_id: ::String
1486
+ attr_accessor campaign_id: ::String
1487
+ attr_accessor version: ::String
1488
+ SENSITIVE: []
1489
+ end
1490
+
1491
+ class GetCampaignVersionResponse
1492
+ attr_accessor campaign_response: Types::CampaignResponse
1493
+ SENSITIVE: []
1494
+ end
1495
+
1496
+ class GetCampaignVersionsRequest
1497
+ attr_accessor application_id: ::String
1498
+ attr_accessor campaign_id: ::String
1499
+ attr_accessor page_size: ::String
1500
+ attr_accessor token: ::String
1501
+ SENSITIVE: []
1502
+ end
1503
+
1504
+ class GetCampaignVersionsResponse
1505
+ attr_accessor campaigns_response: Types::CampaignsResponse
1506
+ SENSITIVE: []
1507
+ end
1508
+
1509
+ class GetCampaignsRequest
1510
+ attr_accessor application_id: ::String
1511
+ attr_accessor page_size: ::String
1512
+ attr_accessor token: ::String
1513
+ SENSITIVE: []
1514
+ end
1515
+
1516
+ class GetCampaignsResponse
1517
+ attr_accessor campaigns_response: Types::CampaignsResponse
1518
+ SENSITIVE: []
1519
+ end
1520
+
1521
+ class GetChannelsRequest
1522
+ attr_accessor application_id: ::String
1523
+ SENSITIVE: []
1524
+ end
1525
+
1526
+ class GetChannelsResponse
1527
+ attr_accessor channels_response: Types::ChannelsResponse
1528
+ SENSITIVE: []
1529
+ end
1530
+
1531
+ class GetEmailChannelRequest
1532
+ attr_accessor application_id: ::String
1533
+ SENSITIVE: []
1534
+ end
1535
+
1536
+ class GetEmailChannelResponse
1537
+ attr_accessor email_channel_response: Types::EmailChannelResponse
1538
+ SENSITIVE: []
1539
+ end
1540
+
1541
+ class GetEmailTemplateRequest
1542
+ attr_accessor template_name: ::String
1543
+ attr_accessor version: ::String
1544
+ SENSITIVE: []
1545
+ end
1546
+
1547
+ class GetEmailTemplateResponse
1548
+ attr_accessor email_template_response: Types::EmailTemplateResponse
1549
+ SENSITIVE: []
1550
+ end
1551
+
1552
+ class GetEndpointRequest
1553
+ attr_accessor application_id: ::String
1554
+ attr_accessor endpoint_id: ::String
1555
+ SENSITIVE: []
1556
+ end
1557
+
1558
+ class GetEndpointResponse
1559
+ attr_accessor endpoint_response: Types::EndpointResponse
1560
+ SENSITIVE: []
1561
+ end
1562
+
1563
+ class GetEventStreamRequest
1564
+ attr_accessor application_id: ::String
1565
+ SENSITIVE: []
1566
+ end
1567
+
1568
+ class GetEventStreamResponse
1569
+ attr_accessor event_stream: Types::EventStream
1570
+ SENSITIVE: []
1571
+ end
1572
+
1573
+ class GetExportJobRequest
1574
+ attr_accessor application_id: ::String
1575
+ attr_accessor job_id: ::String
1576
+ SENSITIVE: []
1577
+ end
1578
+
1579
+ class GetExportJobResponse
1580
+ attr_accessor export_job_response: Types::ExportJobResponse
1581
+ SENSITIVE: []
1582
+ end
1583
+
1584
+ class GetExportJobsRequest
1585
+ attr_accessor application_id: ::String
1586
+ attr_accessor page_size: ::String
1587
+ attr_accessor token: ::String
1588
+ SENSITIVE: []
1589
+ end
1590
+
1591
+ class GetExportJobsResponse
1592
+ attr_accessor export_jobs_response: Types::ExportJobsResponse
1593
+ SENSITIVE: []
1594
+ end
1595
+
1596
+ class GetGcmChannelRequest
1597
+ attr_accessor application_id: ::String
1598
+ SENSITIVE: []
1599
+ end
1600
+
1601
+ class GetGcmChannelResponse
1602
+ attr_accessor gcm_channel_response: Types::GCMChannelResponse
1603
+ SENSITIVE: []
1604
+ end
1605
+
1606
+ class GetImportJobRequest
1607
+ attr_accessor application_id: ::String
1608
+ attr_accessor job_id: ::String
1609
+ SENSITIVE: []
1610
+ end
1611
+
1612
+ class GetImportJobResponse
1613
+ attr_accessor import_job_response: Types::ImportJobResponse
1614
+ SENSITIVE: []
1615
+ end
1616
+
1617
+ class GetImportJobsRequest
1618
+ attr_accessor application_id: ::String
1619
+ attr_accessor page_size: ::String
1620
+ attr_accessor token: ::String
1621
+ SENSITIVE: []
1622
+ end
1623
+
1624
+ class GetImportJobsResponse
1625
+ attr_accessor import_jobs_response: Types::ImportJobsResponse
1626
+ SENSITIVE: []
1627
+ end
1628
+
1629
+ class GetInAppMessagesRequest
1630
+ attr_accessor application_id: ::String
1631
+ attr_accessor endpoint_id: ::String
1632
+ SENSITIVE: []
1633
+ end
1634
+
1635
+ class GetInAppMessagesResponse
1636
+ attr_accessor in_app_messages_response: Types::InAppMessagesResponse
1637
+ SENSITIVE: []
1638
+ end
1639
+
1640
+ class GetInAppTemplateRequest
1641
+ attr_accessor template_name: ::String
1642
+ attr_accessor version: ::String
1643
+ SENSITIVE: []
1644
+ end
1645
+
1646
+ class GetInAppTemplateResponse
1647
+ attr_accessor in_app_template_response: Types::InAppTemplateResponse
1648
+ SENSITIVE: []
1649
+ end
1650
+
1651
+ class GetJourneyDateRangeKpiRequest
1652
+ attr_accessor application_id: ::String
1653
+ attr_accessor end_time: ::Time
1654
+ attr_accessor journey_id: ::String
1655
+ attr_accessor kpi_name: ::String
1656
+ attr_accessor next_token: ::String
1657
+ attr_accessor page_size: ::String
1658
+ attr_accessor start_time: ::Time
1659
+ SENSITIVE: []
1660
+ end
1661
+
1662
+ class GetJourneyDateRangeKpiResponse
1663
+ attr_accessor journey_date_range_kpi_response: Types::JourneyDateRangeKpiResponse
1664
+ SENSITIVE: []
1665
+ end
1666
+
1667
+ class GetJourneyExecutionActivityMetricsRequest
1668
+ attr_accessor application_id: ::String
1669
+ attr_accessor journey_activity_id: ::String
1670
+ attr_accessor journey_id: ::String
1671
+ attr_accessor next_token: ::String
1672
+ attr_accessor page_size: ::String
1673
+ SENSITIVE: []
1674
+ end
1675
+
1676
+ class GetJourneyExecutionActivityMetricsResponse
1677
+ attr_accessor journey_execution_activity_metrics_response: Types::JourneyExecutionActivityMetricsResponse
1678
+ SENSITIVE: []
1679
+ end
1680
+
1681
+ class GetJourneyExecutionMetricsRequest
1682
+ attr_accessor application_id: ::String
1683
+ attr_accessor journey_id: ::String
1684
+ attr_accessor next_token: ::String
1685
+ attr_accessor page_size: ::String
1686
+ SENSITIVE: []
1687
+ end
1688
+
1689
+ class GetJourneyExecutionMetricsResponse
1690
+ attr_accessor journey_execution_metrics_response: Types::JourneyExecutionMetricsResponse
1691
+ SENSITIVE: []
1692
+ end
1693
+
1694
+ class GetJourneyRequest
1695
+ attr_accessor application_id: ::String
1696
+ attr_accessor journey_id: ::String
1697
+ SENSITIVE: []
1698
+ end
1699
+
1700
+ class GetJourneyResponse
1701
+ attr_accessor journey_response: Types::JourneyResponse
1702
+ SENSITIVE: []
1703
+ end
1704
+
1705
+ class GetJourneyRunExecutionActivityMetricsRequest
1706
+ attr_accessor application_id: ::String
1707
+ attr_accessor journey_activity_id: ::String
1708
+ attr_accessor journey_id: ::String
1709
+ attr_accessor next_token: ::String
1710
+ attr_accessor page_size: ::String
1711
+ attr_accessor run_id: ::String
1712
+ SENSITIVE: []
1713
+ end
1714
+
1715
+ class GetJourneyRunExecutionActivityMetricsResponse
1716
+ attr_accessor journey_run_execution_activity_metrics_response: Types::JourneyRunExecutionActivityMetricsResponse
1717
+ SENSITIVE: []
1718
+ end
1719
+
1720
+ class GetJourneyRunExecutionMetricsRequest
1721
+ attr_accessor application_id: ::String
1722
+ attr_accessor journey_id: ::String
1723
+ attr_accessor next_token: ::String
1724
+ attr_accessor page_size: ::String
1725
+ attr_accessor run_id: ::String
1726
+ SENSITIVE: []
1727
+ end
1728
+
1729
+ class GetJourneyRunExecutionMetricsResponse
1730
+ attr_accessor journey_run_execution_metrics_response: Types::JourneyRunExecutionMetricsResponse
1731
+ SENSITIVE: []
1732
+ end
1733
+
1734
+ class GetJourneyRunsRequest
1735
+ attr_accessor application_id: ::String
1736
+ attr_accessor journey_id: ::String
1737
+ attr_accessor page_size: ::String
1738
+ attr_accessor token: ::String
1739
+ SENSITIVE: []
1740
+ end
1741
+
1742
+ class GetJourneyRunsResponse
1743
+ attr_accessor journey_runs_response: Types::JourneyRunsResponse
1744
+ SENSITIVE: []
1745
+ end
1746
+
1747
+ class GetPushTemplateRequest
1748
+ attr_accessor template_name: ::String
1749
+ attr_accessor version: ::String
1750
+ SENSITIVE: []
1751
+ end
1752
+
1753
+ class GetPushTemplateResponse
1754
+ attr_accessor push_notification_template_response: Types::PushNotificationTemplateResponse
1755
+ SENSITIVE: []
1756
+ end
1757
+
1758
+ class GetRecommenderConfigurationRequest
1759
+ attr_accessor recommender_id: ::String
1760
+ SENSITIVE: []
1761
+ end
1762
+
1763
+ class GetRecommenderConfigurationResponse
1764
+ attr_accessor recommender_configuration_response: Types::RecommenderConfigurationResponse
1765
+ SENSITIVE: []
1766
+ end
1767
+
1768
+ class GetRecommenderConfigurationsRequest
1769
+ attr_accessor page_size: ::String
1770
+ attr_accessor token: ::String
1771
+ SENSITIVE: []
1772
+ end
1773
+
1774
+ class GetRecommenderConfigurationsResponse
1775
+ attr_accessor list_recommender_configurations_response: Types::ListRecommenderConfigurationsResponse
1776
+ SENSITIVE: []
1777
+ end
1778
+
1779
+ class GetSegmentExportJobsRequest
1780
+ attr_accessor application_id: ::String
1781
+ attr_accessor page_size: ::String
1782
+ attr_accessor segment_id: ::String
1783
+ attr_accessor token: ::String
1784
+ SENSITIVE: []
1785
+ end
1786
+
1787
+ class GetSegmentExportJobsResponse
1788
+ attr_accessor export_jobs_response: Types::ExportJobsResponse
1789
+ SENSITIVE: []
1790
+ end
1791
+
1792
+ class GetSegmentImportJobsRequest
1793
+ attr_accessor application_id: ::String
1794
+ attr_accessor page_size: ::String
1795
+ attr_accessor segment_id: ::String
1796
+ attr_accessor token: ::String
1797
+ SENSITIVE: []
1798
+ end
1799
+
1800
+ class GetSegmentImportJobsResponse
1801
+ attr_accessor import_jobs_response: Types::ImportJobsResponse
1802
+ SENSITIVE: []
1803
+ end
1804
+
1805
+ class GetSegmentRequest
1806
+ attr_accessor application_id: ::String
1807
+ attr_accessor segment_id: ::String
1808
+ SENSITIVE: []
1809
+ end
1810
+
1811
+ class GetSegmentResponse
1812
+ attr_accessor segment_response: Types::SegmentResponse
1813
+ SENSITIVE: []
1814
+ end
1815
+
1816
+ class GetSegmentVersionRequest
1817
+ attr_accessor application_id: ::String
1818
+ attr_accessor segment_id: ::String
1819
+ attr_accessor version: ::String
1820
+ SENSITIVE: []
1821
+ end
1822
+
1823
+ class GetSegmentVersionResponse
1824
+ attr_accessor segment_response: Types::SegmentResponse
1825
+ SENSITIVE: []
1826
+ end
1827
+
1828
+ class GetSegmentVersionsRequest
1829
+ attr_accessor application_id: ::String
1830
+ attr_accessor page_size: ::String
1831
+ attr_accessor segment_id: ::String
1832
+ attr_accessor token: ::String
1833
+ SENSITIVE: []
1834
+ end
1835
+
1836
+ class GetSegmentVersionsResponse
1837
+ attr_accessor segments_response: Types::SegmentsResponse
1838
+ SENSITIVE: []
1839
+ end
1840
+
1841
+ class GetSegmentsRequest
1842
+ attr_accessor application_id: ::String
1843
+ attr_accessor page_size: ::String
1844
+ attr_accessor token: ::String
1845
+ SENSITIVE: []
1846
+ end
1847
+
1848
+ class GetSegmentsResponse
1849
+ attr_accessor segments_response: Types::SegmentsResponse
1850
+ SENSITIVE: []
1851
+ end
1852
+
1853
+ class GetSmsChannelRequest
1854
+ attr_accessor application_id: ::String
1855
+ SENSITIVE: []
1856
+ end
1857
+
1858
+ class GetSmsChannelResponse
1859
+ attr_accessor sms_channel_response: Types::SMSChannelResponse
1860
+ SENSITIVE: []
1861
+ end
1862
+
1863
+ class GetSmsTemplateRequest
1864
+ attr_accessor template_name: ::String
1865
+ attr_accessor version: ::String
1866
+ SENSITIVE: []
1867
+ end
1868
+
1869
+ class GetSmsTemplateResponse
1870
+ attr_accessor sms_template_response: Types::SMSTemplateResponse
1871
+ SENSITIVE: []
1872
+ end
1873
+
1874
+ class GetUserEndpointsRequest
1875
+ attr_accessor application_id: ::String
1876
+ attr_accessor user_id: ::String
1877
+ SENSITIVE: []
1878
+ end
1879
+
1880
+ class GetUserEndpointsResponse
1881
+ attr_accessor endpoints_response: Types::EndpointsResponse
1882
+ SENSITIVE: []
1883
+ end
1884
+
1885
+ class GetVoiceChannelRequest
1886
+ attr_accessor application_id: ::String
1887
+ SENSITIVE: []
1888
+ end
1889
+
1890
+ class GetVoiceChannelResponse
1891
+ attr_accessor voice_channel_response: Types::VoiceChannelResponse
1892
+ SENSITIVE: []
1893
+ end
1894
+
1895
+ class GetVoiceTemplateRequest
1896
+ attr_accessor template_name: ::String
1897
+ attr_accessor version: ::String
1898
+ SENSITIVE: []
1899
+ end
1900
+
1901
+ class GetVoiceTemplateResponse
1902
+ attr_accessor voice_template_response: Types::VoiceTemplateResponse
1903
+ SENSITIVE: []
1904
+ end
1905
+
1906
+ class HoldoutActivity
1907
+ attr_accessor next_activity: ::String
1908
+ attr_accessor percentage: ::Integer
1909
+ SENSITIVE: []
1910
+ end
1911
+
1912
+ class ImportJobRequest
1913
+ attr_accessor define_segment: bool
1914
+ attr_accessor external_id: ::String
1915
+ attr_accessor format: ("CSV" | "JSON")
1916
+ attr_accessor register_endpoints: bool
1917
+ attr_accessor role_arn: ::String
1918
+ attr_accessor s3_url: ::String
1919
+ attr_accessor segment_id: ::String
1920
+ attr_accessor segment_name: ::String
1921
+ SENSITIVE: []
1922
+ end
1923
+
1924
+ class ImportJobResource
1925
+ attr_accessor define_segment: bool
1926
+ attr_accessor external_id: ::String
1927
+ attr_accessor format: ("CSV" | "JSON")
1928
+ attr_accessor register_endpoints: bool
1929
+ attr_accessor role_arn: ::String
1930
+ attr_accessor s3_url: ::String
1931
+ attr_accessor segment_id: ::String
1932
+ attr_accessor segment_name: ::String
1933
+ SENSITIVE: []
1934
+ end
1935
+
1936
+ class ImportJobResponse
1937
+ attr_accessor application_id: ::String
1938
+ attr_accessor completed_pieces: ::Integer
1939
+ attr_accessor completion_date: ::String
1940
+ attr_accessor creation_date: ::String
1941
+ attr_accessor definition: Types::ImportJobResource
1942
+ attr_accessor failed_pieces: ::Integer
1943
+ attr_accessor failures: ::Array[::String]
1944
+ attr_accessor id: ::String
1945
+ attr_accessor job_status: ("CREATED" | "PREPARING_FOR_INITIALIZATION" | "INITIALIZING" | "PROCESSING" | "PENDING_JOB" | "COMPLETING" | "COMPLETED" | "FAILING" | "FAILED")
1946
+ attr_accessor total_failures: ::Integer
1947
+ attr_accessor total_pieces: ::Integer
1948
+ attr_accessor total_processed: ::Integer
1949
+ attr_accessor type: ::String
1950
+ SENSITIVE: []
1951
+ end
1952
+
1953
+ class ImportJobsResponse
1954
+ attr_accessor item: ::Array[Types::ImportJobResponse]
1955
+ attr_accessor next_token: ::String
1956
+ SENSITIVE: []
1957
+ end
1958
+
1959
+ class InAppCampaignSchedule
1960
+ attr_accessor end_date: ::String
1961
+ attr_accessor event_filter: Types::CampaignEventFilter
1962
+ attr_accessor quiet_time: Types::QuietTime
1963
+ SENSITIVE: []
1964
+ end
1965
+
1966
+ class InAppMessage
1967
+ attr_accessor content: ::Array[Types::InAppMessageContent]
1968
+ attr_accessor custom_config: ::Hash[::String, ::String]
1969
+ attr_accessor layout: ("BOTTOM_BANNER" | "TOP_BANNER" | "OVERLAYS" | "MOBILE_FEED" | "MIDDLE_BANNER" | "CAROUSEL")
1970
+ SENSITIVE: []
1971
+ end
1972
+
1973
+ class InAppMessageBodyConfig
1974
+ attr_accessor alignment: ("LEFT" | "CENTER" | "RIGHT")
1975
+ attr_accessor body: ::String
1976
+ attr_accessor text_color: ::String
1977
+ SENSITIVE: []
1978
+ end
1979
+
1980
+ class InAppMessageButton
1981
+ attr_accessor android: Types::OverrideButtonConfiguration
1982
+ attr_accessor default_config: Types::DefaultButtonConfiguration
1983
+ attr_accessor ios: Types::OverrideButtonConfiguration
1984
+ attr_accessor web: Types::OverrideButtonConfiguration
1985
+ SENSITIVE: []
1986
+ end
1987
+
1988
+ class InAppMessageCampaign
1989
+ attr_accessor campaign_id: ::String
1990
+ attr_accessor daily_cap: ::Integer
1991
+ attr_accessor in_app_message: Types::InAppMessage
1992
+ attr_accessor priority: ::Integer
1993
+ attr_accessor schedule: Types::InAppCampaignSchedule
1994
+ attr_accessor session_cap: ::Integer
1995
+ attr_accessor total_cap: ::Integer
1996
+ attr_accessor treatment_id: ::String
1997
+ SENSITIVE: []
1998
+ end
1999
+
2000
+ class InAppMessageContent
2001
+ attr_accessor background_color: ::String
2002
+ attr_accessor body_config: Types::InAppMessageBodyConfig
2003
+ attr_accessor header_config: Types::InAppMessageHeaderConfig
2004
+ attr_accessor image_url: ::String
2005
+ attr_accessor primary_btn: Types::InAppMessageButton
2006
+ attr_accessor secondary_btn: Types::InAppMessageButton
2007
+ SENSITIVE: []
2008
+ end
2009
+
2010
+ class InAppMessageHeaderConfig
2011
+ attr_accessor alignment: ("LEFT" | "CENTER" | "RIGHT")
2012
+ attr_accessor header: ::String
2013
+ attr_accessor text_color: ::String
2014
+ SENSITIVE: []
2015
+ end
2016
+
2017
+ class InAppMessagesResponse
2018
+ attr_accessor in_app_message_campaigns: ::Array[Types::InAppMessageCampaign]
2019
+ SENSITIVE: []
2020
+ end
2021
+
2022
+ class InAppTemplateRequest
2023
+ attr_accessor content: ::Array[Types::InAppMessageContent]
2024
+ attr_accessor custom_config: ::Hash[::String, ::String]
2025
+ attr_accessor layout: ("BOTTOM_BANNER" | "TOP_BANNER" | "OVERLAYS" | "MOBILE_FEED" | "MIDDLE_BANNER" | "CAROUSEL")
2026
+ attr_accessor tags: ::Hash[::String, ::String]
2027
+ attr_accessor template_description: ::String
2028
+ SENSITIVE: []
2029
+ end
2030
+
2031
+ class InAppTemplateResponse
2032
+ attr_accessor arn: ::String
2033
+ attr_accessor content: ::Array[Types::InAppMessageContent]
2034
+ attr_accessor creation_date: ::String
2035
+ attr_accessor custom_config: ::Hash[::String, ::String]
2036
+ attr_accessor last_modified_date: ::String
2037
+ attr_accessor layout: ("BOTTOM_BANNER" | "TOP_BANNER" | "OVERLAYS" | "MOBILE_FEED" | "MIDDLE_BANNER" | "CAROUSEL")
2038
+ attr_accessor tags: ::Hash[::String, ::String]
2039
+ attr_accessor template_description: ::String
2040
+ attr_accessor template_name: ::String
2041
+ attr_accessor template_type: ("EMAIL" | "SMS" | "VOICE" | "PUSH" | "INAPP")
2042
+ attr_accessor version: ::String
2043
+ SENSITIVE: []
2044
+ end
2045
+
2046
+ class InternalServerErrorException
2047
+ attr_accessor message: ::String
2048
+ attr_accessor request_id: ::String
2049
+ SENSITIVE: []
2050
+ end
2051
+
2052
+ class ItemResponse
2053
+ attr_accessor endpoint_item_response: Types::EndpointItemResponse
2054
+ attr_accessor events_item_response: ::Hash[::String, Types::EventItemResponse]
2055
+ SENSITIVE: []
2056
+ end
2057
+
2058
+ class JourneyCustomMessage
2059
+ attr_accessor data: ::String
2060
+ SENSITIVE: []
2061
+ end
2062
+
2063
+ class JourneyDateRangeKpiResponse
2064
+ attr_accessor application_id: ::String
2065
+ attr_accessor end_time: ::Time
2066
+ attr_accessor journey_id: ::String
2067
+ attr_accessor kpi_name: ::String
2068
+ attr_accessor kpi_result: Types::BaseKpiResult
2069
+ attr_accessor next_token: ::String
2070
+ attr_accessor start_time: ::Time
2071
+ SENSITIVE: []
2072
+ end
2073
+
2074
+ class JourneyEmailMessage
2075
+ attr_accessor from_address: ::String
2076
+ SENSITIVE: []
2077
+ end
2078
+
2079
+ class JourneyExecutionActivityMetricsResponse
2080
+ attr_accessor activity_type: ::String
2081
+ attr_accessor application_id: ::String
2082
+ attr_accessor journey_activity_id: ::String
2083
+ attr_accessor journey_id: ::String
2084
+ attr_accessor last_evaluated_time: ::String
2085
+ attr_accessor metrics: ::Hash[::String, ::String]
2086
+ SENSITIVE: []
2087
+ end
2088
+
2089
+ class JourneyExecutionMetricsResponse
2090
+ attr_accessor application_id: ::String
2091
+ attr_accessor journey_id: ::String
2092
+ attr_accessor last_evaluated_time: ::String
2093
+ attr_accessor metrics: ::Hash[::String, ::String]
2094
+ SENSITIVE: []
2095
+ end
2096
+
2097
+ class JourneyLimits
2098
+ attr_accessor daily_cap: ::Integer
2099
+ attr_accessor endpoint_reentry_cap: ::Integer
2100
+ attr_accessor messages_per_second: ::Integer
2101
+ attr_accessor endpoint_reentry_interval: ::String
2102
+ attr_accessor timeframe_cap: Types::JourneyTimeframeCap
2103
+ attr_accessor total_cap: ::Integer
2104
+ SENSITIVE: []
2105
+ end
2106
+
2107
+ class JourneyPushMessage
2108
+ attr_accessor time_to_live: ::String
2109
+ SENSITIVE: []
2110
+ end
2111
+
2112
+ class JourneyChannelSettings
2113
+ attr_accessor connect_campaign_arn: ::String
2114
+ attr_accessor connect_campaign_execution_role_arn: ::String
2115
+ SENSITIVE: []
2116
+ end
2117
+
2118
+ class JourneyResponse
2119
+ attr_accessor activities: ::Hash[::String, Types::Activity]
2120
+ attr_accessor application_id: ::String
2121
+ attr_accessor creation_date: ::String
2122
+ attr_accessor id: ::String
2123
+ attr_accessor last_modified_date: ::String
2124
+ attr_accessor limits: Types::JourneyLimits
2125
+ attr_accessor local_time: bool
2126
+ attr_accessor name: ::String
2127
+ attr_accessor quiet_time: Types::QuietTime
2128
+ attr_accessor refresh_frequency: ::String
2129
+ attr_accessor schedule: Types::JourneySchedule
2130
+ attr_accessor start_activity: ::String
2131
+ attr_accessor start_condition: Types::StartCondition
2132
+ attr_accessor state: ("DRAFT" | "ACTIVE" | "COMPLETED" | "CANCELLED" | "CLOSED" | "PAUSED")
2133
+ attr_accessor tags: ::Hash[::String, ::String]
2134
+ attr_accessor wait_for_quiet_time: bool
2135
+ attr_accessor refresh_on_segment_update: bool
2136
+ attr_accessor journey_channel_settings: Types::JourneyChannelSettings
2137
+ attr_accessor sending_schedule: bool
2138
+ attr_accessor open_hours: Types::OpenHours
2139
+ attr_accessor closed_days: Types::ClosedDays
2140
+ attr_accessor timezone_estimation_methods: ::Array[("PHONE_NUMBER" | "POSTAL_CODE")]
2141
+ SENSITIVE: []
2142
+ end
2143
+
2144
+ class JourneyRunExecutionActivityMetricsResponse
2145
+ attr_accessor activity_type: ::String
2146
+ attr_accessor application_id: ::String
2147
+ attr_accessor journey_activity_id: ::String
2148
+ attr_accessor journey_id: ::String
2149
+ attr_accessor last_evaluated_time: ::String
2150
+ attr_accessor metrics: ::Hash[::String, ::String]
2151
+ attr_accessor run_id: ::String
2152
+ SENSITIVE: []
2153
+ end
2154
+
2155
+ class JourneyRunExecutionMetricsResponse
2156
+ attr_accessor application_id: ::String
2157
+ attr_accessor journey_id: ::String
2158
+ attr_accessor last_evaluated_time: ::String
2159
+ attr_accessor metrics: ::Hash[::String, ::String]
2160
+ attr_accessor run_id: ::String
2161
+ SENSITIVE: []
2162
+ end
2163
+
2164
+ class JourneyRunResponse
2165
+ attr_accessor creation_time: ::String
2166
+ attr_accessor last_update_time: ::String
2167
+ attr_accessor run_id: ::String
2168
+ attr_accessor status: ("SCHEDULED" | "RUNNING" | "COMPLETED" | "CANCELLED")
2169
+ SENSITIVE: []
2170
+ end
2171
+
2172
+ class JourneyRunsResponse
2173
+ attr_accessor item: ::Array[Types::JourneyRunResponse]
2174
+ attr_accessor next_token: ::String
2175
+ SENSITIVE: []
2176
+ end
2177
+
2178
+ class JourneySMSMessage
2179
+ attr_accessor message_type: ("TRANSACTIONAL" | "PROMOTIONAL")
2180
+ attr_accessor origination_number: ::String
2181
+ attr_accessor sender_id: ::String
2182
+ attr_accessor entity_id: ::String
2183
+ attr_accessor template_id: ::String
2184
+ SENSITIVE: []
2185
+ end
2186
+
2187
+ class JourneySchedule
2188
+ attr_accessor end_time: ::Time
2189
+ attr_accessor start_time: ::Time
2190
+ attr_accessor timezone: ::String
2191
+ SENSITIVE: []
2192
+ end
2193
+
2194
+ class JourneyStateRequest
2195
+ attr_accessor state: ("DRAFT" | "ACTIVE" | "COMPLETED" | "CANCELLED" | "CLOSED" | "PAUSED")
2196
+ SENSITIVE: []
2197
+ end
2198
+
2199
+ class JourneyTimeframeCap
2200
+ attr_accessor cap: ::Integer
2201
+ attr_accessor days: ::Integer
2202
+ SENSITIVE: []
2203
+ end
2204
+
2205
+ class JourneysResponse
2206
+ attr_accessor item: ::Array[Types::JourneyResponse]
2207
+ attr_accessor next_token: ::String
2208
+ SENSITIVE: []
2209
+ end
2210
+
2211
+ class ListJourneysRequest
2212
+ attr_accessor application_id: ::String
2213
+ attr_accessor page_size: ::String
2214
+ attr_accessor token: ::String
2215
+ SENSITIVE: []
2216
+ end
2217
+
2218
+ class ListJourneysResponse
2219
+ attr_accessor journeys_response: Types::JourneysResponse
2220
+ SENSITIVE: []
2221
+ end
2222
+
2223
+ class ListRecommenderConfigurationsResponse
2224
+ attr_accessor item: ::Array[Types::RecommenderConfigurationResponse]
2225
+ attr_accessor next_token: ::String
2226
+ SENSITIVE: []
2227
+ end
2228
+
2229
+ class ListTagsForResourceRequest
2230
+ attr_accessor resource_arn: ::String
2231
+ SENSITIVE: []
2232
+ end
2233
+
2234
+ class ListTagsForResourceResponse
2235
+ attr_accessor tags_model: Types::TagsModel
2236
+ SENSITIVE: []
2237
+ end
2238
+
2239
+ class ListTemplateVersionsRequest
2240
+ attr_accessor next_token: ::String
2241
+ attr_accessor page_size: ::String
2242
+ attr_accessor template_name: ::String
2243
+ attr_accessor template_type: ::String
2244
+ SENSITIVE: []
2245
+ end
2246
+
2247
+ class ListTemplateVersionsResponse
2248
+ attr_accessor template_versions_response: Types::TemplateVersionsResponse
2249
+ SENSITIVE: []
2250
+ end
2251
+
2252
+ class ListTemplatesRequest
2253
+ attr_accessor next_token: ::String
2254
+ attr_accessor page_size: ::String
2255
+ attr_accessor prefix: ::String
2256
+ attr_accessor template_type: ::String
2257
+ SENSITIVE: []
2258
+ end
2259
+
2260
+ class ListTemplatesResponse
2261
+ attr_accessor templates_response: Types::TemplatesResponse
2262
+ SENSITIVE: []
2263
+ end
2264
+
2265
+ class Message
2266
+ attr_accessor action: ("OPEN_APP" | "DEEP_LINK" | "URL")
2267
+ attr_accessor body: ::String
2268
+ attr_accessor image_icon_url: ::String
2269
+ attr_accessor image_small_icon_url: ::String
2270
+ attr_accessor image_url: ::String
2271
+ attr_accessor json_body: ::String
2272
+ attr_accessor media_url: ::String
2273
+ attr_accessor raw_content: ::String
2274
+ attr_accessor silent_push: bool
2275
+ attr_accessor time_to_live: ::Integer
2276
+ attr_accessor title: ::String
2277
+ attr_accessor url: ::String
2278
+ SENSITIVE: []
2279
+ end
2280
+
2281
+ class MessageBody
2282
+ attr_accessor message: ::String
2283
+ attr_accessor request_id: ::String
2284
+ SENSITIVE: []
2285
+ end
2286
+
2287
+ class MessageConfiguration
2288
+ attr_accessor adm_message: Types::Message
2289
+ attr_accessor apns_message: Types::Message
2290
+ attr_accessor baidu_message: Types::Message
2291
+ attr_accessor custom_message: Types::CampaignCustomMessage
2292
+ attr_accessor default_message: Types::Message
2293
+ attr_accessor email_message: Types::CampaignEmailMessage
2294
+ attr_accessor gcm_message: Types::Message
2295
+ attr_accessor sms_message: Types::CampaignSmsMessage
2296
+ attr_accessor in_app_message: Types::CampaignInAppMessage
2297
+ SENSITIVE: []
2298
+ end
2299
+
2300
+ class MessageRequest
2301
+ attr_accessor addresses: ::Hash[::String, Types::AddressConfiguration]
2302
+ attr_accessor context: ::Hash[::String, ::String]
2303
+ attr_accessor endpoints: ::Hash[::String, Types::EndpointSendConfiguration]
2304
+ attr_accessor message_configuration: Types::DirectMessageConfiguration
2305
+ attr_accessor template_configuration: Types::TemplateConfiguration
2306
+ attr_accessor trace_id: ::String
2307
+ SENSITIVE: []
2308
+ end
2309
+
2310
+ class MessageResponse
2311
+ attr_accessor application_id: ::String
2312
+ attr_accessor endpoint_result: ::Hash[::String, Types::EndpointMessageResult]
2313
+ attr_accessor request_id: ::String
2314
+ attr_accessor result: ::Hash[::String, Types::MessageResult]
2315
+ SENSITIVE: []
2316
+ end
2317
+
2318
+ class MessageResult
2319
+ attr_accessor delivery_status: ("SUCCESSFUL" | "THROTTLED" | "TEMPORARY_FAILURE" | "PERMANENT_FAILURE" | "UNKNOWN_FAILURE" | "OPT_OUT" | "DUPLICATE")
2320
+ attr_accessor message_id: ::String
2321
+ attr_accessor status_code: ::Integer
2322
+ attr_accessor status_message: ::String
2323
+ attr_accessor updated_token: ::String
2324
+ SENSITIVE: []
2325
+ end
2326
+
2327
+ class MethodNotAllowedException
2328
+ attr_accessor message: ::String
2329
+ attr_accessor request_id: ::String
2330
+ SENSITIVE: []
2331
+ end
2332
+
2333
+ class MetricDimension
2334
+ attr_accessor comparison_operator: ::String
2335
+ attr_accessor value: ::Float
2336
+ SENSITIVE: []
2337
+ end
2338
+
2339
+ class MultiConditionalBranch
2340
+ attr_accessor condition: Types::SimpleCondition
2341
+ attr_accessor next_activity: ::String
2342
+ SENSITIVE: []
2343
+ end
2344
+
2345
+ class MultiConditionalSplitActivity
2346
+ attr_accessor branches: ::Array[Types::MultiConditionalBranch]
2347
+ attr_accessor default_activity: ::String
2348
+ attr_accessor evaluation_wait_time: Types::WaitTime
2349
+ SENSITIVE: []
2350
+ end
2351
+
2352
+ class NotFoundException
2353
+ attr_accessor message: ::String
2354
+ attr_accessor request_id: ::String
2355
+ SENSITIVE: []
2356
+ end
2357
+
2358
+ class NumberValidateRequest
2359
+ attr_accessor iso_country_code: ::String
2360
+ attr_accessor phone_number: ::String
2361
+ SENSITIVE: []
2362
+ end
2363
+
2364
+ class NumberValidateResponse
2365
+ attr_accessor carrier: ::String
2366
+ attr_accessor city: ::String
2367
+ attr_accessor cleansed_phone_number_e164: ::String
2368
+ attr_accessor cleansed_phone_number_national: ::String
2369
+ attr_accessor country: ::String
2370
+ attr_accessor country_code_iso_2: ::String
2371
+ attr_accessor country_code_numeric: ::String
2372
+ attr_accessor county: ::String
2373
+ attr_accessor original_country_code_iso_2: ::String
2374
+ attr_accessor original_phone_number: ::String
2375
+ attr_accessor phone_type: ::String
2376
+ attr_accessor phone_type_code: ::Integer
2377
+ attr_accessor timezone: ::String
2378
+ attr_accessor zip_code: ::String
2379
+ SENSITIVE: []
2380
+ end
2381
+
2382
+ class OverrideButtonConfiguration
2383
+ attr_accessor button_action: ("LINK" | "DEEP_LINK" | "CLOSE")
2384
+ attr_accessor link: ::String
2385
+ SENSITIVE: []
2386
+ end
2387
+
2388
+ class PayloadTooLargeException
2389
+ attr_accessor message: ::String
2390
+ attr_accessor request_id: ::String
2391
+ SENSITIVE: []
2392
+ end
2393
+
2394
+ class PhoneNumberValidateRequest
2395
+ attr_accessor number_validate_request: Types::NumberValidateRequest
2396
+ SENSITIVE: []
2397
+ end
2398
+
2399
+ class PhoneNumberValidateResponse
2400
+ attr_accessor number_validate_response: Types::NumberValidateResponse
2401
+ SENSITIVE: []
2402
+ end
2403
+
2404
+ class PublicEndpoint
2405
+ attr_accessor address: ::String
2406
+ attr_accessor attributes: ::Hash[::String, ::Array[::String]]
2407
+ attr_accessor channel_type: ("PUSH" | "GCM" | "APNS" | "APNS_SANDBOX" | "APNS_VOIP" | "APNS_VOIP_SANDBOX" | "ADM" | "SMS" | "VOICE" | "EMAIL" | "BAIDU" | "CUSTOM" | "IN_APP")
2408
+ attr_accessor demographic: Types::EndpointDemographic
2409
+ attr_accessor effective_date: ::String
2410
+ attr_accessor endpoint_status: ::String
2411
+ attr_accessor location: Types::EndpointLocation
2412
+ attr_accessor metrics: ::Hash[::String, ::Float]
2413
+ attr_accessor opt_out: ::String
2414
+ attr_accessor request_id: ::String
2415
+ attr_accessor user: Types::EndpointUser
2416
+ SENSITIVE: []
2417
+ end
2418
+
2419
+ class PushMessageActivity
2420
+ attr_accessor message_config: Types::JourneyPushMessage
2421
+ attr_accessor next_activity: ::String
2422
+ attr_accessor template_name: ::String
2423
+ attr_accessor template_version: ::String
2424
+ SENSITIVE: []
2425
+ end
2426
+
2427
+ class PushNotificationTemplateRequest
2428
+ attr_accessor adm: Types::AndroidPushNotificationTemplate
2429
+ attr_accessor apns: Types::APNSPushNotificationTemplate
2430
+ attr_accessor baidu: Types::AndroidPushNotificationTemplate
2431
+ attr_accessor default: Types::DefaultPushNotificationTemplate
2432
+ attr_accessor default_substitutions: ::String
2433
+ attr_accessor gcm: Types::AndroidPushNotificationTemplate
2434
+ attr_accessor recommender_id: ::String
2435
+ attr_accessor tags: ::Hash[::String, ::String]
2436
+ attr_accessor template_description: ::String
2437
+ SENSITIVE: []
2438
+ end
2439
+
2440
+ class PushNotificationTemplateResponse
2441
+ attr_accessor adm: Types::AndroidPushNotificationTemplate
2442
+ attr_accessor apns: Types::APNSPushNotificationTemplate
2443
+ attr_accessor arn: ::String
2444
+ attr_accessor baidu: Types::AndroidPushNotificationTemplate
2445
+ attr_accessor creation_date: ::String
2446
+ attr_accessor default: Types::DefaultPushNotificationTemplate
2447
+ attr_accessor default_substitutions: ::String
2448
+ attr_accessor gcm: Types::AndroidPushNotificationTemplate
2449
+ attr_accessor last_modified_date: ::String
2450
+ attr_accessor recommender_id: ::String
2451
+ attr_accessor tags: ::Hash[::String, ::String]
2452
+ attr_accessor template_description: ::String
2453
+ attr_accessor template_name: ::String
2454
+ attr_accessor template_type: ("EMAIL" | "SMS" | "VOICE" | "PUSH" | "INAPP")
2455
+ attr_accessor version: ::String
2456
+ SENSITIVE: []
2457
+ end
2458
+
2459
+ class PutEventStreamRequest
2460
+ attr_accessor application_id: ::String
2461
+ attr_accessor write_event_stream: Types::WriteEventStream
2462
+ SENSITIVE: []
2463
+ end
2464
+
2465
+ class PutEventStreamResponse
2466
+ attr_accessor event_stream: Types::EventStream
2467
+ SENSITIVE: []
2468
+ end
2469
+
2470
+ class PutEventsRequest
2471
+ attr_accessor application_id: ::String
2472
+ attr_accessor events_request: Types::EventsRequest
2473
+ SENSITIVE: []
2474
+ end
2475
+
2476
+ class PutEventsResponse
2477
+ attr_accessor events_response: Types::EventsResponse
2478
+ SENSITIVE: []
2479
+ end
2480
+
2481
+ class QuietTime
2482
+ attr_accessor end: ::String
2483
+ attr_accessor start: ::String
2484
+ SENSITIVE: []
2485
+ end
2486
+
2487
+ class RandomSplitActivity
2488
+ attr_accessor branches: ::Array[Types::RandomSplitEntry]
2489
+ SENSITIVE: []
2490
+ end
2491
+
2492
+ class RandomSplitEntry
2493
+ attr_accessor next_activity: ::String
2494
+ attr_accessor percentage: ::Integer
2495
+ SENSITIVE: []
2496
+ end
2497
+
2498
+ class RawEmail
2499
+ attr_accessor data: ::String
2500
+ SENSITIVE: []
2501
+ end
2502
+
2503
+ class RecencyDimension
2504
+ attr_accessor duration: ("HR_24" | "DAY_7" | "DAY_14" | "DAY_30")
2505
+ attr_accessor recency_type: ("ACTIVE" | "INACTIVE")
2506
+ SENSITIVE: []
2507
+ end
2508
+
2509
+ class RecommenderConfigurationResponse
2510
+ attr_accessor attributes: ::Hash[::String, ::String]
2511
+ attr_accessor creation_date: ::String
2512
+ attr_accessor description: ::String
2513
+ attr_accessor id: ::String
2514
+ attr_accessor last_modified_date: ::String
2515
+ attr_accessor name: ::String
2516
+ attr_accessor recommendation_provider_id_type: ::String
2517
+ attr_accessor recommendation_provider_role_arn: ::String
2518
+ attr_accessor recommendation_provider_uri: ::String
2519
+ attr_accessor recommendation_transformer_uri: ::String
2520
+ attr_accessor recommendations_display_name: ::String
2521
+ attr_accessor recommendations_per_message: ::Integer
2522
+ SENSITIVE: []
2523
+ end
2524
+
2525
+ class RemoveAttributesRequest
2526
+ attr_accessor application_id: ::String
2527
+ attr_accessor attribute_type: ::String
2528
+ attr_accessor update_attributes_request: Types::UpdateAttributesRequest
2529
+ SENSITIVE: []
2530
+ end
2531
+
2532
+ class RemoveAttributesResponse
2533
+ attr_accessor attributes_resource: Types::AttributesResource
2534
+ SENSITIVE: []
2535
+ end
2536
+
2537
+ class ResultRow
2538
+ attr_accessor grouped_bys: ::Array[Types::ResultRowValue]
2539
+ attr_accessor values: ::Array[Types::ResultRowValue]
2540
+ SENSITIVE: []
2541
+ end
2542
+
2543
+ class ResultRowValue
2544
+ attr_accessor key: ::String
2545
+ attr_accessor type: ::String
2546
+ attr_accessor value: ::String
2547
+ SENSITIVE: []
2548
+ end
2549
+
2550
+ class SMSChannelRequest
2551
+ attr_accessor enabled: bool
2552
+ attr_accessor sender_id: ::String
2553
+ attr_accessor short_code: ::String
2554
+ SENSITIVE: []
2555
+ end
2556
+
2557
+ class SMSChannelResponse
2558
+ attr_accessor application_id: ::String
2559
+ attr_accessor creation_date: ::String
2560
+ attr_accessor enabled: bool
2561
+ attr_accessor has_credential: bool
2562
+ attr_accessor id: ::String
2563
+ attr_accessor is_archived: bool
2564
+ attr_accessor last_modified_by: ::String
2565
+ attr_accessor last_modified_date: ::String
2566
+ attr_accessor platform: ::String
2567
+ attr_accessor promotional_messages_per_second: ::Integer
2568
+ attr_accessor sender_id: ::String
2569
+ attr_accessor short_code: ::String
2570
+ attr_accessor transactional_messages_per_second: ::Integer
2571
+ attr_accessor version: ::Integer
2572
+ SENSITIVE: []
2573
+ end
2574
+
2575
+ class SMSMessage
2576
+ attr_accessor body: ::String
2577
+ attr_accessor keyword: ::String
2578
+ attr_accessor media_url: ::String
2579
+ attr_accessor message_type: ("TRANSACTIONAL" | "PROMOTIONAL")
2580
+ attr_accessor origination_number: ::String
2581
+ attr_accessor sender_id: ::String
2582
+ attr_accessor substitutions: ::Hash[::String, ::Array[::String]]
2583
+ attr_accessor entity_id: ::String
2584
+ attr_accessor template_id: ::String
2585
+ SENSITIVE: []
2586
+ end
2587
+
2588
+ class SMSMessageActivity
2589
+ attr_accessor message_config: Types::JourneySMSMessage
2590
+ attr_accessor next_activity: ::String
2591
+ attr_accessor template_name: ::String
2592
+ attr_accessor template_version: ::String
2593
+ SENSITIVE: []
2594
+ end
2595
+
2596
+ class SMSTemplateRequest
2597
+ attr_accessor body: ::String
2598
+ attr_accessor default_substitutions: ::String
2599
+ attr_accessor recommender_id: ::String
2600
+ attr_accessor tags: ::Hash[::String, ::String]
2601
+ attr_accessor template_description: ::String
2602
+ SENSITIVE: []
2603
+ end
2604
+
2605
+ class SMSTemplateResponse
2606
+ attr_accessor arn: ::String
2607
+ attr_accessor body: ::String
2608
+ attr_accessor creation_date: ::String
2609
+ attr_accessor default_substitutions: ::String
2610
+ attr_accessor last_modified_date: ::String
2611
+ attr_accessor recommender_id: ::String
2612
+ attr_accessor tags: ::Hash[::String, ::String]
2613
+ attr_accessor template_description: ::String
2614
+ attr_accessor template_name: ::String
2615
+ attr_accessor template_type: ("EMAIL" | "SMS" | "VOICE" | "PUSH" | "INAPP")
2616
+ attr_accessor version: ::String
2617
+ SENSITIVE: []
2618
+ end
2619
+
2620
+ class Schedule
2621
+ attr_accessor end_time: ::String
2622
+ attr_accessor event_filter: Types::CampaignEventFilter
2623
+ attr_accessor frequency: ("ONCE" | "HOURLY" | "DAILY" | "WEEKLY" | "MONTHLY" | "EVENT" | "IN_APP_EVENT")
2624
+ attr_accessor is_local_time: bool
2625
+ attr_accessor quiet_time: Types::QuietTime
2626
+ attr_accessor start_time: ::String
2627
+ attr_accessor timezone: ::String
2628
+ SENSITIVE: []
2629
+ end
2630
+
2631
+ class SegmentBehaviors
2632
+ attr_accessor recency: Types::RecencyDimension
2633
+ SENSITIVE: []
2634
+ end
2635
+
2636
+ class SegmentCondition
2637
+ attr_accessor segment_id: ::String
2638
+ SENSITIVE: []
2639
+ end
2640
+
2641
+ class SegmentDemographics
2642
+ attr_accessor app_version: Types::SetDimension
2643
+ attr_accessor channel: Types::SetDimension
2644
+ attr_accessor device_type: Types::SetDimension
2645
+ attr_accessor make: Types::SetDimension
2646
+ attr_accessor model: Types::SetDimension
2647
+ attr_accessor platform: Types::SetDimension
2648
+ SENSITIVE: []
2649
+ end
2650
+
2651
+ class SegmentDimensions
2652
+ attr_accessor attributes: ::Hash[::String, Types::AttributeDimension]
2653
+ attr_accessor behavior: Types::SegmentBehaviors
2654
+ attr_accessor demographic: Types::SegmentDemographics
2655
+ attr_accessor location: Types::SegmentLocation
2656
+ attr_accessor metrics: ::Hash[::String, Types::MetricDimension]
2657
+ attr_accessor user_attributes: ::Hash[::String, Types::AttributeDimension]
2658
+ SENSITIVE: []
2659
+ end
2660
+
2661
+ class SegmentGroup
2662
+ attr_accessor dimensions: ::Array[Types::SegmentDimensions]
2663
+ attr_accessor source_segments: ::Array[Types::SegmentReference]
2664
+ attr_accessor source_type: ("ALL" | "ANY" | "NONE")
2665
+ attr_accessor type: ("ALL" | "ANY" | "NONE")
2666
+ SENSITIVE: []
2667
+ end
2668
+
2669
+ class SegmentGroupList
2670
+ attr_accessor groups: ::Array[Types::SegmentGroup]
2671
+ attr_accessor include: ("ALL" | "ANY" | "NONE")
2672
+ SENSITIVE: []
2673
+ end
2674
+
2675
+ class SegmentImportResource
2676
+ attr_accessor channel_counts: ::Hash[::String, ::Integer]
2677
+ attr_accessor external_id: ::String
2678
+ attr_accessor format: ("CSV" | "JSON")
2679
+ attr_accessor role_arn: ::String
2680
+ attr_accessor s3_url: ::String
2681
+ attr_accessor size: ::Integer
2682
+ SENSITIVE: []
2683
+ end
2684
+
2685
+ class SegmentLocation
2686
+ attr_accessor country: Types::SetDimension
2687
+ attr_accessor gps_point: Types::GPSPointDimension
2688
+ SENSITIVE: []
2689
+ end
2690
+
2691
+ class SegmentReference
2692
+ attr_accessor id: ::String
2693
+ attr_accessor version: ::Integer
2694
+ SENSITIVE: []
2695
+ end
2696
+
2697
+ class SegmentResponse
2698
+ attr_accessor application_id: ::String
2699
+ attr_accessor arn: ::String
2700
+ attr_accessor creation_date: ::String
2701
+ attr_accessor dimensions: Types::SegmentDimensions
2702
+ attr_accessor id: ::String
2703
+ attr_accessor import_definition: Types::SegmentImportResource
2704
+ attr_accessor last_modified_date: ::String
2705
+ attr_accessor name: ::String
2706
+ attr_accessor segment_groups: Types::SegmentGroupList
2707
+ attr_accessor segment_type: ("DIMENSIONAL" | "IMPORT")
2708
+ attr_accessor tags: ::Hash[::String, ::String]
2709
+ attr_accessor version: ::Integer
2710
+ SENSITIVE: []
2711
+ end
2712
+
2713
+ class SegmentsResponse
2714
+ attr_accessor item: ::Array[Types::SegmentResponse]
2715
+ attr_accessor next_token: ::String
2716
+ SENSITIVE: []
2717
+ end
2718
+
2719
+ class SendMessagesRequest
2720
+ attr_accessor application_id: ::String
2721
+ attr_accessor message_request: Types::MessageRequest
2722
+ SENSITIVE: []
2723
+ end
2724
+
2725
+ class SendMessagesResponse
2726
+ attr_accessor message_response: Types::MessageResponse
2727
+ SENSITIVE: []
2728
+ end
2729
+
2730
+ class SendOTPMessageRequest
2731
+ attr_accessor application_id: ::String
2732
+ attr_accessor send_otp_message_request_parameters: Types::SendOTPMessageRequestParameters
2733
+ SENSITIVE: []
2734
+ end
2735
+
2736
+ class SendOTPMessageRequestParameters
2737
+ attr_accessor allowed_attempts: ::Integer
2738
+ attr_accessor brand_name: ::String
2739
+ attr_accessor channel: ::String
2740
+ attr_accessor code_length: ::Integer
2741
+ attr_accessor destination_identity: ::String
2742
+ attr_accessor entity_id: ::String
2743
+ attr_accessor language: ::String
2744
+ attr_accessor origination_identity: ::String
2745
+ attr_accessor reference_id: ::String
2746
+ attr_accessor template_id: ::String
2747
+ attr_accessor validity_period: ::Integer
2748
+ SENSITIVE: []
2749
+ end
2750
+
2751
+ class SendOTPMessageResponse
2752
+ attr_accessor message_response: Types::MessageResponse
2753
+ SENSITIVE: []
2754
+ end
2755
+
2756
+ class SendUsersMessageRequest
2757
+ attr_accessor context: ::Hash[::String, ::String]
2758
+ attr_accessor message_configuration: Types::DirectMessageConfiguration
2759
+ attr_accessor template_configuration: Types::TemplateConfiguration
2760
+ attr_accessor trace_id: ::String
2761
+ attr_accessor users: ::Hash[::String, Types::EndpointSendConfiguration]
2762
+ SENSITIVE: []
2763
+ end
2764
+
2765
+ class SendUsersMessageResponse
2766
+ attr_accessor application_id: ::String
2767
+ attr_accessor request_id: ::String
2768
+ attr_accessor result: ::Hash[::String, ::Hash[::String, Types::EndpointMessageResult]]
2769
+ SENSITIVE: []
2770
+ end
2771
+
2772
+ class SendUsersMessagesRequest
2773
+ attr_accessor application_id: ::String
2774
+ attr_accessor send_users_message_request: Types::SendUsersMessageRequest
2775
+ SENSITIVE: []
2776
+ end
2777
+
2778
+ class SendUsersMessagesResponse
2779
+ attr_accessor send_users_message_response: Types::SendUsersMessageResponse
2780
+ SENSITIVE: []
2781
+ end
2782
+
2783
+ class Session
2784
+ attr_accessor duration: ::Integer
2785
+ attr_accessor id: ::String
2786
+ attr_accessor start_timestamp: ::String
2787
+ attr_accessor stop_timestamp: ::String
2788
+ SENSITIVE: []
2789
+ end
2790
+
2791
+ class SetDimension
2792
+ attr_accessor dimension_type: ("INCLUSIVE" | "EXCLUSIVE")
2793
+ attr_accessor values: ::Array[::String]
2794
+ SENSITIVE: []
2795
+ end
2796
+
2797
+ class SimpleCondition
2798
+ attr_accessor event_condition: Types::EventCondition
2799
+ attr_accessor segment_condition: Types::SegmentCondition
2800
+ attr_accessor segment_dimensions: Types::SegmentDimensions
2801
+ SENSITIVE: []
2802
+ end
2803
+
2804
+ class SimpleEmail
2805
+ attr_accessor html_part: Types::SimpleEmailPart
2806
+ attr_accessor subject: Types::SimpleEmailPart
2807
+ attr_accessor text_part: Types::SimpleEmailPart
2808
+ SENSITIVE: []
2809
+ end
2810
+
2811
+ class SimpleEmailPart
2812
+ attr_accessor charset: ::String
2813
+ attr_accessor data: ::String
2814
+ SENSITIVE: []
2815
+ end
2816
+
2817
+ class StartCondition
2818
+ attr_accessor description: ::String
2819
+ attr_accessor event_start_condition: Types::EventStartCondition
2820
+ attr_accessor segment_start_condition: Types::SegmentCondition
2821
+ SENSITIVE: []
2822
+ end
2823
+
2824
+ class TagResourceRequest
2825
+ attr_accessor resource_arn: ::String
2826
+ attr_accessor tags_model: Types::TagsModel
2827
+ SENSITIVE: []
2828
+ end
2829
+
2830
+ class TagsModel
2831
+ attr_accessor tags: ::Hash[::String, ::String]
2832
+ SENSITIVE: []
2833
+ end
2834
+
2835
+ class Template
2836
+ attr_accessor name: ::String
2837
+ attr_accessor version: ::String
2838
+ SENSITIVE: []
2839
+ end
2840
+
2841
+ class TemplateActiveVersionRequest
2842
+ attr_accessor version: ::String
2843
+ SENSITIVE: []
2844
+ end
2845
+
2846
+ class TemplateConfiguration
2847
+ attr_accessor email_template: Types::Template
2848
+ attr_accessor push_template: Types::Template
2849
+ attr_accessor sms_template: Types::Template
2850
+ attr_accessor voice_template: Types::Template
2851
+ attr_accessor in_app_template: Types::Template
2852
+ SENSITIVE: []
2853
+ end
2854
+
2855
+ class TemplateCreateMessageBody
2856
+ attr_accessor arn: ::String
2857
+ attr_accessor message: ::String
2858
+ attr_accessor request_id: ::String
2859
+ SENSITIVE: []
2860
+ end
2861
+
2862
+ class TemplateResponse
2863
+ attr_accessor arn: ::String
2864
+ attr_accessor creation_date: ::String
2865
+ attr_accessor default_substitutions: ::String
2866
+ attr_accessor last_modified_date: ::String
2867
+ attr_accessor tags: ::Hash[::String, ::String]
2868
+ attr_accessor template_description: ::String
2869
+ attr_accessor template_name: ::String
2870
+ attr_accessor template_type: ("EMAIL" | "SMS" | "VOICE" | "PUSH" | "INAPP")
2871
+ attr_accessor version: ::String
2872
+ SENSITIVE: []
2873
+ end
2874
+
2875
+ class TemplateVersionResponse
2876
+ attr_accessor creation_date: ::String
2877
+ attr_accessor default_substitutions: ::String
2878
+ attr_accessor last_modified_date: ::String
2879
+ attr_accessor template_description: ::String
2880
+ attr_accessor template_name: ::String
2881
+ attr_accessor template_type: ::String
2882
+ attr_accessor version: ::String
2883
+ SENSITIVE: []
2884
+ end
2885
+
2886
+ class TemplateVersionsResponse
2887
+ attr_accessor item: ::Array[Types::TemplateVersionResponse]
2888
+ attr_accessor message: ::String
2889
+ attr_accessor next_token: ::String
2890
+ attr_accessor request_id: ::String
2891
+ SENSITIVE: []
2892
+ end
2893
+
2894
+ class TemplatesResponse
2895
+ attr_accessor item: ::Array[Types::TemplateResponse]
2896
+ attr_accessor next_token: ::String
2897
+ SENSITIVE: []
2898
+ end
2899
+
2900
+ class TooManyRequestsException
2901
+ attr_accessor message: ::String
2902
+ attr_accessor request_id: ::String
2903
+ SENSITIVE: []
2904
+ end
2905
+
2906
+ class TreatmentResource
2907
+ attr_accessor custom_delivery_configuration: Types::CustomDeliveryConfiguration
2908
+ attr_accessor id: ::String
2909
+ attr_accessor message_configuration: Types::MessageConfiguration
2910
+ attr_accessor schedule: Types::Schedule
2911
+ attr_accessor size_percent: ::Integer
2912
+ attr_accessor state: Types::CampaignState
2913
+ attr_accessor template_configuration: Types::TemplateConfiguration
2914
+ attr_accessor treatment_description: ::String
2915
+ attr_accessor treatment_name: ::String
2916
+ SENSITIVE: []
2917
+ end
2918
+
2919
+ class UntagResourceRequest
2920
+ attr_accessor resource_arn: ::String
2921
+ attr_accessor tag_keys: ::Array[::String]
2922
+ SENSITIVE: []
2923
+ end
2924
+
2925
+ class UpdateAdmChannelRequest
2926
+ attr_accessor adm_channel_request: Types::ADMChannelRequest
2927
+ attr_accessor application_id: ::String
2928
+ SENSITIVE: []
2929
+ end
2930
+
2931
+ class UpdateAdmChannelResponse
2932
+ attr_accessor adm_channel_response: Types::ADMChannelResponse
2933
+ SENSITIVE: []
2934
+ end
2935
+
2936
+ class UpdateApnsChannelRequest
2937
+ attr_accessor apns_channel_request: Types::APNSChannelRequest
2938
+ attr_accessor application_id: ::String
2939
+ SENSITIVE: []
2940
+ end
2941
+
2942
+ class UpdateApnsChannelResponse
2943
+ attr_accessor apns_channel_response: Types::APNSChannelResponse
2944
+ SENSITIVE: []
2945
+ end
2946
+
2947
+ class UpdateApnsSandboxChannelRequest
2948
+ attr_accessor apns_sandbox_channel_request: Types::APNSSandboxChannelRequest
2949
+ attr_accessor application_id: ::String
2950
+ SENSITIVE: []
2951
+ end
2952
+
2953
+ class UpdateApnsSandboxChannelResponse
2954
+ attr_accessor apns_sandbox_channel_response: Types::APNSSandboxChannelResponse
2955
+ SENSITIVE: []
2956
+ end
2957
+
2958
+ class UpdateApnsVoipChannelRequest
2959
+ attr_accessor apns_voip_channel_request: Types::APNSVoipChannelRequest
2960
+ attr_accessor application_id: ::String
2961
+ SENSITIVE: []
2962
+ end
2963
+
2964
+ class UpdateApnsVoipChannelResponse
2965
+ attr_accessor apns_voip_channel_response: Types::APNSVoipChannelResponse
2966
+ SENSITIVE: []
2967
+ end
2968
+
2969
+ class UpdateApnsVoipSandboxChannelRequest
2970
+ attr_accessor apns_voip_sandbox_channel_request: Types::APNSVoipSandboxChannelRequest
2971
+ attr_accessor application_id: ::String
2972
+ SENSITIVE: []
2973
+ end
2974
+
2975
+ class UpdateApnsVoipSandboxChannelResponse
2976
+ attr_accessor apns_voip_sandbox_channel_response: Types::APNSVoipSandboxChannelResponse
2977
+ SENSITIVE: []
2978
+ end
2979
+
2980
+ class UpdateApplicationSettingsRequest
2981
+ attr_accessor application_id: ::String
2982
+ attr_accessor write_application_settings_request: Types::WriteApplicationSettingsRequest
2983
+ SENSITIVE: []
2984
+ end
2985
+
2986
+ class UpdateApplicationSettingsResponse
2987
+ attr_accessor application_settings_resource: Types::ApplicationSettingsResource
2988
+ SENSITIVE: []
2989
+ end
2990
+
2991
+ class UpdateAttributesRequest
2992
+ attr_accessor blacklist: ::Array[::String]
2993
+ SENSITIVE: []
2994
+ end
2995
+
2996
+ class UpdateBaiduChannelRequest
2997
+ attr_accessor application_id: ::String
2998
+ attr_accessor baidu_channel_request: Types::BaiduChannelRequest
2999
+ SENSITIVE: []
3000
+ end
3001
+
3002
+ class UpdateBaiduChannelResponse
3003
+ attr_accessor baidu_channel_response: Types::BaiduChannelResponse
3004
+ SENSITIVE: []
3005
+ end
3006
+
3007
+ class UpdateCampaignRequest
3008
+ attr_accessor application_id: ::String
3009
+ attr_accessor campaign_id: ::String
3010
+ attr_accessor write_campaign_request: Types::WriteCampaignRequest
3011
+ SENSITIVE: []
3012
+ end
3013
+
3014
+ class UpdateCampaignResponse
3015
+ attr_accessor campaign_response: Types::CampaignResponse
3016
+ SENSITIVE: []
3017
+ end
3018
+
3019
+ class UpdateEmailChannelRequest
3020
+ attr_accessor application_id: ::String
3021
+ attr_accessor email_channel_request: Types::EmailChannelRequest
3022
+ SENSITIVE: []
3023
+ end
3024
+
3025
+ class UpdateEmailChannelResponse
3026
+ attr_accessor email_channel_response: Types::EmailChannelResponse
3027
+ SENSITIVE: []
3028
+ end
3029
+
3030
+ class UpdateEmailTemplateRequest
3031
+ attr_accessor create_new_version: bool
3032
+ attr_accessor email_template_request: Types::EmailTemplateRequest
3033
+ attr_accessor template_name: ::String
3034
+ attr_accessor version: ::String
3035
+ SENSITIVE: []
3036
+ end
3037
+
3038
+ class UpdateEmailTemplateResponse
3039
+ attr_accessor message_body: Types::MessageBody
3040
+ SENSITIVE: []
3041
+ end
3042
+
3043
+ class UpdateEndpointRequest
3044
+ attr_accessor application_id: ::String
3045
+ attr_accessor endpoint_id: ::String
3046
+ attr_accessor endpoint_request: Types::EndpointRequest
3047
+ SENSITIVE: []
3048
+ end
3049
+
3050
+ class UpdateEndpointResponse
3051
+ attr_accessor message_body: Types::MessageBody
3052
+ SENSITIVE: []
3053
+ end
3054
+
3055
+ class UpdateEndpointsBatchRequest
3056
+ attr_accessor application_id: ::String
3057
+ attr_accessor endpoint_batch_request: Types::EndpointBatchRequest
3058
+ SENSITIVE: []
3059
+ end
3060
+
3061
+ class UpdateEndpointsBatchResponse
3062
+ attr_accessor message_body: Types::MessageBody
3063
+ SENSITIVE: []
3064
+ end
3065
+
3066
+ class UpdateGcmChannelRequest
3067
+ attr_accessor application_id: ::String
3068
+ attr_accessor gcm_channel_request: Types::GCMChannelRequest
3069
+ SENSITIVE: []
3070
+ end
3071
+
3072
+ class UpdateGcmChannelResponse
3073
+ attr_accessor gcm_channel_response: Types::GCMChannelResponse
3074
+ SENSITIVE: []
3075
+ end
3076
+
3077
+ class UpdateInAppTemplateRequest
3078
+ attr_accessor create_new_version: bool
3079
+ attr_accessor in_app_template_request: Types::InAppTemplateRequest
3080
+ attr_accessor template_name: ::String
3081
+ attr_accessor version: ::String
3082
+ SENSITIVE: []
3083
+ end
3084
+
3085
+ class UpdateInAppTemplateResponse
3086
+ attr_accessor message_body: Types::MessageBody
3087
+ SENSITIVE: []
3088
+ end
3089
+
3090
+ class UpdateJourneyRequest
3091
+ attr_accessor application_id: ::String
3092
+ attr_accessor journey_id: ::String
3093
+ attr_accessor write_journey_request: Types::WriteJourneyRequest
3094
+ SENSITIVE: []
3095
+ end
3096
+
3097
+ class UpdateJourneyResponse
3098
+ attr_accessor journey_response: Types::JourneyResponse
3099
+ SENSITIVE: []
3100
+ end
3101
+
3102
+ class UpdateJourneyStateRequest
3103
+ attr_accessor application_id: ::String
3104
+ attr_accessor journey_id: ::String
3105
+ attr_accessor journey_state_request: Types::JourneyStateRequest
3106
+ SENSITIVE: []
3107
+ end
3108
+
3109
+ class UpdateJourneyStateResponse
3110
+ attr_accessor journey_response: Types::JourneyResponse
3111
+ SENSITIVE: []
3112
+ end
3113
+
3114
+ class UpdatePushTemplateRequest
3115
+ attr_accessor create_new_version: bool
3116
+ attr_accessor push_notification_template_request: Types::PushNotificationTemplateRequest
3117
+ attr_accessor template_name: ::String
3118
+ attr_accessor version: ::String
3119
+ SENSITIVE: []
3120
+ end
3121
+
3122
+ class UpdatePushTemplateResponse
3123
+ attr_accessor message_body: Types::MessageBody
3124
+ SENSITIVE: []
3125
+ end
3126
+
3127
+ class UpdateRecommenderConfiguration
3128
+ attr_accessor attributes: ::Hash[::String, ::String]
3129
+ attr_accessor description: ::String
3130
+ attr_accessor name: ::String
3131
+ attr_accessor recommendation_provider_id_type: ::String
3132
+ attr_accessor recommendation_provider_role_arn: ::String
3133
+ attr_accessor recommendation_provider_uri: ::String
3134
+ attr_accessor recommendation_transformer_uri: ::String
3135
+ attr_accessor recommendations_display_name: ::String
3136
+ attr_accessor recommendations_per_message: ::Integer
3137
+ SENSITIVE: []
3138
+ end
3139
+
3140
+ class UpdateRecommenderConfigurationRequest
3141
+ attr_accessor recommender_id: ::String
3142
+ attr_accessor update_recommender_configuration: Types::UpdateRecommenderConfiguration
3143
+ SENSITIVE: []
3144
+ end
3145
+
3146
+ class UpdateRecommenderConfigurationResponse
3147
+ attr_accessor recommender_configuration_response: Types::RecommenderConfigurationResponse
3148
+ SENSITIVE: []
3149
+ end
3150
+
3151
+ class UpdateSegmentRequest
3152
+ attr_accessor application_id: ::String
3153
+ attr_accessor segment_id: ::String
3154
+ attr_accessor write_segment_request: Types::WriteSegmentRequest
3155
+ SENSITIVE: []
3156
+ end
3157
+
3158
+ class UpdateSegmentResponse
3159
+ attr_accessor segment_response: Types::SegmentResponse
3160
+ SENSITIVE: []
3161
+ end
3162
+
3163
+ class UpdateSmsChannelRequest
3164
+ attr_accessor application_id: ::String
3165
+ attr_accessor sms_channel_request: Types::SMSChannelRequest
3166
+ SENSITIVE: []
3167
+ end
3168
+
3169
+ class UpdateSmsChannelResponse
3170
+ attr_accessor sms_channel_response: Types::SMSChannelResponse
3171
+ SENSITIVE: []
3172
+ end
3173
+
3174
+ class UpdateSmsTemplateRequest
3175
+ attr_accessor create_new_version: bool
3176
+ attr_accessor sms_template_request: Types::SMSTemplateRequest
3177
+ attr_accessor template_name: ::String
3178
+ attr_accessor version: ::String
3179
+ SENSITIVE: []
3180
+ end
3181
+
3182
+ class UpdateSmsTemplateResponse
3183
+ attr_accessor message_body: Types::MessageBody
3184
+ SENSITIVE: []
3185
+ end
3186
+
3187
+ class UpdateTemplateActiveVersionRequest
3188
+ attr_accessor template_active_version_request: Types::TemplateActiveVersionRequest
3189
+ attr_accessor template_name: ::String
3190
+ attr_accessor template_type: ::String
3191
+ SENSITIVE: []
3192
+ end
3193
+
3194
+ class UpdateTemplateActiveVersionResponse
3195
+ attr_accessor message_body: Types::MessageBody
3196
+ SENSITIVE: []
3197
+ end
3198
+
3199
+ class UpdateVoiceChannelRequest
3200
+ attr_accessor application_id: ::String
3201
+ attr_accessor voice_channel_request: Types::VoiceChannelRequest
3202
+ SENSITIVE: []
3203
+ end
3204
+
3205
+ class UpdateVoiceChannelResponse
3206
+ attr_accessor voice_channel_response: Types::VoiceChannelResponse
3207
+ SENSITIVE: []
3208
+ end
3209
+
3210
+ class UpdateVoiceTemplateRequest
3211
+ attr_accessor create_new_version: bool
3212
+ attr_accessor template_name: ::String
3213
+ attr_accessor version: ::String
3214
+ attr_accessor voice_template_request: Types::VoiceTemplateRequest
3215
+ SENSITIVE: []
3216
+ end
3217
+
3218
+ class UpdateVoiceTemplateResponse
3219
+ attr_accessor message_body: Types::MessageBody
3220
+ SENSITIVE: []
3221
+ end
3222
+
3223
+ class VerificationResponse
3224
+ attr_accessor valid: bool
3225
+ SENSITIVE: []
3226
+ end
3227
+
3228
+ class VerifyOTPMessageRequest
3229
+ attr_accessor application_id: ::String
3230
+ attr_accessor verify_otp_message_request_parameters: Types::VerifyOTPMessageRequestParameters
3231
+ SENSITIVE: []
3232
+ end
3233
+
3234
+ class VerifyOTPMessageRequestParameters
3235
+ attr_accessor destination_identity: ::String
3236
+ attr_accessor otp: ::String
3237
+ attr_accessor reference_id: ::String
3238
+ SENSITIVE: []
3239
+ end
3240
+
3241
+ class VerifyOTPMessageResponse
3242
+ attr_accessor verification_response: Types::VerificationResponse
3243
+ SENSITIVE: []
3244
+ end
3245
+
3246
+ class VoiceChannelRequest
3247
+ attr_accessor enabled: bool
3248
+ SENSITIVE: []
3249
+ end
3250
+
3251
+ class VoiceChannelResponse
3252
+ attr_accessor application_id: ::String
3253
+ attr_accessor creation_date: ::String
3254
+ attr_accessor enabled: bool
3255
+ attr_accessor has_credential: bool
3256
+ attr_accessor id: ::String
3257
+ attr_accessor is_archived: bool
3258
+ attr_accessor last_modified_by: ::String
3259
+ attr_accessor last_modified_date: ::String
3260
+ attr_accessor platform: ::String
3261
+ attr_accessor version: ::Integer
3262
+ SENSITIVE: []
3263
+ end
3264
+
3265
+ class VoiceMessage
3266
+ attr_accessor body: ::String
3267
+ attr_accessor language_code: ::String
3268
+ attr_accessor origination_number: ::String
3269
+ attr_accessor substitutions: ::Hash[::String, ::Array[::String]]
3270
+ attr_accessor voice_id: ::String
3271
+ SENSITIVE: []
3272
+ end
3273
+
3274
+ class VoiceTemplateRequest
3275
+ attr_accessor body: ::String
3276
+ attr_accessor default_substitutions: ::String
3277
+ attr_accessor language_code: ::String
3278
+ attr_accessor tags: ::Hash[::String, ::String]
3279
+ attr_accessor template_description: ::String
3280
+ attr_accessor voice_id: ::String
3281
+ SENSITIVE: []
3282
+ end
3283
+
3284
+ class VoiceTemplateResponse
3285
+ attr_accessor arn: ::String
3286
+ attr_accessor body: ::String
3287
+ attr_accessor creation_date: ::String
3288
+ attr_accessor default_substitutions: ::String
3289
+ attr_accessor language_code: ::String
3290
+ attr_accessor last_modified_date: ::String
3291
+ attr_accessor tags: ::Hash[::String, ::String]
3292
+ attr_accessor template_description: ::String
3293
+ attr_accessor template_name: ::String
3294
+ attr_accessor template_type: ("EMAIL" | "SMS" | "VOICE" | "PUSH" | "INAPP")
3295
+ attr_accessor version: ::String
3296
+ attr_accessor voice_id: ::String
3297
+ SENSITIVE: []
3298
+ end
3299
+
3300
+ class WaitActivity
3301
+ attr_accessor next_activity: ::String
3302
+ attr_accessor wait_time: Types::WaitTime
3303
+ SENSITIVE: []
3304
+ end
3305
+
3306
+ class WaitTime
3307
+ attr_accessor wait_for: ::String
3308
+ attr_accessor wait_until: ::String
3309
+ SENSITIVE: []
3310
+ end
3311
+
3312
+ class WriteApplicationSettingsRequest
3313
+ attr_accessor campaign_hook: Types::CampaignHook
3314
+ attr_accessor cloud_watch_metrics_enabled: bool
3315
+ attr_accessor limits: Types::CampaignLimits
3316
+ attr_accessor quiet_time: Types::QuietTime
3317
+ attr_accessor journey_limits: Types::ApplicationSettingsJourneyLimits
3318
+ SENSITIVE: []
3319
+ end
3320
+
3321
+ class WriteCampaignRequest
3322
+ attr_accessor additional_treatments: ::Array[Types::WriteTreatmentResource]
3323
+ attr_accessor custom_delivery_configuration: Types::CustomDeliveryConfiguration
3324
+ attr_accessor description: ::String
3325
+ attr_accessor holdout_percent: ::Integer
3326
+ attr_accessor hook: Types::CampaignHook
3327
+ attr_accessor is_paused: bool
3328
+ attr_accessor limits: Types::CampaignLimits
3329
+ attr_accessor message_configuration: Types::MessageConfiguration
3330
+ attr_accessor name: ::String
3331
+ attr_accessor schedule: Types::Schedule
3332
+ attr_accessor segment_id: ::String
3333
+ attr_accessor segment_version: ::Integer
3334
+ attr_accessor tags: ::Hash[::String, ::String]
3335
+ attr_accessor template_configuration: Types::TemplateConfiguration
3336
+ attr_accessor treatment_description: ::String
3337
+ attr_accessor treatment_name: ::String
3338
+ attr_accessor priority: ::Integer
3339
+ SENSITIVE: []
3340
+ end
3341
+
3342
+ class WriteEventStream
3343
+ attr_accessor destination_stream_arn: ::String
3344
+ attr_accessor role_arn: ::String
3345
+ SENSITIVE: []
3346
+ end
3347
+
3348
+ class WriteJourneyRequest
3349
+ attr_accessor activities: ::Hash[::String, Types::Activity]
3350
+ attr_accessor creation_date: ::String
3351
+ attr_accessor last_modified_date: ::String
3352
+ attr_accessor limits: Types::JourneyLimits
3353
+ attr_accessor local_time: bool
3354
+ attr_accessor name: ::String
3355
+ attr_accessor quiet_time: Types::QuietTime
3356
+ attr_accessor refresh_frequency: ::String
3357
+ attr_accessor schedule: Types::JourneySchedule
3358
+ attr_accessor start_activity: ::String
3359
+ attr_accessor start_condition: Types::StartCondition
3360
+ attr_accessor state: ("DRAFT" | "ACTIVE" | "COMPLETED" | "CANCELLED" | "CLOSED" | "PAUSED")
3361
+ attr_accessor wait_for_quiet_time: bool
3362
+ attr_accessor refresh_on_segment_update: bool
3363
+ attr_accessor journey_channel_settings: Types::JourneyChannelSettings
3364
+ attr_accessor sending_schedule: bool
3365
+ attr_accessor open_hours: Types::OpenHours
3366
+ attr_accessor closed_days: Types::ClosedDays
3367
+ attr_accessor timezone_estimation_methods: ::Array[("PHONE_NUMBER" | "POSTAL_CODE")]
3368
+ SENSITIVE: []
3369
+ end
3370
+
3371
+ class WriteSegmentRequest
3372
+ attr_accessor dimensions: Types::SegmentDimensions
3373
+ attr_accessor name: ::String
3374
+ attr_accessor segment_groups: Types::SegmentGroupList
3375
+ attr_accessor tags: ::Hash[::String, ::String]
3376
+ SENSITIVE: []
3377
+ end
3378
+
3379
+ class WriteTreatmentResource
3380
+ attr_accessor custom_delivery_configuration: Types::CustomDeliveryConfiguration
3381
+ attr_accessor message_configuration: Types::MessageConfiguration
3382
+ attr_accessor schedule: Types::Schedule
3383
+ attr_accessor size_percent: ::Integer
3384
+ attr_accessor template_configuration: Types::TemplateConfiguration
3385
+ attr_accessor treatment_description: ::String
3386
+ attr_accessor treatment_name: ::String
3387
+ SENSITIVE: []
3388
+ end
3389
+
3390
+ class OpenHoursRule
3391
+ attr_accessor start_time: ::String
3392
+ attr_accessor end_time: ::String
3393
+ SENSITIVE: []
3394
+ end
3395
+
3396
+ class OpenHours
3397
+ attr_accessor email: ::Hash[("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY"), ::Array[Types::OpenHoursRule]]
3398
+ attr_accessor sms: ::Hash[("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY"), ::Array[Types::OpenHoursRule]]
3399
+ attr_accessor push: ::Hash[("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY"), ::Array[Types::OpenHoursRule]]
3400
+ attr_accessor voice: ::Hash[("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY"), ::Array[Types::OpenHoursRule]]
3401
+ attr_accessor custom: ::Hash[("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY"), ::Array[Types::OpenHoursRule]]
3402
+ SENSITIVE: []
3403
+ end
3404
+
3405
+ class ClosedDaysRule
3406
+ attr_accessor name: ::String
3407
+ attr_accessor start_date_time: ::String
3408
+ attr_accessor end_date_time: ::String
3409
+ SENSITIVE: []
3410
+ end
3411
+
3412
+ class ClosedDays
3413
+ attr_accessor email: ::Array[Types::ClosedDaysRule]
3414
+ attr_accessor sms: ::Array[Types::ClosedDaysRule]
3415
+ attr_accessor push: ::Array[Types::ClosedDaysRule]
3416
+ attr_accessor voice: ::Array[Types::ClosedDaysRule]
3417
+ attr_accessor custom: ::Array[Types::ClosedDaysRule]
3418
+ SENSITIVE: []
3419
+ end
3420
+ end
3421
+ end