aws-sdk-pinpoint 1.25.0 → 1.26.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 +120 -1
- data/lib/aws-sdk-pinpoint/client_api.rb +100 -0
- data/lib/aws-sdk-pinpoint/types.rb +304 -0
- 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: f0ee0635fb8cdc15fa0c84c0f3b41c0302c9d2b7
|
|
4
|
+
data.tar.gz: b3674bbf0fb2e628ec88d25da40fea358b3d6f1a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6c715bca3a11ef4f80b5d78755f9e859be2acbb69d0ffccefbd78d858925c4bf75a5a88062321c58965babe3bb63adec0fd833d6bcd7722d40a58e9bd376fd57
|
|
7
|
+
data.tar.gz: '08bb3255dc57a0221cce8c79dd1f880532d6d2ee6ac2cd1d5c609008c5c75194b8ad362ef456d2a63f2383d6ff1d0cf80ba46a93de62f35e23c18564bf601f86'
|
data/lib/aws-sdk-pinpoint.rb
CHANGED
|
@@ -2106,6 +2106,7 @@ module Aws::Pinpoint
|
|
|
2106
2106
|
# resp.voice_channel_response.is_archived #=> Boolean
|
|
2107
2107
|
# resp.voice_channel_response.last_modified_by #=> String
|
|
2108
2108
|
# resp.voice_channel_response.last_modified_date #=> String
|
|
2109
|
+
# resp.voice_channel_response.origination_number #=> String
|
|
2109
2110
|
# resp.voice_channel_response.platform #=> String
|
|
2110
2111
|
# resp.voice_channel_response.version #=> Integer
|
|
2111
2112
|
#
|
|
@@ -2342,6 +2343,62 @@ module Aws::Pinpoint
|
|
|
2342
2343
|
req.send_request(options)
|
|
2343
2344
|
end
|
|
2344
2345
|
|
|
2346
|
+
# Retrieves (queries) pre-aggregated data for a standard metric that
|
|
2347
|
+
# applies to an application.
|
|
2348
|
+
#
|
|
2349
|
+
# @option params [required, String] :application_id
|
|
2350
|
+
#
|
|
2351
|
+
# @option params [Time,DateTime,Date,Integer,String] :end_time
|
|
2352
|
+
#
|
|
2353
|
+
# @option params [required, String] :kpi_name
|
|
2354
|
+
#
|
|
2355
|
+
# @option params [String] :next_token
|
|
2356
|
+
#
|
|
2357
|
+
# @option params [String] :page_size
|
|
2358
|
+
#
|
|
2359
|
+
# @option params [Time,DateTime,Date,Integer,String] :start_time
|
|
2360
|
+
#
|
|
2361
|
+
# @return [Types::GetApplicationDateRangeKpiResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2362
|
+
#
|
|
2363
|
+
# * {Types::GetApplicationDateRangeKpiResponse#application_date_range_kpi_response #application_date_range_kpi_response} => Types::ApplicationDateRangeKpiResponse
|
|
2364
|
+
#
|
|
2365
|
+
# @example Request syntax with placeholder values
|
|
2366
|
+
#
|
|
2367
|
+
# resp = client.get_application_date_range_kpi({
|
|
2368
|
+
# application_id: "__string", # required
|
|
2369
|
+
# end_time: Time.now,
|
|
2370
|
+
# kpi_name: "__string", # required
|
|
2371
|
+
# next_token: "__string",
|
|
2372
|
+
# page_size: "__string",
|
|
2373
|
+
# start_time: Time.now,
|
|
2374
|
+
# })
|
|
2375
|
+
#
|
|
2376
|
+
# @example Response structure
|
|
2377
|
+
#
|
|
2378
|
+
# resp.application_date_range_kpi_response.application_id #=> String
|
|
2379
|
+
# resp.application_date_range_kpi_response.end_time #=> Time
|
|
2380
|
+
# resp.application_date_range_kpi_response.kpi_name #=> String
|
|
2381
|
+
# resp.application_date_range_kpi_response.kpi_result.rows #=> Array
|
|
2382
|
+
# resp.application_date_range_kpi_response.kpi_result.rows[0].grouped_bys #=> Array
|
|
2383
|
+
# resp.application_date_range_kpi_response.kpi_result.rows[0].grouped_bys[0].key #=> String
|
|
2384
|
+
# resp.application_date_range_kpi_response.kpi_result.rows[0].grouped_bys[0].type #=> String
|
|
2385
|
+
# resp.application_date_range_kpi_response.kpi_result.rows[0].grouped_bys[0].value #=> String
|
|
2386
|
+
# resp.application_date_range_kpi_response.kpi_result.rows[0].values #=> Array
|
|
2387
|
+
# resp.application_date_range_kpi_response.kpi_result.rows[0].values[0].key #=> String
|
|
2388
|
+
# resp.application_date_range_kpi_response.kpi_result.rows[0].values[0].type #=> String
|
|
2389
|
+
# resp.application_date_range_kpi_response.kpi_result.rows[0].values[0].value #=> String
|
|
2390
|
+
# resp.application_date_range_kpi_response.next_token #=> String
|
|
2391
|
+
# resp.application_date_range_kpi_response.start_time #=> Time
|
|
2392
|
+
#
|
|
2393
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApplicationDateRangeKpi AWS API Documentation
|
|
2394
|
+
#
|
|
2395
|
+
# @overload get_application_date_range_kpi(params = {})
|
|
2396
|
+
# @param [Hash] params ({})
|
|
2397
|
+
def get_application_date_range_kpi(params = {}, options = {})
|
|
2398
|
+
req = build_request(:get_application_date_range_kpi, params)
|
|
2399
|
+
req.send_request(options)
|
|
2400
|
+
end
|
|
2401
|
+
|
|
2345
2402
|
# Retrieves information about the settings for an application.
|
|
2346
2403
|
#
|
|
2347
2404
|
# @option params [required, String] :application_id
|
|
@@ -2734,6 +2791,66 @@ module Aws::Pinpoint
|
|
|
2734
2791
|
req.send_request(options)
|
|
2735
2792
|
end
|
|
2736
2793
|
|
|
2794
|
+
# Retrieves (queries) pre-aggregated data for a standard metric that
|
|
2795
|
+
# applies to a campaign.
|
|
2796
|
+
#
|
|
2797
|
+
# @option params [required, String] :application_id
|
|
2798
|
+
#
|
|
2799
|
+
# @option params [required, String] :campaign_id
|
|
2800
|
+
#
|
|
2801
|
+
# @option params [Time,DateTime,Date,Integer,String] :end_time
|
|
2802
|
+
#
|
|
2803
|
+
# @option params [required, String] :kpi_name
|
|
2804
|
+
#
|
|
2805
|
+
# @option params [String] :next_token
|
|
2806
|
+
#
|
|
2807
|
+
# @option params [String] :page_size
|
|
2808
|
+
#
|
|
2809
|
+
# @option params [Time,DateTime,Date,Integer,String] :start_time
|
|
2810
|
+
#
|
|
2811
|
+
# @return [Types::GetCampaignDateRangeKpiResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2812
|
+
#
|
|
2813
|
+
# * {Types::GetCampaignDateRangeKpiResponse#campaign_date_range_kpi_response #campaign_date_range_kpi_response} => Types::CampaignDateRangeKpiResponse
|
|
2814
|
+
#
|
|
2815
|
+
# @example Request syntax with placeholder values
|
|
2816
|
+
#
|
|
2817
|
+
# resp = client.get_campaign_date_range_kpi({
|
|
2818
|
+
# application_id: "__string", # required
|
|
2819
|
+
# campaign_id: "__string", # required
|
|
2820
|
+
# end_time: Time.now,
|
|
2821
|
+
# kpi_name: "__string", # required
|
|
2822
|
+
# next_token: "__string",
|
|
2823
|
+
# page_size: "__string",
|
|
2824
|
+
# start_time: Time.now,
|
|
2825
|
+
# })
|
|
2826
|
+
#
|
|
2827
|
+
# @example Response structure
|
|
2828
|
+
#
|
|
2829
|
+
# resp.campaign_date_range_kpi_response.application_id #=> String
|
|
2830
|
+
# resp.campaign_date_range_kpi_response.campaign_id #=> String
|
|
2831
|
+
# resp.campaign_date_range_kpi_response.end_time #=> Time
|
|
2832
|
+
# resp.campaign_date_range_kpi_response.kpi_name #=> String
|
|
2833
|
+
# resp.campaign_date_range_kpi_response.kpi_result.rows #=> Array
|
|
2834
|
+
# resp.campaign_date_range_kpi_response.kpi_result.rows[0].grouped_bys #=> Array
|
|
2835
|
+
# resp.campaign_date_range_kpi_response.kpi_result.rows[0].grouped_bys[0].key #=> String
|
|
2836
|
+
# resp.campaign_date_range_kpi_response.kpi_result.rows[0].grouped_bys[0].type #=> String
|
|
2837
|
+
# resp.campaign_date_range_kpi_response.kpi_result.rows[0].grouped_bys[0].value #=> String
|
|
2838
|
+
# resp.campaign_date_range_kpi_response.kpi_result.rows[0].values #=> Array
|
|
2839
|
+
# resp.campaign_date_range_kpi_response.kpi_result.rows[0].values[0].key #=> String
|
|
2840
|
+
# resp.campaign_date_range_kpi_response.kpi_result.rows[0].values[0].type #=> String
|
|
2841
|
+
# resp.campaign_date_range_kpi_response.kpi_result.rows[0].values[0].value #=> String
|
|
2842
|
+
# resp.campaign_date_range_kpi_response.next_token #=> String
|
|
2843
|
+
# resp.campaign_date_range_kpi_response.start_time #=> Time
|
|
2844
|
+
#
|
|
2845
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaignDateRangeKpi AWS API Documentation
|
|
2846
|
+
#
|
|
2847
|
+
# @overload get_campaign_date_range_kpi(params = {})
|
|
2848
|
+
# @param [Hash] params ({})
|
|
2849
|
+
def get_campaign_date_range_kpi(params = {}, options = {})
|
|
2850
|
+
req = build_request(:get_campaign_date_range_kpi, params)
|
|
2851
|
+
req.send_request(options)
|
|
2852
|
+
end
|
|
2853
|
+
|
|
2737
2854
|
# Retrieves information about the status, configuration, and other
|
|
2738
2855
|
# settings for a specific version of a campaign.
|
|
2739
2856
|
#
|
|
@@ -4642,6 +4759,7 @@ module Aws::Pinpoint
|
|
|
4642
4759
|
# resp.voice_channel_response.is_archived #=> Boolean
|
|
4643
4760
|
# resp.voice_channel_response.last_modified_by #=> String
|
|
4644
4761
|
# resp.voice_channel_response.last_modified_date #=> String
|
|
4762
|
+
# resp.voice_channel_response.origination_number #=> String
|
|
4645
4763
|
# resp.voice_channel_response.platform #=> String
|
|
4646
4764
|
# resp.voice_channel_response.version #=> Integer
|
|
4647
4765
|
#
|
|
@@ -6889,6 +7007,7 @@ module Aws::Pinpoint
|
|
|
6889
7007
|
# resp.voice_channel_response.is_archived #=> Boolean
|
|
6890
7008
|
# resp.voice_channel_response.last_modified_by #=> String
|
|
6891
7009
|
# resp.voice_channel_response.last_modified_date #=> String
|
|
7010
|
+
# resp.voice_channel_response.origination_number #=> String
|
|
6892
7011
|
# resp.voice_channel_response.platform #=> String
|
|
6893
7012
|
# resp.voice_channel_response.version #=> Integer
|
|
6894
7013
|
#
|
|
@@ -6914,7 +7033,7 @@ module Aws::Pinpoint
|
|
|
6914
7033
|
params: params,
|
|
6915
7034
|
config: config)
|
|
6916
7035
|
context[:gem_name] = 'aws-sdk-pinpoint'
|
|
6917
|
-
context[:gem_version] = '1.
|
|
7036
|
+
context[:gem_version] = '1.26.0'
|
|
6918
7037
|
Seahorse::Client::Request.new(handlers, context)
|
|
6919
7038
|
end
|
|
6920
7039
|
|
|
@@ -27,6 +27,7 @@ module Aws::Pinpoint
|
|
|
27
27
|
ActivitiesResponse = Shapes::StructureShape.new(name: 'ActivitiesResponse')
|
|
28
28
|
ActivityResponse = Shapes::StructureShape.new(name: 'ActivityResponse')
|
|
29
29
|
AddressConfiguration = Shapes::StructureShape.new(name: 'AddressConfiguration')
|
|
30
|
+
ApplicationDateRangeKpiResponse = Shapes::StructureShape.new(name: 'ApplicationDateRangeKpiResponse')
|
|
30
31
|
ApplicationResponse = Shapes::StructureShape.new(name: 'ApplicationResponse')
|
|
31
32
|
ApplicationSettingsResource = Shapes::StructureShape.new(name: 'ApplicationSettingsResource')
|
|
32
33
|
ApplicationsResponse = Shapes::StructureShape.new(name: 'ApplicationsResponse')
|
|
@@ -37,6 +38,8 @@ module Aws::Pinpoint
|
|
|
37
38
|
BaiduChannelRequest = Shapes::StructureShape.new(name: 'BaiduChannelRequest')
|
|
38
39
|
BaiduChannelResponse = Shapes::StructureShape.new(name: 'BaiduChannelResponse')
|
|
39
40
|
BaiduMessage = Shapes::StructureShape.new(name: 'BaiduMessage')
|
|
41
|
+
BaseKpiResult = Shapes::StructureShape.new(name: 'BaseKpiResult')
|
|
42
|
+
CampaignDateRangeKpiResponse = Shapes::StructureShape.new(name: 'CampaignDateRangeKpiResponse')
|
|
40
43
|
CampaignEmailMessage = Shapes::StructureShape.new(name: 'CampaignEmailMessage')
|
|
41
44
|
CampaignEventFilter = Shapes::StructureShape.new(name: 'CampaignEventFilter')
|
|
42
45
|
CampaignHook = Shapes::StructureShape.new(name: 'CampaignHook')
|
|
@@ -144,6 +147,8 @@ module Aws::Pinpoint
|
|
|
144
147
|
GetApnsVoipSandboxChannelResponse = Shapes::StructureShape.new(name: 'GetApnsVoipSandboxChannelResponse')
|
|
145
148
|
GetAppRequest = Shapes::StructureShape.new(name: 'GetAppRequest')
|
|
146
149
|
GetAppResponse = Shapes::StructureShape.new(name: 'GetAppResponse')
|
|
150
|
+
GetApplicationDateRangeKpiRequest = Shapes::StructureShape.new(name: 'GetApplicationDateRangeKpiRequest')
|
|
151
|
+
GetApplicationDateRangeKpiResponse = Shapes::StructureShape.new(name: 'GetApplicationDateRangeKpiResponse')
|
|
147
152
|
GetApplicationSettingsRequest = Shapes::StructureShape.new(name: 'GetApplicationSettingsRequest')
|
|
148
153
|
GetApplicationSettingsResponse = Shapes::StructureShape.new(name: 'GetApplicationSettingsResponse')
|
|
149
154
|
GetAppsRequest = Shapes::StructureShape.new(name: 'GetAppsRequest')
|
|
@@ -152,6 +157,8 @@ module Aws::Pinpoint
|
|
|
152
157
|
GetBaiduChannelResponse = Shapes::StructureShape.new(name: 'GetBaiduChannelResponse')
|
|
153
158
|
GetCampaignActivitiesRequest = Shapes::StructureShape.new(name: 'GetCampaignActivitiesRequest')
|
|
154
159
|
GetCampaignActivitiesResponse = Shapes::StructureShape.new(name: 'GetCampaignActivitiesResponse')
|
|
160
|
+
GetCampaignDateRangeKpiRequest = Shapes::StructureShape.new(name: 'GetCampaignDateRangeKpiRequest')
|
|
161
|
+
GetCampaignDateRangeKpiResponse = Shapes::StructureShape.new(name: 'GetCampaignDateRangeKpiResponse')
|
|
155
162
|
GetCampaignRequest = Shapes::StructureShape.new(name: 'GetCampaignRequest')
|
|
156
163
|
GetCampaignResponse = Shapes::StructureShape.new(name: 'GetCampaignResponse')
|
|
157
164
|
GetCampaignVersionRequest = Shapes::StructureShape.new(name: 'GetCampaignVersionRequest')
|
|
@@ -211,6 +218,8 @@ module Aws::Pinpoint
|
|
|
211
218
|
ListOfEndpointResponse = Shapes::ListShape.new(name: 'ListOfEndpointResponse')
|
|
212
219
|
ListOfExportJobResponse = Shapes::ListShape.new(name: 'ListOfExportJobResponse')
|
|
213
220
|
ListOfImportJobResponse = Shapes::ListShape.new(name: 'ListOfImportJobResponse')
|
|
221
|
+
ListOfResultRow = Shapes::ListShape.new(name: 'ListOfResultRow')
|
|
222
|
+
ListOfResultRowValue = Shapes::ListShape.new(name: 'ListOfResultRowValue')
|
|
214
223
|
ListOfSegmentDimensions = Shapes::ListShape.new(name: 'ListOfSegmentDimensions')
|
|
215
224
|
ListOfSegmentGroup = Shapes::ListShape.new(name: 'ListOfSegmentGroup')
|
|
216
225
|
ListOfSegmentReference = Shapes::ListShape.new(name: 'ListOfSegmentReference')
|
|
@@ -262,6 +271,8 @@ module Aws::Pinpoint
|
|
|
262
271
|
RecencyType = Shapes::StringShape.new(name: 'RecencyType')
|
|
263
272
|
RemoveAttributesRequest = Shapes::StructureShape.new(name: 'RemoveAttributesRequest')
|
|
264
273
|
RemoveAttributesResponse = Shapes::StructureShape.new(name: 'RemoveAttributesResponse')
|
|
274
|
+
ResultRow = Shapes::StructureShape.new(name: 'ResultRow')
|
|
275
|
+
ResultRowValue = Shapes::StructureShape.new(name: 'ResultRowValue')
|
|
265
276
|
SMSChannelRequest = Shapes::StructureShape.new(name: 'SMSChannelRequest')
|
|
266
277
|
SMSChannelResponse = Shapes::StructureShape.new(name: 'SMSChannelResponse')
|
|
267
278
|
SMSMessage = Shapes::StructureShape.new(name: 'SMSMessage')
|
|
@@ -519,6 +530,14 @@ module Aws::Pinpoint
|
|
|
519
530
|
AddressConfiguration.add_member(:title_override, Shapes::ShapeRef.new(shape: __string, location_name: "TitleOverride"))
|
|
520
531
|
AddressConfiguration.struct_class = Types::AddressConfiguration
|
|
521
532
|
|
|
533
|
+
ApplicationDateRangeKpiResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "ApplicationId"))
|
|
534
|
+
ApplicationDateRangeKpiResponse.add_member(:end_time, Shapes::ShapeRef.new(shape: __timestampIso8601, required: true, location_name: "EndTime"))
|
|
535
|
+
ApplicationDateRangeKpiResponse.add_member(:kpi_name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "KpiName"))
|
|
536
|
+
ApplicationDateRangeKpiResponse.add_member(:kpi_result, Shapes::ShapeRef.new(shape: BaseKpiResult, required: true, location_name: "KpiResult"))
|
|
537
|
+
ApplicationDateRangeKpiResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "NextToken"))
|
|
538
|
+
ApplicationDateRangeKpiResponse.add_member(:start_time, Shapes::ShapeRef.new(shape: __timestampIso8601, required: true, location_name: "StartTime"))
|
|
539
|
+
ApplicationDateRangeKpiResponse.struct_class = Types::ApplicationDateRangeKpiResponse
|
|
540
|
+
|
|
522
541
|
ApplicationResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Arn"))
|
|
523
542
|
ApplicationResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Id"))
|
|
524
543
|
ApplicationResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Name"))
|
|
@@ -583,6 +602,18 @@ module Aws::Pinpoint
|
|
|
583
602
|
BaiduMessage.add_member(:url, Shapes::ShapeRef.new(shape: __string, location_name: "Url"))
|
|
584
603
|
BaiduMessage.struct_class = Types::BaiduMessage
|
|
585
604
|
|
|
605
|
+
BaseKpiResult.add_member(:rows, Shapes::ShapeRef.new(shape: ListOfResultRow, required: true, location_name: "Rows"))
|
|
606
|
+
BaseKpiResult.struct_class = Types::BaseKpiResult
|
|
607
|
+
|
|
608
|
+
CampaignDateRangeKpiResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "ApplicationId"))
|
|
609
|
+
CampaignDateRangeKpiResponse.add_member(:campaign_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "CampaignId"))
|
|
610
|
+
CampaignDateRangeKpiResponse.add_member(:end_time, Shapes::ShapeRef.new(shape: __timestampIso8601, required: true, location_name: "EndTime"))
|
|
611
|
+
CampaignDateRangeKpiResponse.add_member(:kpi_name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "KpiName"))
|
|
612
|
+
CampaignDateRangeKpiResponse.add_member(:kpi_result, Shapes::ShapeRef.new(shape: BaseKpiResult, required: true, location_name: "KpiResult"))
|
|
613
|
+
CampaignDateRangeKpiResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "NextToken"))
|
|
614
|
+
CampaignDateRangeKpiResponse.add_member(:start_time, Shapes::ShapeRef.new(shape: __timestampIso8601, required: true, location_name: "StartTime"))
|
|
615
|
+
CampaignDateRangeKpiResponse.struct_class = Types::CampaignDateRangeKpiResponse
|
|
616
|
+
|
|
586
617
|
CampaignEmailMessage.add_member(:body, Shapes::ShapeRef.new(shape: __string, location_name: "Body"))
|
|
587
618
|
CampaignEmailMessage.add_member(:from_address, Shapes::ShapeRef.new(shape: __string, location_name: "FromAddress"))
|
|
588
619
|
CampaignEmailMessage.add_member(:html_body, Shapes::ShapeRef.new(shape: __string, location_name: "HtmlBody"))
|
|
@@ -1158,6 +1189,19 @@ module Aws::Pinpoint
|
|
|
1158
1189
|
GetAppResponse[:payload] = :application_response
|
|
1159
1190
|
GetAppResponse[:payload_member] = GetAppResponse.member(:application_response)
|
|
1160
1191
|
|
|
1192
|
+
GetApplicationDateRangeKpiRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
|
|
1193
|
+
GetApplicationDateRangeKpiRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: __timestampIso8601, location: "querystring", location_name: "end-time"))
|
|
1194
|
+
GetApplicationDateRangeKpiRequest.add_member(:kpi_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "kpi-name"))
|
|
1195
|
+
GetApplicationDateRangeKpiRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "next-token"))
|
|
1196
|
+
GetApplicationDateRangeKpiRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "page-size"))
|
|
1197
|
+
GetApplicationDateRangeKpiRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: __timestampIso8601, location: "querystring", location_name: "start-time"))
|
|
1198
|
+
GetApplicationDateRangeKpiRequest.struct_class = Types::GetApplicationDateRangeKpiRequest
|
|
1199
|
+
|
|
1200
|
+
GetApplicationDateRangeKpiResponse.add_member(:application_date_range_kpi_response, Shapes::ShapeRef.new(shape: ApplicationDateRangeKpiResponse, required: true, location_name: "ApplicationDateRangeKpiResponse"))
|
|
1201
|
+
GetApplicationDateRangeKpiResponse.struct_class = Types::GetApplicationDateRangeKpiResponse
|
|
1202
|
+
GetApplicationDateRangeKpiResponse[:payload] = :application_date_range_kpi_response
|
|
1203
|
+
GetApplicationDateRangeKpiResponse[:payload_member] = GetApplicationDateRangeKpiResponse.member(:application_date_range_kpi_response)
|
|
1204
|
+
|
|
1161
1205
|
GetApplicationSettingsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
|
|
1162
1206
|
GetApplicationSettingsRequest.struct_class = Types::GetApplicationSettingsRequest
|
|
1163
1207
|
|
|
@@ -1194,6 +1238,20 @@ module Aws::Pinpoint
|
|
|
1194
1238
|
GetCampaignActivitiesResponse[:payload] = :activities_response
|
|
1195
1239
|
GetCampaignActivitiesResponse[:payload_member] = GetCampaignActivitiesResponse.member(:activities_response)
|
|
1196
1240
|
|
|
1241
|
+
GetCampaignDateRangeKpiRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
|
|
1242
|
+
GetCampaignDateRangeKpiRequest.add_member(:campaign_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "campaign-id"))
|
|
1243
|
+
GetCampaignDateRangeKpiRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: __timestampIso8601, location: "querystring", location_name: "end-time"))
|
|
1244
|
+
GetCampaignDateRangeKpiRequest.add_member(:kpi_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "kpi-name"))
|
|
1245
|
+
GetCampaignDateRangeKpiRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "next-token"))
|
|
1246
|
+
GetCampaignDateRangeKpiRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "page-size"))
|
|
1247
|
+
GetCampaignDateRangeKpiRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: __timestampIso8601, location: "querystring", location_name: "start-time"))
|
|
1248
|
+
GetCampaignDateRangeKpiRequest.struct_class = Types::GetCampaignDateRangeKpiRequest
|
|
1249
|
+
|
|
1250
|
+
GetCampaignDateRangeKpiResponse.add_member(:campaign_date_range_kpi_response, Shapes::ShapeRef.new(shape: CampaignDateRangeKpiResponse, required: true, location_name: "CampaignDateRangeKpiResponse"))
|
|
1251
|
+
GetCampaignDateRangeKpiResponse.struct_class = Types::GetCampaignDateRangeKpiResponse
|
|
1252
|
+
GetCampaignDateRangeKpiResponse[:payload] = :campaign_date_range_kpi_response
|
|
1253
|
+
GetCampaignDateRangeKpiResponse[:payload_member] = GetCampaignDateRangeKpiResponse.member(:campaign_date_range_kpi_response)
|
|
1254
|
+
|
|
1197
1255
|
GetCampaignRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
|
|
1198
1256
|
GetCampaignRequest.add_member(:campaign_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "campaign-id"))
|
|
1199
1257
|
GetCampaignRequest.struct_class = Types::GetCampaignRequest
|
|
@@ -1461,6 +1519,10 @@ module Aws::Pinpoint
|
|
|
1461
1519
|
|
|
1462
1520
|
ListOfImportJobResponse.member = Shapes::ShapeRef.new(shape: ImportJobResponse)
|
|
1463
1521
|
|
|
1522
|
+
ListOfResultRow.member = Shapes::ShapeRef.new(shape: ResultRow)
|
|
1523
|
+
|
|
1524
|
+
ListOfResultRowValue.member = Shapes::ShapeRef.new(shape: ResultRowValue)
|
|
1525
|
+
|
|
1464
1526
|
ListOfSegmentDimensions.member = Shapes::ShapeRef.new(shape: SegmentDimensions)
|
|
1465
1527
|
|
|
1466
1528
|
ListOfSegmentGroup.member = Shapes::ShapeRef.new(shape: SegmentGroup)
|
|
@@ -1678,6 +1740,15 @@ module Aws::Pinpoint
|
|
|
1678
1740
|
RemoveAttributesResponse[:payload] = :attributes_resource
|
|
1679
1741
|
RemoveAttributesResponse[:payload_member] = RemoveAttributesResponse.member(:attributes_resource)
|
|
1680
1742
|
|
|
1743
|
+
ResultRow.add_member(:grouped_bys, Shapes::ShapeRef.new(shape: ListOfResultRowValue, required: true, location_name: "GroupedBys"))
|
|
1744
|
+
ResultRow.add_member(:values, Shapes::ShapeRef.new(shape: ListOfResultRowValue, required: true, location_name: "Values"))
|
|
1745
|
+
ResultRow.struct_class = Types::ResultRow
|
|
1746
|
+
|
|
1747
|
+
ResultRowValue.add_member(:key, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Key"))
|
|
1748
|
+
ResultRowValue.add_member(:type, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Type"))
|
|
1749
|
+
ResultRowValue.add_member(:value, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Value"))
|
|
1750
|
+
ResultRowValue.struct_class = Types::ResultRowValue
|
|
1751
|
+
|
|
1681
1752
|
SMSChannelRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "Enabled"))
|
|
1682
1753
|
SMSChannelRequest.add_member(:sender_id, Shapes::ShapeRef.new(shape: __string, location_name: "SenderId"))
|
|
1683
1754
|
SMSChannelRequest.add_member(:short_code, Shapes::ShapeRef.new(shape: __string, location_name: "ShortCode"))
|
|
@@ -2039,6 +2110,7 @@ module Aws::Pinpoint
|
|
|
2039
2110
|
VoiceChannelResponse.add_member(:is_archived, Shapes::ShapeRef.new(shape: __boolean, location_name: "IsArchived"))
|
|
2040
2111
|
VoiceChannelResponse.add_member(:last_modified_by, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedBy"))
|
|
2041
2112
|
VoiceChannelResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedDate"))
|
|
2113
|
+
VoiceChannelResponse.add_member(:origination_number, Shapes::ShapeRef.new(shape: __string, location_name: "OriginationNumber"))
|
|
2042
2114
|
VoiceChannelResponse.add_member(:platform, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Platform"))
|
|
2043
2115
|
VoiceChannelResponse.add_member(:version, Shapes::ShapeRef.new(shape: __integer, location_name: "Version"))
|
|
2044
2116
|
VoiceChannelResponse.struct_class = Types::VoiceChannelResponse
|
|
@@ -2485,6 +2557,20 @@ module Aws::Pinpoint
|
|
|
2485
2557
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
|
2486
2558
|
end)
|
|
2487
2559
|
|
|
2560
|
+
api.add_operation(:get_application_date_range_kpi, Seahorse::Model::Operation.new.tap do |o|
|
|
2561
|
+
o.name = "GetApplicationDateRangeKpi"
|
|
2562
|
+
o.http_method = "GET"
|
|
2563
|
+
o.http_request_uri = "/v1/apps/{application-id}/kpis/daterange/{kpi-name}"
|
|
2564
|
+
o.input = Shapes::ShapeRef.new(shape: GetApplicationDateRangeKpiRequest)
|
|
2565
|
+
o.output = Shapes::ShapeRef.new(shape: GetApplicationDateRangeKpiResponse)
|
|
2566
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
|
2567
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
|
2568
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
|
2569
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
|
2570
|
+
o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
|
|
2571
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
|
2572
|
+
end)
|
|
2573
|
+
|
|
2488
2574
|
api.add_operation(:get_application_settings, Seahorse::Model::Operation.new.tap do |o|
|
|
2489
2575
|
o.name = "GetApplicationSettings"
|
|
2490
2576
|
o.http_method = "GET"
|
|
@@ -2555,6 +2641,20 @@ module Aws::Pinpoint
|
|
|
2555
2641
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
|
2556
2642
|
end)
|
|
2557
2643
|
|
|
2644
|
+
api.add_operation(:get_campaign_date_range_kpi, Seahorse::Model::Operation.new.tap do |o|
|
|
2645
|
+
o.name = "GetCampaignDateRangeKpi"
|
|
2646
|
+
o.http_method = "GET"
|
|
2647
|
+
o.http_request_uri = "/v1/apps/{application-id}/campaigns/{campaign-id}/kpis/daterange/{kpi-name}"
|
|
2648
|
+
o.input = Shapes::ShapeRef.new(shape: GetCampaignDateRangeKpiRequest)
|
|
2649
|
+
o.output = Shapes::ShapeRef.new(shape: GetCampaignDateRangeKpiResponse)
|
|
2650
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
|
2651
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
|
2652
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
|
2653
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
|
2654
|
+
o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
|
|
2655
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
|
2656
|
+
end)
|
|
2657
|
+
|
|
2558
2658
|
api.add_operation(:get_campaign_version, Seahorse::Model::Operation.new.tap do |o|
|
|
2559
2659
|
o.name = "GetCampaignVersion"
|
|
2560
2660
|
o.http_method = "GET"
|
|
@@ -1209,6 +1209,61 @@ module Aws::Pinpoint
|
|
|
1209
1209
|
include Aws::Structure
|
|
1210
1210
|
end
|
|
1211
1211
|
|
|
1212
|
+
# Provides the results of a query that retrieved the data for a standard
|
|
1213
|
+
# metric that applies to an application, and provides information about
|
|
1214
|
+
# that query.
|
|
1215
|
+
#
|
|
1216
|
+
# @!attribute [rw] application_id
|
|
1217
|
+
# The unique identifier for the application that the metric applies
|
|
1218
|
+
# to.
|
|
1219
|
+
# @return [String]
|
|
1220
|
+
#
|
|
1221
|
+
# @!attribute [rw] end_time
|
|
1222
|
+
# The last date or date and time of the date range that was used to
|
|
1223
|
+
# filter the query results, in ISO 8601 format. The date range is
|
|
1224
|
+
# inclusive.
|
|
1225
|
+
# @return [Time]
|
|
1226
|
+
#
|
|
1227
|
+
# @!attribute [rw] kpi_name
|
|
1228
|
+
# The name of the metric, also referred to as a *key performance
|
|
1229
|
+
# indicator (KPI)*, that the data was retrieved for. This value
|
|
1230
|
+
# describes the associated metric and consists of two or more terms,
|
|
1231
|
+
# which are comprised of lowercase alphanumeric characters, separated
|
|
1232
|
+
# by a hyphen. For a list of valid values, see the [Amazon Pinpoint
|
|
1233
|
+
# Developer Guide](developerguide.html).
|
|
1234
|
+
# @return [String]
|
|
1235
|
+
#
|
|
1236
|
+
# @!attribute [rw] kpi_result
|
|
1237
|
+
# An array of objects that contains the results of the query. Each
|
|
1238
|
+
# object contains the value for the metric and metadata about that
|
|
1239
|
+
# value.
|
|
1240
|
+
# @return [Types::BaseKpiResult]
|
|
1241
|
+
#
|
|
1242
|
+
# @!attribute [rw] next_token
|
|
1243
|
+
# The string to use in a subsequent request to get the next page of
|
|
1244
|
+
# results in a paginated response. This value is null for the App
|
|
1245
|
+
# Metrics resource. The App Metrics resource returns all results in a
|
|
1246
|
+
# single page.
|
|
1247
|
+
# @return [String]
|
|
1248
|
+
#
|
|
1249
|
+
# @!attribute [rw] start_time
|
|
1250
|
+
# The first date or date and time of the date range that was used to
|
|
1251
|
+
# filter the query results, in ISO 8601 format. The date range is
|
|
1252
|
+
# inclusive.
|
|
1253
|
+
# @return [Time]
|
|
1254
|
+
#
|
|
1255
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ApplicationDateRangeKpiResponse AWS API Documentation
|
|
1256
|
+
#
|
|
1257
|
+
class ApplicationDateRangeKpiResponse < Struct.new(
|
|
1258
|
+
:application_id,
|
|
1259
|
+
:end_time,
|
|
1260
|
+
:kpi_name,
|
|
1261
|
+
:kpi_result,
|
|
1262
|
+
:next_token,
|
|
1263
|
+
:start_time)
|
|
1264
|
+
include Aws::Structure
|
|
1265
|
+
end
|
|
1266
|
+
|
|
1212
1267
|
# Provides information about an application.
|
|
1213
1268
|
#
|
|
1214
1269
|
# @!attribute [rw] arn
|
|
@@ -1637,6 +1692,82 @@ module Aws::Pinpoint
|
|
|
1637
1692
|
include Aws::Structure
|
|
1638
1693
|
end
|
|
1639
1694
|
|
|
1695
|
+
# Provides the results of a query that retrieved the data for a standard
|
|
1696
|
+
# metric that applies to an application or campaign.
|
|
1697
|
+
#
|
|
1698
|
+
# @!attribute [rw] rows
|
|
1699
|
+
# An array of objects that provides the results of a query that
|
|
1700
|
+
# retrieved the data for a standard metric that applies to an
|
|
1701
|
+
# application or campaign.
|
|
1702
|
+
# @return [Array<Types::ResultRow>]
|
|
1703
|
+
#
|
|
1704
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/BaseKpiResult AWS API Documentation
|
|
1705
|
+
#
|
|
1706
|
+
class BaseKpiResult < Struct.new(
|
|
1707
|
+
:rows)
|
|
1708
|
+
include Aws::Structure
|
|
1709
|
+
end
|
|
1710
|
+
|
|
1711
|
+
# Provides the results of a query that retrieved the data for a standard
|
|
1712
|
+
# metric that applies to a campaign, and provides information about that
|
|
1713
|
+
# query.
|
|
1714
|
+
#
|
|
1715
|
+
# @!attribute [rw] application_id
|
|
1716
|
+
# The unique identifier for the application that the metric applies
|
|
1717
|
+
# to.
|
|
1718
|
+
# @return [String]
|
|
1719
|
+
#
|
|
1720
|
+
# @!attribute [rw] campaign_id
|
|
1721
|
+
# The unique identifier for the campaign that the metric applies to.
|
|
1722
|
+
# @return [String]
|
|
1723
|
+
#
|
|
1724
|
+
# @!attribute [rw] end_time
|
|
1725
|
+
# The last date or date and time of the date range that was used to
|
|
1726
|
+
# filter the query results, in ISO 8601 format. The date range is
|
|
1727
|
+
# inclusive.
|
|
1728
|
+
# @return [Time]
|
|
1729
|
+
#
|
|
1730
|
+
# @!attribute [rw] kpi_name
|
|
1731
|
+
# The name of the metric, also referred to as a *key performance
|
|
1732
|
+
# indicator (KPI)*, that the data was retrieved for. This value
|
|
1733
|
+
# describes the associated metric and consists of two or more terms,
|
|
1734
|
+
# which are comprised of lowercase alphanumeric characters, separated
|
|
1735
|
+
# by a hyphen. For a list of valid values, see the [Amazon Pinpoint
|
|
1736
|
+
# Developer Guide](developerguide.html).
|
|
1737
|
+
# @return [String]
|
|
1738
|
+
#
|
|
1739
|
+
# @!attribute [rw] kpi_result
|
|
1740
|
+
# An array of objects that contains the results of the query. Each
|
|
1741
|
+
# object contains the value for the metric and metadata about that
|
|
1742
|
+
# value.
|
|
1743
|
+
# @return [Types::BaseKpiResult]
|
|
1744
|
+
#
|
|
1745
|
+
# @!attribute [rw] next_token
|
|
1746
|
+
# The string to use in a subsequent request to get the next page of
|
|
1747
|
+
# results in a paginated response. This value is null for the Campaign
|
|
1748
|
+
# Metrics resource. The Campaign Metrics resource returns all results
|
|
1749
|
+
# in a single page.
|
|
1750
|
+
# @return [String]
|
|
1751
|
+
#
|
|
1752
|
+
# @!attribute [rw] start_time
|
|
1753
|
+
# The first date or date and time of the date range that was used to
|
|
1754
|
+
# filter the query results, in ISO 8601 format. The date range is
|
|
1755
|
+
# inclusive.
|
|
1756
|
+
# @return [Time]
|
|
1757
|
+
#
|
|
1758
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CampaignDateRangeKpiResponse AWS API Documentation
|
|
1759
|
+
#
|
|
1760
|
+
class CampaignDateRangeKpiResponse < Struct.new(
|
|
1761
|
+
:application_id,
|
|
1762
|
+
:campaign_id,
|
|
1763
|
+
:end_time,
|
|
1764
|
+
:kpi_name,
|
|
1765
|
+
:kpi_result,
|
|
1766
|
+
:next_token,
|
|
1767
|
+
:start_time)
|
|
1768
|
+
include Aws::Structure
|
|
1769
|
+
end
|
|
1770
|
+
|
|
1640
1771
|
# Specifies the content and "From" address for an email message
|
|
1641
1772
|
# that's sent to recipients of a campaign.
|
|
1642
1773
|
#
|
|
@@ -5704,6 +5835,61 @@ module Aws::Pinpoint
|
|
|
5704
5835
|
include Aws::Structure
|
|
5705
5836
|
end
|
|
5706
5837
|
|
|
5838
|
+
# @note When making an API call, you may pass GetApplicationDateRangeKpiRequest
|
|
5839
|
+
# data as a hash:
|
|
5840
|
+
#
|
|
5841
|
+
# {
|
|
5842
|
+
# application_id: "__string", # required
|
|
5843
|
+
# end_time: Time.now,
|
|
5844
|
+
# kpi_name: "__string", # required
|
|
5845
|
+
# next_token: "__string",
|
|
5846
|
+
# page_size: "__string",
|
|
5847
|
+
# start_time: Time.now,
|
|
5848
|
+
# }
|
|
5849
|
+
#
|
|
5850
|
+
# @!attribute [rw] application_id
|
|
5851
|
+
# @return [String]
|
|
5852
|
+
#
|
|
5853
|
+
# @!attribute [rw] end_time
|
|
5854
|
+
# @return [Time]
|
|
5855
|
+
#
|
|
5856
|
+
# @!attribute [rw] kpi_name
|
|
5857
|
+
# @return [String]
|
|
5858
|
+
#
|
|
5859
|
+
# @!attribute [rw] next_token
|
|
5860
|
+
# @return [String]
|
|
5861
|
+
#
|
|
5862
|
+
# @!attribute [rw] page_size
|
|
5863
|
+
# @return [String]
|
|
5864
|
+
#
|
|
5865
|
+
# @!attribute [rw] start_time
|
|
5866
|
+
# @return [Time]
|
|
5867
|
+
#
|
|
5868
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApplicationDateRangeKpiRequest AWS API Documentation
|
|
5869
|
+
#
|
|
5870
|
+
class GetApplicationDateRangeKpiRequest < Struct.new(
|
|
5871
|
+
:application_id,
|
|
5872
|
+
:end_time,
|
|
5873
|
+
:kpi_name,
|
|
5874
|
+
:next_token,
|
|
5875
|
+
:page_size,
|
|
5876
|
+
:start_time)
|
|
5877
|
+
include Aws::Structure
|
|
5878
|
+
end
|
|
5879
|
+
|
|
5880
|
+
# @!attribute [rw] application_date_range_kpi_response
|
|
5881
|
+
# Provides the results of a query that retrieved the data for a
|
|
5882
|
+
# standard metric that applies to an application, and provides
|
|
5883
|
+
# information about that query.
|
|
5884
|
+
# @return [Types::ApplicationDateRangeKpiResponse]
|
|
5885
|
+
#
|
|
5886
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApplicationDateRangeKpiResponse AWS API Documentation
|
|
5887
|
+
#
|
|
5888
|
+
class GetApplicationDateRangeKpiResponse < Struct.new(
|
|
5889
|
+
:application_date_range_kpi_response)
|
|
5890
|
+
include Aws::Structure
|
|
5891
|
+
end
|
|
5892
|
+
|
|
5707
5893
|
# @note When making an API call, you may pass GetApplicationSettingsRequest
|
|
5708
5894
|
# data as a hash:
|
|
5709
5895
|
#
|
|
@@ -5839,6 +6025,66 @@ module Aws::Pinpoint
|
|
|
5839
6025
|
include Aws::Structure
|
|
5840
6026
|
end
|
|
5841
6027
|
|
|
6028
|
+
# @note When making an API call, you may pass GetCampaignDateRangeKpiRequest
|
|
6029
|
+
# data as a hash:
|
|
6030
|
+
#
|
|
6031
|
+
# {
|
|
6032
|
+
# application_id: "__string", # required
|
|
6033
|
+
# campaign_id: "__string", # required
|
|
6034
|
+
# end_time: Time.now,
|
|
6035
|
+
# kpi_name: "__string", # required
|
|
6036
|
+
# next_token: "__string",
|
|
6037
|
+
# page_size: "__string",
|
|
6038
|
+
# start_time: Time.now,
|
|
6039
|
+
# }
|
|
6040
|
+
#
|
|
6041
|
+
# @!attribute [rw] application_id
|
|
6042
|
+
# @return [String]
|
|
6043
|
+
#
|
|
6044
|
+
# @!attribute [rw] campaign_id
|
|
6045
|
+
# @return [String]
|
|
6046
|
+
#
|
|
6047
|
+
# @!attribute [rw] end_time
|
|
6048
|
+
# @return [Time]
|
|
6049
|
+
#
|
|
6050
|
+
# @!attribute [rw] kpi_name
|
|
6051
|
+
# @return [String]
|
|
6052
|
+
#
|
|
6053
|
+
# @!attribute [rw] next_token
|
|
6054
|
+
# @return [String]
|
|
6055
|
+
#
|
|
6056
|
+
# @!attribute [rw] page_size
|
|
6057
|
+
# @return [String]
|
|
6058
|
+
#
|
|
6059
|
+
# @!attribute [rw] start_time
|
|
6060
|
+
# @return [Time]
|
|
6061
|
+
#
|
|
6062
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaignDateRangeKpiRequest AWS API Documentation
|
|
6063
|
+
#
|
|
6064
|
+
class GetCampaignDateRangeKpiRequest < Struct.new(
|
|
6065
|
+
:application_id,
|
|
6066
|
+
:campaign_id,
|
|
6067
|
+
:end_time,
|
|
6068
|
+
:kpi_name,
|
|
6069
|
+
:next_token,
|
|
6070
|
+
:page_size,
|
|
6071
|
+
:start_time)
|
|
6072
|
+
include Aws::Structure
|
|
6073
|
+
end
|
|
6074
|
+
|
|
6075
|
+
# @!attribute [rw] campaign_date_range_kpi_response
|
|
6076
|
+
# Provides the results of a query that retrieved the data for a
|
|
6077
|
+
# standard metric that applies to a campaign, and provides information
|
|
6078
|
+
# about that query.
|
|
6079
|
+
# @return [Types::CampaignDateRangeKpiResponse]
|
|
6080
|
+
#
|
|
6081
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaignDateRangeKpiResponse AWS API Documentation
|
|
6082
|
+
#
|
|
6083
|
+
class GetCampaignDateRangeKpiResponse < Struct.new(
|
|
6084
|
+
:campaign_date_range_kpi_response)
|
|
6085
|
+
include Aws::Structure
|
|
6086
|
+
end
|
|
6087
|
+
|
|
5842
6088
|
# @note When making an API call, you may pass GetCampaignRequest
|
|
5843
6089
|
# data as a hash:
|
|
5844
6090
|
#
|
|
@@ -7700,6 +7946,8 @@ module Aws::Pinpoint
|
|
|
7700
7946
|
#
|
|
7701
7947
|
# @!attribute [rw] carrier
|
|
7702
7948
|
# The carrier or service provider that the phone number is currently
|
|
7949
|
+
# registered with. In some countries and regions, this value may be
|
|
7950
|
+
# the carrier or service provider that the phone number was originally
|
|
7703
7951
|
# registered with.
|
|
7704
7952
|
# @return [String]
|
|
7705
7953
|
#
|
|
@@ -8214,6 +8462,58 @@ module Aws::Pinpoint
|
|
|
8214
8462
|
include Aws::Structure
|
|
8215
8463
|
end
|
|
8216
8464
|
|
|
8465
|
+
# Provides the results of a query that retrieved the data for a standard
|
|
8466
|
+
# metric that applies to an application or campaign.
|
|
8467
|
+
#
|
|
8468
|
+
# @!attribute [rw] grouped_bys
|
|
8469
|
+
# An array of objects that defines the field and field values that
|
|
8470
|
+
# were used to group data in a result set that contains multiple
|
|
8471
|
+
# results. This value is null if the data in a result set isn’t
|
|
8472
|
+
# grouped.
|
|
8473
|
+
# @return [Array<Types::ResultRowValue>]
|
|
8474
|
+
#
|
|
8475
|
+
# @!attribute [rw] values
|
|
8476
|
+
# An array of objects that provides pre-aggregated values for a
|
|
8477
|
+
# standard metric that applies to an application or campaign.
|
|
8478
|
+
# @return [Array<Types::ResultRowValue>]
|
|
8479
|
+
#
|
|
8480
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ResultRow AWS API Documentation
|
|
8481
|
+
#
|
|
8482
|
+
class ResultRow < Struct.new(
|
|
8483
|
+
:grouped_bys,
|
|
8484
|
+
:values)
|
|
8485
|
+
include Aws::Structure
|
|
8486
|
+
end
|
|
8487
|
+
|
|
8488
|
+
# Provides a single value and metadata about that value as part of an
|
|
8489
|
+
# array of query results for a standard metric that applies to an
|
|
8490
|
+
# application or campaign.
|
|
8491
|
+
#
|
|
8492
|
+
# @!attribute [rw] key
|
|
8493
|
+
# The name of the field that Amazon Pinpoint uses to store the value
|
|
8494
|
+
# specified by the Value property.
|
|
8495
|
+
# @return [String]
|
|
8496
|
+
#
|
|
8497
|
+
# @!attribute [rw] type
|
|
8498
|
+
# The data type of the value specified by the Value property.
|
|
8499
|
+
# @return [String]
|
|
8500
|
+
#
|
|
8501
|
+
# @!attribute [rw] value
|
|
8502
|
+
# In a Values object, the value for the metric that the query
|
|
8503
|
+
# retrieved data for. In a GroupedBys object, the value for the field
|
|
8504
|
+
# that was used to group data in a result set that contains multiple
|
|
8505
|
+
# results (Values objects).
|
|
8506
|
+
# @return [String]
|
|
8507
|
+
#
|
|
8508
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ResultRowValue AWS API Documentation
|
|
8509
|
+
#
|
|
8510
|
+
class ResultRowValue < Struct.new(
|
|
8511
|
+
:key,
|
|
8512
|
+
:type,
|
|
8513
|
+
:value)
|
|
8514
|
+
include Aws::Structure
|
|
8515
|
+
end
|
|
8516
|
+
|
|
8217
8517
|
# Specifies the status and settings of the SMS channel for an
|
|
8218
8518
|
# application.
|
|
8219
8519
|
#
|
|
@@ -11333,6 +11633,9 @@ module Aws::Pinpoint
|
|
|
11333
11633
|
# last modified.
|
|
11334
11634
|
# @return [String]
|
|
11335
11635
|
#
|
|
11636
|
+
# @!attribute [rw] origination_number
|
|
11637
|
+
# @return [String]
|
|
11638
|
+
#
|
|
11336
11639
|
# @!attribute [rw] platform
|
|
11337
11640
|
# The type of messaging or notification platform for the channel. For
|
|
11338
11641
|
# the voice channel, this value is VOICE.
|
|
@@ -11353,6 +11656,7 @@ module Aws::Pinpoint
|
|
|
11353
11656
|
:is_archived,
|
|
11354
11657
|
:last_modified_by,
|
|
11355
11658
|
:last_modified_date,
|
|
11659
|
+
:origination_number,
|
|
11356
11660
|
:platform,
|
|
11357
11661
|
:version)
|
|
11358
11662
|
include Aws::Structure
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-pinpoint
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.26.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-07-
|
|
11
|
+
date: 2019-07-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|