aws-sdk-pinpoint 1.53.0 → 1.57.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-pinpoint/client.rb +1269 -58
- data/lib/aws-sdk-pinpoint/client_api.rb +251 -0
- data/lib/aws-sdk-pinpoint/types.rb +1665 -52
- data/lib/aws-sdk-pinpoint.rb +1 -1
- metadata +6 -7
@@ -31,6 +31,7 @@ module Aws::Pinpoint
|
|
31
31
|
Activity = Shapes::StructureShape.new(name: 'Activity')
|
32
32
|
ActivityResponse = Shapes::StructureShape.new(name: 'ActivityResponse')
|
33
33
|
AddressConfiguration = Shapes::StructureShape.new(name: 'AddressConfiguration')
|
34
|
+
Alignment = Shapes::StringShape.new(name: 'Alignment')
|
34
35
|
AndroidPushNotificationTemplate = Shapes::StructureShape.new(name: 'AndroidPushNotificationTemplate')
|
35
36
|
ApplicationDateRangeKpiResponse = Shapes::StructureShape.new(name: 'ApplicationDateRangeKpiResponse')
|
36
37
|
ApplicationResponse = Shapes::StructureShape.new(name: 'ApplicationResponse')
|
@@ -44,11 +45,13 @@ module Aws::Pinpoint
|
|
44
45
|
BaiduChannelResponse = Shapes::StructureShape.new(name: 'BaiduChannelResponse')
|
45
46
|
BaiduMessage = Shapes::StructureShape.new(name: 'BaiduMessage')
|
46
47
|
BaseKpiResult = Shapes::StructureShape.new(name: 'BaseKpiResult')
|
48
|
+
ButtonAction = Shapes::StringShape.new(name: 'ButtonAction')
|
47
49
|
CampaignCustomMessage = Shapes::StructureShape.new(name: 'CampaignCustomMessage')
|
48
50
|
CampaignDateRangeKpiResponse = Shapes::StructureShape.new(name: 'CampaignDateRangeKpiResponse')
|
49
51
|
CampaignEmailMessage = Shapes::StructureShape.new(name: 'CampaignEmailMessage')
|
50
52
|
CampaignEventFilter = Shapes::StructureShape.new(name: 'CampaignEventFilter')
|
51
53
|
CampaignHook = Shapes::StructureShape.new(name: 'CampaignHook')
|
54
|
+
CampaignInAppMessage = Shapes::StructureShape.new(name: 'CampaignInAppMessage')
|
52
55
|
CampaignLimits = Shapes::StructureShape.new(name: 'CampaignLimits')
|
53
56
|
CampaignResponse = Shapes::StructureShape.new(name: 'CampaignResponse')
|
54
57
|
CampaignSmsMessage = Shapes::StructureShape.new(name: 'CampaignSmsMessage')
|
@@ -72,6 +75,8 @@ module Aws::Pinpoint
|
|
72
75
|
CreateExportJobResponse = Shapes::StructureShape.new(name: 'CreateExportJobResponse')
|
73
76
|
CreateImportJobRequest = Shapes::StructureShape.new(name: 'CreateImportJobRequest')
|
74
77
|
CreateImportJobResponse = Shapes::StructureShape.new(name: 'CreateImportJobResponse')
|
78
|
+
CreateInAppTemplateRequest = Shapes::StructureShape.new(name: 'CreateInAppTemplateRequest')
|
79
|
+
CreateInAppTemplateResponse = Shapes::StructureShape.new(name: 'CreateInAppTemplateResponse')
|
75
80
|
CreateJourneyRequest = Shapes::StructureShape.new(name: 'CreateJourneyRequest')
|
76
81
|
CreateJourneyResponse = Shapes::StructureShape.new(name: 'CreateJourneyResponse')
|
77
82
|
CreatePushTemplateRequest = Shapes::StructureShape.new(name: 'CreatePushTemplateRequest')
|
@@ -88,6 +93,7 @@ module Aws::Pinpoint
|
|
88
93
|
CreateVoiceTemplateResponse = Shapes::StructureShape.new(name: 'CreateVoiceTemplateResponse')
|
89
94
|
CustomDeliveryConfiguration = Shapes::StructureShape.new(name: 'CustomDeliveryConfiguration')
|
90
95
|
CustomMessageActivity = Shapes::StructureShape.new(name: 'CustomMessageActivity')
|
96
|
+
DefaultButtonConfiguration = Shapes::StructureShape.new(name: 'DefaultButtonConfiguration')
|
91
97
|
DefaultMessage = Shapes::StructureShape.new(name: 'DefaultMessage')
|
92
98
|
DefaultPushNotificationMessage = Shapes::StructureShape.new(name: 'DefaultPushNotificationMessage')
|
93
99
|
DefaultPushNotificationTemplate = Shapes::StructureShape.new(name: 'DefaultPushNotificationTemplate')
|
@@ -117,6 +123,8 @@ module Aws::Pinpoint
|
|
117
123
|
DeleteEventStreamResponse = Shapes::StructureShape.new(name: 'DeleteEventStreamResponse')
|
118
124
|
DeleteGcmChannelRequest = Shapes::StructureShape.new(name: 'DeleteGcmChannelRequest')
|
119
125
|
DeleteGcmChannelResponse = Shapes::StructureShape.new(name: 'DeleteGcmChannelResponse')
|
126
|
+
DeleteInAppTemplateRequest = Shapes::StructureShape.new(name: 'DeleteInAppTemplateRequest')
|
127
|
+
DeleteInAppTemplateResponse = Shapes::StructureShape.new(name: 'DeleteInAppTemplateResponse')
|
120
128
|
DeleteJourneyRequest = Shapes::StructureShape.new(name: 'DeleteJourneyRequest')
|
121
129
|
DeleteJourneyResponse = Shapes::StructureShape.new(name: 'DeleteJourneyResponse')
|
122
130
|
DeletePushTemplateRequest = Shapes::StructureShape.new(name: 'DeletePushTemplateRequest')
|
@@ -231,6 +239,10 @@ module Aws::Pinpoint
|
|
231
239
|
GetImportJobResponse = Shapes::StructureShape.new(name: 'GetImportJobResponse')
|
232
240
|
GetImportJobsRequest = Shapes::StructureShape.new(name: 'GetImportJobsRequest')
|
233
241
|
GetImportJobsResponse = Shapes::StructureShape.new(name: 'GetImportJobsResponse')
|
242
|
+
GetInAppMessagesRequest = Shapes::StructureShape.new(name: 'GetInAppMessagesRequest')
|
243
|
+
GetInAppMessagesResponse = Shapes::StructureShape.new(name: 'GetInAppMessagesResponse')
|
244
|
+
GetInAppTemplateRequest = Shapes::StructureShape.new(name: 'GetInAppTemplateRequest')
|
245
|
+
GetInAppTemplateResponse = Shapes::StructureShape.new(name: 'GetInAppTemplateResponse')
|
234
246
|
GetJourneyDateRangeKpiRequest = Shapes::StructureShape.new(name: 'GetJourneyDateRangeKpiRequest')
|
235
247
|
GetJourneyDateRangeKpiResponse = Shapes::StructureShape.new(name: 'GetJourneyDateRangeKpiResponse')
|
236
248
|
GetJourneyExecutionActivityMetricsRequest = Shapes::StructureShape.new(name: 'GetJourneyExecutionActivityMetricsRequest')
|
@@ -272,6 +284,16 @@ module Aws::Pinpoint
|
|
272
284
|
ImportJobResource = Shapes::StructureShape.new(name: 'ImportJobResource')
|
273
285
|
ImportJobResponse = Shapes::StructureShape.new(name: 'ImportJobResponse')
|
274
286
|
ImportJobsResponse = Shapes::StructureShape.new(name: 'ImportJobsResponse')
|
287
|
+
InAppCampaignSchedule = Shapes::StructureShape.new(name: 'InAppCampaignSchedule')
|
288
|
+
InAppMessage = Shapes::StructureShape.new(name: 'InAppMessage')
|
289
|
+
InAppMessageBodyConfig = Shapes::StructureShape.new(name: 'InAppMessageBodyConfig')
|
290
|
+
InAppMessageButton = Shapes::StructureShape.new(name: 'InAppMessageButton')
|
291
|
+
InAppMessageCampaign = Shapes::StructureShape.new(name: 'InAppMessageCampaign')
|
292
|
+
InAppMessageContent = Shapes::StructureShape.new(name: 'InAppMessageContent')
|
293
|
+
InAppMessageHeaderConfig = Shapes::StructureShape.new(name: 'InAppMessageHeaderConfig')
|
294
|
+
InAppMessagesResponse = Shapes::StructureShape.new(name: 'InAppMessagesResponse')
|
295
|
+
InAppTemplateRequest = Shapes::StructureShape.new(name: 'InAppTemplateRequest')
|
296
|
+
InAppTemplateResponse = Shapes::StructureShape.new(name: 'InAppTemplateResponse')
|
275
297
|
Include = Shapes::StringShape.new(name: 'Include')
|
276
298
|
InternalServerErrorException = Shapes::StructureShape.new(name: 'InternalServerErrorException')
|
277
299
|
ItemResponse = Shapes::StructureShape.new(name: 'ItemResponse')
|
@@ -288,6 +310,7 @@ module Aws::Pinpoint
|
|
288
310
|
JourneySchedule = Shapes::StructureShape.new(name: 'JourneySchedule')
|
289
311
|
JourneyStateRequest = Shapes::StructureShape.new(name: 'JourneyStateRequest')
|
290
312
|
JourneysResponse = Shapes::StructureShape.new(name: 'JourneysResponse')
|
313
|
+
Layout = Shapes::StringShape.new(name: 'Layout')
|
291
314
|
ListJourneysRequest = Shapes::StructureShape.new(name: 'ListJourneysRequest')
|
292
315
|
ListJourneysResponse = Shapes::StructureShape.new(name: 'ListJourneysResponse')
|
293
316
|
ListOfActivityResponse = Shapes::ListShape.new(name: 'ListOfActivityResponse')
|
@@ -297,6 +320,8 @@ module Aws::Pinpoint
|
|
297
320
|
ListOfEndpointResponse = Shapes::ListShape.new(name: 'ListOfEndpointResponse')
|
298
321
|
ListOfExportJobResponse = Shapes::ListShape.new(name: 'ListOfExportJobResponse')
|
299
322
|
ListOfImportJobResponse = Shapes::ListShape.new(name: 'ListOfImportJobResponse')
|
323
|
+
ListOfInAppMessageCampaign = Shapes::ListShape.new(name: 'ListOfInAppMessageCampaign')
|
324
|
+
ListOfInAppMessageContent = Shapes::ListShape.new(name: 'ListOfInAppMessageContent')
|
300
325
|
ListOfJourneyResponse = Shapes::ListShape.new(name: 'ListOfJourneyResponse')
|
301
326
|
ListOfMultiConditionalBranch = Shapes::ListShape.new(name: 'ListOfMultiConditionalBranch')
|
302
327
|
ListOfRandomSplitEntry = Shapes::ListShape.new(name: 'ListOfRandomSplitEntry')
|
@@ -354,6 +379,7 @@ module Aws::Pinpoint
|
|
354
379
|
NumberValidateRequest = Shapes::StructureShape.new(name: 'NumberValidateRequest')
|
355
380
|
NumberValidateResponse = Shapes::StructureShape.new(name: 'NumberValidateResponse')
|
356
381
|
Operator = Shapes::StringShape.new(name: 'Operator')
|
382
|
+
OverrideButtonConfiguration = Shapes::StructureShape.new(name: 'OverrideButtonConfiguration')
|
357
383
|
PayloadTooLargeException = Shapes::StructureShape.new(name: 'PayloadTooLargeException')
|
358
384
|
PhoneNumberValidateRequest = Shapes::StructureShape.new(name: 'PhoneNumberValidateRequest')
|
359
385
|
PhoneNumberValidateResponse = Shapes::StructureShape.new(name: 'PhoneNumberValidateResponse')
|
@@ -414,6 +440,7 @@ module Aws::Pinpoint
|
|
414
440
|
Template = Shapes::StructureShape.new(name: 'Template')
|
415
441
|
TemplateActiveVersionRequest = Shapes::StructureShape.new(name: 'TemplateActiveVersionRequest')
|
416
442
|
TemplateConfiguration = Shapes::StructureShape.new(name: 'TemplateConfiguration')
|
443
|
+
TemplateCreateMessageBody = Shapes::StructureShape.new(name: 'TemplateCreateMessageBody')
|
417
444
|
TemplateResponse = Shapes::StructureShape.new(name: 'TemplateResponse')
|
418
445
|
TemplateType = Shapes::StringShape.new(name: 'TemplateType')
|
419
446
|
TemplateVersionResponse = Shapes::StructureShape.new(name: 'TemplateVersionResponse')
|
@@ -450,6 +477,8 @@ module Aws::Pinpoint
|
|
450
477
|
UpdateEndpointsBatchResponse = Shapes::StructureShape.new(name: 'UpdateEndpointsBatchResponse')
|
451
478
|
UpdateGcmChannelRequest = Shapes::StructureShape.new(name: 'UpdateGcmChannelRequest')
|
452
479
|
UpdateGcmChannelResponse = Shapes::StructureShape.new(name: 'UpdateGcmChannelResponse')
|
480
|
+
UpdateInAppTemplateRequest = Shapes::StructureShape.new(name: 'UpdateInAppTemplateRequest')
|
481
|
+
UpdateInAppTemplateResponse = Shapes::StructureShape.new(name: 'UpdateInAppTemplateResponse')
|
453
482
|
UpdateJourneyRequest = Shapes::StructureShape.new(name: 'UpdateJourneyRequest')
|
454
483
|
UpdateJourneyResponse = Shapes::StructureShape.new(name: 'UpdateJourneyResponse')
|
455
484
|
UpdateJourneyStateRequest = Shapes::StructureShape.new(name: 'UpdateJourneyStateRequest')
|
@@ -806,10 +835,17 @@ module Aws::Pinpoint
|
|
806
835
|
CampaignHook.add_member(:web_url, Shapes::ShapeRef.new(shape: __string, location_name: "WebUrl"))
|
807
836
|
CampaignHook.struct_class = Types::CampaignHook
|
808
837
|
|
838
|
+
CampaignInAppMessage.add_member(:body, Shapes::ShapeRef.new(shape: __string, location_name: "Body"))
|
839
|
+
CampaignInAppMessage.add_member(:content, Shapes::ShapeRef.new(shape: ListOfInAppMessageContent, location_name: "Content"))
|
840
|
+
CampaignInAppMessage.add_member(:custom_config, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "CustomConfig"))
|
841
|
+
CampaignInAppMessage.add_member(:layout, Shapes::ShapeRef.new(shape: Layout, location_name: "Layout"))
|
842
|
+
CampaignInAppMessage.struct_class = Types::CampaignInAppMessage
|
843
|
+
|
809
844
|
CampaignLimits.add_member(:daily, Shapes::ShapeRef.new(shape: __integer, location_name: "Daily"))
|
810
845
|
CampaignLimits.add_member(:maximum_duration, Shapes::ShapeRef.new(shape: __integer, location_name: "MaximumDuration"))
|
811
846
|
CampaignLimits.add_member(:messages_per_second, Shapes::ShapeRef.new(shape: __integer, location_name: "MessagesPerSecond"))
|
812
847
|
CampaignLimits.add_member(:total, Shapes::ShapeRef.new(shape: __integer, location_name: "Total"))
|
848
|
+
CampaignLimits.add_member(:session, Shapes::ShapeRef.new(shape: __integer, location_name: "Session"))
|
813
849
|
CampaignLimits.struct_class = Types::CampaignLimits
|
814
850
|
|
815
851
|
CampaignResponse.add_member(:additional_treatments, Shapes::ShapeRef.new(shape: ListOfTreatmentResource, location_name: "AdditionalTreatments"))
|
@@ -836,6 +872,7 @@ module Aws::Pinpoint
|
|
836
872
|
CampaignResponse.add_member(:treatment_description, Shapes::ShapeRef.new(shape: __string, location_name: "TreatmentDescription"))
|
837
873
|
CampaignResponse.add_member(:treatment_name, Shapes::ShapeRef.new(shape: __string, location_name: "TreatmentName"))
|
838
874
|
CampaignResponse.add_member(:version, Shapes::ShapeRef.new(shape: __integer, location_name: "Version"))
|
875
|
+
CampaignResponse.add_member(:priority, Shapes::ShapeRef.new(shape: __integer, location_name: "Priority"))
|
839
876
|
CampaignResponse.struct_class = Types::CampaignResponse
|
840
877
|
|
841
878
|
CampaignSmsMessage.add_member(:body, Shapes::ShapeRef.new(shape: __string, location_name: "Body"))
|
@@ -939,6 +976,17 @@ module Aws::Pinpoint
|
|
939
976
|
CreateImportJobResponse[:payload] = :import_job_response
|
940
977
|
CreateImportJobResponse[:payload_member] = CreateImportJobResponse.member(:import_job_response)
|
941
978
|
|
979
|
+
CreateInAppTemplateRequest.add_member(:in_app_template_request, Shapes::ShapeRef.new(shape: InAppTemplateRequest, required: true, location_name: "InAppTemplateRequest"))
|
980
|
+
CreateInAppTemplateRequest.add_member(:template_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "template-name"))
|
981
|
+
CreateInAppTemplateRequest.struct_class = Types::CreateInAppTemplateRequest
|
982
|
+
CreateInAppTemplateRequest[:payload] = :in_app_template_request
|
983
|
+
CreateInAppTemplateRequest[:payload_member] = CreateInAppTemplateRequest.member(:in_app_template_request)
|
984
|
+
|
985
|
+
CreateInAppTemplateResponse.add_member(:template_create_message_body, Shapes::ShapeRef.new(shape: TemplateCreateMessageBody, required: true, location_name: "TemplateCreateMessageBody"))
|
986
|
+
CreateInAppTemplateResponse.struct_class = Types::CreateInAppTemplateResponse
|
987
|
+
CreateInAppTemplateResponse[:payload] = :template_create_message_body
|
988
|
+
CreateInAppTemplateResponse[:payload_member] = CreateInAppTemplateResponse.member(:template_create_message_body)
|
989
|
+
|
942
990
|
CreateJourneyRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
|
943
991
|
CreateJourneyRequest.add_member(:write_journey_request, Shapes::ShapeRef.new(shape: WriteJourneyRequest, required: true, location_name: "WriteJourneyRequest"))
|
944
992
|
CreateJourneyRequest.struct_class = Types::CreateJourneyRequest
|
@@ -1032,6 +1080,14 @@ module Aws::Pinpoint
|
|
1032
1080
|
CustomMessageActivity.add_member(:template_version, Shapes::ShapeRef.new(shape: __string, location_name: "TemplateVersion"))
|
1033
1081
|
CustomMessageActivity.struct_class = Types::CustomMessageActivity
|
1034
1082
|
|
1083
|
+
DefaultButtonConfiguration.add_member(:background_color, Shapes::ShapeRef.new(shape: __string, location_name: "BackgroundColor"))
|
1084
|
+
DefaultButtonConfiguration.add_member(:border_radius, Shapes::ShapeRef.new(shape: __integer, location_name: "BorderRadius"))
|
1085
|
+
DefaultButtonConfiguration.add_member(:button_action, Shapes::ShapeRef.new(shape: ButtonAction, required: true, location_name: "ButtonAction"))
|
1086
|
+
DefaultButtonConfiguration.add_member(:link, Shapes::ShapeRef.new(shape: __string, location_name: "Link"))
|
1087
|
+
DefaultButtonConfiguration.add_member(:text, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Text"))
|
1088
|
+
DefaultButtonConfiguration.add_member(:text_color, Shapes::ShapeRef.new(shape: __string, location_name: "TextColor"))
|
1089
|
+
DefaultButtonConfiguration.struct_class = Types::DefaultButtonConfiguration
|
1090
|
+
|
1035
1091
|
DefaultMessage.add_member(:body, Shapes::ShapeRef.new(shape: __string, location_name: "Body"))
|
1036
1092
|
DefaultMessage.add_member(:substitutions, Shapes::ShapeRef.new(shape: MapOfListOf__string, location_name: "Substitutions"))
|
1037
1093
|
DefaultMessage.struct_class = Types::DefaultMessage
|
@@ -1159,6 +1215,15 @@ module Aws::Pinpoint
|
|
1159
1215
|
DeleteGcmChannelResponse[:payload] = :gcm_channel_response
|
1160
1216
|
DeleteGcmChannelResponse[:payload_member] = DeleteGcmChannelResponse.member(:gcm_channel_response)
|
1161
1217
|
|
1218
|
+
DeleteInAppTemplateRequest.add_member(:template_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "template-name"))
|
1219
|
+
DeleteInAppTemplateRequest.add_member(:version, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "version"))
|
1220
|
+
DeleteInAppTemplateRequest.struct_class = Types::DeleteInAppTemplateRequest
|
1221
|
+
|
1222
|
+
DeleteInAppTemplateResponse.add_member(:message_body, Shapes::ShapeRef.new(shape: MessageBody, required: true, location_name: "MessageBody"))
|
1223
|
+
DeleteInAppTemplateResponse.struct_class = Types::DeleteInAppTemplateResponse
|
1224
|
+
DeleteInAppTemplateResponse[:payload] = :message_body
|
1225
|
+
DeleteInAppTemplateResponse[:payload_member] = DeleteInAppTemplateResponse.member(:message_body)
|
1226
|
+
|
1162
1227
|
DeleteJourneyRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
|
1163
1228
|
DeleteJourneyRequest.add_member(:journey_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "journey-id"))
|
1164
1229
|
DeleteJourneyRequest.struct_class = Types::DeleteJourneyRequest
|
@@ -1771,6 +1836,24 @@ module Aws::Pinpoint
|
|
1771
1836
|
GetImportJobsResponse[:payload] = :import_jobs_response
|
1772
1837
|
GetImportJobsResponse[:payload_member] = GetImportJobsResponse.member(:import_jobs_response)
|
1773
1838
|
|
1839
|
+
GetInAppMessagesRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
|
1840
|
+
GetInAppMessagesRequest.add_member(:endpoint_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "endpoint-id"))
|
1841
|
+
GetInAppMessagesRequest.struct_class = Types::GetInAppMessagesRequest
|
1842
|
+
|
1843
|
+
GetInAppMessagesResponse.add_member(:in_app_messages_response, Shapes::ShapeRef.new(shape: InAppMessagesResponse, required: true, location_name: "InAppMessagesResponse"))
|
1844
|
+
GetInAppMessagesResponse.struct_class = Types::GetInAppMessagesResponse
|
1845
|
+
GetInAppMessagesResponse[:payload] = :in_app_messages_response
|
1846
|
+
GetInAppMessagesResponse[:payload_member] = GetInAppMessagesResponse.member(:in_app_messages_response)
|
1847
|
+
|
1848
|
+
GetInAppTemplateRequest.add_member(:template_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "template-name"))
|
1849
|
+
GetInAppTemplateRequest.add_member(:version, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "version"))
|
1850
|
+
GetInAppTemplateRequest.struct_class = Types::GetInAppTemplateRequest
|
1851
|
+
|
1852
|
+
GetInAppTemplateResponse.add_member(:in_app_template_response, Shapes::ShapeRef.new(shape: InAppTemplateResponse, required: true, location_name: "InAppTemplateResponse"))
|
1853
|
+
GetInAppTemplateResponse.struct_class = Types::GetInAppTemplateResponse
|
1854
|
+
GetInAppTemplateResponse[:payload] = :in_app_template_response
|
1855
|
+
GetInAppTemplateResponse[:payload_member] = GetInAppTemplateResponse.member(:in_app_template_response)
|
1856
|
+
|
1774
1857
|
GetJourneyDateRangeKpiRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
|
1775
1858
|
GetJourneyDateRangeKpiRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: __timestampIso8601, location: "querystring", location_name: "end-time"))
|
1776
1859
|
GetJourneyDateRangeKpiRequest.add_member(:journey_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "journey-id"))
|
@@ -1991,6 +2074,73 @@ module Aws::Pinpoint
|
|
1991
2074
|
ImportJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "NextToken"))
|
1992
2075
|
ImportJobsResponse.struct_class = Types::ImportJobsResponse
|
1993
2076
|
|
2077
|
+
InAppCampaignSchedule.add_member(:end_date, Shapes::ShapeRef.new(shape: __string, location_name: "EndDate"))
|
2078
|
+
InAppCampaignSchedule.add_member(:event_filter, Shapes::ShapeRef.new(shape: CampaignEventFilter, location_name: "EventFilter"))
|
2079
|
+
InAppCampaignSchedule.add_member(:quiet_time, Shapes::ShapeRef.new(shape: QuietTime, location_name: "QuietTime"))
|
2080
|
+
InAppCampaignSchedule.struct_class = Types::InAppCampaignSchedule
|
2081
|
+
|
2082
|
+
InAppMessage.add_member(:content, Shapes::ShapeRef.new(shape: ListOfInAppMessageContent, location_name: "Content"))
|
2083
|
+
InAppMessage.add_member(:custom_config, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "CustomConfig"))
|
2084
|
+
InAppMessage.add_member(:layout, Shapes::ShapeRef.new(shape: Layout, location_name: "Layout"))
|
2085
|
+
InAppMessage.struct_class = Types::InAppMessage
|
2086
|
+
|
2087
|
+
InAppMessageBodyConfig.add_member(:alignment, Shapes::ShapeRef.new(shape: Alignment, required: true, location_name: "Alignment"))
|
2088
|
+
InAppMessageBodyConfig.add_member(:body, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Body"))
|
2089
|
+
InAppMessageBodyConfig.add_member(:text_color, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "TextColor"))
|
2090
|
+
InAppMessageBodyConfig.struct_class = Types::InAppMessageBodyConfig
|
2091
|
+
|
2092
|
+
InAppMessageButton.add_member(:android, Shapes::ShapeRef.new(shape: OverrideButtonConfiguration, location_name: "Android"))
|
2093
|
+
InAppMessageButton.add_member(:default_config, Shapes::ShapeRef.new(shape: DefaultButtonConfiguration, location_name: "DefaultConfig"))
|
2094
|
+
InAppMessageButton.add_member(:ios, Shapes::ShapeRef.new(shape: OverrideButtonConfiguration, location_name: "IOS"))
|
2095
|
+
InAppMessageButton.add_member(:web, Shapes::ShapeRef.new(shape: OverrideButtonConfiguration, location_name: "Web"))
|
2096
|
+
InAppMessageButton.struct_class = Types::InAppMessageButton
|
2097
|
+
|
2098
|
+
InAppMessageCampaign.add_member(:campaign_id, Shapes::ShapeRef.new(shape: __string, location_name: "CampaignId"))
|
2099
|
+
InAppMessageCampaign.add_member(:daily_cap, Shapes::ShapeRef.new(shape: __integer, location_name: "DailyCap"))
|
2100
|
+
InAppMessageCampaign.add_member(:in_app_message, Shapes::ShapeRef.new(shape: InAppMessage, location_name: "InAppMessage"))
|
2101
|
+
InAppMessageCampaign.add_member(:priority, Shapes::ShapeRef.new(shape: __integer, location_name: "Priority"))
|
2102
|
+
InAppMessageCampaign.add_member(:schedule, Shapes::ShapeRef.new(shape: InAppCampaignSchedule, location_name: "Schedule"))
|
2103
|
+
InAppMessageCampaign.add_member(:session_cap, Shapes::ShapeRef.new(shape: __integer, location_name: "SessionCap"))
|
2104
|
+
InAppMessageCampaign.add_member(:total_cap, Shapes::ShapeRef.new(shape: __integer, location_name: "TotalCap"))
|
2105
|
+
InAppMessageCampaign.add_member(:treatment_id, Shapes::ShapeRef.new(shape: __string, location_name: "TreatmentId"))
|
2106
|
+
InAppMessageCampaign.struct_class = Types::InAppMessageCampaign
|
2107
|
+
|
2108
|
+
InAppMessageContent.add_member(:background_color, Shapes::ShapeRef.new(shape: __string, location_name: "BackgroundColor"))
|
2109
|
+
InAppMessageContent.add_member(:body_config, Shapes::ShapeRef.new(shape: InAppMessageBodyConfig, location_name: "BodyConfig"))
|
2110
|
+
InAppMessageContent.add_member(:header_config, Shapes::ShapeRef.new(shape: InAppMessageHeaderConfig, location_name: "HeaderConfig"))
|
2111
|
+
InAppMessageContent.add_member(:image_url, Shapes::ShapeRef.new(shape: __string, location_name: "ImageUrl"))
|
2112
|
+
InAppMessageContent.add_member(:primary_btn, Shapes::ShapeRef.new(shape: InAppMessageButton, location_name: "PrimaryBtn"))
|
2113
|
+
InAppMessageContent.add_member(:secondary_btn, Shapes::ShapeRef.new(shape: InAppMessageButton, location_name: "SecondaryBtn"))
|
2114
|
+
InAppMessageContent.struct_class = Types::InAppMessageContent
|
2115
|
+
|
2116
|
+
InAppMessageHeaderConfig.add_member(:alignment, Shapes::ShapeRef.new(shape: Alignment, required: true, location_name: "Alignment"))
|
2117
|
+
InAppMessageHeaderConfig.add_member(:header, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Header"))
|
2118
|
+
InAppMessageHeaderConfig.add_member(:text_color, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "TextColor"))
|
2119
|
+
InAppMessageHeaderConfig.struct_class = Types::InAppMessageHeaderConfig
|
2120
|
+
|
2121
|
+
InAppMessagesResponse.add_member(:in_app_message_campaigns, Shapes::ShapeRef.new(shape: ListOfInAppMessageCampaign, location_name: "InAppMessageCampaigns"))
|
2122
|
+
InAppMessagesResponse.struct_class = Types::InAppMessagesResponse
|
2123
|
+
|
2124
|
+
InAppTemplateRequest.add_member(:content, Shapes::ShapeRef.new(shape: ListOfInAppMessageContent, location_name: "Content"))
|
2125
|
+
InAppTemplateRequest.add_member(:custom_config, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "CustomConfig"))
|
2126
|
+
InAppTemplateRequest.add_member(:layout, Shapes::ShapeRef.new(shape: Layout, location_name: "Layout"))
|
2127
|
+
InAppTemplateRequest.add_member(:tags, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "tags"))
|
2128
|
+
InAppTemplateRequest.add_member(:template_description, Shapes::ShapeRef.new(shape: __string, location_name: "TemplateDescription"))
|
2129
|
+
InAppTemplateRequest.struct_class = Types::InAppTemplateRequest
|
2130
|
+
|
2131
|
+
InAppTemplateResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "Arn"))
|
2132
|
+
InAppTemplateResponse.add_member(:content, Shapes::ShapeRef.new(shape: ListOfInAppMessageContent, location_name: "Content"))
|
2133
|
+
InAppTemplateResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "CreationDate"))
|
2134
|
+
InAppTemplateResponse.add_member(:custom_config, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "CustomConfig"))
|
2135
|
+
InAppTemplateResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "LastModifiedDate"))
|
2136
|
+
InAppTemplateResponse.add_member(:layout, Shapes::ShapeRef.new(shape: Layout, location_name: "Layout"))
|
2137
|
+
InAppTemplateResponse.add_member(:tags, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "tags"))
|
2138
|
+
InAppTemplateResponse.add_member(:template_description, Shapes::ShapeRef.new(shape: __string, location_name: "TemplateDescription"))
|
2139
|
+
InAppTemplateResponse.add_member(:template_name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "TemplateName"))
|
2140
|
+
InAppTemplateResponse.add_member(:template_type, Shapes::ShapeRef.new(shape: TemplateType, required: true, location_name: "TemplateType"))
|
2141
|
+
InAppTemplateResponse.add_member(:version, Shapes::ShapeRef.new(shape: __string, location_name: "Version"))
|
2142
|
+
InAppTemplateResponse.struct_class = Types::InAppTemplateResponse
|
2143
|
+
|
1994
2144
|
InternalServerErrorException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "Message"))
|
1995
2145
|
InternalServerErrorException.add_member(:request_id, Shapes::ShapeRef.new(shape: __string, location_name: "RequestID"))
|
1996
2146
|
InternalServerErrorException.struct_class = Types::InternalServerErrorException
|
@@ -2097,6 +2247,10 @@ module Aws::Pinpoint
|
|
2097
2247
|
|
2098
2248
|
ListOfImportJobResponse.member = Shapes::ShapeRef.new(shape: ImportJobResponse)
|
2099
2249
|
|
2250
|
+
ListOfInAppMessageCampaign.member = Shapes::ShapeRef.new(shape: InAppMessageCampaign)
|
2251
|
+
|
2252
|
+
ListOfInAppMessageContent.member = Shapes::ShapeRef.new(shape: InAppMessageContent)
|
2253
|
+
|
2100
2254
|
ListOfJourneyResponse.member = Shapes::ShapeRef.new(shape: JourneyResponse)
|
2101
2255
|
|
2102
2256
|
ListOfMultiConditionalBranch.member = Shapes::ShapeRef.new(shape: MultiConditionalBranch)
|
@@ -2242,6 +2396,7 @@ module Aws::Pinpoint
|
|
2242
2396
|
MessageConfiguration.add_member(:email_message, Shapes::ShapeRef.new(shape: CampaignEmailMessage, location_name: "EmailMessage"))
|
2243
2397
|
MessageConfiguration.add_member(:gcm_message, Shapes::ShapeRef.new(shape: Message, location_name: "GCMMessage"))
|
2244
2398
|
MessageConfiguration.add_member(:sms_message, Shapes::ShapeRef.new(shape: CampaignSmsMessage, location_name: "SMSMessage"))
|
2399
|
+
MessageConfiguration.add_member(:in_app_message, Shapes::ShapeRef.new(shape: CampaignInAppMessage, location_name: "InAppMessage"))
|
2245
2400
|
MessageConfiguration.struct_class = Types::MessageConfiguration
|
2246
2401
|
|
2247
2402
|
MessageRequest.add_member(:addresses, Shapes::ShapeRef.new(shape: MapOfAddressConfiguration, location_name: "Addresses"))
|
@@ -2306,6 +2461,10 @@ module Aws::Pinpoint
|
|
2306
2461
|
NumberValidateResponse.add_member(:zip_code, Shapes::ShapeRef.new(shape: __string, location_name: "ZipCode"))
|
2307
2462
|
NumberValidateResponse.struct_class = Types::NumberValidateResponse
|
2308
2463
|
|
2464
|
+
OverrideButtonConfiguration.add_member(:button_action, Shapes::ShapeRef.new(shape: ButtonAction, required: true, location_name: "ButtonAction"))
|
2465
|
+
OverrideButtonConfiguration.add_member(:link, Shapes::ShapeRef.new(shape: __string, location_name: "Link"))
|
2466
|
+
OverrideButtonConfiguration.struct_class = Types::OverrideButtonConfiguration
|
2467
|
+
|
2309
2468
|
PayloadTooLargeException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "Message"))
|
2310
2469
|
PayloadTooLargeException.add_member(:request_id, Shapes::ShapeRef.new(shape: __string, location_name: "RequestID"))
|
2311
2470
|
PayloadTooLargeException.struct_class = Types::PayloadTooLargeException
|
@@ -2660,6 +2819,11 @@ module Aws::Pinpoint
|
|
2660
2819
|
TemplateConfiguration.add_member(:voice_template, Shapes::ShapeRef.new(shape: Template, location_name: "VoiceTemplate"))
|
2661
2820
|
TemplateConfiguration.struct_class = Types::TemplateConfiguration
|
2662
2821
|
|
2822
|
+
TemplateCreateMessageBody.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "Arn"))
|
2823
|
+
TemplateCreateMessageBody.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "Message"))
|
2824
|
+
TemplateCreateMessageBody.add_member(:request_id, Shapes::ShapeRef.new(shape: __string, location_name: "RequestID"))
|
2825
|
+
TemplateCreateMessageBody.struct_class = Types::TemplateCreateMessageBody
|
2826
|
+
|
2663
2827
|
TemplateResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "Arn"))
|
2664
2828
|
TemplateResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "CreationDate"))
|
2665
2829
|
TemplateResponse.add_member(:default_substitutions, Shapes::ShapeRef.new(shape: __string, location_name: "DefaultSubstitutions"))
|
@@ -2859,6 +3023,19 @@ module Aws::Pinpoint
|
|
2859
3023
|
UpdateGcmChannelResponse[:payload] = :gcm_channel_response
|
2860
3024
|
UpdateGcmChannelResponse[:payload_member] = UpdateGcmChannelResponse.member(:gcm_channel_response)
|
2861
3025
|
|
3026
|
+
UpdateInAppTemplateRequest.add_member(:create_new_version, Shapes::ShapeRef.new(shape: __boolean, location: "querystring", location_name: "create-new-version"))
|
3027
|
+
UpdateInAppTemplateRequest.add_member(:in_app_template_request, Shapes::ShapeRef.new(shape: InAppTemplateRequest, required: true, location_name: "InAppTemplateRequest"))
|
3028
|
+
UpdateInAppTemplateRequest.add_member(:template_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "template-name"))
|
3029
|
+
UpdateInAppTemplateRequest.add_member(:version, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "version"))
|
3030
|
+
UpdateInAppTemplateRequest.struct_class = Types::UpdateInAppTemplateRequest
|
3031
|
+
UpdateInAppTemplateRequest[:payload] = :in_app_template_request
|
3032
|
+
UpdateInAppTemplateRequest[:payload_member] = UpdateInAppTemplateRequest.member(:in_app_template_request)
|
3033
|
+
|
3034
|
+
UpdateInAppTemplateResponse.add_member(:message_body, Shapes::ShapeRef.new(shape: MessageBody, required: true, location_name: "MessageBody"))
|
3035
|
+
UpdateInAppTemplateResponse.struct_class = Types::UpdateInAppTemplateResponse
|
3036
|
+
UpdateInAppTemplateResponse[:payload] = :message_body
|
3037
|
+
UpdateInAppTemplateResponse[:payload_member] = UpdateInAppTemplateResponse.member(:message_body)
|
3038
|
+
|
2862
3039
|
UpdateJourneyRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
|
2863
3040
|
UpdateJourneyRequest.add_member(:journey_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "journey-id"))
|
2864
3041
|
UpdateJourneyRequest.add_member(:write_journey_request, Shapes::ShapeRef.new(shape: WriteJourneyRequest, required: true, location_name: "WriteJourneyRequest"))
|
@@ -3064,6 +3241,7 @@ module Aws::Pinpoint
|
|
3064
3241
|
WriteCampaignRequest.add_member(:template_configuration, Shapes::ShapeRef.new(shape: TemplateConfiguration, location_name: "TemplateConfiguration"))
|
3065
3242
|
WriteCampaignRequest.add_member(:treatment_description, Shapes::ShapeRef.new(shape: __string, location_name: "TreatmentDescription"))
|
3066
3243
|
WriteCampaignRequest.add_member(:treatment_name, Shapes::ShapeRef.new(shape: __string, location_name: "TreatmentName"))
|
3244
|
+
WriteCampaignRequest.add_member(:priority, Shapes::ShapeRef.new(shape: __integer, location_name: "Priority"))
|
3067
3245
|
WriteCampaignRequest.struct_class = Types::WriteCampaignRequest
|
3068
3246
|
|
3069
3247
|
WriteEventStream.add_member(:destination_stream_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "DestinationStreamArn"))
|
@@ -3192,6 +3370,19 @@ module Aws::Pinpoint
|
|
3192
3370
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
3193
3371
|
end)
|
3194
3372
|
|
3373
|
+
api.add_operation(:create_in_app_template, Seahorse::Model::Operation.new.tap do |o|
|
3374
|
+
o.name = "CreateInAppTemplate"
|
3375
|
+
o.http_method = "POST"
|
3376
|
+
o.http_request_uri = "/v1/templates/{template-name}/inapp"
|
3377
|
+
o.input = Shapes::ShapeRef.new(shape: CreateInAppTemplateRequest)
|
3378
|
+
o.output = Shapes::ShapeRef.new(shape: CreateInAppTemplateResponse)
|
3379
|
+
o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
|
3380
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
3381
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
3382
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
3383
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
3384
|
+
end)
|
3385
|
+
|
3195
3386
|
api.add_operation(:create_journey, Seahorse::Model::Operation.new.tap do |o|
|
3196
3387
|
o.name = "CreateJourney"
|
3197
3388
|
o.http_method = "POST"
|
@@ -3471,6 +3662,21 @@ module Aws::Pinpoint
|
|
3471
3662
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
3472
3663
|
end)
|
3473
3664
|
|
3665
|
+
api.add_operation(:delete_in_app_template, Seahorse::Model::Operation.new.tap do |o|
|
3666
|
+
o.name = "DeleteInAppTemplate"
|
3667
|
+
o.http_method = "DELETE"
|
3668
|
+
o.http_request_uri = "/v1/templates/{template-name}/inapp"
|
3669
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteInAppTemplateRequest)
|
3670
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteInAppTemplateResponse)
|
3671
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
3672
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
3673
|
+
o.errors << Shapes::ShapeRef.new(shape: PayloadTooLargeException)
|
3674
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
3675
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
3676
|
+
o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
|
3677
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
3678
|
+
end)
|
3679
|
+
|
3474
3680
|
api.add_operation(:delete_journey, Seahorse::Model::Operation.new.tap do |o|
|
3475
3681
|
o.name = "DeleteJourney"
|
3476
3682
|
o.http_method = "DELETE"
|
@@ -3996,6 +4202,36 @@ module Aws::Pinpoint
|
|
3996
4202
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
3997
4203
|
end)
|
3998
4204
|
|
4205
|
+
api.add_operation(:get_in_app_messages, Seahorse::Model::Operation.new.tap do |o|
|
4206
|
+
o.name = "GetInAppMessages"
|
4207
|
+
o.http_method = "GET"
|
4208
|
+
o.http_request_uri = "/v1/apps/{application-id}/endpoints/{endpoint-id}/inappmessages"
|
4209
|
+
o.input = Shapes::ShapeRef.new(shape: GetInAppMessagesRequest)
|
4210
|
+
o.output = Shapes::ShapeRef.new(shape: GetInAppMessagesResponse)
|
4211
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
4212
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
4213
|
+
o.errors << Shapes::ShapeRef.new(shape: PayloadTooLargeException)
|
4214
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
4215
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
4216
|
+
o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
|
4217
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
4218
|
+
end)
|
4219
|
+
|
4220
|
+
api.add_operation(:get_in_app_template, Seahorse::Model::Operation.new.tap do |o|
|
4221
|
+
o.name = "GetInAppTemplate"
|
4222
|
+
o.http_method = "GET"
|
4223
|
+
o.http_request_uri = "/v1/templates/{template-name}/inapp"
|
4224
|
+
o.input = Shapes::ShapeRef.new(shape: GetInAppTemplateRequest)
|
4225
|
+
o.output = Shapes::ShapeRef.new(shape: GetInAppTemplateResponse)
|
4226
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
4227
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
4228
|
+
o.errors << Shapes::ShapeRef.new(shape: PayloadTooLargeException)
|
4229
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
4230
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
4231
|
+
o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
|
4232
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
4233
|
+
end)
|
4234
|
+
|
3999
4235
|
api.add_operation(:get_journey, Seahorse::Model::Operation.new.tap do |o|
|
4000
4236
|
o.name = "GetJourney"
|
4001
4237
|
o.http_method = "GET"
|
@@ -4618,6 +4854,21 @@ module Aws::Pinpoint
|
|
4618
4854
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
4619
4855
|
end)
|
4620
4856
|
|
4857
|
+
api.add_operation(:update_in_app_template, Seahorse::Model::Operation.new.tap do |o|
|
4858
|
+
o.name = "UpdateInAppTemplate"
|
4859
|
+
o.http_method = "PUT"
|
4860
|
+
o.http_request_uri = "/v1/templates/{template-name}/inapp"
|
4861
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateInAppTemplateRequest)
|
4862
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateInAppTemplateResponse)
|
4863
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
4864
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
4865
|
+
o.errors << Shapes::ShapeRef.new(shape: PayloadTooLargeException)
|
4866
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
4867
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
4868
|
+
o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
|
4869
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
4870
|
+
end)
|
4871
|
+
|
4621
4872
|
api.add_operation(:update_journey, Seahorse::Model::Operation.new.tap do |o|
|
4622
4873
|
o.name = "UpdateJourney"
|
4623
4874
|
o.http_method = "PUT"
|
@@ -1252,7 +1252,7 @@ module Aws::Pinpoint
|
|
1252
1252
|
# {
|
1253
1253
|
# custom: {
|
1254
1254
|
# delivery_uri: "__string",
|
1255
|
-
# endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
1255
|
+
# endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
|
1256
1256
|
# message_config: {
|
1257
1257
|
# data: "__string",
|
1258
1258
|
# },
|
@@ -1682,7 +1682,7 @@ module Aws::Pinpoint
|
|
1682
1682
|
#
|
1683
1683
|
# {
|
1684
1684
|
# body_override: "__string",
|
1685
|
-
# channel_type: "PUSH", # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
1685
|
+
# channel_type: "PUSH", # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
|
1686
1686
|
# context: {
|
1687
1687
|
# "__string" => "__string",
|
1688
1688
|
# },
|
@@ -2595,6 +2595,107 @@ module Aws::Pinpoint
|
|
2595
2595
|
include Aws::Structure
|
2596
2596
|
end
|
2597
2597
|
|
2598
|
+
# In-app message configuration.
|
2599
|
+
#
|
2600
|
+
# @note When making an API call, you may pass CampaignInAppMessage
|
2601
|
+
# data as a hash:
|
2602
|
+
#
|
2603
|
+
# {
|
2604
|
+
# body: "__string",
|
2605
|
+
# content: [
|
2606
|
+
# {
|
2607
|
+
# background_color: "__string",
|
2608
|
+
# body_config: {
|
2609
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
2610
|
+
# body: "__string", # required
|
2611
|
+
# text_color: "__string", # required
|
2612
|
+
# },
|
2613
|
+
# header_config: {
|
2614
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
2615
|
+
# header: "__string", # required
|
2616
|
+
# text_color: "__string", # required
|
2617
|
+
# },
|
2618
|
+
# image_url: "__string",
|
2619
|
+
# primary_btn: {
|
2620
|
+
# android: {
|
2621
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
2622
|
+
# link: "__string",
|
2623
|
+
# },
|
2624
|
+
# default_config: {
|
2625
|
+
# background_color: "__string",
|
2626
|
+
# border_radius: 1,
|
2627
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
2628
|
+
# link: "__string",
|
2629
|
+
# text: "__string", # required
|
2630
|
+
# text_color: "__string",
|
2631
|
+
# },
|
2632
|
+
# ios: {
|
2633
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
2634
|
+
# link: "__string",
|
2635
|
+
# },
|
2636
|
+
# web: {
|
2637
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
2638
|
+
# link: "__string",
|
2639
|
+
# },
|
2640
|
+
# },
|
2641
|
+
# secondary_btn: {
|
2642
|
+
# android: {
|
2643
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
2644
|
+
# link: "__string",
|
2645
|
+
# },
|
2646
|
+
# default_config: {
|
2647
|
+
# background_color: "__string",
|
2648
|
+
# border_radius: 1,
|
2649
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
2650
|
+
# link: "__string",
|
2651
|
+
# text: "__string", # required
|
2652
|
+
# text_color: "__string",
|
2653
|
+
# },
|
2654
|
+
# ios: {
|
2655
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
2656
|
+
# link: "__string",
|
2657
|
+
# },
|
2658
|
+
# web: {
|
2659
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
2660
|
+
# link: "__string",
|
2661
|
+
# },
|
2662
|
+
# },
|
2663
|
+
# },
|
2664
|
+
# ],
|
2665
|
+
# custom_config: {
|
2666
|
+
# "__string" => "__string",
|
2667
|
+
# },
|
2668
|
+
# layout: "BOTTOM_BANNER", # accepts BOTTOM_BANNER, TOP_BANNER, OVERLAYS, MOBILE_FEED, MIDDLE_BANNER, CAROUSEL
|
2669
|
+
# }
|
2670
|
+
#
|
2671
|
+
# @!attribute [rw] body
|
2672
|
+
# The message body of the notification, the email body or the text
|
2673
|
+
# message.
|
2674
|
+
# @return [String]
|
2675
|
+
#
|
2676
|
+
# @!attribute [rw] content
|
2677
|
+
# In-app message content.
|
2678
|
+
# @return [Array<Types::InAppMessageContent>]
|
2679
|
+
#
|
2680
|
+
# @!attribute [rw] custom_config
|
2681
|
+
# Custom config to be sent to client.
|
2682
|
+
# @return [Hash<String,String>]
|
2683
|
+
#
|
2684
|
+
# @!attribute [rw] layout
|
2685
|
+
# In-app message layout.
|
2686
|
+
# @return [String]
|
2687
|
+
#
|
2688
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CampaignInAppMessage AWS API Documentation
|
2689
|
+
#
|
2690
|
+
class CampaignInAppMessage < Struct.new(
|
2691
|
+
:body,
|
2692
|
+
:content,
|
2693
|
+
:custom_config,
|
2694
|
+
:layout)
|
2695
|
+
SENSITIVE = []
|
2696
|
+
include Aws::Structure
|
2697
|
+
end
|
2698
|
+
|
2598
2699
|
# For a campaign, specifies limits on the messages that the campaign can
|
2599
2700
|
# send. For an application, specifies the default limits for messages
|
2600
2701
|
# that campaigns in the application can send.
|
@@ -2607,6 +2708,7 @@ module Aws::Pinpoint
|
|
2607
2708
|
# maximum_duration: 1,
|
2608
2709
|
# messages_per_second: 1,
|
2609
2710
|
# total: 1,
|
2711
|
+
# session: 1,
|
2610
2712
|
# }
|
2611
2713
|
#
|
2612
2714
|
# @!attribute [rw] daily
|
@@ -2637,13 +2739,19 @@ module Aws::Pinpoint
|
|
2637
2739
|
# is 100.
|
2638
2740
|
# @return [Integer]
|
2639
2741
|
#
|
2742
|
+
# @!attribute [rw] session
|
2743
|
+
# The maximum total number of messages that the campaign can send per
|
2744
|
+
# user session.
|
2745
|
+
# @return [Integer]
|
2746
|
+
#
|
2640
2747
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CampaignLimits AWS API Documentation
|
2641
2748
|
#
|
2642
2749
|
class CampaignLimits < Struct.new(
|
2643
2750
|
:daily,
|
2644
2751
|
:maximum_duration,
|
2645
2752
|
:messages_per_second,
|
2646
|
-
:total
|
2753
|
+
:total,
|
2754
|
+
:session)
|
2647
2755
|
SENSITIVE = []
|
2648
2756
|
include Aws::Structure
|
2649
2757
|
end
|
@@ -2761,6 +2869,12 @@ module Aws::Pinpoint
|
|
2761
2869
|
# The version number of the campaign.
|
2762
2870
|
# @return [Integer]
|
2763
2871
|
#
|
2872
|
+
# @!attribute [rw] priority
|
2873
|
+
# Defines the priority of the campaign, used to decide the order of
|
2874
|
+
# messages displayed to user if there are multiple messages scheduled
|
2875
|
+
# to be displayed at the same moment
|
2876
|
+
# @return [Integer]
|
2877
|
+
#
|
2764
2878
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CampaignResponse AWS API Documentation
|
2765
2879
|
#
|
2766
2880
|
class CampaignResponse < Struct.new(
|
@@ -2787,7 +2901,8 @@ module Aws::Pinpoint
|
|
2787
2901
|
:template_configuration,
|
2788
2902
|
:treatment_description,
|
2789
2903
|
:treatment_name,
|
2790
|
-
:version
|
2904
|
+
:version,
|
2905
|
+
:priority)
|
2791
2906
|
SENSITIVE = []
|
2792
2907
|
include Aws::Structure
|
2793
2908
|
end
|
@@ -3350,7 +3465,7 @@ module Aws::Pinpoint
|
|
3350
3465
|
# {
|
3351
3466
|
# custom_delivery_configuration: {
|
3352
3467
|
# delivery_uri: "__string", # required
|
3353
|
-
# endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
3468
|
+
# endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
|
3354
3469
|
# },
|
3355
3470
|
# message_configuration: {
|
3356
3471
|
# adm_message: {
|
@@ -3440,6 +3555,73 @@ module Aws::Pinpoint
|
|
3440
3555
|
# entity_id: "__string",
|
3441
3556
|
# template_id: "__string",
|
3442
3557
|
# },
|
3558
|
+
# in_app_message: {
|
3559
|
+
# body: "__string",
|
3560
|
+
# content: [
|
3561
|
+
# {
|
3562
|
+
# background_color: "__string",
|
3563
|
+
# body_config: {
|
3564
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
3565
|
+
# body: "__string", # required
|
3566
|
+
# text_color: "__string", # required
|
3567
|
+
# },
|
3568
|
+
# header_config: {
|
3569
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
3570
|
+
# header: "__string", # required
|
3571
|
+
# text_color: "__string", # required
|
3572
|
+
# },
|
3573
|
+
# image_url: "__string",
|
3574
|
+
# primary_btn: {
|
3575
|
+
# android: {
|
3576
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
3577
|
+
# link: "__string",
|
3578
|
+
# },
|
3579
|
+
# default_config: {
|
3580
|
+
# background_color: "__string",
|
3581
|
+
# border_radius: 1,
|
3582
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
3583
|
+
# link: "__string",
|
3584
|
+
# text: "__string", # required
|
3585
|
+
# text_color: "__string",
|
3586
|
+
# },
|
3587
|
+
# ios: {
|
3588
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
3589
|
+
# link: "__string",
|
3590
|
+
# },
|
3591
|
+
# web: {
|
3592
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
3593
|
+
# link: "__string",
|
3594
|
+
# },
|
3595
|
+
# },
|
3596
|
+
# secondary_btn: {
|
3597
|
+
# android: {
|
3598
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
3599
|
+
# link: "__string",
|
3600
|
+
# },
|
3601
|
+
# default_config: {
|
3602
|
+
# background_color: "__string",
|
3603
|
+
# border_radius: 1,
|
3604
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
3605
|
+
# link: "__string",
|
3606
|
+
# text: "__string", # required
|
3607
|
+
# text_color: "__string",
|
3608
|
+
# },
|
3609
|
+
# ios: {
|
3610
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
3611
|
+
# link: "__string",
|
3612
|
+
# },
|
3613
|
+
# web: {
|
3614
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
3615
|
+
# link: "__string",
|
3616
|
+
# },
|
3617
|
+
# },
|
3618
|
+
# },
|
3619
|
+
# ],
|
3620
|
+
# custom_config: {
|
3621
|
+
# "__string" => "__string",
|
3622
|
+
# },
|
3623
|
+
# layout: "BOTTOM_BANNER", # accepts BOTTOM_BANNER, TOP_BANNER, OVERLAYS, MOBILE_FEED, MIDDLE_BANNER, CAROUSEL
|
3624
|
+
# },
|
3443
3625
|
# },
|
3444
3626
|
# schedule: {
|
3445
3627
|
# end_time: "__string",
|
@@ -3464,7 +3646,7 @@ module Aws::Pinpoint
|
|
3464
3646
|
# },
|
3465
3647
|
# filter_type: "SYSTEM", # required, accepts SYSTEM, ENDPOINT
|
3466
3648
|
# },
|
3467
|
-
# frequency: "ONCE", # accepts ONCE, HOURLY, DAILY, WEEKLY, MONTHLY, EVENT
|
3649
|
+
# frequency: "ONCE", # accepts ONCE, HOURLY, DAILY, WEEKLY, MONTHLY, EVENT, IN_APP_EVENT
|
3468
3650
|
# is_local_time: false,
|
3469
3651
|
# quiet_time: {
|
3470
3652
|
# end: "__string",
|
@@ -3498,7 +3680,7 @@ module Aws::Pinpoint
|
|
3498
3680
|
# ],
|
3499
3681
|
# custom_delivery_configuration: {
|
3500
3682
|
# delivery_uri: "__string", # required
|
3501
|
-
# endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
3683
|
+
# endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
|
3502
3684
|
# },
|
3503
3685
|
# description: "__string",
|
3504
3686
|
# holdout_percent: 1,
|
@@ -3513,6 +3695,7 @@ module Aws::Pinpoint
|
|
3513
3695
|
# maximum_duration: 1,
|
3514
3696
|
# messages_per_second: 1,
|
3515
3697
|
# total: 1,
|
3698
|
+
# session: 1,
|
3516
3699
|
# },
|
3517
3700
|
# message_configuration: {
|
3518
3701
|
# adm_message: {
|
@@ -3602,6 +3785,73 @@ module Aws::Pinpoint
|
|
3602
3785
|
# entity_id: "__string",
|
3603
3786
|
# template_id: "__string",
|
3604
3787
|
# },
|
3788
|
+
# in_app_message: {
|
3789
|
+
# body: "__string",
|
3790
|
+
# content: [
|
3791
|
+
# {
|
3792
|
+
# background_color: "__string",
|
3793
|
+
# body_config: {
|
3794
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
3795
|
+
# body: "__string", # required
|
3796
|
+
# text_color: "__string", # required
|
3797
|
+
# },
|
3798
|
+
# header_config: {
|
3799
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
3800
|
+
# header: "__string", # required
|
3801
|
+
# text_color: "__string", # required
|
3802
|
+
# },
|
3803
|
+
# image_url: "__string",
|
3804
|
+
# primary_btn: {
|
3805
|
+
# android: {
|
3806
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
3807
|
+
# link: "__string",
|
3808
|
+
# },
|
3809
|
+
# default_config: {
|
3810
|
+
# background_color: "__string",
|
3811
|
+
# border_radius: 1,
|
3812
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
3813
|
+
# link: "__string",
|
3814
|
+
# text: "__string", # required
|
3815
|
+
# text_color: "__string",
|
3816
|
+
# },
|
3817
|
+
# ios: {
|
3818
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
3819
|
+
# link: "__string",
|
3820
|
+
# },
|
3821
|
+
# web: {
|
3822
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
3823
|
+
# link: "__string",
|
3824
|
+
# },
|
3825
|
+
# },
|
3826
|
+
# secondary_btn: {
|
3827
|
+
# android: {
|
3828
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
3829
|
+
# link: "__string",
|
3830
|
+
# },
|
3831
|
+
# default_config: {
|
3832
|
+
# background_color: "__string",
|
3833
|
+
# border_radius: 1,
|
3834
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
3835
|
+
# link: "__string",
|
3836
|
+
# text: "__string", # required
|
3837
|
+
# text_color: "__string",
|
3838
|
+
# },
|
3839
|
+
# ios: {
|
3840
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
3841
|
+
# link: "__string",
|
3842
|
+
# },
|
3843
|
+
# web: {
|
3844
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
3845
|
+
# link: "__string",
|
3846
|
+
# },
|
3847
|
+
# },
|
3848
|
+
# },
|
3849
|
+
# ],
|
3850
|
+
# custom_config: {
|
3851
|
+
# "__string" => "__string",
|
3852
|
+
# },
|
3853
|
+
# layout: "BOTTOM_BANNER", # accepts BOTTOM_BANNER, TOP_BANNER, OVERLAYS, MOBILE_FEED, MIDDLE_BANNER, CAROUSEL
|
3854
|
+
# },
|
3605
3855
|
# },
|
3606
3856
|
# name: "__string",
|
3607
3857
|
# schedule: {
|
@@ -3627,7 +3877,7 @@ module Aws::Pinpoint
|
|
3627
3877
|
# },
|
3628
3878
|
# filter_type: "SYSTEM", # required, accepts SYSTEM, ENDPOINT
|
3629
3879
|
# },
|
3630
|
-
# frequency: "ONCE", # accepts ONCE, HOURLY, DAILY, WEEKLY, MONTHLY, EVENT
|
3880
|
+
# frequency: "ONCE", # accepts ONCE, HOURLY, DAILY, WEEKLY, MONTHLY, EVENT, IN_APP_EVENT
|
3631
3881
|
# is_local_time: false,
|
3632
3882
|
# quiet_time: {
|
3633
3883
|
# end: "__string",
|
@@ -3661,6 +3911,7 @@ module Aws::Pinpoint
|
|
3661
3911
|
# },
|
3662
3912
|
# treatment_description: "__string",
|
3663
3913
|
# treatment_name: "__string",
|
3914
|
+
# priority: 1,
|
3664
3915
|
# },
|
3665
3916
|
# }
|
3666
3917
|
#
|
@@ -3836,6 +4087,111 @@ module Aws::Pinpoint
|
|
3836
4087
|
include Aws::Structure
|
3837
4088
|
end
|
3838
4089
|
|
4090
|
+
# @note When making an API call, you may pass CreateInAppTemplateRequest
|
4091
|
+
# data as a hash:
|
4092
|
+
#
|
4093
|
+
# {
|
4094
|
+
# in_app_template_request: { # required
|
4095
|
+
# content: [
|
4096
|
+
# {
|
4097
|
+
# background_color: "__string",
|
4098
|
+
# body_config: {
|
4099
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
4100
|
+
# body: "__string", # required
|
4101
|
+
# text_color: "__string", # required
|
4102
|
+
# },
|
4103
|
+
# header_config: {
|
4104
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
4105
|
+
# header: "__string", # required
|
4106
|
+
# text_color: "__string", # required
|
4107
|
+
# },
|
4108
|
+
# image_url: "__string",
|
4109
|
+
# primary_btn: {
|
4110
|
+
# android: {
|
4111
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
4112
|
+
# link: "__string",
|
4113
|
+
# },
|
4114
|
+
# default_config: {
|
4115
|
+
# background_color: "__string",
|
4116
|
+
# border_radius: 1,
|
4117
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
4118
|
+
# link: "__string",
|
4119
|
+
# text: "__string", # required
|
4120
|
+
# text_color: "__string",
|
4121
|
+
# },
|
4122
|
+
# ios: {
|
4123
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
4124
|
+
# link: "__string",
|
4125
|
+
# },
|
4126
|
+
# web: {
|
4127
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
4128
|
+
# link: "__string",
|
4129
|
+
# },
|
4130
|
+
# },
|
4131
|
+
# secondary_btn: {
|
4132
|
+
# android: {
|
4133
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
4134
|
+
# link: "__string",
|
4135
|
+
# },
|
4136
|
+
# default_config: {
|
4137
|
+
# background_color: "__string",
|
4138
|
+
# border_radius: 1,
|
4139
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
4140
|
+
# link: "__string",
|
4141
|
+
# text: "__string", # required
|
4142
|
+
# text_color: "__string",
|
4143
|
+
# },
|
4144
|
+
# ios: {
|
4145
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
4146
|
+
# link: "__string",
|
4147
|
+
# },
|
4148
|
+
# web: {
|
4149
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
4150
|
+
# link: "__string",
|
4151
|
+
# },
|
4152
|
+
# },
|
4153
|
+
# },
|
4154
|
+
# ],
|
4155
|
+
# custom_config: {
|
4156
|
+
# "__string" => "__string",
|
4157
|
+
# },
|
4158
|
+
# layout: "BOTTOM_BANNER", # accepts BOTTOM_BANNER, TOP_BANNER, OVERLAYS, MOBILE_FEED, MIDDLE_BANNER, CAROUSEL
|
4159
|
+
# tags: {
|
4160
|
+
# "__string" => "__string",
|
4161
|
+
# },
|
4162
|
+
# template_description: "__string",
|
4163
|
+
# },
|
4164
|
+
# template_name: "__string", # required
|
4165
|
+
# }
|
4166
|
+
#
|
4167
|
+
# @!attribute [rw] in_app_template_request
|
4168
|
+
# In-App Template Request.
|
4169
|
+
# @return [Types::InAppTemplateRequest]
|
4170
|
+
#
|
4171
|
+
# @!attribute [rw] template_name
|
4172
|
+
# @return [String]
|
4173
|
+
#
|
4174
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateInAppTemplateRequest AWS API Documentation
|
4175
|
+
#
|
4176
|
+
class CreateInAppTemplateRequest < Struct.new(
|
4177
|
+
:in_app_template_request,
|
4178
|
+
:template_name)
|
4179
|
+
SENSITIVE = []
|
4180
|
+
include Aws::Structure
|
4181
|
+
end
|
4182
|
+
|
4183
|
+
# @!attribute [rw] template_create_message_body
|
4184
|
+
# Provides information about a request to create a message template.
|
4185
|
+
# @return [Types::TemplateCreateMessageBody]
|
4186
|
+
#
|
4187
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateInAppTemplateResponse AWS API Documentation
|
4188
|
+
#
|
4189
|
+
class CreateInAppTemplateResponse < Struct.new(
|
4190
|
+
:template_create_message_body)
|
4191
|
+
SENSITIVE = []
|
4192
|
+
include Aws::Structure
|
4193
|
+
end
|
4194
|
+
|
3839
4195
|
# @note When making an API call, you may pass CreateJourneyRequest
|
3840
4196
|
# data as a hash:
|
3841
4197
|
#
|
@@ -3846,7 +4202,7 @@ module Aws::Pinpoint
|
|
3846
4202
|
# "__string" => {
|
3847
4203
|
# custom: {
|
3848
4204
|
# delivery_uri: "__string",
|
3849
|
-
# endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
4205
|
+
# endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
|
3850
4206
|
# message_config: {
|
3851
4207
|
# data: "__string",
|
3852
4208
|
# },
|
@@ -4800,7 +5156,7 @@ module Aws::Pinpoint
|
|
4800
5156
|
#
|
4801
5157
|
# {
|
4802
5158
|
# delivery_uri: "__string", # required
|
4803
|
-
# endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
5159
|
+
# endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
|
4804
5160
|
# }
|
4805
5161
|
#
|
4806
5162
|
# @!attribute [rw] delivery_uri
|
@@ -4839,7 +5195,7 @@ module Aws::Pinpoint
|
|
4839
5195
|
#
|
4840
5196
|
# {
|
4841
5197
|
# delivery_uri: "__string",
|
4842
|
-
# endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
5198
|
+
# endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
|
4843
5199
|
# message_config: {
|
4844
5200
|
# data: "__string",
|
4845
5201
|
# },
|
@@ -4911,6 +5267,57 @@ module Aws::Pinpoint
|
|
4911
5267
|
include Aws::Structure
|
4912
5268
|
end
|
4913
5269
|
|
5270
|
+
# Default button configuration.
|
5271
|
+
#
|
5272
|
+
# @note When making an API call, you may pass DefaultButtonConfiguration
|
5273
|
+
# data as a hash:
|
5274
|
+
#
|
5275
|
+
# {
|
5276
|
+
# background_color: "__string",
|
5277
|
+
# border_radius: 1,
|
5278
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
5279
|
+
# link: "__string",
|
5280
|
+
# text: "__string", # required
|
5281
|
+
# text_color: "__string",
|
5282
|
+
# }
|
5283
|
+
#
|
5284
|
+
# @!attribute [rw] background_color
|
5285
|
+
# The background color of the button.
|
5286
|
+
# @return [String]
|
5287
|
+
#
|
5288
|
+
# @!attribute [rw] border_radius
|
5289
|
+
# The border radius of the button.
|
5290
|
+
# @return [Integer]
|
5291
|
+
#
|
5292
|
+
# @!attribute [rw] button_action
|
5293
|
+
# Action triggered by the button.
|
5294
|
+
# @return [String]
|
5295
|
+
#
|
5296
|
+
# @!attribute [rw] link
|
5297
|
+
# Button destination.
|
5298
|
+
# @return [String]
|
5299
|
+
#
|
5300
|
+
# @!attribute [rw] text
|
5301
|
+
# Button text.
|
5302
|
+
# @return [String]
|
5303
|
+
#
|
5304
|
+
# @!attribute [rw] text_color
|
5305
|
+
# The text color of the button.
|
5306
|
+
# @return [String]
|
5307
|
+
#
|
5308
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DefaultButtonConfiguration AWS API Documentation
|
5309
|
+
#
|
5310
|
+
class DefaultButtonConfiguration < Struct.new(
|
5311
|
+
:background_color,
|
5312
|
+
:border_radius,
|
5313
|
+
:button_action,
|
5314
|
+
:link,
|
5315
|
+
:text,
|
5316
|
+
:text_color)
|
5317
|
+
SENSITIVE = []
|
5318
|
+
include Aws::Structure
|
5319
|
+
end
|
5320
|
+
|
4914
5321
|
# Specifies the default message for all channels.
|
4915
5322
|
#
|
4916
5323
|
# @note When making an API call, you may pass DefaultMessage
|
@@ -5518,6 +5925,41 @@ module Aws::Pinpoint
|
|
5518
5925
|
include Aws::Structure
|
5519
5926
|
end
|
5520
5927
|
|
5928
|
+
# @note When making an API call, you may pass DeleteInAppTemplateRequest
|
5929
|
+
# data as a hash:
|
5930
|
+
#
|
5931
|
+
# {
|
5932
|
+
# template_name: "__string", # required
|
5933
|
+
# version: "__string",
|
5934
|
+
# }
|
5935
|
+
#
|
5936
|
+
# @!attribute [rw] template_name
|
5937
|
+
# @return [String]
|
5938
|
+
#
|
5939
|
+
# @!attribute [rw] version
|
5940
|
+
# @return [String]
|
5941
|
+
#
|
5942
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteInAppTemplateRequest AWS API Documentation
|
5943
|
+
#
|
5944
|
+
class DeleteInAppTemplateRequest < Struct.new(
|
5945
|
+
:template_name,
|
5946
|
+
:version)
|
5947
|
+
SENSITIVE = []
|
5948
|
+
include Aws::Structure
|
5949
|
+
end
|
5950
|
+
|
5951
|
+
# @!attribute [rw] message_body
|
5952
|
+
# Provides information about an API request or response.
|
5953
|
+
# @return [Types::MessageBody]
|
5954
|
+
#
|
5955
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteInAppTemplateResponse AWS API Documentation
|
5956
|
+
#
|
5957
|
+
class DeleteInAppTemplateResponse < Struct.new(
|
5958
|
+
:message_body)
|
5959
|
+
SENSITIVE = []
|
5960
|
+
include Aws::Structure
|
5961
|
+
end
|
5962
|
+
|
5521
5963
|
# @note When making an API call, you may pass DeleteJourneyRequest
|
5522
5964
|
# data as a hash:
|
5523
5965
|
#
|
@@ -6532,7 +6974,7 @@ module Aws::Pinpoint
|
|
6532
6974
|
# attributes: {
|
6533
6975
|
# "__string" => ["__string"],
|
6534
6976
|
# },
|
6535
|
-
# channel_type: "PUSH", # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
6977
|
+
# channel_type: "PUSH", # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
|
6536
6978
|
# demographic: {
|
6537
6979
|
# app_version: "__string",
|
6538
6980
|
# locale: "__string",
|
@@ -6685,7 +7127,7 @@ module Aws::Pinpoint
|
|
6685
7127
|
# attributes: {
|
6686
7128
|
# "__string" => ["__string"],
|
6687
7129
|
# },
|
6688
|
-
# channel_type: "PUSH", # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
7130
|
+
# channel_type: "PUSH", # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
|
6689
7131
|
# demographic: {
|
6690
7132
|
# app_version: "__string",
|
6691
7133
|
# locale: "__string",
|
@@ -6959,7 +7401,7 @@ module Aws::Pinpoint
|
|
6959
7401
|
# attributes: {
|
6960
7402
|
# "__string" => ["__string"],
|
6961
7403
|
# },
|
6962
|
-
# channel_type: "PUSH", # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
7404
|
+
# channel_type: "PUSH", # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
|
6963
7405
|
# demographic: {
|
6964
7406
|
# app_version: "__string",
|
6965
7407
|
# locale: "__string",
|
@@ -7716,7 +8158,7 @@ module Aws::Pinpoint
|
|
7716
8158
|
# attributes: {
|
7717
8159
|
# "__string" => ["__string"],
|
7718
8160
|
# },
|
7719
|
-
# channel_type: "PUSH", # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
8161
|
+
# channel_type: "PUSH", # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
|
7720
8162
|
# demographic: {
|
7721
8163
|
# app_version: "__string",
|
7722
8164
|
# locale: "__string",
|
@@ -7805,7 +8247,7 @@ module Aws::Pinpoint
|
|
7805
8247
|
# attributes: {
|
7806
8248
|
# "__string" => ["__string"],
|
7807
8249
|
# },
|
7808
|
-
# channel_type: "PUSH", # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
8250
|
+
# channel_type: "PUSH", # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
|
7809
8251
|
# demographic: {
|
7810
8252
|
# app_version: "__string",
|
7811
8253
|
# locale: "__string",
|
@@ -9441,6 +9883,76 @@ module Aws::Pinpoint
|
|
9441
9883
|
include Aws::Structure
|
9442
9884
|
end
|
9443
9885
|
|
9886
|
+
# @note When making an API call, you may pass GetInAppMessagesRequest
|
9887
|
+
# data as a hash:
|
9888
|
+
#
|
9889
|
+
# {
|
9890
|
+
# application_id: "__string", # required
|
9891
|
+
# endpoint_id: "__string", # required
|
9892
|
+
# }
|
9893
|
+
#
|
9894
|
+
# @!attribute [rw] application_id
|
9895
|
+
# @return [String]
|
9896
|
+
#
|
9897
|
+
# @!attribute [rw] endpoint_id
|
9898
|
+
# @return [String]
|
9899
|
+
#
|
9900
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetInAppMessagesRequest AWS API Documentation
|
9901
|
+
#
|
9902
|
+
class GetInAppMessagesRequest < Struct.new(
|
9903
|
+
:application_id,
|
9904
|
+
:endpoint_id)
|
9905
|
+
SENSITIVE = []
|
9906
|
+
include Aws::Structure
|
9907
|
+
end
|
9908
|
+
|
9909
|
+
# @!attribute [rw] in_app_messages_response
|
9910
|
+
# Get in-app messages response object.
|
9911
|
+
# @return [Types::InAppMessagesResponse]
|
9912
|
+
#
|
9913
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetInAppMessagesResponse AWS API Documentation
|
9914
|
+
#
|
9915
|
+
class GetInAppMessagesResponse < Struct.new(
|
9916
|
+
:in_app_messages_response)
|
9917
|
+
SENSITIVE = []
|
9918
|
+
include Aws::Structure
|
9919
|
+
end
|
9920
|
+
|
9921
|
+
# @note When making an API call, you may pass GetInAppTemplateRequest
|
9922
|
+
# data as a hash:
|
9923
|
+
#
|
9924
|
+
# {
|
9925
|
+
# template_name: "__string", # required
|
9926
|
+
# version: "__string",
|
9927
|
+
# }
|
9928
|
+
#
|
9929
|
+
# @!attribute [rw] template_name
|
9930
|
+
# @return [String]
|
9931
|
+
#
|
9932
|
+
# @!attribute [rw] version
|
9933
|
+
# @return [String]
|
9934
|
+
#
|
9935
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetInAppTemplateRequest AWS API Documentation
|
9936
|
+
#
|
9937
|
+
class GetInAppTemplateRequest < Struct.new(
|
9938
|
+
:template_name,
|
9939
|
+
:version)
|
9940
|
+
SENSITIVE = []
|
9941
|
+
include Aws::Structure
|
9942
|
+
end
|
9943
|
+
|
9944
|
+
# @!attribute [rw] in_app_template_response
|
9945
|
+
# In-App Template Response.
|
9946
|
+
# @return [Types::InAppTemplateResponse]
|
9947
|
+
#
|
9948
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetInAppTemplateResponse AWS API Documentation
|
9949
|
+
#
|
9950
|
+
class GetInAppTemplateResponse < Struct.new(
|
9951
|
+
:in_app_template_response)
|
9952
|
+
SENSITIVE = []
|
9953
|
+
include Aws::Structure
|
9954
|
+
end
|
9955
|
+
|
9444
9956
|
# @note When making an API call, you may pass GetJourneyDateRangeKpiRequest
|
9445
9957
|
# data as a hash:
|
9446
9958
|
#
|
@@ -10468,23 +10980,537 @@ module Aws::Pinpoint
|
|
10468
10980
|
# jobs that are associated with an application or segment. An import job
|
10469
10981
|
# is a job that imports endpoint definitions from one or more files.
|
10470
10982
|
#
|
10471
|
-
# @!attribute [rw] item
|
10472
|
-
# An array of responses, one for each import job that's associated
|
10473
|
-
# with the application (Import Jobs resource) or segment (Segment
|
10474
|
-
# Import Jobs resource).
|
10475
|
-
# @return [Array<Types::ImportJobResponse>]
|
10983
|
+
# @!attribute [rw] item
|
10984
|
+
# An array of responses, one for each import job that's associated
|
10985
|
+
# with the application (Import Jobs resource) or segment (Segment
|
10986
|
+
# Import Jobs resource).
|
10987
|
+
# @return [Array<Types::ImportJobResponse>]
|
10988
|
+
#
|
10989
|
+
# @!attribute [rw] next_token
|
10990
|
+
# The string to use in a subsequent request to get the next page of
|
10991
|
+
# results in a paginated response. This value is null if there are no
|
10992
|
+
# additional pages.
|
10993
|
+
# @return [String]
|
10994
|
+
#
|
10995
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ImportJobsResponse AWS API Documentation
|
10996
|
+
#
|
10997
|
+
class ImportJobsResponse < Struct.new(
|
10998
|
+
:item,
|
10999
|
+
:next_token)
|
11000
|
+
SENSITIVE = []
|
11001
|
+
include Aws::Structure
|
11002
|
+
end
|
11003
|
+
|
11004
|
+
# @!attribute [rw] end_date
|
11005
|
+
# The scheduled time after which the in-app message should not be
|
11006
|
+
# shown. Timestamp is in ISO 8601 format.
|
11007
|
+
# @return [String]
|
11008
|
+
#
|
11009
|
+
# @!attribute [rw] event_filter
|
11010
|
+
# The event filter the SDK has to use to show the in-app message in
|
11011
|
+
# the application.
|
11012
|
+
# @return [Types::CampaignEventFilter]
|
11013
|
+
#
|
11014
|
+
# @!attribute [rw] quiet_time
|
11015
|
+
# Time during which the in-app message should not be shown to the
|
11016
|
+
# user.
|
11017
|
+
# @return [Types::QuietTime]
|
11018
|
+
#
|
11019
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/InAppCampaignSchedule AWS API Documentation
|
11020
|
+
#
|
11021
|
+
class InAppCampaignSchedule < Struct.new(
|
11022
|
+
:end_date,
|
11023
|
+
:event_filter,
|
11024
|
+
:quiet_time)
|
11025
|
+
SENSITIVE = []
|
11026
|
+
include Aws::Structure
|
11027
|
+
end
|
11028
|
+
|
11029
|
+
# Provides all fields required for building an in-app message.
|
11030
|
+
#
|
11031
|
+
# @!attribute [rw] content
|
11032
|
+
# In-app message content.
|
11033
|
+
# @return [Array<Types::InAppMessageContent>]
|
11034
|
+
#
|
11035
|
+
# @!attribute [rw] custom_config
|
11036
|
+
# Custom config to be sent to SDK.
|
11037
|
+
# @return [Hash<String,String>]
|
11038
|
+
#
|
11039
|
+
# @!attribute [rw] layout
|
11040
|
+
# The layout of the message.
|
11041
|
+
# @return [String]
|
11042
|
+
#
|
11043
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/InAppMessage AWS API Documentation
|
11044
|
+
#
|
11045
|
+
class InAppMessage < Struct.new(
|
11046
|
+
:content,
|
11047
|
+
:custom_config,
|
11048
|
+
:layout)
|
11049
|
+
SENSITIVE = []
|
11050
|
+
include Aws::Structure
|
11051
|
+
end
|
11052
|
+
|
11053
|
+
# Text config for Message Body.
|
11054
|
+
#
|
11055
|
+
# @note When making an API call, you may pass InAppMessageBodyConfig
|
11056
|
+
# data as a hash:
|
11057
|
+
#
|
11058
|
+
# {
|
11059
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
11060
|
+
# body: "__string", # required
|
11061
|
+
# text_color: "__string", # required
|
11062
|
+
# }
|
11063
|
+
#
|
11064
|
+
# @!attribute [rw] alignment
|
11065
|
+
# The alignment of the text. Valid values: LEFT, CENTER, RIGHT.
|
11066
|
+
# @return [String]
|
11067
|
+
#
|
11068
|
+
# @!attribute [rw] body
|
11069
|
+
# Message Body.
|
11070
|
+
# @return [String]
|
11071
|
+
#
|
11072
|
+
# @!attribute [rw] text_color
|
11073
|
+
# The text color.
|
11074
|
+
# @return [String]
|
11075
|
+
#
|
11076
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/InAppMessageBodyConfig AWS API Documentation
|
11077
|
+
#
|
11078
|
+
class InAppMessageBodyConfig < Struct.new(
|
11079
|
+
:alignment,
|
11080
|
+
:body,
|
11081
|
+
:text_color)
|
11082
|
+
SENSITIVE = []
|
11083
|
+
include Aws::Structure
|
11084
|
+
end
|
11085
|
+
|
11086
|
+
# Button Config for an in-app message.
|
11087
|
+
#
|
11088
|
+
# @note When making an API call, you may pass InAppMessageButton
|
11089
|
+
# data as a hash:
|
11090
|
+
#
|
11091
|
+
# {
|
11092
|
+
# android: {
|
11093
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
11094
|
+
# link: "__string",
|
11095
|
+
# },
|
11096
|
+
# default_config: {
|
11097
|
+
# background_color: "__string",
|
11098
|
+
# border_radius: 1,
|
11099
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
11100
|
+
# link: "__string",
|
11101
|
+
# text: "__string", # required
|
11102
|
+
# text_color: "__string",
|
11103
|
+
# },
|
11104
|
+
# ios: {
|
11105
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
11106
|
+
# link: "__string",
|
11107
|
+
# },
|
11108
|
+
# web: {
|
11109
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
11110
|
+
# link: "__string",
|
11111
|
+
# },
|
11112
|
+
# }
|
11113
|
+
#
|
11114
|
+
# @!attribute [rw] android
|
11115
|
+
# Default button content.
|
11116
|
+
# @return [Types::OverrideButtonConfiguration]
|
11117
|
+
#
|
11118
|
+
# @!attribute [rw] default_config
|
11119
|
+
# Default button content.
|
11120
|
+
# @return [Types::DefaultButtonConfiguration]
|
11121
|
+
#
|
11122
|
+
# @!attribute [rw] ios
|
11123
|
+
# Default button content.
|
11124
|
+
# @return [Types::OverrideButtonConfiguration]
|
11125
|
+
#
|
11126
|
+
# @!attribute [rw] web
|
11127
|
+
# Default button content.
|
11128
|
+
# @return [Types::OverrideButtonConfiguration]
|
11129
|
+
#
|
11130
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/InAppMessageButton AWS API Documentation
|
11131
|
+
#
|
11132
|
+
class InAppMessageButton < Struct.new(
|
11133
|
+
:android,
|
11134
|
+
:default_config,
|
11135
|
+
:ios,
|
11136
|
+
:web)
|
11137
|
+
SENSITIVE = []
|
11138
|
+
include Aws::Structure
|
11139
|
+
end
|
11140
|
+
|
11141
|
+
# @!attribute [rw] campaign_id
|
11142
|
+
# Campaign id of the corresponding campaign.
|
11143
|
+
# @return [String]
|
11144
|
+
#
|
11145
|
+
# @!attribute [rw] daily_cap
|
11146
|
+
# Daily cap which controls the number of times any in-app messages can
|
11147
|
+
# be shown to the endpoint during a day.
|
11148
|
+
# @return [Integer]
|
11149
|
+
#
|
11150
|
+
# @!attribute [rw] in_app_message
|
11151
|
+
# In-app message content with all fields required for rendering an
|
11152
|
+
# in-app message.
|
11153
|
+
# @return [Types::InAppMessage]
|
11154
|
+
#
|
11155
|
+
# @!attribute [rw] priority
|
11156
|
+
# Priority of the in-app message.
|
11157
|
+
# @return [Integer]
|
11158
|
+
#
|
11159
|
+
# @!attribute [rw] schedule
|
11160
|
+
# Schedule of the campaign.
|
11161
|
+
# @return [Types::InAppCampaignSchedule]
|
11162
|
+
#
|
11163
|
+
# @!attribute [rw] session_cap
|
11164
|
+
# Session cap which controls the number of times an in-app message can
|
11165
|
+
# be shown to the endpoint during an application session.
|
11166
|
+
# @return [Integer]
|
11167
|
+
#
|
11168
|
+
# @!attribute [rw] total_cap
|
11169
|
+
# Total cap which controls the number of times an in-app message can
|
11170
|
+
# be shown to the endpoint.
|
11171
|
+
# @return [Integer]
|
11172
|
+
#
|
11173
|
+
# @!attribute [rw] treatment_id
|
11174
|
+
# Treatment id of the campaign.
|
11175
|
+
# @return [String]
|
11176
|
+
#
|
11177
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/InAppMessageCampaign AWS API Documentation
|
11178
|
+
#
|
11179
|
+
class InAppMessageCampaign < Struct.new(
|
11180
|
+
:campaign_id,
|
11181
|
+
:daily_cap,
|
11182
|
+
:in_app_message,
|
11183
|
+
:priority,
|
11184
|
+
:schedule,
|
11185
|
+
:session_cap,
|
11186
|
+
:total_cap,
|
11187
|
+
:treatment_id)
|
11188
|
+
SENSITIVE = []
|
11189
|
+
include Aws::Structure
|
11190
|
+
end
|
11191
|
+
|
11192
|
+
# The configuration for the message content.
|
11193
|
+
#
|
11194
|
+
# @note When making an API call, you may pass InAppMessageContent
|
11195
|
+
# data as a hash:
|
11196
|
+
#
|
11197
|
+
# {
|
11198
|
+
# background_color: "__string",
|
11199
|
+
# body_config: {
|
11200
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
11201
|
+
# body: "__string", # required
|
11202
|
+
# text_color: "__string", # required
|
11203
|
+
# },
|
11204
|
+
# header_config: {
|
11205
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
11206
|
+
# header: "__string", # required
|
11207
|
+
# text_color: "__string", # required
|
11208
|
+
# },
|
11209
|
+
# image_url: "__string",
|
11210
|
+
# primary_btn: {
|
11211
|
+
# android: {
|
11212
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
11213
|
+
# link: "__string",
|
11214
|
+
# },
|
11215
|
+
# default_config: {
|
11216
|
+
# background_color: "__string",
|
11217
|
+
# border_radius: 1,
|
11218
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
11219
|
+
# link: "__string",
|
11220
|
+
# text: "__string", # required
|
11221
|
+
# text_color: "__string",
|
11222
|
+
# },
|
11223
|
+
# ios: {
|
11224
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
11225
|
+
# link: "__string",
|
11226
|
+
# },
|
11227
|
+
# web: {
|
11228
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
11229
|
+
# link: "__string",
|
11230
|
+
# },
|
11231
|
+
# },
|
11232
|
+
# secondary_btn: {
|
11233
|
+
# android: {
|
11234
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
11235
|
+
# link: "__string",
|
11236
|
+
# },
|
11237
|
+
# default_config: {
|
11238
|
+
# background_color: "__string",
|
11239
|
+
# border_radius: 1,
|
11240
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
11241
|
+
# link: "__string",
|
11242
|
+
# text: "__string", # required
|
11243
|
+
# text_color: "__string",
|
11244
|
+
# },
|
11245
|
+
# ios: {
|
11246
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
11247
|
+
# link: "__string",
|
11248
|
+
# },
|
11249
|
+
# web: {
|
11250
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
11251
|
+
# link: "__string",
|
11252
|
+
# },
|
11253
|
+
# },
|
11254
|
+
# }
|
11255
|
+
#
|
11256
|
+
# @!attribute [rw] background_color
|
11257
|
+
# The background color for the message.
|
11258
|
+
# @return [String]
|
11259
|
+
#
|
11260
|
+
# @!attribute [rw] body_config
|
11261
|
+
# The configuration for the message body.
|
11262
|
+
# @return [Types::InAppMessageBodyConfig]
|
11263
|
+
#
|
11264
|
+
# @!attribute [rw] header_config
|
11265
|
+
# The configuration for the message header.
|
11266
|
+
# @return [Types::InAppMessageHeaderConfig]
|
11267
|
+
#
|
11268
|
+
# @!attribute [rw] image_url
|
11269
|
+
# The image url for the background of message.
|
11270
|
+
# @return [String]
|
11271
|
+
#
|
11272
|
+
# @!attribute [rw] primary_btn
|
11273
|
+
# The first button inside the message.
|
11274
|
+
# @return [Types::InAppMessageButton]
|
11275
|
+
#
|
11276
|
+
# @!attribute [rw] secondary_btn
|
11277
|
+
# The second button inside message.
|
11278
|
+
# @return [Types::InAppMessageButton]
|
11279
|
+
#
|
11280
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/InAppMessageContent AWS API Documentation
|
11281
|
+
#
|
11282
|
+
class InAppMessageContent < Struct.new(
|
11283
|
+
:background_color,
|
11284
|
+
:body_config,
|
11285
|
+
:header_config,
|
11286
|
+
:image_url,
|
11287
|
+
:primary_btn,
|
11288
|
+
:secondary_btn)
|
11289
|
+
SENSITIVE = []
|
11290
|
+
include Aws::Structure
|
11291
|
+
end
|
11292
|
+
|
11293
|
+
# Text config for Message Header.
|
11294
|
+
#
|
11295
|
+
# @note When making an API call, you may pass InAppMessageHeaderConfig
|
11296
|
+
# data as a hash:
|
11297
|
+
#
|
11298
|
+
# {
|
11299
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
11300
|
+
# header: "__string", # required
|
11301
|
+
# text_color: "__string", # required
|
11302
|
+
# }
|
11303
|
+
#
|
11304
|
+
# @!attribute [rw] alignment
|
11305
|
+
# The alignment of the text. Valid values: LEFT, CENTER, RIGHT.
|
11306
|
+
# @return [String]
|
11307
|
+
#
|
11308
|
+
# @!attribute [rw] header
|
11309
|
+
# Message Header.
|
11310
|
+
# @return [String]
|
11311
|
+
#
|
11312
|
+
# @!attribute [rw] text_color
|
11313
|
+
# The text color.
|
11314
|
+
# @return [String]
|
11315
|
+
#
|
11316
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/InAppMessageHeaderConfig AWS API Documentation
|
11317
|
+
#
|
11318
|
+
class InAppMessageHeaderConfig < Struct.new(
|
11319
|
+
:alignment,
|
11320
|
+
:header,
|
11321
|
+
:text_color)
|
11322
|
+
SENSITIVE = []
|
11323
|
+
include Aws::Structure
|
11324
|
+
end
|
11325
|
+
|
11326
|
+
# Get in-app messages response object.
|
11327
|
+
#
|
11328
|
+
# @!attribute [rw] in_app_message_campaigns
|
11329
|
+
# List of targeted in-app message campaigns.
|
11330
|
+
# @return [Array<Types::InAppMessageCampaign>]
|
11331
|
+
#
|
11332
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/InAppMessagesResponse AWS API Documentation
|
11333
|
+
#
|
11334
|
+
class InAppMessagesResponse < Struct.new(
|
11335
|
+
:in_app_message_campaigns)
|
11336
|
+
SENSITIVE = []
|
11337
|
+
include Aws::Structure
|
11338
|
+
end
|
11339
|
+
|
11340
|
+
# In-App Template Request.
|
11341
|
+
#
|
11342
|
+
# @note When making an API call, you may pass InAppTemplateRequest
|
11343
|
+
# data as a hash:
|
11344
|
+
#
|
11345
|
+
# {
|
11346
|
+
# content: [
|
11347
|
+
# {
|
11348
|
+
# background_color: "__string",
|
11349
|
+
# body_config: {
|
11350
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
11351
|
+
# body: "__string", # required
|
11352
|
+
# text_color: "__string", # required
|
11353
|
+
# },
|
11354
|
+
# header_config: {
|
11355
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
11356
|
+
# header: "__string", # required
|
11357
|
+
# text_color: "__string", # required
|
11358
|
+
# },
|
11359
|
+
# image_url: "__string",
|
11360
|
+
# primary_btn: {
|
11361
|
+
# android: {
|
11362
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
11363
|
+
# link: "__string",
|
11364
|
+
# },
|
11365
|
+
# default_config: {
|
11366
|
+
# background_color: "__string",
|
11367
|
+
# border_radius: 1,
|
11368
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
11369
|
+
# link: "__string",
|
11370
|
+
# text: "__string", # required
|
11371
|
+
# text_color: "__string",
|
11372
|
+
# },
|
11373
|
+
# ios: {
|
11374
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
11375
|
+
# link: "__string",
|
11376
|
+
# },
|
11377
|
+
# web: {
|
11378
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
11379
|
+
# link: "__string",
|
11380
|
+
# },
|
11381
|
+
# },
|
11382
|
+
# secondary_btn: {
|
11383
|
+
# android: {
|
11384
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
11385
|
+
# link: "__string",
|
11386
|
+
# },
|
11387
|
+
# default_config: {
|
11388
|
+
# background_color: "__string",
|
11389
|
+
# border_radius: 1,
|
11390
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
11391
|
+
# link: "__string",
|
11392
|
+
# text: "__string", # required
|
11393
|
+
# text_color: "__string",
|
11394
|
+
# },
|
11395
|
+
# ios: {
|
11396
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
11397
|
+
# link: "__string",
|
11398
|
+
# },
|
11399
|
+
# web: {
|
11400
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
11401
|
+
# link: "__string",
|
11402
|
+
# },
|
11403
|
+
# },
|
11404
|
+
# },
|
11405
|
+
# ],
|
11406
|
+
# custom_config: {
|
11407
|
+
# "__string" => "__string",
|
11408
|
+
# },
|
11409
|
+
# layout: "BOTTOM_BANNER", # accepts BOTTOM_BANNER, TOP_BANNER, OVERLAYS, MOBILE_FEED, MIDDLE_BANNER, CAROUSEL
|
11410
|
+
# tags: {
|
11411
|
+
# "__string" => "__string",
|
11412
|
+
# },
|
11413
|
+
# template_description: "__string",
|
11414
|
+
# }
|
11415
|
+
#
|
11416
|
+
# @!attribute [rw] content
|
11417
|
+
# The content of the message, can include up to 5 modals. Each modal
|
11418
|
+
# must contain a message, a header, and background color. ImageUrl and
|
11419
|
+
# buttons are optional.
|
11420
|
+
# @return [Array<Types::InAppMessageContent>]
|
11421
|
+
#
|
11422
|
+
# @!attribute [rw] custom_config
|
11423
|
+
# Custom config to be sent to client.
|
11424
|
+
# @return [Hash<String,String>]
|
11425
|
+
#
|
11426
|
+
# @!attribute [rw] layout
|
11427
|
+
# The layout of the message.
|
11428
|
+
# @return [String]
|
11429
|
+
#
|
11430
|
+
# @!attribute [rw] tags
|
11431
|
+
# A string-to-string map of key-value pairs that defines the tags to
|
11432
|
+
# associate with the message template. Each tag consists of a required
|
11433
|
+
# tag key and an associated tag value.
|
11434
|
+
# @return [Hash<String,String>]
|
11435
|
+
#
|
11436
|
+
# @!attribute [rw] template_description
|
11437
|
+
# The description of the template.
|
11438
|
+
# @return [String]
|
11439
|
+
#
|
11440
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/InAppTemplateRequest AWS API Documentation
|
11441
|
+
#
|
11442
|
+
class InAppTemplateRequest < Struct.new(
|
11443
|
+
:content,
|
11444
|
+
:custom_config,
|
11445
|
+
:layout,
|
11446
|
+
:tags,
|
11447
|
+
:template_description)
|
11448
|
+
SENSITIVE = []
|
11449
|
+
include Aws::Structure
|
11450
|
+
end
|
11451
|
+
|
11452
|
+
# In-App Template Response.
|
11453
|
+
#
|
11454
|
+
# @!attribute [rw] arn
|
11455
|
+
# The resource arn of the template.
|
11456
|
+
# @return [String]
|
11457
|
+
#
|
11458
|
+
# @!attribute [rw] content
|
11459
|
+
# The content of the message, can include up to 5 modals. Each modal
|
11460
|
+
# must contain a message, a header, and background color. ImageUrl and
|
11461
|
+
# buttons are optional.
|
11462
|
+
# @return [Array<Types::InAppMessageContent>]
|
11463
|
+
#
|
11464
|
+
# @!attribute [rw] creation_date
|
11465
|
+
# The creation date of the template.
|
11466
|
+
# @return [String]
|
11467
|
+
#
|
11468
|
+
# @!attribute [rw] custom_config
|
11469
|
+
# Custom config to be sent to client.
|
11470
|
+
# @return [Hash<String,String>]
|
11471
|
+
#
|
11472
|
+
# @!attribute [rw] last_modified_date
|
11473
|
+
# The last modified date of the template.
|
11474
|
+
# @return [String]
|
11475
|
+
#
|
11476
|
+
# @!attribute [rw] layout
|
11477
|
+
# The layout of the message.
|
11478
|
+
# @return [String]
|
11479
|
+
#
|
11480
|
+
# @!attribute [rw] tags
|
11481
|
+
# Tags map that contains arn and InternalId for API GW.
|
11482
|
+
# @return [Hash<String,String>]
|
11483
|
+
#
|
11484
|
+
# @!attribute [rw] template_description
|
11485
|
+
# The description of the template.
|
11486
|
+
# @return [String]
|
10476
11487
|
#
|
10477
|
-
# @!attribute [rw]
|
10478
|
-
# The
|
10479
|
-
# results in a paginated response. This value is null if there are no
|
10480
|
-
# additional pages.
|
11488
|
+
# @!attribute [rw] template_name
|
11489
|
+
# The name of the template.
|
10481
11490
|
# @return [String]
|
10482
11491
|
#
|
10483
|
-
#
|
11492
|
+
# @!attribute [rw] template_type
|
11493
|
+
# The type of the template.
|
11494
|
+
# @return [String]
|
10484
11495
|
#
|
10485
|
-
|
10486
|
-
|
10487
|
-
|
11496
|
+
# @!attribute [rw] version
|
11497
|
+
# The version id of the template.
|
11498
|
+
# @return [String]
|
11499
|
+
#
|
11500
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/InAppTemplateResponse AWS API Documentation
|
11501
|
+
#
|
11502
|
+
class InAppTemplateResponse < Struct.new(
|
11503
|
+
:arn,
|
11504
|
+
:content,
|
11505
|
+
:creation_date,
|
11506
|
+
:custom_config,
|
11507
|
+
:last_modified_date,
|
11508
|
+
:layout,
|
11509
|
+
:tags,
|
11510
|
+
:template_description,
|
11511
|
+
:template_name,
|
11512
|
+
:template_type,
|
11513
|
+
:version)
|
10488
11514
|
SENSITIVE = []
|
10489
11515
|
include Aws::Structure
|
10490
11516
|
end
|
@@ -10539,8 +11565,6 @@ module Aws::Pinpoint
|
|
10539
11565
|
# }
|
10540
11566
|
#
|
10541
11567
|
# @!attribute [rw] data
|
10542
|
-
# The message content that's passed to an AWS Lambda function or to a
|
10543
|
-
# web hook.
|
10544
11568
|
# @return [String]
|
10545
11569
|
#
|
10546
11570
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/JourneyCustomMessage AWS API Documentation
|
@@ -11554,6 +12578,73 @@ module Aws::Pinpoint
|
|
11554
12578
|
# entity_id: "__string",
|
11555
12579
|
# template_id: "__string",
|
11556
12580
|
# },
|
12581
|
+
# in_app_message: {
|
12582
|
+
# body: "__string",
|
12583
|
+
# content: [
|
12584
|
+
# {
|
12585
|
+
# background_color: "__string",
|
12586
|
+
# body_config: {
|
12587
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
12588
|
+
# body: "__string", # required
|
12589
|
+
# text_color: "__string", # required
|
12590
|
+
# },
|
12591
|
+
# header_config: {
|
12592
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
12593
|
+
# header: "__string", # required
|
12594
|
+
# text_color: "__string", # required
|
12595
|
+
# },
|
12596
|
+
# image_url: "__string",
|
12597
|
+
# primary_btn: {
|
12598
|
+
# android: {
|
12599
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
12600
|
+
# link: "__string",
|
12601
|
+
# },
|
12602
|
+
# default_config: {
|
12603
|
+
# background_color: "__string",
|
12604
|
+
# border_radius: 1,
|
12605
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
12606
|
+
# link: "__string",
|
12607
|
+
# text: "__string", # required
|
12608
|
+
# text_color: "__string",
|
12609
|
+
# },
|
12610
|
+
# ios: {
|
12611
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
12612
|
+
# link: "__string",
|
12613
|
+
# },
|
12614
|
+
# web: {
|
12615
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
12616
|
+
# link: "__string",
|
12617
|
+
# },
|
12618
|
+
# },
|
12619
|
+
# secondary_btn: {
|
12620
|
+
# android: {
|
12621
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
12622
|
+
# link: "__string",
|
12623
|
+
# },
|
12624
|
+
# default_config: {
|
12625
|
+
# background_color: "__string",
|
12626
|
+
# border_radius: 1,
|
12627
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
12628
|
+
# link: "__string",
|
12629
|
+
# text: "__string", # required
|
12630
|
+
# text_color: "__string",
|
12631
|
+
# },
|
12632
|
+
# ios: {
|
12633
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
12634
|
+
# link: "__string",
|
12635
|
+
# },
|
12636
|
+
# web: {
|
12637
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
12638
|
+
# link: "__string",
|
12639
|
+
# },
|
12640
|
+
# },
|
12641
|
+
# },
|
12642
|
+
# ],
|
12643
|
+
# custom_config: {
|
12644
|
+
# "__string" => "__string",
|
12645
|
+
# },
|
12646
|
+
# layout: "BOTTOM_BANNER", # accepts BOTTOM_BANNER, TOP_BANNER, OVERLAYS, MOBILE_FEED, MIDDLE_BANNER, CAROUSEL
|
12647
|
+
# },
|
11557
12648
|
# }
|
11558
12649
|
#
|
11559
12650
|
# @!attribute [rw] adm_message
|
@@ -11604,6 +12695,10 @@ module Aws::Pinpoint
|
|
11604
12695
|
# specified, this message overrides the default message.
|
11605
12696
|
# @return [Types::CampaignSmsMessage]
|
11606
12697
|
#
|
12698
|
+
# @!attribute [rw] in_app_message
|
12699
|
+
# The in-app message configuration.
|
12700
|
+
# @return [Types::CampaignInAppMessage]
|
12701
|
+
#
|
11607
12702
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/MessageConfiguration AWS API Documentation
|
11608
12703
|
#
|
11609
12704
|
class MessageConfiguration < Struct.new(
|
@@ -11614,7 +12709,8 @@ module Aws::Pinpoint
|
|
11614
12709
|
:default_message,
|
11615
12710
|
:email_message,
|
11616
12711
|
:gcm_message,
|
11617
|
-
:sms_message
|
12712
|
+
:sms_message,
|
12713
|
+
:in_app_message)
|
11618
12714
|
SENSITIVE = []
|
11619
12715
|
include Aws::Structure
|
11620
12716
|
end
|
@@ -11628,7 +12724,7 @@ module Aws::Pinpoint
|
|
11628
12724
|
# addresses: {
|
11629
12725
|
# "__string" => {
|
11630
12726
|
# body_override: "__string",
|
11631
|
-
# channel_type: "PUSH", # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
12727
|
+
# channel_type: "PUSH", # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
|
11632
12728
|
# context: {
|
11633
12729
|
# "__string" => "__string",
|
11634
12730
|
# },
|
@@ -12451,6 +13547,33 @@ module Aws::Pinpoint
|
|
12451
13547
|
include Aws::Structure
|
12452
13548
|
end
|
12453
13549
|
|
13550
|
+
# Override button configuration.
|
13551
|
+
#
|
13552
|
+
# @note When making an API call, you may pass OverrideButtonConfiguration
|
13553
|
+
# data as a hash:
|
13554
|
+
#
|
13555
|
+
# {
|
13556
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
13557
|
+
# link: "__string",
|
13558
|
+
# }
|
13559
|
+
#
|
13560
|
+
# @!attribute [rw] button_action
|
13561
|
+
# Action triggered by the button.
|
13562
|
+
# @return [String]
|
13563
|
+
#
|
13564
|
+
# @!attribute [rw] link
|
13565
|
+
# Button destination.
|
13566
|
+
# @return [String]
|
13567
|
+
#
|
13568
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/OverrideButtonConfiguration AWS API Documentation
|
13569
|
+
#
|
13570
|
+
class OverrideButtonConfiguration < Struct.new(
|
13571
|
+
:button_action,
|
13572
|
+
:link)
|
13573
|
+
SENSITIVE = []
|
13574
|
+
include Aws::Structure
|
13575
|
+
end
|
13576
|
+
|
12454
13577
|
# Provides information about an API request or response.
|
12455
13578
|
#
|
12456
13579
|
# @!attribute [rw] message
|
@@ -12513,7 +13636,7 @@ module Aws::Pinpoint
|
|
12513
13636
|
# attributes: {
|
12514
13637
|
# "__string" => ["__string"],
|
12515
13638
|
# },
|
12516
|
-
# channel_type: "PUSH", # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
13639
|
+
# channel_type: "PUSH", # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
|
12517
13640
|
# demographic: {
|
12518
13641
|
# app_version: "__string",
|
12519
13642
|
# locale: "__string",
|
@@ -12993,7 +14116,7 @@ module Aws::Pinpoint
|
|
12993
14116
|
# attributes: {
|
12994
14117
|
# "__string" => ["__string"],
|
12995
14118
|
# },
|
12996
|
-
# channel_type: "PUSH", # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
14119
|
+
# channel_type: "PUSH", # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
|
12997
14120
|
# demographic: {
|
12998
14121
|
# app_version: "__string",
|
12999
14122
|
# locale: "__string",
|
@@ -13894,7 +15017,7 @@ module Aws::Pinpoint
|
|
13894
15017
|
# },
|
13895
15018
|
# filter_type: "SYSTEM", # required, accepts SYSTEM, ENDPOINT
|
13896
15019
|
# },
|
13897
|
-
# frequency: "ONCE", # accepts ONCE, HOURLY, DAILY, WEEKLY, MONTHLY, EVENT
|
15020
|
+
# frequency: "ONCE", # accepts ONCE, HOURLY, DAILY, WEEKLY, MONTHLY, EVENT, IN_APP_EVENT
|
13898
15021
|
# is_local_time: false,
|
13899
15022
|
# quiet_time: {
|
13900
15023
|
# end: "__string",
|
@@ -14676,7 +15799,7 @@ module Aws::Pinpoint
|
|
14676
15799
|
# addresses: {
|
14677
15800
|
# "__string" => {
|
14678
15801
|
# body_override: "__string",
|
14679
|
-
# channel_type: "PUSH", # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
15802
|
+
# channel_type: "PUSH", # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
|
14680
15803
|
# context: {
|
14681
15804
|
# "__string" => "__string",
|
14682
15805
|
# },
|
@@ -15935,6 +17058,33 @@ module Aws::Pinpoint
|
|
15935
17058
|
include Aws::Structure
|
15936
17059
|
end
|
15937
17060
|
|
17061
|
+
# Provides information about a request to create a message template.
|
17062
|
+
#
|
17063
|
+
# @!attribute [rw] arn
|
17064
|
+
# The Amazon Resource Name (ARN) of the message template that was
|
17065
|
+
# created.
|
17066
|
+
# @return [String]
|
17067
|
+
#
|
17068
|
+
# @!attribute [rw] message
|
17069
|
+
# The message that's returned from the API for the request to create
|
17070
|
+
# the message template.
|
17071
|
+
# @return [String]
|
17072
|
+
#
|
17073
|
+
# @!attribute [rw] request_id
|
17074
|
+
# The unique identifier for the request to create the message
|
17075
|
+
# template.
|
17076
|
+
# @return [String]
|
17077
|
+
#
|
17078
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/TemplateCreateMessageBody AWS API Documentation
|
17079
|
+
#
|
17080
|
+
class TemplateCreateMessageBody < Struct.new(
|
17081
|
+
:arn,
|
17082
|
+
:message,
|
17083
|
+
:request_id)
|
17084
|
+
SENSITIVE = []
|
17085
|
+
include Aws::Structure
|
17086
|
+
end
|
17087
|
+
|
15938
17088
|
# Provides information about a message template that's associated with
|
15939
17089
|
# your Amazon Pinpoint account.
|
15940
17090
|
#
|
@@ -16470,6 +17620,7 @@ module Aws::Pinpoint
|
|
16470
17620
|
# maximum_duration: 1,
|
16471
17621
|
# messages_per_second: 1,
|
16472
17622
|
# total: 1,
|
17623
|
+
# session: 1,
|
16473
17624
|
# },
|
16474
17625
|
# quiet_time: {
|
16475
17626
|
# end: "__string",
|
@@ -16586,7 +17737,7 @@ module Aws::Pinpoint
|
|
16586
17737
|
# {
|
16587
17738
|
# custom_delivery_configuration: {
|
16588
17739
|
# delivery_uri: "__string", # required
|
16589
|
-
# endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
17740
|
+
# endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
|
16590
17741
|
# },
|
16591
17742
|
# message_configuration: {
|
16592
17743
|
# adm_message: {
|
@@ -16676,6 +17827,73 @@ module Aws::Pinpoint
|
|
16676
17827
|
# entity_id: "__string",
|
16677
17828
|
# template_id: "__string",
|
16678
17829
|
# },
|
17830
|
+
# in_app_message: {
|
17831
|
+
# body: "__string",
|
17832
|
+
# content: [
|
17833
|
+
# {
|
17834
|
+
# background_color: "__string",
|
17835
|
+
# body_config: {
|
17836
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
17837
|
+
# body: "__string", # required
|
17838
|
+
# text_color: "__string", # required
|
17839
|
+
# },
|
17840
|
+
# header_config: {
|
17841
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
17842
|
+
# header: "__string", # required
|
17843
|
+
# text_color: "__string", # required
|
17844
|
+
# },
|
17845
|
+
# image_url: "__string",
|
17846
|
+
# primary_btn: {
|
17847
|
+
# android: {
|
17848
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
17849
|
+
# link: "__string",
|
17850
|
+
# },
|
17851
|
+
# default_config: {
|
17852
|
+
# background_color: "__string",
|
17853
|
+
# border_radius: 1,
|
17854
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
17855
|
+
# link: "__string",
|
17856
|
+
# text: "__string", # required
|
17857
|
+
# text_color: "__string",
|
17858
|
+
# },
|
17859
|
+
# ios: {
|
17860
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
17861
|
+
# link: "__string",
|
17862
|
+
# },
|
17863
|
+
# web: {
|
17864
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
17865
|
+
# link: "__string",
|
17866
|
+
# },
|
17867
|
+
# },
|
17868
|
+
# secondary_btn: {
|
17869
|
+
# android: {
|
17870
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
17871
|
+
# link: "__string",
|
17872
|
+
# },
|
17873
|
+
# default_config: {
|
17874
|
+
# background_color: "__string",
|
17875
|
+
# border_radius: 1,
|
17876
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
17877
|
+
# link: "__string",
|
17878
|
+
# text: "__string", # required
|
17879
|
+
# text_color: "__string",
|
17880
|
+
# },
|
17881
|
+
# ios: {
|
17882
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
17883
|
+
# link: "__string",
|
17884
|
+
# },
|
17885
|
+
# web: {
|
17886
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
17887
|
+
# link: "__string",
|
17888
|
+
# },
|
17889
|
+
# },
|
17890
|
+
# },
|
17891
|
+
# ],
|
17892
|
+
# custom_config: {
|
17893
|
+
# "__string" => "__string",
|
17894
|
+
# },
|
17895
|
+
# layout: "BOTTOM_BANNER", # accepts BOTTOM_BANNER, TOP_BANNER, OVERLAYS, MOBILE_FEED, MIDDLE_BANNER, CAROUSEL
|
17896
|
+
# },
|
16679
17897
|
# },
|
16680
17898
|
# schedule: {
|
16681
17899
|
# end_time: "__string",
|
@@ -16700,7 +17918,7 @@ module Aws::Pinpoint
|
|
16700
17918
|
# },
|
16701
17919
|
# filter_type: "SYSTEM", # required, accepts SYSTEM, ENDPOINT
|
16702
17920
|
# },
|
16703
|
-
# frequency: "ONCE", # accepts ONCE, HOURLY, DAILY, WEEKLY, MONTHLY, EVENT
|
17921
|
+
# frequency: "ONCE", # accepts ONCE, HOURLY, DAILY, WEEKLY, MONTHLY, EVENT, IN_APP_EVENT
|
16704
17922
|
# is_local_time: false,
|
16705
17923
|
# quiet_time: {
|
16706
17924
|
# end: "__string",
|
@@ -16734,7 +17952,7 @@ module Aws::Pinpoint
|
|
16734
17952
|
# ],
|
16735
17953
|
# custom_delivery_configuration: {
|
16736
17954
|
# delivery_uri: "__string", # required
|
16737
|
-
# endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
17955
|
+
# endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
|
16738
17956
|
# },
|
16739
17957
|
# description: "__string",
|
16740
17958
|
# holdout_percent: 1,
|
@@ -16749,6 +17967,7 @@ module Aws::Pinpoint
|
|
16749
17967
|
# maximum_duration: 1,
|
16750
17968
|
# messages_per_second: 1,
|
16751
17969
|
# total: 1,
|
17970
|
+
# session: 1,
|
16752
17971
|
# },
|
16753
17972
|
# message_configuration: {
|
16754
17973
|
# adm_message: {
|
@@ -16838,6 +18057,73 @@ module Aws::Pinpoint
|
|
16838
18057
|
# entity_id: "__string",
|
16839
18058
|
# template_id: "__string",
|
16840
18059
|
# },
|
18060
|
+
# in_app_message: {
|
18061
|
+
# body: "__string",
|
18062
|
+
# content: [
|
18063
|
+
# {
|
18064
|
+
# background_color: "__string",
|
18065
|
+
# body_config: {
|
18066
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
18067
|
+
# body: "__string", # required
|
18068
|
+
# text_color: "__string", # required
|
18069
|
+
# },
|
18070
|
+
# header_config: {
|
18071
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
18072
|
+
# header: "__string", # required
|
18073
|
+
# text_color: "__string", # required
|
18074
|
+
# },
|
18075
|
+
# image_url: "__string",
|
18076
|
+
# primary_btn: {
|
18077
|
+
# android: {
|
18078
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
18079
|
+
# link: "__string",
|
18080
|
+
# },
|
18081
|
+
# default_config: {
|
18082
|
+
# background_color: "__string",
|
18083
|
+
# border_radius: 1,
|
18084
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
18085
|
+
# link: "__string",
|
18086
|
+
# text: "__string", # required
|
18087
|
+
# text_color: "__string",
|
18088
|
+
# },
|
18089
|
+
# ios: {
|
18090
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
18091
|
+
# link: "__string",
|
18092
|
+
# },
|
18093
|
+
# web: {
|
18094
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
18095
|
+
# link: "__string",
|
18096
|
+
# },
|
18097
|
+
# },
|
18098
|
+
# secondary_btn: {
|
18099
|
+
# android: {
|
18100
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
18101
|
+
# link: "__string",
|
18102
|
+
# },
|
18103
|
+
# default_config: {
|
18104
|
+
# background_color: "__string",
|
18105
|
+
# border_radius: 1,
|
18106
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
18107
|
+
# link: "__string",
|
18108
|
+
# text: "__string", # required
|
18109
|
+
# text_color: "__string",
|
18110
|
+
# },
|
18111
|
+
# ios: {
|
18112
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
18113
|
+
# link: "__string",
|
18114
|
+
# },
|
18115
|
+
# web: {
|
18116
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
18117
|
+
# link: "__string",
|
18118
|
+
# },
|
18119
|
+
# },
|
18120
|
+
# },
|
18121
|
+
# ],
|
18122
|
+
# custom_config: {
|
18123
|
+
# "__string" => "__string",
|
18124
|
+
# },
|
18125
|
+
# layout: "BOTTOM_BANNER", # accepts BOTTOM_BANNER, TOP_BANNER, OVERLAYS, MOBILE_FEED, MIDDLE_BANNER, CAROUSEL
|
18126
|
+
# },
|
16841
18127
|
# },
|
16842
18128
|
# name: "__string",
|
16843
18129
|
# schedule: {
|
@@ -16863,7 +18149,7 @@ module Aws::Pinpoint
|
|
16863
18149
|
# },
|
16864
18150
|
# filter_type: "SYSTEM", # required, accepts SYSTEM, ENDPOINT
|
16865
18151
|
# },
|
16866
|
-
# frequency: "ONCE", # accepts ONCE, HOURLY, DAILY, WEEKLY, MONTHLY, EVENT
|
18152
|
+
# frequency: "ONCE", # accepts ONCE, HOURLY, DAILY, WEEKLY, MONTHLY, EVENT, IN_APP_EVENT
|
16867
18153
|
# is_local_time: false,
|
16868
18154
|
# quiet_time: {
|
16869
18155
|
# end: "__string",
|
@@ -16897,6 +18183,7 @@ module Aws::Pinpoint
|
|
16897
18183
|
# },
|
16898
18184
|
# treatment_description: "__string",
|
16899
18185
|
# treatment_name: "__string",
|
18186
|
+
# priority: 1,
|
16900
18187
|
# },
|
16901
18188
|
# }
|
16902
18189
|
#
|
@@ -17045,7 +18332,7 @@ module Aws::Pinpoint
|
|
17045
18332
|
# attributes: {
|
17046
18333
|
# "__string" => ["__string"],
|
17047
18334
|
# },
|
17048
|
-
# channel_type: "PUSH", # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
18335
|
+
# channel_type: "PUSH", # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
|
17049
18336
|
# demographic: {
|
17050
18337
|
# app_version: "__string",
|
17051
18338
|
# locale: "__string",
|
@@ -17124,7 +18411,7 @@ module Aws::Pinpoint
|
|
17124
18411
|
# attributes: {
|
17125
18412
|
# "__string" => ["__string"],
|
17126
18413
|
# },
|
17127
|
-
# channel_type: "PUSH", # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
18414
|
+
# channel_type: "PUSH", # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
|
17128
18415
|
# demographic: {
|
17129
18416
|
# app_version: "__string",
|
17130
18417
|
# locale: "__string",
|
@@ -17236,6 +18523,121 @@ module Aws::Pinpoint
|
|
17236
18523
|
include Aws::Structure
|
17237
18524
|
end
|
17238
18525
|
|
18526
|
+
# @note When making an API call, you may pass UpdateInAppTemplateRequest
|
18527
|
+
# data as a hash:
|
18528
|
+
#
|
18529
|
+
# {
|
18530
|
+
# create_new_version: false,
|
18531
|
+
# in_app_template_request: { # required
|
18532
|
+
# content: [
|
18533
|
+
# {
|
18534
|
+
# background_color: "__string",
|
18535
|
+
# body_config: {
|
18536
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
18537
|
+
# body: "__string", # required
|
18538
|
+
# text_color: "__string", # required
|
18539
|
+
# },
|
18540
|
+
# header_config: {
|
18541
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
18542
|
+
# header: "__string", # required
|
18543
|
+
# text_color: "__string", # required
|
18544
|
+
# },
|
18545
|
+
# image_url: "__string",
|
18546
|
+
# primary_btn: {
|
18547
|
+
# android: {
|
18548
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
18549
|
+
# link: "__string",
|
18550
|
+
# },
|
18551
|
+
# default_config: {
|
18552
|
+
# background_color: "__string",
|
18553
|
+
# border_radius: 1,
|
18554
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
18555
|
+
# link: "__string",
|
18556
|
+
# text: "__string", # required
|
18557
|
+
# text_color: "__string",
|
18558
|
+
# },
|
18559
|
+
# ios: {
|
18560
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
18561
|
+
# link: "__string",
|
18562
|
+
# },
|
18563
|
+
# web: {
|
18564
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
18565
|
+
# link: "__string",
|
18566
|
+
# },
|
18567
|
+
# },
|
18568
|
+
# secondary_btn: {
|
18569
|
+
# android: {
|
18570
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
18571
|
+
# link: "__string",
|
18572
|
+
# },
|
18573
|
+
# default_config: {
|
18574
|
+
# background_color: "__string",
|
18575
|
+
# border_radius: 1,
|
18576
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
18577
|
+
# link: "__string",
|
18578
|
+
# text: "__string", # required
|
18579
|
+
# text_color: "__string",
|
18580
|
+
# },
|
18581
|
+
# ios: {
|
18582
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
18583
|
+
# link: "__string",
|
18584
|
+
# },
|
18585
|
+
# web: {
|
18586
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
18587
|
+
# link: "__string",
|
18588
|
+
# },
|
18589
|
+
# },
|
18590
|
+
# },
|
18591
|
+
# ],
|
18592
|
+
# custom_config: {
|
18593
|
+
# "__string" => "__string",
|
18594
|
+
# },
|
18595
|
+
# layout: "BOTTOM_BANNER", # accepts BOTTOM_BANNER, TOP_BANNER, OVERLAYS, MOBILE_FEED, MIDDLE_BANNER, CAROUSEL
|
18596
|
+
# tags: {
|
18597
|
+
# "__string" => "__string",
|
18598
|
+
# },
|
18599
|
+
# template_description: "__string",
|
18600
|
+
# },
|
18601
|
+
# template_name: "__string", # required
|
18602
|
+
# version: "__string",
|
18603
|
+
# }
|
18604
|
+
#
|
18605
|
+
# @!attribute [rw] create_new_version
|
18606
|
+
# @return [Boolean]
|
18607
|
+
#
|
18608
|
+
# @!attribute [rw] in_app_template_request
|
18609
|
+
# In-App Template Request.
|
18610
|
+
# @return [Types::InAppTemplateRequest]
|
18611
|
+
#
|
18612
|
+
# @!attribute [rw] template_name
|
18613
|
+
# @return [String]
|
18614
|
+
#
|
18615
|
+
# @!attribute [rw] version
|
18616
|
+
# @return [String]
|
18617
|
+
#
|
18618
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateInAppTemplateRequest AWS API Documentation
|
18619
|
+
#
|
18620
|
+
class UpdateInAppTemplateRequest < Struct.new(
|
18621
|
+
:create_new_version,
|
18622
|
+
:in_app_template_request,
|
18623
|
+
:template_name,
|
18624
|
+
:version)
|
18625
|
+
SENSITIVE = []
|
18626
|
+
include Aws::Structure
|
18627
|
+
end
|
18628
|
+
|
18629
|
+
# @!attribute [rw] message_body
|
18630
|
+
# Provides information about an API request or response.
|
18631
|
+
# @return [Types::MessageBody]
|
18632
|
+
#
|
18633
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateInAppTemplateResponse AWS API Documentation
|
18634
|
+
#
|
18635
|
+
class UpdateInAppTemplateResponse < Struct.new(
|
18636
|
+
:message_body)
|
18637
|
+
SENSITIVE = []
|
18638
|
+
include Aws::Structure
|
18639
|
+
end
|
18640
|
+
|
17239
18641
|
# @note When making an API call, you may pass UpdateJourneyRequest
|
17240
18642
|
# data as a hash:
|
17241
18643
|
#
|
@@ -17247,7 +18649,7 @@ module Aws::Pinpoint
|
|
17247
18649
|
# "__string" => {
|
17248
18650
|
# custom: {
|
17249
18651
|
# delivery_uri: "__string",
|
17250
|
-
# endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
18652
|
+
# endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
|
17251
18653
|
# message_config: {
|
17252
18654
|
# data: "__string",
|
17253
18655
|
# },
|
@@ -18785,6 +20187,7 @@ module Aws::Pinpoint
|
|
18785
20187
|
# maximum_duration: 1,
|
18786
20188
|
# messages_per_second: 1,
|
18787
20189
|
# total: 1,
|
20190
|
+
# session: 1,
|
18788
20191
|
# },
|
18789
20192
|
# quiet_time: {
|
18790
20193
|
# end: "__string",
|
@@ -18875,7 +20278,7 @@ module Aws::Pinpoint
|
|
18875
20278
|
# {
|
18876
20279
|
# custom_delivery_configuration: {
|
18877
20280
|
# delivery_uri: "__string", # required
|
18878
|
-
# endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
20281
|
+
# endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
|
18879
20282
|
# },
|
18880
20283
|
# message_configuration: {
|
18881
20284
|
# adm_message: {
|
@@ -18965,6 +20368,73 @@ module Aws::Pinpoint
|
|
18965
20368
|
# entity_id: "__string",
|
18966
20369
|
# template_id: "__string",
|
18967
20370
|
# },
|
20371
|
+
# in_app_message: {
|
20372
|
+
# body: "__string",
|
20373
|
+
# content: [
|
20374
|
+
# {
|
20375
|
+
# background_color: "__string",
|
20376
|
+
# body_config: {
|
20377
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
20378
|
+
# body: "__string", # required
|
20379
|
+
# text_color: "__string", # required
|
20380
|
+
# },
|
20381
|
+
# header_config: {
|
20382
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
20383
|
+
# header: "__string", # required
|
20384
|
+
# text_color: "__string", # required
|
20385
|
+
# },
|
20386
|
+
# image_url: "__string",
|
20387
|
+
# primary_btn: {
|
20388
|
+
# android: {
|
20389
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
20390
|
+
# link: "__string",
|
20391
|
+
# },
|
20392
|
+
# default_config: {
|
20393
|
+
# background_color: "__string",
|
20394
|
+
# border_radius: 1,
|
20395
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
20396
|
+
# link: "__string",
|
20397
|
+
# text: "__string", # required
|
20398
|
+
# text_color: "__string",
|
20399
|
+
# },
|
20400
|
+
# ios: {
|
20401
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
20402
|
+
# link: "__string",
|
20403
|
+
# },
|
20404
|
+
# web: {
|
20405
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
20406
|
+
# link: "__string",
|
20407
|
+
# },
|
20408
|
+
# },
|
20409
|
+
# secondary_btn: {
|
20410
|
+
# android: {
|
20411
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
20412
|
+
# link: "__string",
|
20413
|
+
# },
|
20414
|
+
# default_config: {
|
20415
|
+
# background_color: "__string",
|
20416
|
+
# border_radius: 1,
|
20417
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
20418
|
+
# link: "__string",
|
20419
|
+
# text: "__string", # required
|
20420
|
+
# text_color: "__string",
|
20421
|
+
# },
|
20422
|
+
# ios: {
|
20423
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
20424
|
+
# link: "__string",
|
20425
|
+
# },
|
20426
|
+
# web: {
|
20427
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
20428
|
+
# link: "__string",
|
20429
|
+
# },
|
20430
|
+
# },
|
20431
|
+
# },
|
20432
|
+
# ],
|
20433
|
+
# custom_config: {
|
20434
|
+
# "__string" => "__string",
|
20435
|
+
# },
|
20436
|
+
# layout: "BOTTOM_BANNER", # accepts BOTTOM_BANNER, TOP_BANNER, OVERLAYS, MOBILE_FEED, MIDDLE_BANNER, CAROUSEL
|
20437
|
+
# },
|
18968
20438
|
# },
|
18969
20439
|
# schedule: {
|
18970
20440
|
# end_time: "__string",
|
@@ -18989,7 +20459,7 @@ module Aws::Pinpoint
|
|
18989
20459
|
# },
|
18990
20460
|
# filter_type: "SYSTEM", # required, accepts SYSTEM, ENDPOINT
|
18991
20461
|
# },
|
18992
|
-
# frequency: "ONCE", # accepts ONCE, HOURLY, DAILY, WEEKLY, MONTHLY, EVENT
|
20462
|
+
# frequency: "ONCE", # accepts ONCE, HOURLY, DAILY, WEEKLY, MONTHLY, EVENT, IN_APP_EVENT
|
18993
20463
|
# is_local_time: false,
|
18994
20464
|
# quiet_time: {
|
18995
20465
|
# end: "__string",
|
@@ -19023,7 +20493,7 @@ module Aws::Pinpoint
|
|
19023
20493
|
# ],
|
19024
20494
|
# custom_delivery_configuration: {
|
19025
20495
|
# delivery_uri: "__string", # required
|
19026
|
-
# endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
20496
|
+
# endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
|
19027
20497
|
# },
|
19028
20498
|
# description: "__string",
|
19029
20499
|
# holdout_percent: 1,
|
@@ -19038,6 +20508,7 @@ module Aws::Pinpoint
|
|
19038
20508
|
# maximum_duration: 1,
|
19039
20509
|
# messages_per_second: 1,
|
19040
20510
|
# total: 1,
|
20511
|
+
# session: 1,
|
19041
20512
|
# },
|
19042
20513
|
# message_configuration: {
|
19043
20514
|
# adm_message: {
|
@@ -19127,6 +20598,73 @@ module Aws::Pinpoint
|
|
19127
20598
|
# entity_id: "__string",
|
19128
20599
|
# template_id: "__string",
|
19129
20600
|
# },
|
20601
|
+
# in_app_message: {
|
20602
|
+
# body: "__string",
|
20603
|
+
# content: [
|
20604
|
+
# {
|
20605
|
+
# background_color: "__string",
|
20606
|
+
# body_config: {
|
20607
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
20608
|
+
# body: "__string", # required
|
20609
|
+
# text_color: "__string", # required
|
20610
|
+
# },
|
20611
|
+
# header_config: {
|
20612
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
20613
|
+
# header: "__string", # required
|
20614
|
+
# text_color: "__string", # required
|
20615
|
+
# },
|
20616
|
+
# image_url: "__string",
|
20617
|
+
# primary_btn: {
|
20618
|
+
# android: {
|
20619
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
20620
|
+
# link: "__string",
|
20621
|
+
# },
|
20622
|
+
# default_config: {
|
20623
|
+
# background_color: "__string",
|
20624
|
+
# border_radius: 1,
|
20625
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
20626
|
+
# link: "__string",
|
20627
|
+
# text: "__string", # required
|
20628
|
+
# text_color: "__string",
|
20629
|
+
# },
|
20630
|
+
# ios: {
|
20631
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
20632
|
+
# link: "__string",
|
20633
|
+
# },
|
20634
|
+
# web: {
|
20635
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
20636
|
+
# link: "__string",
|
20637
|
+
# },
|
20638
|
+
# },
|
20639
|
+
# secondary_btn: {
|
20640
|
+
# android: {
|
20641
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
20642
|
+
# link: "__string",
|
20643
|
+
# },
|
20644
|
+
# default_config: {
|
20645
|
+
# background_color: "__string",
|
20646
|
+
# border_radius: 1,
|
20647
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
20648
|
+
# link: "__string",
|
20649
|
+
# text: "__string", # required
|
20650
|
+
# text_color: "__string",
|
20651
|
+
# },
|
20652
|
+
# ios: {
|
20653
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
20654
|
+
# link: "__string",
|
20655
|
+
# },
|
20656
|
+
# web: {
|
20657
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
20658
|
+
# link: "__string",
|
20659
|
+
# },
|
20660
|
+
# },
|
20661
|
+
# },
|
20662
|
+
# ],
|
20663
|
+
# custom_config: {
|
20664
|
+
# "__string" => "__string",
|
20665
|
+
# },
|
20666
|
+
# layout: "BOTTOM_BANNER", # accepts BOTTOM_BANNER, TOP_BANNER, OVERLAYS, MOBILE_FEED, MIDDLE_BANNER, CAROUSEL
|
20667
|
+
# },
|
19130
20668
|
# },
|
19131
20669
|
# name: "__string",
|
19132
20670
|
# schedule: {
|
@@ -19152,7 +20690,7 @@ module Aws::Pinpoint
|
|
19152
20690
|
# },
|
19153
20691
|
# filter_type: "SYSTEM", # required, accepts SYSTEM, ENDPOINT
|
19154
20692
|
# },
|
19155
|
-
# frequency: "ONCE", # accepts ONCE, HOURLY, DAILY, WEEKLY, MONTHLY, EVENT
|
20693
|
+
# frequency: "ONCE", # accepts ONCE, HOURLY, DAILY, WEEKLY, MONTHLY, EVENT, IN_APP_EVENT
|
19156
20694
|
# is_local_time: false,
|
19157
20695
|
# quiet_time: {
|
19158
20696
|
# end: "__string",
|
@@ -19186,6 +20724,7 @@ module Aws::Pinpoint
|
|
19186
20724
|
# },
|
19187
20725
|
# treatment_description: "__string",
|
19188
20726
|
# treatment_name: "__string",
|
20727
|
+
# priority: 1,
|
19189
20728
|
# }
|
19190
20729
|
#
|
19191
20730
|
# @!attribute [rw] additional_treatments
|
@@ -19265,6 +20804,12 @@ module Aws::Pinpoint
|
|
19265
20804
|
# campaign that's used for A/B testing.
|
19266
20805
|
# @return [String]
|
19267
20806
|
#
|
20807
|
+
# @!attribute [rw] priority
|
20808
|
+
# Defines the priority of the campaign, used to decide the order of
|
20809
|
+
# messages displayed to user if there are multiple messages scheduled
|
20810
|
+
# to be displayed at the same moment.
|
20811
|
+
# @return [Integer]
|
20812
|
+
#
|
19268
20813
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/WriteCampaignRequest AWS API Documentation
|
19269
20814
|
#
|
19270
20815
|
class WriteCampaignRequest < Struct.new(
|
@@ -19283,7 +20828,8 @@ module Aws::Pinpoint
|
|
19283
20828
|
:tags,
|
19284
20829
|
:template_configuration,
|
19285
20830
|
:treatment_description,
|
19286
|
-
:treatment_name
|
20831
|
+
:treatment_name,
|
20832
|
+
:priority)
|
19287
20833
|
SENSITIVE = []
|
19288
20834
|
include Aws::Structure
|
19289
20835
|
end
|
@@ -19337,7 +20883,7 @@ module Aws::Pinpoint
|
|
19337
20883
|
# "__string" => {
|
19338
20884
|
# custom: {
|
19339
20885
|
# delivery_uri: "__string",
|
19340
|
-
# endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
20886
|
+
# endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
|
19341
20887
|
# message_config: {
|
19342
20888
|
# data: "__string",
|
19343
20889
|
# },
|
@@ -19979,7 +21525,7 @@ module Aws::Pinpoint
|
|
19979
21525
|
# {
|
19980
21526
|
# custom_delivery_configuration: {
|
19981
21527
|
# delivery_uri: "__string", # required
|
19982
|
-
# endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
21528
|
+
# endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
|
19983
21529
|
# },
|
19984
21530
|
# message_configuration: {
|
19985
21531
|
# adm_message: {
|
@@ -20069,6 +21615,73 @@ module Aws::Pinpoint
|
|
20069
21615
|
# entity_id: "__string",
|
20070
21616
|
# template_id: "__string",
|
20071
21617
|
# },
|
21618
|
+
# in_app_message: {
|
21619
|
+
# body: "__string",
|
21620
|
+
# content: [
|
21621
|
+
# {
|
21622
|
+
# background_color: "__string",
|
21623
|
+
# body_config: {
|
21624
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
21625
|
+
# body: "__string", # required
|
21626
|
+
# text_color: "__string", # required
|
21627
|
+
# },
|
21628
|
+
# header_config: {
|
21629
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
21630
|
+
# header: "__string", # required
|
21631
|
+
# text_color: "__string", # required
|
21632
|
+
# },
|
21633
|
+
# image_url: "__string",
|
21634
|
+
# primary_btn: {
|
21635
|
+
# android: {
|
21636
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
21637
|
+
# link: "__string",
|
21638
|
+
# },
|
21639
|
+
# default_config: {
|
21640
|
+
# background_color: "__string",
|
21641
|
+
# border_radius: 1,
|
21642
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
21643
|
+
# link: "__string",
|
21644
|
+
# text: "__string", # required
|
21645
|
+
# text_color: "__string",
|
21646
|
+
# },
|
21647
|
+
# ios: {
|
21648
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
21649
|
+
# link: "__string",
|
21650
|
+
# },
|
21651
|
+
# web: {
|
21652
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
21653
|
+
# link: "__string",
|
21654
|
+
# },
|
21655
|
+
# },
|
21656
|
+
# secondary_btn: {
|
21657
|
+
# android: {
|
21658
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
21659
|
+
# link: "__string",
|
21660
|
+
# },
|
21661
|
+
# default_config: {
|
21662
|
+
# background_color: "__string",
|
21663
|
+
# border_radius: 1,
|
21664
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
21665
|
+
# link: "__string",
|
21666
|
+
# text: "__string", # required
|
21667
|
+
# text_color: "__string",
|
21668
|
+
# },
|
21669
|
+
# ios: {
|
21670
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
21671
|
+
# link: "__string",
|
21672
|
+
# },
|
21673
|
+
# web: {
|
21674
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
21675
|
+
# link: "__string",
|
21676
|
+
# },
|
21677
|
+
# },
|
21678
|
+
# },
|
21679
|
+
# ],
|
21680
|
+
# custom_config: {
|
21681
|
+
# "__string" => "__string",
|
21682
|
+
# },
|
21683
|
+
# layout: "BOTTOM_BANNER", # accepts BOTTOM_BANNER, TOP_BANNER, OVERLAYS, MOBILE_FEED, MIDDLE_BANNER, CAROUSEL
|
21684
|
+
# },
|
20072
21685
|
# },
|
20073
21686
|
# schedule: {
|
20074
21687
|
# end_time: "__string",
|
@@ -20093,7 +21706,7 @@ module Aws::Pinpoint
|
|
20093
21706
|
# },
|
20094
21707
|
# filter_type: "SYSTEM", # required, accepts SYSTEM, ENDPOINT
|
20095
21708
|
# },
|
20096
|
-
# frequency: "ONCE", # accepts ONCE, HOURLY, DAILY, WEEKLY, MONTHLY, EVENT
|
21709
|
+
# frequency: "ONCE", # accepts ONCE, HOURLY, DAILY, WEEKLY, MONTHLY, EVENT, IN_APP_EVENT
|
20097
21710
|
# is_local_time: false,
|
20098
21711
|
# quiet_time: {
|
20099
21712
|
# end: "__string",
|