aws-sdk-pinpoint 1.2.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-pinpoint.rb +1 -1
- data/lib/aws-sdk-pinpoint/client.rb +252 -13
- data/lib/aws-sdk-pinpoint/client_api.rb +152 -0
- data/lib/aws-sdk-pinpoint/types.rb +530 -60
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 94e01c71484d5bd5b9c6112abb306f5caf3642a3
|
4
|
+
data.tar.gz: f86111a0348617f6496d4f07a168337f6b20b5b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 11de79aa56532929d67b9238457be610f2d77dea6f4e6f1f7b9c222700d603e83102b4170de67d19270d33db67b9fd1359f19a6ee263a83e749cd7075b4e11d6
|
7
|
+
data.tar.gz: a11f2bc603ba6e9d44724b822039bd08a220a0d4c5505fb811517aceba059d24ea05210eaaf3018cbf4dd74a9fa7a7c1b9e34839bb6b5baacefc10364a7f4f53
|
data/lib/aws-sdk-pinpoint.rb
CHANGED
@@ -290,6 +290,11 @@ module Aws::Pinpoint
|
|
290
290
|
# ],
|
291
291
|
# description: "__string",
|
292
292
|
# holdout_percent: 1,
|
293
|
+
# hook: {
|
294
|
+
# lambda_function_name: "__string",
|
295
|
+
# mode: "DELIVERY", # accepts DELIVERY, FILTER
|
296
|
+
# web_url: "__string",
|
297
|
+
# },
|
293
298
|
# is_paused: false,
|
294
299
|
# limits: {
|
295
300
|
# daily: 1,
|
@@ -476,6 +481,9 @@ module Aws::Pinpoint
|
|
476
481
|
# resp.campaign_response.default_state.campaign_status #=> String, one of "SCHEDULED", "EXECUTING", "PENDING_NEXT_RUN", "COMPLETED", "PAUSED"
|
477
482
|
# resp.campaign_response.description #=> String
|
478
483
|
# resp.campaign_response.holdout_percent #=> Integer
|
484
|
+
# resp.campaign_response.hook.lambda_function_name #=> String
|
485
|
+
# resp.campaign_response.hook.mode #=> String, one of "DELIVERY", "FILTER"
|
486
|
+
# resp.campaign_response.hook.web_url #=> String
|
479
487
|
# resp.campaign_response.id #=> String
|
480
488
|
# resp.campaign_response.is_paused #=> Boolean
|
481
489
|
# resp.campaign_response.last_modified_date #=> String
|
@@ -569,6 +577,55 @@ module Aws::Pinpoint
|
|
569
577
|
req.send_request(options)
|
570
578
|
end
|
571
579
|
|
580
|
+
# Creates an export job.
|
581
|
+
#
|
582
|
+
# @option params [required, String] :application_id
|
583
|
+
#
|
584
|
+
# @option params [required, Types::ExportJobRequest] :export_job_request
|
585
|
+
#
|
586
|
+
# @return [Types::CreateExportJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
587
|
+
#
|
588
|
+
# * {Types::CreateExportJobResponse#export_job_response #export_job_response} => Types::ExportJobResponse
|
589
|
+
#
|
590
|
+
# @example Request syntax with placeholder values
|
591
|
+
#
|
592
|
+
# resp = client.create_export_job({
|
593
|
+
# application_id: "__string", # required
|
594
|
+
# export_job_request: { # required
|
595
|
+
# role_arn: "__string",
|
596
|
+
# s3_url_prefix: "__string",
|
597
|
+
# segment_id: "__string",
|
598
|
+
# },
|
599
|
+
# })
|
600
|
+
#
|
601
|
+
# @example Response structure
|
602
|
+
#
|
603
|
+
# resp.export_job_response.application_id #=> String
|
604
|
+
# resp.export_job_response.completed_pieces #=> Integer
|
605
|
+
# resp.export_job_response.completion_date #=> String
|
606
|
+
# resp.export_job_response.creation_date #=> String
|
607
|
+
# resp.export_job_response.definition.role_arn #=> String
|
608
|
+
# resp.export_job_response.definition.s3_url_prefix #=> String
|
609
|
+
# resp.export_job_response.definition.segment_id #=> String
|
610
|
+
# resp.export_job_response.failed_pieces #=> Integer
|
611
|
+
# resp.export_job_response.failures #=> Array
|
612
|
+
# resp.export_job_response.failures[0] #=> String
|
613
|
+
# resp.export_job_response.id #=> String
|
614
|
+
# resp.export_job_response.job_status #=> String, one of "CREATED", "INITIALIZING", "PROCESSING", "COMPLETING", "COMPLETED", "FAILING", "FAILED"
|
615
|
+
# resp.export_job_response.total_failures #=> Integer
|
616
|
+
# resp.export_job_response.total_pieces #=> Integer
|
617
|
+
# resp.export_job_response.total_processed #=> Integer
|
618
|
+
# resp.export_job_response.type #=> String
|
619
|
+
#
|
620
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateExportJob AWS API Documentation
|
621
|
+
#
|
622
|
+
# @overload create_export_job(params = {})
|
623
|
+
# @param [Hash] params ({})
|
624
|
+
def create_export_job(params = {}, options = {})
|
625
|
+
req = build_request(:create_export_job, params)
|
626
|
+
req.send_request(options)
|
627
|
+
end
|
628
|
+
|
572
629
|
# Creates or updates an import job.
|
573
630
|
#
|
574
631
|
# @option params [required, String] :application_id
|
@@ -869,7 +926,7 @@ module Aws::Pinpoint
|
|
869
926
|
req.send_request(options)
|
870
927
|
end
|
871
928
|
|
872
|
-
# Delete an APNS
|
929
|
+
# Delete an APNS VoIP channel
|
873
930
|
#
|
874
931
|
# @option params [required, String] :application_id
|
875
932
|
#
|
@@ -907,7 +964,7 @@ module Aws::Pinpoint
|
|
907
964
|
req.send_request(options)
|
908
965
|
end
|
909
966
|
|
910
|
-
# Delete an APNS
|
967
|
+
# Delete an APNS VoIP sandbox channel
|
911
968
|
#
|
912
969
|
# @option params [required, String] :application_id
|
913
970
|
#
|
@@ -1109,6 +1166,9 @@ module Aws::Pinpoint
|
|
1109
1166
|
# resp.campaign_response.default_state.campaign_status #=> String, one of "SCHEDULED", "EXECUTING", "PENDING_NEXT_RUN", "COMPLETED", "PAUSED"
|
1110
1167
|
# resp.campaign_response.description #=> String
|
1111
1168
|
# resp.campaign_response.holdout_percent #=> Integer
|
1169
|
+
# resp.campaign_response.hook.lambda_function_name #=> String
|
1170
|
+
# resp.campaign_response.hook.mode #=> String, one of "DELIVERY", "FILTER"
|
1171
|
+
# resp.campaign_response.hook.web_url #=> String
|
1112
1172
|
# resp.campaign_response.id #=> String
|
1113
1173
|
# resp.campaign_response.is_paused #=> Boolean
|
1114
1174
|
# resp.campaign_response.last_modified_date #=> String
|
@@ -1535,7 +1595,7 @@ module Aws::Pinpoint
|
|
1535
1595
|
req.send_request(options)
|
1536
1596
|
end
|
1537
1597
|
|
1538
|
-
# Get an APNS
|
1598
|
+
# Get an APNS VoIP channel
|
1539
1599
|
#
|
1540
1600
|
# @option params [required, String] :application_id
|
1541
1601
|
#
|
@@ -1573,7 +1633,7 @@ module Aws::Pinpoint
|
|
1573
1633
|
req.send_request(options)
|
1574
1634
|
end
|
1575
1635
|
|
1576
|
-
# Get an APNS
|
1636
|
+
# Get an APNS VoIPSandbox channel
|
1577
1637
|
#
|
1578
1638
|
# @option params [required, String] :application_id
|
1579
1639
|
#
|
@@ -1656,6 +1716,9 @@ module Aws::Pinpoint
|
|
1656
1716
|
# @example Response structure
|
1657
1717
|
#
|
1658
1718
|
# resp.application_settings_resource.application_id #=> String
|
1719
|
+
# resp.application_settings_resource.campaign_hook.lambda_function_name #=> String
|
1720
|
+
# resp.application_settings_resource.campaign_hook.mode #=> String, one of "DELIVERY", "FILTER"
|
1721
|
+
# resp.application_settings_resource.campaign_hook.web_url #=> String
|
1659
1722
|
# resp.application_settings_resource.last_modified_date #=> String
|
1660
1723
|
# resp.application_settings_resource.limits.daily #=> Integer
|
1661
1724
|
# resp.application_settings_resource.limits.maximum_duration #=> Integer
|
@@ -1842,6 +1905,9 @@ module Aws::Pinpoint
|
|
1842
1905
|
# resp.campaign_response.default_state.campaign_status #=> String, one of "SCHEDULED", "EXECUTING", "PENDING_NEXT_RUN", "COMPLETED", "PAUSED"
|
1843
1906
|
# resp.campaign_response.description #=> String
|
1844
1907
|
# resp.campaign_response.holdout_percent #=> Integer
|
1908
|
+
# resp.campaign_response.hook.lambda_function_name #=> String
|
1909
|
+
# resp.campaign_response.hook.mode #=> String, one of "DELIVERY", "FILTER"
|
1910
|
+
# resp.campaign_response.hook.web_url #=> String
|
1845
1911
|
# resp.campaign_response.id #=> String
|
1846
1912
|
# resp.campaign_response.is_paused #=> Boolean
|
1847
1913
|
# resp.campaign_response.last_modified_date #=> String
|
@@ -2086,6 +2152,9 @@ module Aws::Pinpoint
|
|
2086
2152
|
# resp.campaign_response.default_state.campaign_status #=> String, one of "SCHEDULED", "EXECUTING", "PENDING_NEXT_RUN", "COMPLETED", "PAUSED"
|
2087
2153
|
# resp.campaign_response.description #=> String
|
2088
2154
|
# resp.campaign_response.holdout_percent #=> Integer
|
2155
|
+
# resp.campaign_response.hook.lambda_function_name #=> String
|
2156
|
+
# resp.campaign_response.hook.mode #=> String, one of "DELIVERY", "FILTER"
|
2157
|
+
# resp.campaign_response.hook.web_url #=> String
|
2089
2158
|
# resp.campaign_response.id #=> String
|
2090
2159
|
# resp.campaign_response.is_paused #=> Boolean
|
2091
2160
|
# resp.campaign_response.last_modified_date #=> String
|
@@ -2285,6 +2354,9 @@ module Aws::Pinpoint
|
|
2285
2354
|
# resp.campaigns_response.item[0].default_state.campaign_status #=> String, one of "SCHEDULED", "EXECUTING", "PENDING_NEXT_RUN", "COMPLETED", "PAUSED"
|
2286
2355
|
# resp.campaigns_response.item[0].description #=> String
|
2287
2356
|
# resp.campaigns_response.item[0].holdout_percent #=> Integer
|
2357
|
+
# resp.campaigns_response.item[0].hook.lambda_function_name #=> String
|
2358
|
+
# resp.campaigns_response.item[0].hook.mode #=> String, one of "DELIVERY", "FILTER"
|
2359
|
+
# resp.campaigns_response.item[0].hook.web_url #=> String
|
2288
2360
|
# resp.campaigns_response.item[0].id #=> String
|
2289
2361
|
# resp.campaigns_response.item[0].is_paused #=> Boolean
|
2290
2362
|
# resp.campaigns_response.item[0].last_modified_date #=> String
|
@@ -2482,6 +2554,9 @@ module Aws::Pinpoint
|
|
2482
2554
|
# resp.campaigns_response.item[0].default_state.campaign_status #=> String, one of "SCHEDULED", "EXECUTING", "PENDING_NEXT_RUN", "COMPLETED", "PAUSED"
|
2483
2555
|
# resp.campaigns_response.item[0].description #=> String
|
2484
2556
|
# resp.campaigns_response.item[0].holdout_percent #=> Integer
|
2557
|
+
# resp.campaigns_response.item[0].hook.lambda_function_name #=> String
|
2558
|
+
# resp.campaigns_response.item[0].hook.mode #=> String, one of "DELIVERY", "FILTER"
|
2559
|
+
# resp.campaigns_response.item[0].hook.web_url #=> String
|
2485
2560
|
# resp.campaigns_response.item[0].id #=> String
|
2486
2561
|
# resp.campaigns_response.item[0].is_paused #=> Boolean
|
2487
2562
|
# resp.campaigns_response.item[0].last_modified_date #=> String
|
@@ -2639,7 +2714,7 @@ module Aws::Pinpoint
|
|
2639
2714
|
# resp.endpoint_response.attributes #=> Hash
|
2640
2715
|
# resp.endpoint_response.attributes["__string"] #=> Array
|
2641
2716
|
# resp.endpoint_response.attributes["__string"][0] #=> String
|
2642
|
-
# resp.endpoint_response.channel_type #=> String, one of "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "EMAIL", "BAIDU"
|
2717
|
+
# resp.endpoint_response.channel_type #=> String, one of "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "EMAIL", "BAIDU", "CUSTOM"
|
2643
2718
|
# resp.endpoint_response.cohort_id #=> String
|
2644
2719
|
# resp.endpoint_response.creation_date #=> String
|
2645
2720
|
# resp.endpoint_response.demographic.app_version #=> String
|
@@ -2710,6 +2785,101 @@ module Aws::Pinpoint
|
|
2710
2785
|
req.send_request(options)
|
2711
2786
|
end
|
2712
2787
|
|
2788
|
+
# Returns information about an export job.
|
2789
|
+
#
|
2790
|
+
# @option params [required, String] :application_id
|
2791
|
+
#
|
2792
|
+
# @option params [required, String] :job_id
|
2793
|
+
#
|
2794
|
+
# @return [Types::GetExportJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2795
|
+
#
|
2796
|
+
# * {Types::GetExportJobResponse#export_job_response #export_job_response} => Types::ExportJobResponse
|
2797
|
+
#
|
2798
|
+
# @example Request syntax with placeholder values
|
2799
|
+
#
|
2800
|
+
# resp = client.get_export_job({
|
2801
|
+
# application_id: "__string", # required
|
2802
|
+
# job_id: "__string", # required
|
2803
|
+
# })
|
2804
|
+
#
|
2805
|
+
# @example Response structure
|
2806
|
+
#
|
2807
|
+
# resp.export_job_response.application_id #=> String
|
2808
|
+
# resp.export_job_response.completed_pieces #=> Integer
|
2809
|
+
# resp.export_job_response.completion_date #=> String
|
2810
|
+
# resp.export_job_response.creation_date #=> String
|
2811
|
+
# resp.export_job_response.definition.role_arn #=> String
|
2812
|
+
# resp.export_job_response.definition.s3_url_prefix #=> String
|
2813
|
+
# resp.export_job_response.definition.segment_id #=> String
|
2814
|
+
# resp.export_job_response.failed_pieces #=> Integer
|
2815
|
+
# resp.export_job_response.failures #=> Array
|
2816
|
+
# resp.export_job_response.failures[0] #=> String
|
2817
|
+
# resp.export_job_response.id #=> String
|
2818
|
+
# resp.export_job_response.job_status #=> String, one of "CREATED", "INITIALIZING", "PROCESSING", "COMPLETING", "COMPLETED", "FAILING", "FAILED"
|
2819
|
+
# resp.export_job_response.total_failures #=> Integer
|
2820
|
+
# resp.export_job_response.total_pieces #=> Integer
|
2821
|
+
# resp.export_job_response.total_processed #=> Integer
|
2822
|
+
# resp.export_job_response.type #=> String
|
2823
|
+
#
|
2824
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetExportJob AWS API Documentation
|
2825
|
+
#
|
2826
|
+
# @overload get_export_job(params = {})
|
2827
|
+
# @param [Hash] params ({})
|
2828
|
+
def get_export_job(params = {}, options = {})
|
2829
|
+
req = build_request(:get_export_job, params)
|
2830
|
+
req.send_request(options)
|
2831
|
+
end
|
2832
|
+
|
2833
|
+
# Returns information about your export jobs.
|
2834
|
+
#
|
2835
|
+
# @option params [required, String] :application_id
|
2836
|
+
#
|
2837
|
+
# @option params [String] :page_size
|
2838
|
+
#
|
2839
|
+
# @option params [String] :token
|
2840
|
+
#
|
2841
|
+
# @return [Types::GetExportJobsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2842
|
+
#
|
2843
|
+
# * {Types::GetExportJobsResponse#export_jobs_response #export_jobs_response} => Types::ExportJobsResponse
|
2844
|
+
#
|
2845
|
+
# @example Request syntax with placeholder values
|
2846
|
+
#
|
2847
|
+
# resp = client.get_export_jobs({
|
2848
|
+
# application_id: "__string", # required
|
2849
|
+
# page_size: "__string",
|
2850
|
+
# token: "__string",
|
2851
|
+
# })
|
2852
|
+
#
|
2853
|
+
# @example Response structure
|
2854
|
+
#
|
2855
|
+
# resp.export_jobs_response.item #=> Array
|
2856
|
+
# resp.export_jobs_response.item[0].application_id #=> String
|
2857
|
+
# resp.export_jobs_response.item[0].completed_pieces #=> Integer
|
2858
|
+
# resp.export_jobs_response.item[0].completion_date #=> String
|
2859
|
+
# resp.export_jobs_response.item[0].creation_date #=> String
|
2860
|
+
# resp.export_jobs_response.item[0].definition.role_arn #=> String
|
2861
|
+
# resp.export_jobs_response.item[0].definition.s3_url_prefix #=> String
|
2862
|
+
# resp.export_jobs_response.item[0].definition.segment_id #=> String
|
2863
|
+
# resp.export_jobs_response.item[0].failed_pieces #=> Integer
|
2864
|
+
# resp.export_jobs_response.item[0].failures #=> Array
|
2865
|
+
# resp.export_jobs_response.item[0].failures[0] #=> String
|
2866
|
+
# resp.export_jobs_response.item[0].id #=> String
|
2867
|
+
# resp.export_jobs_response.item[0].job_status #=> String, one of "CREATED", "INITIALIZING", "PROCESSING", "COMPLETING", "COMPLETED", "FAILING", "FAILED"
|
2868
|
+
# resp.export_jobs_response.item[0].total_failures #=> Integer
|
2869
|
+
# resp.export_jobs_response.item[0].total_pieces #=> Integer
|
2870
|
+
# resp.export_jobs_response.item[0].total_processed #=> Integer
|
2871
|
+
# resp.export_jobs_response.item[0].type #=> String
|
2872
|
+
# resp.export_jobs_response.next_token #=> String
|
2873
|
+
#
|
2874
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetExportJobs AWS API Documentation
|
2875
|
+
#
|
2876
|
+
# @overload get_export_jobs(params = {})
|
2877
|
+
# @param [Hash] params ({})
|
2878
|
+
def get_export_jobs(params = {}, options = {})
|
2879
|
+
req = build_request(:get_export_jobs, params)
|
2880
|
+
req.send_request(options)
|
2881
|
+
end
|
2882
|
+
|
2713
2883
|
# Returns information about the GCM channel for an app.
|
2714
2884
|
#
|
2715
2885
|
# @option params [required, String] :application_id
|
@@ -2926,6 +3096,59 @@ module Aws::Pinpoint
|
|
2926
3096
|
req.send_request(options)
|
2927
3097
|
end
|
2928
3098
|
|
3099
|
+
# Returns a list of export jobs for a specific segment.
|
3100
|
+
#
|
3101
|
+
# @option params [required, String] :application_id
|
3102
|
+
#
|
3103
|
+
# @option params [String] :page_size
|
3104
|
+
#
|
3105
|
+
# @option params [required, String] :segment_id
|
3106
|
+
#
|
3107
|
+
# @option params [String] :token
|
3108
|
+
#
|
3109
|
+
# @return [Types::GetSegmentExportJobsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3110
|
+
#
|
3111
|
+
# * {Types::GetSegmentExportJobsResponse#export_jobs_response #export_jobs_response} => Types::ExportJobsResponse
|
3112
|
+
#
|
3113
|
+
# @example Request syntax with placeholder values
|
3114
|
+
#
|
3115
|
+
# resp = client.get_segment_export_jobs({
|
3116
|
+
# application_id: "__string", # required
|
3117
|
+
# page_size: "__string",
|
3118
|
+
# segment_id: "__string", # required
|
3119
|
+
# token: "__string",
|
3120
|
+
# })
|
3121
|
+
#
|
3122
|
+
# @example Response structure
|
3123
|
+
#
|
3124
|
+
# resp.export_jobs_response.item #=> Array
|
3125
|
+
# resp.export_jobs_response.item[0].application_id #=> String
|
3126
|
+
# resp.export_jobs_response.item[0].completed_pieces #=> Integer
|
3127
|
+
# resp.export_jobs_response.item[0].completion_date #=> String
|
3128
|
+
# resp.export_jobs_response.item[0].creation_date #=> String
|
3129
|
+
# resp.export_jobs_response.item[0].definition.role_arn #=> String
|
3130
|
+
# resp.export_jobs_response.item[0].definition.s3_url_prefix #=> String
|
3131
|
+
# resp.export_jobs_response.item[0].definition.segment_id #=> String
|
3132
|
+
# resp.export_jobs_response.item[0].failed_pieces #=> Integer
|
3133
|
+
# resp.export_jobs_response.item[0].failures #=> Array
|
3134
|
+
# resp.export_jobs_response.item[0].failures[0] #=> String
|
3135
|
+
# resp.export_jobs_response.item[0].id #=> String
|
3136
|
+
# resp.export_jobs_response.item[0].job_status #=> String, one of "CREATED", "INITIALIZING", "PROCESSING", "COMPLETING", "COMPLETED", "FAILING", "FAILED"
|
3137
|
+
# resp.export_jobs_response.item[0].total_failures #=> Integer
|
3138
|
+
# resp.export_jobs_response.item[0].total_pieces #=> Integer
|
3139
|
+
# resp.export_jobs_response.item[0].total_processed #=> Integer
|
3140
|
+
# resp.export_jobs_response.item[0].type #=> String
|
3141
|
+
# resp.export_jobs_response.next_token #=> String
|
3142
|
+
#
|
3143
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegmentExportJobs AWS API Documentation
|
3144
|
+
#
|
3145
|
+
# @overload get_segment_export_jobs(params = {})
|
3146
|
+
# @param [Hash] params ({})
|
3147
|
+
def get_segment_export_jobs(params = {}, options = {})
|
3148
|
+
req = build_request(:get_segment_export_jobs, params)
|
3149
|
+
req.send_request(options)
|
3150
|
+
end
|
3151
|
+
|
2929
3152
|
# Returns a list of import jobs for a specific segment.
|
2930
3153
|
#
|
2931
3154
|
# @option params [required, String] :application_id
|
@@ -3319,7 +3542,7 @@ module Aws::Pinpoint
|
|
3319
3542
|
# addresses: {
|
3320
3543
|
# "__string" => {
|
3321
3544
|
# body_override: "__string",
|
3322
|
-
# channel_type: "GCM", # accepts GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, EMAIL, BAIDU
|
3545
|
+
# channel_type: "GCM", # accepts GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, EMAIL, BAIDU, CUSTOM
|
3323
3546
|
# context: {
|
3324
3547
|
# "__string" => "__string",
|
3325
3548
|
# },
|
@@ -3808,10 +4031,10 @@ module Aws::Pinpoint
|
|
3808
4031
|
req.send_request(options)
|
3809
4032
|
end
|
3810
4033
|
|
3811
|
-
# Update an APNS
|
4034
|
+
# Update an APNS VoIP channel
|
3812
4035
|
#
|
3813
4036
|
# @option params [required, Types::APNSVoipChannelRequest] :apns_voip_channel_request
|
3814
|
-
# Apple
|
4037
|
+
# Apple VoIP Push Notification Service channel definition.
|
3815
4038
|
#
|
3816
4039
|
# @option params [required, String] :application_id
|
3817
4040
|
#
|
@@ -3859,10 +4082,10 @@ module Aws::Pinpoint
|
|
3859
4082
|
req.send_request(options)
|
3860
4083
|
end
|
3861
4084
|
|
3862
|
-
# Update an APNS
|
4085
|
+
# Update an APNS VoIP sandbox channel
|
3863
4086
|
#
|
3864
4087
|
# @option params [required, Types::APNSVoipSandboxChannelRequest] :apns_voip_sandbox_channel_request
|
3865
|
-
# Apple
|
4088
|
+
# Apple VoIP Developer Push Notification Service channel definition.
|
3866
4089
|
#
|
3867
4090
|
# @option params [required, String] :application_id
|
3868
4091
|
#
|
@@ -3926,6 +4149,11 @@ module Aws::Pinpoint
|
|
3926
4149
|
# resp = client.update_application_settings({
|
3927
4150
|
# application_id: "__string", # required
|
3928
4151
|
# write_application_settings_request: { # required
|
4152
|
+
# campaign_hook: {
|
4153
|
+
# lambda_function_name: "__string",
|
4154
|
+
# mode: "DELIVERY", # accepts DELIVERY, FILTER
|
4155
|
+
# web_url: "__string",
|
4156
|
+
# },
|
3929
4157
|
# limits: {
|
3930
4158
|
# daily: 1,
|
3931
4159
|
# maximum_duration: 1,
|
@@ -3942,6 +4170,9 @@ module Aws::Pinpoint
|
|
3942
4170
|
# @example Response structure
|
3943
4171
|
#
|
3944
4172
|
# resp.application_settings_resource.application_id #=> String
|
4173
|
+
# resp.application_settings_resource.campaign_hook.lambda_function_name #=> String
|
4174
|
+
# resp.application_settings_resource.campaign_hook.mode #=> String, one of "DELIVERY", "FILTER"
|
4175
|
+
# resp.application_settings_resource.campaign_hook.web_url #=> String
|
3945
4176
|
# resp.application_settings_resource.last_modified_date #=> String
|
3946
4177
|
# resp.application_settings_resource.limits.daily #=> Integer
|
3947
4178
|
# resp.application_settings_resource.limits.maximum_duration #=> Integer
|
@@ -4121,6 +4352,11 @@ module Aws::Pinpoint
|
|
4121
4352
|
# ],
|
4122
4353
|
# description: "__string",
|
4123
4354
|
# holdout_percent: 1,
|
4355
|
+
# hook: {
|
4356
|
+
# lambda_function_name: "__string",
|
4357
|
+
# mode: "DELIVERY", # accepts DELIVERY, FILTER
|
4358
|
+
# web_url: "__string",
|
4359
|
+
# },
|
4124
4360
|
# is_paused: false,
|
4125
4361
|
# limits: {
|
4126
4362
|
# daily: 1,
|
@@ -4307,6 +4543,9 @@ module Aws::Pinpoint
|
|
4307
4543
|
# resp.campaign_response.default_state.campaign_status #=> String, one of "SCHEDULED", "EXECUTING", "PENDING_NEXT_RUN", "COMPLETED", "PAUSED"
|
4308
4544
|
# resp.campaign_response.description #=> String
|
4309
4545
|
# resp.campaign_response.holdout_percent #=> Integer
|
4546
|
+
# resp.campaign_response.hook.lambda_function_name #=> String
|
4547
|
+
# resp.campaign_response.hook.mode #=> String, one of "DELIVERY", "FILTER"
|
4548
|
+
# resp.campaign_response.hook.web_url #=> String
|
4310
4549
|
# resp.campaign_response.id #=> String
|
4311
4550
|
# resp.campaign_response.is_paused #=> Boolean
|
4312
4551
|
# resp.campaign_response.last_modified_date #=> String
|
@@ -4471,7 +4710,7 @@ module Aws::Pinpoint
|
|
4471
4710
|
# attributes: {
|
4472
4711
|
# "__string" => ["__string"],
|
4473
4712
|
# },
|
4474
|
-
# channel_type: "GCM", # accepts GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, EMAIL, BAIDU
|
4713
|
+
# channel_type: "GCM", # accepts GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, EMAIL, BAIDU, CUSTOM
|
4475
4714
|
# demographic: {
|
4476
4715
|
# app_version: "__string",
|
4477
4716
|
# locale: "__string",
|
@@ -4542,7 +4781,7 @@ module Aws::Pinpoint
|
|
4542
4781
|
# attributes: {
|
4543
4782
|
# "__string" => ["__string"],
|
4544
4783
|
# },
|
4545
|
-
# channel_type: "GCM", # accepts GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, EMAIL, BAIDU
|
4784
|
+
# channel_type: "GCM", # accepts GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, EMAIL, BAIDU, CUSTOM
|
4546
4785
|
# demographic: {
|
4547
4786
|
# app_version: "__string",
|
4548
4787
|
# locale: "__string",
|
@@ -4829,7 +5068,7 @@ module Aws::Pinpoint
|
|
4829
5068
|
params: params,
|
4830
5069
|
config: config)
|
4831
5070
|
context[:gem_name] = 'aws-sdk-pinpoint'
|
4832
|
-
context[:gem_version] = '1.
|
5071
|
+
context[:gem_version] = '1.3.0'
|
4833
5072
|
Seahorse::Client::Request.new(handlers, context)
|
4834
5073
|
end
|
4835
5074
|
|