aws-sdk-pinpoint 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-pinpoint.rb +1 -1
- data/lib/aws-sdk-pinpoint/client.rb +632 -11
- data/lib/aws-sdk-pinpoint/client_api.rb +327 -0
- data/lib/aws-sdk-pinpoint/types.rb +1986 -143
- metadata +5 -3
@@ -11,6 +11,9 @@ module Aws::Pinpoint
|
|
11
11
|
|
12
12
|
include Seahorse::Model
|
13
13
|
|
14
|
+
ADMChannelRequest = Shapes::StructureShape.new(name: 'ADMChannelRequest')
|
15
|
+
ADMChannelResponse = Shapes::StructureShape.new(name: 'ADMChannelResponse')
|
16
|
+
ADMMessage = Shapes::StructureShape.new(name: 'ADMMessage')
|
14
17
|
APNSChannelRequest = Shapes::StructureShape.new(name: 'APNSChannelRequest')
|
15
18
|
APNSChannelResponse = Shapes::StructureShape.new(name: 'APNSChannelResponse')
|
16
19
|
APNSMessage = Shapes::StructureShape.new(name: 'APNSMessage')
|
@@ -26,6 +29,9 @@ module Aws::Pinpoint
|
|
26
29
|
AttributeDimension = Shapes::StructureShape.new(name: 'AttributeDimension')
|
27
30
|
AttributeType = Shapes::StringShape.new(name: 'AttributeType')
|
28
31
|
BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
|
32
|
+
BaiduChannelRequest = Shapes::StructureShape.new(name: 'BaiduChannelRequest')
|
33
|
+
BaiduChannelResponse = Shapes::StructureShape.new(name: 'BaiduChannelResponse')
|
34
|
+
BaiduMessage = Shapes::StructureShape.new(name: 'BaiduMessage')
|
29
35
|
CampaignEmailMessage = Shapes::StructureShape.new(name: 'CampaignEmailMessage')
|
30
36
|
CampaignLimits = Shapes::StructureShape.new(name: 'CampaignLimits')
|
31
37
|
CampaignResponse = Shapes::StructureShape.new(name: 'CampaignResponse')
|
@@ -45,12 +51,16 @@ module Aws::Pinpoint
|
|
45
51
|
CreateSegmentResponse = Shapes::StructureShape.new(name: 'CreateSegmentResponse')
|
46
52
|
DefaultMessage = Shapes::StructureShape.new(name: 'DefaultMessage')
|
47
53
|
DefaultPushNotificationMessage = Shapes::StructureShape.new(name: 'DefaultPushNotificationMessage')
|
54
|
+
DeleteAdmChannelRequest = Shapes::StructureShape.new(name: 'DeleteAdmChannelRequest')
|
55
|
+
DeleteAdmChannelResponse = Shapes::StructureShape.new(name: 'DeleteAdmChannelResponse')
|
48
56
|
DeleteApnsChannelRequest = Shapes::StructureShape.new(name: 'DeleteApnsChannelRequest')
|
49
57
|
DeleteApnsChannelResponse = Shapes::StructureShape.new(name: 'DeleteApnsChannelResponse')
|
50
58
|
DeleteApnsSandboxChannelRequest = Shapes::StructureShape.new(name: 'DeleteApnsSandboxChannelRequest')
|
51
59
|
DeleteApnsSandboxChannelResponse = Shapes::StructureShape.new(name: 'DeleteApnsSandboxChannelResponse')
|
52
60
|
DeleteAppRequest = Shapes::StructureShape.new(name: 'DeleteAppRequest')
|
53
61
|
DeleteAppResponse = Shapes::StructureShape.new(name: 'DeleteAppResponse')
|
62
|
+
DeleteBaiduChannelRequest = Shapes::StructureShape.new(name: 'DeleteBaiduChannelRequest')
|
63
|
+
DeleteBaiduChannelResponse = Shapes::StructureShape.new(name: 'DeleteBaiduChannelResponse')
|
54
64
|
DeleteCampaignRequest = Shapes::StructureShape.new(name: 'DeleteCampaignRequest')
|
55
65
|
DeleteCampaignResponse = Shapes::StructureShape.new(name: 'DeleteCampaignResponse')
|
56
66
|
DeleteEmailChannelRequest = Shapes::StructureShape.new(name: 'DeleteEmailChannelRequest')
|
@@ -69,12 +79,15 @@ module Aws::Pinpoint
|
|
69
79
|
Duration = Shapes::StringShape.new(name: 'Duration')
|
70
80
|
EmailChannelRequest = Shapes::StructureShape.new(name: 'EmailChannelRequest')
|
71
81
|
EmailChannelResponse = Shapes::StructureShape.new(name: 'EmailChannelResponse')
|
82
|
+
EmailMessage = Shapes::StructureShape.new(name: 'EmailMessage')
|
72
83
|
EndpointBatchItem = Shapes::StructureShape.new(name: 'EndpointBatchItem')
|
73
84
|
EndpointBatchRequest = Shapes::StructureShape.new(name: 'EndpointBatchRequest')
|
74
85
|
EndpointDemographic = Shapes::StructureShape.new(name: 'EndpointDemographic')
|
75
86
|
EndpointLocation = Shapes::StructureShape.new(name: 'EndpointLocation')
|
87
|
+
EndpointMessageResult = Shapes::StructureShape.new(name: 'EndpointMessageResult')
|
76
88
|
EndpointRequest = Shapes::StructureShape.new(name: 'EndpointRequest')
|
77
89
|
EndpointResponse = Shapes::StructureShape.new(name: 'EndpointResponse')
|
90
|
+
EndpointSendConfiguration = Shapes::StructureShape.new(name: 'EndpointSendConfiguration')
|
78
91
|
EndpointUser = Shapes::StructureShape.new(name: 'EndpointUser')
|
79
92
|
EventStream = Shapes::StructureShape.new(name: 'EventStream')
|
80
93
|
ForbiddenException = Shapes::StructureShape.new(name: 'ForbiddenException')
|
@@ -83,6 +96,8 @@ module Aws::Pinpoint
|
|
83
96
|
GCMChannelRequest = Shapes::StructureShape.new(name: 'GCMChannelRequest')
|
84
97
|
GCMChannelResponse = Shapes::StructureShape.new(name: 'GCMChannelResponse')
|
85
98
|
GCMMessage = Shapes::StructureShape.new(name: 'GCMMessage')
|
99
|
+
GetAdmChannelRequest = Shapes::StructureShape.new(name: 'GetAdmChannelRequest')
|
100
|
+
GetAdmChannelResponse = Shapes::StructureShape.new(name: 'GetAdmChannelResponse')
|
86
101
|
GetApnsChannelRequest = Shapes::StructureShape.new(name: 'GetApnsChannelRequest')
|
87
102
|
GetApnsChannelResponse = Shapes::StructureShape.new(name: 'GetApnsChannelResponse')
|
88
103
|
GetApnsSandboxChannelRequest = Shapes::StructureShape.new(name: 'GetApnsSandboxChannelRequest')
|
@@ -93,6 +108,8 @@ module Aws::Pinpoint
|
|
93
108
|
GetApplicationSettingsResponse = Shapes::StructureShape.new(name: 'GetApplicationSettingsResponse')
|
94
109
|
GetAppsRequest = Shapes::StructureShape.new(name: 'GetAppsRequest')
|
95
110
|
GetAppsResponse = Shapes::StructureShape.new(name: 'GetAppsResponse')
|
111
|
+
GetBaiduChannelRequest = Shapes::StructureShape.new(name: 'GetBaiduChannelRequest')
|
112
|
+
GetBaiduChannelResponse = Shapes::StructureShape.new(name: 'GetBaiduChannelResponse')
|
96
113
|
GetCampaignActivitiesRequest = Shapes::StructureShape.new(name: 'GetCampaignActivitiesRequest')
|
97
114
|
GetCampaignActivitiesResponse = Shapes::StructureShape.new(name: 'GetCampaignActivitiesResponse')
|
98
115
|
GetCampaignRequest = Shapes::StructureShape.new(name: 'GetCampaignRequest')
|
@@ -144,7 +161,10 @@ module Aws::Pinpoint
|
|
144
161
|
ListOf__string = Shapes::ListShape.new(name: 'ListOf__string')
|
145
162
|
MapOfAddressConfiguration = Shapes::MapShape.new(name: 'MapOfAddressConfiguration')
|
146
163
|
MapOfAttributeDimension = Shapes::MapShape.new(name: 'MapOfAttributeDimension')
|
164
|
+
MapOfEndpointMessageResult = Shapes::MapShape.new(name: 'MapOfEndpointMessageResult')
|
165
|
+
MapOfEndpointSendConfiguration = Shapes::MapShape.new(name: 'MapOfEndpointSendConfiguration')
|
147
166
|
MapOfListOf__string = Shapes::MapShape.new(name: 'MapOfListOf__string')
|
167
|
+
MapOfMapOfEndpointMessageResult = Shapes::MapShape.new(name: 'MapOfMapOfEndpointMessageResult')
|
148
168
|
MapOfMessageResult = Shapes::MapShape.new(name: 'MapOfMessageResult')
|
149
169
|
MapOf__double = Shapes::MapShape.new(name: 'MapOf__double')
|
150
170
|
MapOf__integer = Shapes::MapShape.new(name: 'MapOf__integer')
|
@@ -177,15 +197,23 @@ module Aws::Pinpoint
|
|
177
197
|
SegmentsResponse = Shapes::StructureShape.new(name: 'SegmentsResponse')
|
178
198
|
SendMessagesRequest = Shapes::StructureShape.new(name: 'SendMessagesRequest')
|
179
199
|
SendMessagesResponse = Shapes::StructureShape.new(name: 'SendMessagesResponse')
|
200
|
+
SendUsersMessageRequest = Shapes::StructureShape.new(name: 'SendUsersMessageRequest')
|
201
|
+
SendUsersMessageResponse = Shapes::StructureShape.new(name: 'SendUsersMessageResponse')
|
202
|
+
SendUsersMessagesRequest = Shapes::StructureShape.new(name: 'SendUsersMessagesRequest')
|
203
|
+
SendUsersMessagesResponse = Shapes::StructureShape.new(name: 'SendUsersMessagesResponse')
|
180
204
|
SetDimension = Shapes::StructureShape.new(name: 'SetDimension')
|
181
205
|
TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
|
182
206
|
TreatmentResource = Shapes::StructureShape.new(name: 'TreatmentResource')
|
207
|
+
UpdateAdmChannelRequest = Shapes::StructureShape.new(name: 'UpdateAdmChannelRequest')
|
208
|
+
UpdateAdmChannelResponse = Shapes::StructureShape.new(name: 'UpdateAdmChannelResponse')
|
183
209
|
UpdateApnsChannelRequest = Shapes::StructureShape.new(name: 'UpdateApnsChannelRequest')
|
184
210
|
UpdateApnsChannelResponse = Shapes::StructureShape.new(name: 'UpdateApnsChannelResponse')
|
185
211
|
UpdateApnsSandboxChannelRequest = Shapes::StructureShape.new(name: 'UpdateApnsSandboxChannelRequest')
|
186
212
|
UpdateApnsSandboxChannelResponse = Shapes::StructureShape.new(name: 'UpdateApnsSandboxChannelResponse')
|
187
213
|
UpdateApplicationSettingsRequest = Shapes::StructureShape.new(name: 'UpdateApplicationSettingsRequest')
|
188
214
|
UpdateApplicationSettingsResponse = Shapes::StructureShape.new(name: 'UpdateApplicationSettingsResponse')
|
215
|
+
UpdateBaiduChannelRequest = Shapes::StructureShape.new(name: 'UpdateBaiduChannelRequest')
|
216
|
+
UpdateBaiduChannelResponse = Shapes::StructureShape.new(name: 'UpdateBaiduChannelResponse')
|
189
217
|
UpdateCampaignRequest = Shapes::StructureShape.new(name: 'UpdateCampaignRequest')
|
190
218
|
UpdateCampaignResponse = Shapes::StructureShape.new(name: 'UpdateCampaignResponse')
|
191
219
|
UpdateEmailChannelRequest = Shapes::StructureShape.new(name: 'UpdateEmailChannelRequest')
|
@@ -211,9 +239,49 @@ module Aws::Pinpoint
|
|
211
239
|
__string = Shapes::StringShape.new(name: '__string')
|
212
240
|
__timestamp = Shapes::TimestampShape.new(name: '__timestamp')
|
213
241
|
|
242
|
+
ADMChannelRequest.add_member(:client_id, Shapes::ShapeRef.new(shape: __string, location_name: "ClientId"))
|
243
|
+
ADMChannelRequest.add_member(:client_secret, Shapes::ShapeRef.new(shape: __string, location_name: "ClientSecret"))
|
244
|
+
ADMChannelRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "Enabled"))
|
245
|
+
ADMChannelRequest.struct_class = Types::ADMChannelRequest
|
246
|
+
|
247
|
+
ADMChannelResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId"))
|
248
|
+
ADMChannelResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: __string, location_name: "CreationDate"))
|
249
|
+
ADMChannelResponse.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "Enabled"))
|
250
|
+
ADMChannelResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id"))
|
251
|
+
ADMChannelResponse.add_member(:is_archived, Shapes::ShapeRef.new(shape: __boolean, location_name: "IsArchived"))
|
252
|
+
ADMChannelResponse.add_member(:last_modified_by, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedBy"))
|
253
|
+
ADMChannelResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedDate"))
|
254
|
+
ADMChannelResponse.add_member(:platform, Shapes::ShapeRef.new(shape: __string, location_name: "Platform"))
|
255
|
+
ADMChannelResponse.add_member(:version, Shapes::ShapeRef.new(shape: __integer, location_name: "Version"))
|
256
|
+
ADMChannelResponse.struct_class = Types::ADMChannelResponse
|
257
|
+
|
258
|
+
ADMMessage.add_member(:action, Shapes::ShapeRef.new(shape: Action, location_name: "Action"))
|
259
|
+
ADMMessage.add_member(:body, Shapes::ShapeRef.new(shape: __string, location_name: "Body"))
|
260
|
+
ADMMessage.add_member(:consolidation_key, Shapes::ShapeRef.new(shape: __string, location_name: "ConsolidationKey"))
|
261
|
+
ADMMessage.add_member(:data, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "Data"))
|
262
|
+
ADMMessage.add_member(:expires_after, Shapes::ShapeRef.new(shape: __string, location_name: "ExpiresAfter"))
|
263
|
+
ADMMessage.add_member(:icon_reference, Shapes::ShapeRef.new(shape: __string, location_name: "IconReference"))
|
264
|
+
ADMMessage.add_member(:image_icon_url, Shapes::ShapeRef.new(shape: __string, location_name: "ImageIconUrl"))
|
265
|
+
ADMMessage.add_member(:image_url, Shapes::ShapeRef.new(shape: __string, location_name: "ImageUrl"))
|
266
|
+
ADMMessage.add_member(:json_data, Shapes::ShapeRef.new(shape: __string, location_name: "JsonData"))
|
267
|
+
ADMMessage.add_member(:md5, Shapes::ShapeRef.new(shape: __string, location_name: "MD5"))
|
268
|
+
ADMMessage.add_member(:raw_content, Shapes::ShapeRef.new(shape: __string, location_name: "RawContent"))
|
269
|
+
ADMMessage.add_member(:silent_push, Shapes::ShapeRef.new(shape: __boolean, location_name: "SilentPush"))
|
270
|
+
ADMMessage.add_member(:small_image_icon_url, Shapes::ShapeRef.new(shape: __string, location_name: "SmallImageIconUrl"))
|
271
|
+
ADMMessage.add_member(:sound, Shapes::ShapeRef.new(shape: __string, location_name: "Sound"))
|
272
|
+
ADMMessage.add_member(:substitutions, Shapes::ShapeRef.new(shape: MapOfListOf__string, location_name: "Substitutions"))
|
273
|
+
ADMMessage.add_member(:title, Shapes::ShapeRef.new(shape: __string, location_name: "Title"))
|
274
|
+
ADMMessage.add_member(:url, Shapes::ShapeRef.new(shape: __string, location_name: "Url"))
|
275
|
+
ADMMessage.struct_class = Types::ADMMessage
|
276
|
+
|
277
|
+
APNSChannelRequest.add_member(:bundle_id, Shapes::ShapeRef.new(shape: __string, location_name: "BundleId"))
|
214
278
|
APNSChannelRequest.add_member(:certificate, Shapes::ShapeRef.new(shape: __string, location_name: "Certificate"))
|
279
|
+
APNSChannelRequest.add_member(:default_authentication_method, Shapes::ShapeRef.new(shape: __string, location_name: "DefaultAuthenticationMethod"))
|
215
280
|
APNSChannelRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "Enabled"))
|
216
281
|
APNSChannelRequest.add_member(:private_key, Shapes::ShapeRef.new(shape: __string, location_name: "PrivateKey"))
|
282
|
+
APNSChannelRequest.add_member(:team_id, Shapes::ShapeRef.new(shape: __string, location_name: "TeamId"))
|
283
|
+
APNSChannelRequest.add_member(:token_key, Shapes::ShapeRef.new(shape: __string, location_name: "TokenKey"))
|
284
|
+
APNSChannelRequest.add_member(:token_key_id, Shapes::ShapeRef.new(shape: __string, location_name: "TokenKeyId"))
|
217
285
|
APNSChannelRequest.struct_class = Types::APNSChannelRequest
|
218
286
|
|
219
287
|
APNSChannelResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId"))
|
@@ -232,7 +300,9 @@ module Aws::Pinpoint
|
|
232
300
|
APNSMessage.add_member(:body, Shapes::ShapeRef.new(shape: __string, location_name: "Body"))
|
233
301
|
APNSMessage.add_member(:category, Shapes::ShapeRef.new(shape: __string, location_name: "Category"))
|
234
302
|
APNSMessage.add_member(:data, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "Data"))
|
303
|
+
APNSMessage.add_member(:json_data, Shapes::ShapeRef.new(shape: __string, location_name: "JsonData"))
|
235
304
|
APNSMessage.add_member(:media_url, Shapes::ShapeRef.new(shape: __string, location_name: "MediaUrl"))
|
305
|
+
APNSMessage.add_member(:preferred_authentication_method, Shapes::ShapeRef.new(shape: __string, location_name: "PreferredAuthenticationMethod"))
|
236
306
|
APNSMessage.add_member(:raw_content, Shapes::ShapeRef.new(shape: __string, location_name: "RawContent"))
|
237
307
|
APNSMessage.add_member(:silent_push, Shapes::ShapeRef.new(shape: __boolean, location_name: "SilentPush"))
|
238
308
|
APNSMessage.add_member(:sound, Shapes::ShapeRef.new(shape: __string, location_name: "Sound"))
|
@@ -242,9 +312,14 @@ module Aws::Pinpoint
|
|
242
312
|
APNSMessage.add_member(:url, Shapes::ShapeRef.new(shape: __string, location_name: "Url"))
|
243
313
|
APNSMessage.struct_class = Types::APNSMessage
|
244
314
|
|
315
|
+
APNSSandboxChannelRequest.add_member(:bundle_id, Shapes::ShapeRef.new(shape: __string, location_name: "BundleId"))
|
245
316
|
APNSSandboxChannelRequest.add_member(:certificate, Shapes::ShapeRef.new(shape: __string, location_name: "Certificate"))
|
317
|
+
APNSSandboxChannelRequest.add_member(:default_authentication_method, Shapes::ShapeRef.new(shape: __string, location_name: "DefaultAuthenticationMethod"))
|
246
318
|
APNSSandboxChannelRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "Enabled"))
|
247
319
|
APNSSandboxChannelRequest.add_member(:private_key, Shapes::ShapeRef.new(shape: __string, location_name: "PrivateKey"))
|
320
|
+
APNSSandboxChannelRequest.add_member(:team_id, Shapes::ShapeRef.new(shape: __string, location_name: "TeamId"))
|
321
|
+
APNSSandboxChannelRequest.add_member(:token_key, Shapes::ShapeRef.new(shape: __string, location_name: "TokenKey"))
|
322
|
+
APNSSandboxChannelRequest.add_member(:token_key_id, Shapes::ShapeRef.new(shape: __string, location_name: "TokenKeyId"))
|
248
323
|
APNSSandboxChannelRequest.struct_class = Types::APNSSandboxChannelRequest
|
249
324
|
|
250
325
|
APNSSandboxChannelResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId"))
|
@@ -302,6 +377,39 @@ module Aws::Pinpoint
|
|
302
377
|
AttributeDimension.add_member(:values, Shapes::ShapeRef.new(shape: ListOf__string, location_name: "Values"))
|
303
378
|
AttributeDimension.struct_class = Types::AttributeDimension
|
304
379
|
|
380
|
+
BaiduChannelRequest.add_member(:api_key, Shapes::ShapeRef.new(shape: __string, location_name: "ApiKey"))
|
381
|
+
BaiduChannelRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "Enabled"))
|
382
|
+
BaiduChannelRequest.add_member(:secret_key, Shapes::ShapeRef.new(shape: __string, location_name: "SecretKey"))
|
383
|
+
BaiduChannelRequest.struct_class = Types::BaiduChannelRequest
|
384
|
+
|
385
|
+
BaiduChannelResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId"))
|
386
|
+
BaiduChannelResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: __string, location_name: "CreationDate"))
|
387
|
+
BaiduChannelResponse.add_member(:credential, Shapes::ShapeRef.new(shape: __string, location_name: "Credential"))
|
388
|
+
BaiduChannelResponse.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "Enabled"))
|
389
|
+
BaiduChannelResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id"))
|
390
|
+
BaiduChannelResponse.add_member(:is_archived, Shapes::ShapeRef.new(shape: __boolean, location_name: "IsArchived"))
|
391
|
+
BaiduChannelResponse.add_member(:last_modified_by, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedBy"))
|
392
|
+
BaiduChannelResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedDate"))
|
393
|
+
BaiduChannelResponse.add_member(:platform, Shapes::ShapeRef.new(shape: __string, location_name: "Platform"))
|
394
|
+
BaiduChannelResponse.add_member(:version, Shapes::ShapeRef.new(shape: __integer, location_name: "Version"))
|
395
|
+
BaiduChannelResponse.struct_class = Types::BaiduChannelResponse
|
396
|
+
|
397
|
+
BaiduMessage.add_member(:action, Shapes::ShapeRef.new(shape: Action, location_name: "Action"))
|
398
|
+
BaiduMessage.add_member(:body, Shapes::ShapeRef.new(shape: __string, location_name: "Body"))
|
399
|
+
BaiduMessage.add_member(:data, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "Data"))
|
400
|
+
BaiduMessage.add_member(:icon_reference, Shapes::ShapeRef.new(shape: __string, location_name: "IconReference"))
|
401
|
+
BaiduMessage.add_member(:image_icon_url, Shapes::ShapeRef.new(shape: __string, location_name: "ImageIconUrl"))
|
402
|
+
BaiduMessage.add_member(:image_url, Shapes::ShapeRef.new(shape: __string, location_name: "ImageUrl"))
|
403
|
+
BaiduMessage.add_member(:json_data, Shapes::ShapeRef.new(shape: __string, location_name: "JsonData"))
|
404
|
+
BaiduMessage.add_member(:raw_content, Shapes::ShapeRef.new(shape: __string, location_name: "RawContent"))
|
405
|
+
BaiduMessage.add_member(:silent_push, Shapes::ShapeRef.new(shape: __boolean, location_name: "SilentPush"))
|
406
|
+
BaiduMessage.add_member(:small_image_icon_url, Shapes::ShapeRef.new(shape: __string, location_name: "SmallImageIconUrl"))
|
407
|
+
BaiduMessage.add_member(:sound, Shapes::ShapeRef.new(shape: __string, location_name: "Sound"))
|
408
|
+
BaiduMessage.add_member(:substitutions, Shapes::ShapeRef.new(shape: MapOfListOf__string, location_name: "Substitutions"))
|
409
|
+
BaiduMessage.add_member(:title, Shapes::ShapeRef.new(shape: __string, location_name: "Title"))
|
410
|
+
BaiduMessage.add_member(:url, Shapes::ShapeRef.new(shape: __string, location_name: "Url"))
|
411
|
+
BaiduMessage.struct_class = Types::BaiduMessage
|
412
|
+
|
305
413
|
CampaignEmailMessage.add_member(:body, Shapes::ShapeRef.new(shape: __string, location_name: "Body"))
|
306
414
|
CampaignEmailMessage.add_member(:from_address, Shapes::ShapeRef.new(shape: __string, location_name: "FromAddress"))
|
307
415
|
CampaignEmailMessage.add_member(:html_body, Shapes::ShapeRef.new(shape: __string, location_name: "HtmlBody"))
|
@@ -309,6 +417,8 @@ module Aws::Pinpoint
|
|
309
417
|
CampaignEmailMessage.struct_class = Types::CampaignEmailMessage
|
310
418
|
|
311
419
|
CampaignLimits.add_member(:daily, Shapes::ShapeRef.new(shape: __integer, location_name: "Daily"))
|
420
|
+
CampaignLimits.add_member(:maximum_duration, Shapes::ShapeRef.new(shape: __integer, location_name: "MaximumDuration"))
|
421
|
+
CampaignLimits.add_member(:messages_per_second, Shapes::ShapeRef.new(shape: __integer, location_name: "MessagesPerSecond"))
|
312
422
|
CampaignLimits.add_member(:total, Shapes::ShapeRef.new(shape: __integer, location_name: "Total"))
|
313
423
|
CampaignLimits.struct_class = Types::CampaignLimits
|
314
424
|
|
@@ -398,12 +508,21 @@ module Aws::Pinpoint
|
|
398
508
|
DefaultPushNotificationMessage.add_member(:action, Shapes::ShapeRef.new(shape: Action, location_name: "Action"))
|
399
509
|
DefaultPushNotificationMessage.add_member(:body, Shapes::ShapeRef.new(shape: __string, location_name: "Body"))
|
400
510
|
DefaultPushNotificationMessage.add_member(:data, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "Data"))
|
511
|
+
DefaultPushNotificationMessage.add_member(:json_data, Shapes::ShapeRef.new(shape: __string, location_name: "JsonData"))
|
401
512
|
DefaultPushNotificationMessage.add_member(:silent_push, Shapes::ShapeRef.new(shape: __boolean, location_name: "SilentPush"))
|
402
513
|
DefaultPushNotificationMessage.add_member(:substitutions, Shapes::ShapeRef.new(shape: MapOfListOf__string, location_name: "Substitutions"))
|
403
514
|
DefaultPushNotificationMessage.add_member(:title, Shapes::ShapeRef.new(shape: __string, location_name: "Title"))
|
404
515
|
DefaultPushNotificationMessage.add_member(:url, Shapes::ShapeRef.new(shape: __string, location_name: "Url"))
|
405
516
|
DefaultPushNotificationMessage.struct_class = Types::DefaultPushNotificationMessage
|
406
517
|
|
518
|
+
DeleteAdmChannelRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
|
519
|
+
DeleteAdmChannelRequest.struct_class = Types::DeleteAdmChannelRequest
|
520
|
+
|
521
|
+
DeleteAdmChannelResponse.add_member(:adm_channel_response, Shapes::ShapeRef.new(shape: ADMChannelResponse, required: true, location_name: "ADMChannelResponse"))
|
522
|
+
DeleteAdmChannelResponse.struct_class = Types::DeleteAdmChannelResponse
|
523
|
+
DeleteAdmChannelResponse[:payload] = :adm_channel_response
|
524
|
+
DeleteAdmChannelResponse[:payload_member] = DeleteAdmChannelResponse.member(:adm_channel_response)
|
525
|
+
|
407
526
|
DeleteApnsChannelRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
|
408
527
|
DeleteApnsChannelRequest.struct_class = Types::DeleteApnsChannelRequest
|
409
528
|
|
@@ -428,6 +547,14 @@ module Aws::Pinpoint
|
|
428
547
|
DeleteAppResponse[:payload] = :application_response
|
429
548
|
DeleteAppResponse[:payload_member] = DeleteAppResponse.member(:application_response)
|
430
549
|
|
550
|
+
DeleteBaiduChannelRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
|
551
|
+
DeleteBaiduChannelRequest.struct_class = Types::DeleteBaiduChannelRequest
|
552
|
+
|
553
|
+
DeleteBaiduChannelResponse.add_member(:baidu_channel_response, Shapes::ShapeRef.new(shape: BaiduChannelResponse, required: true, location_name: "BaiduChannelResponse"))
|
554
|
+
DeleteBaiduChannelResponse.struct_class = Types::DeleteBaiduChannelResponse
|
555
|
+
DeleteBaiduChannelResponse[:payload] = :baidu_channel_response
|
556
|
+
DeleteBaiduChannelResponse[:payload_member] = DeleteBaiduChannelResponse.member(:baidu_channel_response)
|
557
|
+
|
431
558
|
DeleteCampaignRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
|
432
559
|
DeleteCampaignRequest.add_member(:campaign_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "campaign-id"))
|
433
560
|
DeleteCampaignRequest.struct_class = Types::DeleteCampaignRequest
|
@@ -478,9 +605,12 @@ module Aws::Pinpoint
|
|
478
605
|
DeleteSmsChannelResponse[:payload] = :sms_channel_response
|
479
606
|
DeleteSmsChannelResponse[:payload_member] = DeleteSmsChannelResponse.member(:sms_channel_response)
|
480
607
|
|
608
|
+
DirectMessageConfiguration.add_member(:adm_message, Shapes::ShapeRef.new(shape: ADMMessage, location_name: "ADMMessage"))
|
481
609
|
DirectMessageConfiguration.add_member(:apns_message, Shapes::ShapeRef.new(shape: APNSMessage, location_name: "APNSMessage"))
|
610
|
+
DirectMessageConfiguration.add_member(:baidu_message, Shapes::ShapeRef.new(shape: BaiduMessage, location_name: "BaiduMessage"))
|
482
611
|
DirectMessageConfiguration.add_member(:default_message, Shapes::ShapeRef.new(shape: DefaultMessage, location_name: "DefaultMessage"))
|
483
612
|
DirectMessageConfiguration.add_member(:default_push_notification_message, Shapes::ShapeRef.new(shape: DefaultPushNotificationMessage, location_name: "DefaultPushNotificationMessage"))
|
613
|
+
DirectMessageConfiguration.add_member(:email_message, Shapes::ShapeRef.new(shape: EmailMessage, location_name: "EmailMessage"))
|
484
614
|
DirectMessageConfiguration.add_member(:gcm_message, Shapes::ShapeRef.new(shape: GCMMessage, location_name: "GCMMessage"))
|
485
615
|
DirectMessageConfiguration.add_member(:sms_message, Shapes::ShapeRef.new(shape: SMSMessage, location_name: "SMSMessage"))
|
486
616
|
DirectMessageConfiguration.struct_class = Types::DirectMessageConfiguration
|
@@ -505,6 +635,14 @@ module Aws::Pinpoint
|
|
505
635
|
EmailChannelResponse.add_member(:version, Shapes::ShapeRef.new(shape: __integer, location_name: "Version"))
|
506
636
|
EmailChannelResponse.struct_class = Types::EmailChannelResponse
|
507
637
|
|
638
|
+
EmailMessage.add_member(:body, Shapes::ShapeRef.new(shape: __string, location_name: "Body"))
|
639
|
+
EmailMessage.add_member(:from_address, Shapes::ShapeRef.new(shape: __string, location_name: "FromAddress"))
|
640
|
+
EmailMessage.add_member(:html_body, Shapes::ShapeRef.new(shape: __string, location_name: "HtmlBody"))
|
641
|
+
EmailMessage.add_member(:substitutions, Shapes::ShapeRef.new(shape: MapOfListOf__string, location_name: "Substitutions"))
|
642
|
+
EmailMessage.add_member(:template_arn, Shapes::ShapeRef.new(shape: __string, location_name: "TemplateArn"))
|
643
|
+
EmailMessage.add_member(:title, Shapes::ShapeRef.new(shape: __string, location_name: "Title"))
|
644
|
+
EmailMessage.struct_class = Types::EmailMessage
|
645
|
+
|
508
646
|
EndpointBatchItem.add_member(:address, Shapes::ShapeRef.new(shape: __string, location_name: "Address"))
|
509
647
|
EndpointBatchItem.add_member(:attributes, Shapes::ShapeRef.new(shape: MapOfListOf__string, location_name: "Attributes"))
|
510
648
|
EndpointBatchItem.add_member(:channel_type, Shapes::ShapeRef.new(shape: ChannelType, location_name: "ChannelType"))
|
@@ -540,6 +678,13 @@ module Aws::Pinpoint
|
|
540
678
|
EndpointLocation.add_member(:region, Shapes::ShapeRef.new(shape: __string, location_name: "Region"))
|
541
679
|
EndpointLocation.struct_class = Types::EndpointLocation
|
542
680
|
|
681
|
+
EndpointMessageResult.add_member(:address, Shapes::ShapeRef.new(shape: __string, location_name: "Address"))
|
682
|
+
EndpointMessageResult.add_member(:delivery_status, Shapes::ShapeRef.new(shape: DeliveryStatus, location_name: "DeliveryStatus"))
|
683
|
+
EndpointMessageResult.add_member(:status_code, Shapes::ShapeRef.new(shape: __integer, location_name: "StatusCode"))
|
684
|
+
EndpointMessageResult.add_member(:status_message, Shapes::ShapeRef.new(shape: __string, location_name: "StatusMessage"))
|
685
|
+
EndpointMessageResult.add_member(:updated_token, Shapes::ShapeRef.new(shape: __string, location_name: "UpdatedToken"))
|
686
|
+
EndpointMessageResult.struct_class = Types::EndpointMessageResult
|
687
|
+
|
543
688
|
EndpointRequest.add_member(:address, Shapes::ShapeRef.new(shape: __string, location_name: "Address"))
|
544
689
|
EndpointRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: MapOfListOf__string, location_name: "Attributes"))
|
545
690
|
EndpointRequest.add_member(:channel_type, Shapes::ShapeRef.new(shape: ChannelType, location_name: "ChannelType"))
|
@@ -571,6 +716,13 @@ module Aws::Pinpoint
|
|
571
716
|
EndpointResponse.add_member(:user, Shapes::ShapeRef.new(shape: EndpointUser, location_name: "User"))
|
572
717
|
EndpointResponse.struct_class = Types::EndpointResponse
|
573
718
|
|
719
|
+
EndpointSendConfiguration.add_member(:body_override, Shapes::ShapeRef.new(shape: __string, location_name: "BodyOverride"))
|
720
|
+
EndpointSendConfiguration.add_member(:context, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "Context"))
|
721
|
+
EndpointSendConfiguration.add_member(:raw_content, Shapes::ShapeRef.new(shape: __string, location_name: "RawContent"))
|
722
|
+
EndpointSendConfiguration.add_member(:substitutions, Shapes::ShapeRef.new(shape: MapOfListOf__string, location_name: "Substitutions"))
|
723
|
+
EndpointSendConfiguration.add_member(:title_override, Shapes::ShapeRef.new(shape: __string, location_name: "TitleOverride"))
|
724
|
+
EndpointSendConfiguration.struct_class = Types::EndpointSendConfiguration
|
725
|
+
|
574
726
|
EndpointUser.add_member(:user_attributes, Shapes::ShapeRef.new(shape: MapOfListOf__string, location_name: "UserAttributes"))
|
575
727
|
EndpointUser.add_member(:user_id, Shapes::ShapeRef.new(shape: __string, location_name: "UserId"))
|
576
728
|
EndpointUser.struct_class = Types::EndpointUser
|
@@ -606,6 +758,7 @@ module Aws::Pinpoint
|
|
606
758
|
GCMMessage.add_member(:icon_reference, Shapes::ShapeRef.new(shape: __string, location_name: "IconReference"))
|
607
759
|
GCMMessage.add_member(:image_icon_url, Shapes::ShapeRef.new(shape: __string, location_name: "ImageIconUrl"))
|
608
760
|
GCMMessage.add_member(:image_url, Shapes::ShapeRef.new(shape: __string, location_name: "ImageUrl"))
|
761
|
+
GCMMessage.add_member(:json_data, Shapes::ShapeRef.new(shape: __string, location_name: "JsonData"))
|
609
762
|
GCMMessage.add_member(:raw_content, Shapes::ShapeRef.new(shape: __string, location_name: "RawContent"))
|
610
763
|
GCMMessage.add_member(:restricted_package_name, Shapes::ShapeRef.new(shape: __string, location_name: "RestrictedPackageName"))
|
611
764
|
GCMMessage.add_member(:silent_push, Shapes::ShapeRef.new(shape: __boolean, location_name: "SilentPush"))
|
@@ -616,6 +769,14 @@ module Aws::Pinpoint
|
|
616
769
|
GCMMessage.add_member(:url, Shapes::ShapeRef.new(shape: __string, location_name: "Url"))
|
617
770
|
GCMMessage.struct_class = Types::GCMMessage
|
618
771
|
|
772
|
+
GetAdmChannelRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
|
773
|
+
GetAdmChannelRequest.struct_class = Types::GetAdmChannelRequest
|
774
|
+
|
775
|
+
GetAdmChannelResponse.add_member(:adm_channel_response, Shapes::ShapeRef.new(shape: ADMChannelResponse, required: true, location_name: "ADMChannelResponse"))
|
776
|
+
GetAdmChannelResponse.struct_class = Types::GetAdmChannelResponse
|
777
|
+
GetAdmChannelResponse[:payload] = :adm_channel_response
|
778
|
+
GetAdmChannelResponse[:payload_member] = GetAdmChannelResponse.member(:adm_channel_response)
|
779
|
+
|
619
780
|
GetApnsChannelRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
|
620
781
|
GetApnsChannelRequest.struct_class = Types::GetApnsChannelRequest
|
621
782
|
|
@@ -657,6 +818,14 @@ module Aws::Pinpoint
|
|
657
818
|
GetAppsResponse[:payload] = :applications_response
|
658
819
|
GetAppsResponse[:payload_member] = GetAppsResponse.member(:applications_response)
|
659
820
|
|
821
|
+
GetBaiduChannelRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
|
822
|
+
GetBaiduChannelRequest.struct_class = Types::GetBaiduChannelRequest
|
823
|
+
|
824
|
+
GetBaiduChannelResponse.add_member(:baidu_channel_response, Shapes::ShapeRef.new(shape: BaiduChannelResponse, required: true, location_name: "BaiduChannelResponse"))
|
825
|
+
GetBaiduChannelResponse.struct_class = Types::GetBaiduChannelResponse
|
826
|
+
GetBaiduChannelResponse[:payload] = :baidu_channel_response
|
827
|
+
GetBaiduChannelResponse[:payload_member] = GetBaiduChannelResponse.member(:baidu_channel_response)
|
828
|
+
|
660
829
|
GetCampaignActivitiesRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
|
661
830
|
GetCampaignActivitiesRequest.add_member(:campaign_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "campaign-id"))
|
662
831
|
GetCampaignActivitiesRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "page-size"))
|
@@ -882,9 +1051,18 @@ module Aws::Pinpoint
|
|
882
1051
|
MapOfAttributeDimension.key = Shapes::ShapeRef.new(shape: __string)
|
883
1052
|
MapOfAttributeDimension.value = Shapes::ShapeRef.new(shape: AttributeDimension)
|
884
1053
|
|
1054
|
+
MapOfEndpointMessageResult.key = Shapes::ShapeRef.new(shape: __string)
|
1055
|
+
MapOfEndpointMessageResult.value = Shapes::ShapeRef.new(shape: EndpointMessageResult)
|
1056
|
+
|
1057
|
+
MapOfEndpointSendConfiguration.key = Shapes::ShapeRef.new(shape: __string)
|
1058
|
+
MapOfEndpointSendConfiguration.value = Shapes::ShapeRef.new(shape: EndpointSendConfiguration)
|
1059
|
+
|
885
1060
|
MapOfListOf__string.key = Shapes::ShapeRef.new(shape: __string)
|
886
1061
|
MapOfListOf__string.value = Shapes::ShapeRef.new(shape: ListOf__string)
|
887
1062
|
|
1063
|
+
MapOfMapOfEndpointMessageResult.key = Shapes::ShapeRef.new(shape: __string)
|
1064
|
+
MapOfMapOfEndpointMessageResult.value = Shapes::ShapeRef.new(shape: MapOfEndpointMessageResult)
|
1065
|
+
|
888
1066
|
MapOfMessageResult.key = Shapes::ShapeRef.new(shape: __string)
|
889
1067
|
MapOfMessageResult.value = Shapes::ShapeRef.new(shape: MessageResult)
|
890
1068
|
|
@@ -922,11 +1100,15 @@ module Aws::Pinpoint
|
|
922
1100
|
MessageConfiguration.struct_class = Types::MessageConfiguration
|
923
1101
|
|
924
1102
|
MessageRequest.add_member(:addresses, Shapes::ShapeRef.new(shape: MapOfAddressConfiguration, location_name: "Addresses"))
|
1103
|
+
MessageRequest.add_member(:campaign, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "Campaign"))
|
925
1104
|
MessageRequest.add_member(:context, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "Context"))
|
1105
|
+
MessageRequest.add_member(:endpoints, Shapes::ShapeRef.new(shape: MapOfEndpointSendConfiguration, location_name: "Endpoints"))
|
926
1106
|
MessageRequest.add_member(:message_configuration, Shapes::ShapeRef.new(shape: DirectMessageConfiguration, location_name: "MessageConfiguration"))
|
1107
|
+
MessageRequest.add_member(:request_id, Shapes::ShapeRef.new(shape: __string, location_name: "RequestId"))
|
927
1108
|
MessageRequest.struct_class = Types::MessageRequest
|
928
1109
|
|
929
1110
|
MessageResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId"))
|
1111
|
+
MessageResponse.add_member(:endpoint_result, Shapes::ShapeRef.new(shape: MapOfEndpointMessageResult, location_name: "EndpointResult"))
|
930
1112
|
MessageResponse.add_member(:request_id, Shapes::ShapeRef.new(shape: __string, location_name: "RequestId"))
|
931
1113
|
MessageResponse.add_member(:result, Shapes::ShapeRef.new(shape: MapOfMessageResult, location_name: "Result"))
|
932
1114
|
MessageResponse.struct_class = Types::MessageResponse
|
@@ -958,6 +1140,7 @@ module Aws::Pinpoint
|
|
958
1140
|
|
959
1141
|
SMSChannelRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "Enabled"))
|
960
1142
|
SMSChannelRequest.add_member(:sender_id, Shapes::ShapeRef.new(shape: __string, location_name: "SenderId"))
|
1143
|
+
SMSChannelRequest.add_member(:short_code, Shapes::ShapeRef.new(shape: __string, location_name: "ShortCode"))
|
961
1144
|
SMSChannelRequest.struct_class = Types::SMSChannelRequest
|
962
1145
|
|
963
1146
|
SMSChannelResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId"))
|
@@ -1042,6 +1225,28 @@ module Aws::Pinpoint
|
|
1042
1225
|
SendMessagesResponse[:payload] = :message_response
|
1043
1226
|
SendMessagesResponse[:payload_member] = SendMessagesResponse.member(:message_response)
|
1044
1227
|
|
1228
|
+
SendUsersMessageRequest.add_member(:context, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "Context"))
|
1229
|
+
SendUsersMessageRequest.add_member(:message_configuration, Shapes::ShapeRef.new(shape: DirectMessageConfiguration, location_name: "MessageConfiguration"))
|
1230
|
+
SendUsersMessageRequest.add_member(:request_id, Shapes::ShapeRef.new(shape: __string, location_name: "RequestId"))
|
1231
|
+
SendUsersMessageRequest.add_member(:users, Shapes::ShapeRef.new(shape: MapOfEndpointSendConfiguration, location_name: "Users"))
|
1232
|
+
SendUsersMessageRequest.struct_class = Types::SendUsersMessageRequest
|
1233
|
+
|
1234
|
+
SendUsersMessageResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId"))
|
1235
|
+
SendUsersMessageResponse.add_member(:request_id, Shapes::ShapeRef.new(shape: __string, location_name: "RequestId"))
|
1236
|
+
SendUsersMessageResponse.add_member(:result, Shapes::ShapeRef.new(shape: MapOfMapOfEndpointMessageResult, location_name: "Result"))
|
1237
|
+
SendUsersMessageResponse.struct_class = Types::SendUsersMessageResponse
|
1238
|
+
|
1239
|
+
SendUsersMessagesRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
|
1240
|
+
SendUsersMessagesRequest.add_member(:send_users_message_request, Shapes::ShapeRef.new(shape: SendUsersMessageRequest, required: true, location_name: "SendUsersMessageRequest"))
|
1241
|
+
SendUsersMessagesRequest.struct_class = Types::SendUsersMessagesRequest
|
1242
|
+
SendUsersMessagesRequest[:payload] = :send_users_message_request
|
1243
|
+
SendUsersMessagesRequest[:payload_member] = SendUsersMessagesRequest.member(:send_users_message_request)
|
1244
|
+
|
1245
|
+
SendUsersMessagesResponse.add_member(:send_users_message_response, Shapes::ShapeRef.new(shape: SendUsersMessageResponse, required: true, location_name: "SendUsersMessageResponse"))
|
1246
|
+
SendUsersMessagesResponse.struct_class = Types::SendUsersMessagesResponse
|
1247
|
+
SendUsersMessagesResponse[:payload] = :send_users_message_response
|
1248
|
+
SendUsersMessagesResponse[:payload_member] = SendUsersMessagesResponse.member(:send_users_message_response)
|
1249
|
+
|
1045
1250
|
SetDimension.add_member(:dimension_type, Shapes::ShapeRef.new(shape: DimensionType, location_name: "DimensionType"))
|
1046
1251
|
SetDimension.add_member(:values, Shapes::ShapeRef.new(shape: ListOf__string, location_name: "Values"))
|
1047
1252
|
SetDimension.struct_class = Types::SetDimension
|
@@ -1055,6 +1260,17 @@ module Aws::Pinpoint
|
|
1055
1260
|
TreatmentResource.add_member(:treatment_name, Shapes::ShapeRef.new(shape: __string, location_name: "TreatmentName"))
|
1056
1261
|
TreatmentResource.struct_class = Types::TreatmentResource
|
1057
1262
|
|
1263
|
+
UpdateAdmChannelRequest.add_member(:adm_channel_request, Shapes::ShapeRef.new(shape: ADMChannelRequest, required: true, location_name: "ADMChannelRequest"))
|
1264
|
+
UpdateAdmChannelRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
|
1265
|
+
UpdateAdmChannelRequest.struct_class = Types::UpdateAdmChannelRequest
|
1266
|
+
UpdateAdmChannelRequest[:payload] = :adm_channel_request
|
1267
|
+
UpdateAdmChannelRequest[:payload_member] = UpdateAdmChannelRequest.member(:adm_channel_request)
|
1268
|
+
|
1269
|
+
UpdateAdmChannelResponse.add_member(:adm_channel_response, Shapes::ShapeRef.new(shape: ADMChannelResponse, required: true, location_name: "ADMChannelResponse"))
|
1270
|
+
UpdateAdmChannelResponse.struct_class = Types::UpdateAdmChannelResponse
|
1271
|
+
UpdateAdmChannelResponse[:payload] = :adm_channel_response
|
1272
|
+
UpdateAdmChannelResponse[:payload_member] = UpdateAdmChannelResponse.member(:adm_channel_response)
|
1273
|
+
|
1058
1274
|
UpdateApnsChannelRequest.add_member(:apns_channel_request, Shapes::ShapeRef.new(shape: APNSChannelRequest, required: true, location_name: "APNSChannelRequest"))
|
1059
1275
|
UpdateApnsChannelRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
|
1060
1276
|
UpdateApnsChannelRequest.struct_class = Types::UpdateApnsChannelRequest
|
@@ -1088,6 +1304,17 @@ module Aws::Pinpoint
|
|
1088
1304
|
UpdateApplicationSettingsResponse[:payload] = :application_settings_resource
|
1089
1305
|
UpdateApplicationSettingsResponse[:payload_member] = UpdateApplicationSettingsResponse.member(:application_settings_resource)
|
1090
1306
|
|
1307
|
+
UpdateBaiduChannelRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
|
1308
|
+
UpdateBaiduChannelRequest.add_member(:baidu_channel_request, Shapes::ShapeRef.new(shape: BaiduChannelRequest, required: true, location_name: "BaiduChannelRequest"))
|
1309
|
+
UpdateBaiduChannelRequest.struct_class = Types::UpdateBaiduChannelRequest
|
1310
|
+
UpdateBaiduChannelRequest[:payload] = :baidu_channel_request
|
1311
|
+
UpdateBaiduChannelRequest[:payload_member] = UpdateBaiduChannelRequest.member(:baidu_channel_request)
|
1312
|
+
|
1313
|
+
UpdateBaiduChannelResponse.add_member(:baidu_channel_response, Shapes::ShapeRef.new(shape: BaiduChannelResponse, required: true, location_name: "BaiduChannelResponse"))
|
1314
|
+
UpdateBaiduChannelResponse.struct_class = Types::UpdateBaiduChannelResponse
|
1315
|
+
UpdateBaiduChannelResponse[:payload] = :baidu_channel_response
|
1316
|
+
UpdateBaiduChannelResponse[:payload_member] = UpdateBaiduChannelResponse.member(:baidu_channel_response)
|
1317
|
+
|
1091
1318
|
UpdateCampaignRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
|
1092
1319
|
UpdateCampaignRequest.add_member(:campaign_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "campaign-id"))
|
1093
1320
|
UpdateCampaignRequest.add_member(:write_campaign_request, Shapes::ShapeRef.new(shape: WriteCampaignRequest, required: true, location_name: "WriteCampaignRequest"))
|
@@ -1182,11 +1409,13 @@ module Aws::Pinpoint
|
|
1182
1409
|
WriteCampaignRequest.add_member(:schedule, Shapes::ShapeRef.new(shape: Schedule, location_name: "Schedule"))
|
1183
1410
|
WriteCampaignRequest.add_member(:segment_id, Shapes::ShapeRef.new(shape: __string, location_name: "SegmentId"))
|
1184
1411
|
WriteCampaignRequest.add_member(:segment_version, Shapes::ShapeRef.new(shape: __integer, location_name: "SegmentVersion"))
|
1412
|
+
WriteCampaignRequest.add_member(:trace, Shapes::ShapeRef.new(shape: __boolean, location_name: "Trace"))
|
1185
1413
|
WriteCampaignRequest.add_member(:treatment_description, Shapes::ShapeRef.new(shape: __string, location_name: "TreatmentDescription"))
|
1186
1414
|
WriteCampaignRequest.add_member(:treatment_name, Shapes::ShapeRef.new(shape: __string, location_name: "TreatmentName"))
|
1187
1415
|
WriteCampaignRequest.struct_class = Types::WriteCampaignRequest
|
1188
1416
|
|
1189
1417
|
WriteEventStream.add_member(:destination_stream_arn, Shapes::ShapeRef.new(shape: __string, location_name: "DestinationStreamArn"))
|
1418
|
+
WriteEventStream.add_member(:external_id, Shapes::ShapeRef.new(shape: __string, location_name: "ExternalId"))
|
1190
1419
|
WriteEventStream.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "RoleArn"))
|
1191
1420
|
WriteEventStream.struct_class = Types::WriteEventStream
|
1192
1421
|
|
@@ -1272,6 +1501,20 @@ module Aws::Pinpoint
|
|
1272
1501
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1273
1502
|
end)
|
1274
1503
|
|
1504
|
+
api.add_operation(:delete_adm_channel, Seahorse::Model::Operation.new.tap do |o|
|
1505
|
+
o.name = "DeleteAdmChannel"
|
1506
|
+
o.http_method = "DELETE"
|
1507
|
+
o.http_request_uri = "/v1/apps/{application-id}/channels/adm"
|
1508
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteAdmChannelRequest)
|
1509
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteAdmChannelResponse)
|
1510
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1511
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
1512
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
1513
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1514
|
+
o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
|
1515
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1516
|
+
end)
|
1517
|
+
|
1275
1518
|
api.add_operation(:delete_apns_channel, Seahorse::Model::Operation.new.tap do |o|
|
1276
1519
|
o.name = "DeleteApnsChannel"
|
1277
1520
|
o.http_method = "DELETE"
|
@@ -1314,6 +1557,20 @@ module Aws::Pinpoint
|
|
1314
1557
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1315
1558
|
end)
|
1316
1559
|
|
1560
|
+
api.add_operation(:delete_baidu_channel, Seahorse::Model::Operation.new.tap do |o|
|
1561
|
+
o.name = "DeleteBaiduChannel"
|
1562
|
+
o.http_method = "DELETE"
|
1563
|
+
o.http_request_uri = "/v1/apps/{application-id}/channels/baidu"
|
1564
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteBaiduChannelRequest)
|
1565
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteBaiduChannelResponse)
|
1566
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1567
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
1568
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
1569
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1570
|
+
o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
|
1571
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1572
|
+
end)
|
1573
|
+
|
1317
1574
|
api.add_operation(:delete_campaign, Seahorse::Model::Operation.new.tap do |o|
|
1318
1575
|
o.name = "DeleteCampaign"
|
1319
1576
|
o.http_method = "DELETE"
|
@@ -1398,6 +1655,20 @@ module Aws::Pinpoint
|
|
1398
1655
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1399
1656
|
end)
|
1400
1657
|
|
1658
|
+
api.add_operation(:get_adm_channel, Seahorse::Model::Operation.new.tap do |o|
|
1659
|
+
o.name = "GetAdmChannel"
|
1660
|
+
o.http_method = "GET"
|
1661
|
+
o.http_request_uri = "/v1/apps/{application-id}/channels/adm"
|
1662
|
+
o.input = Shapes::ShapeRef.new(shape: GetAdmChannelRequest)
|
1663
|
+
o.output = Shapes::ShapeRef.new(shape: GetAdmChannelResponse)
|
1664
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1665
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
1666
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
1667
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1668
|
+
o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
|
1669
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1670
|
+
end)
|
1671
|
+
|
1401
1672
|
api.add_operation(:get_apns_channel, Seahorse::Model::Operation.new.tap do |o|
|
1402
1673
|
o.name = "GetApnsChannel"
|
1403
1674
|
o.http_method = "GET"
|
@@ -1468,6 +1739,20 @@ module Aws::Pinpoint
|
|
1468
1739
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1469
1740
|
end)
|
1470
1741
|
|
1742
|
+
api.add_operation(:get_baidu_channel, Seahorse::Model::Operation.new.tap do |o|
|
1743
|
+
o.name = "GetBaiduChannel"
|
1744
|
+
o.http_method = "GET"
|
1745
|
+
o.http_request_uri = "/v1/apps/{application-id}/channels/baidu"
|
1746
|
+
o.input = Shapes::ShapeRef.new(shape: GetBaiduChannelRequest)
|
1747
|
+
o.output = Shapes::ShapeRef.new(shape: GetBaiduChannelResponse)
|
1748
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1749
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
1750
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
1751
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1752
|
+
o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
|
1753
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1754
|
+
end)
|
1755
|
+
|
1471
1756
|
api.add_operation(:get_campaign, Seahorse::Model::Operation.new.tap do |o|
|
1472
1757
|
o.name = "GetCampaign"
|
1473
1758
|
o.http_method = "GET"
|
@@ -1734,6 +2019,34 @@ module Aws::Pinpoint
|
|
1734
2019
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1735
2020
|
end)
|
1736
2021
|
|
2022
|
+
api.add_operation(:send_users_messages, Seahorse::Model::Operation.new.tap do |o|
|
2023
|
+
o.name = "SendUsersMessages"
|
2024
|
+
o.http_method = "POST"
|
2025
|
+
o.http_request_uri = "/v1/apps/{application-id}/users-messages"
|
2026
|
+
o.input = Shapes::ShapeRef.new(shape: SendUsersMessagesRequest)
|
2027
|
+
o.output = Shapes::ShapeRef.new(shape: SendUsersMessagesResponse)
|
2028
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2029
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
2030
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
2031
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2032
|
+
o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
|
2033
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2034
|
+
end)
|
2035
|
+
|
2036
|
+
api.add_operation(:update_adm_channel, Seahorse::Model::Operation.new.tap do |o|
|
2037
|
+
o.name = "UpdateAdmChannel"
|
2038
|
+
o.http_method = "PUT"
|
2039
|
+
o.http_request_uri = "/v1/apps/{application-id}/channels/adm"
|
2040
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateAdmChannelRequest)
|
2041
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateAdmChannelResponse)
|
2042
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2043
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
2044
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
2045
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2046
|
+
o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
|
2047
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2048
|
+
end)
|
2049
|
+
|
1737
2050
|
api.add_operation(:update_apns_channel, Seahorse::Model::Operation.new.tap do |o|
|
1738
2051
|
o.name = "UpdateApnsChannel"
|
1739
2052
|
o.http_method = "PUT"
|
@@ -1776,6 +2089,20 @@ module Aws::Pinpoint
|
|
1776
2089
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1777
2090
|
end)
|
1778
2091
|
|
2092
|
+
api.add_operation(:update_baidu_channel, Seahorse::Model::Operation.new.tap do |o|
|
2093
|
+
o.name = "UpdateBaiduChannel"
|
2094
|
+
o.http_method = "PUT"
|
2095
|
+
o.http_request_uri = "/v1/apps/{application-id}/channels/baidu"
|
2096
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateBaiduChannelRequest)
|
2097
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateBaiduChannelResponse)
|
2098
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2099
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
2100
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
2101
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2102
|
+
o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
|
2103
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2104
|
+
end)
|
2105
|
+
|
1779
2106
|
api.add_operation(:update_campaign, Seahorse::Model::Operation.new.tap do |o|
|
1780
2107
|
o.name = "UpdateCampaign"
|
1781
2108
|
o.http_method = "PUT"
|