aws-sdk-pinpoint 1.29.0 → 1.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-pinpoint.rb +1 -1
- data/lib/aws-sdk-pinpoint/client.rb +1751 -23
- data/lib/aws-sdk-pinpoint/client_api.rb +430 -1
- data/lib/aws-sdk-pinpoint/types.rb +3267 -241
- metadata +2 -2
@@ -26,6 +26,7 @@ module Aws::Pinpoint
|
|
26
26
|
APNSVoipSandboxChannelResponse = Shapes::StructureShape.new(name: 'APNSVoipSandboxChannelResponse')
|
27
27
|
Action = Shapes::StringShape.new(name: 'Action')
|
28
28
|
ActivitiesResponse = Shapes::StructureShape.new(name: 'ActivitiesResponse')
|
29
|
+
Activity = Shapes::StructureShape.new(name: 'Activity')
|
29
30
|
ActivityResponse = Shapes::StructureShape.new(name: 'ActivityResponse')
|
30
31
|
AddressConfiguration = Shapes::StructureShape.new(name: 'AddressConfiguration')
|
31
32
|
AndroidPushNotificationTemplate = Shapes::StructureShape.new(name: 'AndroidPushNotificationTemplate')
|
@@ -54,6 +55,8 @@ module Aws::Pinpoint
|
|
54
55
|
ChannelResponse = Shapes::StructureShape.new(name: 'ChannelResponse')
|
55
56
|
ChannelType = Shapes::StringShape.new(name: 'ChannelType')
|
56
57
|
ChannelsResponse = Shapes::StructureShape.new(name: 'ChannelsResponse')
|
58
|
+
Condition = Shapes::StructureShape.new(name: 'Condition')
|
59
|
+
ConditionalSplitActivity = Shapes::StructureShape.new(name: 'ConditionalSplitActivity')
|
57
60
|
CreateAppRequest = Shapes::StructureShape.new(name: 'CreateAppRequest')
|
58
61
|
CreateAppResponse = Shapes::StructureShape.new(name: 'CreateAppResponse')
|
59
62
|
CreateApplicationRequest = Shapes::StructureShape.new(name: 'CreateApplicationRequest')
|
@@ -65,6 +68,8 @@ module Aws::Pinpoint
|
|
65
68
|
CreateExportJobResponse = Shapes::StructureShape.new(name: 'CreateExportJobResponse')
|
66
69
|
CreateImportJobRequest = Shapes::StructureShape.new(name: 'CreateImportJobRequest')
|
67
70
|
CreateImportJobResponse = Shapes::StructureShape.new(name: 'CreateImportJobResponse')
|
71
|
+
CreateJourneyRequest = Shapes::StructureShape.new(name: 'CreateJourneyRequest')
|
72
|
+
CreateJourneyResponse = Shapes::StructureShape.new(name: 'CreateJourneyResponse')
|
68
73
|
CreatePushTemplateRequest = Shapes::StructureShape.new(name: 'CreatePushTemplateRequest')
|
69
74
|
CreatePushTemplateResponse = Shapes::StructureShape.new(name: 'CreatePushTemplateResponse')
|
70
75
|
CreateSegmentRequest = Shapes::StructureShape.new(name: 'CreateSegmentRequest')
|
@@ -101,6 +106,8 @@ module Aws::Pinpoint
|
|
101
106
|
DeleteEventStreamResponse = Shapes::StructureShape.new(name: 'DeleteEventStreamResponse')
|
102
107
|
DeleteGcmChannelRequest = Shapes::StructureShape.new(name: 'DeleteGcmChannelRequest')
|
103
108
|
DeleteGcmChannelResponse = Shapes::StructureShape.new(name: 'DeleteGcmChannelResponse')
|
109
|
+
DeleteJourneyRequest = Shapes::StructureShape.new(name: 'DeleteJourneyRequest')
|
110
|
+
DeleteJourneyResponse = Shapes::StructureShape.new(name: 'DeleteJourneyResponse')
|
104
111
|
DeletePushTemplateRequest = Shapes::StructureShape.new(name: 'DeletePushTemplateRequest')
|
105
112
|
DeletePushTemplateResponse = Shapes::StructureShape.new(name: 'DeletePushTemplateResponse')
|
106
113
|
DeleteSegmentRequest = Shapes::StructureShape.new(name: 'DeleteSegmentRequest')
|
@@ -120,6 +127,7 @@ module Aws::Pinpoint
|
|
120
127
|
EmailChannelRequest = Shapes::StructureShape.new(name: 'EmailChannelRequest')
|
121
128
|
EmailChannelResponse = Shapes::StructureShape.new(name: 'EmailChannelResponse')
|
122
129
|
EmailMessage = Shapes::StructureShape.new(name: 'EmailMessage')
|
130
|
+
EmailMessageActivity = Shapes::StructureShape.new(name: 'EmailMessageActivity')
|
123
131
|
EmailTemplateRequest = Shapes::StructureShape.new(name: 'EmailTemplateRequest')
|
124
132
|
EmailTemplateResponse = Shapes::StructureShape.new(name: 'EmailTemplateResponse')
|
125
133
|
EndpointBatchItem = Shapes::StructureShape.new(name: 'EndpointBatchItem')
|
@@ -134,6 +142,7 @@ module Aws::Pinpoint
|
|
134
142
|
EndpointUser = Shapes::StructureShape.new(name: 'EndpointUser')
|
135
143
|
EndpointsResponse = Shapes::StructureShape.new(name: 'EndpointsResponse')
|
136
144
|
Event = Shapes::StructureShape.new(name: 'Event')
|
145
|
+
EventCondition = Shapes::StructureShape.new(name: 'EventCondition')
|
137
146
|
EventDimensions = Shapes::StructureShape.new(name: 'EventDimensions')
|
138
147
|
EventItemResponse = Shapes::StructureShape.new(name: 'EventItemResponse')
|
139
148
|
EventStream = Shapes::StructureShape.new(name: 'EventStream')
|
@@ -205,6 +214,14 @@ module Aws::Pinpoint
|
|
205
214
|
GetImportJobResponse = Shapes::StructureShape.new(name: 'GetImportJobResponse')
|
206
215
|
GetImportJobsRequest = Shapes::StructureShape.new(name: 'GetImportJobsRequest')
|
207
216
|
GetImportJobsResponse = Shapes::StructureShape.new(name: 'GetImportJobsResponse')
|
217
|
+
GetJourneyDateRangeKpiRequest = Shapes::StructureShape.new(name: 'GetJourneyDateRangeKpiRequest')
|
218
|
+
GetJourneyDateRangeKpiResponse = Shapes::StructureShape.new(name: 'GetJourneyDateRangeKpiResponse')
|
219
|
+
GetJourneyExecutionActivityMetricsRequest = Shapes::StructureShape.new(name: 'GetJourneyExecutionActivityMetricsRequest')
|
220
|
+
GetJourneyExecutionActivityMetricsResponse = Shapes::StructureShape.new(name: 'GetJourneyExecutionActivityMetricsResponse')
|
221
|
+
GetJourneyExecutionMetricsRequest = Shapes::StructureShape.new(name: 'GetJourneyExecutionMetricsRequest')
|
222
|
+
GetJourneyExecutionMetricsResponse = Shapes::StructureShape.new(name: 'GetJourneyExecutionMetricsResponse')
|
223
|
+
GetJourneyRequest = Shapes::StructureShape.new(name: 'GetJourneyRequest')
|
224
|
+
GetJourneyResponse = Shapes::StructureShape.new(name: 'GetJourneyResponse')
|
208
225
|
GetPushTemplateRequest = Shapes::StructureShape.new(name: 'GetPushTemplateRequest')
|
209
226
|
GetPushTemplateResponse = Shapes::StructureShape.new(name: 'GetPushTemplateResponse')
|
210
227
|
GetSegmentExportJobsRequest = Shapes::StructureShape.new(name: 'GetSegmentExportJobsRequest')
|
@@ -227,6 +244,7 @@ module Aws::Pinpoint
|
|
227
244
|
GetUserEndpointsResponse = Shapes::StructureShape.new(name: 'GetUserEndpointsResponse')
|
228
245
|
GetVoiceChannelRequest = Shapes::StructureShape.new(name: 'GetVoiceChannelRequest')
|
229
246
|
GetVoiceChannelResponse = Shapes::StructureShape.new(name: 'GetVoiceChannelResponse')
|
247
|
+
HoldoutActivity = Shapes::StructureShape.new(name: 'HoldoutActivity')
|
230
248
|
ImportJobRequest = Shapes::StructureShape.new(name: 'ImportJobRequest')
|
231
249
|
ImportJobResource = Shapes::StructureShape.new(name: 'ImportJobResource')
|
232
250
|
ImportJobResponse = Shapes::StructureShape.new(name: 'ImportJobResponse')
|
@@ -235,6 +253,17 @@ module Aws::Pinpoint
|
|
235
253
|
InternalServerErrorException = Shapes::StructureShape.new(name: 'InternalServerErrorException')
|
236
254
|
ItemResponse = Shapes::StructureShape.new(name: 'ItemResponse')
|
237
255
|
JobStatus = Shapes::StringShape.new(name: 'JobStatus')
|
256
|
+
JourneyDateRangeKpiResponse = Shapes::StructureShape.new(name: 'JourneyDateRangeKpiResponse')
|
257
|
+
JourneyEmailMessage = Shapes::StructureShape.new(name: 'JourneyEmailMessage')
|
258
|
+
JourneyExecutionActivityMetricsResponse = Shapes::StructureShape.new(name: 'JourneyExecutionActivityMetricsResponse')
|
259
|
+
JourneyExecutionMetricsResponse = Shapes::StructureShape.new(name: 'JourneyExecutionMetricsResponse')
|
260
|
+
JourneyLimits = Shapes::StructureShape.new(name: 'JourneyLimits')
|
261
|
+
JourneyResponse = Shapes::StructureShape.new(name: 'JourneyResponse')
|
262
|
+
JourneySchedule = Shapes::StructureShape.new(name: 'JourneySchedule')
|
263
|
+
JourneyStateRequest = Shapes::StructureShape.new(name: 'JourneyStateRequest')
|
264
|
+
JourneysResponse = Shapes::StructureShape.new(name: 'JourneysResponse')
|
265
|
+
ListJourneysRequest = Shapes::StructureShape.new(name: 'ListJourneysRequest')
|
266
|
+
ListJourneysResponse = Shapes::StructureShape.new(name: 'ListJourneysResponse')
|
238
267
|
ListOfActivityResponse = Shapes::ListShape.new(name: 'ListOfActivityResponse')
|
239
268
|
ListOfApplicationResponse = Shapes::ListShape.new(name: 'ListOfApplicationResponse')
|
240
269
|
ListOfCampaignResponse = Shapes::ListShape.new(name: 'ListOfCampaignResponse')
|
@@ -242,12 +271,16 @@ module Aws::Pinpoint
|
|
242
271
|
ListOfEndpointResponse = Shapes::ListShape.new(name: 'ListOfEndpointResponse')
|
243
272
|
ListOfExportJobResponse = Shapes::ListShape.new(name: 'ListOfExportJobResponse')
|
244
273
|
ListOfImportJobResponse = Shapes::ListShape.new(name: 'ListOfImportJobResponse')
|
274
|
+
ListOfJourneyResponse = Shapes::ListShape.new(name: 'ListOfJourneyResponse')
|
275
|
+
ListOfMultiConditionalBranch = Shapes::ListShape.new(name: 'ListOfMultiConditionalBranch')
|
276
|
+
ListOfRandomSplitEntry = Shapes::ListShape.new(name: 'ListOfRandomSplitEntry')
|
245
277
|
ListOfResultRow = Shapes::ListShape.new(name: 'ListOfResultRow')
|
246
278
|
ListOfResultRowValue = Shapes::ListShape.new(name: 'ListOfResultRowValue')
|
247
279
|
ListOfSegmentDimensions = Shapes::ListShape.new(name: 'ListOfSegmentDimensions')
|
248
280
|
ListOfSegmentGroup = Shapes::ListShape.new(name: 'ListOfSegmentGroup')
|
249
281
|
ListOfSegmentReference = Shapes::ListShape.new(name: 'ListOfSegmentReference')
|
250
282
|
ListOfSegmentResponse = Shapes::ListShape.new(name: 'ListOfSegmentResponse')
|
283
|
+
ListOfSimpleCondition = Shapes::ListShape.new(name: 'ListOfSimpleCondition')
|
251
284
|
ListOfTemplateResponse = Shapes::ListShape.new(name: 'ListOfTemplateResponse')
|
252
285
|
ListOfTreatmentResource = Shapes::ListShape.new(name: 'ListOfTreatmentResource')
|
253
286
|
ListOfWriteTreatmentResource = Shapes::ListShape.new(name: 'ListOfWriteTreatmentResource')
|
@@ -256,6 +289,7 @@ module Aws::Pinpoint
|
|
256
289
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
257
290
|
ListTemplatesRequest = Shapes::StructureShape.new(name: 'ListTemplatesRequest')
|
258
291
|
ListTemplatesResponse = Shapes::StructureShape.new(name: 'ListTemplatesResponse')
|
292
|
+
MapOfActivity = Shapes::MapShape.new(name: 'MapOfActivity')
|
259
293
|
MapOfAddressConfiguration = Shapes::MapShape.new(name: 'MapOfAddressConfiguration')
|
260
294
|
MapOfAttributeDimension = Shapes::MapShape.new(name: 'MapOfAttributeDimension')
|
261
295
|
MapOfChannelResponse = Shapes::MapShape.new(name: 'MapOfChannelResponse')
|
@@ -282,9 +316,12 @@ module Aws::Pinpoint
|
|
282
316
|
MethodNotAllowedException = Shapes::StructureShape.new(name: 'MethodNotAllowedException')
|
283
317
|
MetricDimension = Shapes::StructureShape.new(name: 'MetricDimension')
|
284
318
|
Mode = Shapes::StringShape.new(name: 'Mode')
|
319
|
+
MultiConditionalBranch = Shapes::StructureShape.new(name: 'MultiConditionalBranch')
|
320
|
+
MultiConditionalSplitActivity = Shapes::StructureShape.new(name: 'MultiConditionalSplitActivity')
|
285
321
|
NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
|
286
322
|
NumberValidateRequest = Shapes::StructureShape.new(name: 'NumberValidateRequest')
|
287
323
|
NumberValidateResponse = Shapes::StructureShape.new(name: 'NumberValidateResponse')
|
324
|
+
Operator = Shapes::StringShape.new(name: 'Operator')
|
288
325
|
PhoneNumberValidateRequest = Shapes::StructureShape.new(name: 'PhoneNumberValidateRequest')
|
289
326
|
PhoneNumberValidateResponse = Shapes::StructureShape.new(name: 'PhoneNumberValidateResponse')
|
290
327
|
PublicEndpoint = Shapes::StructureShape.new(name: 'PublicEndpoint')
|
@@ -295,6 +332,8 @@ module Aws::Pinpoint
|
|
295
332
|
PutEventsRequest = Shapes::StructureShape.new(name: 'PutEventsRequest')
|
296
333
|
PutEventsResponse = Shapes::StructureShape.new(name: 'PutEventsResponse')
|
297
334
|
QuietTime = Shapes::StructureShape.new(name: 'QuietTime')
|
335
|
+
RandomSplitActivity = Shapes::StructureShape.new(name: 'RandomSplitActivity')
|
336
|
+
RandomSplitEntry = Shapes::StructureShape.new(name: 'RandomSplitEntry')
|
298
337
|
RawEmail = Shapes::StructureShape.new(name: 'RawEmail')
|
299
338
|
RecencyDimension = Shapes::StructureShape.new(name: 'RecencyDimension')
|
300
339
|
RecencyType = Shapes::StringShape.new(name: 'RecencyType')
|
@@ -309,6 +348,7 @@ module Aws::Pinpoint
|
|
309
348
|
SMSTemplateResponse = Shapes::StructureShape.new(name: 'SMSTemplateResponse')
|
310
349
|
Schedule = Shapes::StructureShape.new(name: 'Schedule')
|
311
350
|
SegmentBehaviors = Shapes::StructureShape.new(name: 'SegmentBehaviors')
|
351
|
+
SegmentCondition = Shapes::StructureShape.new(name: 'SegmentCondition')
|
312
352
|
SegmentDemographics = Shapes::StructureShape.new(name: 'SegmentDemographics')
|
313
353
|
SegmentDimensions = Shapes::StructureShape.new(name: 'SegmentDimensions')
|
314
354
|
SegmentGroup = Shapes::StructureShape.new(name: 'SegmentGroup')
|
@@ -327,9 +367,12 @@ module Aws::Pinpoint
|
|
327
367
|
SendUsersMessagesResponse = Shapes::StructureShape.new(name: 'SendUsersMessagesResponse')
|
328
368
|
Session = Shapes::StructureShape.new(name: 'Session')
|
329
369
|
SetDimension = Shapes::StructureShape.new(name: 'SetDimension')
|
370
|
+
SimpleCondition = Shapes::StructureShape.new(name: 'SimpleCondition')
|
330
371
|
SimpleEmail = Shapes::StructureShape.new(name: 'SimpleEmail')
|
331
372
|
SimpleEmailPart = Shapes::StructureShape.new(name: 'SimpleEmailPart')
|
332
373
|
SourceType = Shapes::StringShape.new(name: 'SourceType')
|
374
|
+
StartCondition = Shapes::StructureShape.new(name: 'StartCondition')
|
375
|
+
State = Shapes::StringShape.new(name: 'State')
|
333
376
|
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
334
377
|
TagsModel = Shapes::StructureShape.new(name: 'TagsModel')
|
335
378
|
Template = Shapes::StructureShape.new(name: 'Template')
|
@@ -368,6 +411,10 @@ module Aws::Pinpoint
|
|
368
411
|
UpdateEndpointsBatchResponse = Shapes::StructureShape.new(name: 'UpdateEndpointsBatchResponse')
|
369
412
|
UpdateGcmChannelRequest = Shapes::StructureShape.new(name: 'UpdateGcmChannelRequest')
|
370
413
|
UpdateGcmChannelResponse = Shapes::StructureShape.new(name: 'UpdateGcmChannelResponse')
|
414
|
+
UpdateJourneyRequest = Shapes::StructureShape.new(name: 'UpdateJourneyRequest')
|
415
|
+
UpdateJourneyResponse = Shapes::StructureShape.new(name: 'UpdateJourneyResponse')
|
416
|
+
UpdateJourneyStateRequest = Shapes::StructureShape.new(name: 'UpdateJourneyStateRequest')
|
417
|
+
UpdateJourneyStateResponse = Shapes::StructureShape.new(name: 'UpdateJourneyStateResponse')
|
371
418
|
UpdatePushTemplateRequest = Shapes::StructureShape.new(name: 'UpdatePushTemplateRequest')
|
372
419
|
UpdatePushTemplateResponse = Shapes::StructureShape.new(name: 'UpdatePushTemplateResponse')
|
373
420
|
UpdateSegmentRequest = Shapes::StructureShape.new(name: 'UpdateSegmentRequest')
|
@@ -381,9 +428,12 @@ module Aws::Pinpoint
|
|
381
428
|
VoiceChannelRequest = Shapes::StructureShape.new(name: 'VoiceChannelRequest')
|
382
429
|
VoiceChannelResponse = Shapes::StructureShape.new(name: 'VoiceChannelResponse')
|
383
430
|
VoiceMessage = Shapes::StructureShape.new(name: 'VoiceMessage')
|
431
|
+
WaitActivity = Shapes::StructureShape.new(name: 'WaitActivity')
|
432
|
+
WaitTime = Shapes::StructureShape.new(name: 'WaitTime')
|
384
433
|
WriteApplicationSettingsRequest = Shapes::StructureShape.new(name: 'WriteApplicationSettingsRequest')
|
385
434
|
WriteCampaignRequest = Shapes::StructureShape.new(name: 'WriteCampaignRequest')
|
386
435
|
WriteEventStream = Shapes::StructureShape.new(name: 'WriteEventStream')
|
436
|
+
WriteJourneyRequest = Shapes::StructureShape.new(name: 'WriteJourneyRequest')
|
387
437
|
WriteSegmentRequest = Shapes::StructureShape.new(name: 'WriteSegmentRequest')
|
388
438
|
WriteTreatmentResource = Shapes::StructureShape.new(name: 'WriteTreatmentResource')
|
389
439
|
__blob = Shapes::BlobShape.new(name: '__blob')
|
@@ -454,6 +504,7 @@ module Aws::Pinpoint
|
|
454
504
|
APNSChannelResponse.add_member(:version, Shapes::ShapeRef.new(shape: __integer, location_name: "Version"))
|
455
505
|
APNSChannelResponse.struct_class = Types::APNSChannelResponse
|
456
506
|
|
507
|
+
APNSMessage.add_member(:apns_push_type, Shapes::ShapeRef.new(shape: __string, location_name: "APNSPushType"))
|
457
508
|
APNSMessage.add_member(:action, Shapes::ShapeRef.new(shape: Action, location_name: "Action"))
|
458
509
|
APNSMessage.add_member(:badge, Shapes::ShapeRef.new(shape: __integer, location_name: "Badge"))
|
459
510
|
APNSMessage.add_member(:body, Shapes::ShapeRef.new(shape: __string, location_name: "Body"))
|
@@ -557,6 +608,15 @@ module Aws::Pinpoint
|
|
557
608
|
ActivitiesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "NextToken"))
|
558
609
|
ActivitiesResponse.struct_class = Types::ActivitiesResponse
|
559
610
|
|
611
|
+
Activity.add_member(:conditional_split, Shapes::ShapeRef.new(shape: ConditionalSplitActivity, location_name: "ConditionalSplit"))
|
612
|
+
Activity.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "Description"))
|
613
|
+
Activity.add_member(:email, Shapes::ShapeRef.new(shape: EmailMessageActivity, location_name: "EMAIL"))
|
614
|
+
Activity.add_member(:holdout, Shapes::ShapeRef.new(shape: HoldoutActivity, location_name: "Holdout"))
|
615
|
+
Activity.add_member(:multi_condition, Shapes::ShapeRef.new(shape: MultiConditionalSplitActivity, location_name: "MultiCondition"))
|
616
|
+
Activity.add_member(:random_split, Shapes::ShapeRef.new(shape: RandomSplitActivity, location_name: "RandomSplit"))
|
617
|
+
Activity.add_member(:wait, Shapes::ShapeRef.new(shape: WaitActivity, location_name: "Wait"))
|
618
|
+
Activity.struct_class = Types::Activity
|
619
|
+
|
560
620
|
ActivityResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "ApplicationId"))
|
561
621
|
ActivityResponse.add_member(:campaign_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "CampaignId"))
|
562
622
|
ActivityResponse.add_member(:end, Shapes::ShapeRef.new(shape: __string, location_name: "End"))
|
@@ -746,6 +806,16 @@ module Aws::Pinpoint
|
|
746
806
|
ChannelsResponse.add_member(:channels, Shapes::ShapeRef.new(shape: MapOfChannelResponse, required: true, location_name: "Channels"))
|
747
807
|
ChannelsResponse.struct_class = Types::ChannelsResponse
|
748
808
|
|
809
|
+
Condition.add_member(:conditions, Shapes::ShapeRef.new(shape: ListOfSimpleCondition, location_name: "Conditions"))
|
810
|
+
Condition.add_member(:operator, Shapes::ShapeRef.new(shape: Operator, location_name: "Operator"))
|
811
|
+
Condition.struct_class = Types::Condition
|
812
|
+
|
813
|
+
ConditionalSplitActivity.add_member(:condition, Shapes::ShapeRef.new(shape: Condition, location_name: "Condition"))
|
814
|
+
ConditionalSplitActivity.add_member(:evaluation_wait_time, Shapes::ShapeRef.new(shape: WaitTime, location_name: "EvaluationWaitTime"))
|
815
|
+
ConditionalSplitActivity.add_member(:false_activity, Shapes::ShapeRef.new(shape: __string, location_name: "FalseActivity"))
|
816
|
+
ConditionalSplitActivity.add_member(:true_activity, Shapes::ShapeRef.new(shape: __string, location_name: "TrueActivity"))
|
817
|
+
ConditionalSplitActivity.struct_class = Types::ConditionalSplitActivity
|
818
|
+
|
749
819
|
CreateAppRequest.add_member(:create_application_request, Shapes::ShapeRef.new(shape: CreateApplicationRequest, required: true, location_name: "CreateApplicationRequest"))
|
750
820
|
CreateAppRequest.struct_class = Types::CreateAppRequest
|
751
821
|
CreateAppRequest[:payload] = :create_application_request
|
@@ -804,6 +874,17 @@ module Aws::Pinpoint
|
|
804
874
|
CreateImportJobResponse[:payload] = :import_job_response
|
805
875
|
CreateImportJobResponse[:payload_member] = CreateImportJobResponse.member(:import_job_response)
|
806
876
|
|
877
|
+
CreateJourneyRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
|
878
|
+
CreateJourneyRequest.add_member(:write_journey_request, Shapes::ShapeRef.new(shape: WriteJourneyRequest, required: true, location_name: "WriteJourneyRequest"))
|
879
|
+
CreateJourneyRequest.struct_class = Types::CreateJourneyRequest
|
880
|
+
CreateJourneyRequest[:payload] = :write_journey_request
|
881
|
+
CreateJourneyRequest[:payload_member] = CreateJourneyRequest.member(:write_journey_request)
|
882
|
+
|
883
|
+
CreateJourneyResponse.add_member(:journey_response, Shapes::ShapeRef.new(shape: JourneyResponse, required: true, location_name: "JourneyResponse"))
|
884
|
+
CreateJourneyResponse.struct_class = Types::CreateJourneyResponse
|
885
|
+
CreateJourneyResponse[:payload] = :journey_response
|
886
|
+
CreateJourneyResponse[:payload_member] = CreateJourneyResponse.member(:journey_response)
|
887
|
+
|
807
888
|
CreatePushTemplateRequest.add_member(:push_notification_template_request, Shapes::ShapeRef.new(shape: PushNotificationTemplateRequest, required: true, location_name: "PushNotificationTemplateRequest"))
|
808
889
|
CreatePushTemplateRequest.add_member(:template_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "template-name"))
|
809
890
|
CreatePushTemplateRequest.struct_class = Types::CreatePushTemplateRequest
|
@@ -968,6 +1049,15 @@ module Aws::Pinpoint
|
|
968
1049
|
DeleteGcmChannelResponse[:payload] = :gcm_channel_response
|
969
1050
|
DeleteGcmChannelResponse[:payload_member] = DeleteGcmChannelResponse.member(:gcm_channel_response)
|
970
1051
|
|
1052
|
+
DeleteJourneyRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
|
1053
|
+
DeleteJourneyRequest.add_member(:journey_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "journey-id"))
|
1054
|
+
DeleteJourneyRequest.struct_class = Types::DeleteJourneyRequest
|
1055
|
+
|
1056
|
+
DeleteJourneyResponse.add_member(:journey_response, Shapes::ShapeRef.new(shape: JourneyResponse, required: true, location_name: "JourneyResponse"))
|
1057
|
+
DeleteJourneyResponse.struct_class = Types::DeleteJourneyResponse
|
1058
|
+
DeleteJourneyResponse[:payload] = :journey_response
|
1059
|
+
DeleteJourneyResponse[:payload_member] = DeleteJourneyResponse.member(:journey_response)
|
1060
|
+
|
971
1061
|
DeletePushTemplateRequest.add_member(:template_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "template-name"))
|
972
1062
|
DeletePushTemplateRequest.struct_class = Types::DeletePushTemplateRequest
|
973
1063
|
|
@@ -1062,6 +1152,11 @@ module Aws::Pinpoint
|
|
1062
1152
|
EmailMessage.add_member(:substitutions, Shapes::ShapeRef.new(shape: MapOfListOf__string, location_name: "Substitutions"))
|
1063
1153
|
EmailMessage.struct_class = Types::EmailMessage
|
1064
1154
|
|
1155
|
+
EmailMessageActivity.add_member(:message_config, Shapes::ShapeRef.new(shape: JourneyEmailMessage, location_name: "MessageConfig"))
|
1156
|
+
EmailMessageActivity.add_member(:next_activity, Shapes::ShapeRef.new(shape: __string, location_name: "NextActivity"))
|
1157
|
+
EmailMessageActivity.add_member(:template_name, Shapes::ShapeRef.new(shape: __string, location_name: "TemplateName"))
|
1158
|
+
EmailMessageActivity.struct_class = Types::EmailMessageActivity
|
1159
|
+
|
1065
1160
|
EmailTemplateRequest.add_member(:html_part, Shapes::ShapeRef.new(shape: __string, location_name: "HtmlPart"))
|
1066
1161
|
EmailTemplateRequest.add_member(:subject, Shapes::ShapeRef.new(shape: __string, location_name: "Subject"))
|
1067
1162
|
EmailTemplateRequest.add_member(:tags, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "tags"))
|
@@ -1182,6 +1277,10 @@ module Aws::Pinpoint
|
|
1182
1277
|
Event.add_member(:timestamp, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Timestamp"))
|
1183
1278
|
Event.struct_class = Types::Event
|
1184
1279
|
|
1280
|
+
EventCondition.add_member(:dimensions, Shapes::ShapeRef.new(shape: EventDimensions, required: true, location_name: "Dimensions"))
|
1281
|
+
EventCondition.add_member(:message_activity, Shapes::ShapeRef.new(shape: __string, location_name: "MessageActivity"))
|
1282
|
+
EventCondition.struct_class = Types::EventCondition
|
1283
|
+
|
1185
1284
|
EventDimensions.add_member(:attributes, Shapes::ShapeRef.new(shape: MapOfAttributeDimension, location_name: "Attributes"))
|
1186
1285
|
EventDimensions.add_member(:event_type, Shapes::ShapeRef.new(shape: SetDimension, location_name: "EventType"))
|
1187
1286
|
EventDimensions.add_member(:metrics, Shapes::ShapeRef.new(shape: MapOfMetricDimension, location_name: "Metrics"))
|
@@ -1526,6 +1625,52 @@ module Aws::Pinpoint
|
|
1526
1625
|
GetImportJobsResponse[:payload] = :import_jobs_response
|
1527
1626
|
GetImportJobsResponse[:payload_member] = GetImportJobsResponse.member(:import_jobs_response)
|
1528
1627
|
|
1628
|
+
GetJourneyDateRangeKpiRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
|
1629
|
+
GetJourneyDateRangeKpiRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: __timestampIso8601, location: "querystring", location_name: "end-time"))
|
1630
|
+
GetJourneyDateRangeKpiRequest.add_member(:journey_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "journey-id"))
|
1631
|
+
GetJourneyDateRangeKpiRequest.add_member(:kpi_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "kpi-name"))
|
1632
|
+
GetJourneyDateRangeKpiRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "next-token"))
|
1633
|
+
GetJourneyDateRangeKpiRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "page-size"))
|
1634
|
+
GetJourneyDateRangeKpiRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: __timestampIso8601, location: "querystring", location_name: "start-time"))
|
1635
|
+
GetJourneyDateRangeKpiRequest.struct_class = Types::GetJourneyDateRangeKpiRequest
|
1636
|
+
|
1637
|
+
GetJourneyDateRangeKpiResponse.add_member(:journey_date_range_kpi_response, Shapes::ShapeRef.new(shape: JourneyDateRangeKpiResponse, required: true, location_name: "JourneyDateRangeKpiResponse"))
|
1638
|
+
GetJourneyDateRangeKpiResponse.struct_class = Types::GetJourneyDateRangeKpiResponse
|
1639
|
+
GetJourneyDateRangeKpiResponse[:payload] = :journey_date_range_kpi_response
|
1640
|
+
GetJourneyDateRangeKpiResponse[:payload_member] = GetJourneyDateRangeKpiResponse.member(:journey_date_range_kpi_response)
|
1641
|
+
|
1642
|
+
GetJourneyExecutionActivityMetricsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
|
1643
|
+
GetJourneyExecutionActivityMetricsRequest.add_member(:journey_activity_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "journey-activity-id"))
|
1644
|
+
GetJourneyExecutionActivityMetricsRequest.add_member(:journey_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "journey-id"))
|
1645
|
+
GetJourneyExecutionActivityMetricsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "next-token"))
|
1646
|
+
GetJourneyExecutionActivityMetricsRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "page-size"))
|
1647
|
+
GetJourneyExecutionActivityMetricsRequest.struct_class = Types::GetJourneyExecutionActivityMetricsRequest
|
1648
|
+
|
1649
|
+
GetJourneyExecutionActivityMetricsResponse.add_member(:journey_execution_activity_metrics_response, Shapes::ShapeRef.new(shape: JourneyExecutionActivityMetricsResponse, required: true, location_name: "JourneyExecutionActivityMetricsResponse"))
|
1650
|
+
GetJourneyExecutionActivityMetricsResponse.struct_class = Types::GetJourneyExecutionActivityMetricsResponse
|
1651
|
+
GetJourneyExecutionActivityMetricsResponse[:payload] = :journey_execution_activity_metrics_response
|
1652
|
+
GetJourneyExecutionActivityMetricsResponse[:payload_member] = GetJourneyExecutionActivityMetricsResponse.member(:journey_execution_activity_metrics_response)
|
1653
|
+
|
1654
|
+
GetJourneyExecutionMetricsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
|
1655
|
+
GetJourneyExecutionMetricsRequest.add_member(:journey_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "journey-id"))
|
1656
|
+
GetJourneyExecutionMetricsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "next-token"))
|
1657
|
+
GetJourneyExecutionMetricsRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "page-size"))
|
1658
|
+
GetJourneyExecutionMetricsRequest.struct_class = Types::GetJourneyExecutionMetricsRequest
|
1659
|
+
|
1660
|
+
GetJourneyExecutionMetricsResponse.add_member(:journey_execution_metrics_response, Shapes::ShapeRef.new(shape: JourneyExecutionMetricsResponse, required: true, location_name: "JourneyExecutionMetricsResponse"))
|
1661
|
+
GetJourneyExecutionMetricsResponse.struct_class = Types::GetJourneyExecutionMetricsResponse
|
1662
|
+
GetJourneyExecutionMetricsResponse[:payload] = :journey_execution_metrics_response
|
1663
|
+
GetJourneyExecutionMetricsResponse[:payload_member] = GetJourneyExecutionMetricsResponse.member(:journey_execution_metrics_response)
|
1664
|
+
|
1665
|
+
GetJourneyRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
|
1666
|
+
GetJourneyRequest.add_member(:journey_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "journey-id"))
|
1667
|
+
GetJourneyRequest.struct_class = Types::GetJourneyRequest
|
1668
|
+
|
1669
|
+
GetJourneyResponse.add_member(:journey_response, Shapes::ShapeRef.new(shape: JourneyResponse, required: true, location_name: "JourneyResponse"))
|
1670
|
+
GetJourneyResponse.struct_class = Types::GetJourneyResponse
|
1671
|
+
GetJourneyResponse[:payload] = :journey_response
|
1672
|
+
GetJourneyResponse[:payload_member] = GetJourneyResponse.member(:journey_response)
|
1673
|
+
|
1529
1674
|
GetPushTemplateRequest.add_member(:template_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "template-name"))
|
1530
1675
|
GetPushTemplateRequest.struct_class = Types::GetPushTemplateRequest
|
1531
1676
|
|
@@ -1629,6 +1774,10 @@ module Aws::Pinpoint
|
|
1629
1774
|
GetVoiceChannelResponse[:payload] = :voice_channel_response
|
1630
1775
|
GetVoiceChannelResponse[:payload_member] = GetVoiceChannelResponse.member(:voice_channel_response)
|
1631
1776
|
|
1777
|
+
HoldoutActivity.add_member(:next_activity, Shapes::ShapeRef.new(shape: __string, location_name: "NextActivity"))
|
1778
|
+
HoldoutActivity.add_member(:percentage, Shapes::ShapeRef.new(shape: __integer, required: true, location_name: "Percentage"))
|
1779
|
+
HoldoutActivity.struct_class = Types::HoldoutActivity
|
1780
|
+
|
1632
1781
|
ImportJobRequest.add_member(:define_segment, Shapes::ShapeRef.new(shape: __boolean, location_name: "DefineSegment"))
|
1633
1782
|
ImportJobRequest.add_member(:external_id, Shapes::ShapeRef.new(shape: __string, location_name: "ExternalId"))
|
1634
1783
|
ImportJobRequest.add_member(:format, Shapes::ShapeRef.new(shape: Format, required: true, location_name: "Format"))
|
@@ -1676,6 +1825,76 @@ module Aws::Pinpoint
|
|
1676
1825
|
ItemResponse.add_member(:events_item_response, Shapes::ShapeRef.new(shape: MapOfEventItemResponse, location_name: "EventsItemResponse"))
|
1677
1826
|
ItemResponse.struct_class = Types::ItemResponse
|
1678
1827
|
|
1828
|
+
JourneyDateRangeKpiResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "ApplicationId"))
|
1829
|
+
JourneyDateRangeKpiResponse.add_member(:end_time, Shapes::ShapeRef.new(shape: __timestampIso8601, required: true, location_name: "EndTime"))
|
1830
|
+
JourneyDateRangeKpiResponse.add_member(:journey_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "JourneyId"))
|
1831
|
+
JourneyDateRangeKpiResponse.add_member(:kpi_name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "KpiName"))
|
1832
|
+
JourneyDateRangeKpiResponse.add_member(:kpi_result, Shapes::ShapeRef.new(shape: BaseKpiResult, required: true, location_name: "KpiResult"))
|
1833
|
+
JourneyDateRangeKpiResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "NextToken"))
|
1834
|
+
JourneyDateRangeKpiResponse.add_member(:start_time, Shapes::ShapeRef.new(shape: __timestampIso8601, required: true, location_name: "StartTime"))
|
1835
|
+
JourneyDateRangeKpiResponse.struct_class = Types::JourneyDateRangeKpiResponse
|
1836
|
+
|
1837
|
+
JourneyEmailMessage.add_member(:from_address, Shapes::ShapeRef.new(shape: __string, location_name: "FromAddress"))
|
1838
|
+
JourneyEmailMessage.struct_class = Types::JourneyEmailMessage
|
1839
|
+
|
1840
|
+
JourneyExecutionActivityMetricsResponse.add_member(:activity_type, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "ActivityType"))
|
1841
|
+
JourneyExecutionActivityMetricsResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "ApplicationId"))
|
1842
|
+
JourneyExecutionActivityMetricsResponse.add_member(:journey_activity_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "JourneyActivityId"))
|
1843
|
+
JourneyExecutionActivityMetricsResponse.add_member(:journey_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "JourneyId"))
|
1844
|
+
JourneyExecutionActivityMetricsResponse.add_member(:last_evaluated_time, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "LastEvaluatedTime"))
|
1845
|
+
JourneyExecutionActivityMetricsResponse.add_member(:metrics, Shapes::ShapeRef.new(shape: MapOf__string, required: true, location_name: "Metrics"))
|
1846
|
+
JourneyExecutionActivityMetricsResponse.struct_class = Types::JourneyExecutionActivityMetricsResponse
|
1847
|
+
|
1848
|
+
JourneyExecutionMetricsResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "ApplicationId"))
|
1849
|
+
JourneyExecutionMetricsResponse.add_member(:journey_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "JourneyId"))
|
1850
|
+
JourneyExecutionMetricsResponse.add_member(:last_evaluated_time, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "LastEvaluatedTime"))
|
1851
|
+
JourneyExecutionMetricsResponse.add_member(:metrics, Shapes::ShapeRef.new(shape: MapOf__string, required: true, location_name: "Metrics"))
|
1852
|
+
JourneyExecutionMetricsResponse.struct_class = Types::JourneyExecutionMetricsResponse
|
1853
|
+
|
1854
|
+
JourneyLimits.add_member(:daily_cap, Shapes::ShapeRef.new(shape: __integer, location_name: "DailyCap"))
|
1855
|
+
JourneyLimits.add_member(:endpoint_reentry_cap, Shapes::ShapeRef.new(shape: __integer, location_name: "EndpointReentryCap"))
|
1856
|
+
JourneyLimits.add_member(:messages_per_second, Shapes::ShapeRef.new(shape: __integer, location_name: "MessagesPerSecond"))
|
1857
|
+
JourneyLimits.struct_class = Types::JourneyLimits
|
1858
|
+
|
1859
|
+
JourneyResponse.add_member(:activities, Shapes::ShapeRef.new(shape: MapOfActivity, location_name: "Activities"))
|
1860
|
+
JourneyResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "ApplicationId"))
|
1861
|
+
JourneyResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: __string, location_name: "CreationDate"))
|
1862
|
+
JourneyResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Id"))
|
1863
|
+
JourneyResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedDate"))
|
1864
|
+
JourneyResponse.add_member(:limits, Shapes::ShapeRef.new(shape: JourneyLimits, location_name: "Limits"))
|
1865
|
+
JourneyResponse.add_member(:local_time, Shapes::ShapeRef.new(shape: __boolean, location_name: "LocalTime"))
|
1866
|
+
JourneyResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Name"))
|
1867
|
+
JourneyResponse.add_member(:quiet_time, Shapes::ShapeRef.new(shape: QuietTime, location_name: "QuietTime"))
|
1868
|
+
JourneyResponse.add_member(:refresh_frequency, Shapes::ShapeRef.new(shape: __string, location_name: "RefreshFrequency"))
|
1869
|
+
JourneyResponse.add_member(:schedule, Shapes::ShapeRef.new(shape: JourneySchedule, location_name: "Schedule"))
|
1870
|
+
JourneyResponse.add_member(:start_activity, Shapes::ShapeRef.new(shape: __string, location_name: "StartActivity"))
|
1871
|
+
JourneyResponse.add_member(:start_condition, Shapes::ShapeRef.new(shape: StartCondition, location_name: "StartCondition"))
|
1872
|
+
JourneyResponse.add_member(:state, Shapes::ShapeRef.new(shape: State, location_name: "State"))
|
1873
|
+
JourneyResponse.add_member(:tags, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "tags"))
|
1874
|
+
JourneyResponse.struct_class = Types::JourneyResponse
|
1875
|
+
|
1876
|
+
JourneySchedule.add_member(:end_time, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "EndTime"))
|
1877
|
+
JourneySchedule.add_member(:start_time, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "StartTime"))
|
1878
|
+
JourneySchedule.add_member(:timezone, Shapes::ShapeRef.new(shape: __string, location_name: "Timezone"))
|
1879
|
+
JourneySchedule.struct_class = Types::JourneySchedule
|
1880
|
+
|
1881
|
+
JourneyStateRequest.add_member(:state, Shapes::ShapeRef.new(shape: State, location_name: "State"))
|
1882
|
+
JourneyStateRequest.struct_class = Types::JourneyStateRequest
|
1883
|
+
|
1884
|
+
JourneysResponse.add_member(:item, Shapes::ShapeRef.new(shape: ListOfJourneyResponse, required: true, location_name: "Item"))
|
1885
|
+
JourneysResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "NextToken"))
|
1886
|
+
JourneysResponse.struct_class = Types::JourneysResponse
|
1887
|
+
|
1888
|
+
ListJourneysRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
|
1889
|
+
ListJourneysRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "page-size"))
|
1890
|
+
ListJourneysRequest.add_member(:token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "token"))
|
1891
|
+
ListJourneysRequest.struct_class = Types::ListJourneysRequest
|
1892
|
+
|
1893
|
+
ListJourneysResponse.add_member(:journeys_response, Shapes::ShapeRef.new(shape: JourneysResponse, required: true, location_name: "JourneysResponse"))
|
1894
|
+
ListJourneysResponse.struct_class = Types::ListJourneysResponse
|
1895
|
+
ListJourneysResponse[:payload] = :journeys_response
|
1896
|
+
ListJourneysResponse[:payload_member] = ListJourneysResponse.member(:journeys_response)
|
1897
|
+
|
1679
1898
|
ListOfActivityResponse.member = Shapes::ShapeRef.new(shape: ActivityResponse)
|
1680
1899
|
|
1681
1900
|
ListOfApplicationResponse.member = Shapes::ShapeRef.new(shape: ApplicationResponse)
|
@@ -1690,6 +1909,12 @@ module Aws::Pinpoint
|
|
1690
1909
|
|
1691
1910
|
ListOfImportJobResponse.member = Shapes::ShapeRef.new(shape: ImportJobResponse)
|
1692
1911
|
|
1912
|
+
ListOfJourneyResponse.member = Shapes::ShapeRef.new(shape: JourneyResponse)
|
1913
|
+
|
1914
|
+
ListOfMultiConditionalBranch.member = Shapes::ShapeRef.new(shape: MultiConditionalBranch)
|
1915
|
+
|
1916
|
+
ListOfRandomSplitEntry.member = Shapes::ShapeRef.new(shape: RandomSplitEntry)
|
1917
|
+
|
1693
1918
|
ListOfResultRow.member = Shapes::ShapeRef.new(shape: ResultRow)
|
1694
1919
|
|
1695
1920
|
ListOfResultRowValue.member = Shapes::ShapeRef.new(shape: ResultRowValue)
|
@@ -1702,6 +1927,8 @@ module Aws::Pinpoint
|
|
1702
1927
|
|
1703
1928
|
ListOfSegmentResponse.member = Shapes::ShapeRef.new(shape: SegmentResponse)
|
1704
1929
|
|
1930
|
+
ListOfSimpleCondition.member = Shapes::ShapeRef.new(shape: SimpleCondition)
|
1931
|
+
|
1705
1932
|
ListOfTemplateResponse.member = Shapes::ShapeRef.new(shape: TemplateResponse)
|
1706
1933
|
|
1707
1934
|
ListOfTreatmentResource.member = Shapes::ShapeRef.new(shape: TreatmentResource)
|
@@ -1729,6 +1956,9 @@ module Aws::Pinpoint
|
|
1729
1956
|
ListTemplatesResponse[:payload] = :templates_response
|
1730
1957
|
ListTemplatesResponse[:payload_member] = ListTemplatesResponse.member(:templates_response)
|
1731
1958
|
|
1959
|
+
MapOfActivity.key = Shapes::ShapeRef.new(shape: __string)
|
1960
|
+
MapOfActivity.value = Shapes::ShapeRef.new(shape: Activity)
|
1961
|
+
|
1732
1962
|
MapOfAddressConfiguration.key = Shapes::ShapeRef.new(shape: __string)
|
1733
1963
|
MapOfAddressConfiguration.value = Shapes::ShapeRef.new(shape: AddressConfiguration)
|
1734
1964
|
|
@@ -1833,6 +2063,15 @@ module Aws::Pinpoint
|
|
1833
2063
|
MetricDimension.add_member(:value, Shapes::ShapeRef.new(shape: __double, required: true, location_name: "Value"))
|
1834
2064
|
MetricDimension.struct_class = Types::MetricDimension
|
1835
2065
|
|
2066
|
+
MultiConditionalBranch.add_member(:condition, Shapes::ShapeRef.new(shape: SimpleCondition, location_name: "Condition"))
|
2067
|
+
MultiConditionalBranch.add_member(:next_activity, Shapes::ShapeRef.new(shape: __string, location_name: "NextActivity"))
|
2068
|
+
MultiConditionalBranch.struct_class = Types::MultiConditionalBranch
|
2069
|
+
|
2070
|
+
MultiConditionalSplitActivity.add_member(:branches, Shapes::ShapeRef.new(shape: ListOfMultiConditionalBranch, location_name: "Branches"))
|
2071
|
+
MultiConditionalSplitActivity.add_member(:default_activity, Shapes::ShapeRef.new(shape: __string, location_name: "DefaultActivity"))
|
2072
|
+
MultiConditionalSplitActivity.add_member(:evaluation_wait_time, Shapes::ShapeRef.new(shape: WaitTime, location_name: "EvaluationWaitTime"))
|
2073
|
+
MultiConditionalSplitActivity.struct_class = Types::MultiConditionalSplitActivity
|
2074
|
+
|
1836
2075
|
NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "Message"))
|
1837
2076
|
NotFoundException.add_member(:request_id, Shapes::ShapeRef.new(shape: __string, location_name: "RequestID"))
|
1838
2077
|
NotFoundException.struct_class = Types::NotFoundException
|
@@ -1927,6 +2166,13 @@ module Aws::Pinpoint
|
|
1927
2166
|
QuietTime.add_member(:start, Shapes::ShapeRef.new(shape: __string, location_name: "Start"))
|
1928
2167
|
QuietTime.struct_class = Types::QuietTime
|
1929
2168
|
|
2169
|
+
RandomSplitActivity.add_member(:branches, Shapes::ShapeRef.new(shape: ListOfRandomSplitEntry, location_name: "Branches"))
|
2170
|
+
RandomSplitActivity.struct_class = Types::RandomSplitActivity
|
2171
|
+
|
2172
|
+
RandomSplitEntry.add_member(:next_activity, Shapes::ShapeRef.new(shape: __string, location_name: "NextActivity"))
|
2173
|
+
RandomSplitEntry.add_member(:percentage, Shapes::ShapeRef.new(shape: __integer, location_name: "Percentage"))
|
2174
|
+
RandomSplitEntry.struct_class = Types::RandomSplitEntry
|
2175
|
+
|
1930
2176
|
RawEmail.add_member(:data, Shapes::ShapeRef.new(shape: __blob, location_name: "Data"))
|
1931
2177
|
RawEmail.struct_class = Types::RawEmail
|
1932
2178
|
|
@@ -2009,6 +2255,9 @@ module Aws::Pinpoint
|
|
2009
2255
|
SegmentBehaviors.add_member(:recency, Shapes::ShapeRef.new(shape: RecencyDimension, location_name: "Recency"))
|
2010
2256
|
SegmentBehaviors.struct_class = Types::SegmentBehaviors
|
2011
2257
|
|
2258
|
+
SegmentCondition.add_member(:segment_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "SegmentId"))
|
2259
|
+
SegmentCondition.struct_class = Types::SegmentCondition
|
2260
|
+
|
2012
2261
|
SegmentDemographics.add_member(:app_version, Shapes::ShapeRef.new(shape: SetDimension, location_name: "AppVersion"))
|
2013
2262
|
SegmentDemographics.add_member(:channel, Shapes::ShapeRef.new(shape: SetDimension, location_name: "Channel"))
|
2014
2263
|
SegmentDemographics.add_member(:device_type, Shapes::ShapeRef.new(shape: SetDimension, location_name: "DeviceType"))
|
@@ -2113,6 +2362,11 @@ module Aws::Pinpoint
|
|
2113
2362
|
SetDimension.add_member(:values, Shapes::ShapeRef.new(shape: ListOf__string, required: true, location_name: "Values"))
|
2114
2363
|
SetDimension.struct_class = Types::SetDimension
|
2115
2364
|
|
2365
|
+
SimpleCondition.add_member(:event_condition, Shapes::ShapeRef.new(shape: EventCondition, location_name: "EventCondition"))
|
2366
|
+
SimpleCondition.add_member(:segment_condition, Shapes::ShapeRef.new(shape: SegmentCondition, location_name: "SegmentCondition"))
|
2367
|
+
SimpleCondition.add_member(:segment_dimensions, Shapes::ShapeRef.new(shape: SegmentDimensions, location_name: "segmentDimensions"))
|
2368
|
+
SimpleCondition.struct_class = Types::SimpleCondition
|
2369
|
+
|
2116
2370
|
SimpleEmail.add_member(:html_part, Shapes::ShapeRef.new(shape: SimpleEmailPart, location_name: "HtmlPart"))
|
2117
2371
|
SimpleEmail.add_member(:subject, Shapes::ShapeRef.new(shape: SimpleEmailPart, location_name: "Subject"))
|
2118
2372
|
SimpleEmail.add_member(:text_part, Shapes::ShapeRef.new(shape: SimpleEmailPart, location_name: "TextPart"))
|
@@ -2122,6 +2376,10 @@ module Aws::Pinpoint
|
|
2122
2376
|
SimpleEmailPart.add_member(:data, Shapes::ShapeRef.new(shape: __string, location_name: "Data"))
|
2123
2377
|
SimpleEmailPart.struct_class = Types::SimpleEmailPart
|
2124
2378
|
|
2379
|
+
StartCondition.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "Description"))
|
2380
|
+
StartCondition.add_member(:segment_start_condition, Shapes::ShapeRef.new(shape: SegmentCondition, location_name: "SegmentStartCondition"))
|
2381
|
+
StartCondition.struct_class = Types::StartCondition
|
2382
|
+
|
2125
2383
|
TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "resource-arn"))
|
2126
2384
|
TagResourceRequest.add_member(:tags_model, Shapes::ShapeRef.new(shape: TagsModel, required: true, location_name: "TagsModel"))
|
2127
2385
|
TagResourceRequest.struct_class = Types::TagResourceRequest
|
@@ -2317,6 +2575,30 @@ module Aws::Pinpoint
|
|
2317
2575
|
UpdateGcmChannelResponse[:payload] = :gcm_channel_response
|
2318
2576
|
UpdateGcmChannelResponse[:payload_member] = UpdateGcmChannelResponse.member(:gcm_channel_response)
|
2319
2577
|
|
2578
|
+
UpdateJourneyRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
|
2579
|
+
UpdateJourneyRequest.add_member(:journey_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "journey-id"))
|
2580
|
+
UpdateJourneyRequest.add_member(:write_journey_request, Shapes::ShapeRef.new(shape: WriteJourneyRequest, required: true, location_name: "WriteJourneyRequest"))
|
2581
|
+
UpdateJourneyRequest.struct_class = Types::UpdateJourneyRequest
|
2582
|
+
UpdateJourneyRequest[:payload] = :write_journey_request
|
2583
|
+
UpdateJourneyRequest[:payload_member] = UpdateJourneyRequest.member(:write_journey_request)
|
2584
|
+
|
2585
|
+
UpdateJourneyResponse.add_member(:journey_response, Shapes::ShapeRef.new(shape: JourneyResponse, required: true, location_name: "JourneyResponse"))
|
2586
|
+
UpdateJourneyResponse.struct_class = Types::UpdateJourneyResponse
|
2587
|
+
UpdateJourneyResponse[:payload] = :journey_response
|
2588
|
+
UpdateJourneyResponse[:payload_member] = UpdateJourneyResponse.member(:journey_response)
|
2589
|
+
|
2590
|
+
UpdateJourneyStateRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
|
2591
|
+
UpdateJourneyStateRequest.add_member(:journey_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "journey-id"))
|
2592
|
+
UpdateJourneyStateRequest.add_member(:journey_state_request, Shapes::ShapeRef.new(shape: JourneyStateRequest, required: true, location_name: "JourneyStateRequest"))
|
2593
|
+
UpdateJourneyStateRequest.struct_class = Types::UpdateJourneyStateRequest
|
2594
|
+
UpdateJourneyStateRequest[:payload] = :journey_state_request
|
2595
|
+
UpdateJourneyStateRequest[:payload_member] = UpdateJourneyStateRequest.member(:journey_state_request)
|
2596
|
+
|
2597
|
+
UpdateJourneyStateResponse.add_member(:journey_response, Shapes::ShapeRef.new(shape: JourneyResponse, required: true, location_name: "JourneyResponse"))
|
2598
|
+
UpdateJourneyStateResponse.struct_class = Types::UpdateJourneyStateResponse
|
2599
|
+
UpdateJourneyStateResponse[:payload] = :journey_response
|
2600
|
+
UpdateJourneyStateResponse[:payload_member] = UpdateJourneyStateResponse.member(:journey_response)
|
2601
|
+
|
2320
2602
|
UpdatePushTemplateRequest.add_member(:push_notification_template_request, Shapes::ShapeRef.new(shape: PushNotificationTemplateRequest, required: true, location_name: "PushNotificationTemplateRequest"))
|
2321
2603
|
UpdatePushTemplateRequest.add_member(:template_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "template-name"))
|
2322
2604
|
UpdatePushTemplateRequest.struct_class = Types::UpdatePushTemplateRequest
|
@@ -2384,7 +2666,6 @@ module Aws::Pinpoint
|
|
2384
2666
|
VoiceChannelResponse.add_member(:is_archived, Shapes::ShapeRef.new(shape: __boolean, location_name: "IsArchived"))
|
2385
2667
|
VoiceChannelResponse.add_member(:last_modified_by, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedBy"))
|
2386
2668
|
VoiceChannelResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedDate"))
|
2387
|
-
VoiceChannelResponse.add_member(:origination_number, Shapes::ShapeRef.new(shape: __string, location_name: "OriginationNumber"))
|
2388
2669
|
VoiceChannelResponse.add_member(:platform, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Platform"))
|
2389
2670
|
VoiceChannelResponse.add_member(:version, Shapes::ShapeRef.new(shape: __integer, location_name: "Version"))
|
2390
2671
|
VoiceChannelResponse.struct_class = Types::VoiceChannelResponse
|
@@ -2396,6 +2677,14 @@ module Aws::Pinpoint
|
|
2396
2677
|
VoiceMessage.add_member(:voice_id, Shapes::ShapeRef.new(shape: __string, location_name: "VoiceId"))
|
2397
2678
|
VoiceMessage.struct_class = Types::VoiceMessage
|
2398
2679
|
|
2680
|
+
WaitActivity.add_member(:next_activity, Shapes::ShapeRef.new(shape: __string, location_name: "NextActivity"))
|
2681
|
+
WaitActivity.add_member(:wait_time, Shapes::ShapeRef.new(shape: WaitTime, location_name: "WaitTime"))
|
2682
|
+
WaitActivity.struct_class = Types::WaitActivity
|
2683
|
+
|
2684
|
+
WaitTime.add_member(:wait_for, Shapes::ShapeRef.new(shape: __string, location_name: "WaitFor"))
|
2685
|
+
WaitTime.add_member(:wait_until, Shapes::ShapeRef.new(shape: __string, location_name: "WaitUntil"))
|
2686
|
+
WaitTime.struct_class = Types::WaitTime
|
2687
|
+
|
2399
2688
|
WriteApplicationSettingsRequest.add_member(:campaign_hook, Shapes::ShapeRef.new(shape: CampaignHook, location_name: "CampaignHook"))
|
2400
2689
|
WriteApplicationSettingsRequest.add_member(:cloud_watch_metrics_enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "CloudWatchMetricsEnabled"))
|
2401
2690
|
WriteApplicationSettingsRequest.add_member(:limits, Shapes::ShapeRef.new(shape: CampaignLimits, location_name: "Limits"))
|
@@ -2423,6 +2712,20 @@ module Aws::Pinpoint
|
|
2423
2712
|
WriteEventStream.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "RoleArn"))
|
2424
2713
|
WriteEventStream.struct_class = Types::WriteEventStream
|
2425
2714
|
|
2715
|
+
WriteJourneyRequest.add_member(:activities, Shapes::ShapeRef.new(shape: MapOfActivity, location_name: "Activities"))
|
2716
|
+
WriteJourneyRequest.add_member(:creation_date, Shapes::ShapeRef.new(shape: __string, location_name: "CreationDate"))
|
2717
|
+
WriteJourneyRequest.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedDate"))
|
2718
|
+
WriteJourneyRequest.add_member(:limits, Shapes::ShapeRef.new(shape: JourneyLimits, location_name: "Limits"))
|
2719
|
+
WriteJourneyRequest.add_member(:local_time, Shapes::ShapeRef.new(shape: __boolean, location_name: "LocalTime"))
|
2720
|
+
WriteJourneyRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Name"))
|
2721
|
+
WriteJourneyRequest.add_member(:quiet_time, Shapes::ShapeRef.new(shape: QuietTime, location_name: "QuietTime"))
|
2722
|
+
WriteJourneyRequest.add_member(:refresh_frequency, Shapes::ShapeRef.new(shape: __string, location_name: "RefreshFrequency"))
|
2723
|
+
WriteJourneyRequest.add_member(:schedule, Shapes::ShapeRef.new(shape: JourneySchedule, location_name: "Schedule"))
|
2724
|
+
WriteJourneyRequest.add_member(:start_activity, Shapes::ShapeRef.new(shape: __string, location_name: "StartActivity"))
|
2725
|
+
WriteJourneyRequest.add_member(:start_condition, Shapes::ShapeRef.new(shape: StartCondition, location_name: "StartCondition"))
|
2726
|
+
WriteJourneyRequest.add_member(:state, Shapes::ShapeRef.new(shape: State, location_name: "State"))
|
2727
|
+
WriteJourneyRequest.struct_class = Types::WriteJourneyRequest
|
2728
|
+
|
2426
2729
|
WriteSegmentRequest.add_member(:dimensions, Shapes::ShapeRef.new(shape: SegmentDimensions, location_name: "Dimensions"))
|
2427
2730
|
WriteSegmentRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "Name"))
|
2428
2731
|
WriteSegmentRequest.add_member(:segment_groups, Shapes::ShapeRef.new(shape: SegmentGroupList, location_name: "SegmentGroups"))
|
@@ -2524,6 +2827,20 @@ module Aws::Pinpoint
|
|
2524
2827
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2525
2828
|
end)
|
2526
2829
|
|
2830
|
+
api.add_operation(:create_journey, Seahorse::Model::Operation.new.tap do |o|
|
2831
|
+
o.name = "CreateJourney"
|
2832
|
+
o.http_method = "POST"
|
2833
|
+
o.http_request_uri = "/v1/apps/{application-id}/journeys"
|
2834
|
+
o.input = Shapes::ShapeRef.new(shape: CreateJourneyRequest)
|
2835
|
+
o.output = Shapes::ShapeRef.new(shape: CreateJourneyResponse)
|
2836
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2837
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
2838
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
2839
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2840
|
+
o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
|
2841
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2842
|
+
end)
|
2843
|
+
|
2527
2844
|
api.add_operation(:create_push_template, Seahorse::Model::Operation.new.tap do |o|
|
2528
2845
|
o.name = "CreatePushTemplate"
|
2529
2846
|
o.http_method = "POST"
|
@@ -2746,6 +3063,20 @@ module Aws::Pinpoint
|
|
2746
3063
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2747
3064
|
end)
|
2748
3065
|
|
3066
|
+
api.add_operation(:delete_journey, Seahorse::Model::Operation.new.tap do |o|
|
3067
|
+
o.name = "DeleteJourney"
|
3068
|
+
o.http_method = "DELETE"
|
3069
|
+
o.http_request_uri = "/v1/apps/{application-id}/journeys/{journey-id}"
|
3070
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteJourneyRequest)
|
3071
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteJourneyResponse)
|
3072
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
3073
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
3074
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
3075
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
3076
|
+
o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
|
3077
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
3078
|
+
end)
|
3079
|
+
|
2749
3080
|
api.add_operation(:delete_push_template, Seahorse::Model::Operation.new.tap do |o|
|
2750
3081
|
o.name = "DeletePushTemplate"
|
2751
3082
|
o.http_method = "DELETE"
|
@@ -3194,6 +3525,62 @@ module Aws::Pinpoint
|
|
3194
3525
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
3195
3526
|
end)
|
3196
3527
|
|
3528
|
+
api.add_operation(:get_journey, Seahorse::Model::Operation.new.tap do |o|
|
3529
|
+
o.name = "GetJourney"
|
3530
|
+
o.http_method = "GET"
|
3531
|
+
o.http_request_uri = "/v1/apps/{application-id}/journeys/{journey-id}"
|
3532
|
+
o.input = Shapes::ShapeRef.new(shape: GetJourneyRequest)
|
3533
|
+
o.output = Shapes::ShapeRef.new(shape: GetJourneyResponse)
|
3534
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
3535
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
3536
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
3537
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
3538
|
+
o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
|
3539
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
3540
|
+
end)
|
3541
|
+
|
3542
|
+
api.add_operation(:get_journey_date_range_kpi, Seahorse::Model::Operation.new.tap do |o|
|
3543
|
+
o.name = "GetJourneyDateRangeKpi"
|
3544
|
+
o.http_method = "GET"
|
3545
|
+
o.http_request_uri = "/v1/apps/{application-id}/journeys/{journey-id}/kpis/daterange/{kpi-name}"
|
3546
|
+
o.input = Shapes::ShapeRef.new(shape: GetJourneyDateRangeKpiRequest)
|
3547
|
+
o.output = Shapes::ShapeRef.new(shape: GetJourneyDateRangeKpiResponse)
|
3548
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
3549
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
3550
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
3551
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
3552
|
+
o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
|
3553
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
3554
|
+
end)
|
3555
|
+
|
3556
|
+
api.add_operation(:get_journey_execution_activity_metrics, Seahorse::Model::Operation.new.tap do |o|
|
3557
|
+
o.name = "GetJourneyExecutionActivityMetrics"
|
3558
|
+
o.http_method = "GET"
|
3559
|
+
o.http_request_uri = "/v1/apps/{application-id}/journeys/{journey-id}/activities/{journey-activity-id}/execution-metrics"
|
3560
|
+
o.input = Shapes::ShapeRef.new(shape: GetJourneyExecutionActivityMetricsRequest)
|
3561
|
+
o.output = Shapes::ShapeRef.new(shape: GetJourneyExecutionActivityMetricsResponse)
|
3562
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
3563
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
3564
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
3565
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
3566
|
+
o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
|
3567
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
3568
|
+
end)
|
3569
|
+
|
3570
|
+
api.add_operation(:get_journey_execution_metrics, Seahorse::Model::Operation.new.tap do |o|
|
3571
|
+
o.name = "GetJourneyExecutionMetrics"
|
3572
|
+
o.http_method = "GET"
|
3573
|
+
o.http_request_uri = "/v1/apps/{application-id}/journeys/{journey-id}/execution-metrics"
|
3574
|
+
o.input = Shapes::ShapeRef.new(shape: GetJourneyExecutionMetricsRequest)
|
3575
|
+
o.output = Shapes::ShapeRef.new(shape: GetJourneyExecutionMetricsResponse)
|
3576
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
3577
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
3578
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
3579
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
3580
|
+
o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
|
3581
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
3582
|
+
end)
|
3583
|
+
|
3197
3584
|
api.add_operation(:get_push_template, Seahorse::Model::Operation.new.tap do |o|
|
3198
3585
|
o.name = "GetPushTemplate"
|
3199
3586
|
o.http_method = "GET"
|
@@ -3348,6 +3735,20 @@ module Aws::Pinpoint
|
|
3348
3735
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
3349
3736
|
end)
|
3350
3737
|
|
3738
|
+
api.add_operation(:list_journeys, Seahorse::Model::Operation.new.tap do |o|
|
3739
|
+
o.name = "ListJourneys"
|
3740
|
+
o.http_method = "GET"
|
3741
|
+
o.http_request_uri = "/v1/apps/{application-id}/journeys"
|
3742
|
+
o.input = Shapes::ShapeRef.new(shape: ListJourneysRequest)
|
3743
|
+
o.output = Shapes::ShapeRef.new(shape: ListJourneysResponse)
|
3744
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
3745
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
3746
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
3747
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
3748
|
+
o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
|
3749
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
3750
|
+
end)
|
3751
|
+
|
3351
3752
|
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
3352
3753
|
o.name = "ListTagsForResource"
|
3353
3754
|
o.http_method = "GET"
|
@@ -3651,6 +4052,34 @@ module Aws::Pinpoint
|
|
3651
4052
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
3652
4053
|
end)
|
3653
4054
|
|
4055
|
+
api.add_operation(:update_journey, Seahorse::Model::Operation.new.tap do |o|
|
4056
|
+
o.name = "UpdateJourney"
|
4057
|
+
o.http_method = "PUT"
|
4058
|
+
o.http_request_uri = "/v1/apps/{application-id}/journeys/{journey-id}"
|
4059
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateJourneyRequest)
|
4060
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateJourneyResponse)
|
4061
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
4062
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
4063
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
4064
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
4065
|
+
o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
|
4066
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
4067
|
+
end)
|
4068
|
+
|
4069
|
+
api.add_operation(:update_journey_state, Seahorse::Model::Operation.new.tap do |o|
|
4070
|
+
o.name = "UpdateJourneyState"
|
4071
|
+
o.http_method = "PUT"
|
4072
|
+
o.http_request_uri = "/v1/apps/{application-id}/journeys/{journey-id}/state"
|
4073
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateJourneyStateRequest)
|
4074
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateJourneyStateResponse)
|
4075
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
4076
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
4077
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
4078
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
4079
|
+
o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
|
4080
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
4081
|
+
end)
|
4082
|
+
|
3654
4083
|
api.add_operation(:update_push_template, Seahorse::Model::Operation.new.tap do |o|
|
3655
4084
|
o.name = "UpdatePushTemplate"
|
3656
4085
|
o.http_method = "PUT"
|