aws-sdk-pinpoint 1.85.0 → 1.86.0

Sign up to get free protection for your applications and to get access to all the features.
data/sig/types.rbs ADDED
@@ -0,0 +1,3419 @@
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
+ SENSITIVE: []
980
+ end
981
+
982
+ class EmailChannelResponse
983
+ attr_accessor application_id: ::String
984
+ attr_accessor configuration_set: ::String
985
+ attr_accessor creation_date: ::String
986
+ attr_accessor enabled: bool
987
+ attr_accessor from_address: ::String
988
+ attr_accessor has_credential: bool
989
+ attr_accessor id: ::String
990
+ attr_accessor identity: ::String
991
+ attr_accessor is_archived: bool
992
+ attr_accessor last_modified_by: ::String
993
+ attr_accessor last_modified_date: ::String
994
+ attr_accessor messages_per_second: ::Integer
995
+ attr_accessor platform: ::String
996
+ attr_accessor role_arn: ::String
997
+ attr_accessor version: ::Integer
998
+ SENSITIVE: []
999
+ end
1000
+
1001
+ class EmailMessage
1002
+ attr_accessor body: ::String
1003
+ attr_accessor feedback_forwarding_address: ::String
1004
+ attr_accessor from_address: ::String
1005
+ attr_accessor raw_email: Types::RawEmail
1006
+ attr_accessor reply_to_addresses: ::Array[::String]
1007
+ attr_accessor simple_email: Types::SimpleEmail
1008
+ attr_accessor substitutions: ::Hash[::String, ::Array[::String]]
1009
+ SENSITIVE: []
1010
+ end
1011
+
1012
+ class EmailMessageActivity
1013
+ attr_accessor message_config: Types::JourneyEmailMessage
1014
+ attr_accessor next_activity: ::String
1015
+ attr_accessor template_name: ::String
1016
+ attr_accessor template_version: ::String
1017
+ SENSITIVE: []
1018
+ end
1019
+
1020
+ class EmailTemplateRequest
1021
+ attr_accessor default_substitutions: ::String
1022
+ attr_accessor html_part: ::String
1023
+ attr_accessor recommender_id: ::String
1024
+ attr_accessor subject: ::String
1025
+ attr_accessor tags: ::Hash[::String, ::String]
1026
+ attr_accessor template_description: ::String
1027
+ attr_accessor text_part: ::String
1028
+ SENSITIVE: []
1029
+ end
1030
+
1031
+ class EmailTemplateResponse
1032
+ attr_accessor arn: ::String
1033
+ attr_accessor creation_date: ::String
1034
+ attr_accessor default_substitutions: ::String
1035
+ attr_accessor html_part: ::String
1036
+ attr_accessor last_modified_date: ::String
1037
+ attr_accessor recommender_id: ::String
1038
+ attr_accessor subject: ::String
1039
+ attr_accessor tags: ::Hash[::String, ::String]
1040
+ attr_accessor template_description: ::String
1041
+ attr_accessor template_name: ::String
1042
+ attr_accessor template_type: ("EMAIL" | "SMS" | "VOICE" | "PUSH" | "INAPP")
1043
+ attr_accessor text_part: ::String
1044
+ attr_accessor version: ::String
1045
+ SENSITIVE: []
1046
+ end
1047
+
1048
+ class EndpointBatchItem
1049
+ attr_accessor address: ::String
1050
+ attr_accessor attributes: ::Hash[::String, ::Array[::String]]
1051
+ attr_accessor channel_type: ("PUSH" | "GCM" | "APNS" | "APNS_SANDBOX" | "APNS_VOIP" | "APNS_VOIP_SANDBOX" | "ADM" | "SMS" | "VOICE" | "EMAIL" | "BAIDU" | "CUSTOM" | "IN_APP")
1052
+ attr_accessor demographic: Types::EndpointDemographic
1053
+ attr_accessor effective_date: ::String
1054
+ attr_accessor endpoint_status: ::String
1055
+ attr_accessor id: ::String
1056
+ attr_accessor location: Types::EndpointLocation
1057
+ attr_accessor metrics: ::Hash[::String, ::Float]
1058
+ attr_accessor opt_out: ::String
1059
+ attr_accessor request_id: ::String
1060
+ attr_accessor user: Types::EndpointUser
1061
+ SENSITIVE: []
1062
+ end
1063
+
1064
+ class EndpointBatchRequest
1065
+ attr_accessor item: ::Array[Types::EndpointBatchItem]
1066
+ SENSITIVE: []
1067
+ end
1068
+
1069
+ class EndpointDemographic
1070
+ attr_accessor app_version: ::String
1071
+ attr_accessor locale: ::String
1072
+ attr_accessor make: ::String
1073
+ attr_accessor model: ::String
1074
+ attr_accessor model_version: ::String
1075
+ attr_accessor platform: ::String
1076
+ attr_accessor platform_version: ::String
1077
+ attr_accessor timezone: ::String
1078
+ SENSITIVE: []
1079
+ end
1080
+
1081
+ class EndpointItemResponse
1082
+ attr_accessor message: ::String
1083
+ attr_accessor status_code: ::Integer
1084
+ SENSITIVE: []
1085
+ end
1086
+
1087
+ class EndpointLocation
1088
+ attr_accessor city: ::String
1089
+ attr_accessor country: ::String
1090
+ attr_accessor latitude: ::Float
1091
+ attr_accessor longitude: ::Float
1092
+ attr_accessor postal_code: ::String
1093
+ attr_accessor region: ::String
1094
+ SENSITIVE: []
1095
+ end
1096
+
1097
+ class EndpointMessageResult
1098
+ attr_accessor address: ::String
1099
+ attr_accessor delivery_status: ("SUCCESSFUL" | "THROTTLED" | "TEMPORARY_FAILURE" | "PERMANENT_FAILURE" | "UNKNOWN_FAILURE" | "OPT_OUT" | "DUPLICATE")
1100
+ attr_accessor message_id: ::String
1101
+ attr_accessor status_code: ::Integer
1102
+ attr_accessor status_message: ::String
1103
+ attr_accessor updated_token: ::String
1104
+ SENSITIVE: []
1105
+ end
1106
+
1107
+ class EndpointRequest
1108
+ attr_accessor address: ::String
1109
+ attr_accessor attributes: ::Hash[::String, ::Array[::String]]
1110
+ attr_accessor channel_type: ("PUSH" | "GCM" | "APNS" | "APNS_SANDBOX" | "APNS_VOIP" | "APNS_VOIP_SANDBOX" | "ADM" | "SMS" | "VOICE" | "EMAIL" | "BAIDU" | "CUSTOM" | "IN_APP")
1111
+ attr_accessor demographic: Types::EndpointDemographic
1112
+ attr_accessor effective_date: ::String
1113
+ attr_accessor endpoint_status: ::String
1114
+ attr_accessor location: Types::EndpointLocation
1115
+ attr_accessor metrics: ::Hash[::String, ::Float]
1116
+ attr_accessor opt_out: ::String
1117
+ attr_accessor request_id: ::String
1118
+ attr_accessor user: Types::EndpointUser
1119
+ SENSITIVE: []
1120
+ end
1121
+
1122
+ class EndpointResponse
1123
+ attr_accessor address: ::String
1124
+ attr_accessor application_id: ::String
1125
+ attr_accessor attributes: ::Hash[::String, ::Array[::String]]
1126
+ attr_accessor channel_type: ("PUSH" | "GCM" | "APNS" | "APNS_SANDBOX" | "APNS_VOIP" | "APNS_VOIP_SANDBOX" | "ADM" | "SMS" | "VOICE" | "EMAIL" | "BAIDU" | "CUSTOM" | "IN_APP")
1127
+ attr_accessor cohort_id: ::String
1128
+ attr_accessor creation_date: ::String
1129
+ attr_accessor demographic: Types::EndpointDemographic
1130
+ attr_accessor effective_date: ::String
1131
+ attr_accessor endpoint_status: ::String
1132
+ attr_accessor id: ::String
1133
+ attr_accessor location: Types::EndpointLocation
1134
+ attr_accessor metrics: ::Hash[::String, ::Float]
1135
+ attr_accessor opt_out: ::String
1136
+ attr_accessor request_id: ::String
1137
+ attr_accessor user: Types::EndpointUser
1138
+ SENSITIVE: []
1139
+ end
1140
+
1141
+ class EndpointSendConfiguration
1142
+ attr_accessor body_override: ::String
1143
+ attr_accessor context: ::Hash[::String, ::String]
1144
+ attr_accessor raw_content: ::String
1145
+ attr_accessor substitutions: ::Hash[::String, ::Array[::String]]
1146
+ attr_accessor title_override: ::String
1147
+ SENSITIVE: []
1148
+ end
1149
+
1150
+ class EndpointUser
1151
+ attr_accessor user_attributes: ::Hash[::String, ::Array[::String]]
1152
+ attr_accessor user_id: ::String
1153
+ SENSITIVE: []
1154
+ end
1155
+
1156
+ class EndpointsResponse
1157
+ attr_accessor item: ::Array[Types::EndpointResponse]
1158
+ SENSITIVE: []
1159
+ end
1160
+
1161
+ class Event
1162
+ attr_accessor app_package_name: ::String
1163
+ attr_accessor app_title: ::String
1164
+ attr_accessor app_version_code: ::String
1165
+ attr_accessor attributes: ::Hash[::String, ::String]
1166
+ attr_accessor client_sdk_version: ::String
1167
+ attr_accessor event_type: ::String
1168
+ attr_accessor metrics: ::Hash[::String, ::Float]
1169
+ attr_accessor sdk_name: ::String
1170
+ attr_accessor session: Types::Session
1171
+ attr_accessor timestamp: ::String
1172
+ SENSITIVE: []
1173
+ end
1174
+
1175
+ class EventCondition
1176
+ attr_accessor dimensions: Types::EventDimensions
1177
+ attr_accessor message_activity: ::String
1178
+ SENSITIVE: []
1179
+ end
1180
+
1181
+ class EventDimensions
1182
+ attr_accessor attributes: ::Hash[::String, Types::AttributeDimension]
1183
+ attr_accessor event_type: Types::SetDimension
1184
+ attr_accessor metrics: ::Hash[::String, Types::MetricDimension]
1185
+ SENSITIVE: []
1186
+ end
1187
+
1188
+ class EventFilter
1189
+ attr_accessor dimensions: Types::EventDimensions
1190
+ attr_accessor filter_type: ("SYSTEM" | "ENDPOINT")
1191
+ SENSITIVE: []
1192
+ end
1193
+
1194
+ class EventItemResponse
1195
+ attr_accessor message: ::String
1196
+ attr_accessor status_code: ::Integer
1197
+ SENSITIVE: []
1198
+ end
1199
+
1200
+ class EventStartCondition
1201
+ attr_accessor event_filter: Types::EventFilter
1202
+ attr_accessor segment_id: ::String
1203
+ SENSITIVE: []
1204
+ end
1205
+
1206
+ class EventStream
1207
+ attr_accessor application_id: ::String
1208
+ attr_accessor destination_stream_arn: ::String
1209
+ attr_accessor external_id: ::String
1210
+ attr_accessor last_modified_date: ::String
1211
+ attr_accessor last_updated_by: ::String
1212
+ attr_accessor role_arn: ::String
1213
+ SENSITIVE: []
1214
+ end
1215
+
1216
+ class EventsBatch
1217
+ attr_accessor endpoint: Types::PublicEndpoint
1218
+ attr_accessor events: ::Hash[::String, Types::Event]
1219
+ SENSITIVE: []
1220
+ end
1221
+
1222
+ class EventsRequest
1223
+ attr_accessor batch_item: ::Hash[::String, Types::EventsBatch]
1224
+ SENSITIVE: []
1225
+ end
1226
+
1227
+ class EventsResponse
1228
+ attr_accessor results: ::Hash[::String, Types::ItemResponse]
1229
+ SENSITIVE: []
1230
+ end
1231
+
1232
+ class ExportJobRequest
1233
+ attr_accessor role_arn: ::String
1234
+ attr_accessor s3_url_prefix: ::String
1235
+ attr_accessor segment_id: ::String
1236
+ attr_accessor segment_version: ::Integer
1237
+ SENSITIVE: []
1238
+ end
1239
+
1240
+ class ExportJobResource
1241
+ attr_accessor role_arn: ::String
1242
+ attr_accessor s3_url_prefix: ::String
1243
+ attr_accessor segment_id: ::String
1244
+ attr_accessor segment_version: ::Integer
1245
+ SENSITIVE: []
1246
+ end
1247
+
1248
+ class ExportJobResponse
1249
+ attr_accessor application_id: ::String
1250
+ attr_accessor completed_pieces: ::Integer
1251
+ attr_accessor completion_date: ::String
1252
+ attr_accessor creation_date: ::String
1253
+ attr_accessor definition: Types::ExportJobResource
1254
+ attr_accessor failed_pieces: ::Integer
1255
+ attr_accessor failures: ::Array[::String]
1256
+ attr_accessor id: ::String
1257
+ attr_accessor job_status: ("CREATED" | "PREPARING_FOR_INITIALIZATION" | "INITIALIZING" | "PROCESSING" | "PENDING_JOB" | "COMPLETING" | "COMPLETED" | "FAILING" | "FAILED")
1258
+ attr_accessor total_failures: ::Integer
1259
+ attr_accessor total_pieces: ::Integer
1260
+ attr_accessor total_processed: ::Integer
1261
+ attr_accessor type: ::String
1262
+ SENSITIVE: []
1263
+ end
1264
+
1265
+ class ExportJobsResponse
1266
+ attr_accessor item: ::Array[Types::ExportJobResponse]
1267
+ attr_accessor next_token: ::String
1268
+ SENSITIVE: []
1269
+ end
1270
+
1271
+ class ForbiddenException
1272
+ attr_accessor message: ::String
1273
+ attr_accessor request_id: ::String
1274
+ SENSITIVE: []
1275
+ end
1276
+
1277
+ class GCMChannelRequest
1278
+ attr_accessor api_key: ::String
1279
+ attr_accessor default_authentication_method: ::String
1280
+ attr_accessor enabled: bool
1281
+ attr_accessor service_json: ::String
1282
+ SENSITIVE: []
1283
+ end
1284
+
1285
+ class GCMChannelResponse
1286
+ attr_accessor application_id: ::String
1287
+ attr_accessor creation_date: ::String
1288
+ attr_accessor credential: ::String
1289
+ attr_accessor default_authentication_method: ::String
1290
+ attr_accessor enabled: bool
1291
+ attr_accessor has_credential: bool
1292
+ attr_accessor has_fcm_service_credentials: bool
1293
+ attr_accessor id: ::String
1294
+ attr_accessor is_archived: bool
1295
+ attr_accessor last_modified_by: ::String
1296
+ attr_accessor last_modified_date: ::String
1297
+ attr_accessor platform: ::String
1298
+ attr_accessor version: ::Integer
1299
+ SENSITIVE: []
1300
+ end
1301
+
1302
+ class GCMMessage
1303
+ attr_accessor action: ("OPEN_APP" | "DEEP_LINK" | "URL")
1304
+ attr_accessor body: ::String
1305
+ attr_accessor collapse_key: ::String
1306
+ attr_accessor data: ::Hash[::String, ::String]
1307
+ attr_accessor icon_reference: ::String
1308
+ attr_accessor image_icon_url: ::String
1309
+ attr_accessor image_url: ::String
1310
+ attr_accessor preferred_authentication_method: ::String
1311
+ attr_accessor priority: ::String
1312
+ attr_accessor raw_content: ::String
1313
+ attr_accessor restricted_package_name: ::String
1314
+ attr_accessor silent_push: bool
1315
+ attr_accessor small_image_icon_url: ::String
1316
+ attr_accessor sound: ::String
1317
+ attr_accessor substitutions: ::Hash[::String, ::Array[::String]]
1318
+ attr_accessor time_to_live: ::Integer
1319
+ attr_accessor title: ::String
1320
+ attr_accessor url: ::String
1321
+ SENSITIVE: []
1322
+ end
1323
+
1324
+ class GPSCoordinates
1325
+ attr_accessor latitude: ::Float
1326
+ attr_accessor longitude: ::Float
1327
+ SENSITIVE: []
1328
+ end
1329
+
1330
+ class GPSPointDimension
1331
+ attr_accessor coordinates: Types::GPSCoordinates
1332
+ attr_accessor range_in_kilometers: ::Float
1333
+ SENSITIVE: []
1334
+ end
1335
+
1336
+ class GetAdmChannelRequest
1337
+ attr_accessor application_id: ::String
1338
+ SENSITIVE: []
1339
+ end
1340
+
1341
+ class GetAdmChannelResponse
1342
+ attr_accessor adm_channel_response: Types::ADMChannelResponse
1343
+ SENSITIVE: []
1344
+ end
1345
+
1346
+ class GetApnsChannelRequest
1347
+ attr_accessor application_id: ::String
1348
+ SENSITIVE: []
1349
+ end
1350
+
1351
+ class GetApnsChannelResponse
1352
+ attr_accessor apns_channel_response: Types::APNSChannelResponse
1353
+ SENSITIVE: []
1354
+ end
1355
+
1356
+ class GetApnsSandboxChannelRequest
1357
+ attr_accessor application_id: ::String
1358
+ SENSITIVE: []
1359
+ end
1360
+
1361
+ class GetApnsSandboxChannelResponse
1362
+ attr_accessor apns_sandbox_channel_response: Types::APNSSandboxChannelResponse
1363
+ SENSITIVE: []
1364
+ end
1365
+
1366
+ class GetApnsVoipChannelRequest
1367
+ attr_accessor application_id: ::String
1368
+ SENSITIVE: []
1369
+ end
1370
+
1371
+ class GetApnsVoipChannelResponse
1372
+ attr_accessor apns_voip_channel_response: Types::APNSVoipChannelResponse
1373
+ SENSITIVE: []
1374
+ end
1375
+
1376
+ class GetApnsVoipSandboxChannelRequest
1377
+ attr_accessor application_id: ::String
1378
+ SENSITIVE: []
1379
+ end
1380
+
1381
+ class GetApnsVoipSandboxChannelResponse
1382
+ attr_accessor apns_voip_sandbox_channel_response: Types::APNSVoipSandboxChannelResponse
1383
+ SENSITIVE: []
1384
+ end
1385
+
1386
+ class GetAppRequest
1387
+ attr_accessor application_id: ::String
1388
+ SENSITIVE: []
1389
+ end
1390
+
1391
+ class GetAppResponse
1392
+ attr_accessor application_response: Types::ApplicationResponse
1393
+ SENSITIVE: []
1394
+ end
1395
+
1396
+ class GetApplicationDateRangeKpiRequest
1397
+ attr_accessor application_id: ::String
1398
+ attr_accessor end_time: ::Time
1399
+ attr_accessor kpi_name: ::String
1400
+ attr_accessor next_token: ::String
1401
+ attr_accessor page_size: ::String
1402
+ attr_accessor start_time: ::Time
1403
+ SENSITIVE: []
1404
+ end
1405
+
1406
+ class GetApplicationDateRangeKpiResponse
1407
+ attr_accessor application_date_range_kpi_response: Types::ApplicationDateRangeKpiResponse
1408
+ SENSITIVE: []
1409
+ end
1410
+
1411
+ class GetApplicationSettingsRequest
1412
+ attr_accessor application_id: ::String
1413
+ SENSITIVE: []
1414
+ end
1415
+
1416
+ class GetApplicationSettingsResponse
1417
+ attr_accessor application_settings_resource: Types::ApplicationSettingsResource
1418
+ SENSITIVE: []
1419
+ end
1420
+
1421
+ class GetAppsRequest
1422
+ attr_accessor page_size: ::String
1423
+ attr_accessor token: ::String
1424
+ SENSITIVE: []
1425
+ end
1426
+
1427
+ class GetAppsResponse
1428
+ attr_accessor applications_response: Types::ApplicationsResponse
1429
+ SENSITIVE: []
1430
+ end
1431
+
1432
+ class GetBaiduChannelRequest
1433
+ attr_accessor application_id: ::String
1434
+ SENSITIVE: []
1435
+ end
1436
+
1437
+ class GetBaiduChannelResponse
1438
+ attr_accessor baidu_channel_response: Types::BaiduChannelResponse
1439
+ SENSITIVE: []
1440
+ end
1441
+
1442
+ class GetCampaignActivitiesRequest
1443
+ attr_accessor application_id: ::String
1444
+ attr_accessor campaign_id: ::String
1445
+ attr_accessor page_size: ::String
1446
+ attr_accessor token: ::String
1447
+ SENSITIVE: []
1448
+ end
1449
+
1450
+ class GetCampaignActivitiesResponse
1451
+ attr_accessor activities_response: Types::ActivitiesResponse
1452
+ SENSITIVE: []
1453
+ end
1454
+
1455
+ class GetCampaignDateRangeKpiRequest
1456
+ attr_accessor application_id: ::String
1457
+ attr_accessor campaign_id: ::String
1458
+ attr_accessor end_time: ::Time
1459
+ attr_accessor kpi_name: ::String
1460
+ attr_accessor next_token: ::String
1461
+ attr_accessor page_size: ::String
1462
+ attr_accessor start_time: ::Time
1463
+ SENSITIVE: []
1464
+ end
1465
+
1466
+ class GetCampaignDateRangeKpiResponse
1467
+ attr_accessor campaign_date_range_kpi_response: Types::CampaignDateRangeKpiResponse
1468
+ SENSITIVE: []
1469
+ end
1470
+
1471
+ class GetCampaignRequest
1472
+ attr_accessor application_id: ::String
1473
+ attr_accessor campaign_id: ::String
1474
+ SENSITIVE: []
1475
+ end
1476
+
1477
+ class GetCampaignResponse
1478
+ attr_accessor campaign_response: Types::CampaignResponse
1479
+ SENSITIVE: []
1480
+ end
1481
+
1482
+ class GetCampaignVersionRequest
1483
+ attr_accessor application_id: ::String
1484
+ attr_accessor campaign_id: ::String
1485
+ attr_accessor version: ::String
1486
+ SENSITIVE: []
1487
+ end
1488
+
1489
+ class GetCampaignVersionResponse
1490
+ attr_accessor campaign_response: Types::CampaignResponse
1491
+ SENSITIVE: []
1492
+ end
1493
+
1494
+ class GetCampaignVersionsRequest
1495
+ attr_accessor application_id: ::String
1496
+ attr_accessor campaign_id: ::String
1497
+ attr_accessor page_size: ::String
1498
+ attr_accessor token: ::String
1499
+ SENSITIVE: []
1500
+ end
1501
+
1502
+ class GetCampaignVersionsResponse
1503
+ attr_accessor campaigns_response: Types::CampaignsResponse
1504
+ SENSITIVE: []
1505
+ end
1506
+
1507
+ class GetCampaignsRequest
1508
+ attr_accessor application_id: ::String
1509
+ attr_accessor page_size: ::String
1510
+ attr_accessor token: ::String
1511
+ SENSITIVE: []
1512
+ end
1513
+
1514
+ class GetCampaignsResponse
1515
+ attr_accessor campaigns_response: Types::CampaignsResponse
1516
+ SENSITIVE: []
1517
+ end
1518
+
1519
+ class GetChannelsRequest
1520
+ attr_accessor application_id: ::String
1521
+ SENSITIVE: []
1522
+ end
1523
+
1524
+ class GetChannelsResponse
1525
+ attr_accessor channels_response: Types::ChannelsResponse
1526
+ SENSITIVE: []
1527
+ end
1528
+
1529
+ class GetEmailChannelRequest
1530
+ attr_accessor application_id: ::String
1531
+ SENSITIVE: []
1532
+ end
1533
+
1534
+ class GetEmailChannelResponse
1535
+ attr_accessor email_channel_response: Types::EmailChannelResponse
1536
+ SENSITIVE: []
1537
+ end
1538
+
1539
+ class GetEmailTemplateRequest
1540
+ attr_accessor template_name: ::String
1541
+ attr_accessor version: ::String
1542
+ SENSITIVE: []
1543
+ end
1544
+
1545
+ class GetEmailTemplateResponse
1546
+ attr_accessor email_template_response: Types::EmailTemplateResponse
1547
+ SENSITIVE: []
1548
+ end
1549
+
1550
+ class GetEndpointRequest
1551
+ attr_accessor application_id: ::String
1552
+ attr_accessor endpoint_id: ::String
1553
+ SENSITIVE: []
1554
+ end
1555
+
1556
+ class GetEndpointResponse
1557
+ attr_accessor endpoint_response: Types::EndpointResponse
1558
+ SENSITIVE: []
1559
+ end
1560
+
1561
+ class GetEventStreamRequest
1562
+ attr_accessor application_id: ::String
1563
+ SENSITIVE: []
1564
+ end
1565
+
1566
+ class GetEventStreamResponse
1567
+ attr_accessor event_stream: Types::EventStream
1568
+ SENSITIVE: []
1569
+ end
1570
+
1571
+ class GetExportJobRequest
1572
+ attr_accessor application_id: ::String
1573
+ attr_accessor job_id: ::String
1574
+ SENSITIVE: []
1575
+ end
1576
+
1577
+ class GetExportJobResponse
1578
+ attr_accessor export_job_response: Types::ExportJobResponse
1579
+ SENSITIVE: []
1580
+ end
1581
+
1582
+ class GetExportJobsRequest
1583
+ attr_accessor application_id: ::String
1584
+ attr_accessor page_size: ::String
1585
+ attr_accessor token: ::String
1586
+ SENSITIVE: []
1587
+ end
1588
+
1589
+ class GetExportJobsResponse
1590
+ attr_accessor export_jobs_response: Types::ExportJobsResponse
1591
+ SENSITIVE: []
1592
+ end
1593
+
1594
+ class GetGcmChannelRequest
1595
+ attr_accessor application_id: ::String
1596
+ SENSITIVE: []
1597
+ end
1598
+
1599
+ class GetGcmChannelResponse
1600
+ attr_accessor gcm_channel_response: Types::GCMChannelResponse
1601
+ SENSITIVE: []
1602
+ end
1603
+
1604
+ class GetImportJobRequest
1605
+ attr_accessor application_id: ::String
1606
+ attr_accessor job_id: ::String
1607
+ SENSITIVE: []
1608
+ end
1609
+
1610
+ class GetImportJobResponse
1611
+ attr_accessor import_job_response: Types::ImportJobResponse
1612
+ SENSITIVE: []
1613
+ end
1614
+
1615
+ class GetImportJobsRequest
1616
+ attr_accessor application_id: ::String
1617
+ attr_accessor page_size: ::String
1618
+ attr_accessor token: ::String
1619
+ SENSITIVE: []
1620
+ end
1621
+
1622
+ class GetImportJobsResponse
1623
+ attr_accessor import_jobs_response: Types::ImportJobsResponse
1624
+ SENSITIVE: []
1625
+ end
1626
+
1627
+ class GetInAppMessagesRequest
1628
+ attr_accessor application_id: ::String
1629
+ attr_accessor endpoint_id: ::String
1630
+ SENSITIVE: []
1631
+ end
1632
+
1633
+ class GetInAppMessagesResponse
1634
+ attr_accessor in_app_messages_response: Types::InAppMessagesResponse
1635
+ SENSITIVE: []
1636
+ end
1637
+
1638
+ class GetInAppTemplateRequest
1639
+ attr_accessor template_name: ::String
1640
+ attr_accessor version: ::String
1641
+ SENSITIVE: []
1642
+ end
1643
+
1644
+ class GetInAppTemplateResponse
1645
+ attr_accessor in_app_template_response: Types::InAppTemplateResponse
1646
+ SENSITIVE: []
1647
+ end
1648
+
1649
+ class GetJourneyDateRangeKpiRequest
1650
+ attr_accessor application_id: ::String
1651
+ attr_accessor end_time: ::Time
1652
+ attr_accessor journey_id: ::String
1653
+ attr_accessor kpi_name: ::String
1654
+ attr_accessor next_token: ::String
1655
+ attr_accessor page_size: ::String
1656
+ attr_accessor start_time: ::Time
1657
+ SENSITIVE: []
1658
+ end
1659
+
1660
+ class GetJourneyDateRangeKpiResponse
1661
+ attr_accessor journey_date_range_kpi_response: Types::JourneyDateRangeKpiResponse
1662
+ SENSITIVE: []
1663
+ end
1664
+
1665
+ class GetJourneyExecutionActivityMetricsRequest
1666
+ attr_accessor application_id: ::String
1667
+ attr_accessor journey_activity_id: ::String
1668
+ attr_accessor journey_id: ::String
1669
+ attr_accessor next_token: ::String
1670
+ attr_accessor page_size: ::String
1671
+ SENSITIVE: []
1672
+ end
1673
+
1674
+ class GetJourneyExecutionActivityMetricsResponse
1675
+ attr_accessor journey_execution_activity_metrics_response: Types::JourneyExecutionActivityMetricsResponse
1676
+ SENSITIVE: []
1677
+ end
1678
+
1679
+ class GetJourneyExecutionMetricsRequest
1680
+ attr_accessor application_id: ::String
1681
+ attr_accessor journey_id: ::String
1682
+ attr_accessor next_token: ::String
1683
+ attr_accessor page_size: ::String
1684
+ SENSITIVE: []
1685
+ end
1686
+
1687
+ class GetJourneyExecutionMetricsResponse
1688
+ attr_accessor journey_execution_metrics_response: Types::JourneyExecutionMetricsResponse
1689
+ SENSITIVE: []
1690
+ end
1691
+
1692
+ class GetJourneyRequest
1693
+ attr_accessor application_id: ::String
1694
+ attr_accessor journey_id: ::String
1695
+ SENSITIVE: []
1696
+ end
1697
+
1698
+ class GetJourneyResponse
1699
+ attr_accessor journey_response: Types::JourneyResponse
1700
+ SENSITIVE: []
1701
+ end
1702
+
1703
+ class GetJourneyRunExecutionActivityMetricsRequest
1704
+ attr_accessor application_id: ::String
1705
+ attr_accessor journey_activity_id: ::String
1706
+ attr_accessor journey_id: ::String
1707
+ attr_accessor next_token: ::String
1708
+ attr_accessor page_size: ::String
1709
+ attr_accessor run_id: ::String
1710
+ SENSITIVE: []
1711
+ end
1712
+
1713
+ class GetJourneyRunExecutionActivityMetricsResponse
1714
+ attr_accessor journey_run_execution_activity_metrics_response: Types::JourneyRunExecutionActivityMetricsResponse
1715
+ SENSITIVE: []
1716
+ end
1717
+
1718
+ class GetJourneyRunExecutionMetricsRequest
1719
+ attr_accessor application_id: ::String
1720
+ attr_accessor journey_id: ::String
1721
+ attr_accessor next_token: ::String
1722
+ attr_accessor page_size: ::String
1723
+ attr_accessor run_id: ::String
1724
+ SENSITIVE: []
1725
+ end
1726
+
1727
+ class GetJourneyRunExecutionMetricsResponse
1728
+ attr_accessor journey_run_execution_metrics_response: Types::JourneyRunExecutionMetricsResponse
1729
+ SENSITIVE: []
1730
+ end
1731
+
1732
+ class GetJourneyRunsRequest
1733
+ attr_accessor application_id: ::String
1734
+ attr_accessor journey_id: ::String
1735
+ attr_accessor page_size: ::String
1736
+ attr_accessor token: ::String
1737
+ SENSITIVE: []
1738
+ end
1739
+
1740
+ class GetJourneyRunsResponse
1741
+ attr_accessor journey_runs_response: Types::JourneyRunsResponse
1742
+ SENSITIVE: []
1743
+ end
1744
+
1745
+ class GetPushTemplateRequest
1746
+ attr_accessor template_name: ::String
1747
+ attr_accessor version: ::String
1748
+ SENSITIVE: []
1749
+ end
1750
+
1751
+ class GetPushTemplateResponse
1752
+ attr_accessor push_notification_template_response: Types::PushNotificationTemplateResponse
1753
+ SENSITIVE: []
1754
+ end
1755
+
1756
+ class GetRecommenderConfigurationRequest
1757
+ attr_accessor recommender_id: ::String
1758
+ SENSITIVE: []
1759
+ end
1760
+
1761
+ class GetRecommenderConfigurationResponse
1762
+ attr_accessor recommender_configuration_response: Types::RecommenderConfigurationResponse
1763
+ SENSITIVE: []
1764
+ end
1765
+
1766
+ class GetRecommenderConfigurationsRequest
1767
+ attr_accessor page_size: ::String
1768
+ attr_accessor token: ::String
1769
+ SENSITIVE: []
1770
+ end
1771
+
1772
+ class GetRecommenderConfigurationsResponse
1773
+ attr_accessor list_recommender_configurations_response: Types::ListRecommenderConfigurationsResponse
1774
+ SENSITIVE: []
1775
+ end
1776
+
1777
+ class GetSegmentExportJobsRequest
1778
+ attr_accessor application_id: ::String
1779
+ attr_accessor page_size: ::String
1780
+ attr_accessor segment_id: ::String
1781
+ attr_accessor token: ::String
1782
+ SENSITIVE: []
1783
+ end
1784
+
1785
+ class GetSegmentExportJobsResponse
1786
+ attr_accessor export_jobs_response: Types::ExportJobsResponse
1787
+ SENSITIVE: []
1788
+ end
1789
+
1790
+ class GetSegmentImportJobsRequest
1791
+ attr_accessor application_id: ::String
1792
+ attr_accessor page_size: ::String
1793
+ attr_accessor segment_id: ::String
1794
+ attr_accessor token: ::String
1795
+ SENSITIVE: []
1796
+ end
1797
+
1798
+ class GetSegmentImportJobsResponse
1799
+ attr_accessor import_jobs_response: Types::ImportJobsResponse
1800
+ SENSITIVE: []
1801
+ end
1802
+
1803
+ class GetSegmentRequest
1804
+ attr_accessor application_id: ::String
1805
+ attr_accessor segment_id: ::String
1806
+ SENSITIVE: []
1807
+ end
1808
+
1809
+ class GetSegmentResponse
1810
+ attr_accessor segment_response: Types::SegmentResponse
1811
+ SENSITIVE: []
1812
+ end
1813
+
1814
+ class GetSegmentVersionRequest
1815
+ attr_accessor application_id: ::String
1816
+ attr_accessor segment_id: ::String
1817
+ attr_accessor version: ::String
1818
+ SENSITIVE: []
1819
+ end
1820
+
1821
+ class GetSegmentVersionResponse
1822
+ attr_accessor segment_response: Types::SegmentResponse
1823
+ SENSITIVE: []
1824
+ end
1825
+
1826
+ class GetSegmentVersionsRequest
1827
+ attr_accessor application_id: ::String
1828
+ attr_accessor page_size: ::String
1829
+ attr_accessor segment_id: ::String
1830
+ attr_accessor token: ::String
1831
+ SENSITIVE: []
1832
+ end
1833
+
1834
+ class GetSegmentVersionsResponse
1835
+ attr_accessor segments_response: Types::SegmentsResponse
1836
+ SENSITIVE: []
1837
+ end
1838
+
1839
+ class GetSegmentsRequest
1840
+ attr_accessor application_id: ::String
1841
+ attr_accessor page_size: ::String
1842
+ attr_accessor token: ::String
1843
+ SENSITIVE: []
1844
+ end
1845
+
1846
+ class GetSegmentsResponse
1847
+ attr_accessor segments_response: Types::SegmentsResponse
1848
+ SENSITIVE: []
1849
+ end
1850
+
1851
+ class GetSmsChannelRequest
1852
+ attr_accessor application_id: ::String
1853
+ SENSITIVE: []
1854
+ end
1855
+
1856
+ class GetSmsChannelResponse
1857
+ attr_accessor sms_channel_response: Types::SMSChannelResponse
1858
+ SENSITIVE: []
1859
+ end
1860
+
1861
+ class GetSmsTemplateRequest
1862
+ attr_accessor template_name: ::String
1863
+ attr_accessor version: ::String
1864
+ SENSITIVE: []
1865
+ end
1866
+
1867
+ class GetSmsTemplateResponse
1868
+ attr_accessor sms_template_response: Types::SMSTemplateResponse
1869
+ SENSITIVE: []
1870
+ end
1871
+
1872
+ class GetUserEndpointsRequest
1873
+ attr_accessor application_id: ::String
1874
+ attr_accessor user_id: ::String
1875
+ SENSITIVE: []
1876
+ end
1877
+
1878
+ class GetUserEndpointsResponse
1879
+ attr_accessor endpoints_response: Types::EndpointsResponse
1880
+ SENSITIVE: []
1881
+ end
1882
+
1883
+ class GetVoiceChannelRequest
1884
+ attr_accessor application_id: ::String
1885
+ SENSITIVE: []
1886
+ end
1887
+
1888
+ class GetVoiceChannelResponse
1889
+ attr_accessor voice_channel_response: Types::VoiceChannelResponse
1890
+ SENSITIVE: []
1891
+ end
1892
+
1893
+ class GetVoiceTemplateRequest
1894
+ attr_accessor template_name: ::String
1895
+ attr_accessor version: ::String
1896
+ SENSITIVE: []
1897
+ end
1898
+
1899
+ class GetVoiceTemplateResponse
1900
+ attr_accessor voice_template_response: Types::VoiceTemplateResponse
1901
+ SENSITIVE: []
1902
+ end
1903
+
1904
+ class HoldoutActivity
1905
+ attr_accessor next_activity: ::String
1906
+ attr_accessor percentage: ::Integer
1907
+ SENSITIVE: []
1908
+ end
1909
+
1910
+ class ImportJobRequest
1911
+ attr_accessor define_segment: bool
1912
+ attr_accessor external_id: ::String
1913
+ attr_accessor format: ("CSV" | "JSON")
1914
+ attr_accessor register_endpoints: bool
1915
+ attr_accessor role_arn: ::String
1916
+ attr_accessor s3_url: ::String
1917
+ attr_accessor segment_id: ::String
1918
+ attr_accessor segment_name: ::String
1919
+ SENSITIVE: []
1920
+ end
1921
+
1922
+ class ImportJobResource
1923
+ attr_accessor define_segment: bool
1924
+ attr_accessor external_id: ::String
1925
+ attr_accessor format: ("CSV" | "JSON")
1926
+ attr_accessor register_endpoints: bool
1927
+ attr_accessor role_arn: ::String
1928
+ attr_accessor s3_url: ::String
1929
+ attr_accessor segment_id: ::String
1930
+ attr_accessor segment_name: ::String
1931
+ SENSITIVE: []
1932
+ end
1933
+
1934
+ class ImportJobResponse
1935
+ attr_accessor application_id: ::String
1936
+ attr_accessor completed_pieces: ::Integer
1937
+ attr_accessor completion_date: ::String
1938
+ attr_accessor creation_date: ::String
1939
+ attr_accessor definition: Types::ImportJobResource
1940
+ attr_accessor failed_pieces: ::Integer
1941
+ attr_accessor failures: ::Array[::String]
1942
+ attr_accessor id: ::String
1943
+ attr_accessor job_status: ("CREATED" | "PREPARING_FOR_INITIALIZATION" | "INITIALIZING" | "PROCESSING" | "PENDING_JOB" | "COMPLETING" | "COMPLETED" | "FAILING" | "FAILED")
1944
+ attr_accessor total_failures: ::Integer
1945
+ attr_accessor total_pieces: ::Integer
1946
+ attr_accessor total_processed: ::Integer
1947
+ attr_accessor type: ::String
1948
+ SENSITIVE: []
1949
+ end
1950
+
1951
+ class ImportJobsResponse
1952
+ attr_accessor item: ::Array[Types::ImportJobResponse]
1953
+ attr_accessor next_token: ::String
1954
+ SENSITIVE: []
1955
+ end
1956
+
1957
+ class InAppCampaignSchedule
1958
+ attr_accessor end_date: ::String
1959
+ attr_accessor event_filter: Types::CampaignEventFilter
1960
+ attr_accessor quiet_time: Types::QuietTime
1961
+ SENSITIVE: []
1962
+ end
1963
+
1964
+ class InAppMessage
1965
+ attr_accessor content: ::Array[Types::InAppMessageContent]
1966
+ attr_accessor custom_config: ::Hash[::String, ::String]
1967
+ attr_accessor layout: ("BOTTOM_BANNER" | "TOP_BANNER" | "OVERLAYS" | "MOBILE_FEED" | "MIDDLE_BANNER" | "CAROUSEL")
1968
+ SENSITIVE: []
1969
+ end
1970
+
1971
+ class InAppMessageBodyConfig
1972
+ attr_accessor alignment: ("LEFT" | "CENTER" | "RIGHT")
1973
+ attr_accessor body: ::String
1974
+ attr_accessor text_color: ::String
1975
+ SENSITIVE: []
1976
+ end
1977
+
1978
+ class InAppMessageButton
1979
+ attr_accessor android: Types::OverrideButtonConfiguration
1980
+ attr_accessor default_config: Types::DefaultButtonConfiguration
1981
+ attr_accessor ios: Types::OverrideButtonConfiguration
1982
+ attr_accessor web: Types::OverrideButtonConfiguration
1983
+ SENSITIVE: []
1984
+ end
1985
+
1986
+ class InAppMessageCampaign
1987
+ attr_accessor campaign_id: ::String
1988
+ attr_accessor daily_cap: ::Integer
1989
+ attr_accessor in_app_message: Types::InAppMessage
1990
+ attr_accessor priority: ::Integer
1991
+ attr_accessor schedule: Types::InAppCampaignSchedule
1992
+ attr_accessor session_cap: ::Integer
1993
+ attr_accessor total_cap: ::Integer
1994
+ attr_accessor treatment_id: ::String
1995
+ SENSITIVE: []
1996
+ end
1997
+
1998
+ class InAppMessageContent
1999
+ attr_accessor background_color: ::String
2000
+ attr_accessor body_config: Types::InAppMessageBodyConfig
2001
+ attr_accessor header_config: Types::InAppMessageHeaderConfig
2002
+ attr_accessor image_url: ::String
2003
+ attr_accessor primary_btn: Types::InAppMessageButton
2004
+ attr_accessor secondary_btn: Types::InAppMessageButton
2005
+ SENSITIVE: []
2006
+ end
2007
+
2008
+ class InAppMessageHeaderConfig
2009
+ attr_accessor alignment: ("LEFT" | "CENTER" | "RIGHT")
2010
+ attr_accessor header: ::String
2011
+ attr_accessor text_color: ::String
2012
+ SENSITIVE: []
2013
+ end
2014
+
2015
+ class InAppMessagesResponse
2016
+ attr_accessor in_app_message_campaigns: ::Array[Types::InAppMessageCampaign]
2017
+ SENSITIVE: []
2018
+ end
2019
+
2020
+ class InAppTemplateRequest
2021
+ attr_accessor content: ::Array[Types::InAppMessageContent]
2022
+ attr_accessor custom_config: ::Hash[::String, ::String]
2023
+ attr_accessor layout: ("BOTTOM_BANNER" | "TOP_BANNER" | "OVERLAYS" | "MOBILE_FEED" | "MIDDLE_BANNER" | "CAROUSEL")
2024
+ attr_accessor tags: ::Hash[::String, ::String]
2025
+ attr_accessor template_description: ::String
2026
+ SENSITIVE: []
2027
+ end
2028
+
2029
+ class InAppTemplateResponse
2030
+ attr_accessor arn: ::String
2031
+ attr_accessor content: ::Array[Types::InAppMessageContent]
2032
+ attr_accessor creation_date: ::String
2033
+ attr_accessor custom_config: ::Hash[::String, ::String]
2034
+ attr_accessor last_modified_date: ::String
2035
+ attr_accessor layout: ("BOTTOM_BANNER" | "TOP_BANNER" | "OVERLAYS" | "MOBILE_FEED" | "MIDDLE_BANNER" | "CAROUSEL")
2036
+ attr_accessor tags: ::Hash[::String, ::String]
2037
+ attr_accessor template_description: ::String
2038
+ attr_accessor template_name: ::String
2039
+ attr_accessor template_type: ("EMAIL" | "SMS" | "VOICE" | "PUSH" | "INAPP")
2040
+ attr_accessor version: ::String
2041
+ SENSITIVE: []
2042
+ end
2043
+
2044
+ class InternalServerErrorException
2045
+ attr_accessor message: ::String
2046
+ attr_accessor request_id: ::String
2047
+ SENSITIVE: []
2048
+ end
2049
+
2050
+ class ItemResponse
2051
+ attr_accessor endpoint_item_response: Types::EndpointItemResponse
2052
+ attr_accessor events_item_response: ::Hash[::String, Types::EventItemResponse]
2053
+ SENSITIVE: []
2054
+ end
2055
+
2056
+ class JourneyCustomMessage
2057
+ attr_accessor data: ::String
2058
+ SENSITIVE: []
2059
+ end
2060
+
2061
+ class JourneyDateRangeKpiResponse
2062
+ attr_accessor application_id: ::String
2063
+ attr_accessor end_time: ::Time
2064
+ attr_accessor journey_id: ::String
2065
+ attr_accessor kpi_name: ::String
2066
+ attr_accessor kpi_result: Types::BaseKpiResult
2067
+ attr_accessor next_token: ::String
2068
+ attr_accessor start_time: ::Time
2069
+ SENSITIVE: []
2070
+ end
2071
+
2072
+ class JourneyEmailMessage
2073
+ attr_accessor from_address: ::String
2074
+ SENSITIVE: []
2075
+ end
2076
+
2077
+ class JourneyExecutionActivityMetricsResponse
2078
+ attr_accessor activity_type: ::String
2079
+ attr_accessor application_id: ::String
2080
+ attr_accessor journey_activity_id: ::String
2081
+ attr_accessor journey_id: ::String
2082
+ attr_accessor last_evaluated_time: ::String
2083
+ attr_accessor metrics: ::Hash[::String, ::String]
2084
+ SENSITIVE: []
2085
+ end
2086
+
2087
+ class JourneyExecutionMetricsResponse
2088
+ attr_accessor application_id: ::String
2089
+ attr_accessor journey_id: ::String
2090
+ attr_accessor last_evaluated_time: ::String
2091
+ attr_accessor metrics: ::Hash[::String, ::String]
2092
+ SENSITIVE: []
2093
+ end
2094
+
2095
+ class JourneyLimits
2096
+ attr_accessor daily_cap: ::Integer
2097
+ attr_accessor endpoint_reentry_cap: ::Integer
2098
+ attr_accessor messages_per_second: ::Integer
2099
+ attr_accessor endpoint_reentry_interval: ::String
2100
+ attr_accessor timeframe_cap: Types::JourneyTimeframeCap
2101
+ attr_accessor total_cap: ::Integer
2102
+ SENSITIVE: []
2103
+ end
2104
+
2105
+ class JourneyPushMessage
2106
+ attr_accessor time_to_live: ::String
2107
+ SENSITIVE: []
2108
+ end
2109
+
2110
+ class JourneyChannelSettings
2111
+ attr_accessor connect_campaign_arn: ::String
2112
+ attr_accessor connect_campaign_execution_role_arn: ::String
2113
+ SENSITIVE: []
2114
+ end
2115
+
2116
+ class JourneyResponse
2117
+ attr_accessor activities: ::Hash[::String, Types::Activity]
2118
+ attr_accessor application_id: ::String
2119
+ attr_accessor creation_date: ::String
2120
+ attr_accessor id: ::String
2121
+ attr_accessor last_modified_date: ::String
2122
+ attr_accessor limits: Types::JourneyLimits
2123
+ attr_accessor local_time: bool
2124
+ attr_accessor name: ::String
2125
+ attr_accessor quiet_time: Types::QuietTime
2126
+ attr_accessor refresh_frequency: ::String
2127
+ attr_accessor schedule: Types::JourneySchedule
2128
+ attr_accessor start_activity: ::String
2129
+ attr_accessor start_condition: Types::StartCondition
2130
+ attr_accessor state: ("DRAFT" | "ACTIVE" | "COMPLETED" | "CANCELLED" | "CLOSED" | "PAUSED")
2131
+ attr_accessor tags: ::Hash[::String, ::String]
2132
+ attr_accessor wait_for_quiet_time: bool
2133
+ attr_accessor refresh_on_segment_update: bool
2134
+ attr_accessor journey_channel_settings: Types::JourneyChannelSettings
2135
+ attr_accessor sending_schedule: bool
2136
+ attr_accessor open_hours: Types::OpenHours
2137
+ attr_accessor closed_days: Types::ClosedDays
2138
+ attr_accessor timezone_estimation_methods: ::Array[("PHONE_NUMBER" | "POSTAL_CODE")]
2139
+ SENSITIVE: []
2140
+ end
2141
+
2142
+ class JourneyRunExecutionActivityMetricsResponse
2143
+ attr_accessor activity_type: ::String
2144
+ attr_accessor application_id: ::String
2145
+ attr_accessor journey_activity_id: ::String
2146
+ attr_accessor journey_id: ::String
2147
+ attr_accessor last_evaluated_time: ::String
2148
+ attr_accessor metrics: ::Hash[::String, ::String]
2149
+ attr_accessor run_id: ::String
2150
+ SENSITIVE: []
2151
+ end
2152
+
2153
+ class JourneyRunExecutionMetricsResponse
2154
+ attr_accessor application_id: ::String
2155
+ attr_accessor journey_id: ::String
2156
+ attr_accessor last_evaluated_time: ::String
2157
+ attr_accessor metrics: ::Hash[::String, ::String]
2158
+ attr_accessor run_id: ::String
2159
+ SENSITIVE: []
2160
+ end
2161
+
2162
+ class JourneyRunResponse
2163
+ attr_accessor creation_time: ::String
2164
+ attr_accessor last_update_time: ::String
2165
+ attr_accessor run_id: ::String
2166
+ attr_accessor status: ("SCHEDULED" | "RUNNING" | "COMPLETED" | "CANCELLED")
2167
+ SENSITIVE: []
2168
+ end
2169
+
2170
+ class JourneyRunsResponse
2171
+ attr_accessor item: ::Array[Types::JourneyRunResponse]
2172
+ attr_accessor next_token: ::String
2173
+ SENSITIVE: []
2174
+ end
2175
+
2176
+ class JourneySMSMessage
2177
+ attr_accessor message_type: ("TRANSACTIONAL" | "PROMOTIONAL")
2178
+ attr_accessor origination_number: ::String
2179
+ attr_accessor sender_id: ::String
2180
+ attr_accessor entity_id: ::String
2181
+ attr_accessor template_id: ::String
2182
+ SENSITIVE: []
2183
+ end
2184
+
2185
+ class JourneySchedule
2186
+ attr_accessor end_time: ::Time
2187
+ attr_accessor start_time: ::Time
2188
+ attr_accessor timezone: ::String
2189
+ SENSITIVE: []
2190
+ end
2191
+
2192
+ class JourneyStateRequest
2193
+ attr_accessor state: ("DRAFT" | "ACTIVE" | "COMPLETED" | "CANCELLED" | "CLOSED" | "PAUSED")
2194
+ SENSITIVE: []
2195
+ end
2196
+
2197
+ class JourneyTimeframeCap
2198
+ attr_accessor cap: ::Integer
2199
+ attr_accessor days: ::Integer
2200
+ SENSITIVE: []
2201
+ end
2202
+
2203
+ class JourneysResponse
2204
+ attr_accessor item: ::Array[Types::JourneyResponse]
2205
+ attr_accessor next_token: ::String
2206
+ SENSITIVE: []
2207
+ end
2208
+
2209
+ class ListJourneysRequest
2210
+ attr_accessor application_id: ::String
2211
+ attr_accessor page_size: ::String
2212
+ attr_accessor token: ::String
2213
+ SENSITIVE: []
2214
+ end
2215
+
2216
+ class ListJourneysResponse
2217
+ attr_accessor journeys_response: Types::JourneysResponse
2218
+ SENSITIVE: []
2219
+ end
2220
+
2221
+ class ListRecommenderConfigurationsResponse
2222
+ attr_accessor item: ::Array[Types::RecommenderConfigurationResponse]
2223
+ attr_accessor next_token: ::String
2224
+ SENSITIVE: []
2225
+ end
2226
+
2227
+ class ListTagsForResourceRequest
2228
+ attr_accessor resource_arn: ::String
2229
+ SENSITIVE: []
2230
+ end
2231
+
2232
+ class ListTagsForResourceResponse
2233
+ attr_accessor tags_model: Types::TagsModel
2234
+ SENSITIVE: []
2235
+ end
2236
+
2237
+ class ListTemplateVersionsRequest
2238
+ attr_accessor next_token: ::String
2239
+ attr_accessor page_size: ::String
2240
+ attr_accessor template_name: ::String
2241
+ attr_accessor template_type: ::String
2242
+ SENSITIVE: []
2243
+ end
2244
+
2245
+ class ListTemplateVersionsResponse
2246
+ attr_accessor template_versions_response: Types::TemplateVersionsResponse
2247
+ SENSITIVE: []
2248
+ end
2249
+
2250
+ class ListTemplatesRequest
2251
+ attr_accessor next_token: ::String
2252
+ attr_accessor page_size: ::String
2253
+ attr_accessor prefix: ::String
2254
+ attr_accessor template_type: ::String
2255
+ SENSITIVE: []
2256
+ end
2257
+
2258
+ class ListTemplatesResponse
2259
+ attr_accessor templates_response: Types::TemplatesResponse
2260
+ SENSITIVE: []
2261
+ end
2262
+
2263
+ class Message
2264
+ attr_accessor action: ("OPEN_APP" | "DEEP_LINK" | "URL")
2265
+ attr_accessor body: ::String
2266
+ attr_accessor image_icon_url: ::String
2267
+ attr_accessor image_small_icon_url: ::String
2268
+ attr_accessor image_url: ::String
2269
+ attr_accessor json_body: ::String
2270
+ attr_accessor media_url: ::String
2271
+ attr_accessor raw_content: ::String
2272
+ attr_accessor silent_push: bool
2273
+ attr_accessor time_to_live: ::Integer
2274
+ attr_accessor title: ::String
2275
+ attr_accessor url: ::String
2276
+ SENSITIVE: []
2277
+ end
2278
+
2279
+ class MessageBody
2280
+ attr_accessor message: ::String
2281
+ attr_accessor request_id: ::String
2282
+ SENSITIVE: []
2283
+ end
2284
+
2285
+ class MessageConfiguration
2286
+ attr_accessor adm_message: Types::Message
2287
+ attr_accessor apns_message: Types::Message
2288
+ attr_accessor baidu_message: Types::Message
2289
+ attr_accessor custom_message: Types::CampaignCustomMessage
2290
+ attr_accessor default_message: Types::Message
2291
+ attr_accessor email_message: Types::CampaignEmailMessage
2292
+ attr_accessor gcm_message: Types::Message
2293
+ attr_accessor sms_message: Types::CampaignSmsMessage
2294
+ attr_accessor in_app_message: Types::CampaignInAppMessage
2295
+ SENSITIVE: []
2296
+ end
2297
+
2298
+ class MessageRequest
2299
+ attr_accessor addresses: ::Hash[::String, Types::AddressConfiguration]
2300
+ attr_accessor context: ::Hash[::String, ::String]
2301
+ attr_accessor endpoints: ::Hash[::String, Types::EndpointSendConfiguration]
2302
+ attr_accessor message_configuration: Types::DirectMessageConfiguration
2303
+ attr_accessor template_configuration: Types::TemplateConfiguration
2304
+ attr_accessor trace_id: ::String
2305
+ SENSITIVE: []
2306
+ end
2307
+
2308
+ class MessageResponse
2309
+ attr_accessor application_id: ::String
2310
+ attr_accessor endpoint_result: ::Hash[::String, Types::EndpointMessageResult]
2311
+ attr_accessor request_id: ::String
2312
+ attr_accessor result: ::Hash[::String, Types::MessageResult]
2313
+ SENSITIVE: []
2314
+ end
2315
+
2316
+ class MessageResult
2317
+ attr_accessor delivery_status: ("SUCCESSFUL" | "THROTTLED" | "TEMPORARY_FAILURE" | "PERMANENT_FAILURE" | "UNKNOWN_FAILURE" | "OPT_OUT" | "DUPLICATE")
2318
+ attr_accessor message_id: ::String
2319
+ attr_accessor status_code: ::Integer
2320
+ attr_accessor status_message: ::String
2321
+ attr_accessor updated_token: ::String
2322
+ SENSITIVE: []
2323
+ end
2324
+
2325
+ class MethodNotAllowedException
2326
+ attr_accessor message: ::String
2327
+ attr_accessor request_id: ::String
2328
+ SENSITIVE: []
2329
+ end
2330
+
2331
+ class MetricDimension
2332
+ attr_accessor comparison_operator: ::String
2333
+ attr_accessor value: ::Float
2334
+ SENSITIVE: []
2335
+ end
2336
+
2337
+ class MultiConditionalBranch
2338
+ attr_accessor condition: Types::SimpleCondition
2339
+ attr_accessor next_activity: ::String
2340
+ SENSITIVE: []
2341
+ end
2342
+
2343
+ class MultiConditionalSplitActivity
2344
+ attr_accessor branches: ::Array[Types::MultiConditionalBranch]
2345
+ attr_accessor default_activity: ::String
2346
+ attr_accessor evaluation_wait_time: Types::WaitTime
2347
+ SENSITIVE: []
2348
+ end
2349
+
2350
+ class NotFoundException
2351
+ attr_accessor message: ::String
2352
+ attr_accessor request_id: ::String
2353
+ SENSITIVE: []
2354
+ end
2355
+
2356
+ class NumberValidateRequest
2357
+ attr_accessor iso_country_code: ::String
2358
+ attr_accessor phone_number: ::String
2359
+ SENSITIVE: []
2360
+ end
2361
+
2362
+ class NumberValidateResponse
2363
+ attr_accessor carrier: ::String
2364
+ attr_accessor city: ::String
2365
+ attr_accessor cleansed_phone_number_e164: ::String
2366
+ attr_accessor cleansed_phone_number_national: ::String
2367
+ attr_accessor country: ::String
2368
+ attr_accessor country_code_iso_2: ::String
2369
+ attr_accessor country_code_numeric: ::String
2370
+ attr_accessor county: ::String
2371
+ attr_accessor original_country_code_iso_2: ::String
2372
+ attr_accessor original_phone_number: ::String
2373
+ attr_accessor phone_type: ::String
2374
+ attr_accessor phone_type_code: ::Integer
2375
+ attr_accessor timezone: ::String
2376
+ attr_accessor zip_code: ::String
2377
+ SENSITIVE: []
2378
+ end
2379
+
2380
+ class OverrideButtonConfiguration
2381
+ attr_accessor button_action: ("LINK" | "DEEP_LINK" | "CLOSE")
2382
+ attr_accessor link: ::String
2383
+ SENSITIVE: []
2384
+ end
2385
+
2386
+ class PayloadTooLargeException
2387
+ attr_accessor message: ::String
2388
+ attr_accessor request_id: ::String
2389
+ SENSITIVE: []
2390
+ end
2391
+
2392
+ class PhoneNumberValidateRequest
2393
+ attr_accessor number_validate_request: Types::NumberValidateRequest
2394
+ SENSITIVE: []
2395
+ end
2396
+
2397
+ class PhoneNumberValidateResponse
2398
+ attr_accessor number_validate_response: Types::NumberValidateResponse
2399
+ SENSITIVE: []
2400
+ end
2401
+
2402
+ class PublicEndpoint
2403
+ attr_accessor address: ::String
2404
+ attr_accessor attributes: ::Hash[::String, ::Array[::String]]
2405
+ attr_accessor channel_type: ("PUSH" | "GCM" | "APNS" | "APNS_SANDBOX" | "APNS_VOIP" | "APNS_VOIP_SANDBOX" | "ADM" | "SMS" | "VOICE" | "EMAIL" | "BAIDU" | "CUSTOM" | "IN_APP")
2406
+ attr_accessor demographic: Types::EndpointDemographic
2407
+ attr_accessor effective_date: ::String
2408
+ attr_accessor endpoint_status: ::String
2409
+ attr_accessor location: Types::EndpointLocation
2410
+ attr_accessor metrics: ::Hash[::String, ::Float]
2411
+ attr_accessor opt_out: ::String
2412
+ attr_accessor request_id: ::String
2413
+ attr_accessor user: Types::EndpointUser
2414
+ SENSITIVE: []
2415
+ end
2416
+
2417
+ class PushMessageActivity
2418
+ attr_accessor message_config: Types::JourneyPushMessage
2419
+ attr_accessor next_activity: ::String
2420
+ attr_accessor template_name: ::String
2421
+ attr_accessor template_version: ::String
2422
+ SENSITIVE: []
2423
+ end
2424
+
2425
+ class PushNotificationTemplateRequest
2426
+ attr_accessor adm: Types::AndroidPushNotificationTemplate
2427
+ attr_accessor apns: Types::APNSPushNotificationTemplate
2428
+ attr_accessor baidu: Types::AndroidPushNotificationTemplate
2429
+ attr_accessor default: Types::DefaultPushNotificationTemplate
2430
+ attr_accessor default_substitutions: ::String
2431
+ attr_accessor gcm: Types::AndroidPushNotificationTemplate
2432
+ attr_accessor recommender_id: ::String
2433
+ attr_accessor tags: ::Hash[::String, ::String]
2434
+ attr_accessor template_description: ::String
2435
+ SENSITIVE: []
2436
+ end
2437
+
2438
+ class PushNotificationTemplateResponse
2439
+ attr_accessor adm: Types::AndroidPushNotificationTemplate
2440
+ attr_accessor apns: Types::APNSPushNotificationTemplate
2441
+ attr_accessor arn: ::String
2442
+ attr_accessor baidu: Types::AndroidPushNotificationTemplate
2443
+ attr_accessor creation_date: ::String
2444
+ attr_accessor default: Types::DefaultPushNotificationTemplate
2445
+ attr_accessor default_substitutions: ::String
2446
+ attr_accessor gcm: Types::AndroidPushNotificationTemplate
2447
+ attr_accessor last_modified_date: ::String
2448
+ attr_accessor recommender_id: ::String
2449
+ attr_accessor tags: ::Hash[::String, ::String]
2450
+ attr_accessor template_description: ::String
2451
+ attr_accessor template_name: ::String
2452
+ attr_accessor template_type: ("EMAIL" | "SMS" | "VOICE" | "PUSH" | "INAPP")
2453
+ attr_accessor version: ::String
2454
+ SENSITIVE: []
2455
+ end
2456
+
2457
+ class PutEventStreamRequest
2458
+ attr_accessor application_id: ::String
2459
+ attr_accessor write_event_stream: Types::WriteEventStream
2460
+ SENSITIVE: []
2461
+ end
2462
+
2463
+ class PutEventStreamResponse
2464
+ attr_accessor event_stream: Types::EventStream
2465
+ SENSITIVE: []
2466
+ end
2467
+
2468
+ class PutEventsRequest
2469
+ attr_accessor application_id: ::String
2470
+ attr_accessor events_request: Types::EventsRequest
2471
+ SENSITIVE: []
2472
+ end
2473
+
2474
+ class PutEventsResponse
2475
+ attr_accessor events_response: Types::EventsResponse
2476
+ SENSITIVE: []
2477
+ end
2478
+
2479
+ class QuietTime
2480
+ attr_accessor end: ::String
2481
+ attr_accessor start: ::String
2482
+ SENSITIVE: []
2483
+ end
2484
+
2485
+ class RandomSplitActivity
2486
+ attr_accessor branches: ::Array[Types::RandomSplitEntry]
2487
+ SENSITIVE: []
2488
+ end
2489
+
2490
+ class RandomSplitEntry
2491
+ attr_accessor next_activity: ::String
2492
+ attr_accessor percentage: ::Integer
2493
+ SENSITIVE: []
2494
+ end
2495
+
2496
+ class RawEmail
2497
+ attr_accessor data: ::String
2498
+ SENSITIVE: []
2499
+ end
2500
+
2501
+ class RecencyDimension
2502
+ attr_accessor duration: ("HR_24" | "DAY_7" | "DAY_14" | "DAY_30")
2503
+ attr_accessor recency_type: ("ACTIVE" | "INACTIVE")
2504
+ SENSITIVE: []
2505
+ end
2506
+
2507
+ class RecommenderConfigurationResponse
2508
+ attr_accessor attributes: ::Hash[::String, ::String]
2509
+ attr_accessor creation_date: ::String
2510
+ attr_accessor description: ::String
2511
+ attr_accessor id: ::String
2512
+ attr_accessor last_modified_date: ::String
2513
+ attr_accessor name: ::String
2514
+ attr_accessor recommendation_provider_id_type: ::String
2515
+ attr_accessor recommendation_provider_role_arn: ::String
2516
+ attr_accessor recommendation_provider_uri: ::String
2517
+ attr_accessor recommendation_transformer_uri: ::String
2518
+ attr_accessor recommendations_display_name: ::String
2519
+ attr_accessor recommendations_per_message: ::Integer
2520
+ SENSITIVE: []
2521
+ end
2522
+
2523
+ class RemoveAttributesRequest
2524
+ attr_accessor application_id: ::String
2525
+ attr_accessor attribute_type: ::String
2526
+ attr_accessor update_attributes_request: Types::UpdateAttributesRequest
2527
+ SENSITIVE: []
2528
+ end
2529
+
2530
+ class RemoveAttributesResponse
2531
+ attr_accessor attributes_resource: Types::AttributesResource
2532
+ SENSITIVE: []
2533
+ end
2534
+
2535
+ class ResultRow
2536
+ attr_accessor grouped_bys: ::Array[Types::ResultRowValue]
2537
+ attr_accessor values: ::Array[Types::ResultRowValue]
2538
+ SENSITIVE: []
2539
+ end
2540
+
2541
+ class ResultRowValue
2542
+ attr_accessor key: ::String
2543
+ attr_accessor type: ::String
2544
+ attr_accessor value: ::String
2545
+ SENSITIVE: []
2546
+ end
2547
+
2548
+ class SMSChannelRequest
2549
+ attr_accessor enabled: bool
2550
+ attr_accessor sender_id: ::String
2551
+ attr_accessor short_code: ::String
2552
+ SENSITIVE: []
2553
+ end
2554
+
2555
+ class SMSChannelResponse
2556
+ attr_accessor application_id: ::String
2557
+ attr_accessor creation_date: ::String
2558
+ attr_accessor enabled: bool
2559
+ attr_accessor has_credential: bool
2560
+ attr_accessor id: ::String
2561
+ attr_accessor is_archived: bool
2562
+ attr_accessor last_modified_by: ::String
2563
+ attr_accessor last_modified_date: ::String
2564
+ attr_accessor platform: ::String
2565
+ attr_accessor promotional_messages_per_second: ::Integer
2566
+ attr_accessor sender_id: ::String
2567
+ attr_accessor short_code: ::String
2568
+ attr_accessor transactional_messages_per_second: ::Integer
2569
+ attr_accessor version: ::Integer
2570
+ SENSITIVE: []
2571
+ end
2572
+
2573
+ class SMSMessage
2574
+ attr_accessor body: ::String
2575
+ attr_accessor keyword: ::String
2576
+ attr_accessor media_url: ::String
2577
+ attr_accessor message_type: ("TRANSACTIONAL" | "PROMOTIONAL")
2578
+ attr_accessor origination_number: ::String
2579
+ attr_accessor sender_id: ::String
2580
+ attr_accessor substitutions: ::Hash[::String, ::Array[::String]]
2581
+ attr_accessor entity_id: ::String
2582
+ attr_accessor template_id: ::String
2583
+ SENSITIVE: []
2584
+ end
2585
+
2586
+ class SMSMessageActivity
2587
+ attr_accessor message_config: Types::JourneySMSMessage
2588
+ attr_accessor next_activity: ::String
2589
+ attr_accessor template_name: ::String
2590
+ attr_accessor template_version: ::String
2591
+ SENSITIVE: []
2592
+ end
2593
+
2594
+ class SMSTemplateRequest
2595
+ attr_accessor body: ::String
2596
+ attr_accessor default_substitutions: ::String
2597
+ attr_accessor recommender_id: ::String
2598
+ attr_accessor tags: ::Hash[::String, ::String]
2599
+ attr_accessor template_description: ::String
2600
+ SENSITIVE: []
2601
+ end
2602
+
2603
+ class SMSTemplateResponse
2604
+ attr_accessor arn: ::String
2605
+ attr_accessor body: ::String
2606
+ attr_accessor creation_date: ::String
2607
+ attr_accessor default_substitutions: ::String
2608
+ attr_accessor last_modified_date: ::String
2609
+ attr_accessor recommender_id: ::String
2610
+ attr_accessor tags: ::Hash[::String, ::String]
2611
+ attr_accessor template_description: ::String
2612
+ attr_accessor template_name: ::String
2613
+ attr_accessor template_type: ("EMAIL" | "SMS" | "VOICE" | "PUSH" | "INAPP")
2614
+ attr_accessor version: ::String
2615
+ SENSITIVE: []
2616
+ end
2617
+
2618
+ class Schedule
2619
+ attr_accessor end_time: ::String
2620
+ attr_accessor event_filter: Types::CampaignEventFilter
2621
+ attr_accessor frequency: ("ONCE" | "HOURLY" | "DAILY" | "WEEKLY" | "MONTHLY" | "EVENT" | "IN_APP_EVENT")
2622
+ attr_accessor is_local_time: bool
2623
+ attr_accessor quiet_time: Types::QuietTime
2624
+ attr_accessor start_time: ::String
2625
+ attr_accessor timezone: ::String
2626
+ SENSITIVE: []
2627
+ end
2628
+
2629
+ class SegmentBehaviors
2630
+ attr_accessor recency: Types::RecencyDimension
2631
+ SENSITIVE: []
2632
+ end
2633
+
2634
+ class SegmentCondition
2635
+ attr_accessor segment_id: ::String
2636
+ SENSITIVE: []
2637
+ end
2638
+
2639
+ class SegmentDemographics
2640
+ attr_accessor app_version: Types::SetDimension
2641
+ attr_accessor channel: Types::SetDimension
2642
+ attr_accessor device_type: Types::SetDimension
2643
+ attr_accessor make: Types::SetDimension
2644
+ attr_accessor model: Types::SetDimension
2645
+ attr_accessor platform: Types::SetDimension
2646
+ SENSITIVE: []
2647
+ end
2648
+
2649
+ class SegmentDimensions
2650
+ attr_accessor attributes: ::Hash[::String, Types::AttributeDimension]
2651
+ attr_accessor behavior: Types::SegmentBehaviors
2652
+ attr_accessor demographic: Types::SegmentDemographics
2653
+ attr_accessor location: Types::SegmentLocation
2654
+ attr_accessor metrics: ::Hash[::String, Types::MetricDimension]
2655
+ attr_accessor user_attributes: ::Hash[::String, Types::AttributeDimension]
2656
+ SENSITIVE: []
2657
+ end
2658
+
2659
+ class SegmentGroup
2660
+ attr_accessor dimensions: ::Array[Types::SegmentDimensions]
2661
+ attr_accessor source_segments: ::Array[Types::SegmentReference]
2662
+ attr_accessor source_type: ("ALL" | "ANY" | "NONE")
2663
+ attr_accessor type: ("ALL" | "ANY" | "NONE")
2664
+ SENSITIVE: []
2665
+ end
2666
+
2667
+ class SegmentGroupList
2668
+ attr_accessor groups: ::Array[Types::SegmentGroup]
2669
+ attr_accessor include: ("ALL" | "ANY" | "NONE")
2670
+ SENSITIVE: []
2671
+ end
2672
+
2673
+ class SegmentImportResource
2674
+ attr_accessor channel_counts: ::Hash[::String, ::Integer]
2675
+ attr_accessor external_id: ::String
2676
+ attr_accessor format: ("CSV" | "JSON")
2677
+ attr_accessor role_arn: ::String
2678
+ attr_accessor s3_url: ::String
2679
+ attr_accessor size: ::Integer
2680
+ SENSITIVE: []
2681
+ end
2682
+
2683
+ class SegmentLocation
2684
+ attr_accessor country: Types::SetDimension
2685
+ attr_accessor gps_point: Types::GPSPointDimension
2686
+ SENSITIVE: []
2687
+ end
2688
+
2689
+ class SegmentReference
2690
+ attr_accessor id: ::String
2691
+ attr_accessor version: ::Integer
2692
+ SENSITIVE: []
2693
+ end
2694
+
2695
+ class SegmentResponse
2696
+ attr_accessor application_id: ::String
2697
+ attr_accessor arn: ::String
2698
+ attr_accessor creation_date: ::String
2699
+ attr_accessor dimensions: Types::SegmentDimensions
2700
+ attr_accessor id: ::String
2701
+ attr_accessor import_definition: Types::SegmentImportResource
2702
+ attr_accessor last_modified_date: ::String
2703
+ attr_accessor name: ::String
2704
+ attr_accessor segment_groups: Types::SegmentGroupList
2705
+ attr_accessor segment_type: ("DIMENSIONAL" | "IMPORT")
2706
+ attr_accessor tags: ::Hash[::String, ::String]
2707
+ attr_accessor version: ::Integer
2708
+ SENSITIVE: []
2709
+ end
2710
+
2711
+ class SegmentsResponse
2712
+ attr_accessor item: ::Array[Types::SegmentResponse]
2713
+ attr_accessor next_token: ::String
2714
+ SENSITIVE: []
2715
+ end
2716
+
2717
+ class SendMessagesRequest
2718
+ attr_accessor application_id: ::String
2719
+ attr_accessor message_request: Types::MessageRequest
2720
+ SENSITIVE: []
2721
+ end
2722
+
2723
+ class SendMessagesResponse
2724
+ attr_accessor message_response: Types::MessageResponse
2725
+ SENSITIVE: []
2726
+ end
2727
+
2728
+ class SendOTPMessageRequest
2729
+ attr_accessor application_id: ::String
2730
+ attr_accessor send_otp_message_request_parameters: Types::SendOTPMessageRequestParameters
2731
+ SENSITIVE: []
2732
+ end
2733
+
2734
+ class SendOTPMessageRequestParameters
2735
+ attr_accessor allowed_attempts: ::Integer
2736
+ attr_accessor brand_name: ::String
2737
+ attr_accessor channel: ::String
2738
+ attr_accessor code_length: ::Integer
2739
+ attr_accessor destination_identity: ::String
2740
+ attr_accessor entity_id: ::String
2741
+ attr_accessor language: ::String
2742
+ attr_accessor origination_identity: ::String
2743
+ attr_accessor reference_id: ::String
2744
+ attr_accessor template_id: ::String
2745
+ attr_accessor validity_period: ::Integer
2746
+ SENSITIVE: []
2747
+ end
2748
+
2749
+ class SendOTPMessageResponse
2750
+ attr_accessor message_response: Types::MessageResponse
2751
+ SENSITIVE: []
2752
+ end
2753
+
2754
+ class SendUsersMessageRequest
2755
+ attr_accessor context: ::Hash[::String, ::String]
2756
+ attr_accessor message_configuration: Types::DirectMessageConfiguration
2757
+ attr_accessor template_configuration: Types::TemplateConfiguration
2758
+ attr_accessor trace_id: ::String
2759
+ attr_accessor users: ::Hash[::String, Types::EndpointSendConfiguration]
2760
+ SENSITIVE: []
2761
+ end
2762
+
2763
+ class SendUsersMessageResponse
2764
+ attr_accessor application_id: ::String
2765
+ attr_accessor request_id: ::String
2766
+ attr_accessor result: ::Hash[::String, ::Hash[::String, Types::EndpointMessageResult]]
2767
+ SENSITIVE: []
2768
+ end
2769
+
2770
+ class SendUsersMessagesRequest
2771
+ attr_accessor application_id: ::String
2772
+ attr_accessor send_users_message_request: Types::SendUsersMessageRequest
2773
+ SENSITIVE: []
2774
+ end
2775
+
2776
+ class SendUsersMessagesResponse
2777
+ attr_accessor send_users_message_response: Types::SendUsersMessageResponse
2778
+ SENSITIVE: []
2779
+ end
2780
+
2781
+ class Session
2782
+ attr_accessor duration: ::Integer
2783
+ attr_accessor id: ::String
2784
+ attr_accessor start_timestamp: ::String
2785
+ attr_accessor stop_timestamp: ::String
2786
+ SENSITIVE: []
2787
+ end
2788
+
2789
+ class SetDimension
2790
+ attr_accessor dimension_type: ("INCLUSIVE" | "EXCLUSIVE")
2791
+ attr_accessor values: ::Array[::String]
2792
+ SENSITIVE: []
2793
+ end
2794
+
2795
+ class SimpleCondition
2796
+ attr_accessor event_condition: Types::EventCondition
2797
+ attr_accessor segment_condition: Types::SegmentCondition
2798
+ attr_accessor segment_dimensions: Types::SegmentDimensions
2799
+ SENSITIVE: []
2800
+ end
2801
+
2802
+ class SimpleEmail
2803
+ attr_accessor html_part: Types::SimpleEmailPart
2804
+ attr_accessor subject: Types::SimpleEmailPart
2805
+ attr_accessor text_part: Types::SimpleEmailPart
2806
+ SENSITIVE: []
2807
+ end
2808
+
2809
+ class SimpleEmailPart
2810
+ attr_accessor charset: ::String
2811
+ attr_accessor data: ::String
2812
+ SENSITIVE: []
2813
+ end
2814
+
2815
+ class StartCondition
2816
+ attr_accessor description: ::String
2817
+ attr_accessor event_start_condition: Types::EventStartCondition
2818
+ attr_accessor segment_start_condition: Types::SegmentCondition
2819
+ SENSITIVE: []
2820
+ end
2821
+
2822
+ class TagResourceRequest
2823
+ attr_accessor resource_arn: ::String
2824
+ attr_accessor tags_model: Types::TagsModel
2825
+ SENSITIVE: []
2826
+ end
2827
+
2828
+ class TagsModel
2829
+ attr_accessor tags: ::Hash[::String, ::String]
2830
+ SENSITIVE: []
2831
+ end
2832
+
2833
+ class Template
2834
+ attr_accessor name: ::String
2835
+ attr_accessor version: ::String
2836
+ SENSITIVE: []
2837
+ end
2838
+
2839
+ class TemplateActiveVersionRequest
2840
+ attr_accessor version: ::String
2841
+ SENSITIVE: []
2842
+ end
2843
+
2844
+ class TemplateConfiguration
2845
+ attr_accessor email_template: Types::Template
2846
+ attr_accessor push_template: Types::Template
2847
+ attr_accessor sms_template: Types::Template
2848
+ attr_accessor voice_template: Types::Template
2849
+ attr_accessor in_app_template: Types::Template
2850
+ SENSITIVE: []
2851
+ end
2852
+
2853
+ class TemplateCreateMessageBody
2854
+ attr_accessor arn: ::String
2855
+ attr_accessor message: ::String
2856
+ attr_accessor request_id: ::String
2857
+ SENSITIVE: []
2858
+ end
2859
+
2860
+ class TemplateResponse
2861
+ attr_accessor arn: ::String
2862
+ attr_accessor creation_date: ::String
2863
+ attr_accessor default_substitutions: ::String
2864
+ attr_accessor last_modified_date: ::String
2865
+ attr_accessor tags: ::Hash[::String, ::String]
2866
+ attr_accessor template_description: ::String
2867
+ attr_accessor template_name: ::String
2868
+ attr_accessor template_type: ("EMAIL" | "SMS" | "VOICE" | "PUSH" | "INAPP")
2869
+ attr_accessor version: ::String
2870
+ SENSITIVE: []
2871
+ end
2872
+
2873
+ class TemplateVersionResponse
2874
+ attr_accessor creation_date: ::String
2875
+ attr_accessor default_substitutions: ::String
2876
+ attr_accessor last_modified_date: ::String
2877
+ attr_accessor template_description: ::String
2878
+ attr_accessor template_name: ::String
2879
+ attr_accessor template_type: ::String
2880
+ attr_accessor version: ::String
2881
+ SENSITIVE: []
2882
+ end
2883
+
2884
+ class TemplateVersionsResponse
2885
+ attr_accessor item: ::Array[Types::TemplateVersionResponse]
2886
+ attr_accessor message: ::String
2887
+ attr_accessor next_token: ::String
2888
+ attr_accessor request_id: ::String
2889
+ SENSITIVE: []
2890
+ end
2891
+
2892
+ class TemplatesResponse
2893
+ attr_accessor item: ::Array[Types::TemplateResponse]
2894
+ attr_accessor next_token: ::String
2895
+ SENSITIVE: []
2896
+ end
2897
+
2898
+ class TooManyRequestsException
2899
+ attr_accessor message: ::String
2900
+ attr_accessor request_id: ::String
2901
+ SENSITIVE: []
2902
+ end
2903
+
2904
+ class TreatmentResource
2905
+ attr_accessor custom_delivery_configuration: Types::CustomDeliveryConfiguration
2906
+ attr_accessor id: ::String
2907
+ attr_accessor message_configuration: Types::MessageConfiguration
2908
+ attr_accessor schedule: Types::Schedule
2909
+ attr_accessor size_percent: ::Integer
2910
+ attr_accessor state: Types::CampaignState
2911
+ attr_accessor template_configuration: Types::TemplateConfiguration
2912
+ attr_accessor treatment_description: ::String
2913
+ attr_accessor treatment_name: ::String
2914
+ SENSITIVE: []
2915
+ end
2916
+
2917
+ class UntagResourceRequest
2918
+ attr_accessor resource_arn: ::String
2919
+ attr_accessor tag_keys: ::Array[::String]
2920
+ SENSITIVE: []
2921
+ end
2922
+
2923
+ class UpdateAdmChannelRequest
2924
+ attr_accessor adm_channel_request: Types::ADMChannelRequest
2925
+ attr_accessor application_id: ::String
2926
+ SENSITIVE: []
2927
+ end
2928
+
2929
+ class UpdateAdmChannelResponse
2930
+ attr_accessor adm_channel_response: Types::ADMChannelResponse
2931
+ SENSITIVE: []
2932
+ end
2933
+
2934
+ class UpdateApnsChannelRequest
2935
+ attr_accessor apns_channel_request: Types::APNSChannelRequest
2936
+ attr_accessor application_id: ::String
2937
+ SENSITIVE: []
2938
+ end
2939
+
2940
+ class UpdateApnsChannelResponse
2941
+ attr_accessor apns_channel_response: Types::APNSChannelResponse
2942
+ SENSITIVE: []
2943
+ end
2944
+
2945
+ class UpdateApnsSandboxChannelRequest
2946
+ attr_accessor apns_sandbox_channel_request: Types::APNSSandboxChannelRequest
2947
+ attr_accessor application_id: ::String
2948
+ SENSITIVE: []
2949
+ end
2950
+
2951
+ class UpdateApnsSandboxChannelResponse
2952
+ attr_accessor apns_sandbox_channel_response: Types::APNSSandboxChannelResponse
2953
+ SENSITIVE: []
2954
+ end
2955
+
2956
+ class UpdateApnsVoipChannelRequest
2957
+ attr_accessor apns_voip_channel_request: Types::APNSVoipChannelRequest
2958
+ attr_accessor application_id: ::String
2959
+ SENSITIVE: []
2960
+ end
2961
+
2962
+ class UpdateApnsVoipChannelResponse
2963
+ attr_accessor apns_voip_channel_response: Types::APNSVoipChannelResponse
2964
+ SENSITIVE: []
2965
+ end
2966
+
2967
+ class UpdateApnsVoipSandboxChannelRequest
2968
+ attr_accessor apns_voip_sandbox_channel_request: Types::APNSVoipSandboxChannelRequest
2969
+ attr_accessor application_id: ::String
2970
+ SENSITIVE: []
2971
+ end
2972
+
2973
+ class UpdateApnsVoipSandboxChannelResponse
2974
+ attr_accessor apns_voip_sandbox_channel_response: Types::APNSVoipSandboxChannelResponse
2975
+ SENSITIVE: []
2976
+ end
2977
+
2978
+ class UpdateApplicationSettingsRequest
2979
+ attr_accessor application_id: ::String
2980
+ attr_accessor write_application_settings_request: Types::WriteApplicationSettingsRequest
2981
+ SENSITIVE: []
2982
+ end
2983
+
2984
+ class UpdateApplicationSettingsResponse
2985
+ attr_accessor application_settings_resource: Types::ApplicationSettingsResource
2986
+ SENSITIVE: []
2987
+ end
2988
+
2989
+ class UpdateAttributesRequest
2990
+ attr_accessor blacklist: ::Array[::String]
2991
+ SENSITIVE: []
2992
+ end
2993
+
2994
+ class UpdateBaiduChannelRequest
2995
+ attr_accessor application_id: ::String
2996
+ attr_accessor baidu_channel_request: Types::BaiduChannelRequest
2997
+ SENSITIVE: []
2998
+ end
2999
+
3000
+ class UpdateBaiduChannelResponse
3001
+ attr_accessor baidu_channel_response: Types::BaiduChannelResponse
3002
+ SENSITIVE: []
3003
+ end
3004
+
3005
+ class UpdateCampaignRequest
3006
+ attr_accessor application_id: ::String
3007
+ attr_accessor campaign_id: ::String
3008
+ attr_accessor write_campaign_request: Types::WriteCampaignRequest
3009
+ SENSITIVE: []
3010
+ end
3011
+
3012
+ class UpdateCampaignResponse
3013
+ attr_accessor campaign_response: Types::CampaignResponse
3014
+ SENSITIVE: []
3015
+ end
3016
+
3017
+ class UpdateEmailChannelRequest
3018
+ attr_accessor application_id: ::String
3019
+ attr_accessor email_channel_request: Types::EmailChannelRequest
3020
+ SENSITIVE: []
3021
+ end
3022
+
3023
+ class UpdateEmailChannelResponse
3024
+ attr_accessor email_channel_response: Types::EmailChannelResponse
3025
+ SENSITIVE: []
3026
+ end
3027
+
3028
+ class UpdateEmailTemplateRequest
3029
+ attr_accessor create_new_version: bool
3030
+ attr_accessor email_template_request: Types::EmailTemplateRequest
3031
+ attr_accessor template_name: ::String
3032
+ attr_accessor version: ::String
3033
+ SENSITIVE: []
3034
+ end
3035
+
3036
+ class UpdateEmailTemplateResponse
3037
+ attr_accessor message_body: Types::MessageBody
3038
+ SENSITIVE: []
3039
+ end
3040
+
3041
+ class UpdateEndpointRequest
3042
+ attr_accessor application_id: ::String
3043
+ attr_accessor endpoint_id: ::String
3044
+ attr_accessor endpoint_request: Types::EndpointRequest
3045
+ SENSITIVE: []
3046
+ end
3047
+
3048
+ class UpdateEndpointResponse
3049
+ attr_accessor message_body: Types::MessageBody
3050
+ SENSITIVE: []
3051
+ end
3052
+
3053
+ class UpdateEndpointsBatchRequest
3054
+ attr_accessor application_id: ::String
3055
+ attr_accessor endpoint_batch_request: Types::EndpointBatchRequest
3056
+ SENSITIVE: []
3057
+ end
3058
+
3059
+ class UpdateEndpointsBatchResponse
3060
+ attr_accessor message_body: Types::MessageBody
3061
+ SENSITIVE: []
3062
+ end
3063
+
3064
+ class UpdateGcmChannelRequest
3065
+ attr_accessor application_id: ::String
3066
+ attr_accessor gcm_channel_request: Types::GCMChannelRequest
3067
+ SENSITIVE: []
3068
+ end
3069
+
3070
+ class UpdateGcmChannelResponse
3071
+ attr_accessor gcm_channel_response: Types::GCMChannelResponse
3072
+ SENSITIVE: []
3073
+ end
3074
+
3075
+ class UpdateInAppTemplateRequest
3076
+ attr_accessor create_new_version: bool
3077
+ attr_accessor in_app_template_request: Types::InAppTemplateRequest
3078
+ attr_accessor template_name: ::String
3079
+ attr_accessor version: ::String
3080
+ SENSITIVE: []
3081
+ end
3082
+
3083
+ class UpdateInAppTemplateResponse
3084
+ attr_accessor message_body: Types::MessageBody
3085
+ SENSITIVE: []
3086
+ end
3087
+
3088
+ class UpdateJourneyRequest
3089
+ attr_accessor application_id: ::String
3090
+ attr_accessor journey_id: ::String
3091
+ attr_accessor write_journey_request: Types::WriteJourneyRequest
3092
+ SENSITIVE: []
3093
+ end
3094
+
3095
+ class UpdateJourneyResponse
3096
+ attr_accessor journey_response: Types::JourneyResponse
3097
+ SENSITIVE: []
3098
+ end
3099
+
3100
+ class UpdateJourneyStateRequest
3101
+ attr_accessor application_id: ::String
3102
+ attr_accessor journey_id: ::String
3103
+ attr_accessor journey_state_request: Types::JourneyStateRequest
3104
+ SENSITIVE: []
3105
+ end
3106
+
3107
+ class UpdateJourneyStateResponse
3108
+ attr_accessor journey_response: Types::JourneyResponse
3109
+ SENSITIVE: []
3110
+ end
3111
+
3112
+ class UpdatePushTemplateRequest
3113
+ attr_accessor create_new_version: bool
3114
+ attr_accessor push_notification_template_request: Types::PushNotificationTemplateRequest
3115
+ attr_accessor template_name: ::String
3116
+ attr_accessor version: ::String
3117
+ SENSITIVE: []
3118
+ end
3119
+
3120
+ class UpdatePushTemplateResponse
3121
+ attr_accessor message_body: Types::MessageBody
3122
+ SENSITIVE: []
3123
+ end
3124
+
3125
+ class UpdateRecommenderConfiguration
3126
+ attr_accessor attributes: ::Hash[::String, ::String]
3127
+ attr_accessor description: ::String
3128
+ attr_accessor name: ::String
3129
+ attr_accessor recommendation_provider_id_type: ::String
3130
+ attr_accessor recommendation_provider_role_arn: ::String
3131
+ attr_accessor recommendation_provider_uri: ::String
3132
+ attr_accessor recommendation_transformer_uri: ::String
3133
+ attr_accessor recommendations_display_name: ::String
3134
+ attr_accessor recommendations_per_message: ::Integer
3135
+ SENSITIVE: []
3136
+ end
3137
+
3138
+ class UpdateRecommenderConfigurationRequest
3139
+ attr_accessor recommender_id: ::String
3140
+ attr_accessor update_recommender_configuration: Types::UpdateRecommenderConfiguration
3141
+ SENSITIVE: []
3142
+ end
3143
+
3144
+ class UpdateRecommenderConfigurationResponse
3145
+ attr_accessor recommender_configuration_response: Types::RecommenderConfigurationResponse
3146
+ SENSITIVE: []
3147
+ end
3148
+
3149
+ class UpdateSegmentRequest
3150
+ attr_accessor application_id: ::String
3151
+ attr_accessor segment_id: ::String
3152
+ attr_accessor write_segment_request: Types::WriteSegmentRequest
3153
+ SENSITIVE: []
3154
+ end
3155
+
3156
+ class UpdateSegmentResponse
3157
+ attr_accessor segment_response: Types::SegmentResponse
3158
+ SENSITIVE: []
3159
+ end
3160
+
3161
+ class UpdateSmsChannelRequest
3162
+ attr_accessor application_id: ::String
3163
+ attr_accessor sms_channel_request: Types::SMSChannelRequest
3164
+ SENSITIVE: []
3165
+ end
3166
+
3167
+ class UpdateSmsChannelResponse
3168
+ attr_accessor sms_channel_response: Types::SMSChannelResponse
3169
+ SENSITIVE: []
3170
+ end
3171
+
3172
+ class UpdateSmsTemplateRequest
3173
+ attr_accessor create_new_version: bool
3174
+ attr_accessor sms_template_request: Types::SMSTemplateRequest
3175
+ attr_accessor template_name: ::String
3176
+ attr_accessor version: ::String
3177
+ SENSITIVE: []
3178
+ end
3179
+
3180
+ class UpdateSmsTemplateResponse
3181
+ attr_accessor message_body: Types::MessageBody
3182
+ SENSITIVE: []
3183
+ end
3184
+
3185
+ class UpdateTemplateActiveVersionRequest
3186
+ attr_accessor template_active_version_request: Types::TemplateActiveVersionRequest
3187
+ attr_accessor template_name: ::String
3188
+ attr_accessor template_type: ::String
3189
+ SENSITIVE: []
3190
+ end
3191
+
3192
+ class UpdateTemplateActiveVersionResponse
3193
+ attr_accessor message_body: Types::MessageBody
3194
+ SENSITIVE: []
3195
+ end
3196
+
3197
+ class UpdateVoiceChannelRequest
3198
+ attr_accessor application_id: ::String
3199
+ attr_accessor voice_channel_request: Types::VoiceChannelRequest
3200
+ SENSITIVE: []
3201
+ end
3202
+
3203
+ class UpdateVoiceChannelResponse
3204
+ attr_accessor voice_channel_response: Types::VoiceChannelResponse
3205
+ SENSITIVE: []
3206
+ end
3207
+
3208
+ class UpdateVoiceTemplateRequest
3209
+ attr_accessor create_new_version: bool
3210
+ attr_accessor template_name: ::String
3211
+ attr_accessor version: ::String
3212
+ attr_accessor voice_template_request: Types::VoiceTemplateRequest
3213
+ SENSITIVE: []
3214
+ end
3215
+
3216
+ class UpdateVoiceTemplateResponse
3217
+ attr_accessor message_body: Types::MessageBody
3218
+ SENSITIVE: []
3219
+ end
3220
+
3221
+ class VerificationResponse
3222
+ attr_accessor valid: bool
3223
+ SENSITIVE: []
3224
+ end
3225
+
3226
+ class VerifyOTPMessageRequest
3227
+ attr_accessor application_id: ::String
3228
+ attr_accessor verify_otp_message_request_parameters: Types::VerifyOTPMessageRequestParameters
3229
+ SENSITIVE: []
3230
+ end
3231
+
3232
+ class VerifyOTPMessageRequestParameters
3233
+ attr_accessor destination_identity: ::String
3234
+ attr_accessor otp: ::String
3235
+ attr_accessor reference_id: ::String
3236
+ SENSITIVE: []
3237
+ end
3238
+
3239
+ class VerifyOTPMessageResponse
3240
+ attr_accessor verification_response: Types::VerificationResponse
3241
+ SENSITIVE: []
3242
+ end
3243
+
3244
+ class VoiceChannelRequest
3245
+ attr_accessor enabled: bool
3246
+ SENSITIVE: []
3247
+ end
3248
+
3249
+ class VoiceChannelResponse
3250
+ attr_accessor application_id: ::String
3251
+ attr_accessor creation_date: ::String
3252
+ attr_accessor enabled: bool
3253
+ attr_accessor has_credential: bool
3254
+ attr_accessor id: ::String
3255
+ attr_accessor is_archived: bool
3256
+ attr_accessor last_modified_by: ::String
3257
+ attr_accessor last_modified_date: ::String
3258
+ attr_accessor platform: ::String
3259
+ attr_accessor version: ::Integer
3260
+ SENSITIVE: []
3261
+ end
3262
+
3263
+ class VoiceMessage
3264
+ attr_accessor body: ::String
3265
+ attr_accessor language_code: ::String
3266
+ attr_accessor origination_number: ::String
3267
+ attr_accessor substitutions: ::Hash[::String, ::Array[::String]]
3268
+ attr_accessor voice_id: ::String
3269
+ SENSITIVE: []
3270
+ end
3271
+
3272
+ class VoiceTemplateRequest
3273
+ attr_accessor body: ::String
3274
+ attr_accessor default_substitutions: ::String
3275
+ attr_accessor language_code: ::String
3276
+ attr_accessor tags: ::Hash[::String, ::String]
3277
+ attr_accessor template_description: ::String
3278
+ attr_accessor voice_id: ::String
3279
+ SENSITIVE: []
3280
+ end
3281
+
3282
+ class VoiceTemplateResponse
3283
+ attr_accessor arn: ::String
3284
+ attr_accessor body: ::String
3285
+ attr_accessor creation_date: ::String
3286
+ attr_accessor default_substitutions: ::String
3287
+ attr_accessor language_code: ::String
3288
+ attr_accessor last_modified_date: ::String
3289
+ attr_accessor tags: ::Hash[::String, ::String]
3290
+ attr_accessor template_description: ::String
3291
+ attr_accessor template_name: ::String
3292
+ attr_accessor template_type: ("EMAIL" | "SMS" | "VOICE" | "PUSH" | "INAPP")
3293
+ attr_accessor version: ::String
3294
+ attr_accessor voice_id: ::String
3295
+ SENSITIVE: []
3296
+ end
3297
+
3298
+ class WaitActivity
3299
+ attr_accessor next_activity: ::String
3300
+ attr_accessor wait_time: Types::WaitTime
3301
+ SENSITIVE: []
3302
+ end
3303
+
3304
+ class WaitTime
3305
+ attr_accessor wait_for: ::String
3306
+ attr_accessor wait_until: ::String
3307
+ SENSITIVE: []
3308
+ end
3309
+
3310
+ class WriteApplicationSettingsRequest
3311
+ attr_accessor campaign_hook: Types::CampaignHook
3312
+ attr_accessor cloud_watch_metrics_enabled: bool
3313
+ attr_accessor limits: Types::CampaignLimits
3314
+ attr_accessor quiet_time: Types::QuietTime
3315
+ attr_accessor journey_limits: Types::ApplicationSettingsJourneyLimits
3316
+ SENSITIVE: []
3317
+ end
3318
+
3319
+ class WriteCampaignRequest
3320
+ attr_accessor additional_treatments: ::Array[Types::WriteTreatmentResource]
3321
+ attr_accessor custom_delivery_configuration: Types::CustomDeliveryConfiguration
3322
+ attr_accessor description: ::String
3323
+ attr_accessor holdout_percent: ::Integer
3324
+ attr_accessor hook: Types::CampaignHook
3325
+ attr_accessor is_paused: bool
3326
+ attr_accessor limits: Types::CampaignLimits
3327
+ attr_accessor message_configuration: Types::MessageConfiguration
3328
+ attr_accessor name: ::String
3329
+ attr_accessor schedule: Types::Schedule
3330
+ attr_accessor segment_id: ::String
3331
+ attr_accessor segment_version: ::Integer
3332
+ attr_accessor tags: ::Hash[::String, ::String]
3333
+ attr_accessor template_configuration: Types::TemplateConfiguration
3334
+ attr_accessor treatment_description: ::String
3335
+ attr_accessor treatment_name: ::String
3336
+ attr_accessor priority: ::Integer
3337
+ SENSITIVE: []
3338
+ end
3339
+
3340
+ class WriteEventStream
3341
+ attr_accessor destination_stream_arn: ::String
3342
+ attr_accessor role_arn: ::String
3343
+ SENSITIVE: []
3344
+ end
3345
+
3346
+ class WriteJourneyRequest
3347
+ attr_accessor activities: ::Hash[::String, Types::Activity]
3348
+ attr_accessor creation_date: ::String
3349
+ attr_accessor last_modified_date: ::String
3350
+ attr_accessor limits: Types::JourneyLimits
3351
+ attr_accessor local_time: bool
3352
+ attr_accessor name: ::String
3353
+ attr_accessor quiet_time: Types::QuietTime
3354
+ attr_accessor refresh_frequency: ::String
3355
+ attr_accessor schedule: Types::JourneySchedule
3356
+ attr_accessor start_activity: ::String
3357
+ attr_accessor start_condition: Types::StartCondition
3358
+ attr_accessor state: ("DRAFT" | "ACTIVE" | "COMPLETED" | "CANCELLED" | "CLOSED" | "PAUSED")
3359
+ attr_accessor wait_for_quiet_time: bool
3360
+ attr_accessor refresh_on_segment_update: bool
3361
+ attr_accessor journey_channel_settings: Types::JourneyChannelSettings
3362
+ attr_accessor sending_schedule: bool
3363
+ attr_accessor open_hours: Types::OpenHours
3364
+ attr_accessor closed_days: Types::ClosedDays
3365
+ attr_accessor timezone_estimation_methods: ::Array[("PHONE_NUMBER" | "POSTAL_CODE")]
3366
+ SENSITIVE: []
3367
+ end
3368
+
3369
+ class WriteSegmentRequest
3370
+ attr_accessor dimensions: Types::SegmentDimensions
3371
+ attr_accessor name: ::String
3372
+ attr_accessor segment_groups: Types::SegmentGroupList
3373
+ attr_accessor tags: ::Hash[::String, ::String]
3374
+ SENSITIVE: []
3375
+ end
3376
+
3377
+ class WriteTreatmentResource
3378
+ attr_accessor custom_delivery_configuration: Types::CustomDeliveryConfiguration
3379
+ attr_accessor message_configuration: Types::MessageConfiguration
3380
+ attr_accessor schedule: Types::Schedule
3381
+ attr_accessor size_percent: ::Integer
3382
+ attr_accessor template_configuration: Types::TemplateConfiguration
3383
+ attr_accessor treatment_description: ::String
3384
+ attr_accessor treatment_name: ::String
3385
+ SENSITIVE: []
3386
+ end
3387
+
3388
+ class OpenHoursRule
3389
+ attr_accessor start_time: ::String
3390
+ attr_accessor end_time: ::String
3391
+ SENSITIVE: []
3392
+ end
3393
+
3394
+ class OpenHours
3395
+ attr_accessor email: ::Hash[("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY"), ::Array[Types::OpenHoursRule]]
3396
+ attr_accessor sms: ::Hash[("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY"), ::Array[Types::OpenHoursRule]]
3397
+ attr_accessor push: ::Hash[("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY"), ::Array[Types::OpenHoursRule]]
3398
+ attr_accessor voice: ::Hash[("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY"), ::Array[Types::OpenHoursRule]]
3399
+ attr_accessor custom: ::Hash[("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY"), ::Array[Types::OpenHoursRule]]
3400
+ SENSITIVE: []
3401
+ end
3402
+
3403
+ class ClosedDaysRule
3404
+ attr_accessor name: ::String
3405
+ attr_accessor start_date_time: ::String
3406
+ attr_accessor end_date_time: ::String
3407
+ SENSITIVE: []
3408
+ end
3409
+
3410
+ class ClosedDays
3411
+ attr_accessor email: ::Array[Types::ClosedDaysRule]
3412
+ attr_accessor sms: ::Array[Types::ClosedDaysRule]
3413
+ attr_accessor push: ::Array[Types::ClosedDaysRule]
3414
+ attr_accessor voice: ::Array[Types::ClosedDaysRule]
3415
+ attr_accessor custom: ::Array[Types::ClosedDaysRule]
3416
+ SENSITIVE: []
3417
+ end
3418
+ end
3419
+ end