aws-sdk-pinpoint 1.12.0 → 1.13.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 +418 -27
- data/lib/aws-sdk-pinpoint/client_api.rb +114 -0
- data/lib/aws-sdk-pinpoint/types.rb +625 -44
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 33c7ad5dd3a95413ae451c1f8c38d8f4d15fb1b2
|
4
|
+
data.tar.gz: 55758b5c24224f974712ce603e3e97566e497385
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a82bc083f22c99f0e7a02f1e74ceb9f50fd273dd7757495557cc203a82c14894d676deaf97cc3529d1cf712a3071b45b51e2ba5f075c390bc3e9a2a20b884a8c
|
7
|
+
data.tar.gz: d9bee19e4039be33e1a218086e6c03fd411d3126403cccbed60d946a0bf4fc1b62d4e180f77f82b684c7743506f4dce43570ec5deb38bc3ae9004b9b4881a4b9
|
data/lib/aws-sdk-pinpoint.rb
CHANGED
@@ -15,6 +15,7 @@ require 'aws-sdk-core/plugins/helpful_socket_errors.rb'
|
|
15
15
|
require 'aws-sdk-core/plugins/retry_errors.rb'
|
16
16
|
require 'aws-sdk-core/plugins/global_configuration.rb'
|
17
17
|
require 'aws-sdk-core/plugins/regional_endpoint.rb'
|
18
|
+
require 'aws-sdk-core/plugins/endpoint_discovery.rb'
|
18
19
|
require 'aws-sdk-core/plugins/response_paging.rb'
|
19
20
|
require 'aws-sdk-core/plugins/stub_responses.rb'
|
20
21
|
require 'aws-sdk-core/plugins/idempotency_token.rb'
|
@@ -45,6 +46,7 @@ module Aws::Pinpoint
|
|
45
46
|
add_plugin(Aws::Plugins::RetryErrors)
|
46
47
|
add_plugin(Aws::Plugins::GlobalConfiguration)
|
47
48
|
add_plugin(Aws::Plugins::RegionalEndpoint)
|
49
|
+
add_plugin(Aws::Plugins::EndpointDiscovery)
|
48
50
|
add_plugin(Aws::Plugins::ResponsePaging)
|
49
51
|
add_plugin(Aws::Plugins::StubResponses)
|
50
52
|
add_plugin(Aws::Plugins::IdempotencyToken)
|
@@ -98,6 +100,10 @@ module Aws::Pinpoint
|
|
98
100
|
#
|
99
101
|
# @option options [String] :access_key_id
|
100
102
|
#
|
103
|
+
# @option options [Boolean] :active_endpoint_cache (false)
|
104
|
+
# When set to `true`, a thread polling for endpoints will be running in
|
105
|
+
# the background every 60 secs (default). Defaults to `false`.
|
106
|
+
#
|
101
107
|
# @option options [Boolean] :client_side_monitoring (false)
|
102
108
|
# When `true`, client-side metrics will be collected for all API requests from
|
103
109
|
# this client.
|
@@ -123,6 +129,21 @@ module Aws::Pinpoint
|
|
123
129
|
# option. You should only configure an `:endpoint` when connecting
|
124
130
|
# to test endpoints. This should be avalid HTTP(S) URI.
|
125
131
|
#
|
132
|
+
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
133
|
+
# Used for the maximum size limit of the LRU cache storing endpoints data
|
134
|
+
# for endpoint discovery enabled operations. Defaults to 1000.
|
135
|
+
#
|
136
|
+
# @option options [Integer] :endpoint_cache_max_threads (10)
|
137
|
+
# Used for the maximum threads in use for polling endpoints to be cached, defaults to 10.
|
138
|
+
#
|
139
|
+
# @option options [Integer] :endpoint_cache_poll_interval (60)
|
140
|
+
# When :endpoint_discovery and :active_endpoint_cache is enabled,
|
141
|
+
# Use this option to config the time interval in seconds for making
|
142
|
+
# requests fetching endpoints information. Defaults to 60 sec.
|
143
|
+
#
|
144
|
+
# @option options [Boolean] :endpoint_discovery (false)
|
145
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
|
146
|
+
#
|
126
147
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
127
148
|
# The log formatter.
|
128
149
|
#
|
@@ -312,7 +333,28 @@ module Aws::Pinpoint
|
|
312
333
|
# },
|
313
334
|
# schedule: {
|
314
335
|
# end_time: "__string",
|
315
|
-
#
|
336
|
+
# event_filter: {
|
337
|
+
# dimensions: {
|
338
|
+
# attributes: {
|
339
|
+
# "__string" => {
|
340
|
+
# attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
|
341
|
+
# values: ["__string"],
|
342
|
+
# },
|
343
|
+
# },
|
344
|
+
# event_type: {
|
345
|
+
# dimension_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
|
346
|
+
# values: ["__string"],
|
347
|
+
# },
|
348
|
+
# metrics: {
|
349
|
+
# "__string" => {
|
350
|
+
# comparison_operator: "__string",
|
351
|
+
# value: 1.0,
|
352
|
+
# },
|
353
|
+
# },
|
354
|
+
# },
|
355
|
+
# filter_type: "SYSTEM", # accepts SYSTEM, ENDPOINT
|
356
|
+
# },
|
357
|
+
# frequency: "ONCE", # accepts ONCE, HOURLY, DAILY, WEEKLY, MONTHLY, EVENT
|
316
358
|
# is_local_time: false,
|
317
359
|
# quiet_time: {
|
318
360
|
# end: "__string",
|
@@ -426,7 +468,28 @@ module Aws::Pinpoint
|
|
426
468
|
# name: "__string",
|
427
469
|
# schedule: {
|
428
470
|
# end_time: "__string",
|
429
|
-
#
|
471
|
+
# event_filter: {
|
472
|
+
# dimensions: {
|
473
|
+
# attributes: {
|
474
|
+
# "__string" => {
|
475
|
+
# attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
|
476
|
+
# values: ["__string"],
|
477
|
+
# },
|
478
|
+
# },
|
479
|
+
# event_type: {
|
480
|
+
# dimension_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
|
481
|
+
# values: ["__string"],
|
482
|
+
# },
|
483
|
+
# metrics: {
|
484
|
+
# "__string" => {
|
485
|
+
# comparison_operator: "__string",
|
486
|
+
# value: 1.0,
|
487
|
+
# },
|
488
|
+
# },
|
489
|
+
# },
|
490
|
+
# filter_type: "SYSTEM", # accepts SYSTEM, ENDPOINT
|
491
|
+
# },
|
492
|
+
# frequency: "ONCE", # accepts ONCE, HOURLY, DAILY, WEEKLY, MONTHLY, EVENT
|
430
493
|
# is_local_time: false,
|
431
494
|
# quiet_time: {
|
432
495
|
# end: "__string",
|
@@ -514,7 +577,18 @@ module Aws::Pinpoint
|
|
514
577
|
# resp.campaign_response.additional_treatments[0].message_configuration.sms_message.message_type #=> String, one of "TRANSACTIONAL", "PROMOTIONAL"
|
515
578
|
# resp.campaign_response.additional_treatments[0].message_configuration.sms_message.sender_id #=> String
|
516
579
|
# resp.campaign_response.additional_treatments[0].schedule.end_time #=> String
|
517
|
-
# resp.campaign_response.additional_treatments[0].schedule.
|
580
|
+
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.attributes #=> Hash
|
581
|
+
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.attributes["__string"].attribute_type #=> String, one of "INCLUSIVE", "EXCLUSIVE"
|
582
|
+
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.attributes["__string"].values #=> Array
|
583
|
+
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.attributes["__string"].values[0] #=> String
|
584
|
+
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.event_type.dimension_type #=> String, one of "INCLUSIVE", "EXCLUSIVE"
|
585
|
+
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.event_type.values #=> Array
|
586
|
+
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.event_type.values[0] #=> String
|
587
|
+
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.metrics #=> Hash
|
588
|
+
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.metrics["__string"].comparison_operator #=> String
|
589
|
+
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.metrics["__string"].value #=> Float
|
590
|
+
# resp.campaign_response.additional_treatments[0].schedule.event_filter.filter_type #=> String, one of "SYSTEM", "ENDPOINT"
|
591
|
+
# resp.campaign_response.additional_treatments[0].schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY", "EVENT"
|
518
592
|
# resp.campaign_response.additional_treatments[0].schedule.is_local_time #=> Boolean
|
519
593
|
# resp.campaign_response.additional_treatments[0].schedule.quiet_time.end #=> String
|
520
594
|
# resp.campaign_response.additional_treatments[0].schedule.quiet_time.start #=> String
|
@@ -608,7 +682,18 @@ module Aws::Pinpoint
|
|
608
682
|
# resp.campaign_response.message_configuration.sms_message.sender_id #=> String
|
609
683
|
# resp.campaign_response.name #=> String
|
610
684
|
# resp.campaign_response.schedule.end_time #=> String
|
611
|
-
# resp.campaign_response.schedule.
|
685
|
+
# resp.campaign_response.schedule.event_filter.dimensions.attributes #=> Hash
|
686
|
+
# resp.campaign_response.schedule.event_filter.dimensions.attributes["__string"].attribute_type #=> String, one of "INCLUSIVE", "EXCLUSIVE"
|
687
|
+
# resp.campaign_response.schedule.event_filter.dimensions.attributes["__string"].values #=> Array
|
688
|
+
# resp.campaign_response.schedule.event_filter.dimensions.attributes["__string"].values[0] #=> String
|
689
|
+
# resp.campaign_response.schedule.event_filter.dimensions.event_type.dimension_type #=> String, one of "INCLUSIVE", "EXCLUSIVE"
|
690
|
+
# resp.campaign_response.schedule.event_filter.dimensions.event_type.values #=> Array
|
691
|
+
# resp.campaign_response.schedule.event_filter.dimensions.event_type.values[0] #=> String
|
692
|
+
# resp.campaign_response.schedule.event_filter.dimensions.metrics #=> Hash
|
693
|
+
# resp.campaign_response.schedule.event_filter.dimensions.metrics["__string"].comparison_operator #=> String
|
694
|
+
# resp.campaign_response.schedule.event_filter.dimensions.metrics["__string"].value #=> Float
|
695
|
+
# resp.campaign_response.schedule.event_filter.filter_type #=> String, one of "SYSTEM", "ENDPOINT"
|
696
|
+
# resp.campaign_response.schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY", "EVENT"
|
612
697
|
# resp.campaign_response.schedule.is_local_time #=> Boolean
|
613
698
|
# resp.campaign_response.schedule.quiet_time.end #=> String
|
614
699
|
# resp.campaign_response.schedule.quiet_time.start #=> String
|
@@ -1359,7 +1444,18 @@ module Aws::Pinpoint
|
|
1359
1444
|
# resp.campaign_response.additional_treatments[0].message_configuration.sms_message.message_type #=> String, one of "TRANSACTIONAL", "PROMOTIONAL"
|
1360
1445
|
# resp.campaign_response.additional_treatments[0].message_configuration.sms_message.sender_id #=> String
|
1361
1446
|
# resp.campaign_response.additional_treatments[0].schedule.end_time #=> String
|
1362
|
-
# resp.campaign_response.additional_treatments[0].schedule.
|
1447
|
+
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.attributes #=> Hash
|
1448
|
+
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.attributes["__string"].attribute_type #=> String, one of "INCLUSIVE", "EXCLUSIVE"
|
1449
|
+
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.attributes["__string"].values #=> Array
|
1450
|
+
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.attributes["__string"].values[0] #=> String
|
1451
|
+
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.event_type.dimension_type #=> String, one of "INCLUSIVE", "EXCLUSIVE"
|
1452
|
+
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.event_type.values #=> Array
|
1453
|
+
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.event_type.values[0] #=> String
|
1454
|
+
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.metrics #=> Hash
|
1455
|
+
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.metrics["__string"].comparison_operator #=> String
|
1456
|
+
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.metrics["__string"].value #=> Float
|
1457
|
+
# resp.campaign_response.additional_treatments[0].schedule.event_filter.filter_type #=> String, one of "SYSTEM", "ENDPOINT"
|
1458
|
+
# resp.campaign_response.additional_treatments[0].schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY", "EVENT"
|
1363
1459
|
# resp.campaign_response.additional_treatments[0].schedule.is_local_time #=> Boolean
|
1364
1460
|
# resp.campaign_response.additional_treatments[0].schedule.quiet_time.end #=> String
|
1365
1461
|
# resp.campaign_response.additional_treatments[0].schedule.quiet_time.start #=> String
|
@@ -1453,7 +1549,18 @@ module Aws::Pinpoint
|
|
1453
1549
|
# resp.campaign_response.message_configuration.sms_message.sender_id #=> String
|
1454
1550
|
# resp.campaign_response.name #=> String
|
1455
1551
|
# resp.campaign_response.schedule.end_time #=> String
|
1456
|
-
# resp.campaign_response.schedule.
|
1552
|
+
# resp.campaign_response.schedule.event_filter.dimensions.attributes #=> Hash
|
1553
|
+
# resp.campaign_response.schedule.event_filter.dimensions.attributes["__string"].attribute_type #=> String, one of "INCLUSIVE", "EXCLUSIVE"
|
1554
|
+
# resp.campaign_response.schedule.event_filter.dimensions.attributes["__string"].values #=> Array
|
1555
|
+
# resp.campaign_response.schedule.event_filter.dimensions.attributes["__string"].values[0] #=> String
|
1556
|
+
# resp.campaign_response.schedule.event_filter.dimensions.event_type.dimension_type #=> String, one of "INCLUSIVE", "EXCLUSIVE"
|
1557
|
+
# resp.campaign_response.schedule.event_filter.dimensions.event_type.values #=> Array
|
1558
|
+
# resp.campaign_response.schedule.event_filter.dimensions.event_type.values[0] #=> String
|
1559
|
+
# resp.campaign_response.schedule.event_filter.dimensions.metrics #=> Hash
|
1560
|
+
# resp.campaign_response.schedule.event_filter.dimensions.metrics["__string"].comparison_operator #=> String
|
1561
|
+
# resp.campaign_response.schedule.event_filter.dimensions.metrics["__string"].value #=> Float
|
1562
|
+
# resp.campaign_response.schedule.event_filter.filter_type #=> String, one of "SYSTEM", "ENDPOINT"
|
1563
|
+
# resp.campaign_response.schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY", "EVENT"
|
1457
1564
|
# resp.campaign_response.schedule.is_local_time #=> Boolean
|
1458
1565
|
# resp.campaign_response.schedule.quiet_time.end #=> String
|
1459
1566
|
# resp.campaign_response.schedule.quiet_time.start #=> String
|
@@ -1540,7 +1647,7 @@ module Aws::Pinpoint
|
|
1540
1647
|
# resp.endpoint_response.attributes #=> Hash
|
1541
1648
|
# resp.endpoint_response.attributes["__string"] #=> Array
|
1542
1649
|
# resp.endpoint_response.attributes["__string"][0] #=> String
|
1543
|
-
# resp.endpoint_response.channel_type #=> String, one of "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "EMAIL", "BAIDU", "CUSTOM"
|
1650
|
+
# resp.endpoint_response.channel_type #=> String, one of "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM"
|
1544
1651
|
# resp.endpoint_response.cohort_id #=> String
|
1545
1652
|
# resp.endpoint_response.creation_date #=> String
|
1546
1653
|
# resp.endpoint_response.demographic.app_version #=> String
|
@@ -1837,7 +1944,7 @@ module Aws::Pinpoint
|
|
1837
1944
|
# resp.endpoints_response.item[0].attributes #=> Hash
|
1838
1945
|
# resp.endpoints_response.item[0].attributes["__string"] #=> Array
|
1839
1946
|
# resp.endpoints_response.item[0].attributes["__string"][0] #=> String
|
1840
|
-
# resp.endpoints_response.item[0].channel_type #=> String, one of "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "EMAIL", "BAIDU", "CUSTOM"
|
1947
|
+
# resp.endpoints_response.item[0].channel_type #=> String, one of "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM"
|
1841
1948
|
# resp.endpoints_response.item[0].cohort_id #=> String
|
1842
1949
|
# resp.endpoints_response.item[0].creation_date #=> String
|
1843
1950
|
# resp.endpoints_response.item[0].demographic.app_version #=> String
|
@@ -1875,6 +1982,42 @@ module Aws::Pinpoint
|
|
1875
1982
|
req.send_request(options)
|
1876
1983
|
end
|
1877
1984
|
|
1985
|
+
# Delete an Voice channel
|
1986
|
+
#
|
1987
|
+
# @option params [required, String] :application_id
|
1988
|
+
#
|
1989
|
+
# @return [Types::DeleteVoiceChannelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1990
|
+
#
|
1991
|
+
# * {Types::DeleteVoiceChannelResponse#voice_channel_response #voice_channel_response} => Types::VoiceChannelResponse
|
1992
|
+
#
|
1993
|
+
# @example Request syntax with placeholder values
|
1994
|
+
#
|
1995
|
+
# resp = client.delete_voice_channel({
|
1996
|
+
# application_id: "__string", # required
|
1997
|
+
# })
|
1998
|
+
#
|
1999
|
+
# @example Response structure
|
2000
|
+
#
|
2001
|
+
# resp.voice_channel_response.application_id #=> String
|
2002
|
+
# resp.voice_channel_response.creation_date #=> String
|
2003
|
+
# resp.voice_channel_response.enabled #=> Boolean
|
2004
|
+
# resp.voice_channel_response.has_credential #=> Boolean
|
2005
|
+
# resp.voice_channel_response.id #=> String
|
2006
|
+
# resp.voice_channel_response.is_archived #=> Boolean
|
2007
|
+
# resp.voice_channel_response.last_modified_by #=> String
|
2008
|
+
# resp.voice_channel_response.last_modified_date #=> String
|
2009
|
+
# resp.voice_channel_response.platform #=> String
|
2010
|
+
# resp.voice_channel_response.version #=> Integer
|
2011
|
+
#
|
2012
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteVoiceChannel AWS API Documentation
|
2013
|
+
#
|
2014
|
+
# @overload delete_voice_channel(params = {})
|
2015
|
+
# @param [Hash] params ({})
|
2016
|
+
def delete_voice_channel(params = {}, options = {})
|
2017
|
+
req = build_request(:delete_voice_channel, params)
|
2018
|
+
req.send_request(options)
|
2019
|
+
end
|
2020
|
+
|
1878
2021
|
# Get an ADM channel.
|
1879
2022
|
#
|
1880
2023
|
# @option params [required, String] :application_id
|
@@ -2287,7 +2430,18 @@ module Aws::Pinpoint
|
|
2287
2430
|
# resp.campaign_response.additional_treatments[0].message_configuration.sms_message.message_type #=> String, one of "TRANSACTIONAL", "PROMOTIONAL"
|
2288
2431
|
# resp.campaign_response.additional_treatments[0].message_configuration.sms_message.sender_id #=> String
|
2289
2432
|
# resp.campaign_response.additional_treatments[0].schedule.end_time #=> String
|
2290
|
-
# resp.campaign_response.additional_treatments[0].schedule.
|
2433
|
+
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.attributes #=> Hash
|
2434
|
+
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.attributes["__string"].attribute_type #=> String, one of "INCLUSIVE", "EXCLUSIVE"
|
2435
|
+
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.attributes["__string"].values #=> Array
|
2436
|
+
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.attributes["__string"].values[0] #=> String
|
2437
|
+
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.event_type.dimension_type #=> String, one of "INCLUSIVE", "EXCLUSIVE"
|
2438
|
+
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.event_type.values #=> Array
|
2439
|
+
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.event_type.values[0] #=> String
|
2440
|
+
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.metrics #=> Hash
|
2441
|
+
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.metrics["__string"].comparison_operator #=> String
|
2442
|
+
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.metrics["__string"].value #=> Float
|
2443
|
+
# resp.campaign_response.additional_treatments[0].schedule.event_filter.filter_type #=> String, one of "SYSTEM", "ENDPOINT"
|
2444
|
+
# resp.campaign_response.additional_treatments[0].schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY", "EVENT"
|
2291
2445
|
# resp.campaign_response.additional_treatments[0].schedule.is_local_time #=> Boolean
|
2292
2446
|
# resp.campaign_response.additional_treatments[0].schedule.quiet_time.end #=> String
|
2293
2447
|
# resp.campaign_response.additional_treatments[0].schedule.quiet_time.start #=> String
|
@@ -2381,7 +2535,18 @@ module Aws::Pinpoint
|
|
2381
2535
|
# resp.campaign_response.message_configuration.sms_message.sender_id #=> String
|
2382
2536
|
# resp.campaign_response.name #=> String
|
2383
2537
|
# resp.campaign_response.schedule.end_time #=> String
|
2384
|
-
# resp.campaign_response.schedule.
|
2538
|
+
# resp.campaign_response.schedule.event_filter.dimensions.attributes #=> Hash
|
2539
|
+
# resp.campaign_response.schedule.event_filter.dimensions.attributes["__string"].attribute_type #=> String, one of "INCLUSIVE", "EXCLUSIVE"
|
2540
|
+
# resp.campaign_response.schedule.event_filter.dimensions.attributes["__string"].values #=> Array
|
2541
|
+
# resp.campaign_response.schedule.event_filter.dimensions.attributes["__string"].values[0] #=> String
|
2542
|
+
# resp.campaign_response.schedule.event_filter.dimensions.event_type.dimension_type #=> String, one of "INCLUSIVE", "EXCLUSIVE"
|
2543
|
+
# resp.campaign_response.schedule.event_filter.dimensions.event_type.values #=> Array
|
2544
|
+
# resp.campaign_response.schedule.event_filter.dimensions.event_type.values[0] #=> String
|
2545
|
+
# resp.campaign_response.schedule.event_filter.dimensions.metrics #=> Hash
|
2546
|
+
# resp.campaign_response.schedule.event_filter.dimensions.metrics["__string"].comparison_operator #=> String
|
2547
|
+
# resp.campaign_response.schedule.event_filter.dimensions.metrics["__string"].value #=> Float
|
2548
|
+
# resp.campaign_response.schedule.event_filter.filter_type #=> String, one of "SYSTEM", "ENDPOINT"
|
2549
|
+
# resp.campaign_response.schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY", "EVENT"
|
2385
2550
|
# resp.campaign_response.schedule.is_local_time #=> Boolean
|
2386
2551
|
# resp.campaign_response.schedule.quiet_time.end #=> String
|
2387
2552
|
# resp.campaign_response.schedule.quiet_time.start #=> String
|
@@ -2545,7 +2710,18 @@ module Aws::Pinpoint
|
|
2545
2710
|
# resp.campaign_response.additional_treatments[0].message_configuration.sms_message.message_type #=> String, one of "TRANSACTIONAL", "PROMOTIONAL"
|
2546
2711
|
# resp.campaign_response.additional_treatments[0].message_configuration.sms_message.sender_id #=> String
|
2547
2712
|
# resp.campaign_response.additional_treatments[0].schedule.end_time #=> String
|
2548
|
-
# resp.campaign_response.additional_treatments[0].schedule.
|
2713
|
+
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.attributes #=> Hash
|
2714
|
+
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.attributes["__string"].attribute_type #=> String, one of "INCLUSIVE", "EXCLUSIVE"
|
2715
|
+
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.attributes["__string"].values #=> Array
|
2716
|
+
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.attributes["__string"].values[0] #=> String
|
2717
|
+
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.event_type.dimension_type #=> String, one of "INCLUSIVE", "EXCLUSIVE"
|
2718
|
+
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.event_type.values #=> Array
|
2719
|
+
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.event_type.values[0] #=> String
|
2720
|
+
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.metrics #=> Hash
|
2721
|
+
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.metrics["__string"].comparison_operator #=> String
|
2722
|
+
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.metrics["__string"].value #=> Float
|
2723
|
+
# resp.campaign_response.additional_treatments[0].schedule.event_filter.filter_type #=> String, one of "SYSTEM", "ENDPOINT"
|
2724
|
+
# resp.campaign_response.additional_treatments[0].schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY", "EVENT"
|
2549
2725
|
# resp.campaign_response.additional_treatments[0].schedule.is_local_time #=> Boolean
|
2550
2726
|
# resp.campaign_response.additional_treatments[0].schedule.quiet_time.end #=> String
|
2551
2727
|
# resp.campaign_response.additional_treatments[0].schedule.quiet_time.start #=> String
|
@@ -2639,7 +2815,18 @@ module Aws::Pinpoint
|
|
2639
2815
|
# resp.campaign_response.message_configuration.sms_message.sender_id #=> String
|
2640
2816
|
# resp.campaign_response.name #=> String
|
2641
2817
|
# resp.campaign_response.schedule.end_time #=> String
|
2642
|
-
# resp.campaign_response.schedule.
|
2818
|
+
# resp.campaign_response.schedule.event_filter.dimensions.attributes #=> Hash
|
2819
|
+
# resp.campaign_response.schedule.event_filter.dimensions.attributes["__string"].attribute_type #=> String, one of "INCLUSIVE", "EXCLUSIVE"
|
2820
|
+
# resp.campaign_response.schedule.event_filter.dimensions.attributes["__string"].values #=> Array
|
2821
|
+
# resp.campaign_response.schedule.event_filter.dimensions.attributes["__string"].values[0] #=> String
|
2822
|
+
# resp.campaign_response.schedule.event_filter.dimensions.event_type.dimension_type #=> String, one of "INCLUSIVE", "EXCLUSIVE"
|
2823
|
+
# resp.campaign_response.schedule.event_filter.dimensions.event_type.values #=> Array
|
2824
|
+
# resp.campaign_response.schedule.event_filter.dimensions.event_type.values[0] #=> String
|
2825
|
+
# resp.campaign_response.schedule.event_filter.dimensions.metrics #=> Hash
|
2826
|
+
# resp.campaign_response.schedule.event_filter.dimensions.metrics["__string"].comparison_operator #=> String
|
2827
|
+
# resp.campaign_response.schedule.event_filter.dimensions.metrics["__string"].value #=> Float
|
2828
|
+
# resp.campaign_response.schedule.event_filter.filter_type #=> String, one of "SYSTEM", "ENDPOINT"
|
2829
|
+
# resp.campaign_response.schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY", "EVENT"
|
2643
2830
|
# resp.campaign_response.schedule.is_local_time #=> Boolean
|
2644
2831
|
# resp.campaign_response.schedule.quiet_time.end #=> String
|
2645
2832
|
# resp.campaign_response.schedule.quiet_time.start #=> String
|
@@ -2757,7 +2944,18 @@ module Aws::Pinpoint
|
|
2757
2944
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.sms_message.message_type #=> String, one of "TRANSACTIONAL", "PROMOTIONAL"
|
2758
2945
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.sms_message.sender_id #=> String
|
2759
2946
|
# resp.campaigns_response.item[0].additional_treatments[0].schedule.end_time #=> String
|
2760
|
-
# resp.campaigns_response.item[0].additional_treatments[0].schedule.
|
2947
|
+
# resp.campaigns_response.item[0].additional_treatments[0].schedule.event_filter.dimensions.attributes #=> Hash
|
2948
|
+
# resp.campaigns_response.item[0].additional_treatments[0].schedule.event_filter.dimensions.attributes["__string"].attribute_type #=> String, one of "INCLUSIVE", "EXCLUSIVE"
|
2949
|
+
# resp.campaigns_response.item[0].additional_treatments[0].schedule.event_filter.dimensions.attributes["__string"].values #=> Array
|
2950
|
+
# resp.campaigns_response.item[0].additional_treatments[0].schedule.event_filter.dimensions.attributes["__string"].values[0] #=> String
|
2951
|
+
# resp.campaigns_response.item[0].additional_treatments[0].schedule.event_filter.dimensions.event_type.dimension_type #=> String, one of "INCLUSIVE", "EXCLUSIVE"
|
2952
|
+
# resp.campaigns_response.item[0].additional_treatments[0].schedule.event_filter.dimensions.event_type.values #=> Array
|
2953
|
+
# resp.campaigns_response.item[0].additional_treatments[0].schedule.event_filter.dimensions.event_type.values[0] #=> String
|
2954
|
+
# resp.campaigns_response.item[0].additional_treatments[0].schedule.event_filter.dimensions.metrics #=> Hash
|
2955
|
+
# resp.campaigns_response.item[0].additional_treatments[0].schedule.event_filter.dimensions.metrics["__string"].comparison_operator #=> String
|
2956
|
+
# resp.campaigns_response.item[0].additional_treatments[0].schedule.event_filter.dimensions.metrics["__string"].value #=> Float
|
2957
|
+
# resp.campaigns_response.item[0].additional_treatments[0].schedule.event_filter.filter_type #=> String, one of "SYSTEM", "ENDPOINT"
|
2958
|
+
# resp.campaigns_response.item[0].additional_treatments[0].schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY", "EVENT"
|
2761
2959
|
# resp.campaigns_response.item[0].additional_treatments[0].schedule.is_local_time #=> Boolean
|
2762
2960
|
# resp.campaigns_response.item[0].additional_treatments[0].schedule.quiet_time.end #=> String
|
2763
2961
|
# resp.campaigns_response.item[0].additional_treatments[0].schedule.quiet_time.start #=> String
|
@@ -2851,7 +3049,18 @@ module Aws::Pinpoint
|
|
2851
3049
|
# resp.campaigns_response.item[0].message_configuration.sms_message.sender_id #=> String
|
2852
3050
|
# resp.campaigns_response.item[0].name #=> String
|
2853
3051
|
# resp.campaigns_response.item[0].schedule.end_time #=> String
|
2854
|
-
# resp.campaigns_response.item[0].schedule.
|
3052
|
+
# resp.campaigns_response.item[0].schedule.event_filter.dimensions.attributes #=> Hash
|
3053
|
+
# resp.campaigns_response.item[0].schedule.event_filter.dimensions.attributes["__string"].attribute_type #=> String, one of "INCLUSIVE", "EXCLUSIVE"
|
3054
|
+
# resp.campaigns_response.item[0].schedule.event_filter.dimensions.attributes["__string"].values #=> Array
|
3055
|
+
# resp.campaigns_response.item[0].schedule.event_filter.dimensions.attributes["__string"].values[0] #=> String
|
3056
|
+
# resp.campaigns_response.item[0].schedule.event_filter.dimensions.event_type.dimension_type #=> String, one of "INCLUSIVE", "EXCLUSIVE"
|
3057
|
+
# resp.campaigns_response.item[0].schedule.event_filter.dimensions.event_type.values #=> Array
|
3058
|
+
# resp.campaigns_response.item[0].schedule.event_filter.dimensions.event_type.values[0] #=> String
|
3059
|
+
# resp.campaigns_response.item[0].schedule.event_filter.dimensions.metrics #=> Hash
|
3060
|
+
# resp.campaigns_response.item[0].schedule.event_filter.dimensions.metrics["__string"].comparison_operator #=> String
|
3061
|
+
# resp.campaigns_response.item[0].schedule.event_filter.dimensions.metrics["__string"].value #=> Float
|
3062
|
+
# resp.campaigns_response.item[0].schedule.event_filter.filter_type #=> String, one of "SYSTEM", "ENDPOINT"
|
3063
|
+
# resp.campaigns_response.item[0].schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY", "EVENT"
|
2855
3064
|
# resp.campaigns_response.item[0].schedule.is_local_time #=> Boolean
|
2856
3065
|
# resp.campaigns_response.item[0].schedule.quiet_time.end #=> String
|
2857
3066
|
# resp.campaigns_response.item[0].schedule.quiet_time.start #=> String
|
@@ -2967,7 +3176,18 @@ module Aws::Pinpoint
|
|
2967
3176
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.sms_message.message_type #=> String, one of "TRANSACTIONAL", "PROMOTIONAL"
|
2968
3177
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.sms_message.sender_id #=> String
|
2969
3178
|
# resp.campaigns_response.item[0].additional_treatments[0].schedule.end_time #=> String
|
2970
|
-
# resp.campaigns_response.item[0].additional_treatments[0].schedule.
|
3179
|
+
# resp.campaigns_response.item[0].additional_treatments[0].schedule.event_filter.dimensions.attributes #=> Hash
|
3180
|
+
# resp.campaigns_response.item[0].additional_treatments[0].schedule.event_filter.dimensions.attributes["__string"].attribute_type #=> String, one of "INCLUSIVE", "EXCLUSIVE"
|
3181
|
+
# resp.campaigns_response.item[0].additional_treatments[0].schedule.event_filter.dimensions.attributes["__string"].values #=> Array
|
3182
|
+
# resp.campaigns_response.item[0].additional_treatments[0].schedule.event_filter.dimensions.attributes["__string"].values[0] #=> String
|
3183
|
+
# resp.campaigns_response.item[0].additional_treatments[0].schedule.event_filter.dimensions.event_type.dimension_type #=> String, one of "INCLUSIVE", "EXCLUSIVE"
|
3184
|
+
# resp.campaigns_response.item[0].additional_treatments[0].schedule.event_filter.dimensions.event_type.values #=> Array
|
3185
|
+
# resp.campaigns_response.item[0].additional_treatments[0].schedule.event_filter.dimensions.event_type.values[0] #=> String
|
3186
|
+
# resp.campaigns_response.item[0].additional_treatments[0].schedule.event_filter.dimensions.metrics #=> Hash
|
3187
|
+
# resp.campaigns_response.item[0].additional_treatments[0].schedule.event_filter.dimensions.metrics["__string"].comparison_operator #=> String
|
3188
|
+
# resp.campaigns_response.item[0].additional_treatments[0].schedule.event_filter.dimensions.metrics["__string"].value #=> Float
|
3189
|
+
# resp.campaigns_response.item[0].additional_treatments[0].schedule.event_filter.filter_type #=> String, one of "SYSTEM", "ENDPOINT"
|
3190
|
+
# resp.campaigns_response.item[0].additional_treatments[0].schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY", "EVENT"
|
2971
3191
|
# resp.campaigns_response.item[0].additional_treatments[0].schedule.is_local_time #=> Boolean
|
2972
3192
|
# resp.campaigns_response.item[0].additional_treatments[0].schedule.quiet_time.end #=> String
|
2973
3193
|
# resp.campaigns_response.item[0].additional_treatments[0].schedule.quiet_time.start #=> String
|
@@ -3061,7 +3281,18 @@ module Aws::Pinpoint
|
|
3061
3281
|
# resp.campaigns_response.item[0].message_configuration.sms_message.sender_id #=> String
|
3062
3282
|
# resp.campaigns_response.item[0].name #=> String
|
3063
3283
|
# resp.campaigns_response.item[0].schedule.end_time #=> String
|
3064
|
-
# resp.campaigns_response.item[0].schedule.
|
3284
|
+
# resp.campaigns_response.item[0].schedule.event_filter.dimensions.attributes #=> Hash
|
3285
|
+
# resp.campaigns_response.item[0].schedule.event_filter.dimensions.attributes["__string"].attribute_type #=> String, one of "INCLUSIVE", "EXCLUSIVE"
|
3286
|
+
# resp.campaigns_response.item[0].schedule.event_filter.dimensions.attributes["__string"].values #=> Array
|
3287
|
+
# resp.campaigns_response.item[0].schedule.event_filter.dimensions.attributes["__string"].values[0] #=> String
|
3288
|
+
# resp.campaigns_response.item[0].schedule.event_filter.dimensions.event_type.dimension_type #=> String, one of "INCLUSIVE", "EXCLUSIVE"
|
3289
|
+
# resp.campaigns_response.item[0].schedule.event_filter.dimensions.event_type.values #=> Array
|
3290
|
+
# resp.campaigns_response.item[0].schedule.event_filter.dimensions.event_type.values[0] #=> String
|
3291
|
+
# resp.campaigns_response.item[0].schedule.event_filter.dimensions.metrics #=> Hash
|
3292
|
+
# resp.campaigns_response.item[0].schedule.event_filter.dimensions.metrics["__string"].comparison_operator #=> String
|
3293
|
+
# resp.campaigns_response.item[0].schedule.event_filter.dimensions.metrics["__string"].value #=> Float
|
3294
|
+
# resp.campaigns_response.item[0].schedule.event_filter.filter_type #=> String, one of "SYSTEM", "ENDPOINT"
|
3295
|
+
# resp.campaigns_response.item[0].schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY", "EVENT"
|
3065
3296
|
# resp.campaigns_response.item[0].schedule.is_local_time #=> Boolean
|
3066
3297
|
# resp.campaigns_response.item[0].schedule.quiet_time.end #=> String
|
3067
3298
|
# resp.campaigns_response.item[0].schedule.quiet_time.start #=> String
|
@@ -3185,7 +3416,7 @@ module Aws::Pinpoint
|
|
3185
3416
|
# resp.endpoint_response.attributes #=> Hash
|
3186
3417
|
# resp.endpoint_response.attributes["__string"] #=> Array
|
3187
3418
|
# resp.endpoint_response.attributes["__string"][0] #=> String
|
3188
|
-
# resp.endpoint_response.channel_type #=> String, one of "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "EMAIL", "BAIDU", "CUSTOM"
|
3419
|
+
# resp.endpoint_response.channel_type #=> String, one of "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM"
|
3189
3420
|
# resp.endpoint_response.cohort_id #=> String
|
3190
3421
|
# resp.endpoint_response.creation_date #=> String
|
3191
3422
|
# resp.endpoint_response.demographic.app_version #=> String
|
@@ -4188,7 +4419,7 @@ module Aws::Pinpoint
|
|
4188
4419
|
# resp.endpoints_response.item[0].attributes #=> Hash
|
4189
4420
|
# resp.endpoints_response.item[0].attributes["__string"] #=> Array
|
4190
4421
|
# resp.endpoints_response.item[0].attributes["__string"][0] #=> String
|
4191
|
-
# resp.endpoints_response.item[0].channel_type #=> String, one of "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "EMAIL", "BAIDU", "CUSTOM"
|
4422
|
+
# resp.endpoints_response.item[0].channel_type #=> String, one of "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM"
|
4192
4423
|
# resp.endpoints_response.item[0].cohort_id #=> String
|
4193
4424
|
# resp.endpoints_response.item[0].creation_date #=> String
|
4194
4425
|
# resp.endpoints_response.item[0].demographic.app_version #=> String
|
@@ -4226,6 +4457,42 @@ module Aws::Pinpoint
|
|
4226
4457
|
req.send_request(options)
|
4227
4458
|
end
|
4228
4459
|
|
4460
|
+
# Get a Voice Channel
|
4461
|
+
#
|
4462
|
+
# @option params [required, String] :application_id
|
4463
|
+
#
|
4464
|
+
# @return [Types::GetVoiceChannelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4465
|
+
#
|
4466
|
+
# * {Types::GetVoiceChannelResponse#voice_channel_response #voice_channel_response} => Types::VoiceChannelResponse
|
4467
|
+
#
|
4468
|
+
# @example Request syntax with placeholder values
|
4469
|
+
#
|
4470
|
+
# resp = client.get_voice_channel({
|
4471
|
+
# application_id: "__string", # required
|
4472
|
+
# })
|
4473
|
+
#
|
4474
|
+
# @example Response structure
|
4475
|
+
#
|
4476
|
+
# resp.voice_channel_response.application_id #=> String
|
4477
|
+
# resp.voice_channel_response.creation_date #=> String
|
4478
|
+
# resp.voice_channel_response.enabled #=> Boolean
|
4479
|
+
# resp.voice_channel_response.has_credential #=> Boolean
|
4480
|
+
# resp.voice_channel_response.id #=> String
|
4481
|
+
# resp.voice_channel_response.is_archived #=> Boolean
|
4482
|
+
# resp.voice_channel_response.last_modified_by #=> String
|
4483
|
+
# resp.voice_channel_response.last_modified_date #=> String
|
4484
|
+
# resp.voice_channel_response.platform #=> String
|
4485
|
+
# resp.voice_channel_response.version #=> Integer
|
4486
|
+
#
|
4487
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetVoiceChannel AWS API Documentation
|
4488
|
+
#
|
4489
|
+
# @overload get_voice_channel(params = {})
|
4490
|
+
# @param [Hash] params ({})
|
4491
|
+
def get_voice_channel(params = {}, options = {})
|
4492
|
+
req = build_request(:get_voice_channel, params)
|
4493
|
+
req.send_request(options)
|
4494
|
+
end
|
4495
|
+
|
4229
4496
|
# Returns information about the specified phone number.
|
4230
4497
|
#
|
4231
4498
|
# @option params [required, Types::NumberValidateRequest] :number_validate_request
|
@@ -4334,7 +4601,7 @@ module Aws::Pinpoint
|
|
4334
4601
|
# attributes: {
|
4335
4602
|
# "__string" => ["__string"],
|
4336
4603
|
# },
|
4337
|
-
# channel_type: "GCM", # accepts GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, EMAIL, BAIDU, CUSTOM
|
4604
|
+
# channel_type: "GCM", # accepts GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
4338
4605
|
# demographic: {
|
4339
4606
|
# app_version: "__string",
|
4340
4607
|
# locale: "__string",
|
@@ -4467,7 +4734,7 @@ module Aws::Pinpoint
|
|
4467
4734
|
# addresses: {
|
4468
4735
|
# "__string" => {
|
4469
4736
|
# body_override: "__string",
|
4470
|
-
# channel_type: "GCM", # accepts GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, EMAIL, BAIDU, CUSTOM
|
4737
|
+
# channel_type: "GCM", # accepts GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
4471
4738
|
# context: {
|
4472
4739
|
# "__string" => "__string",
|
4473
4740
|
# },
|
@@ -4638,6 +4905,15 @@ module Aws::Pinpoint
|
|
4638
4905
|
# "__string" => ["__string"],
|
4639
4906
|
# },
|
4640
4907
|
# },
|
4908
|
+
# voice_message: {
|
4909
|
+
# body: "__string",
|
4910
|
+
# language_code: "__string",
|
4911
|
+
# origination_number: "__string",
|
4912
|
+
# substitutions: {
|
4913
|
+
# "__string" => ["__string"],
|
4914
|
+
# },
|
4915
|
+
# voice_id: "__string",
|
4916
|
+
# },
|
4641
4917
|
# },
|
4642
4918
|
# trace_id: "__string",
|
4643
4919
|
# },
|
@@ -4833,6 +5109,15 @@ module Aws::Pinpoint
|
|
4833
5109
|
# "__string" => ["__string"],
|
4834
5110
|
# },
|
4835
5111
|
# },
|
5112
|
+
# voice_message: {
|
5113
|
+
# body: "__string",
|
5114
|
+
# language_code: "__string",
|
5115
|
+
# origination_number: "__string",
|
5116
|
+
# substitutions: {
|
5117
|
+
# "__string" => ["__string"],
|
5118
|
+
# },
|
5119
|
+
# voice_id: "__string",
|
5120
|
+
# },
|
4836
5121
|
# },
|
4837
5122
|
# trace_id: "__string",
|
4838
5123
|
# users: {
|
@@ -5330,7 +5615,28 @@ module Aws::Pinpoint
|
|
5330
5615
|
# },
|
5331
5616
|
# schedule: {
|
5332
5617
|
# end_time: "__string",
|
5333
|
-
#
|
5618
|
+
# event_filter: {
|
5619
|
+
# dimensions: {
|
5620
|
+
# attributes: {
|
5621
|
+
# "__string" => {
|
5622
|
+
# attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
|
5623
|
+
# values: ["__string"],
|
5624
|
+
# },
|
5625
|
+
# },
|
5626
|
+
# event_type: {
|
5627
|
+
# dimension_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
|
5628
|
+
# values: ["__string"],
|
5629
|
+
# },
|
5630
|
+
# metrics: {
|
5631
|
+
# "__string" => {
|
5632
|
+
# comparison_operator: "__string",
|
5633
|
+
# value: 1.0,
|
5634
|
+
# },
|
5635
|
+
# },
|
5636
|
+
# },
|
5637
|
+
# filter_type: "SYSTEM", # accepts SYSTEM, ENDPOINT
|
5638
|
+
# },
|
5639
|
+
# frequency: "ONCE", # accepts ONCE, HOURLY, DAILY, WEEKLY, MONTHLY, EVENT
|
5334
5640
|
# is_local_time: false,
|
5335
5641
|
# quiet_time: {
|
5336
5642
|
# end: "__string",
|
@@ -5444,7 +5750,28 @@ module Aws::Pinpoint
|
|
5444
5750
|
# name: "__string",
|
5445
5751
|
# schedule: {
|
5446
5752
|
# end_time: "__string",
|
5447
|
-
#
|
5753
|
+
# event_filter: {
|
5754
|
+
# dimensions: {
|
5755
|
+
# attributes: {
|
5756
|
+
# "__string" => {
|
5757
|
+
# attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
|
5758
|
+
# values: ["__string"],
|
5759
|
+
# },
|
5760
|
+
# },
|
5761
|
+
# event_type: {
|
5762
|
+
# dimension_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
|
5763
|
+
# values: ["__string"],
|
5764
|
+
# },
|
5765
|
+
# metrics: {
|
5766
|
+
# "__string" => {
|
5767
|
+
# comparison_operator: "__string",
|
5768
|
+
# value: 1.0,
|
5769
|
+
# },
|
5770
|
+
# },
|
5771
|
+
# },
|
5772
|
+
# filter_type: "SYSTEM", # accepts SYSTEM, ENDPOINT
|
5773
|
+
# },
|
5774
|
+
# frequency: "ONCE", # accepts ONCE, HOURLY, DAILY, WEEKLY, MONTHLY, EVENT
|
5448
5775
|
# is_local_time: false,
|
5449
5776
|
# quiet_time: {
|
5450
5777
|
# end: "__string",
|
@@ -5532,7 +5859,18 @@ module Aws::Pinpoint
|
|
5532
5859
|
# resp.campaign_response.additional_treatments[0].message_configuration.sms_message.message_type #=> String, one of "TRANSACTIONAL", "PROMOTIONAL"
|
5533
5860
|
# resp.campaign_response.additional_treatments[0].message_configuration.sms_message.sender_id #=> String
|
5534
5861
|
# resp.campaign_response.additional_treatments[0].schedule.end_time #=> String
|
5535
|
-
# resp.campaign_response.additional_treatments[0].schedule.
|
5862
|
+
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.attributes #=> Hash
|
5863
|
+
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.attributes["__string"].attribute_type #=> String, one of "INCLUSIVE", "EXCLUSIVE"
|
5864
|
+
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.attributes["__string"].values #=> Array
|
5865
|
+
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.attributes["__string"].values[0] #=> String
|
5866
|
+
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.event_type.dimension_type #=> String, one of "INCLUSIVE", "EXCLUSIVE"
|
5867
|
+
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.event_type.values #=> Array
|
5868
|
+
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.event_type.values[0] #=> String
|
5869
|
+
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.metrics #=> Hash
|
5870
|
+
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.metrics["__string"].comparison_operator #=> String
|
5871
|
+
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.metrics["__string"].value #=> Float
|
5872
|
+
# resp.campaign_response.additional_treatments[0].schedule.event_filter.filter_type #=> String, one of "SYSTEM", "ENDPOINT"
|
5873
|
+
# resp.campaign_response.additional_treatments[0].schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY", "EVENT"
|
5536
5874
|
# resp.campaign_response.additional_treatments[0].schedule.is_local_time #=> Boolean
|
5537
5875
|
# resp.campaign_response.additional_treatments[0].schedule.quiet_time.end #=> String
|
5538
5876
|
# resp.campaign_response.additional_treatments[0].schedule.quiet_time.start #=> String
|
@@ -5626,7 +5964,18 @@ module Aws::Pinpoint
|
|
5626
5964
|
# resp.campaign_response.message_configuration.sms_message.sender_id #=> String
|
5627
5965
|
# resp.campaign_response.name #=> String
|
5628
5966
|
# resp.campaign_response.schedule.end_time #=> String
|
5629
|
-
# resp.campaign_response.schedule.
|
5967
|
+
# resp.campaign_response.schedule.event_filter.dimensions.attributes #=> Hash
|
5968
|
+
# resp.campaign_response.schedule.event_filter.dimensions.attributes["__string"].attribute_type #=> String, one of "INCLUSIVE", "EXCLUSIVE"
|
5969
|
+
# resp.campaign_response.schedule.event_filter.dimensions.attributes["__string"].values #=> Array
|
5970
|
+
# resp.campaign_response.schedule.event_filter.dimensions.attributes["__string"].values[0] #=> String
|
5971
|
+
# resp.campaign_response.schedule.event_filter.dimensions.event_type.dimension_type #=> String, one of "INCLUSIVE", "EXCLUSIVE"
|
5972
|
+
# resp.campaign_response.schedule.event_filter.dimensions.event_type.values #=> Array
|
5973
|
+
# resp.campaign_response.schedule.event_filter.dimensions.event_type.values[0] #=> String
|
5974
|
+
# resp.campaign_response.schedule.event_filter.dimensions.metrics #=> Hash
|
5975
|
+
# resp.campaign_response.schedule.event_filter.dimensions.metrics["__string"].comparison_operator #=> String
|
5976
|
+
# resp.campaign_response.schedule.event_filter.dimensions.metrics["__string"].value #=> Float
|
5977
|
+
# resp.campaign_response.schedule.event_filter.filter_type #=> String, one of "SYSTEM", "ENDPOINT"
|
5978
|
+
# resp.campaign_response.schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY", "EVENT"
|
5630
5979
|
# resp.campaign_response.schedule.is_local_time #=> Boolean
|
5631
5980
|
# resp.campaign_response.schedule.quiet_time.end #=> String
|
5632
5981
|
# resp.campaign_response.schedule.quiet_time.start #=> String
|
@@ -5722,7 +6071,7 @@ module Aws::Pinpoint
|
|
5722
6071
|
# attributes: {
|
5723
6072
|
# "__string" => ["__string"],
|
5724
6073
|
# },
|
5725
|
-
# channel_type: "GCM", # accepts GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, EMAIL, BAIDU, CUSTOM
|
6074
|
+
# channel_type: "GCM", # accepts GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
5726
6075
|
# demographic: {
|
5727
6076
|
# app_version: "__string",
|
5728
6077
|
# locale: "__string",
|
@@ -5793,7 +6142,7 @@ module Aws::Pinpoint
|
|
5793
6142
|
# attributes: {
|
5794
6143
|
# "__string" => ["__string"],
|
5795
6144
|
# },
|
5796
|
-
# channel_type: "GCM", # accepts GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, EMAIL, BAIDU, CUSTOM
|
6145
|
+
# channel_type: "GCM", # accepts GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
5797
6146
|
# demographic: {
|
5798
6147
|
# app_version: "__string",
|
5799
6148
|
# locale: "__string",
|
@@ -6215,6 +6564,48 @@ module Aws::Pinpoint
|
|
6215
6564
|
req.send_request(options)
|
6216
6565
|
end
|
6217
6566
|
|
6567
|
+
# Update an Voice channel
|
6568
|
+
#
|
6569
|
+
# @option params [required, String] :application_id
|
6570
|
+
#
|
6571
|
+
# @option params [required, Types::VoiceChannelRequest] :voice_channel_request
|
6572
|
+
# Voice Channel Request
|
6573
|
+
#
|
6574
|
+
# @return [Types::UpdateVoiceChannelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6575
|
+
#
|
6576
|
+
# * {Types::UpdateVoiceChannelResponse#voice_channel_response #voice_channel_response} => Types::VoiceChannelResponse
|
6577
|
+
#
|
6578
|
+
# @example Request syntax with placeholder values
|
6579
|
+
#
|
6580
|
+
# resp = client.update_voice_channel({
|
6581
|
+
# application_id: "__string", # required
|
6582
|
+
# voice_channel_request: { # required
|
6583
|
+
# enabled: false,
|
6584
|
+
# },
|
6585
|
+
# })
|
6586
|
+
#
|
6587
|
+
# @example Response structure
|
6588
|
+
#
|
6589
|
+
# resp.voice_channel_response.application_id #=> String
|
6590
|
+
# resp.voice_channel_response.creation_date #=> String
|
6591
|
+
# resp.voice_channel_response.enabled #=> Boolean
|
6592
|
+
# resp.voice_channel_response.has_credential #=> Boolean
|
6593
|
+
# resp.voice_channel_response.id #=> String
|
6594
|
+
# resp.voice_channel_response.is_archived #=> Boolean
|
6595
|
+
# resp.voice_channel_response.last_modified_by #=> String
|
6596
|
+
# resp.voice_channel_response.last_modified_date #=> String
|
6597
|
+
# resp.voice_channel_response.platform #=> String
|
6598
|
+
# resp.voice_channel_response.version #=> Integer
|
6599
|
+
#
|
6600
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateVoiceChannel AWS API Documentation
|
6601
|
+
#
|
6602
|
+
# @overload update_voice_channel(params = {})
|
6603
|
+
# @param [Hash] params ({})
|
6604
|
+
def update_voice_channel(params = {}, options = {})
|
6605
|
+
req = build_request(:update_voice_channel, params)
|
6606
|
+
req.send_request(options)
|
6607
|
+
end
|
6608
|
+
|
6218
6609
|
# @!endgroup
|
6219
6610
|
|
6220
6611
|
# @param params ({})
|
@@ -6228,7 +6619,7 @@ module Aws::Pinpoint
|
|
6228
6619
|
params: params,
|
6229
6620
|
config: config)
|
6230
6621
|
context[:gem_name] = 'aws-sdk-pinpoint'
|
6231
|
-
context[:gem_version] = '1.
|
6622
|
+
context[:gem_version] = '1.13.0'
|
6232
6623
|
Seahorse::Client::Request.new(handlers, context)
|
6233
6624
|
end
|
6234
6625
|
|