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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 223a02cc9a0261c99947ef7fdaa5e3fed7be33cd
|
4
|
+
data.tar.gz: 97b8d571d30ef31f69a758345ef89b98ddbdfe25
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0094ba4cedb632b1c4a0b6c674164218c9b0da3a8293012400fe9332dddbd8d259accff665230833162996c0cec1830724bbe74fc7f6d911634fee02a1c9001d
|
7
|
+
data.tar.gz: e2eb23199d823fb336c01cb03ad04140b6377d1ad49a1d342336ea38abaecae1d5f95a427a38a4800ced62c2fbbbf00b2ff41d26ebb157e4911f17e0e5dfee02
|
data/lib/aws-sdk-pinpoint.rb
CHANGED
@@ -145,7 +145,7 @@ module Aws::Pinpoint
|
|
145
145
|
|
146
146
|
# @!group API Operations
|
147
147
|
|
148
|
-
#
|
148
|
+
# Creates or updates an app.
|
149
149
|
#
|
150
150
|
# @option params [required, Types::CreateApplicationRequest] :create_application_request
|
151
151
|
# Application Request.
|
@@ -167,6 +167,8 @@ module Aws::Pinpoint
|
|
167
167
|
# resp.application_response.id #=> String
|
168
168
|
# resp.application_response.name #=> String
|
169
169
|
#
|
170
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateApp AWS API Documentation
|
171
|
+
#
|
170
172
|
# @overload create_app(params = {})
|
171
173
|
# @param [Hash] params ({})
|
172
174
|
def create_app(params = {}, options = {})
|
@@ -265,6 +267,8 @@ module Aws::Pinpoint
|
|
265
267
|
# is_paused: false,
|
266
268
|
# limits: {
|
267
269
|
# daily: 1,
|
270
|
+
# maximum_duration: 1,
|
271
|
+
# messages_per_second: 1,
|
268
272
|
# total: 1,
|
269
273
|
# },
|
270
274
|
# message_configuration: {
|
@@ -333,6 +337,7 @@ module Aws::Pinpoint
|
|
333
337
|
# },
|
334
338
|
# segment_id: "__string",
|
335
339
|
# segment_version: 1,
|
340
|
+
# trace: false,
|
336
341
|
# treatment_description: "__string",
|
337
342
|
# treatment_name: "__string",
|
338
343
|
# },
|
@@ -402,6 +407,8 @@ module Aws::Pinpoint
|
|
402
407
|
# resp.campaign_response.is_paused #=> Boolean
|
403
408
|
# resp.campaign_response.last_modified_date #=> String
|
404
409
|
# resp.campaign_response.limits.daily #=> Integer
|
410
|
+
# resp.campaign_response.limits.maximum_duration #=> Integer
|
411
|
+
# resp.campaign_response.limits.messages_per_second #=> Integer
|
405
412
|
# resp.campaign_response.limits.total #=> Integer
|
406
413
|
# resp.campaign_response.message_configuration.apns_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
407
414
|
# resp.campaign_response.message_configuration.apns_message.body #=> String
|
@@ -458,6 +465,8 @@ module Aws::Pinpoint
|
|
458
465
|
# resp.campaign_response.treatment_name #=> String
|
459
466
|
# resp.campaign_response.version #=> Integer
|
460
467
|
#
|
468
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateCampaign AWS API Documentation
|
469
|
+
#
|
461
470
|
# @overload create_campaign(params = {})
|
462
471
|
# @param [Hash] params ({})
|
463
472
|
def create_campaign(params = {}, options = {})
|
@@ -515,6 +524,8 @@ module Aws::Pinpoint
|
|
515
524
|
# resp.import_job_response.total_processed #=> Integer
|
516
525
|
# resp.import_job_response.type #=> String
|
517
526
|
#
|
527
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateImportJob AWS API Documentation
|
528
|
+
#
|
518
529
|
# @overload create_import_job(params = {})
|
519
530
|
# @param [Hash] params ({})
|
520
531
|
def create_import_job(params = {}, options = {})
|
@@ -642,6 +653,8 @@ module Aws::Pinpoint
|
|
642
653
|
# resp.segment_response.segment_type #=> String, one of "DIMENSIONAL", "IMPORT"
|
643
654
|
# resp.segment_response.version #=> Integer
|
644
655
|
#
|
656
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateSegment AWS API Documentation
|
657
|
+
#
|
645
658
|
# @overload create_segment(params = {})
|
646
659
|
# @param [Hash] params ({})
|
647
660
|
def create_segment(params = {}, options = {})
|
@@ -649,6 +662,41 @@ module Aws::Pinpoint
|
|
649
662
|
req.send_request(options)
|
650
663
|
end
|
651
664
|
|
665
|
+
# Delete an ADM channel
|
666
|
+
#
|
667
|
+
# @option params [required, String] :application_id
|
668
|
+
#
|
669
|
+
# @return [Types::DeleteAdmChannelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
670
|
+
#
|
671
|
+
# * {Types::DeleteAdmChannelResponse#adm_channel_response #adm_channel_response} => Types::ADMChannelResponse
|
672
|
+
#
|
673
|
+
# @example Request syntax with placeholder values
|
674
|
+
#
|
675
|
+
# resp = client.delete_adm_channel({
|
676
|
+
# application_id: "__string", # required
|
677
|
+
# })
|
678
|
+
#
|
679
|
+
# @example Response structure
|
680
|
+
#
|
681
|
+
# resp.adm_channel_response.application_id #=> String
|
682
|
+
# resp.adm_channel_response.creation_date #=> String
|
683
|
+
# resp.adm_channel_response.enabled #=> Boolean
|
684
|
+
# resp.adm_channel_response.id #=> String
|
685
|
+
# resp.adm_channel_response.is_archived #=> Boolean
|
686
|
+
# resp.adm_channel_response.last_modified_by #=> String
|
687
|
+
# resp.adm_channel_response.last_modified_date #=> String
|
688
|
+
# resp.adm_channel_response.platform #=> String
|
689
|
+
# resp.adm_channel_response.version #=> Integer
|
690
|
+
#
|
691
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteAdmChannel AWS API Documentation
|
692
|
+
#
|
693
|
+
# @overload delete_adm_channel(params = {})
|
694
|
+
# @param [Hash] params ({})
|
695
|
+
def delete_adm_channel(params = {}, options = {})
|
696
|
+
req = build_request(:delete_adm_channel, params)
|
697
|
+
req.send_request(options)
|
698
|
+
end
|
699
|
+
|
652
700
|
# Deletes the APNs channel for an app.
|
653
701
|
#
|
654
702
|
# @option params [required, String] :application_id
|
@@ -675,6 +723,8 @@ module Aws::Pinpoint
|
|
675
723
|
# resp.apns_channel_response.platform #=> String
|
676
724
|
# resp.apns_channel_response.version #=> Integer
|
677
725
|
#
|
726
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteApnsChannel AWS API Documentation
|
727
|
+
#
|
678
728
|
# @overload delete_apns_channel(params = {})
|
679
729
|
# @param [Hash] params ({})
|
680
730
|
def delete_apns_channel(params = {}, options = {})
|
@@ -708,6 +758,8 @@ module Aws::Pinpoint
|
|
708
758
|
# resp.apns_sandbox_channel_response.platform #=> String
|
709
759
|
# resp.apns_sandbox_channel_response.version #=> Integer
|
710
760
|
#
|
761
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteApnsSandboxChannel AWS API Documentation
|
762
|
+
#
|
711
763
|
# @overload delete_apns_sandbox_channel(params = {})
|
712
764
|
# @param [Hash] params ({})
|
713
765
|
def delete_apns_sandbox_channel(params = {}, options = {})
|
@@ -734,6 +786,8 @@ module Aws::Pinpoint
|
|
734
786
|
# resp.application_response.id #=> String
|
735
787
|
# resp.application_response.name #=> String
|
736
788
|
#
|
789
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteApp AWS API Documentation
|
790
|
+
#
|
737
791
|
# @overload delete_app(params = {})
|
738
792
|
# @param [Hash] params ({})
|
739
793
|
def delete_app(params = {}, options = {})
|
@@ -741,6 +795,42 @@ module Aws::Pinpoint
|
|
741
795
|
req.send_request(options)
|
742
796
|
end
|
743
797
|
|
798
|
+
# Delete a BAIDU GCM channel
|
799
|
+
#
|
800
|
+
# @option params [required, String] :application_id
|
801
|
+
#
|
802
|
+
# @return [Types::DeleteBaiduChannelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
803
|
+
#
|
804
|
+
# * {Types::DeleteBaiduChannelResponse#baidu_channel_response #baidu_channel_response} => Types::BaiduChannelResponse
|
805
|
+
#
|
806
|
+
# @example Request syntax with placeholder values
|
807
|
+
#
|
808
|
+
# resp = client.delete_baidu_channel({
|
809
|
+
# application_id: "__string", # required
|
810
|
+
# })
|
811
|
+
#
|
812
|
+
# @example Response structure
|
813
|
+
#
|
814
|
+
# resp.baidu_channel_response.application_id #=> String
|
815
|
+
# resp.baidu_channel_response.creation_date #=> String
|
816
|
+
# resp.baidu_channel_response.credential #=> String
|
817
|
+
# resp.baidu_channel_response.enabled #=> Boolean
|
818
|
+
# resp.baidu_channel_response.id #=> String
|
819
|
+
# resp.baidu_channel_response.is_archived #=> Boolean
|
820
|
+
# resp.baidu_channel_response.last_modified_by #=> String
|
821
|
+
# resp.baidu_channel_response.last_modified_date #=> String
|
822
|
+
# resp.baidu_channel_response.platform #=> String
|
823
|
+
# resp.baidu_channel_response.version #=> Integer
|
824
|
+
#
|
825
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteBaiduChannel AWS API Documentation
|
826
|
+
#
|
827
|
+
# @overload delete_baidu_channel(params = {})
|
828
|
+
# @param [Hash] params ({})
|
829
|
+
def delete_baidu_channel(params = {}, options = {})
|
830
|
+
req = build_request(:delete_baidu_channel, params)
|
831
|
+
req.send_request(options)
|
832
|
+
end
|
833
|
+
|
744
834
|
# Deletes a campaign.
|
745
835
|
#
|
746
836
|
# @option params [required, String] :application_id
|
@@ -822,6 +912,8 @@ module Aws::Pinpoint
|
|
822
912
|
# resp.campaign_response.is_paused #=> Boolean
|
823
913
|
# resp.campaign_response.last_modified_date #=> String
|
824
914
|
# resp.campaign_response.limits.daily #=> Integer
|
915
|
+
# resp.campaign_response.limits.maximum_duration #=> Integer
|
916
|
+
# resp.campaign_response.limits.messages_per_second #=> Integer
|
825
917
|
# resp.campaign_response.limits.total #=> Integer
|
826
918
|
# resp.campaign_response.message_configuration.apns_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
827
919
|
# resp.campaign_response.message_configuration.apns_message.body #=> String
|
@@ -878,6 +970,8 @@ module Aws::Pinpoint
|
|
878
970
|
# resp.campaign_response.treatment_name #=> String
|
879
971
|
# resp.campaign_response.version #=> Integer
|
880
972
|
#
|
973
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteCampaign AWS API Documentation
|
974
|
+
#
|
881
975
|
# @overload delete_campaign(params = {})
|
882
976
|
# @param [Hash] params ({})
|
883
977
|
def delete_campaign(params = {}, options = {})
|
@@ -914,6 +1008,8 @@ module Aws::Pinpoint
|
|
914
1008
|
# resp.email_channel_response.role_arn #=> String
|
915
1009
|
# resp.email_channel_response.version #=> Integer
|
916
1010
|
#
|
1011
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteEmailChannel AWS API Documentation
|
1012
|
+
#
|
917
1013
|
# @overload delete_email_channel(params = {})
|
918
1014
|
# @param [Hash] params ({})
|
919
1015
|
def delete_email_channel(params = {}, options = {})
|
@@ -924,7 +1020,6 @@ module Aws::Pinpoint
|
|
924
1020
|
# Deletes the event stream for an app.
|
925
1021
|
#
|
926
1022
|
# @option params [required, String] :application_id
|
927
|
-
# Application Id.
|
928
1023
|
#
|
929
1024
|
# @return [Types::DeleteEventStreamResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
930
1025
|
#
|
@@ -945,6 +1040,8 @@ module Aws::Pinpoint
|
|
945
1040
|
# resp.event_stream.last_updated_by #=> String
|
946
1041
|
# resp.event_stream.role_arn #=> String
|
947
1042
|
#
|
1043
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteEventStream AWS API Documentation
|
1044
|
+
#
|
948
1045
|
# @overload delete_event_stream(params = {})
|
949
1046
|
# @param [Hash] params ({})
|
950
1047
|
def delete_event_stream(params = {}, options = {})
|
@@ -979,6 +1076,8 @@ module Aws::Pinpoint
|
|
979
1076
|
# resp.gcm_channel_response.platform #=> String
|
980
1077
|
# resp.gcm_channel_response.version #=> Integer
|
981
1078
|
#
|
1079
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteGcmChannel AWS API Documentation
|
1080
|
+
#
|
982
1081
|
# @overload delete_gcm_channel(params = {})
|
983
1082
|
# @param [Hash] params ({})
|
984
1083
|
def delete_gcm_channel(params = {}, options = {})
|
@@ -1051,6 +1150,8 @@ module Aws::Pinpoint
|
|
1051
1150
|
# resp.segment_response.segment_type #=> String, one of "DIMENSIONAL", "IMPORT"
|
1052
1151
|
# resp.segment_response.version #=> Integer
|
1053
1152
|
#
|
1153
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteSegment AWS API Documentation
|
1154
|
+
#
|
1054
1155
|
# @overload delete_segment(params = {})
|
1055
1156
|
# @param [Hash] params ({})
|
1056
1157
|
def delete_segment(params = {}, options = {})
|
@@ -1086,6 +1187,8 @@ module Aws::Pinpoint
|
|
1086
1187
|
# resp.sms_channel_response.short_code #=> String
|
1087
1188
|
# resp.sms_channel_response.version #=> Integer
|
1088
1189
|
#
|
1190
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteSmsChannel AWS API Documentation
|
1191
|
+
#
|
1089
1192
|
# @overload delete_sms_channel(params = {})
|
1090
1193
|
# @param [Hash] params ({})
|
1091
1194
|
def delete_sms_channel(params = {}, options = {})
|
@@ -1093,6 +1196,41 @@ module Aws::Pinpoint
|
|
1093
1196
|
req.send_request(options)
|
1094
1197
|
end
|
1095
1198
|
|
1199
|
+
# Get an ADM channel
|
1200
|
+
#
|
1201
|
+
# @option params [required, String] :application_id
|
1202
|
+
#
|
1203
|
+
# @return [Types::GetAdmChannelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1204
|
+
#
|
1205
|
+
# * {Types::GetAdmChannelResponse#adm_channel_response #adm_channel_response} => Types::ADMChannelResponse
|
1206
|
+
#
|
1207
|
+
# @example Request syntax with placeholder values
|
1208
|
+
#
|
1209
|
+
# resp = client.get_adm_channel({
|
1210
|
+
# application_id: "__string", # required
|
1211
|
+
# })
|
1212
|
+
#
|
1213
|
+
# @example Response structure
|
1214
|
+
#
|
1215
|
+
# resp.adm_channel_response.application_id #=> String
|
1216
|
+
# resp.adm_channel_response.creation_date #=> String
|
1217
|
+
# resp.adm_channel_response.enabled #=> Boolean
|
1218
|
+
# resp.adm_channel_response.id #=> String
|
1219
|
+
# resp.adm_channel_response.is_archived #=> Boolean
|
1220
|
+
# resp.adm_channel_response.last_modified_by #=> String
|
1221
|
+
# resp.adm_channel_response.last_modified_date #=> String
|
1222
|
+
# resp.adm_channel_response.platform #=> String
|
1223
|
+
# resp.adm_channel_response.version #=> Integer
|
1224
|
+
#
|
1225
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetAdmChannel AWS API Documentation
|
1226
|
+
#
|
1227
|
+
# @overload get_adm_channel(params = {})
|
1228
|
+
# @param [Hash] params ({})
|
1229
|
+
def get_adm_channel(params = {}, options = {})
|
1230
|
+
req = build_request(:get_adm_channel, params)
|
1231
|
+
req.send_request(options)
|
1232
|
+
end
|
1233
|
+
|
1096
1234
|
# Returns information about the APNs channel for an app.
|
1097
1235
|
#
|
1098
1236
|
# @option params [required, String] :application_id
|
@@ -1119,6 +1257,8 @@ module Aws::Pinpoint
|
|
1119
1257
|
# resp.apns_channel_response.platform #=> String
|
1120
1258
|
# resp.apns_channel_response.version #=> Integer
|
1121
1259
|
#
|
1260
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApnsChannel AWS API Documentation
|
1261
|
+
#
|
1122
1262
|
# @overload get_apns_channel(params = {})
|
1123
1263
|
# @param [Hash] params ({})
|
1124
1264
|
def get_apns_channel(params = {}, options = {})
|
@@ -1152,6 +1292,8 @@ module Aws::Pinpoint
|
|
1152
1292
|
# resp.apns_sandbox_channel_response.platform #=> String
|
1153
1293
|
# resp.apns_sandbox_channel_response.version #=> Integer
|
1154
1294
|
#
|
1295
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApnsSandboxChannel AWS API Documentation
|
1296
|
+
#
|
1155
1297
|
# @overload get_apns_sandbox_channel(params = {})
|
1156
1298
|
# @param [Hash] params ({})
|
1157
1299
|
def get_apns_sandbox_channel(params = {}, options = {})
|
@@ -1178,6 +1320,8 @@ module Aws::Pinpoint
|
|
1178
1320
|
# resp.application_response.id #=> String
|
1179
1321
|
# resp.application_response.name #=> String
|
1180
1322
|
#
|
1323
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApp AWS API Documentation
|
1324
|
+
#
|
1181
1325
|
# @overload get_app(params = {})
|
1182
1326
|
# @param [Hash] params ({})
|
1183
1327
|
def get_app(params = {}, options = {})
|
@@ -1204,10 +1348,14 @@ module Aws::Pinpoint
|
|
1204
1348
|
# resp.application_settings_resource.application_id #=> String
|
1205
1349
|
# resp.application_settings_resource.last_modified_date #=> String
|
1206
1350
|
# resp.application_settings_resource.limits.daily #=> Integer
|
1351
|
+
# resp.application_settings_resource.limits.maximum_duration #=> Integer
|
1352
|
+
# resp.application_settings_resource.limits.messages_per_second #=> Integer
|
1207
1353
|
# resp.application_settings_resource.limits.total #=> Integer
|
1208
1354
|
# resp.application_settings_resource.quiet_time.end #=> String
|
1209
1355
|
# resp.application_settings_resource.quiet_time.start #=> String
|
1210
1356
|
#
|
1357
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApplicationSettings AWS API Documentation
|
1358
|
+
#
|
1211
1359
|
# @overload get_application_settings(params = {})
|
1212
1360
|
# @param [Hash] params ({})
|
1213
1361
|
def get_application_settings(params = {}, options = {})
|
@@ -1239,6 +1387,8 @@ module Aws::Pinpoint
|
|
1239
1387
|
# resp.applications_response.item[0].name #=> String
|
1240
1388
|
# resp.applications_response.next_token #=> String
|
1241
1389
|
#
|
1390
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApps AWS API Documentation
|
1391
|
+
#
|
1242
1392
|
# @overload get_apps(params = {})
|
1243
1393
|
# @param [Hash] params ({})
|
1244
1394
|
def get_apps(params = {}, options = {})
|
@@ -1246,6 +1396,42 @@ module Aws::Pinpoint
|
|
1246
1396
|
req.send_request(options)
|
1247
1397
|
end
|
1248
1398
|
|
1399
|
+
# Get a BAIDU GCM channel
|
1400
|
+
#
|
1401
|
+
# @option params [required, String] :application_id
|
1402
|
+
#
|
1403
|
+
# @return [Types::GetBaiduChannelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1404
|
+
#
|
1405
|
+
# * {Types::GetBaiduChannelResponse#baidu_channel_response #baidu_channel_response} => Types::BaiduChannelResponse
|
1406
|
+
#
|
1407
|
+
# @example Request syntax with placeholder values
|
1408
|
+
#
|
1409
|
+
# resp = client.get_baidu_channel({
|
1410
|
+
# application_id: "__string", # required
|
1411
|
+
# })
|
1412
|
+
#
|
1413
|
+
# @example Response structure
|
1414
|
+
#
|
1415
|
+
# resp.baidu_channel_response.application_id #=> String
|
1416
|
+
# resp.baidu_channel_response.creation_date #=> String
|
1417
|
+
# resp.baidu_channel_response.credential #=> String
|
1418
|
+
# resp.baidu_channel_response.enabled #=> Boolean
|
1419
|
+
# resp.baidu_channel_response.id #=> String
|
1420
|
+
# resp.baidu_channel_response.is_archived #=> Boolean
|
1421
|
+
# resp.baidu_channel_response.last_modified_by #=> String
|
1422
|
+
# resp.baidu_channel_response.last_modified_date #=> String
|
1423
|
+
# resp.baidu_channel_response.platform #=> String
|
1424
|
+
# resp.baidu_channel_response.version #=> Integer
|
1425
|
+
#
|
1426
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetBaiduChannel AWS API Documentation
|
1427
|
+
#
|
1428
|
+
# @overload get_baidu_channel(params = {})
|
1429
|
+
# @param [Hash] params ({})
|
1430
|
+
def get_baidu_channel(params = {}, options = {})
|
1431
|
+
req = build_request(:get_baidu_channel, params)
|
1432
|
+
req.send_request(options)
|
1433
|
+
end
|
1434
|
+
|
1249
1435
|
# Returns information about a campaign.
|
1250
1436
|
#
|
1251
1437
|
# @option params [required, String] :application_id
|
@@ -1327,6 +1513,8 @@ module Aws::Pinpoint
|
|
1327
1513
|
# resp.campaign_response.is_paused #=> Boolean
|
1328
1514
|
# resp.campaign_response.last_modified_date #=> String
|
1329
1515
|
# resp.campaign_response.limits.daily #=> Integer
|
1516
|
+
# resp.campaign_response.limits.maximum_duration #=> Integer
|
1517
|
+
# resp.campaign_response.limits.messages_per_second #=> Integer
|
1330
1518
|
# resp.campaign_response.limits.total #=> Integer
|
1331
1519
|
# resp.campaign_response.message_configuration.apns_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
1332
1520
|
# resp.campaign_response.message_configuration.apns_message.body #=> String
|
@@ -1383,6 +1571,8 @@ module Aws::Pinpoint
|
|
1383
1571
|
# resp.campaign_response.treatment_name #=> String
|
1384
1572
|
# resp.campaign_response.version #=> Integer
|
1385
1573
|
#
|
1574
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaign AWS API Documentation
|
1575
|
+
#
|
1386
1576
|
# @overload get_campaign(params = {})
|
1387
1577
|
# @param [Hash] params ({})
|
1388
1578
|
def get_campaign(params = {}, options = {})
|
@@ -1430,6 +1620,8 @@ module Aws::Pinpoint
|
|
1430
1620
|
# resp.activities_response.item[0].total_endpoint_count #=> Integer
|
1431
1621
|
# resp.activities_response.item[0].treatment_id #=> String
|
1432
1622
|
#
|
1623
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaignActivities AWS API Documentation
|
1624
|
+
#
|
1433
1625
|
# @overload get_campaign_activities(params = {})
|
1434
1626
|
# @param [Hash] params ({})
|
1435
1627
|
def get_campaign_activities(params = {}, options = {})
|
@@ -1521,6 +1713,8 @@ module Aws::Pinpoint
|
|
1521
1713
|
# resp.campaign_response.is_paused #=> Boolean
|
1522
1714
|
# resp.campaign_response.last_modified_date #=> String
|
1523
1715
|
# resp.campaign_response.limits.daily #=> Integer
|
1716
|
+
# resp.campaign_response.limits.maximum_duration #=> Integer
|
1717
|
+
# resp.campaign_response.limits.messages_per_second #=> Integer
|
1524
1718
|
# resp.campaign_response.limits.total #=> Integer
|
1525
1719
|
# resp.campaign_response.message_configuration.apns_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
1526
1720
|
# resp.campaign_response.message_configuration.apns_message.body #=> String
|
@@ -1577,6 +1771,8 @@ module Aws::Pinpoint
|
|
1577
1771
|
# resp.campaign_response.treatment_name #=> String
|
1578
1772
|
# resp.campaign_response.version #=> Integer
|
1579
1773
|
#
|
1774
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaignVersion AWS API Documentation
|
1775
|
+
#
|
1580
1776
|
# @overload get_campaign_version(params = {})
|
1581
1777
|
# @param [Hash] params ({})
|
1582
1778
|
def get_campaign_version(params = {}, options = {})
|
@@ -1672,6 +1868,8 @@ module Aws::Pinpoint
|
|
1672
1868
|
# resp.campaigns_response.item[0].is_paused #=> Boolean
|
1673
1869
|
# resp.campaigns_response.item[0].last_modified_date #=> String
|
1674
1870
|
# resp.campaigns_response.item[0].limits.daily #=> Integer
|
1871
|
+
# resp.campaigns_response.item[0].limits.maximum_duration #=> Integer
|
1872
|
+
# resp.campaigns_response.item[0].limits.messages_per_second #=> Integer
|
1675
1873
|
# resp.campaigns_response.item[0].limits.total #=> Integer
|
1676
1874
|
# resp.campaigns_response.item[0].message_configuration.apns_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
1677
1875
|
# resp.campaigns_response.item[0].message_configuration.apns_message.body #=> String
|
@@ -1729,6 +1927,8 @@ module Aws::Pinpoint
|
|
1729
1927
|
# resp.campaigns_response.item[0].version #=> Integer
|
1730
1928
|
# resp.campaigns_response.next_token #=> String
|
1731
1929
|
#
|
1930
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaignVersions AWS API Documentation
|
1931
|
+
#
|
1732
1932
|
# @overload get_campaign_versions(params = {})
|
1733
1933
|
# @param [Hash] params ({})
|
1734
1934
|
def get_campaign_versions(params = {}, options = {})
|
@@ -1821,6 +2021,8 @@ module Aws::Pinpoint
|
|
1821
2021
|
# resp.campaigns_response.item[0].is_paused #=> Boolean
|
1822
2022
|
# resp.campaigns_response.item[0].last_modified_date #=> String
|
1823
2023
|
# resp.campaigns_response.item[0].limits.daily #=> Integer
|
2024
|
+
# resp.campaigns_response.item[0].limits.maximum_duration #=> Integer
|
2025
|
+
# resp.campaigns_response.item[0].limits.messages_per_second #=> Integer
|
1824
2026
|
# resp.campaigns_response.item[0].limits.total #=> Integer
|
1825
2027
|
# resp.campaigns_response.item[0].message_configuration.apns_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
1826
2028
|
# resp.campaigns_response.item[0].message_configuration.apns_message.body #=> String
|
@@ -1878,6 +2080,8 @@ module Aws::Pinpoint
|
|
1878
2080
|
# resp.campaigns_response.item[0].version #=> Integer
|
1879
2081
|
# resp.campaigns_response.next_token #=> String
|
1880
2082
|
#
|
2083
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaigns AWS API Documentation
|
2084
|
+
#
|
1881
2085
|
# @overload get_campaigns(params = {})
|
1882
2086
|
# @param [Hash] params ({})
|
1883
2087
|
def get_campaigns(params = {}, options = {})
|
@@ -1914,6 +2118,8 @@ module Aws::Pinpoint
|
|
1914
2118
|
# resp.email_channel_response.role_arn #=> String
|
1915
2119
|
# resp.email_channel_response.version #=> Integer
|
1916
2120
|
#
|
2121
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetEmailChannel AWS API Documentation
|
2122
|
+
#
|
1917
2123
|
# @overload get_email_channel(params = {})
|
1918
2124
|
# @param [Hash] params ({})
|
1919
2125
|
def get_email_channel(params = {}, options = {})
|
@@ -1945,7 +2151,7 @@ module Aws::Pinpoint
|
|
1945
2151
|
# resp.endpoint_response.attributes #=> Hash
|
1946
2152
|
# resp.endpoint_response.attributes["__string"] #=> Array
|
1947
2153
|
# resp.endpoint_response.attributes["__string"][0] #=> String
|
1948
|
-
# resp.endpoint_response.channel_type #=> String, one of "GCM", "APNS", "APNS_SANDBOX", "ADM", "SMS", "EMAIL"
|
2154
|
+
# resp.endpoint_response.channel_type #=> String, one of "GCM", "APNS", "APNS_SANDBOX", "ADM", "SMS", "EMAIL", "BAIDU"
|
1949
2155
|
# resp.endpoint_response.cohort_id #=> String
|
1950
2156
|
# resp.endpoint_response.creation_date #=> String
|
1951
2157
|
# resp.endpoint_response.demographic.app_version #=> String
|
@@ -1975,6 +2181,8 @@ module Aws::Pinpoint
|
|
1975
2181
|
# resp.endpoint_response.user.user_attributes["__string"][0] #=> String
|
1976
2182
|
# resp.endpoint_response.user.user_id #=> String
|
1977
2183
|
#
|
2184
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetEndpoint AWS API Documentation
|
2185
|
+
#
|
1978
2186
|
# @overload get_endpoint(params = {})
|
1979
2187
|
# @param [Hash] params ({})
|
1980
2188
|
def get_endpoint(params = {}, options = {})
|
@@ -1985,7 +2193,6 @@ module Aws::Pinpoint
|
|
1985
2193
|
# Returns the event stream for an app.
|
1986
2194
|
#
|
1987
2195
|
# @option params [required, String] :application_id
|
1988
|
-
# Application Id.
|
1989
2196
|
#
|
1990
2197
|
# @return [Types::GetEventStreamResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1991
2198
|
#
|
@@ -2006,6 +2213,8 @@ module Aws::Pinpoint
|
|
2006
2213
|
# resp.event_stream.last_updated_by #=> String
|
2007
2214
|
# resp.event_stream.role_arn #=> String
|
2008
2215
|
#
|
2216
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetEventStream AWS API Documentation
|
2217
|
+
#
|
2009
2218
|
# @overload get_event_stream(params = {})
|
2010
2219
|
# @param [Hash] params ({})
|
2011
2220
|
def get_event_stream(params = {}, options = {})
|
@@ -2040,6 +2249,8 @@ module Aws::Pinpoint
|
|
2040
2249
|
# resp.gcm_channel_response.platform #=> String
|
2041
2250
|
# resp.gcm_channel_response.version #=> Integer
|
2042
2251
|
#
|
2252
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetGcmChannel AWS API Documentation
|
2253
|
+
#
|
2043
2254
|
# @overload get_gcm_channel(params = {})
|
2044
2255
|
# @param [Hash] params ({})
|
2045
2256
|
def get_gcm_channel(params = {}, options = {})
|
@@ -2088,6 +2299,8 @@ module Aws::Pinpoint
|
|
2088
2299
|
# resp.import_job_response.total_processed #=> Integer
|
2089
2300
|
# resp.import_job_response.type #=> String
|
2090
2301
|
#
|
2302
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetImportJob AWS API Documentation
|
2303
|
+
#
|
2091
2304
|
# @overload get_import_job(params = {})
|
2092
2305
|
# @param [Hash] params ({})
|
2093
2306
|
def get_import_job(params = {}, options = {})
|
@@ -2141,6 +2354,8 @@ module Aws::Pinpoint
|
|
2141
2354
|
# resp.import_jobs_response.item[0].type #=> String
|
2142
2355
|
# resp.import_jobs_response.next_token #=> String
|
2143
2356
|
#
|
2357
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetImportJobs AWS API Documentation
|
2358
|
+
#
|
2144
2359
|
# @overload get_import_jobs(params = {})
|
2145
2360
|
# @param [Hash] params ({})
|
2146
2361
|
def get_import_jobs(params = {}, options = {})
|
@@ -2213,6 +2428,8 @@ module Aws::Pinpoint
|
|
2213
2428
|
# resp.segment_response.segment_type #=> String, one of "DIMENSIONAL", "IMPORT"
|
2214
2429
|
# resp.segment_response.version #=> Integer
|
2215
2430
|
#
|
2431
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegment AWS API Documentation
|
2432
|
+
#
|
2216
2433
|
# @overload get_segment(params = {})
|
2217
2434
|
# @param [Hash] params ({})
|
2218
2435
|
def get_segment(params = {}, options = {})
|
@@ -2269,6 +2486,8 @@ module Aws::Pinpoint
|
|
2269
2486
|
# resp.import_jobs_response.item[0].type #=> String
|
2270
2487
|
# resp.import_jobs_response.next_token #=> String
|
2271
2488
|
#
|
2489
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegmentImportJobs AWS API Documentation
|
2490
|
+
#
|
2272
2491
|
# @overload get_segment_import_jobs(params = {})
|
2273
2492
|
# @param [Hash] params ({})
|
2274
2493
|
def get_segment_import_jobs(params = {}, options = {})
|
@@ -2344,6 +2563,8 @@ module Aws::Pinpoint
|
|
2344
2563
|
# resp.segment_response.segment_type #=> String, one of "DIMENSIONAL", "IMPORT"
|
2345
2564
|
# resp.segment_response.version #=> Integer
|
2346
2565
|
#
|
2566
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegmentVersion AWS API Documentation
|
2567
|
+
#
|
2347
2568
|
# @overload get_segment_version(params = {})
|
2348
2569
|
# @param [Hash] params ({})
|
2349
2570
|
def get_segment_version(params = {}, options = {})
|
@@ -2424,6 +2645,8 @@ module Aws::Pinpoint
|
|
2424
2645
|
# resp.segments_response.item[0].version #=> Integer
|
2425
2646
|
# resp.segments_response.next_token #=> String
|
2426
2647
|
#
|
2648
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegmentVersions AWS API Documentation
|
2649
|
+
#
|
2427
2650
|
# @overload get_segment_versions(params = {})
|
2428
2651
|
# @param [Hash] params ({})
|
2429
2652
|
def get_segment_versions(params = {}, options = {})
|
@@ -2501,6 +2724,8 @@ module Aws::Pinpoint
|
|
2501
2724
|
# resp.segments_response.item[0].version #=> Integer
|
2502
2725
|
# resp.segments_response.next_token #=> String
|
2503
2726
|
#
|
2727
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegments AWS API Documentation
|
2728
|
+
#
|
2504
2729
|
# @overload get_segments(params = {})
|
2505
2730
|
# @param [Hash] params ({})
|
2506
2731
|
def get_segments(params = {}, options = {})
|
@@ -2536,6 +2761,8 @@ module Aws::Pinpoint
|
|
2536
2761
|
# resp.sms_channel_response.short_code #=> String
|
2537
2762
|
# resp.sms_channel_response.version #=> Integer
|
2538
2763
|
#
|
2764
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSmsChannel AWS API Documentation
|
2765
|
+
#
|
2539
2766
|
# @overload get_sms_channel(params = {})
|
2540
2767
|
# @param [Hash] params ({})
|
2541
2768
|
def get_sms_channel(params = {}, options = {})
|
@@ -2546,10 +2773,9 @@ module Aws::Pinpoint
|
|
2546
2773
|
# Use to create or update the event stream for an app.
|
2547
2774
|
#
|
2548
2775
|
# @option params [required, String] :application_id
|
2549
|
-
# Application Id.
|
2550
2776
|
#
|
2551
2777
|
# @option params [required, Types::WriteEventStream] :write_event_stream
|
2552
|
-
#
|
2778
|
+
# Request to save an EventStream.
|
2553
2779
|
#
|
2554
2780
|
# @return [Types::PutEventStreamResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2555
2781
|
#
|
@@ -2561,6 +2787,7 @@ module Aws::Pinpoint
|
|
2561
2787
|
# application_id: "__string", # required
|
2562
2788
|
# write_event_stream: { # required
|
2563
2789
|
# destination_stream_arn: "__string",
|
2790
|
+
# external_id: "__string",
|
2564
2791
|
# role_arn: "__string",
|
2565
2792
|
# },
|
2566
2793
|
# })
|
@@ -2574,6 +2801,8 @@ module Aws::Pinpoint
|
|
2574
2801
|
# resp.event_stream.last_updated_by #=> String
|
2575
2802
|
# resp.event_stream.role_arn #=> String
|
2576
2803
|
#
|
2804
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/PutEventStream AWS API Documentation
|
2805
|
+
#
|
2577
2806
|
# @overload put_event_stream(params = {})
|
2578
2807
|
# @param [Hash] params ({})
|
2579
2808
|
def put_event_stream(params = {}, options = {})
|
@@ -2600,7 +2829,7 @@ module Aws::Pinpoint
|
|
2600
2829
|
# addresses: {
|
2601
2830
|
# "__string" => {
|
2602
2831
|
# body_override: "__string",
|
2603
|
-
# channel_type: "GCM", # accepts GCM, APNS, APNS_SANDBOX, ADM, SMS, EMAIL
|
2832
|
+
# channel_type: "GCM", # accepts GCM, APNS, APNS_SANDBOX, ADM, SMS, EMAIL, BAIDU
|
2604
2833
|
# context: {
|
2605
2834
|
# "__string" => "__string",
|
2606
2835
|
# },
|
@@ -2611,10 +2840,49 @@ module Aws::Pinpoint
|
|
2611
2840
|
# title_override: "__string",
|
2612
2841
|
# },
|
2613
2842
|
# },
|
2843
|
+
# campaign: {
|
2844
|
+
# "__string" => "__string",
|
2845
|
+
# },
|
2614
2846
|
# context: {
|
2615
2847
|
# "__string" => "__string",
|
2616
2848
|
# },
|
2849
|
+
# endpoints: {
|
2850
|
+
# "__string" => {
|
2851
|
+
# body_override: "__string",
|
2852
|
+
# context: {
|
2853
|
+
# "__string" => "__string",
|
2854
|
+
# },
|
2855
|
+
# raw_content: "__string",
|
2856
|
+
# substitutions: {
|
2857
|
+
# "__string" => ["__string"],
|
2858
|
+
# },
|
2859
|
+
# title_override: "__string",
|
2860
|
+
# },
|
2861
|
+
# },
|
2617
2862
|
# message_configuration: {
|
2863
|
+
# adm_message: {
|
2864
|
+
# action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
|
2865
|
+
# body: "__string",
|
2866
|
+
# consolidation_key: "__string",
|
2867
|
+
# data: {
|
2868
|
+
# "__string" => "__string",
|
2869
|
+
# },
|
2870
|
+
# expires_after: "__string",
|
2871
|
+
# icon_reference: "__string",
|
2872
|
+
# image_icon_url: "__string",
|
2873
|
+
# image_url: "__string",
|
2874
|
+
# json_data: "__string",
|
2875
|
+
# md5: "__string",
|
2876
|
+
# raw_content: "__string",
|
2877
|
+
# silent_push: false,
|
2878
|
+
# small_image_icon_url: "__string",
|
2879
|
+
# sound: "__string",
|
2880
|
+
# substitutions: {
|
2881
|
+
# "__string" => ["__string"],
|
2882
|
+
# },
|
2883
|
+
# title: "__string",
|
2884
|
+
# url: "__string",
|
2885
|
+
# },
|
2618
2886
|
# apns_message: {
|
2619
2887
|
# action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
|
2620
2888
|
# badge: 1,
|
@@ -2623,7 +2891,9 @@ module Aws::Pinpoint
|
|
2623
2891
|
# data: {
|
2624
2892
|
# "__string" => "__string",
|
2625
2893
|
# },
|
2894
|
+
# json_data: "__string",
|
2626
2895
|
# media_url: "__string",
|
2896
|
+
# preferred_authentication_method: "__string",
|
2627
2897
|
# raw_content: "__string",
|
2628
2898
|
# silent_push: false,
|
2629
2899
|
# sound: "__string",
|
@@ -2634,6 +2904,26 @@ module Aws::Pinpoint
|
|
2634
2904
|
# title: "__string",
|
2635
2905
|
# url: "__string",
|
2636
2906
|
# },
|
2907
|
+
# baidu_message: {
|
2908
|
+
# action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
|
2909
|
+
# body: "__string",
|
2910
|
+
# data: {
|
2911
|
+
# "__string" => "__string",
|
2912
|
+
# },
|
2913
|
+
# icon_reference: "__string",
|
2914
|
+
# image_icon_url: "__string",
|
2915
|
+
# image_url: "__string",
|
2916
|
+
# json_data: "__string",
|
2917
|
+
# raw_content: "__string",
|
2918
|
+
# silent_push: false,
|
2919
|
+
# small_image_icon_url: "__string",
|
2920
|
+
# sound: "__string",
|
2921
|
+
# substitutions: {
|
2922
|
+
# "__string" => ["__string"],
|
2923
|
+
# },
|
2924
|
+
# title: "__string",
|
2925
|
+
# url: "__string",
|
2926
|
+
# },
|
2637
2927
|
# default_message: {
|
2638
2928
|
# body: "__string",
|
2639
2929
|
# substitutions: {
|
@@ -2646,6 +2936,7 @@ module Aws::Pinpoint
|
|
2646
2936
|
# data: {
|
2647
2937
|
# "__string" => "__string",
|
2648
2938
|
# },
|
2939
|
+
# json_data: "__string",
|
2649
2940
|
# silent_push: false,
|
2650
2941
|
# substitutions: {
|
2651
2942
|
# "__string" => ["__string"],
|
@@ -2653,6 +2944,16 @@ module Aws::Pinpoint
|
|
2653
2944
|
# title: "__string",
|
2654
2945
|
# url: "__string",
|
2655
2946
|
# },
|
2947
|
+
# email_message: {
|
2948
|
+
# body: "__string",
|
2949
|
+
# from_address: "__string",
|
2950
|
+
# html_body: "__string",
|
2951
|
+
# substitutions: {
|
2952
|
+
# "__string" => ["__string"],
|
2953
|
+
# },
|
2954
|
+
# template_arn: "__string",
|
2955
|
+
# title: "__string",
|
2956
|
+
# },
|
2656
2957
|
# gcm_message: {
|
2657
2958
|
# action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
|
2658
2959
|
# body: "__string",
|
@@ -2663,6 +2964,7 @@ module Aws::Pinpoint
|
|
2663
2964
|
# icon_reference: "__string",
|
2664
2965
|
# image_icon_url: "__string",
|
2665
2966
|
# image_url: "__string",
|
2967
|
+
# json_data: "__string",
|
2666
2968
|
# raw_content: "__string",
|
2667
2969
|
# restricted_package_name: "__string",
|
2668
2970
|
# silent_push: false,
|
@@ -2683,19 +2985,28 @@ module Aws::Pinpoint
|
|
2683
2985
|
# },
|
2684
2986
|
# },
|
2685
2987
|
# },
|
2988
|
+
# request_id: "__string",
|
2686
2989
|
# },
|
2687
2990
|
# })
|
2688
2991
|
#
|
2689
2992
|
# @example Response structure
|
2690
2993
|
#
|
2691
2994
|
# resp.message_response.application_id #=> String
|
2995
|
+
# resp.message_response.endpoint_result #=> Hash
|
2996
|
+
# resp.message_response.endpoint_result["__string"].address #=> String
|
2997
|
+
# resp.message_response.endpoint_result["__string"].delivery_status #=> String, one of "SUCCESSFUL", "THROTTLED", "TEMPORARY_FAILURE", "PERMANENT_FAILURE", "UNKNOWN_FAILURE", "OPT_OUT", "DUPLICATE"
|
2998
|
+
# resp.message_response.endpoint_result["__string"].status_code #=> Integer
|
2999
|
+
# resp.message_response.endpoint_result["__string"].status_message #=> String
|
3000
|
+
# resp.message_response.endpoint_result["__string"].updated_token #=> String
|
2692
3001
|
# resp.message_response.request_id #=> String
|
2693
3002
|
# resp.message_response.result #=> Hash
|
2694
|
-
# resp.message_response.result["__string"].delivery_status #=> String, one of "SUCCESSFUL", "THROTTLED", "TEMPORARY_FAILURE", "PERMANENT_FAILURE"
|
3003
|
+
# resp.message_response.result["__string"].delivery_status #=> String, one of "SUCCESSFUL", "THROTTLED", "TEMPORARY_FAILURE", "PERMANENT_FAILURE", "UNKNOWN_FAILURE", "OPT_OUT", "DUPLICATE"
|
2695
3004
|
# resp.message_response.result["__string"].status_code #=> Integer
|
2696
3005
|
# resp.message_response.result["__string"].status_message #=> String
|
2697
3006
|
# resp.message_response.result["__string"].updated_token #=> String
|
2698
3007
|
#
|
3008
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SendMessages AWS API Documentation
|
3009
|
+
#
|
2699
3010
|
# @overload send_messages(params = {})
|
2700
3011
|
# @param [Hash] params ({})
|
2701
3012
|
def send_messages(params = {}, options = {})
|
@@ -2703,6 +3014,232 @@ module Aws::Pinpoint
|
|
2703
3014
|
req.send_request(options)
|
2704
3015
|
end
|
2705
3016
|
|
3017
|
+
# Send a batch of messages to users
|
3018
|
+
#
|
3019
|
+
# @option params [required, String] :application_id
|
3020
|
+
#
|
3021
|
+
# @option params [required, Types::SendUsersMessageRequest] :send_users_message_request
|
3022
|
+
# Send message request.
|
3023
|
+
#
|
3024
|
+
# @return [Types::SendUsersMessagesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3025
|
+
#
|
3026
|
+
# * {Types::SendUsersMessagesResponse#send_users_message_response #send_users_message_response} => Types::SendUsersMessageResponse
|
3027
|
+
#
|
3028
|
+
# @example Request syntax with placeholder values
|
3029
|
+
#
|
3030
|
+
# resp = client.send_users_messages({
|
3031
|
+
# application_id: "__string", # required
|
3032
|
+
# send_users_message_request: { # required
|
3033
|
+
# context: {
|
3034
|
+
# "__string" => "__string",
|
3035
|
+
# },
|
3036
|
+
# message_configuration: {
|
3037
|
+
# adm_message: {
|
3038
|
+
# action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
|
3039
|
+
# body: "__string",
|
3040
|
+
# consolidation_key: "__string",
|
3041
|
+
# data: {
|
3042
|
+
# "__string" => "__string",
|
3043
|
+
# },
|
3044
|
+
# expires_after: "__string",
|
3045
|
+
# icon_reference: "__string",
|
3046
|
+
# image_icon_url: "__string",
|
3047
|
+
# image_url: "__string",
|
3048
|
+
# json_data: "__string",
|
3049
|
+
# md5: "__string",
|
3050
|
+
# raw_content: "__string",
|
3051
|
+
# silent_push: false,
|
3052
|
+
# small_image_icon_url: "__string",
|
3053
|
+
# sound: "__string",
|
3054
|
+
# substitutions: {
|
3055
|
+
# "__string" => ["__string"],
|
3056
|
+
# },
|
3057
|
+
# title: "__string",
|
3058
|
+
# url: "__string",
|
3059
|
+
# },
|
3060
|
+
# apns_message: {
|
3061
|
+
# action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
|
3062
|
+
# badge: 1,
|
3063
|
+
# body: "__string",
|
3064
|
+
# category: "__string",
|
3065
|
+
# data: {
|
3066
|
+
# "__string" => "__string",
|
3067
|
+
# },
|
3068
|
+
# json_data: "__string",
|
3069
|
+
# media_url: "__string",
|
3070
|
+
# preferred_authentication_method: "__string",
|
3071
|
+
# raw_content: "__string",
|
3072
|
+
# silent_push: false,
|
3073
|
+
# sound: "__string",
|
3074
|
+
# substitutions: {
|
3075
|
+
# "__string" => ["__string"],
|
3076
|
+
# },
|
3077
|
+
# thread_id: "__string",
|
3078
|
+
# title: "__string",
|
3079
|
+
# url: "__string",
|
3080
|
+
# },
|
3081
|
+
# baidu_message: {
|
3082
|
+
# action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
|
3083
|
+
# body: "__string",
|
3084
|
+
# data: {
|
3085
|
+
# "__string" => "__string",
|
3086
|
+
# },
|
3087
|
+
# icon_reference: "__string",
|
3088
|
+
# image_icon_url: "__string",
|
3089
|
+
# image_url: "__string",
|
3090
|
+
# json_data: "__string",
|
3091
|
+
# raw_content: "__string",
|
3092
|
+
# silent_push: false,
|
3093
|
+
# small_image_icon_url: "__string",
|
3094
|
+
# sound: "__string",
|
3095
|
+
# substitutions: {
|
3096
|
+
# "__string" => ["__string"],
|
3097
|
+
# },
|
3098
|
+
# title: "__string",
|
3099
|
+
# url: "__string",
|
3100
|
+
# },
|
3101
|
+
# default_message: {
|
3102
|
+
# body: "__string",
|
3103
|
+
# substitutions: {
|
3104
|
+
# "__string" => ["__string"],
|
3105
|
+
# },
|
3106
|
+
# },
|
3107
|
+
# default_push_notification_message: {
|
3108
|
+
# action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
|
3109
|
+
# body: "__string",
|
3110
|
+
# data: {
|
3111
|
+
# "__string" => "__string",
|
3112
|
+
# },
|
3113
|
+
# json_data: "__string",
|
3114
|
+
# silent_push: false,
|
3115
|
+
# substitutions: {
|
3116
|
+
# "__string" => ["__string"],
|
3117
|
+
# },
|
3118
|
+
# title: "__string",
|
3119
|
+
# url: "__string",
|
3120
|
+
# },
|
3121
|
+
# email_message: {
|
3122
|
+
# body: "__string",
|
3123
|
+
# from_address: "__string",
|
3124
|
+
# html_body: "__string",
|
3125
|
+
# substitutions: {
|
3126
|
+
# "__string" => ["__string"],
|
3127
|
+
# },
|
3128
|
+
# template_arn: "__string",
|
3129
|
+
# title: "__string",
|
3130
|
+
# },
|
3131
|
+
# gcm_message: {
|
3132
|
+
# action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
|
3133
|
+
# body: "__string",
|
3134
|
+
# collapse_key: "__string",
|
3135
|
+
# data: {
|
3136
|
+
# "__string" => "__string",
|
3137
|
+
# },
|
3138
|
+
# icon_reference: "__string",
|
3139
|
+
# image_icon_url: "__string",
|
3140
|
+
# image_url: "__string",
|
3141
|
+
# json_data: "__string",
|
3142
|
+
# raw_content: "__string",
|
3143
|
+
# restricted_package_name: "__string",
|
3144
|
+
# silent_push: false,
|
3145
|
+
# small_image_icon_url: "__string",
|
3146
|
+
# sound: "__string",
|
3147
|
+
# substitutions: {
|
3148
|
+
# "__string" => ["__string"],
|
3149
|
+
# },
|
3150
|
+
# title: "__string",
|
3151
|
+
# url: "__string",
|
3152
|
+
# },
|
3153
|
+
# sms_message: {
|
3154
|
+
# body: "__string",
|
3155
|
+
# message_type: "TRANSACTIONAL", # accepts TRANSACTIONAL, PROMOTIONAL
|
3156
|
+
# sender_id: "__string",
|
3157
|
+
# substitutions: {
|
3158
|
+
# "__string" => ["__string"],
|
3159
|
+
# },
|
3160
|
+
# },
|
3161
|
+
# },
|
3162
|
+
# request_id: "__string",
|
3163
|
+
# users: {
|
3164
|
+
# "__string" => {
|
3165
|
+
# body_override: "__string",
|
3166
|
+
# context: {
|
3167
|
+
# "__string" => "__string",
|
3168
|
+
# },
|
3169
|
+
# raw_content: "__string",
|
3170
|
+
# substitutions: {
|
3171
|
+
# "__string" => ["__string"],
|
3172
|
+
# },
|
3173
|
+
# title_override: "__string",
|
3174
|
+
# },
|
3175
|
+
# },
|
3176
|
+
# },
|
3177
|
+
# })
|
3178
|
+
#
|
3179
|
+
# @example Response structure
|
3180
|
+
#
|
3181
|
+
# resp.send_users_message_response.application_id #=> String
|
3182
|
+
# resp.send_users_message_response.request_id #=> String
|
3183
|
+
# resp.send_users_message_response.result #=> Hash
|
3184
|
+
# resp.send_users_message_response.result["__string"] #=> Hash
|
3185
|
+
# resp.send_users_message_response.result["__string"]["__string"].address #=> String
|
3186
|
+
# resp.send_users_message_response.result["__string"]["__string"].delivery_status #=> String, one of "SUCCESSFUL", "THROTTLED", "TEMPORARY_FAILURE", "PERMANENT_FAILURE", "UNKNOWN_FAILURE", "OPT_OUT", "DUPLICATE"
|
3187
|
+
# resp.send_users_message_response.result["__string"]["__string"].status_code #=> Integer
|
3188
|
+
# resp.send_users_message_response.result["__string"]["__string"].status_message #=> String
|
3189
|
+
# resp.send_users_message_response.result["__string"]["__string"].updated_token #=> String
|
3190
|
+
#
|
3191
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SendUsersMessages AWS API Documentation
|
3192
|
+
#
|
3193
|
+
# @overload send_users_messages(params = {})
|
3194
|
+
# @param [Hash] params ({})
|
3195
|
+
def send_users_messages(params = {}, options = {})
|
3196
|
+
req = build_request(:send_users_messages, params)
|
3197
|
+
req.send_request(options)
|
3198
|
+
end
|
3199
|
+
|
3200
|
+
# Update an ADM channel
|
3201
|
+
#
|
3202
|
+
# @option params [required, Types::ADMChannelRequest] :adm_channel_request
|
3203
|
+
# Amazon Device Messaging channel definition.
|
3204
|
+
#
|
3205
|
+
# @option params [required, String] :application_id
|
3206
|
+
#
|
3207
|
+
# @return [Types::UpdateAdmChannelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3208
|
+
#
|
3209
|
+
# * {Types::UpdateAdmChannelResponse#adm_channel_response #adm_channel_response} => Types::ADMChannelResponse
|
3210
|
+
#
|
3211
|
+
# @example Request syntax with placeholder values
|
3212
|
+
#
|
3213
|
+
# resp = client.update_adm_channel({
|
3214
|
+
# adm_channel_request: { # required
|
3215
|
+
# client_id: "__string",
|
3216
|
+
# client_secret: "__string",
|
3217
|
+
# enabled: false,
|
3218
|
+
# },
|
3219
|
+
# application_id: "__string", # required
|
3220
|
+
# })
|
3221
|
+
#
|
3222
|
+
# @example Response structure
|
3223
|
+
#
|
3224
|
+
# resp.adm_channel_response.application_id #=> String
|
3225
|
+
# resp.adm_channel_response.creation_date #=> String
|
3226
|
+
# resp.adm_channel_response.enabled #=> Boolean
|
3227
|
+
# resp.adm_channel_response.id #=> String
|
3228
|
+
# resp.adm_channel_response.is_archived #=> Boolean
|
3229
|
+
# resp.adm_channel_response.last_modified_by #=> String
|
3230
|
+
# resp.adm_channel_response.last_modified_date #=> String
|
3231
|
+
# resp.adm_channel_response.platform #=> String
|
3232
|
+
# resp.adm_channel_response.version #=> Integer
|
3233
|
+
#
|
3234
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateAdmChannel AWS API Documentation
|
3235
|
+
#
|
3236
|
+
# @overload update_adm_channel(params = {})
|
3237
|
+
# @param [Hash] params ({})
|
3238
|
+
def update_adm_channel(params = {}, options = {})
|
3239
|
+
req = build_request(:update_adm_channel, params)
|
3240
|
+
req.send_request(options)
|
3241
|
+
end
|
3242
|
+
|
2706
3243
|
# Use to update the APNs channel for an app.
|
2707
3244
|
#
|
2708
3245
|
# @option params [required, Types::APNSChannelRequest] :apns_channel_request
|
@@ -2718,9 +3255,14 @@ module Aws::Pinpoint
|
|
2718
3255
|
#
|
2719
3256
|
# resp = client.update_apns_channel({
|
2720
3257
|
# apns_channel_request: { # required
|
3258
|
+
# bundle_id: "__string",
|
2721
3259
|
# certificate: "__string",
|
3260
|
+
# default_authentication_method: "__string",
|
2722
3261
|
# enabled: false,
|
2723
3262
|
# private_key: "__string",
|
3263
|
+
# team_id: "__string",
|
3264
|
+
# token_key: "__string",
|
3265
|
+
# token_key_id: "__string",
|
2724
3266
|
# },
|
2725
3267
|
# application_id: "__string", # required
|
2726
3268
|
# })
|
@@ -2737,6 +3279,8 @@ module Aws::Pinpoint
|
|
2737
3279
|
# resp.apns_channel_response.platform #=> String
|
2738
3280
|
# resp.apns_channel_response.version #=> Integer
|
2739
3281
|
#
|
3282
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateApnsChannel AWS API Documentation
|
3283
|
+
#
|
2740
3284
|
# @overload update_apns_channel(params = {})
|
2741
3285
|
# @param [Hash] params ({})
|
2742
3286
|
def update_apns_channel(params = {}, options = {})
|
@@ -2759,9 +3303,14 @@ module Aws::Pinpoint
|
|
2759
3303
|
#
|
2760
3304
|
# resp = client.update_apns_sandbox_channel({
|
2761
3305
|
# apns_sandbox_channel_request: { # required
|
3306
|
+
# bundle_id: "__string",
|
2762
3307
|
# certificate: "__string",
|
3308
|
+
# default_authentication_method: "__string",
|
2763
3309
|
# enabled: false,
|
2764
3310
|
# private_key: "__string",
|
3311
|
+
# team_id: "__string",
|
3312
|
+
# token_key: "__string",
|
3313
|
+
# token_key_id: "__string",
|
2765
3314
|
# },
|
2766
3315
|
# application_id: "__string", # required
|
2767
3316
|
# })
|
@@ -2778,6 +3327,8 @@ module Aws::Pinpoint
|
|
2778
3327
|
# resp.apns_sandbox_channel_response.platform #=> String
|
2779
3328
|
# resp.apns_sandbox_channel_response.version #=> Integer
|
2780
3329
|
#
|
3330
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateApnsSandboxChannel AWS API Documentation
|
3331
|
+
#
|
2781
3332
|
# @overload update_apns_sandbox_channel(params = {})
|
2782
3333
|
# @param [Hash] params ({})
|
2783
3334
|
def update_apns_sandbox_channel(params = {}, options = {})
|
@@ -2803,6 +3354,8 @@ module Aws::Pinpoint
|
|
2803
3354
|
# write_application_settings_request: { # required
|
2804
3355
|
# limits: {
|
2805
3356
|
# daily: 1,
|
3357
|
+
# maximum_duration: 1,
|
3358
|
+
# messages_per_second: 1,
|
2806
3359
|
# total: 1,
|
2807
3360
|
# },
|
2808
3361
|
# quiet_time: {
|
@@ -2817,10 +3370,14 @@ module Aws::Pinpoint
|
|
2817
3370
|
# resp.application_settings_resource.application_id #=> String
|
2818
3371
|
# resp.application_settings_resource.last_modified_date #=> String
|
2819
3372
|
# resp.application_settings_resource.limits.daily #=> Integer
|
3373
|
+
# resp.application_settings_resource.limits.maximum_duration #=> Integer
|
3374
|
+
# resp.application_settings_resource.limits.messages_per_second #=> Integer
|
2820
3375
|
# resp.application_settings_resource.limits.total #=> Integer
|
2821
3376
|
# resp.application_settings_resource.quiet_time.end #=> String
|
2822
3377
|
# resp.application_settings_resource.quiet_time.start #=> String
|
2823
3378
|
#
|
3379
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateApplicationSettings AWS API Documentation
|
3380
|
+
#
|
2824
3381
|
# @overload update_application_settings(params = {})
|
2825
3382
|
# @param [Hash] params ({})
|
2826
3383
|
def update_application_settings(params = {}, options = {})
|
@@ -2828,6 +3385,50 @@ module Aws::Pinpoint
|
|
2828
3385
|
req.send_request(options)
|
2829
3386
|
end
|
2830
3387
|
|
3388
|
+
# Update a BAIDU GCM channel
|
3389
|
+
#
|
3390
|
+
# @option params [required, String] :application_id
|
3391
|
+
#
|
3392
|
+
# @option params [required, Types::BaiduChannelRequest] :baidu_channel_request
|
3393
|
+
# Baidu Cloud Push credentials
|
3394
|
+
#
|
3395
|
+
# @return [Types::UpdateBaiduChannelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3396
|
+
#
|
3397
|
+
# * {Types::UpdateBaiduChannelResponse#baidu_channel_response #baidu_channel_response} => Types::BaiduChannelResponse
|
3398
|
+
#
|
3399
|
+
# @example Request syntax with placeholder values
|
3400
|
+
#
|
3401
|
+
# resp = client.update_baidu_channel({
|
3402
|
+
# application_id: "__string", # required
|
3403
|
+
# baidu_channel_request: { # required
|
3404
|
+
# api_key: "__string",
|
3405
|
+
# enabled: false,
|
3406
|
+
# secret_key: "__string",
|
3407
|
+
# },
|
3408
|
+
# })
|
3409
|
+
#
|
3410
|
+
# @example Response structure
|
3411
|
+
#
|
3412
|
+
# resp.baidu_channel_response.application_id #=> String
|
3413
|
+
# resp.baidu_channel_response.creation_date #=> String
|
3414
|
+
# resp.baidu_channel_response.credential #=> String
|
3415
|
+
# resp.baidu_channel_response.enabled #=> Boolean
|
3416
|
+
# resp.baidu_channel_response.id #=> String
|
3417
|
+
# resp.baidu_channel_response.is_archived #=> Boolean
|
3418
|
+
# resp.baidu_channel_response.last_modified_by #=> String
|
3419
|
+
# resp.baidu_channel_response.last_modified_date #=> String
|
3420
|
+
# resp.baidu_channel_response.platform #=> String
|
3421
|
+
# resp.baidu_channel_response.version #=> Integer
|
3422
|
+
#
|
3423
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateBaiduChannel AWS API Documentation
|
3424
|
+
#
|
3425
|
+
# @overload update_baidu_channel(params = {})
|
3426
|
+
# @param [Hash] params ({})
|
3427
|
+
def update_baidu_channel(params = {}, options = {})
|
3428
|
+
req = build_request(:update_baidu_channel, params)
|
3429
|
+
req.send_request(options)
|
3430
|
+
end
|
3431
|
+
|
2831
3432
|
# Use to update a campaign.
|
2832
3433
|
#
|
2833
3434
|
# @option params [required, String] :application_id
|
@@ -2922,6 +3523,8 @@ module Aws::Pinpoint
|
|
2922
3523
|
# is_paused: false,
|
2923
3524
|
# limits: {
|
2924
3525
|
# daily: 1,
|
3526
|
+
# maximum_duration: 1,
|
3527
|
+
# messages_per_second: 1,
|
2925
3528
|
# total: 1,
|
2926
3529
|
# },
|
2927
3530
|
# message_configuration: {
|
@@ -2990,6 +3593,7 @@ module Aws::Pinpoint
|
|
2990
3593
|
# },
|
2991
3594
|
# segment_id: "__string",
|
2992
3595
|
# segment_version: 1,
|
3596
|
+
# trace: false,
|
2993
3597
|
# treatment_description: "__string",
|
2994
3598
|
# treatment_name: "__string",
|
2995
3599
|
# },
|
@@ -3059,6 +3663,8 @@ module Aws::Pinpoint
|
|
3059
3663
|
# resp.campaign_response.is_paused #=> Boolean
|
3060
3664
|
# resp.campaign_response.last_modified_date #=> String
|
3061
3665
|
# resp.campaign_response.limits.daily #=> Integer
|
3666
|
+
# resp.campaign_response.limits.maximum_duration #=> Integer
|
3667
|
+
# resp.campaign_response.limits.messages_per_second #=> Integer
|
3062
3668
|
# resp.campaign_response.limits.total #=> Integer
|
3063
3669
|
# resp.campaign_response.message_configuration.apns_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
3064
3670
|
# resp.campaign_response.message_configuration.apns_message.body #=> String
|
@@ -3115,6 +3721,8 @@ module Aws::Pinpoint
|
|
3115
3721
|
# resp.campaign_response.treatment_name #=> String
|
3116
3722
|
# resp.campaign_response.version #=> Integer
|
3117
3723
|
#
|
3724
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateCampaign AWS API Documentation
|
3725
|
+
#
|
3118
3726
|
# @overload update_campaign(params = {})
|
3119
3727
|
# @param [Hash] params ({})
|
3120
3728
|
def update_campaign(params = {}, options = {})
|
@@ -3160,6 +3768,8 @@ module Aws::Pinpoint
|
|
3160
3768
|
# resp.email_channel_response.role_arn #=> String
|
3161
3769
|
# resp.email_channel_response.version #=> Integer
|
3162
3770
|
#
|
3771
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateEmailChannel AWS API Documentation
|
3772
|
+
#
|
3163
3773
|
# @overload update_email_channel(params = {})
|
3164
3774
|
# @param [Hash] params ({})
|
3165
3775
|
def update_email_channel(params = {}, options = {})
|
@@ -3190,7 +3800,7 @@ module Aws::Pinpoint
|
|
3190
3800
|
# attributes: {
|
3191
3801
|
# "__string" => ["__string"],
|
3192
3802
|
# },
|
3193
|
-
# channel_type: "GCM", # accepts GCM, APNS, APNS_SANDBOX, ADM, SMS, EMAIL
|
3803
|
+
# channel_type: "GCM", # accepts GCM, APNS, APNS_SANDBOX, ADM, SMS, EMAIL, BAIDU
|
3194
3804
|
# demographic: {
|
3195
3805
|
# app_version: "__string",
|
3196
3806
|
# locale: "__string",
|
@@ -3230,6 +3840,8 @@ module Aws::Pinpoint
|
|
3230
3840
|
# resp.message_body.message #=> String
|
3231
3841
|
# resp.message_body.request_id #=> String
|
3232
3842
|
#
|
3843
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateEndpoint AWS API Documentation
|
3844
|
+
#
|
3233
3845
|
# @overload update_endpoint(params = {})
|
3234
3846
|
# @param [Hash] params ({})
|
3235
3847
|
def update_endpoint(params = {}, options = {})
|
@@ -3259,7 +3871,7 @@ module Aws::Pinpoint
|
|
3259
3871
|
# attributes: {
|
3260
3872
|
# "__string" => ["__string"],
|
3261
3873
|
# },
|
3262
|
-
# channel_type: "GCM", # accepts GCM, APNS, APNS_SANDBOX, ADM, SMS, EMAIL
|
3874
|
+
# channel_type: "GCM", # accepts GCM, APNS, APNS_SANDBOX, ADM, SMS, EMAIL, BAIDU
|
3263
3875
|
# demographic: {
|
3264
3876
|
# app_version: "__string",
|
3265
3877
|
# locale: "__string",
|
@@ -3302,6 +3914,8 @@ module Aws::Pinpoint
|
|
3302
3914
|
# resp.message_body.message #=> String
|
3303
3915
|
# resp.message_body.request_id #=> String
|
3304
3916
|
#
|
3917
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateEndpointsBatch AWS API Documentation
|
3918
|
+
#
|
3305
3919
|
# @overload update_endpoints_batch(params = {})
|
3306
3920
|
# @param [Hash] params ({})
|
3307
3921
|
def update_endpoints_batch(params = {}, options = {})
|
@@ -3343,6 +3957,8 @@ module Aws::Pinpoint
|
|
3343
3957
|
# resp.gcm_channel_response.platform #=> String
|
3344
3958
|
# resp.gcm_channel_response.version #=> Integer
|
3345
3959
|
#
|
3960
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateGcmChannel AWS API Documentation
|
3961
|
+
#
|
3346
3962
|
# @overload update_gcm_channel(params = {})
|
3347
3963
|
# @param [Hash] params ({})
|
3348
3964
|
def update_gcm_channel(params = {}, options = {})
|
@@ -3473,6 +4089,8 @@ module Aws::Pinpoint
|
|
3473
4089
|
# resp.segment_response.segment_type #=> String, one of "DIMENSIONAL", "IMPORT"
|
3474
4090
|
# resp.segment_response.version #=> Integer
|
3475
4091
|
#
|
4092
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateSegment AWS API Documentation
|
4093
|
+
#
|
3476
4094
|
# @overload update_segment(params = {})
|
3477
4095
|
# @param [Hash] params ({})
|
3478
4096
|
def update_segment(params = {}, options = {})
|
@@ -3498,6 +4116,7 @@ module Aws::Pinpoint
|
|
3498
4116
|
# sms_channel_request: { # required
|
3499
4117
|
# enabled: false,
|
3500
4118
|
# sender_id: "__string",
|
4119
|
+
# short_code: "__string",
|
3501
4120
|
# },
|
3502
4121
|
# })
|
3503
4122
|
#
|
@@ -3515,6 +4134,8 @@ module Aws::Pinpoint
|
|
3515
4134
|
# resp.sms_channel_response.short_code #=> String
|
3516
4135
|
# resp.sms_channel_response.version #=> Integer
|
3517
4136
|
#
|
4137
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateSmsChannel AWS API Documentation
|
4138
|
+
#
|
3518
4139
|
# @overload update_sms_channel(params = {})
|
3519
4140
|
# @param [Hash] params ({})
|
3520
4141
|
def update_sms_channel(params = {}, options = {})
|
@@ -3535,7 +4156,7 @@ module Aws::Pinpoint
|
|
3535
4156
|
params: params,
|
3536
4157
|
config: config)
|
3537
4158
|
context[:gem_name] = 'aws-sdk-pinpoint'
|
3538
|
-
context[:gem_version] = '1.
|
4159
|
+
context[:gem_version] = '1.1.0'
|
3539
4160
|
Seahorse::Client::Request.new(handlers, context)
|
3540
4161
|
end
|
3541
4162
|
|