aws-sdk-pinpoint 1.1.0 → 1.2.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.
@@ -19,6 +19,10 @@ module Aws::Pinpoint
19
19
  APNSMessage = Shapes::StructureShape.new(name: 'APNSMessage')
20
20
  APNSSandboxChannelRequest = Shapes::StructureShape.new(name: 'APNSSandboxChannelRequest')
21
21
  APNSSandboxChannelResponse = Shapes::StructureShape.new(name: 'APNSSandboxChannelResponse')
22
+ APNSVoipChannelRequest = Shapes::StructureShape.new(name: 'APNSVoipChannelRequest')
23
+ APNSVoipChannelResponse = Shapes::StructureShape.new(name: 'APNSVoipChannelResponse')
24
+ APNSVoipSandboxChannelRequest = Shapes::StructureShape.new(name: 'APNSVoipSandboxChannelRequest')
25
+ APNSVoipSandboxChannelResponse = Shapes::StructureShape.new(name: 'APNSVoipSandboxChannelResponse')
22
26
  Action = Shapes::StringShape.new(name: 'Action')
23
27
  ActivitiesResponse = Shapes::StructureShape.new(name: 'ActivitiesResponse')
24
28
  ActivityResponse = Shapes::StructureShape.new(name: 'ActivityResponse')
@@ -57,6 +61,10 @@ module Aws::Pinpoint
57
61
  DeleteApnsChannelResponse = Shapes::StructureShape.new(name: 'DeleteApnsChannelResponse')
58
62
  DeleteApnsSandboxChannelRequest = Shapes::StructureShape.new(name: 'DeleteApnsSandboxChannelRequest')
59
63
  DeleteApnsSandboxChannelResponse = Shapes::StructureShape.new(name: 'DeleteApnsSandboxChannelResponse')
64
+ DeleteApnsVoipChannelRequest = Shapes::StructureShape.new(name: 'DeleteApnsVoipChannelRequest')
65
+ DeleteApnsVoipChannelResponse = Shapes::StructureShape.new(name: 'DeleteApnsVoipChannelResponse')
66
+ DeleteApnsVoipSandboxChannelRequest = Shapes::StructureShape.new(name: 'DeleteApnsVoipSandboxChannelRequest')
67
+ DeleteApnsVoipSandboxChannelResponse = Shapes::StructureShape.new(name: 'DeleteApnsVoipSandboxChannelResponse')
60
68
  DeleteAppRequest = Shapes::StructureShape.new(name: 'DeleteAppRequest')
61
69
  DeleteAppResponse = Shapes::StructureShape.new(name: 'DeleteAppResponse')
62
70
  DeleteBaiduChannelRequest = Shapes::StructureShape.new(name: 'DeleteBaiduChannelRequest')
@@ -79,7 +87,6 @@ module Aws::Pinpoint
79
87
  Duration = Shapes::StringShape.new(name: 'Duration')
80
88
  EmailChannelRequest = Shapes::StructureShape.new(name: 'EmailChannelRequest')
81
89
  EmailChannelResponse = Shapes::StructureShape.new(name: 'EmailChannelResponse')
82
- EmailMessage = Shapes::StructureShape.new(name: 'EmailMessage')
83
90
  EndpointBatchItem = Shapes::StructureShape.new(name: 'EndpointBatchItem')
84
91
  EndpointBatchRequest = Shapes::StructureShape.new(name: 'EndpointBatchRequest')
85
92
  EndpointDemographic = Shapes::StructureShape.new(name: 'EndpointDemographic')
@@ -102,6 +109,10 @@ module Aws::Pinpoint
102
109
  GetApnsChannelResponse = Shapes::StructureShape.new(name: 'GetApnsChannelResponse')
103
110
  GetApnsSandboxChannelRequest = Shapes::StructureShape.new(name: 'GetApnsSandboxChannelRequest')
104
111
  GetApnsSandboxChannelResponse = Shapes::StructureShape.new(name: 'GetApnsSandboxChannelResponse')
112
+ GetApnsVoipChannelRequest = Shapes::StructureShape.new(name: 'GetApnsVoipChannelRequest')
113
+ GetApnsVoipChannelResponse = Shapes::StructureShape.new(name: 'GetApnsVoipChannelResponse')
114
+ GetApnsVoipSandboxChannelRequest = Shapes::StructureShape.new(name: 'GetApnsVoipSandboxChannelRequest')
115
+ GetApnsVoipSandboxChannelResponse = Shapes::StructureShape.new(name: 'GetApnsVoipSandboxChannelResponse')
105
116
  GetAppRequest = Shapes::StructureShape.new(name: 'GetAppRequest')
106
117
  GetAppResponse = Shapes::StructureShape.new(name: 'GetAppResponse')
107
118
  GetApplicationSettingsRequest = Shapes::StructureShape.new(name: 'GetApplicationSettingsRequest')
@@ -210,6 +221,10 @@ module Aws::Pinpoint
210
221
  UpdateApnsChannelResponse = Shapes::StructureShape.new(name: 'UpdateApnsChannelResponse')
211
222
  UpdateApnsSandboxChannelRequest = Shapes::StructureShape.new(name: 'UpdateApnsSandboxChannelRequest')
212
223
  UpdateApnsSandboxChannelResponse = Shapes::StructureShape.new(name: 'UpdateApnsSandboxChannelResponse')
224
+ UpdateApnsVoipChannelRequest = Shapes::StructureShape.new(name: 'UpdateApnsVoipChannelRequest')
225
+ UpdateApnsVoipChannelResponse = Shapes::StructureShape.new(name: 'UpdateApnsVoipChannelResponse')
226
+ UpdateApnsVoipSandboxChannelRequest = Shapes::StructureShape.new(name: 'UpdateApnsVoipSandboxChannelRequest')
227
+ UpdateApnsVoipSandboxChannelResponse = Shapes::StructureShape.new(name: 'UpdateApnsVoipSandboxChannelResponse')
213
228
  UpdateApplicationSettingsRequest = Shapes::StructureShape.new(name: 'UpdateApplicationSettingsRequest')
214
229
  UpdateApplicationSettingsResponse = Shapes::StructureShape.new(name: 'UpdateApplicationSettingsResponse')
215
230
  UpdateBaiduChannelRequest = Shapes::StructureShape.new(name: 'UpdateBaiduChannelRequest')
@@ -247,6 +262,7 @@ module Aws::Pinpoint
247
262
  ADMChannelResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId"))
248
263
  ADMChannelResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: __string, location_name: "CreationDate"))
249
264
  ADMChannelResponse.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "Enabled"))
265
+ ADMChannelResponse.add_member(:has_credential, Shapes::ShapeRef.new(shape: __boolean, location_name: "HasCredential"))
250
266
  ADMChannelResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id"))
251
267
  ADMChannelResponse.add_member(:is_archived, Shapes::ShapeRef.new(shape: __boolean, location_name: "IsArchived"))
252
268
  ADMChannelResponse.add_member(:last_modified_by, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedBy"))
@@ -263,7 +279,6 @@ module Aws::Pinpoint
263
279
  ADMMessage.add_member(:icon_reference, Shapes::ShapeRef.new(shape: __string, location_name: "IconReference"))
264
280
  ADMMessage.add_member(:image_icon_url, Shapes::ShapeRef.new(shape: __string, location_name: "ImageIconUrl"))
265
281
  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
282
  ADMMessage.add_member(:md5, Shapes::ShapeRef.new(shape: __string, location_name: "MD5"))
268
283
  ADMMessage.add_member(:raw_content, Shapes::ShapeRef.new(shape: __string, location_name: "RawContent"))
269
284
  ADMMessage.add_member(:silent_push, Shapes::ShapeRef.new(shape: __boolean, location_name: "SilentPush"))
@@ -286,7 +301,10 @@ module Aws::Pinpoint
286
301
 
287
302
  APNSChannelResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId"))
288
303
  APNSChannelResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: __string, location_name: "CreationDate"))
304
+ APNSChannelResponse.add_member(:default_authentication_method, Shapes::ShapeRef.new(shape: __string, location_name: "DefaultAuthenticationMethod"))
289
305
  APNSChannelResponse.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "Enabled"))
306
+ APNSChannelResponse.add_member(:has_credential, Shapes::ShapeRef.new(shape: __boolean, location_name: "HasCredential"))
307
+ APNSChannelResponse.add_member(:has_token_key, Shapes::ShapeRef.new(shape: __boolean, location_name: "HasTokenKey"))
290
308
  APNSChannelResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id"))
291
309
  APNSChannelResponse.add_member(:is_archived, Shapes::ShapeRef.new(shape: __boolean, location_name: "IsArchived"))
292
310
  APNSChannelResponse.add_member(:last_modified_by, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedBy"))
@@ -299,15 +317,17 @@ module Aws::Pinpoint
299
317
  APNSMessage.add_member(:badge, Shapes::ShapeRef.new(shape: __integer, location_name: "Badge"))
300
318
  APNSMessage.add_member(:body, Shapes::ShapeRef.new(shape: __string, location_name: "Body"))
301
319
  APNSMessage.add_member(:category, Shapes::ShapeRef.new(shape: __string, location_name: "Category"))
320
+ APNSMessage.add_member(:collapse_id, Shapes::ShapeRef.new(shape: __string, location_name: "CollapseId"))
302
321
  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"))
304
322
  APNSMessage.add_member(:media_url, Shapes::ShapeRef.new(shape: __string, location_name: "MediaUrl"))
305
323
  APNSMessage.add_member(:preferred_authentication_method, Shapes::ShapeRef.new(shape: __string, location_name: "PreferredAuthenticationMethod"))
324
+ APNSMessage.add_member(:priority, Shapes::ShapeRef.new(shape: __string, location_name: "Priority"))
306
325
  APNSMessage.add_member(:raw_content, Shapes::ShapeRef.new(shape: __string, location_name: "RawContent"))
307
326
  APNSMessage.add_member(:silent_push, Shapes::ShapeRef.new(shape: __boolean, location_name: "SilentPush"))
308
327
  APNSMessage.add_member(:sound, Shapes::ShapeRef.new(shape: __string, location_name: "Sound"))
309
328
  APNSMessage.add_member(:substitutions, Shapes::ShapeRef.new(shape: MapOfListOf__string, location_name: "Substitutions"))
310
329
  APNSMessage.add_member(:thread_id, Shapes::ShapeRef.new(shape: __string, location_name: "ThreadId"))
330
+ APNSMessage.add_member(:time_to_live, Shapes::ShapeRef.new(shape: __integer, location_name: "TimeToLive"))
311
331
  APNSMessage.add_member(:title, Shapes::ShapeRef.new(shape: __string, location_name: "Title"))
312
332
  APNSMessage.add_member(:url, Shapes::ShapeRef.new(shape: __string, location_name: "Url"))
313
333
  APNSMessage.struct_class = Types::APNSMessage
@@ -324,7 +344,10 @@ module Aws::Pinpoint
324
344
 
325
345
  APNSSandboxChannelResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId"))
326
346
  APNSSandboxChannelResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: __string, location_name: "CreationDate"))
347
+ APNSSandboxChannelResponse.add_member(:default_authentication_method, Shapes::ShapeRef.new(shape: __string, location_name: "DefaultAuthenticationMethod"))
327
348
  APNSSandboxChannelResponse.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "Enabled"))
349
+ APNSSandboxChannelResponse.add_member(:has_credential, Shapes::ShapeRef.new(shape: __boolean, location_name: "HasCredential"))
350
+ APNSSandboxChannelResponse.add_member(:has_token_key, Shapes::ShapeRef.new(shape: __boolean, location_name: "HasTokenKey"))
328
351
  APNSSandboxChannelResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id"))
329
352
  APNSSandboxChannelResponse.add_member(:is_archived, Shapes::ShapeRef.new(shape: __boolean, location_name: "IsArchived"))
330
353
  APNSSandboxChannelResponse.add_member(:last_modified_by, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedBy"))
@@ -333,6 +356,54 @@ module Aws::Pinpoint
333
356
  APNSSandboxChannelResponse.add_member(:version, Shapes::ShapeRef.new(shape: __integer, location_name: "Version"))
334
357
  APNSSandboxChannelResponse.struct_class = Types::APNSSandboxChannelResponse
335
358
 
359
+ APNSVoipChannelRequest.add_member(:bundle_id, Shapes::ShapeRef.new(shape: __string, location_name: "BundleId"))
360
+ APNSVoipChannelRequest.add_member(:certificate, Shapes::ShapeRef.new(shape: __string, location_name: "Certificate"))
361
+ APNSVoipChannelRequest.add_member(:default_authentication_method, Shapes::ShapeRef.new(shape: __string, location_name: "DefaultAuthenticationMethod"))
362
+ APNSVoipChannelRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "Enabled"))
363
+ APNSVoipChannelRequest.add_member(:private_key, Shapes::ShapeRef.new(shape: __string, location_name: "PrivateKey"))
364
+ APNSVoipChannelRequest.add_member(:team_id, Shapes::ShapeRef.new(shape: __string, location_name: "TeamId"))
365
+ APNSVoipChannelRequest.add_member(:token_key, Shapes::ShapeRef.new(shape: __string, location_name: "TokenKey"))
366
+ APNSVoipChannelRequest.add_member(:token_key_id, Shapes::ShapeRef.new(shape: __string, location_name: "TokenKeyId"))
367
+ APNSVoipChannelRequest.struct_class = Types::APNSVoipChannelRequest
368
+
369
+ APNSVoipChannelResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId"))
370
+ APNSVoipChannelResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: __string, location_name: "CreationDate"))
371
+ APNSVoipChannelResponse.add_member(:default_authentication_method, Shapes::ShapeRef.new(shape: __string, location_name: "DefaultAuthenticationMethod"))
372
+ APNSVoipChannelResponse.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "Enabled"))
373
+ APNSVoipChannelResponse.add_member(:has_credential, Shapes::ShapeRef.new(shape: __boolean, location_name: "HasCredential"))
374
+ APNSVoipChannelResponse.add_member(:has_token_key, Shapes::ShapeRef.new(shape: __boolean, location_name: "HasTokenKey"))
375
+ APNSVoipChannelResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id"))
376
+ APNSVoipChannelResponse.add_member(:is_archived, Shapes::ShapeRef.new(shape: __boolean, location_name: "IsArchived"))
377
+ APNSVoipChannelResponse.add_member(:last_modified_by, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedBy"))
378
+ APNSVoipChannelResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedDate"))
379
+ APNSVoipChannelResponse.add_member(:platform, Shapes::ShapeRef.new(shape: __string, location_name: "Platform"))
380
+ APNSVoipChannelResponse.add_member(:version, Shapes::ShapeRef.new(shape: __integer, location_name: "Version"))
381
+ APNSVoipChannelResponse.struct_class = Types::APNSVoipChannelResponse
382
+
383
+ APNSVoipSandboxChannelRequest.add_member(:bundle_id, Shapes::ShapeRef.new(shape: __string, location_name: "BundleId"))
384
+ APNSVoipSandboxChannelRequest.add_member(:certificate, Shapes::ShapeRef.new(shape: __string, location_name: "Certificate"))
385
+ APNSVoipSandboxChannelRequest.add_member(:default_authentication_method, Shapes::ShapeRef.new(shape: __string, location_name: "DefaultAuthenticationMethod"))
386
+ APNSVoipSandboxChannelRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "Enabled"))
387
+ APNSVoipSandboxChannelRequest.add_member(:private_key, Shapes::ShapeRef.new(shape: __string, location_name: "PrivateKey"))
388
+ APNSVoipSandboxChannelRequest.add_member(:team_id, Shapes::ShapeRef.new(shape: __string, location_name: "TeamId"))
389
+ APNSVoipSandboxChannelRequest.add_member(:token_key, Shapes::ShapeRef.new(shape: __string, location_name: "TokenKey"))
390
+ APNSVoipSandboxChannelRequest.add_member(:token_key_id, Shapes::ShapeRef.new(shape: __string, location_name: "TokenKeyId"))
391
+ APNSVoipSandboxChannelRequest.struct_class = Types::APNSVoipSandboxChannelRequest
392
+
393
+ APNSVoipSandboxChannelResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId"))
394
+ APNSVoipSandboxChannelResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: __string, location_name: "CreationDate"))
395
+ APNSVoipSandboxChannelResponse.add_member(:default_authentication_method, Shapes::ShapeRef.new(shape: __string, location_name: "DefaultAuthenticationMethod"))
396
+ APNSVoipSandboxChannelResponse.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "Enabled"))
397
+ APNSVoipSandboxChannelResponse.add_member(:has_credential, Shapes::ShapeRef.new(shape: __boolean, location_name: "HasCredential"))
398
+ APNSVoipSandboxChannelResponse.add_member(:has_token_key, Shapes::ShapeRef.new(shape: __boolean, location_name: "HasTokenKey"))
399
+ APNSVoipSandboxChannelResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id"))
400
+ APNSVoipSandboxChannelResponse.add_member(:is_archived, Shapes::ShapeRef.new(shape: __boolean, location_name: "IsArchived"))
401
+ APNSVoipSandboxChannelResponse.add_member(:last_modified_by, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedBy"))
402
+ APNSVoipSandboxChannelResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedDate"))
403
+ APNSVoipSandboxChannelResponse.add_member(:platform, Shapes::ShapeRef.new(shape: __string, location_name: "Platform"))
404
+ APNSVoipSandboxChannelResponse.add_member(:version, Shapes::ShapeRef.new(shape: __integer, location_name: "Version"))
405
+ APNSVoipSandboxChannelResponse.struct_class = Types::APNSVoipSandboxChannelResponse
406
+
336
407
  ActivitiesResponse.add_member(:item, Shapes::ShapeRef.new(shape: ListOfActivityResponse, location_name: "Item"))
337
408
  ActivitiesResponse.struct_class = Types::ActivitiesResponse
338
409
 
@@ -386,6 +457,7 @@ module Aws::Pinpoint
386
457
  BaiduChannelResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: __string, location_name: "CreationDate"))
387
458
  BaiduChannelResponse.add_member(:credential, Shapes::ShapeRef.new(shape: __string, location_name: "Credential"))
388
459
  BaiduChannelResponse.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "Enabled"))
460
+ BaiduChannelResponse.add_member(:has_credential, Shapes::ShapeRef.new(shape: __boolean, location_name: "HasCredential"))
389
461
  BaiduChannelResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id"))
390
462
  BaiduChannelResponse.add_member(:is_archived, Shapes::ShapeRef.new(shape: __boolean, location_name: "IsArchived"))
391
463
  BaiduChannelResponse.add_member(:last_modified_by, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedBy"))
@@ -400,7 +472,6 @@ module Aws::Pinpoint
400
472
  BaiduMessage.add_member(:icon_reference, Shapes::ShapeRef.new(shape: __string, location_name: "IconReference"))
401
473
  BaiduMessage.add_member(:image_icon_url, Shapes::ShapeRef.new(shape: __string, location_name: "ImageIconUrl"))
402
474
  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
475
  BaiduMessage.add_member(:raw_content, Shapes::ShapeRef.new(shape: __string, location_name: "RawContent"))
405
476
  BaiduMessage.add_member(:silent_push, Shapes::ShapeRef.new(shape: __boolean, location_name: "SilentPush"))
406
477
  BaiduMessage.add_member(:small_image_icon_url, Shapes::ShapeRef.new(shape: __string, location_name: "SmallImageIconUrl"))
@@ -508,7 +579,6 @@ module Aws::Pinpoint
508
579
  DefaultPushNotificationMessage.add_member(:action, Shapes::ShapeRef.new(shape: Action, location_name: "Action"))
509
580
  DefaultPushNotificationMessage.add_member(:body, Shapes::ShapeRef.new(shape: __string, location_name: "Body"))
510
581
  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"))
512
582
  DefaultPushNotificationMessage.add_member(:silent_push, Shapes::ShapeRef.new(shape: __boolean, location_name: "SilentPush"))
513
583
  DefaultPushNotificationMessage.add_member(:substitutions, Shapes::ShapeRef.new(shape: MapOfListOf__string, location_name: "Substitutions"))
514
584
  DefaultPushNotificationMessage.add_member(:title, Shapes::ShapeRef.new(shape: __string, location_name: "Title"))
@@ -539,6 +609,22 @@ module Aws::Pinpoint
539
609
  DeleteApnsSandboxChannelResponse[:payload] = :apns_sandbox_channel_response
540
610
  DeleteApnsSandboxChannelResponse[:payload_member] = DeleteApnsSandboxChannelResponse.member(:apns_sandbox_channel_response)
541
611
 
612
+ DeleteApnsVoipChannelRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
613
+ DeleteApnsVoipChannelRequest.struct_class = Types::DeleteApnsVoipChannelRequest
614
+
615
+ DeleteApnsVoipChannelResponse.add_member(:apns_voip_channel_response, Shapes::ShapeRef.new(shape: APNSVoipChannelResponse, required: true, location_name: "APNSVoipChannelResponse"))
616
+ DeleteApnsVoipChannelResponse.struct_class = Types::DeleteApnsVoipChannelResponse
617
+ DeleteApnsVoipChannelResponse[:payload] = :apns_voip_channel_response
618
+ DeleteApnsVoipChannelResponse[:payload_member] = DeleteApnsVoipChannelResponse.member(:apns_voip_channel_response)
619
+
620
+ DeleteApnsVoipSandboxChannelRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
621
+ DeleteApnsVoipSandboxChannelRequest.struct_class = Types::DeleteApnsVoipSandboxChannelRequest
622
+
623
+ DeleteApnsVoipSandboxChannelResponse.add_member(:apns_voip_sandbox_channel_response, Shapes::ShapeRef.new(shape: APNSVoipSandboxChannelResponse, required: true, location_name: "APNSVoipSandboxChannelResponse"))
624
+ DeleteApnsVoipSandboxChannelResponse.struct_class = Types::DeleteApnsVoipSandboxChannelResponse
625
+ DeleteApnsVoipSandboxChannelResponse[:payload] = :apns_voip_sandbox_channel_response
626
+ DeleteApnsVoipSandboxChannelResponse[:payload_member] = DeleteApnsVoipSandboxChannelResponse.member(:apns_voip_sandbox_channel_response)
627
+
542
628
  DeleteAppRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
543
629
  DeleteAppRequest.struct_class = Types::DeleteAppRequest
544
630
 
@@ -610,7 +696,6 @@ module Aws::Pinpoint
610
696
  DirectMessageConfiguration.add_member(:baidu_message, Shapes::ShapeRef.new(shape: BaiduMessage, location_name: "BaiduMessage"))
611
697
  DirectMessageConfiguration.add_member(:default_message, Shapes::ShapeRef.new(shape: DefaultMessage, location_name: "DefaultMessage"))
612
698
  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"))
614
699
  DirectMessageConfiguration.add_member(:gcm_message, Shapes::ShapeRef.new(shape: GCMMessage, location_name: "GCMMessage"))
615
700
  DirectMessageConfiguration.add_member(:sms_message, Shapes::ShapeRef.new(shape: SMSMessage, location_name: "SMSMessage"))
616
701
  DirectMessageConfiguration.struct_class = Types::DirectMessageConfiguration
@@ -625,6 +710,7 @@ module Aws::Pinpoint
625
710
  EmailChannelResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: __string, location_name: "CreationDate"))
626
711
  EmailChannelResponse.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "Enabled"))
627
712
  EmailChannelResponse.add_member(:from_address, Shapes::ShapeRef.new(shape: __string, location_name: "FromAddress"))
713
+ EmailChannelResponse.add_member(:has_credential, Shapes::ShapeRef.new(shape: __boolean, location_name: "HasCredential"))
628
714
  EmailChannelResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id"))
629
715
  EmailChannelResponse.add_member(:identity, Shapes::ShapeRef.new(shape: __string, location_name: "Identity"))
630
716
  EmailChannelResponse.add_member(:is_archived, Shapes::ShapeRef.new(shape: __boolean, location_name: "IsArchived"))
@@ -635,14 +721,6 @@ module Aws::Pinpoint
635
721
  EmailChannelResponse.add_member(:version, Shapes::ShapeRef.new(shape: __integer, location_name: "Version"))
636
722
  EmailChannelResponse.struct_class = Types::EmailChannelResponse
637
723
 
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
-
646
724
  EndpointBatchItem.add_member(:address, Shapes::ShapeRef.new(shape: __string, location_name: "Address"))
647
725
  EndpointBatchItem.add_member(:attributes, Shapes::ShapeRef.new(shape: MapOfListOf__string, location_name: "Attributes"))
648
726
  EndpointBatchItem.add_member(:channel_type, Shapes::ShapeRef.new(shape: ChannelType, location_name: "ChannelType"))
@@ -712,7 +790,6 @@ module Aws::Pinpoint
712
790
  EndpointResponse.add_member(:metrics, Shapes::ShapeRef.new(shape: MapOf__double, location_name: "Metrics"))
713
791
  EndpointResponse.add_member(:opt_out, Shapes::ShapeRef.new(shape: __string, location_name: "OptOut"))
714
792
  EndpointResponse.add_member(:request_id, Shapes::ShapeRef.new(shape: __string, location_name: "RequestId"))
715
- EndpointResponse.add_member(:shard_id, Shapes::ShapeRef.new(shape: __string, location_name: "ShardId"))
716
793
  EndpointResponse.add_member(:user, Shapes::ShapeRef.new(shape: EndpointUser, location_name: "User"))
717
794
  EndpointResponse.struct_class = Types::EndpointResponse
718
795
 
@@ -743,6 +820,7 @@ module Aws::Pinpoint
743
820
  GCMChannelResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: __string, location_name: "CreationDate"))
744
821
  GCMChannelResponse.add_member(:credential, Shapes::ShapeRef.new(shape: __string, location_name: "Credential"))
745
822
  GCMChannelResponse.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "Enabled"))
823
+ GCMChannelResponse.add_member(:has_credential, Shapes::ShapeRef.new(shape: __boolean, location_name: "HasCredential"))
746
824
  GCMChannelResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id"))
747
825
  GCMChannelResponse.add_member(:is_archived, Shapes::ShapeRef.new(shape: __boolean, location_name: "IsArchived"))
748
826
  GCMChannelResponse.add_member(:last_modified_by, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedBy"))
@@ -758,13 +836,14 @@ module Aws::Pinpoint
758
836
  GCMMessage.add_member(:icon_reference, Shapes::ShapeRef.new(shape: __string, location_name: "IconReference"))
759
837
  GCMMessage.add_member(:image_icon_url, Shapes::ShapeRef.new(shape: __string, location_name: "ImageIconUrl"))
760
838
  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"))
839
+ GCMMessage.add_member(:priority, Shapes::ShapeRef.new(shape: __string, location_name: "Priority"))
762
840
  GCMMessage.add_member(:raw_content, Shapes::ShapeRef.new(shape: __string, location_name: "RawContent"))
763
841
  GCMMessage.add_member(:restricted_package_name, Shapes::ShapeRef.new(shape: __string, location_name: "RestrictedPackageName"))
764
842
  GCMMessage.add_member(:silent_push, Shapes::ShapeRef.new(shape: __boolean, location_name: "SilentPush"))
765
843
  GCMMessage.add_member(:small_image_icon_url, Shapes::ShapeRef.new(shape: __string, location_name: "SmallImageIconUrl"))
766
844
  GCMMessage.add_member(:sound, Shapes::ShapeRef.new(shape: __string, location_name: "Sound"))
767
845
  GCMMessage.add_member(:substitutions, Shapes::ShapeRef.new(shape: MapOfListOf__string, location_name: "Substitutions"))
846
+ GCMMessage.add_member(:time_to_live, Shapes::ShapeRef.new(shape: __integer, location_name: "TimeToLive"))
768
847
  GCMMessage.add_member(:title, Shapes::ShapeRef.new(shape: __string, location_name: "Title"))
769
848
  GCMMessage.add_member(:url, Shapes::ShapeRef.new(shape: __string, location_name: "Url"))
770
849
  GCMMessage.struct_class = Types::GCMMessage
@@ -793,6 +872,22 @@ module Aws::Pinpoint
793
872
  GetApnsSandboxChannelResponse[:payload] = :apns_sandbox_channel_response
794
873
  GetApnsSandboxChannelResponse[:payload_member] = GetApnsSandboxChannelResponse.member(:apns_sandbox_channel_response)
795
874
 
875
+ GetApnsVoipChannelRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
876
+ GetApnsVoipChannelRequest.struct_class = Types::GetApnsVoipChannelRequest
877
+
878
+ GetApnsVoipChannelResponse.add_member(:apns_voip_channel_response, Shapes::ShapeRef.new(shape: APNSVoipChannelResponse, required: true, location_name: "APNSVoipChannelResponse"))
879
+ GetApnsVoipChannelResponse.struct_class = Types::GetApnsVoipChannelResponse
880
+ GetApnsVoipChannelResponse[:payload] = :apns_voip_channel_response
881
+ GetApnsVoipChannelResponse[:payload_member] = GetApnsVoipChannelResponse.member(:apns_voip_channel_response)
882
+
883
+ GetApnsVoipSandboxChannelRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
884
+ GetApnsVoipSandboxChannelRequest.struct_class = Types::GetApnsVoipSandboxChannelRequest
885
+
886
+ GetApnsVoipSandboxChannelResponse.add_member(:apns_voip_sandbox_channel_response, Shapes::ShapeRef.new(shape: APNSVoipSandboxChannelResponse, required: true, location_name: "APNSVoipSandboxChannelResponse"))
887
+ GetApnsVoipSandboxChannelResponse.struct_class = Types::GetApnsVoipSandboxChannelResponse
888
+ GetApnsVoipSandboxChannelResponse[:payload] = :apns_voip_sandbox_channel_response
889
+ GetApnsVoipSandboxChannelResponse[:payload_member] = GetApnsVoipSandboxChannelResponse.member(:apns_voip_sandbox_channel_response)
890
+
796
891
  GetAppRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
797
892
  GetAppRequest.struct_class = Types::GetAppRequest
798
893
 
@@ -1092,7 +1187,9 @@ module Aws::Pinpoint
1092
1187
  MessageBody.add_member(:request_id, Shapes::ShapeRef.new(shape: __string, location_name: "RequestID"))
1093
1188
  MessageBody.struct_class = Types::MessageBody
1094
1189
 
1190
+ MessageConfiguration.add_member(:adm_message, Shapes::ShapeRef.new(shape: Message, location_name: "ADMMessage"))
1095
1191
  MessageConfiguration.add_member(:apns_message, Shapes::ShapeRef.new(shape: Message, location_name: "APNSMessage"))
1192
+ MessageConfiguration.add_member(:baidu_message, Shapes::ShapeRef.new(shape: Message, location_name: "BaiduMessage"))
1096
1193
  MessageConfiguration.add_member(:default_message, Shapes::ShapeRef.new(shape: Message, location_name: "DefaultMessage"))
1097
1194
  MessageConfiguration.add_member(:email_message, Shapes::ShapeRef.new(shape: CampaignEmailMessage, location_name: "EmailMessage"))
1098
1195
  MessageConfiguration.add_member(:gcm_message, Shapes::ShapeRef.new(shape: Message, location_name: "GCMMessage"))
@@ -1100,11 +1197,9 @@ module Aws::Pinpoint
1100
1197
  MessageConfiguration.struct_class = Types::MessageConfiguration
1101
1198
 
1102
1199
  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"))
1104
1200
  MessageRequest.add_member(:context, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "Context"))
1105
1201
  MessageRequest.add_member(:endpoints, Shapes::ShapeRef.new(shape: MapOfEndpointSendConfiguration, location_name: "Endpoints"))
1106
1202
  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"))
1108
1203
  MessageRequest.struct_class = Types::MessageRequest
1109
1204
 
1110
1205
  MessageResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId"))
@@ -1146,6 +1241,7 @@ module Aws::Pinpoint
1146
1241
  SMSChannelResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId"))
1147
1242
  SMSChannelResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: __string, location_name: "CreationDate"))
1148
1243
  SMSChannelResponse.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "Enabled"))
1244
+ SMSChannelResponse.add_member(:has_credential, Shapes::ShapeRef.new(shape: __boolean, location_name: "HasCredential"))
1149
1245
  SMSChannelResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id"))
1150
1246
  SMSChannelResponse.add_member(:is_archived, Shapes::ShapeRef.new(shape: __boolean, location_name: "IsArchived"))
1151
1247
  SMSChannelResponse.add_member(:last_modified_by, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedBy"))
@@ -1227,7 +1323,6 @@ module Aws::Pinpoint
1227
1323
 
1228
1324
  SendUsersMessageRequest.add_member(:context, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "Context"))
1229
1325
  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
1326
  SendUsersMessageRequest.add_member(:users, Shapes::ShapeRef.new(shape: MapOfEndpointSendConfiguration, location_name: "Users"))
1232
1327
  SendUsersMessageRequest.struct_class = Types::SendUsersMessageRequest
1233
1328
 
@@ -1293,6 +1388,28 @@ module Aws::Pinpoint
1293
1388
  UpdateApnsSandboxChannelResponse[:payload] = :apns_sandbox_channel_response
1294
1389
  UpdateApnsSandboxChannelResponse[:payload_member] = UpdateApnsSandboxChannelResponse.member(:apns_sandbox_channel_response)
1295
1390
 
1391
+ UpdateApnsVoipChannelRequest.add_member(:apns_voip_channel_request, Shapes::ShapeRef.new(shape: APNSVoipChannelRequest, required: true, location_name: "APNSVoipChannelRequest"))
1392
+ UpdateApnsVoipChannelRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
1393
+ UpdateApnsVoipChannelRequest.struct_class = Types::UpdateApnsVoipChannelRequest
1394
+ UpdateApnsVoipChannelRequest[:payload] = :apns_voip_channel_request
1395
+ UpdateApnsVoipChannelRequest[:payload_member] = UpdateApnsVoipChannelRequest.member(:apns_voip_channel_request)
1396
+
1397
+ UpdateApnsVoipChannelResponse.add_member(:apns_voip_channel_response, Shapes::ShapeRef.new(shape: APNSVoipChannelResponse, required: true, location_name: "APNSVoipChannelResponse"))
1398
+ UpdateApnsVoipChannelResponse.struct_class = Types::UpdateApnsVoipChannelResponse
1399
+ UpdateApnsVoipChannelResponse[:payload] = :apns_voip_channel_response
1400
+ UpdateApnsVoipChannelResponse[:payload_member] = UpdateApnsVoipChannelResponse.member(:apns_voip_channel_response)
1401
+
1402
+ UpdateApnsVoipSandboxChannelRequest.add_member(:apns_voip_sandbox_channel_request, Shapes::ShapeRef.new(shape: APNSVoipSandboxChannelRequest, required: true, location_name: "APNSVoipSandboxChannelRequest"))
1403
+ UpdateApnsVoipSandboxChannelRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
1404
+ UpdateApnsVoipSandboxChannelRequest.struct_class = Types::UpdateApnsVoipSandboxChannelRequest
1405
+ UpdateApnsVoipSandboxChannelRequest[:payload] = :apns_voip_sandbox_channel_request
1406
+ UpdateApnsVoipSandboxChannelRequest[:payload_member] = UpdateApnsVoipSandboxChannelRequest.member(:apns_voip_sandbox_channel_request)
1407
+
1408
+ UpdateApnsVoipSandboxChannelResponse.add_member(:apns_voip_sandbox_channel_response, Shapes::ShapeRef.new(shape: APNSVoipSandboxChannelResponse, required: true, location_name: "APNSVoipSandboxChannelResponse"))
1409
+ UpdateApnsVoipSandboxChannelResponse.struct_class = Types::UpdateApnsVoipSandboxChannelResponse
1410
+ UpdateApnsVoipSandboxChannelResponse[:payload] = :apns_voip_sandbox_channel_response
1411
+ UpdateApnsVoipSandboxChannelResponse[:payload_member] = UpdateApnsVoipSandboxChannelResponse.member(:apns_voip_sandbox_channel_response)
1412
+
1296
1413
  UpdateApplicationSettingsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
1297
1414
  UpdateApplicationSettingsRequest.add_member(:write_application_settings_request, Shapes::ShapeRef.new(shape: WriteApplicationSettingsRequest, required: true, location_name: "WriteApplicationSettingsRequest"))
1298
1415
  UpdateApplicationSettingsRequest.struct_class = Types::UpdateApplicationSettingsRequest
@@ -1409,13 +1526,11 @@ module Aws::Pinpoint
1409
1526
  WriteCampaignRequest.add_member(:schedule, Shapes::ShapeRef.new(shape: Schedule, location_name: "Schedule"))
1410
1527
  WriteCampaignRequest.add_member(:segment_id, Shapes::ShapeRef.new(shape: __string, location_name: "SegmentId"))
1411
1528
  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"))
1413
1529
  WriteCampaignRequest.add_member(:treatment_description, Shapes::ShapeRef.new(shape: __string, location_name: "TreatmentDescription"))
1414
1530
  WriteCampaignRequest.add_member(:treatment_name, Shapes::ShapeRef.new(shape: __string, location_name: "TreatmentName"))
1415
1531
  WriteCampaignRequest.struct_class = Types::WriteCampaignRequest
1416
1532
 
1417
1533
  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"))
1419
1534
  WriteEventStream.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "RoleArn"))
1420
1535
  WriteEventStream.struct_class = Types::WriteEventStream
1421
1536
 
@@ -1543,6 +1658,34 @@ module Aws::Pinpoint
1543
1658
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1544
1659
  end)
1545
1660
 
1661
+ api.add_operation(:delete_apns_voip_channel, Seahorse::Model::Operation.new.tap do |o|
1662
+ o.name = "DeleteApnsVoipChannel"
1663
+ o.http_method = "DELETE"
1664
+ o.http_request_uri = "/v1/apps/{application-id}/channels/apns_voip"
1665
+ o.input = Shapes::ShapeRef.new(shape: DeleteApnsVoipChannelRequest)
1666
+ o.output = Shapes::ShapeRef.new(shape: DeleteApnsVoipChannelResponse)
1667
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1668
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
1669
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1670
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1671
+ o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
1672
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1673
+ end)
1674
+
1675
+ api.add_operation(:delete_apns_voip_sandbox_channel, Seahorse::Model::Operation.new.tap do |o|
1676
+ o.name = "DeleteApnsVoipSandboxChannel"
1677
+ o.http_method = "DELETE"
1678
+ o.http_request_uri = "/v1/apps/{application-id}/channels/apns_voip_sandbox"
1679
+ o.input = Shapes::ShapeRef.new(shape: DeleteApnsVoipSandboxChannelRequest)
1680
+ o.output = Shapes::ShapeRef.new(shape: DeleteApnsVoipSandboxChannelResponse)
1681
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1682
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
1683
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1684
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1685
+ o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
1686
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1687
+ end)
1688
+
1546
1689
  api.add_operation(:delete_app, Seahorse::Model::Operation.new.tap do |o|
1547
1690
  o.name = "DeleteApp"
1548
1691
  o.http_method = "DELETE"
@@ -1697,6 +1840,34 @@ module Aws::Pinpoint
1697
1840
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1698
1841
  end)
1699
1842
 
1843
+ api.add_operation(:get_apns_voip_channel, Seahorse::Model::Operation.new.tap do |o|
1844
+ o.name = "GetApnsVoipChannel"
1845
+ o.http_method = "GET"
1846
+ o.http_request_uri = "/v1/apps/{application-id}/channels/apns_voip"
1847
+ o.input = Shapes::ShapeRef.new(shape: GetApnsVoipChannelRequest)
1848
+ o.output = Shapes::ShapeRef.new(shape: GetApnsVoipChannelResponse)
1849
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1850
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
1851
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1852
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1853
+ o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
1854
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1855
+ end)
1856
+
1857
+ api.add_operation(:get_apns_voip_sandbox_channel, Seahorse::Model::Operation.new.tap do |o|
1858
+ o.name = "GetApnsVoipSandboxChannel"
1859
+ o.http_method = "GET"
1860
+ o.http_request_uri = "/v1/apps/{application-id}/channels/apns_voip_sandbox"
1861
+ o.input = Shapes::ShapeRef.new(shape: GetApnsVoipSandboxChannelRequest)
1862
+ o.output = Shapes::ShapeRef.new(shape: GetApnsVoipSandboxChannelResponse)
1863
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1864
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
1865
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1866
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1867
+ o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
1868
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1869
+ end)
1870
+
1700
1871
  api.add_operation(:get_app, Seahorse::Model::Operation.new.tap do |o|
1701
1872
  o.name = "GetApp"
1702
1873
  o.http_method = "GET"
@@ -2075,6 +2246,34 @@ module Aws::Pinpoint
2075
2246
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2076
2247
  end)
2077
2248
 
2249
+ api.add_operation(:update_apns_voip_channel, Seahorse::Model::Operation.new.tap do |o|
2250
+ o.name = "UpdateApnsVoipChannel"
2251
+ o.http_method = "PUT"
2252
+ o.http_request_uri = "/v1/apps/{application-id}/channels/apns_voip"
2253
+ o.input = Shapes::ShapeRef.new(shape: UpdateApnsVoipChannelRequest)
2254
+ o.output = Shapes::ShapeRef.new(shape: UpdateApnsVoipChannelResponse)
2255
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2256
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
2257
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
2258
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2259
+ o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
2260
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2261
+ end)
2262
+
2263
+ api.add_operation(:update_apns_voip_sandbox_channel, Seahorse::Model::Operation.new.tap do |o|
2264
+ o.name = "UpdateApnsVoipSandboxChannel"
2265
+ o.http_method = "PUT"
2266
+ o.http_request_uri = "/v1/apps/{application-id}/channels/apns_voip_sandbox"
2267
+ o.input = Shapes::ShapeRef.new(shape: UpdateApnsVoipSandboxChannelRequest)
2268
+ o.output = Shapes::ShapeRef.new(shape: UpdateApnsVoipSandboxChannelResponse)
2269
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2270
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
2271
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
2272
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2273
+ o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
2274
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2275
+ end)
2276
+
2078
2277
  api.add_operation(:update_application_settings, Seahorse::Model::Operation.new.tap do |o|
2079
2278
  o.name = "UpdateApplicationSettings"
2080
2279
  o.http_method = "PUT"