aws-sdk-pinpoint 1.0.0.rc6 → 1.0.0.rc7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-pinpoint.rb +1 -1
- data/lib/aws-sdk-pinpoint/client.rb +692 -6
- data/lib/aws-sdk-pinpoint/client_api.rb +443 -2
- data/lib/aws-sdk-pinpoint/types.rb +1647 -91
- metadata +4 -4
@@ -13,15 +13,21 @@ module Aws::Pinpoint
|
|
13
13
|
|
14
14
|
APNSChannelRequest = Shapes::StructureShape.new(name: 'APNSChannelRequest')
|
15
15
|
APNSChannelResponse = Shapes::StructureShape.new(name: 'APNSChannelResponse')
|
16
|
+
APNSMessage = Shapes::StructureShape.new(name: 'APNSMessage')
|
17
|
+
APNSSandboxChannelRequest = Shapes::StructureShape.new(name: 'APNSSandboxChannelRequest')
|
18
|
+
APNSSandboxChannelResponse = Shapes::StructureShape.new(name: 'APNSSandboxChannelResponse')
|
16
19
|
Action = Shapes::StringShape.new(name: 'Action')
|
17
20
|
ActivitiesResponse = Shapes::StructureShape.new(name: 'ActivitiesResponse')
|
18
21
|
ActivityResponse = Shapes::StructureShape.new(name: 'ActivityResponse')
|
22
|
+
AddressConfiguration = Shapes::StructureShape.new(name: 'AddressConfiguration')
|
19
23
|
ApplicationSettingsResource = Shapes::StructureShape.new(name: 'ApplicationSettingsResource')
|
20
24
|
AttributeDimension = Shapes::StructureShape.new(name: 'AttributeDimension')
|
21
25
|
AttributeType = Shapes::StringShape.new(name: 'AttributeType')
|
22
26
|
BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
|
27
|
+
CampaignEmailMessage = Shapes::StructureShape.new(name: 'CampaignEmailMessage')
|
23
28
|
CampaignLimits = Shapes::StructureShape.new(name: 'CampaignLimits')
|
24
29
|
CampaignResponse = Shapes::StructureShape.new(name: 'CampaignResponse')
|
30
|
+
CampaignSmsMessage = Shapes::StructureShape.new(name: 'CampaignSmsMessage')
|
25
31
|
CampaignState = Shapes::StructureShape.new(name: 'CampaignState')
|
26
32
|
CampaignStatus = Shapes::StringShape.new(name: 'CampaignStatus')
|
27
33
|
CampaignsResponse = Shapes::StructureShape.new(name: 'CampaignsResponse')
|
@@ -32,18 +38,30 @@ module Aws::Pinpoint
|
|
32
38
|
CreateImportJobResponse = Shapes::StructureShape.new(name: 'CreateImportJobResponse')
|
33
39
|
CreateSegmentRequest = Shapes::StructureShape.new(name: 'CreateSegmentRequest')
|
34
40
|
CreateSegmentResponse = Shapes::StructureShape.new(name: 'CreateSegmentResponse')
|
41
|
+
DefaultMessage = Shapes::StructureShape.new(name: 'DefaultMessage')
|
42
|
+
DefaultPushNotificationMessage = Shapes::StructureShape.new(name: 'DefaultPushNotificationMessage')
|
35
43
|
DeleteApnsChannelRequest = Shapes::StructureShape.new(name: 'DeleteApnsChannelRequest')
|
36
44
|
DeleteApnsChannelResponse = Shapes::StructureShape.new(name: 'DeleteApnsChannelResponse')
|
45
|
+
DeleteApnsSandboxChannelRequest = Shapes::StructureShape.new(name: 'DeleteApnsSandboxChannelRequest')
|
46
|
+
DeleteApnsSandboxChannelResponse = Shapes::StructureShape.new(name: 'DeleteApnsSandboxChannelResponse')
|
37
47
|
DeleteCampaignRequest = Shapes::StructureShape.new(name: 'DeleteCampaignRequest')
|
38
48
|
DeleteCampaignResponse = Shapes::StructureShape.new(name: 'DeleteCampaignResponse')
|
49
|
+
DeleteEmailChannelRequest = Shapes::StructureShape.new(name: 'DeleteEmailChannelRequest')
|
50
|
+
DeleteEmailChannelResponse = Shapes::StructureShape.new(name: 'DeleteEmailChannelResponse')
|
39
51
|
DeleteEventStreamRequest = Shapes::StructureShape.new(name: 'DeleteEventStreamRequest')
|
40
52
|
DeleteEventStreamResponse = Shapes::StructureShape.new(name: 'DeleteEventStreamResponse')
|
41
53
|
DeleteGcmChannelRequest = Shapes::StructureShape.new(name: 'DeleteGcmChannelRequest')
|
42
54
|
DeleteGcmChannelResponse = Shapes::StructureShape.new(name: 'DeleteGcmChannelResponse')
|
43
55
|
DeleteSegmentRequest = Shapes::StructureShape.new(name: 'DeleteSegmentRequest')
|
44
56
|
DeleteSegmentResponse = Shapes::StructureShape.new(name: 'DeleteSegmentResponse')
|
57
|
+
DeleteSmsChannelRequest = Shapes::StructureShape.new(name: 'DeleteSmsChannelRequest')
|
58
|
+
DeleteSmsChannelResponse = Shapes::StructureShape.new(name: 'DeleteSmsChannelResponse')
|
59
|
+
DeliveryStatus = Shapes::StringShape.new(name: 'DeliveryStatus')
|
45
60
|
DimensionType = Shapes::StringShape.new(name: 'DimensionType')
|
61
|
+
DirectMessageConfiguration = Shapes::StructureShape.new(name: 'DirectMessageConfiguration')
|
46
62
|
Duration = Shapes::StringShape.new(name: 'Duration')
|
63
|
+
EmailChannelRequest = Shapes::StructureShape.new(name: 'EmailChannelRequest')
|
64
|
+
EmailChannelResponse = Shapes::StructureShape.new(name: 'EmailChannelResponse')
|
47
65
|
EndpointBatchItem = Shapes::StructureShape.new(name: 'EndpointBatchItem')
|
48
66
|
EndpointBatchRequest = Shapes::StructureShape.new(name: 'EndpointBatchRequest')
|
49
67
|
EndpointDemographic = Shapes::StructureShape.new(name: 'EndpointDemographic')
|
@@ -57,8 +75,11 @@ module Aws::Pinpoint
|
|
57
75
|
Frequency = Shapes::StringShape.new(name: 'Frequency')
|
58
76
|
GCMChannelRequest = Shapes::StructureShape.new(name: 'GCMChannelRequest')
|
59
77
|
GCMChannelResponse = Shapes::StructureShape.new(name: 'GCMChannelResponse')
|
78
|
+
GCMMessage = Shapes::StructureShape.new(name: 'GCMMessage')
|
60
79
|
GetApnsChannelRequest = Shapes::StructureShape.new(name: 'GetApnsChannelRequest')
|
61
80
|
GetApnsChannelResponse = Shapes::StructureShape.new(name: 'GetApnsChannelResponse')
|
81
|
+
GetApnsSandboxChannelRequest = Shapes::StructureShape.new(name: 'GetApnsSandboxChannelRequest')
|
82
|
+
GetApnsSandboxChannelResponse = Shapes::StructureShape.new(name: 'GetApnsSandboxChannelResponse')
|
62
83
|
GetApplicationSettingsRequest = Shapes::StructureShape.new(name: 'GetApplicationSettingsRequest')
|
63
84
|
GetApplicationSettingsResponse = Shapes::StructureShape.new(name: 'GetApplicationSettingsResponse')
|
64
85
|
GetCampaignActivitiesRequest = Shapes::StructureShape.new(name: 'GetCampaignActivitiesRequest')
|
@@ -71,6 +92,8 @@ module Aws::Pinpoint
|
|
71
92
|
GetCampaignVersionsResponse = Shapes::StructureShape.new(name: 'GetCampaignVersionsResponse')
|
72
93
|
GetCampaignsRequest = Shapes::StructureShape.new(name: 'GetCampaignsRequest')
|
73
94
|
GetCampaignsResponse = Shapes::StructureShape.new(name: 'GetCampaignsResponse')
|
95
|
+
GetEmailChannelRequest = Shapes::StructureShape.new(name: 'GetEmailChannelRequest')
|
96
|
+
GetEmailChannelResponse = Shapes::StructureShape.new(name: 'GetEmailChannelResponse')
|
74
97
|
GetEndpointRequest = Shapes::StructureShape.new(name: 'GetEndpointRequest')
|
75
98
|
GetEndpointResponse = Shapes::StructureShape.new(name: 'GetEndpointResponse')
|
76
99
|
GetEventStreamRequest = Shapes::StructureShape.new(name: 'GetEventStreamRequest')
|
@@ -91,6 +114,8 @@ module Aws::Pinpoint
|
|
91
114
|
GetSegmentVersionsResponse = Shapes::StructureShape.new(name: 'GetSegmentVersionsResponse')
|
92
115
|
GetSegmentsRequest = Shapes::StructureShape.new(name: 'GetSegmentsRequest')
|
93
116
|
GetSegmentsResponse = Shapes::StructureShape.new(name: 'GetSegmentsResponse')
|
117
|
+
GetSmsChannelRequest = Shapes::StructureShape.new(name: 'GetSmsChannelRequest')
|
118
|
+
GetSmsChannelResponse = Shapes::StructureShape.new(name: 'GetSmsChannelResponse')
|
94
119
|
ImportJobRequest = Shapes::StructureShape.new(name: 'ImportJobRequest')
|
95
120
|
ImportJobResource = Shapes::StructureShape.new(name: 'ImportJobResource')
|
96
121
|
ImportJobResponse = Shapes::StructureShape.new(name: 'ImportJobResponse')
|
@@ -105,12 +130,20 @@ module Aws::Pinpoint
|
|
105
130
|
ListOfTreatmentResource = Shapes::ListShape.new(name: 'ListOfTreatmentResource')
|
106
131
|
ListOfWriteTreatmentResource = Shapes::ListShape.new(name: 'ListOfWriteTreatmentResource')
|
107
132
|
ListOf__string = Shapes::ListShape.new(name: 'ListOf__string')
|
133
|
+
MapOfAddressConfiguration = Shapes::MapShape.new(name: 'MapOfAddressConfiguration')
|
108
134
|
MapOfAttributeDimension = Shapes::MapShape.new(name: 'MapOfAttributeDimension')
|
109
135
|
MapOfListOf__string = Shapes::MapShape.new(name: 'MapOfListOf__string')
|
136
|
+
MapOfMessageResult = Shapes::MapShape.new(name: 'MapOfMessageResult')
|
110
137
|
MapOf__double = Shapes::MapShape.new(name: 'MapOf__double')
|
138
|
+
MapOf__integer = Shapes::MapShape.new(name: 'MapOf__integer')
|
139
|
+
MapOf__string = Shapes::MapShape.new(name: 'MapOf__string')
|
111
140
|
Message = Shapes::StructureShape.new(name: 'Message')
|
112
141
|
MessageBody = Shapes::StructureShape.new(name: 'MessageBody')
|
113
142
|
MessageConfiguration = Shapes::StructureShape.new(name: 'MessageConfiguration')
|
143
|
+
MessageRequest = Shapes::StructureShape.new(name: 'MessageRequest')
|
144
|
+
MessageResponse = Shapes::StructureShape.new(name: 'MessageResponse')
|
145
|
+
MessageResult = Shapes::StructureShape.new(name: 'MessageResult')
|
146
|
+
MessageType = Shapes::StringShape.new(name: 'MessageType')
|
114
147
|
MethodNotAllowedException = Shapes::StructureShape.new(name: 'MethodNotAllowedException')
|
115
148
|
NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
|
116
149
|
PutEventStreamRequest = Shapes::StructureShape.new(name: 'PutEventStreamRequest')
|
@@ -118,6 +151,9 @@ module Aws::Pinpoint
|
|
118
151
|
QuietTime = Shapes::StructureShape.new(name: 'QuietTime')
|
119
152
|
RecencyDimension = Shapes::StructureShape.new(name: 'RecencyDimension')
|
120
153
|
RecencyType = Shapes::StringShape.new(name: 'RecencyType')
|
154
|
+
SMSChannelRequest = Shapes::StructureShape.new(name: 'SMSChannelRequest')
|
155
|
+
SMSChannelResponse = Shapes::StructureShape.new(name: 'SMSChannelResponse')
|
156
|
+
SMSMessage = Shapes::StructureShape.new(name: 'SMSMessage')
|
121
157
|
Schedule = Shapes::StructureShape.new(name: 'Schedule')
|
122
158
|
SegmentBehaviors = Shapes::StructureShape.new(name: 'SegmentBehaviors')
|
123
159
|
SegmentDemographics = Shapes::StructureShape.new(name: 'SegmentDemographics')
|
@@ -127,15 +163,21 @@ module Aws::Pinpoint
|
|
127
163
|
SegmentResponse = Shapes::StructureShape.new(name: 'SegmentResponse')
|
128
164
|
SegmentType = Shapes::StringShape.new(name: 'SegmentType')
|
129
165
|
SegmentsResponse = Shapes::StructureShape.new(name: 'SegmentsResponse')
|
166
|
+
SendMessagesRequest = Shapes::StructureShape.new(name: 'SendMessagesRequest')
|
167
|
+
SendMessagesResponse = Shapes::StructureShape.new(name: 'SendMessagesResponse')
|
130
168
|
SetDimension = Shapes::StructureShape.new(name: 'SetDimension')
|
131
169
|
TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
|
132
170
|
TreatmentResource = Shapes::StructureShape.new(name: 'TreatmentResource')
|
133
171
|
UpdateApnsChannelRequest = Shapes::StructureShape.new(name: 'UpdateApnsChannelRequest')
|
134
172
|
UpdateApnsChannelResponse = Shapes::StructureShape.new(name: 'UpdateApnsChannelResponse')
|
173
|
+
UpdateApnsSandboxChannelRequest = Shapes::StructureShape.new(name: 'UpdateApnsSandboxChannelRequest')
|
174
|
+
UpdateApnsSandboxChannelResponse = Shapes::StructureShape.new(name: 'UpdateApnsSandboxChannelResponse')
|
135
175
|
UpdateApplicationSettingsRequest = Shapes::StructureShape.new(name: 'UpdateApplicationSettingsRequest')
|
136
176
|
UpdateApplicationSettingsResponse = Shapes::StructureShape.new(name: 'UpdateApplicationSettingsResponse')
|
137
177
|
UpdateCampaignRequest = Shapes::StructureShape.new(name: 'UpdateCampaignRequest')
|
138
178
|
UpdateCampaignResponse = Shapes::StructureShape.new(name: 'UpdateCampaignResponse')
|
179
|
+
UpdateEmailChannelRequest = Shapes::StructureShape.new(name: 'UpdateEmailChannelRequest')
|
180
|
+
UpdateEmailChannelResponse = Shapes::StructureShape.new(name: 'UpdateEmailChannelResponse')
|
139
181
|
UpdateEndpointRequest = Shapes::StructureShape.new(name: 'UpdateEndpointRequest')
|
140
182
|
UpdateEndpointResponse = Shapes::StructureShape.new(name: 'UpdateEndpointResponse')
|
141
183
|
UpdateEndpointsBatchRequest = Shapes::StructureShape.new(name: 'UpdateEndpointsBatchRequest')
|
@@ -144,6 +186,8 @@ module Aws::Pinpoint
|
|
144
186
|
UpdateGcmChannelResponse = Shapes::StructureShape.new(name: 'UpdateGcmChannelResponse')
|
145
187
|
UpdateSegmentRequest = Shapes::StructureShape.new(name: 'UpdateSegmentRequest')
|
146
188
|
UpdateSegmentResponse = Shapes::StructureShape.new(name: 'UpdateSegmentResponse')
|
189
|
+
UpdateSmsChannelRequest = Shapes::StructureShape.new(name: 'UpdateSmsChannelRequest')
|
190
|
+
UpdateSmsChannelResponse = Shapes::StructureShape.new(name: 'UpdateSmsChannelResponse')
|
147
191
|
WriteApplicationSettingsRequest = Shapes::StructureShape.new(name: 'WriteApplicationSettingsRequest')
|
148
192
|
WriteCampaignRequest = Shapes::StructureShape.new(name: 'WriteCampaignRequest')
|
149
193
|
WriteEventStream = Shapes::StructureShape.new(name: 'WriteEventStream')
|
@@ -156,11 +200,13 @@ module Aws::Pinpoint
|
|
156
200
|
__timestamp = Shapes::TimestampShape.new(name: '__timestamp')
|
157
201
|
|
158
202
|
APNSChannelRequest.add_member(:certificate, Shapes::ShapeRef.new(shape: __string, location_name: "Certificate"))
|
203
|
+
APNSChannelRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "Enabled"))
|
159
204
|
APNSChannelRequest.add_member(:private_key, Shapes::ShapeRef.new(shape: __string, location_name: "PrivateKey"))
|
160
205
|
APNSChannelRequest.struct_class = Types::APNSChannelRequest
|
161
206
|
|
162
207
|
APNSChannelResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId"))
|
163
208
|
APNSChannelResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: __string, location_name: "CreationDate"))
|
209
|
+
APNSChannelResponse.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "Enabled"))
|
164
210
|
APNSChannelResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id"))
|
165
211
|
APNSChannelResponse.add_member(:is_archived, Shapes::ShapeRef.new(shape: __boolean, location_name: "IsArchived"))
|
166
212
|
APNSChannelResponse.add_member(:last_modified_by, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedBy"))
|
@@ -169,6 +215,37 @@ module Aws::Pinpoint
|
|
169
215
|
APNSChannelResponse.add_member(:version, Shapes::ShapeRef.new(shape: __integer, location_name: "Version"))
|
170
216
|
APNSChannelResponse.struct_class = Types::APNSChannelResponse
|
171
217
|
|
218
|
+
APNSMessage.add_member(:action, Shapes::ShapeRef.new(shape: Action, location_name: "Action"))
|
219
|
+
APNSMessage.add_member(:badge, Shapes::ShapeRef.new(shape: __integer, location_name: "Badge"))
|
220
|
+
APNSMessage.add_member(:body, Shapes::ShapeRef.new(shape: __string, location_name: "Body"))
|
221
|
+
APNSMessage.add_member(:category, Shapes::ShapeRef.new(shape: __string, location_name: "Category"))
|
222
|
+
APNSMessage.add_member(:data, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "Data"))
|
223
|
+
APNSMessage.add_member(:media_url, Shapes::ShapeRef.new(shape: __string, location_name: "MediaUrl"))
|
224
|
+
APNSMessage.add_member(:raw_content, Shapes::ShapeRef.new(shape: __string, location_name: "RawContent"))
|
225
|
+
APNSMessage.add_member(:silent_push, Shapes::ShapeRef.new(shape: __boolean, location_name: "SilentPush"))
|
226
|
+
APNSMessage.add_member(:sound, Shapes::ShapeRef.new(shape: __string, location_name: "Sound"))
|
227
|
+
APNSMessage.add_member(:substitutions, Shapes::ShapeRef.new(shape: MapOfListOf__string, location_name: "Substitutions"))
|
228
|
+
APNSMessage.add_member(:thread_id, Shapes::ShapeRef.new(shape: __string, location_name: "ThreadId"))
|
229
|
+
APNSMessage.add_member(:title, Shapes::ShapeRef.new(shape: __string, location_name: "Title"))
|
230
|
+
APNSMessage.add_member(:url, Shapes::ShapeRef.new(shape: __string, location_name: "Url"))
|
231
|
+
APNSMessage.struct_class = Types::APNSMessage
|
232
|
+
|
233
|
+
APNSSandboxChannelRequest.add_member(:certificate, Shapes::ShapeRef.new(shape: __string, location_name: "Certificate"))
|
234
|
+
APNSSandboxChannelRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "Enabled"))
|
235
|
+
APNSSandboxChannelRequest.add_member(:private_key, Shapes::ShapeRef.new(shape: __string, location_name: "PrivateKey"))
|
236
|
+
APNSSandboxChannelRequest.struct_class = Types::APNSSandboxChannelRequest
|
237
|
+
|
238
|
+
APNSSandboxChannelResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId"))
|
239
|
+
APNSSandboxChannelResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: __string, location_name: "CreationDate"))
|
240
|
+
APNSSandboxChannelResponse.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "Enabled"))
|
241
|
+
APNSSandboxChannelResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id"))
|
242
|
+
APNSSandboxChannelResponse.add_member(:is_archived, Shapes::ShapeRef.new(shape: __boolean, location_name: "IsArchived"))
|
243
|
+
APNSSandboxChannelResponse.add_member(:last_modified_by, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedBy"))
|
244
|
+
APNSSandboxChannelResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedDate"))
|
245
|
+
APNSSandboxChannelResponse.add_member(:platform, Shapes::ShapeRef.new(shape: __string, location_name: "Platform"))
|
246
|
+
APNSSandboxChannelResponse.add_member(:version, Shapes::ShapeRef.new(shape: __integer, location_name: "Version"))
|
247
|
+
APNSSandboxChannelResponse.struct_class = Types::APNSSandboxChannelResponse
|
248
|
+
|
172
249
|
ActivitiesResponse.add_member(:item, Shapes::ShapeRef.new(shape: ListOfActivityResponse, location_name: "Item"))
|
173
250
|
ActivitiesResponse.struct_class = Types::ActivitiesResponse
|
174
251
|
|
@@ -187,6 +264,14 @@ module Aws::Pinpoint
|
|
187
264
|
ActivityResponse.add_member(:treatment_id, Shapes::ShapeRef.new(shape: __string, location_name: "TreatmentId"))
|
188
265
|
ActivityResponse.struct_class = Types::ActivityResponse
|
189
266
|
|
267
|
+
AddressConfiguration.add_member(:body_override, Shapes::ShapeRef.new(shape: __string, location_name: "BodyOverride"))
|
268
|
+
AddressConfiguration.add_member(:channel_type, Shapes::ShapeRef.new(shape: ChannelType, location_name: "ChannelType"))
|
269
|
+
AddressConfiguration.add_member(:context, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "Context"))
|
270
|
+
AddressConfiguration.add_member(:raw_content, Shapes::ShapeRef.new(shape: __string, location_name: "RawContent"))
|
271
|
+
AddressConfiguration.add_member(:substitutions, Shapes::ShapeRef.new(shape: MapOfListOf__string, location_name: "Substitutions"))
|
272
|
+
AddressConfiguration.add_member(:title_override, Shapes::ShapeRef.new(shape: __string, location_name: "TitleOverride"))
|
273
|
+
AddressConfiguration.struct_class = Types::AddressConfiguration
|
274
|
+
|
190
275
|
ApplicationSettingsResource.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId"))
|
191
276
|
ApplicationSettingsResource.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedDate"))
|
192
277
|
ApplicationSettingsResource.add_member(:limits, Shapes::ShapeRef.new(shape: CampaignLimits, location_name: "Limits"))
|
@@ -197,6 +282,11 @@ module Aws::Pinpoint
|
|
197
282
|
AttributeDimension.add_member(:values, Shapes::ShapeRef.new(shape: ListOf__string, location_name: "Values"))
|
198
283
|
AttributeDimension.struct_class = Types::AttributeDimension
|
199
284
|
|
285
|
+
CampaignEmailMessage.add_member(:body, Shapes::ShapeRef.new(shape: __string, location_name: "Body"))
|
286
|
+
CampaignEmailMessage.add_member(:html_body, Shapes::ShapeRef.new(shape: __string, location_name: "HtmlBody"))
|
287
|
+
CampaignEmailMessage.add_member(:title, Shapes::ShapeRef.new(shape: __string, location_name: "Title"))
|
288
|
+
CampaignEmailMessage.struct_class = Types::CampaignEmailMessage
|
289
|
+
|
200
290
|
CampaignLimits.add_member(:daily, Shapes::ShapeRef.new(shape: __integer, location_name: "Daily"))
|
201
291
|
CampaignLimits.add_member(:total, Shapes::ShapeRef.new(shape: __integer, location_name: "Total"))
|
202
292
|
CampaignLimits.struct_class = Types::CampaignLimits
|
@@ -222,6 +312,11 @@ module Aws::Pinpoint
|
|
222
312
|
CampaignResponse.add_member(:version, Shapes::ShapeRef.new(shape: __integer, location_name: "Version"))
|
223
313
|
CampaignResponse.struct_class = Types::CampaignResponse
|
224
314
|
|
315
|
+
CampaignSmsMessage.add_member(:body, Shapes::ShapeRef.new(shape: __string, location_name: "Body"))
|
316
|
+
CampaignSmsMessage.add_member(:message_type, Shapes::ShapeRef.new(shape: MessageType, location_name: "MessageType"))
|
317
|
+
CampaignSmsMessage.add_member(:sender_id, Shapes::ShapeRef.new(shape: __string, location_name: "SenderId"))
|
318
|
+
CampaignSmsMessage.struct_class = Types::CampaignSmsMessage
|
319
|
+
|
225
320
|
CampaignState.add_member(:campaign_status, Shapes::ShapeRef.new(shape: CampaignStatus, location_name: "CampaignStatus"))
|
226
321
|
CampaignState.struct_class = Types::CampaignState
|
227
322
|
|
@@ -262,6 +357,19 @@ module Aws::Pinpoint
|
|
262
357
|
CreateSegmentResponse[:payload] = :segment_response
|
263
358
|
CreateSegmentResponse[:payload_member] = CreateSegmentResponse.member(:segment_response)
|
264
359
|
|
360
|
+
DefaultMessage.add_member(:body, Shapes::ShapeRef.new(shape: __string, location_name: "Body"))
|
361
|
+
DefaultMessage.add_member(:substitutions, Shapes::ShapeRef.new(shape: MapOfListOf__string, location_name: "Substitutions"))
|
362
|
+
DefaultMessage.struct_class = Types::DefaultMessage
|
363
|
+
|
364
|
+
DefaultPushNotificationMessage.add_member(:action, Shapes::ShapeRef.new(shape: Action, location_name: "Action"))
|
365
|
+
DefaultPushNotificationMessage.add_member(:body, Shapes::ShapeRef.new(shape: __string, location_name: "Body"))
|
366
|
+
DefaultPushNotificationMessage.add_member(:data, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "Data"))
|
367
|
+
DefaultPushNotificationMessage.add_member(:silent_push, Shapes::ShapeRef.new(shape: __boolean, location_name: "SilentPush"))
|
368
|
+
DefaultPushNotificationMessage.add_member(:substitutions, Shapes::ShapeRef.new(shape: MapOfListOf__string, location_name: "Substitutions"))
|
369
|
+
DefaultPushNotificationMessage.add_member(:title, Shapes::ShapeRef.new(shape: __string, location_name: "Title"))
|
370
|
+
DefaultPushNotificationMessage.add_member(:url, Shapes::ShapeRef.new(shape: __string, location_name: "Url"))
|
371
|
+
DefaultPushNotificationMessage.struct_class = Types::DefaultPushNotificationMessage
|
372
|
+
|
265
373
|
DeleteApnsChannelRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
|
266
374
|
DeleteApnsChannelRequest.struct_class = Types::DeleteApnsChannelRequest
|
267
375
|
|
@@ -270,6 +378,14 @@ module Aws::Pinpoint
|
|
270
378
|
DeleteApnsChannelResponse[:payload] = :apns_channel_response
|
271
379
|
DeleteApnsChannelResponse[:payload_member] = DeleteApnsChannelResponse.member(:apns_channel_response)
|
272
380
|
|
381
|
+
DeleteApnsSandboxChannelRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
|
382
|
+
DeleteApnsSandboxChannelRequest.struct_class = Types::DeleteApnsSandboxChannelRequest
|
383
|
+
|
384
|
+
DeleteApnsSandboxChannelResponse.add_member(:apns_sandbox_channel_response, Shapes::ShapeRef.new(shape: APNSSandboxChannelResponse, required: true, location_name: "APNSSandboxChannelResponse"))
|
385
|
+
DeleteApnsSandboxChannelResponse.struct_class = Types::DeleteApnsSandboxChannelResponse
|
386
|
+
DeleteApnsSandboxChannelResponse[:payload] = :apns_sandbox_channel_response
|
387
|
+
DeleteApnsSandboxChannelResponse[:payload_member] = DeleteApnsSandboxChannelResponse.member(:apns_sandbox_channel_response)
|
388
|
+
|
273
389
|
DeleteCampaignRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
|
274
390
|
DeleteCampaignRequest.add_member(:campaign_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "campaign-id"))
|
275
391
|
DeleteCampaignRequest.struct_class = Types::DeleteCampaignRequest
|
@@ -279,6 +395,14 @@ module Aws::Pinpoint
|
|
279
395
|
DeleteCampaignResponse[:payload] = :campaign_response
|
280
396
|
DeleteCampaignResponse[:payload_member] = DeleteCampaignResponse.member(:campaign_response)
|
281
397
|
|
398
|
+
DeleteEmailChannelRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
|
399
|
+
DeleteEmailChannelRequest.struct_class = Types::DeleteEmailChannelRequest
|
400
|
+
|
401
|
+
DeleteEmailChannelResponse.add_member(:email_channel_response, Shapes::ShapeRef.new(shape: EmailChannelResponse, required: true, location_name: "EmailChannelResponse"))
|
402
|
+
DeleteEmailChannelResponse.struct_class = Types::DeleteEmailChannelResponse
|
403
|
+
DeleteEmailChannelResponse[:payload] = :email_channel_response
|
404
|
+
DeleteEmailChannelResponse[:payload_member] = DeleteEmailChannelResponse.member(:email_channel_response)
|
405
|
+
|
282
406
|
DeleteEventStreamRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
|
283
407
|
DeleteEventStreamRequest.struct_class = Types::DeleteEventStreamRequest
|
284
408
|
|
@@ -304,6 +428,41 @@ module Aws::Pinpoint
|
|
304
428
|
DeleteSegmentResponse[:payload] = :segment_response
|
305
429
|
DeleteSegmentResponse[:payload_member] = DeleteSegmentResponse.member(:segment_response)
|
306
430
|
|
431
|
+
DeleteSmsChannelRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
|
432
|
+
DeleteSmsChannelRequest.struct_class = Types::DeleteSmsChannelRequest
|
433
|
+
|
434
|
+
DeleteSmsChannelResponse.add_member(:sms_channel_response, Shapes::ShapeRef.new(shape: SMSChannelResponse, required: true, location_name: "SMSChannelResponse"))
|
435
|
+
DeleteSmsChannelResponse.struct_class = Types::DeleteSmsChannelResponse
|
436
|
+
DeleteSmsChannelResponse[:payload] = :sms_channel_response
|
437
|
+
DeleteSmsChannelResponse[:payload_member] = DeleteSmsChannelResponse.member(:sms_channel_response)
|
438
|
+
|
439
|
+
DirectMessageConfiguration.add_member(:apns_message, Shapes::ShapeRef.new(shape: APNSMessage, location_name: "APNSMessage"))
|
440
|
+
DirectMessageConfiguration.add_member(:default_message, Shapes::ShapeRef.new(shape: DefaultMessage, location_name: "DefaultMessage"))
|
441
|
+
DirectMessageConfiguration.add_member(:default_push_notification_message, Shapes::ShapeRef.new(shape: DefaultPushNotificationMessage, location_name: "DefaultPushNotificationMessage"))
|
442
|
+
DirectMessageConfiguration.add_member(:gcm_message, Shapes::ShapeRef.new(shape: GCMMessage, location_name: "GCMMessage"))
|
443
|
+
DirectMessageConfiguration.add_member(:sms_message, Shapes::ShapeRef.new(shape: SMSMessage, location_name: "SMSMessage"))
|
444
|
+
DirectMessageConfiguration.struct_class = Types::DirectMessageConfiguration
|
445
|
+
|
446
|
+
EmailChannelRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "Enabled"))
|
447
|
+
EmailChannelRequest.add_member(:from_address, Shapes::ShapeRef.new(shape: __string, location_name: "FromAddress"))
|
448
|
+
EmailChannelRequest.add_member(:identity, Shapes::ShapeRef.new(shape: __string, location_name: "Identity"))
|
449
|
+
EmailChannelRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "RoleArn"))
|
450
|
+
EmailChannelRequest.struct_class = Types::EmailChannelRequest
|
451
|
+
|
452
|
+
EmailChannelResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId"))
|
453
|
+
EmailChannelResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: __string, location_name: "CreationDate"))
|
454
|
+
EmailChannelResponse.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "Enabled"))
|
455
|
+
EmailChannelResponse.add_member(:from_address, Shapes::ShapeRef.new(shape: __string, location_name: "FromAddress"))
|
456
|
+
EmailChannelResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id"))
|
457
|
+
EmailChannelResponse.add_member(:identity, Shapes::ShapeRef.new(shape: __string, location_name: "Identity"))
|
458
|
+
EmailChannelResponse.add_member(:is_archived, Shapes::ShapeRef.new(shape: __boolean, location_name: "IsArchived"))
|
459
|
+
EmailChannelResponse.add_member(:last_modified_by, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedBy"))
|
460
|
+
EmailChannelResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedDate"))
|
461
|
+
EmailChannelResponse.add_member(:platform, Shapes::ShapeRef.new(shape: __string, location_name: "Platform"))
|
462
|
+
EmailChannelResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "RoleArn"))
|
463
|
+
EmailChannelResponse.add_member(:version, Shapes::ShapeRef.new(shape: __integer, location_name: "Version"))
|
464
|
+
EmailChannelResponse.struct_class = Types::EmailChannelResponse
|
465
|
+
|
307
466
|
EndpointBatchItem.add_member(:address, Shapes::ShapeRef.new(shape: __string, location_name: "Address"))
|
308
467
|
EndpointBatchItem.add_member(:attributes, Shapes::ShapeRef.new(shape: MapOfListOf__string, location_name: "Attributes"))
|
309
468
|
EndpointBatchItem.add_member(:channel_type, Shapes::ShapeRef.new(shape: ChannelType, location_name: "ChannelType"))
|
@@ -366,8 +525,8 @@ module Aws::Pinpoint
|
|
366
525
|
EndpointResponse.add_member(:metrics, Shapes::ShapeRef.new(shape: MapOf__double, location_name: "Metrics"))
|
367
526
|
EndpointResponse.add_member(:opt_out, Shapes::ShapeRef.new(shape: __string, location_name: "OptOut"))
|
368
527
|
EndpointResponse.add_member(:request_id, Shapes::ShapeRef.new(shape: __string, location_name: "RequestId"))
|
369
|
-
EndpointResponse.add_member(:user, Shapes::ShapeRef.new(shape: EndpointUser, location_name: "User"))
|
370
528
|
EndpointResponse.add_member(:shard_id, Shapes::ShapeRef.new(shape: __string, location_name: "ShardId"))
|
529
|
+
EndpointResponse.add_member(:user, Shapes::ShapeRef.new(shape: EndpointUser, location_name: "User"))
|
371
530
|
EndpointResponse.struct_class = Types::EndpointResponse
|
372
531
|
|
373
532
|
EndpointUser.add_member(:user_attributes, Shapes::ShapeRef.new(shape: MapOfListOf__string, location_name: "UserAttributes"))
|
@@ -383,11 +542,13 @@ module Aws::Pinpoint
|
|
383
542
|
EventStream.struct_class = Types::EventStream
|
384
543
|
|
385
544
|
GCMChannelRequest.add_member(:api_key, Shapes::ShapeRef.new(shape: __string, location_name: "ApiKey"))
|
545
|
+
GCMChannelRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "Enabled"))
|
386
546
|
GCMChannelRequest.struct_class = Types::GCMChannelRequest
|
387
547
|
|
388
548
|
GCMChannelResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId"))
|
389
549
|
GCMChannelResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: __string, location_name: "CreationDate"))
|
390
550
|
GCMChannelResponse.add_member(:credential, Shapes::ShapeRef.new(shape: __string, location_name: "Credential"))
|
551
|
+
GCMChannelResponse.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "Enabled"))
|
391
552
|
GCMChannelResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id"))
|
392
553
|
GCMChannelResponse.add_member(:is_archived, Shapes::ShapeRef.new(shape: __boolean, location_name: "IsArchived"))
|
393
554
|
GCMChannelResponse.add_member(:last_modified_by, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedBy"))
|
@@ -396,6 +557,23 @@ module Aws::Pinpoint
|
|
396
557
|
GCMChannelResponse.add_member(:version, Shapes::ShapeRef.new(shape: __integer, location_name: "Version"))
|
397
558
|
GCMChannelResponse.struct_class = Types::GCMChannelResponse
|
398
559
|
|
560
|
+
GCMMessage.add_member(:action, Shapes::ShapeRef.new(shape: Action, location_name: "Action"))
|
561
|
+
GCMMessage.add_member(:body, Shapes::ShapeRef.new(shape: __string, location_name: "Body"))
|
562
|
+
GCMMessage.add_member(:collapse_key, Shapes::ShapeRef.new(shape: __string, location_name: "CollapseKey"))
|
563
|
+
GCMMessage.add_member(:data, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "Data"))
|
564
|
+
GCMMessage.add_member(:icon_reference, Shapes::ShapeRef.new(shape: __string, location_name: "IconReference"))
|
565
|
+
GCMMessage.add_member(:image_icon_url, Shapes::ShapeRef.new(shape: __string, location_name: "ImageIconUrl"))
|
566
|
+
GCMMessage.add_member(:image_url, Shapes::ShapeRef.new(shape: __string, location_name: "ImageUrl"))
|
567
|
+
GCMMessage.add_member(:raw_content, Shapes::ShapeRef.new(shape: __string, location_name: "RawContent"))
|
568
|
+
GCMMessage.add_member(:restricted_package_name, Shapes::ShapeRef.new(shape: __string, location_name: "RestrictedPackageName"))
|
569
|
+
GCMMessage.add_member(:silent_push, Shapes::ShapeRef.new(shape: __boolean, location_name: "SilentPush"))
|
570
|
+
GCMMessage.add_member(:small_image_icon_url, Shapes::ShapeRef.new(shape: __string, location_name: "SmallImageIconUrl"))
|
571
|
+
GCMMessage.add_member(:sound, Shapes::ShapeRef.new(shape: __string, location_name: "Sound"))
|
572
|
+
GCMMessage.add_member(:substitutions, Shapes::ShapeRef.new(shape: MapOfListOf__string, location_name: "Substitutions"))
|
573
|
+
GCMMessage.add_member(:title, Shapes::ShapeRef.new(shape: __string, location_name: "Title"))
|
574
|
+
GCMMessage.add_member(:url, Shapes::ShapeRef.new(shape: __string, location_name: "Url"))
|
575
|
+
GCMMessage.struct_class = Types::GCMMessage
|
576
|
+
|
399
577
|
GetApnsChannelRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
|
400
578
|
GetApnsChannelRequest.struct_class = Types::GetApnsChannelRequest
|
401
579
|
|
@@ -404,6 +582,14 @@ module Aws::Pinpoint
|
|
404
582
|
GetApnsChannelResponse[:payload] = :apns_channel_response
|
405
583
|
GetApnsChannelResponse[:payload_member] = GetApnsChannelResponse.member(:apns_channel_response)
|
406
584
|
|
585
|
+
GetApnsSandboxChannelRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
|
586
|
+
GetApnsSandboxChannelRequest.struct_class = Types::GetApnsSandboxChannelRequest
|
587
|
+
|
588
|
+
GetApnsSandboxChannelResponse.add_member(:apns_sandbox_channel_response, Shapes::ShapeRef.new(shape: APNSSandboxChannelResponse, required: true, location_name: "APNSSandboxChannelResponse"))
|
589
|
+
GetApnsSandboxChannelResponse.struct_class = Types::GetApnsSandboxChannelResponse
|
590
|
+
GetApnsSandboxChannelResponse[:payload] = :apns_sandbox_channel_response
|
591
|
+
GetApnsSandboxChannelResponse[:payload_member] = GetApnsSandboxChannelResponse.member(:apns_sandbox_channel_response)
|
592
|
+
|
407
593
|
GetApplicationSettingsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
|
408
594
|
GetApplicationSettingsRequest.struct_class = Types::GetApplicationSettingsRequest
|
409
595
|
|
@@ -463,6 +649,14 @@ module Aws::Pinpoint
|
|
463
649
|
GetCampaignsResponse[:payload] = :campaigns_response
|
464
650
|
GetCampaignsResponse[:payload_member] = GetCampaignsResponse.member(:campaigns_response)
|
465
651
|
|
652
|
+
GetEmailChannelRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
|
653
|
+
GetEmailChannelRequest.struct_class = Types::GetEmailChannelRequest
|
654
|
+
|
655
|
+
GetEmailChannelResponse.add_member(:email_channel_response, Shapes::ShapeRef.new(shape: EmailChannelResponse, required: true, location_name: "EmailChannelResponse"))
|
656
|
+
GetEmailChannelResponse.struct_class = Types::GetEmailChannelResponse
|
657
|
+
GetEmailChannelResponse[:payload] = :email_channel_response
|
658
|
+
GetEmailChannelResponse[:payload_member] = GetEmailChannelResponse.member(:email_channel_response)
|
659
|
+
|
466
660
|
GetEndpointRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
|
467
661
|
GetEndpointRequest.add_member(:endpoint_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "endpoint-id"))
|
468
662
|
GetEndpointRequest.struct_class = Types::GetEndpointRequest
|
@@ -558,6 +752,14 @@ module Aws::Pinpoint
|
|
558
752
|
GetSegmentsResponse[:payload] = :segments_response
|
559
753
|
GetSegmentsResponse[:payload_member] = GetSegmentsResponse.member(:segments_response)
|
560
754
|
|
755
|
+
GetSmsChannelRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
|
756
|
+
GetSmsChannelRequest.struct_class = Types::GetSmsChannelRequest
|
757
|
+
|
758
|
+
GetSmsChannelResponse.add_member(:sms_channel_response, Shapes::ShapeRef.new(shape: SMSChannelResponse, required: true, location_name: "SMSChannelResponse"))
|
759
|
+
GetSmsChannelResponse.struct_class = Types::GetSmsChannelResponse
|
760
|
+
GetSmsChannelResponse[:payload] = :sms_channel_response
|
761
|
+
GetSmsChannelResponse[:payload_member] = GetSmsChannelResponse.member(:sms_channel_response)
|
762
|
+
|
561
763
|
ImportJobRequest.add_member(:define_segment, Shapes::ShapeRef.new(shape: __boolean, location_name: "DefineSegment"))
|
562
764
|
ImportJobRequest.add_member(:external_id, Shapes::ShapeRef.new(shape: __string, location_name: "ExternalId"))
|
563
765
|
ImportJobRequest.add_member(:format, Shapes::ShapeRef.new(shape: Format, location_name: "Format"))
|
@@ -613,18 +815,31 @@ module Aws::Pinpoint
|
|
613
815
|
|
614
816
|
ListOf__string.member = Shapes::ShapeRef.new(shape: __string)
|
615
817
|
|
818
|
+
MapOfAddressConfiguration.key = Shapes::ShapeRef.new(shape: __string)
|
819
|
+
MapOfAddressConfiguration.value = Shapes::ShapeRef.new(shape: AddressConfiguration)
|
820
|
+
|
616
821
|
MapOfAttributeDimension.key = Shapes::ShapeRef.new(shape: __string)
|
617
822
|
MapOfAttributeDimension.value = Shapes::ShapeRef.new(shape: AttributeDimension)
|
618
823
|
|
619
824
|
MapOfListOf__string.key = Shapes::ShapeRef.new(shape: __string)
|
620
825
|
MapOfListOf__string.value = Shapes::ShapeRef.new(shape: ListOf__string)
|
621
826
|
|
827
|
+
MapOfMessageResult.key = Shapes::ShapeRef.new(shape: __string)
|
828
|
+
MapOfMessageResult.value = Shapes::ShapeRef.new(shape: MessageResult)
|
829
|
+
|
622
830
|
MapOf__double.key = Shapes::ShapeRef.new(shape: __string)
|
623
831
|
MapOf__double.value = Shapes::ShapeRef.new(shape: __double)
|
624
832
|
|
833
|
+
MapOf__integer.key = Shapes::ShapeRef.new(shape: __string)
|
834
|
+
MapOf__integer.value = Shapes::ShapeRef.new(shape: __integer)
|
835
|
+
|
836
|
+
MapOf__string.key = Shapes::ShapeRef.new(shape: __string)
|
837
|
+
MapOf__string.value = Shapes::ShapeRef.new(shape: __string)
|
838
|
+
|
625
839
|
Message.add_member(:action, Shapes::ShapeRef.new(shape: Action, location_name: "Action"))
|
626
840
|
Message.add_member(:body, Shapes::ShapeRef.new(shape: __string, location_name: "Body"))
|
627
841
|
Message.add_member(:image_icon_url, Shapes::ShapeRef.new(shape: __string, location_name: "ImageIconUrl"))
|
842
|
+
Message.add_member(:image_small_icon_url, Shapes::ShapeRef.new(shape: __string, location_name: "ImageSmallIconUrl"))
|
628
843
|
Message.add_member(:image_url, Shapes::ShapeRef.new(shape: __string, location_name: "ImageUrl"))
|
629
844
|
Message.add_member(:json_body, Shapes::ShapeRef.new(shape: __string, location_name: "JsonBody"))
|
630
845
|
Message.add_member(:media_url, Shapes::ShapeRef.new(shape: __string, location_name: "MediaUrl"))
|
@@ -639,9 +854,27 @@ module Aws::Pinpoint
|
|
639
854
|
|
640
855
|
MessageConfiguration.add_member(:apns_message, Shapes::ShapeRef.new(shape: Message, location_name: "APNSMessage"))
|
641
856
|
MessageConfiguration.add_member(:default_message, Shapes::ShapeRef.new(shape: Message, location_name: "DefaultMessage"))
|
857
|
+
MessageConfiguration.add_member(:email_message, Shapes::ShapeRef.new(shape: CampaignEmailMessage, location_name: "EmailMessage"))
|
642
858
|
MessageConfiguration.add_member(:gcm_message, Shapes::ShapeRef.new(shape: Message, location_name: "GCMMessage"))
|
859
|
+
MessageConfiguration.add_member(:sms_message, Shapes::ShapeRef.new(shape: CampaignSmsMessage, location_name: "SMSMessage"))
|
643
860
|
MessageConfiguration.struct_class = Types::MessageConfiguration
|
644
861
|
|
862
|
+
MessageRequest.add_member(:addresses, Shapes::ShapeRef.new(shape: MapOfAddressConfiguration, location_name: "Addresses"))
|
863
|
+
MessageRequest.add_member(:context, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "Context"))
|
864
|
+
MessageRequest.add_member(:message_configuration, Shapes::ShapeRef.new(shape: DirectMessageConfiguration, location_name: "MessageConfiguration"))
|
865
|
+
MessageRequest.struct_class = Types::MessageRequest
|
866
|
+
|
867
|
+
MessageResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId"))
|
868
|
+
MessageResponse.add_member(:request_id, Shapes::ShapeRef.new(shape: __string, location_name: "RequestId"))
|
869
|
+
MessageResponse.add_member(:result, Shapes::ShapeRef.new(shape: MapOfMessageResult, location_name: "Result"))
|
870
|
+
MessageResponse.struct_class = Types::MessageResponse
|
871
|
+
|
872
|
+
MessageResult.add_member(:delivery_status, Shapes::ShapeRef.new(shape: DeliveryStatus, location_name: "DeliveryStatus"))
|
873
|
+
MessageResult.add_member(:status_code, Shapes::ShapeRef.new(shape: __integer, location_name: "StatusCode"))
|
874
|
+
MessageResult.add_member(:status_message, Shapes::ShapeRef.new(shape: __string, location_name: "StatusMessage"))
|
875
|
+
MessageResult.add_member(:updated_token, Shapes::ShapeRef.new(shape: __string, location_name: "UpdatedToken"))
|
876
|
+
MessageResult.struct_class = Types::MessageResult
|
877
|
+
|
645
878
|
PutEventStreamRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
|
646
879
|
PutEventStreamRequest.add_member(:write_event_stream, Shapes::ShapeRef.new(shape: WriteEventStream, required: true, location_name: "WriteEventStream"))
|
647
880
|
PutEventStreamRequest.struct_class = Types::PutEventStreamRequest
|
@@ -661,6 +894,29 @@ module Aws::Pinpoint
|
|
661
894
|
RecencyDimension.add_member(:recency_type, Shapes::ShapeRef.new(shape: RecencyType, location_name: "RecencyType"))
|
662
895
|
RecencyDimension.struct_class = Types::RecencyDimension
|
663
896
|
|
897
|
+
SMSChannelRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "Enabled"))
|
898
|
+
SMSChannelRequest.add_member(:sender_id, Shapes::ShapeRef.new(shape: __string, location_name: "SenderId"))
|
899
|
+
SMSChannelRequest.struct_class = Types::SMSChannelRequest
|
900
|
+
|
901
|
+
SMSChannelResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId"))
|
902
|
+
SMSChannelResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: __string, location_name: "CreationDate"))
|
903
|
+
SMSChannelResponse.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "Enabled"))
|
904
|
+
SMSChannelResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id"))
|
905
|
+
SMSChannelResponse.add_member(:is_archived, Shapes::ShapeRef.new(shape: __boolean, location_name: "IsArchived"))
|
906
|
+
SMSChannelResponse.add_member(:last_modified_by, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedBy"))
|
907
|
+
SMSChannelResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedDate"))
|
908
|
+
SMSChannelResponse.add_member(:platform, Shapes::ShapeRef.new(shape: __string, location_name: "Platform"))
|
909
|
+
SMSChannelResponse.add_member(:sender_id, Shapes::ShapeRef.new(shape: __string, location_name: "SenderId"))
|
910
|
+
SMSChannelResponse.add_member(:short_code, Shapes::ShapeRef.new(shape: __string, location_name: "ShortCode"))
|
911
|
+
SMSChannelResponse.add_member(:version, Shapes::ShapeRef.new(shape: __integer, location_name: "Version"))
|
912
|
+
SMSChannelResponse.struct_class = Types::SMSChannelResponse
|
913
|
+
|
914
|
+
SMSMessage.add_member(:body, Shapes::ShapeRef.new(shape: __string, location_name: "Body"))
|
915
|
+
SMSMessage.add_member(:message_type, Shapes::ShapeRef.new(shape: MessageType, location_name: "MessageType"))
|
916
|
+
SMSMessage.add_member(:sender_id, Shapes::ShapeRef.new(shape: __string, location_name: "SenderId"))
|
917
|
+
SMSMessage.add_member(:substitutions, Shapes::ShapeRef.new(shape: MapOfListOf__string, location_name: "Substitutions"))
|
918
|
+
SMSMessage.struct_class = Types::SMSMessage
|
919
|
+
|
664
920
|
Schedule.add_member(:end_time, Shapes::ShapeRef.new(shape: __string, location_name: "EndTime"))
|
665
921
|
Schedule.add_member(:frequency, Shapes::ShapeRef.new(shape: Frequency, location_name: "Frequency"))
|
666
922
|
Schedule.add_member(:is_local_time, Shapes::ShapeRef.new(shape: __boolean, location_name: "IsLocalTime"))
|
@@ -673,6 +929,7 @@ module Aws::Pinpoint
|
|
673
929
|
SegmentBehaviors.struct_class = Types::SegmentBehaviors
|
674
930
|
|
675
931
|
SegmentDemographics.add_member(:app_version, Shapes::ShapeRef.new(shape: SetDimension, location_name: "AppVersion"))
|
932
|
+
SegmentDemographics.add_member(:channel, Shapes::ShapeRef.new(shape: SetDimension, location_name: "Channel"))
|
676
933
|
SegmentDemographics.add_member(:device_type, Shapes::ShapeRef.new(shape: SetDimension, location_name: "DeviceType"))
|
677
934
|
SegmentDemographics.add_member(:make, Shapes::ShapeRef.new(shape: SetDimension, location_name: "Make"))
|
678
935
|
SegmentDemographics.add_member(:model, Shapes::ShapeRef.new(shape: SetDimension, location_name: "Model"))
|
@@ -686,6 +943,7 @@ module Aws::Pinpoint
|
|
686
943
|
SegmentDimensions.add_member(:user_attributes, Shapes::ShapeRef.new(shape: MapOfAttributeDimension, location_name: "UserAttributes"))
|
687
944
|
SegmentDimensions.struct_class = Types::SegmentDimensions
|
688
945
|
|
946
|
+
SegmentImportResource.add_member(:channel_counts, Shapes::ShapeRef.new(shape: MapOf__integer, location_name: "ChannelCounts"))
|
689
947
|
SegmentImportResource.add_member(:external_id, Shapes::ShapeRef.new(shape: __string, location_name: "ExternalId"))
|
690
948
|
SegmentImportResource.add_member(:format, Shapes::ShapeRef.new(shape: Format, location_name: "Format"))
|
691
949
|
SegmentImportResource.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "RoleArn"))
|
@@ -711,6 +969,17 @@ module Aws::Pinpoint
|
|
711
969
|
SegmentsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "NextToken"))
|
712
970
|
SegmentsResponse.struct_class = Types::SegmentsResponse
|
713
971
|
|
972
|
+
SendMessagesRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
|
973
|
+
SendMessagesRequest.add_member(:message_request, Shapes::ShapeRef.new(shape: MessageRequest, required: true, location_name: "MessageRequest"))
|
974
|
+
SendMessagesRequest.struct_class = Types::SendMessagesRequest
|
975
|
+
SendMessagesRequest[:payload] = :message_request
|
976
|
+
SendMessagesRequest[:payload_member] = SendMessagesRequest.member(:message_request)
|
977
|
+
|
978
|
+
SendMessagesResponse.add_member(:message_response, Shapes::ShapeRef.new(shape: MessageResponse, required: true, location_name: "MessageResponse"))
|
979
|
+
SendMessagesResponse.struct_class = Types::SendMessagesResponse
|
980
|
+
SendMessagesResponse[:payload] = :message_response
|
981
|
+
SendMessagesResponse[:payload_member] = SendMessagesResponse.member(:message_response)
|
982
|
+
|
714
983
|
SetDimension.add_member(:dimension_type, Shapes::ShapeRef.new(shape: DimensionType, location_name: "DimensionType"))
|
715
984
|
SetDimension.add_member(:values, Shapes::ShapeRef.new(shape: ListOf__string, location_name: "Values"))
|
716
985
|
SetDimension.struct_class = Types::SetDimension
|
@@ -735,6 +1004,17 @@ module Aws::Pinpoint
|
|
735
1004
|
UpdateApnsChannelResponse[:payload] = :apns_channel_response
|
736
1005
|
UpdateApnsChannelResponse[:payload_member] = UpdateApnsChannelResponse.member(:apns_channel_response)
|
737
1006
|
|
1007
|
+
UpdateApnsSandboxChannelRequest.add_member(:apns_sandbox_channel_request, Shapes::ShapeRef.new(shape: APNSSandboxChannelRequest, required: true, location_name: "APNSSandboxChannelRequest"))
|
1008
|
+
UpdateApnsSandboxChannelRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
|
1009
|
+
UpdateApnsSandboxChannelRequest.struct_class = Types::UpdateApnsSandboxChannelRequest
|
1010
|
+
UpdateApnsSandboxChannelRequest[:payload] = :apns_sandbox_channel_request
|
1011
|
+
UpdateApnsSandboxChannelRequest[:payload_member] = UpdateApnsSandboxChannelRequest.member(:apns_sandbox_channel_request)
|
1012
|
+
|
1013
|
+
UpdateApnsSandboxChannelResponse.add_member(:apns_sandbox_channel_response, Shapes::ShapeRef.new(shape: APNSSandboxChannelResponse, required: true, location_name: "APNSSandboxChannelResponse"))
|
1014
|
+
UpdateApnsSandboxChannelResponse.struct_class = Types::UpdateApnsSandboxChannelResponse
|
1015
|
+
UpdateApnsSandboxChannelResponse[:payload] = :apns_sandbox_channel_response
|
1016
|
+
UpdateApnsSandboxChannelResponse[:payload_member] = UpdateApnsSandboxChannelResponse.member(:apns_sandbox_channel_response)
|
1017
|
+
|
738
1018
|
UpdateApplicationSettingsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
|
739
1019
|
UpdateApplicationSettingsRequest.add_member(:write_application_settings_request, Shapes::ShapeRef.new(shape: WriteApplicationSettingsRequest, required: true, location_name: "WriteApplicationSettingsRequest"))
|
740
1020
|
UpdateApplicationSettingsRequest.struct_class = Types::UpdateApplicationSettingsRequest
|
@@ -758,6 +1038,17 @@ module Aws::Pinpoint
|
|
758
1038
|
UpdateCampaignResponse[:payload] = :campaign_response
|
759
1039
|
UpdateCampaignResponse[:payload_member] = UpdateCampaignResponse.member(:campaign_response)
|
760
1040
|
|
1041
|
+
UpdateEmailChannelRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
|
1042
|
+
UpdateEmailChannelRequest.add_member(:email_channel_request, Shapes::ShapeRef.new(shape: EmailChannelRequest, required: true, location_name: "EmailChannelRequest"))
|
1043
|
+
UpdateEmailChannelRequest.struct_class = Types::UpdateEmailChannelRequest
|
1044
|
+
UpdateEmailChannelRequest[:payload] = :email_channel_request
|
1045
|
+
UpdateEmailChannelRequest[:payload_member] = UpdateEmailChannelRequest.member(:email_channel_request)
|
1046
|
+
|
1047
|
+
UpdateEmailChannelResponse.add_member(:email_channel_response, Shapes::ShapeRef.new(shape: EmailChannelResponse, required: true, location_name: "EmailChannelResponse"))
|
1048
|
+
UpdateEmailChannelResponse.struct_class = Types::UpdateEmailChannelResponse
|
1049
|
+
UpdateEmailChannelResponse[:payload] = :email_channel_response
|
1050
|
+
UpdateEmailChannelResponse[:payload_member] = UpdateEmailChannelResponse.member(:email_channel_response)
|
1051
|
+
|
761
1052
|
UpdateEndpointRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
|
762
1053
|
UpdateEndpointRequest.add_member(:endpoint_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "endpoint-id"))
|
763
1054
|
UpdateEndpointRequest.add_member(:endpoint_request, Shapes::ShapeRef.new(shape: EndpointRequest, required: true, location_name: "EndpointRequest"))
|
@@ -804,6 +1095,17 @@ module Aws::Pinpoint
|
|
804
1095
|
UpdateSegmentResponse[:payload] = :segment_response
|
805
1096
|
UpdateSegmentResponse[:payload_member] = UpdateSegmentResponse.member(:segment_response)
|
806
1097
|
|
1098
|
+
UpdateSmsChannelRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
|
1099
|
+
UpdateSmsChannelRequest.add_member(:sms_channel_request, Shapes::ShapeRef.new(shape: SMSChannelRequest, required: true, location_name: "SMSChannelRequest"))
|
1100
|
+
UpdateSmsChannelRequest.struct_class = Types::UpdateSmsChannelRequest
|
1101
|
+
UpdateSmsChannelRequest[:payload] = :sms_channel_request
|
1102
|
+
UpdateSmsChannelRequest[:payload_member] = UpdateSmsChannelRequest.member(:sms_channel_request)
|
1103
|
+
|
1104
|
+
UpdateSmsChannelResponse.add_member(:sms_channel_response, Shapes::ShapeRef.new(shape: SMSChannelResponse, required: true, location_name: "SMSChannelResponse"))
|
1105
|
+
UpdateSmsChannelResponse.struct_class = Types::UpdateSmsChannelResponse
|
1106
|
+
UpdateSmsChannelResponse[:payload] = :sms_channel_response
|
1107
|
+
UpdateSmsChannelResponse[:payload_member] = UpdateSmsChannelResponse.member(:sms_channel_response)
|
1108
|
+
|
807
1109
|
WriteApplicationSettingsRequest.add_member(:limits, Shapes::ShapeRef.new(shape: CampaignLimits, location_name: "Limits"))
|
808
1110
|
WriteApplicationSettingsRequest.add_member(:quiet_time, Shapes::ShapeRef.new(shape: QuietTime, location_name: "QuietTime"))
|
809
1111
|
WriteApplicationSettingsRequest.struct_class = Types::WriteApplicationSettingsRequest
|
@@ -823,7 +1125,6 @@ module Aws::Pinpoint
|
|
823
1125
|
WriteCampaignRequest.struct_class = Types::WriteCampaignRequest
|
824
1126
|
|
825
1127
|
WriteEventStream.add_member(:destination_stream_arn, Shapes::ShapeRef.new(shape: __string, location_name: "DestinationStreamArn"))
|
826
|
-
WriteEventStream.add_member(:external_id, Shapes::ShapeRef.new(shape: __string, location_name: "ExternalId"))
|
827
1128
|
WriteEventStream.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "RoleArn"))
|
828
1129
|
WriteEventStream.struct_class = Types::WriteEventStream
|
829
1130
|
|
@@ -909,6 +1210,20 @@ module Aws::Pinpoint
|
|
909
1210
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
910
1211
|
end)
|
911
1212
|
|
1213
|
+
api.add_operation(:delete_apns_sandbox_channel, Seahorse::Model::Operation.new.tap do |o|
|
1214
|
+
o.name = "DeleteApnsSandboxChannel"
|
1215
|
+
o.http_method = "DELETE"
|
1216
|
+
o.http_request_uri = "/v1/apps/{application-id}/channels/apns_sandbox"
|
1217
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteApnsSandboxChannelRequest)
|
1218
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteApnsSandboxChannelResponse)
|
1219
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1220
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
1221
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
1222
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1223
|
+
o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
|
1224
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1225
|
+
end)
|
1226
|
+
|
912
1227
|
api.add_operation(:delete_campaign, Seahorse::Model::Operation.new.tap do |o|
|
913
1228
|
o.name = "DeleteCampaign"
|
914
1229
|
o.http_method = "DELETE"
|
@@ -923,6 +1238,20 @@ module Aws::Pinpoint
|
|
923
1238
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
924
1239
|
end)
|
925
1240
|
|
1241
|
+
api.add_operation(:delete_email_channel, Seahorse::Model::Operation.new.tap do |o|
|
1242
|
+
o.name = "DeleteEmailChannel"
|
1243
|
+
o.http_method = "DELETE"
|
1244
|
+
o.http_request_uri = "/v1/apps/{application-id}/channels/email"
|
1245
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteEmailChannelRequest)
|
1246
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteEmailChannelResponse)
|
1247
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1248
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
1249
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
1250
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1251
|
+
o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
|
1252
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1253
|
+
end)
|
1254
|
+
|
926
1255
|
api.add_operation(:delete_event_stream, Seahorse::Model::Operation.new.tap do |o|
|
927
1256
|
o.name = "DeleteEventStream"
|
928
1257
|
o.http_method = "DELETE"
|
@@ -965,6 +1294,20 @@ module Aws::Pinpoint
|
|
965
1294
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
966
1295
|
end)
|
967
1296
|
|
1297
|
+
api.add_operation(:delete_sms_channel, Seahorse::Model::Operation.new.tap do |o|
|
1298
|
+
o.name = "DeleteSmsChannel"
|
1299
|
+
o.http_method = "DELETE"
|
1300
|
+
o.http_request_uri = "/v1/apps/{application-id}/channels/sms"
|
1301
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteSmsChannelRequest)
|
1302
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteSmsChannelResponse)
|
1303
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1304
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
1305
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
1306
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1307
|
+
o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
|
1308
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1309
|
+
end)
|
1310
|
+
|
968
1311
|
api.add_operation(:get_apns_channel, Seahorse::Model::Operation.new.tap do |o|
|
969
1312
|
o.name = "GetApnsChannel"
|
970
1313
|
o.http_method = "GET"
|
@@ -979,6 +1322,20 @@ module Aws::Pinpoint
|
|
979
1322
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
980
1323
|
end)
|
981
1324
|
|
1325
|
+
api.add_operation(:get_apns_sandbox_channel, Seahorse::Model::Operation.new.tap do |o|
|
1326
|
+
o.name = "GetApnsSandboxChannel"
|
1327
|
+
o.http_method = "GET"
|
1328
|
+
o.http_request_uri = "/v1/apps/{application-id}/channels/apns_sandbox"
|
1329
|
+
o.input = Shapes::ShapeRef.new(shape: GetApnsSandboxChannelRequest)
|
1330
|
+
o.output = Shapes::ShapeRef.new(shape: GetApnsSandboxChannelResponse)
|
1331
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1332
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
1333
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
1334
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1335
|
+
o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
|
1336
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1337
|
+
end)
|
1338
|
+
|
982
1339
|
api.add_operation(:get_application_settings, Seahorse::Model::Operation.new.tap do |o|
|
983
1340
|
o.name = "GetApplicationSettings"
|
984
1341
|
o.http_method = "GET"
|
@@ -1063,6 +1420,20 @@ module Aws::Pinpoint
|
|
1063
1420
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1064
1421
|
end)
|
1065
1422
|
|
1423
|
+
api.add_operation(:get_email_channel, Seahorse::Model::Operation.new.tap do |o|
|
1424
|
+
o.name = "GetEmailChannel"
|
1425
|
+
o.http_method = "GET"
|
1426
|
+
o.http_request_uri = "/v1/apps/{application-id}/channels/email"
|
1427
|
+
o.input = Shapes::ShapeRef.new(shape: GetEmailChannelRequest)
|
1428
|
+
o.output = Shapes::ShapeRef.new(shape: GetEmailChannelResponse)
|
1429
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1430
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
1431
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
1432
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1433
|
+
o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
|
1434
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1435
|
+
end)
|
1436
|
+
|
1066
1437
|
api.add_operation(:get_endpoint, Seahorse::Model::Operation.new.tap do |o|
|
1067
1438
|
o.name = "GetEndpoint"
|
1068
1439
|
o.http_method = "GET"
|
@@ -1203,6 +1574,20 @@ module Aws::Pinpoint
|
|
1203
1574
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1204
1575
|
end)
|
1205
1576
|
|
1577
|
+
api.add_operation(:get_sms_channel, Seahorse::Model::Operation.new.tap do |o|
|
1578
|
+
o.name = "GetSmsChannel"
|
1579
|
+
o.http_method = "GET"
|
1580
|
+
o.http_request_uri = "/v1/apps/{application-id}/channels/sms"
|
1581
|
+
o.input = Shapes::ShapeRef.new(shape: GetSmsChannelRequest)
|
1582
|
+
o.output = Shapes::ShapeRef.new(shape: GetSmsChannelResponse)
|
1583
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1584
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
1585
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
1586
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1587
|
+
o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
|
1588
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1589
|
+
end)
|
1590
|
+
|
1206
1591
|
api.add_operation(:put_event_stream, Seahorse::Model::Operation.new.tap do |o|
|
1207
1592
|
o.name = "PutEventStream"
|
1208
1593
|
o.http_method = "POST"
|
@@ -1217,6 +1602,20 @@ module Aws::Pinpoint
|
|
1217
1602
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1218
1603
|
end)
|
1219
1604
|
|
1605
|
+
api.add_operation(:send_messages, Seahorse::Model::Operation.new.tap do |o|
|
1606
|
+
o.name = "SendMessages"
|
1607
|
+
o.http_method = "POST"
|
1608
|
+
o.http_request_uri = "/v1/apps/{application-id}/messages"
|
1609
|
+
o.input = Shapes::ShapeRef.new(shape: SendMessagesRequest)
|
1610
|
+
o.output = Shapes::ShapeRef.new(shape: SendMessagesResponse)
|
1611
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1612
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
1613
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
1614
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1615
|
+
o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
|
1616
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1617
|
+
end)
|
1618
|
+
|
1220
1619
|
api.add_operation(:update_apns_channel, Seahorse::Model::Operation.new.tap do |o|
|
1221
1620
|
o.name = "UpdateApnsChannel"
|
1222
1621
|
o.http_method = "PUT"
|
@@ -1231,6 +1630,20 @@ module Aws::Pinpoint
|
|
1231
1630
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1232
1631
|
end)
|
1233
1632
|
|
1633
|
+
api.add_operation(:update_apns_sandbox_channel, Seahorse::Model::Operation.new.tap do |o|
|
1634
|
+
o.name = "UpdateApnsSandboxChannel"
|
1635
|
+
o.http_method = "PUT"
|
1636
|
+
o.http_request_uri = "/v1/apps/{application-id}/channels/apns_sandbox"
|
1637
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateApnsSandboxChannelRequest)
|
1638
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateApnsSandboxChannelResponse)
|
1639
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1640
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
1641
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
1642
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1643
|
+
o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
|
1644
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1645
|
+
end)
|
1646
|
+
|
1234
1647
|
api.add_operation(:update_application_settings, Seahorse::Model::Operation.new.tap do |o|
|
1235
1648
|
o.name = "UpdateApplicationSettings"
|
1236
1649
|
o.http_method = "PUT"
|
@@ -1259,6 +1672,20 @@ module Aws::Pinpoint
|
|
1259
1672
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1260
1673
|
end)
|
1261
1674
|
|
1675
|
+
api.add_operation(:update_email_channel, Seahorse::Model::Operation.new.tap do |o|
|
1676
|
+
o.name = "UpdateEmailChannel"
|
1677
|
+
o.http_method = "PUT"
|
1678
|
+
o.http_request_uri = "/v1/apps/{application-id}/channels/email"
|
1679
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateEmailChannelRequest)
|
1680
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateEmailChannelResponse)
|
1681
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1682
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
1683
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
1684
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1685
|
+
o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
|
1686
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1687
|
+
end)
|
1688
|
+
|
1262
1689
|
api.add_operation(:update_endpoint, Seahorse::Model::Operation.new.tap do |o|
|
1263
1690
|
o.name = "UpdateEndpoint"
|
1264
1691
|
o.http_method = "PUT"
|
@@ -1314,6 +1741,20 @@ module Aws::Pinpoint
|
|
1314
1741
|
o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
|
1315
1742
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1316
1743
|
end)
|
1744
|
+
|
1745
|
+
api.add_operation(:update_sms_channel, Seahorse::Model::Operation.new.tap do |o|
|
1746
|
+
o.name = "UpdateSmsChannel"
|
1747
|
+
o.http_method = "PUT"
|
1748
|
+
o.http_request_uri = "/v1/apps/{application-id}/channels/sms"
|
1749
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateSmsChannelRequest)
|
1750
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateSmsChannelResponse)
|
1751
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1752
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
1753
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
1754
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1755
|
+
o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
|
1756
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1757
|
+
end)
|
1317
1758
|
end
|
1318
1759
|
|
1319
1760
|
end
|