aws-sdk-pinpoint 1.0.0.rc2

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.
@@ -0,0 +1,1228 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing for info on making contributions:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module Pinpoint
10
+ # @api private
11
+ module ClientApi
12
+
13
+ include Seahorse::Model
14
+
15
+ APNSChannelRequest = Shapes::StructureShape.new(name: 'APNSChannelRequest')
16
+ APNSChannelResponse = Shapes::StructureShape.new(name: 'APNSChannelResponse')
17
+ Action = Shapes::StringShape.new(name: 'Action')
18
+ ActivitiesResponse = Shapes::StructureShape.new(name: 'ActivitiesResponse')
19
+ ActivityResponse = Shapes::StructureShape.new(name: 'ActivityResponse')
20
+ ApplicationSettingsResource = Shapes::StructureShape.new(name: 'ApplicationSettingsResource')
21
+ AttributeDimension = Shapes::StructureShape.new(name: 'AttributeDimension')
22
+ AttributeType = Shapes::StringShape.new(name: 'AttributeType')
23
+ BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
24
+ CampaignLimits = Shapes::StructureShape.new(name: 'CampaignLimits')
25
+ CampaignResponse = Shapes::StructureShape.new(name: 'CampaignResponse')
26
+ CampaignState = Shapes::StructureShape.new(name: 'CampaignState')
27
+ CampaignStatus = Shapes::StringShape.new(name: 'CampaignStatus')
28
+ CampaignsResponse = Shapes::StructureShape.new(name: 'CampaignsResponse')
29
+ ChannelType = Shapes::StringShape.new(name: 'ChannelType')
30
+ CreateCampaignRequest = Shapes::StructureShape.new(name: 'CreateCampaignRequest')
31
+ CreateCampaignResponse = Shapes::StructureShape.new(name: 'CreateCampaignResponse')
32
+ CreateImportJobRequest = Shapes::StructureShape.new(name: 'CreateImportJobRequest')
33
+ CreateImportJobResponse = Shapes::StructureShape.new(name: 'CreateImportJobResponse')
34
+ CreateSegmentRequest = Shapes::StructureShape.new(name: 'CreateSegmentRequest')
35
+ CreateSegmentResponse = Shapes::StructureShape.new(name: 'CreateSegmentResponse')
36
+ DeleteApnsChannelRequest = Shapes::StructureShape.new(name: 'DeleteApnsChannelRequest')
37
+ DeleteApnsChannelResponse = Shapes::StructureShape.new(name: 'DeleteApnsChannelResponse')
38
+ DeleteCampaignRequest = Shapes::StructureShape.new(name: 'DeleteCampaignRequest')
39
+ DeleteCampaignResponse = Shapes::StructureShape.new(name: 'DeleteCampaignResponse')
40
+ DeleteGcmChannelRequest = Shapes::StructureShape.new(name: 'DeleteGcmChannelRequest')
41
+ DeleteGcmChannelResponse = Shapes::StructureShape.new(name: 'DeleteGcmChannelResponse')
42
+ DeleteSegmentRequest = Shapes::StructureShape.new(name: 'DeleteSegmentRequest')
43
+ DeleteSegmentResponse = Shapes::StructureShape.new(name: 'DeleteSegmentResponse')
44
+ DimensionType = Shapes::StringShape.new(name: 'DimensionType')
45
+ Duration = Shapes::StringShape.new(name: 'Duration')
46
+ EndpointBatchItem = Shapes::StructureShape.new(name: 'EndpointBatchItem')
47
+ EndpointBatchRequest = Shapes::StructureShape.new(name: 'EndpointBatchRequest')
48
+ EndpointDemographic = Shapes::StructureShape.new(name: 'EndpointDemographic')
49
+ EndpointLocation = Shapes::StructureShape.new(name: 'EndpointLocation')
50
+ EndpointRequest = Shapes::StructureShape.new(name: 'EndpointRequest')
51
+ EndpointResponse = Shapes::StructureShape.new(name: 'EndpointResponse')
52
+ EndpointUser = Shapes::StructureShape.new(name: 'EndpointUser')
53
+ ForbiddenException = Shapes::StructureShape.new(name: 'ForbiddenException')
54
+ Format = Shapes::StringShape.new(name: 'Format')
55
+ Frequency = Shapes::StringShape.new(name: 'Frequency')
56
+ GCMChannelRequest = Shapes::StructureShape.new(name: 'GCMChannelRequest')
57
+ GCMChannelResponse = Shapes::StructureShape.new(name: 'GCMChannelResponse')
58
+ GetApnsChannelRequest = Shapes::StructureShape.new(name: 'GetApnsChannelRequest')
59
+ GetApnsChannelResponse = Shapes::StructureShape.new(name: 'GetApnsChannelResponse')
60
+ GetApplicationSettingsRequest = Shapes::StructureShape.new(name: 'GetApplicationSettingsRequest')
61
+ GetApplicationSettingsResponse = Shapes::StructureShape.new(name: 'GetApplicationSettingsResponse')
62
+ GetCampaignActivitiesRequest = Shapes::StructureShape.new(name: 'GetCampaignActivitiesRequest')
63
+ GetCampaignActivitiesResponse = Shapes::StructureShape.new(name: 'GetCampaignActivitiesResponse')
64
+ GetCampaignRequest = Shapes::StructureShape.new(name: 'GetCampaignRequest')
65
+ GetCampaignResponse = Shapes::StructureShape.new(name: 'GetCampaignResponse')
66
+ GetCampaignVersionRequest = Shapes::StructureShape.new(name: 'GetCampaignVersionRequest')
67
+ GetCampaignVersionResponse = Shapes::StructureShape.new(name: 'GetCampaignVersionResponse')
68
+ GetCampaignVersionsRequest = Shapes::StructureShape.new(name: 'GetCampaignVersionsRequest')
69
+ GetCampaignVersionsResponse = Shapes::StructureShape.new(name: 'GetCampaignVersionsResponse')
70
+ GetCampaignsRequest = Shapes::StructureShape.new(name: 'GetCampaignsRequest')
71
+ GetCampaignsResponse = Shapes::StructureShape.new(name: 'GetCampaignsResponse')
72
+ GetEndpointRequest = Shapes::StructureShape.new(name: 'GetEndpointRequest')
73
+ GetEndpointResponse = Shapes::StructureShape.new(name: 'GetEndpointResponse')
74
+ GetGcmChannelRequest = Shapes::StructureShape.new(name: 'GetGcmChannelRequest')
75
+ GetGcmChannelResponse = Shapes::StructureShape.new(name: 'GetGcmChannelResponse')
76
+ GetImportJobRequest = Shapes::StructureShape.new(name: 'GetImportJobRequest')
77
+ GetImportJobResponse = Shapes::StructureShape.new(name: 'GetImportJobResponse')
78
+ GetImportJobsRequest = Shapes::StructureShape.new(name: 'GetImportJobsRequest')
79
+ GetImportJobsResponse = Shapes::StructureShape.new(name: 'GetImportJobsResponse')
80
+ GetSegmentImportJobsRequest = Shapes::StructureShape.new(name: 'GetSegmentImportJobsRequest')
81
+ GetSegmentImportJobsResponse = Shapes::StructureShape.new(name: 'GetSegmentImportJobsResponse')
82
+ GetSegmentRequest = Shapes::StructureShape.new(name: 'GetSegmentRequest')
83
+ GetSegmentResponse = Shapes::StructureShape.new(name: 'GetSegmentResponse')
84
+ GetSegmentVersionRequest = Shapes::StructureShape.new(name: 'GetSegmentVersionRequest')
85
+ GetSegmentVersionResponse = Shapes::StructureShape.new(name: 'GetSegmentVersionResponse')
86
+ GetSegmentVersionsRequest = Shapes::StructureShape.new(name: 'GetSegmentVersionsRequest')
87
+ GetSegmentVersionsResponse = Shapes::StructureShape.new(name: 'GetSegmentVersionsResponse')
88
+ GetSegmentsRequest = Shapes::StructureShape.new(name: 'GetSegmentsRequest')
89
+ GetSegmentsResponse = Shapes::StructureShape.new(name: 'GetSegmentsResponse')
90
+ ImportJobRequest = Shapes::StructureShape.new(name: 'ImportJobRequest')
91
+ ImportJobResource = Shapes::StructureShape.new(name: 'ImportJobResource')
92
+ ImportJobResponse = Shapes::StructureShape.new(name: 'ImportJobResponse')
93
+ ImportJobsResponse = Shapes::StructureShape.new(name: 'ImportJobsResponse')
94
+ InternalServerErrorException = Shapes::StructureShape.new(name: 'InternalServerErrorException')
95
+ JobStatus = Shapes::StringShape.new(name: 'JobStatus')
96
+ ListOfActivityResponse = Shapes::ListShape.new(name: 'ListOfActivityResponse')
97
+ ListOfCampaignResponse = Shapes::ListShape.new(name: 'ListOfCampaignResponse')
98
+ ListOfEndpointBatchItem = Shapes::ListShape.new(name: 'ListOfEndpointBatchItem')
99
+ ListOfImportJobResponse = Shapes::ListShape.new(name: 'ListOfImportJobResponse')
100
+ ListOfSegmentResponse = Shapes::ListShape.new(name: 'ListOfSegmentResponse')
101
+ ListOfTreatmentResource = Shapes::ListShape.new(name: 'ListOfTreatmentResource')
102
+ ListOfWriteTreatmentResource = Shapes::ListShape.new(name: 'ListOfWriteTreatmentResource')
103
+ ListOf__string = Shapes::ListShape.new(name: 'ListOf__string')
104
+ MapOfAttributeDimension = Shapes::MapShape.new(name: 'MapOfAttributeDimension')
105
+ MapOfListOf__string = Shapes::MapShape.new(name: 'MapOfListOf__string')
106
+ MapOf__double = Shapes::MapShape.new(name: 'MapOf__double')
107
+ Message = Shapes::StructureShape.new(name: 'Message')
108
+ MessageBody = Shapes::StructureShape.new(name: 'MessageBody')
109
+ MessageConfiguration = Shapes::StructureShape.new(name: 'MessageConfiguration')
110
+ MethodNotAllowedException = Shapes::StructureShape.new(name: 'MethodNotAllowedException')
111
+ NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
112
+ QuietTime = Shapes::StructureShape.new(name: 'QuietTime')
113
+ RecencyDimension = Shapes::StructureShape.new(name: 'RecencyDimension')
114
+ RecencyType = Shapes::StringShape.new(name: 'RecencyType')
115
+ Schedule = Shapes::StructureShape.new(name: 'Schedule')
116
+ SegmentBehaviors = Shapes::StructureShape.new(name: 'SegmentBehaviors')
117
+ SegmentDemographics = Shapes::StructureShape.new(name: 'SegmentDemographics')
118
+ SegmentDimensions = Shapes::StructureShape.new(name: 'SegmentDimensions')
119
+ SegmentImportResource = Shapes::StructureShape.new(name: 'SegmentImportResource')
120
+ SegmentLocation = Shapes::StructureShape.new(name: 'SegmentLocation')
121
+ SegmentResponse = Shapes::StructureShape.new(name: 'SegmentResponse')
122
+ SegmentType = Shapes::StringShape.new(name: 'SegmentType')
123
+ SegmentsResponse = Shapes::StructureShape.new(name: 'SegmentsResponse')
124
+ SetDimension = Shapes::StructureShape.new(name: 'SetDimension')
125
+ TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
126
+ TreatmentResource = Shapes::StructureShape.new(name: 'TreatmentResource')
127
+ UpdateApnsChannelRequest = Shapes::StructureShape.new(name: 'UpdateApnsChannelRequest')
128
+ UpdateApnsChannelResponse = Shapes::StructureShape.new(name: 'UpdateApnsChannelResponse')
129
+ UpdateApplicationSettingsRequest = Shapes::StructureShape.new(name: 'UpdateApplicationSettingsRequest')
130
+ UpdateApplicationSettingsResponse = Shapes::StructureShape.new(name: 'UpdateApplicationSettingsResponse')
131
+ UpdateCampaignRequest = Shapes::StructureShape.new(name: 'UpdateCampaignRequest')
132
+ UpdateCampaignResponse = Shapes::StructureShape.new(name: 'UpdateCampaignResponse')
133
+ UpdateEndpointRequest = Shapes::StructureShape.new(name: 'UpdateEndpointRequest')
134
+ UpdateEndpointResponse = Shapes::StructureShape.new(name: 'UpdateEndpointResponse')
135
+ UpdateEndpointsBatchRequest = Shapes::StructureShape.new(name: 'UpdateEndpointsBatchRequest')
136
+ UpdateEndpointsBatchResponse = Shapes::StructureShape.new(name: 'UpdateEndpointsBatchResponse')
137
+ UpdateGcmChannelRequest = Shapes::StructureShape.new(name: 'UpdateGcmChannelRequest')
138
+ UpdateGcmChannelResponse = Shapes::StructureShape.new(name: 'UpdateGcmChannelResponse')
139
+ UpdateSegmentRequest = Shapes::StructureShape.new(name: 'UpdateSegmentRequest')
140
+ UpdateSegmentResponse = Shapes::StructureShape.new(name: 'UpdateSegmentResponse')
141
+ WriteApplicationSettingsRequest = Shapes::StructureShape.new(name: 'WriteApplicationSettingsRequest')
142
+ WriteCampaignRequest = Shapes::StructureShape.new(name: 'WriteCampaignRequest')
143
+ WriteSegmentRequest = Shapes::StructureShape.new(name: 'WriteSegmentRequest')
144
+ WriteTreatmentResource = Shapes::StructureShape.new(name: 'WriteTreatmentResource')
145
+ __boolean = Shapes::BooleanShape.new(name: '__boolean')
146
+ __double = Shapes::FloatShape.new(name: '__double')
147
+ __integer = Shapes::IntegerShape.new(name: '__integer')
148
+ __string = Shapes::StringShape.new(name: '__string')
149
+
150
+ APNSChannelRequest.add_member(:certificate, Shapes::ShapeRef.new(shape: __string, location_name: "Certificate"))
151
+ APNSChannelRequest.add_member(:private_key, Shapes::ShapeRef.new(shape: __string, location_name: "PrivateKey"))
152
+ APNSChannelRequest.struct_class = Types::APNSChannelRequest
153
+
154
+ APNSChannelResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId"))
155
+ APNSChannelResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: __string, location_name: "CreationDate"))
156
+ APNSChannelResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id"))
157
+ APNSChannelResponse.add_member(:is_archived, Shapes::ShapeRef.new(shape: __boolean, location_name: "IsArchived"))
158
+ APNSChannelResponse.add_member(:last_modified_by, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedBy"))
159
+ APNSChannelResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedDate"))
160
+ APNSChannelResponse.add_member(:platform, Shapes::ShapeRef.new(shape: __string, location_name: "Platform"))
161
+ APNSChannelResponse.add_member(:version, Shapes::ShapeRef.new(shape: __integer, location_name: "Version"))
162
+ APNSChannelResponse.struct_class = Types::APNSChannelResponse
163
+
164
+ ActivitiesResponse.add_member(:item, Shapes::ShapeRef.new(shape: ListOfActivityResponse, location_name: "Item"))
165
+ ActivitiesResponse.struct_class = Types::ActivitiesResponse
166
+
167
+ ActivityResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId"))
168
+ ActivityResponse.add_member(:campaign_id, Shapes::ShapeRef.new(shape: __string, location_name: "CampaignId"))
169
+ ActivityResponse.add_member(:end, Shapes::ShapeRef.new(shape: __string, location_name: "End"))
170
+ ActivityResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id"))
171
+ ActivityResponse.add_member(:result, Shapes::ShapeRef.new(shape: __string, location_name: "Result"))
172
+ ActivityResponse.add_member(:scheduled_start, Shapes::ShapeRef.new(shape: __string, location_name: "ScheduledStart"))
173
+ ActivityResponse.add_member(:start, Shapes::ShapeRef.new(shape: __string, location_name: "Start"))
174
+ ActivityResponse.add_member(:state, Shapes::ShapeRef.new(shape: __string, location_name: "State"))
175
+ ActivityResponse.add_member(:successful_endpoint_count, Shapes::ShapeRef.new(shape: __integer, location_name: "SuccessfulEndpointCount"))
176
+ ActivityResponse.add_member(:total_endpoint_count, Shapes::ShapeRef.new(shape: __integer, location_name: "TotalEndpointCount"))
177
+ ActivityResponse.add_member(:treatment_id, Shapes::ShapeRef.new(shape: __string, location_name: "TreatmentId"))
178
+ ActivityResponse.struct_class = Types::ActivityResponse
179
+
180
+ ApplicationSettingsResource.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId"))
181
+ ApplicationSettingsResource.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedDate"))
182
+ ApplicationSettingsResource.add_member(:limits, Shapes::ShapeRef.new(shape: CampaignLimits, location_name: "Limits"))
183
+ ApplicationSettingsResource.add_member(:quiet_time, Shapes::ShapeRef.new(shape: QuietTime, location_name: "QuietTime"))
184
+ ApplicationSettingsResource.struct_class = Types::ApplicationSettingsResource
185
+
186
+ AttributeDimension.add_member(:attribute_type, Shapes::ShapeRef.new(shape: AttributeType, location_name: "AttributeType"))
187
+ AttributeDimension.add_member(:values, Shapes::ShapeRef.new(shape: ListOf__string, location_name: "Values"))
188
+ AttributeDimension.struct_class = Types::AttributeDimension
189
+
190
+ CampaignLimits.add_member(:daily, Shapes::ShapeRef.new(shape: __integer, location_name: "Daily"))
191
+ CampaignLimits.add_member(:total, Shapes::ShapeRef.new(shape: __integer, location_name: "Total"))
192
+ CampaignLimits.struct_class = Types::CampaignLimits
193
+
194
+ CampaignResponse.add_member(:additional_treatments, Shapes::ShapeRef.new(shape: ListOfTreatmentResource, location_name: "AdditionalTreatments"))
195
+ CampaignResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId"))
196
+ CampaignResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: __string, location_name: "CreationDate"))
197
+ CampaignResponse.add_member(:default_state, Shapes::ShapeRef.new(shape: CampaignState, location_name: "DefaultState"))
198
+ CampaignResponse.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "Description"))
199
+ CampaignResponse.add_member(:holdout_percent, Shapes::ShapeRef.new(shape: __integer, location_name: "HoldoutPercent"))
200
+ CampaignResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id"))
201
+ CampaignResponse.add_member(:is_paused, Shapes::ShapeRef.new(shape: __boolean, location_name: "IsPaused"))
202
+ CampaignResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedDate"))
203
+ CampaignResponse.add_member(:limits, Shapes::ShapeRef.new(shape: CampaignLimits, location_name: "Limits"))
204
+ CampaignResponse.add_member(:message_configuration, Shapes::ShapeRef.new(shape: MessageConfiguration, location_name: "MessageConfiguration"))
205
+ CampaignResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "Name"))
206
+ CampaignResponse.add_member(:schedule, Shapes::ShapeRef.new(shape: Schedule, location_name: "Schedule"))
207
+ CampaignResponse.add_member(:segment_id, Shapes::ShapeRef.new(shape: __string, location_name: "SegmentId"))
208
+ CampaignResponse.add_member(:segment_version, Shapes::ShapeRef.new(shape: __integer, location_name: "SegmentVersion"))
209
+ CampaignResponse.add_member(:state, Shapes::ShapeRef.new(shape: CampaignState, location_name: "State"))
210
+ CampaignResponse.add_member(:treatment_description, Shapes::ShapeRef.new(shape: __string, location_name: "TreatmentDescription"))
211
+ CampaignResponse.add_member(:treatment_name, Shapes::ShapeRef.new(shape: __string, location_name: "TreatmentName"))
212
+ CampaignResponse.add_member(:version, Shapes::ShapeRef.new(shape: __integer, location_name: "Version"))
213
+ CampaignResponse.struct_class = Types::CampaignResponse
214
+
215
+ CampaignState.add_member(:campaign_status, Shapes::ShapeRef.new(shape: CampaignStatus, location_name: "CampaignStatus"))
216
+ CampaignState.struct_class = Types::CampaignState
217
+
218
+ CampaignsResponse.add_member(:item, Shapes::ShapeRef.new(shape: ListOfCampaignResponse, location_name: "Item"))
219
+ CampaignsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "NextToken"))
220
+ CampaignsResponse.struct_class = Types::CampaignsResponse
221
+
222
+ CreateCampaignRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
223
+ CreateCampaignRequest.add_member(:write_campaign_request, Shapes::ShapeRef.new(shape: WriteCampaignRequest, required: true, location_name: "WriteCampaignRequest"))
224
+ CreateCampaignRequest.struct_class = Types::CreateCampaignRequest
225
+ CreateCampaignRequest[:payload] = :write_campaign_request
226
+ CreateCampaignRequest[:payload_member] = CreateCampaignRequest.member(:write_campaign_request)
227
+
228
+ CreateCampaignResponse.add_member(:campaign_response, Shapes::ShapeRef.new(shape: CampaignResponse, required: true, location_name: "CampaignResponse"))
229
+ CreateCampaignResponse.struct_class = Types::CreateCampaignResponse
230
+ CreateCampaignResponse[:payload] = :campaign_response
231
+ CreateCampaignResponse[:payload_member] = CreateCampaignResponse.member(:campaign_response)
232
+
233
+ CreateImportJobRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
234
+ CreateImportJobRequest.add_member(:import_job_request, Shapes::ShapeRef.new(shape: ImportJobRequest, required: true, location_name: "ImportJobRequest"))
235
+ CreateImportJobRequest.struct_class = Types::CreateImportJobRequest
236
+ CreateImportJobRequest[:payload] = :import_job_request
237
+ CreateImportJobRequest[:payload_member] = CreateImportJobRequest.member(:import_job_request)
238
+
239
+ CreateImportJobResponse.add_member(:import_job_response, Shapes::ShapeRef.new(shape: ImportJobResponse, required: true, location_name: "ImportJobResponse"))
240
+ CreateImportJobResponse.struct_class = Types::CreateImportJobResponse
241
+ CreateImportJobResponse[:payload] = :import_job_response
242
+ CreateImportJobResponse[:payload_member] = CreateImportJobResponse.member(:import_job_response)
243
+
244
+ CreateSegmentRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
245
+ CreateSegmentRequest.add_member(:write_segment_request, Shapes::ShapeRef.new(shape: WriteSegmentRequest, required: true, location_name: "WriteSegmentRequest"))
246
+ CreateSegmentRequest.struct_class = Types::CreateSegmentRequest
247
+ CreateSegmentRequest[:payload] = :write_segment_request
248
+ CreateSegmentRequest[:payload_member] = CreateSegmentRequest.member(:write_segment_request)
249
+
250
+ CreateSegmentResponse.add_member(:segment_response, Shapes::ShapeRef.new(shape: SegmentResponse, required: true, location_name: "SegmentResponse"))
251
+ CreateSegmentResponse.struct_class = Types::CreateSegmentResponse
252
+ CreateSegmentResponse[:payload] = :segment_response
253
+ CreateSegmentResponse[:payload_member] = CreateSegmentResponse.member(:segment_response)
254
+
255
+ DeleteApnsChannelRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
256
+ DeleteApnsChannelRequest.struct_class = Types::DeleteApnsChannelRequest
257
+
258
+ DeleteApnsChannelResponse.add_member(:apns_channel_response, Shapes::ShapeRef.new(shape: APNSChannelResponse, required: true, location_name: "APNSChannelResponse"))
259
+ DeleteApnsChannelResponse.struct_class = Types::DeleteApnsChannelResponse
260
+ DeleteApnsChannelResponse[:payload] = :apns_channel_response
261
+ DeleteApnsChannelResponse[:payload_member] = DeleteApnsChannelResponse.member(:apns_channel_response)
262
+
263
+ DeleteCampaignRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
264
+ DeleteCampaignRequest.add_member(:campaign_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "campaign-id"))
265
+ DeleteCampaignRequest.struct_class = Types::DeleteCampaignRequest
266
+
267
+ DeleteCampaignResponse.add_member(:campaign_response, Shapes::ShapeRef.new(shape: CampaignResponse, required: true, location_name: "CampaignResponse"))
268
+ DeleteCampaignResponse.struct_class = Types::DeleteCampaignResponse
269
+ DeleteCampaignResponse[:payload] = :campaign_response
270
+ DeleteCampaignResponse[:payload_member] = DeleteCampaignResponse.member(:campaign_response)
271
+
272
+ DeleteGcmChannelRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
273
+ DeleteGcmChannelRequest.struct_class = Types::DeleteGcmChannelRequest
274
+
275
+ DeleteGcmChannelResponse.add_member(:gcm_channel_response, Shapes::ShapeRef.new(shape: GCMChannelResponse, required: true, location_name: "GCMChannelResponse"))
276
+ DeleteGcmChannelResponse.struct_class = Types::DeleteGcmChannelResponse
277
+ DeleteGcmChannelResponse[:payload] = :gcm_channel_response
278
+ DeleteGcmChannelResponse[:payload_member] = DeleteGcmChannelResponse.member(:gcm_channel_response)
279
+
280
+ DeleteSegmentRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
281
+ DeleteSegmentRequest.add_member(:segment_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "segment-id"))
282
+ DeleteSegmentRequest.struct_class = Types::DeleteSegmentRequest
283
+
284
+ DeleteSegmentResponse.add_member(:segment_response, Shapes::ShapeRef.new(shape: SegmentResponse, required: true, location_name: "SegmentResponse"))
285
+ DeleteSegmentResponse.struct_class = Types::DeleteSegmentResponse
286
+ DeleteSegmentResponse[:payload] = :segment_response
287
+ DeleteSegmentResponse[:payload_member] = DeleteSegmentResponse.member(:segment_response)
288
+
289
+ EndpointBatchItem.add_member(:address, Shapes::ShapeRef.new(shape: __string, location_name: "Address"))
290
+ EndpointBatchItem.add_member(:attributes, Shapes::ShapeRef.new(shape: MapOfListOf__string, location_name: "Attributes"))
291
+ EndpointBatchItem.add_member(:channel_type, Shapes::ShapeRef.new(shape: ChannelType, location_name: "ChannelType"))
292
+ EndpointBatchItem.add_member(:demographic, Shapes::ShapeRef.new(shape: EndpointDemographic, location_name: "Demographic"))
293
+ EndpointBatchItem.add_member(:effective_date, Shapes::ShapeRef.new(shape: __string, location_name: "EffectiveDate"))
294
+ EndpointBatchItem.add_member(:endpoint_status, Shapes::ShapeRef.new(shape: __string, location_name: "EndpointStatus"))
295
+ EndpointBatchItem.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id"))
296
+ EndpointBatchItem.add_member(:location, Shapes::ShapeRef.new(shape: EndpointLocation, location_name: "Location"))
297
+ EndpointBatchItem.add_member(:metrics, Shapes::ShapeRef.new(shape: MapOf__double, location_name: "Metrics"))
298
+ EndpointBatchItem.add_member(:opt_out, Shapes::ShapeRef.new(shape: __string, location_name: "OptOut"))
299
+ EndpointBatchItem.add_member(:request_id, Shapes::ShapeRef.new(shape: __string, location_name: "RequestId"))
300
+ EndpointBatchItem.add_member(:user, Shapes::ShapeRef.new(shape: EndpointUser, location_name: "User"))
301
+ EndpointBatchItem.struct_class = Types::EndpointBatchItem
302
+
303
+ EndpointBatchRequest.add_member(:item, Shapes::ShapeRef.new(shape: ListOfEndpointBatchItem, location_name: "Item"))
304
+ EndpointBatchRequest.struct_class = Types::EndpointBatchRequest
305
+
306
+ EndpointDemographic.add_member(:app_version, Shapes::ShapeRef.new(shape: __string, location_name: "AppVersion"))
307
+ EndpointDemographic.add_member(:locale, Shapes::ShapeRef.new(shape: __string, location_name: "Locale"))
308
+ EndpointDemographic.add_member(:make, Shapes::ShapeRef.new(shape: __string, location_name: "Make"))
309
+ EndpointDemographic.add_member(:model, Shapes::ShapeRef.new(shape: __string, location_name: "Model"))
310
+ EndpointDemographic.add_member(:model_version, Shapes::ShapeRef.new(shape: __string, location_name: "ModelVersion"))
311
+ EndpointDemographic.add_member(:platform, Shapes::ShapeRef.new(shape: __string, location_name: "Platform"))
312
+ EndpointDemographic.add_member(:platform_version, Shapes::ShapeRef.new(shape: __string, location_name: "PlatformVersion"))
313
+ EndpointDemographic.add_member(:timezone, Shapes::ShapeRef.new(shape: __string, location_name: "Timezone"))
314
+ EndpointDemographic.struct_class = Types::EndpointDemographic
315
+
316
+ EndpointLocation.add_member(:city, Shapes::ShapeRef.new(shape: __string, location_name: "City"))
317
+ EndpointLocation.add_member(:country, Shapes::ShapeRef.new(shape: __string, location_name: "Country"))
318
+ EndpointLocation.add_member(:latitude, Shapes::ShapeRef.new(shape: __double, location_name: "Latitude"))
319
+ EndpointLocation.add_member(:longitude, Shapes::ShapeRef.new(shape: __double, location_name: "Longitude"))
320
+ EndpointLocation.add_member(:postal_code, Shapes::ShapeRef.new(shape: __string, location_name: "PostalCode"))
321
+ EndpointLocation.add_member(:region, Shapes::ShapeRef.new(shape: __string, location_name: "Region"))
322
+ EndpointLocation.struct_class = Types::EndpointLocation
323
+
324
+ EndpointRequest.add_member(:address, Shapes::ShapeRef.new(shape: __string, location_name: "Address"))
325
+ EndpointRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: MapOfListOf__string, location_name: "Attributes"))
326
+ EndpointRequest.add_member(:channel_type, Shapes::ShapeRef.new(shape: ChannelType, location_name: "ChannelType"))
327
+ EndpointRequest.add_member(:demographic, Shapes::ShapeRef.new(shape: EndpointDemographic, location_name: "Demographic"))
328
+ EndpointRequest.add_member(:effective_date, Shapes::ShapeRef.new(shape: __string, location_name: "EffectiveDate"))
329
+ EndpointRequest.add_member(:endpoint_status, Shapes::ShapeRef.new(shape: __string, location_name: "EndpointStatus"))
330
+ EndpointRequest.add_member(:location, Shapes::ShapeRef.new(shape: EndpointLocation, location_name: "Location"))
331
+ EndpointRequest.add_member(:metrics, Shapes::ShapeRef.new(shape: MapOf__double, location_name: "Metrics"))
332
+ EndpointRequest.add_member(:opt_out, Shapes::ShapeRef.new(shape: __string, location_name: "OptOut"))
333
+ EndpointRequest.add_member(:request_id, Shapes::ShapeRef.new(shape: __string, location_name: "RequestId"))
334
+ EndpointRequest.add_member(:user, Shapes::ShapeRef.new(shape: EndpointUser, location_name: "User"))
335
+ EndpointRequest.struct_class = Types::EndpointRequest
336
+
337
+ EndpointResponse.add_member(:address, Shapes::ShapeRef.new(shape: __string, location_name: "Address"))
338
+ EndpointResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId"))
339
+ EndpointResponse.add_member(:attributes, Shapes::ShapeRef.new(shape: MapOfListOf__string, location_name: "Attributes"))
340
+ EndpointResponse.add_member(:channel_type, Shapes::ShapeRef.new(shape: ChannelType, location_name: "ChannelType"))
341
+ EndpointResponse.add_member(:cohort_id, Shapes::ShapeRef.new(shape: __string, location_name: "CohortId"))
342
+ EndpointResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: __string, location_name: "CreationDate"))
343
+ EndpointResponse.add_member(:demographic, Shapes::ShapeRef.new(shape: EndpointDemographic, location_name: "Demographic"))
344
+ EndpointResponse.add_member(:effective_date, Shapes::ShapeRef.new(shape: __string, location_name: "EffectiveDate"))
345
+ EndpointResponse.add_member(:endpoint_status, Shapes::ShapeRef.new(shape: __string, location_name: "EndpointStatus"))
346
+ EndpointResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id"))
347
+ EndpointResponse.add_member(:location, Shapes::ShapeRef.new(shape: EndpointLocation, location_name: "Location"))
348
+ EndpointResponse.add_member(:metrics, Shapes::ShapeRef.new(shape: MapOf__double, location_name: "Metrics"))
349
+ EndpointResponse.add_member(:opt_out, Shapes::ShapeRef.new(shape: __string, location_name: "OptOut"))
350
+ EndpointResponse.add_member(:request_id, Shapes::ShapeRef.new(shape: __string, location_name: "RequestId"))
351
+ EndpointResponse.add_member(:shard_id, Shapes::ShapeRef.new(shape: __string, location_name: "ShardId"))
352
+ EndpointResponse.add_member(:user, Shapes::ShapeRef.new(shape: EndpointUser, location_name: "User"))
353
+ EndpointResponse.struct_class = Types::EndpointResponse
354
+
355
+ EndpointUser.add_member(:user_attributes, Shapes::ShapeRef.new(shape: MapOfListOf__string, location_name: "UserAttributes"))
356
+ EndpointUser.add_member(:user_id, Shapes::ShapeRef.new(shape: __string, location_name: "UserId"))
357
+ EndpointUser.struct_class = Types::EndpointUser
358
+
359
+ GCMChannelRequest.add_member(:api_key, Shapes::ShapeRef.new(shape: __string, location_name: "ApiKey"))
360
+ GCMChannelRequest.struct_class = Types::GCMChannelRequest
361
+
362
+ GCMChannelResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId"))
363
+ GCMChannelResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: __string, location_name: "CreationDate"))
364
+ GCMChannelResponse.add_member(:credential, Shapes::ShapeRef.new(shape: __string, location_name: "Credential"))
365
+ GCMChannelResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id"))
366
+ GCMChannelResponse.add_member(:is_archived, Shapes::ShapeRef.new(shape: __boolean, location_name: "IsArchived"))
367
+ GCMChannelResponse.add_member(:last_modified_by, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedBy"))
368
+ GCMChannelResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedDate"))
369
+ GCMChannelResponse.add_member(:platform, Shapes::ShapeRef.new(shape: __string, location_name: "Platform"))
370
+ GCMChannelResponse.add_member(:version, Shapes::ShapeRef.new(shape: __integer, location_name: "Version"))
371
+ GCMChannelResponse.struct_class = Types::GCMChannelResponse
372
+
373
+ GetApnsChannelRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
374
+ GetApnsChannelRequest.struct_class = Types::GetApnsChannelRequest
375
+
376
+ GetApnsChannelResponse.add_member(:apns_channel_response, Shapes::ShapeRef.new(shape: APNSChannelResponse, required: true, location_name: "APNSChannelResponse"))
377
+ GetApnsChannelResponse.struct_class = Types::GetApnsChannelResponse
378
+ GetApnsChannelResponse[:payload] = :apns_channel_response
379
+ GetApnsChannelResponse[:payload_member] = GetApnsChannelResponse.member(:apns_channel_response)
380
+
381
+ GetApplicationSettingsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
382
+ GetApplicationSettingsRequest.struct_class = Types::GetApplicationSettingsRequest
383
+
384
+ GetApplicationSettingsResponse.add_member(:application_settings_resource, Shapes::ShapeRef.new(shape: ApplicationSettingsResource, required: true, location_name: "ApplicationSettingsResource"))
385
+ GetApplicationSettingsResponse.struct_class = Types::GetApplicationSettingsResponse
386
+ GetApplicationSettingsResponse[:payload] = :application_settings_resource
387
+ GetApplicationSettingsResponse[:payload_member] = GetApplicationSettingsResponse.member(:application_settings_resource)
388
+
389
+ GetCampaignActivitiesRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
390
+ GetCampaignActivitiesRequest.add_member(:campaign_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "campaign-id"))
391
+ GetCampaignActivitiesRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "page-size"))
392
+ GetCampaignActivitiesRequest.add_member(:token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "token"))
393
+ GetCampaignActivitiesRequest.struct_class = Types::GetCampaignActivitiesRequest
394
+
395
+ GetCampaignActivitiesResponse.add_member(:activities_response, Shapes::ShapeRef.new(shape: ActivitiesResponse, required: true, location_name: "ActivitiesResponse"))
396
+ GetCampaignActivitiesResponse.struct_class = Types::GetCampaignActivitiesResponse
397
+ GetCampaignActivitiesResponse[:payload] = :activities_response
398
+ GetCampaignActivitiesResponse[:payload_member] = GetCampaignActivitiesResponse.member(:activities_response)
399
+
400
+ GetCampaignRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
401
+ GetCampaignRequest.add_member(:campaign_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "campaign-id"))
402
+ GetCampaignRequest.struct_class = Types::GetCampaignRequest
403
+
404
+ GetCampaignResponse.add_member(:campaign_response, Shapes::ShapeRef.new(shape: CampaignResponse, required: true, location_name: "CampaignResponse"))
405
+ GetCampaignResponse.struct_class = Types::GetCampaignResponse
406
+ GetCampaignResponse[:payload] = :campaign_response
407
+ GetCampaignResponse[:payload_member] = GetCampaignResponse.member(:campaign_response)
408
+
409
+ GetCampaignVersionRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
410
+ GetCampaignVersionRequest.add_member(:campaign_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "campaign-id"))
411
+ GetCampaignVersionRequest.add_member(:version, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "version"))
412
+ GetCampaignVersionRequest.struct_class = Types::GetCampaignVersionRequest
413
+
414
+ GetCampaignVersionResponse.add_member(:campaign_response, Shapes::ShapeRef.new(shape: CampaignResponse, required: true, location_name: "CampaignResponse"))
415
+ GetCampaignVersionResponse.struct_class = Types::GetCampaignVersionResponse
416
+ GetCampaignVersionResponse[:payload] = :campaign_response
417
+ GetCampaignVersionResponse[:payload_member] = GetCampaignVersionResponse.member(:campaign_response)
418
+
419
+ GetCampaignVersionsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
420
+ GetCampaignVersionsRequest.add_member(:campaign_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "campaign-id"))
421
+ GetCampaignVersionsRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "page-size"))
422
+ GetCampaignVersionsRequest.add_member(:token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "token"))
423
+ GetCampaignVersionsRequest.struct_class = Types::GetCampaignVersionsRequest
424
+
425
+ GetCampaignVersionsResponse.add_member(:campaigns_response, Shapes::ShapeRef.new(shape: CampaignsResponse, required: true, location_name: "CampaignsResponse"))
426
+ GetCampaignVersionsResponse.struct_class = Types::GetCampaignVersionsResponse
427
+ GetCampaignVersionsResponse[:payload] = :campaigns_response
428
+ GetCampaignVersionsResponse[:payload_member] = GetCampaignVersionsResponse.member(:campaigns_response)
429
+
430
+ GetCampaignsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
431
+ GetCampaignsRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "page-size"))
432
+ GetCampaignsRequest.add_member(:token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "token"))
433
+ GetCampaignsRequest.struct_class = Types::GetCampaignsRequest
434
+
435
+ GetCampaignsResponse.add_member(:campaigns_response, Shapes::ShapeRef.new(shape: CampaignsResponse, required: true, location_name: "CampaignsResponse"))
436
+ GetCampaignsResponse.struct_class = Types::GetCampaignsResponse
437
+ GetCampaignsResponse[:payload] = :campaigns_response
438
+ GetCampaignsResponse[:payload_member] = GetCampaignsResponse.member(:campaigns_response)
439
+
440
+ GetEndpointRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
441
+ GetEndpointRequest.add_member(:endpoint_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "endpoint-id"))
442
+ GetEndpointRequest.struct_class = Types::GetEndpointRequest
443
+
444
+ GetEndpointResponse.add_member(:endpoint_response, Shapes::ShapeRef.new(shape: EndpointResponse, required: true, location_name: "EndpointResponse"))
445
+ GetEndpointResponse.struct_class = Types::GetEndpointResponse
446
+ GetEndpointResponse[:payload] = :endpoint_response
447
+ GetEndpointResponse[:payload_member] = GetEndpointResponse.member(:endpoint_response)
448
+
449
+ GetGcmChannelRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
450
+ GetGcmChannelRequest.struct_class = Types::GetGcmChannelRequest
451
+
452
+ GetGcmChannelResponse.add_member(:gcm_channel_response, Shapes::ShapeRef.new(shape: GCMChannelResponse, required: true, location_name: "GCMChannelResponse"))
453
+ GetGcmChannelResponse.struct_class = Types::GetGcmChannelResponse
454
+ GetGcmChannelResponse[:payload] = :gcm_channel_response
455
+ GetGcmChannelResponse[:payload_member] = GetGcmChannelResponse.member(:gcm_channel_response)
456
+
457
+ GetImportJobRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
458
+ GetImportJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "job-id"))
459
+ GetImportJobRequest.struct_class = Types::GetImportJobRequest
460
+
461
+ GetImportJobResponse.add_member(:import_job_response, Shapes::ShapeRef.new(shape: ImportJobResponse, required: true, location_name: "ImportJobResponse"))
462
+ GetImportJobResponse.struct_class = Types::GetImportJobResponse
463
+ GetImportJobResponse[:payload] = :import_job_response
464
+ GetImportJobResponse[:payload_member] = GetImportJobResponse.member(:import_job_response)
465
+
466
+ GetImportJobsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
467
+ GetImportJobsRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "page-size"))
468
+ GetImportJobsRequest.add_member(:token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "token"))
469
+ GetImportJobsRequest.struct_class = Types::GetImportJobsRequest
470
+
471
+ GetImportJobsResponse.add_member(:import_jobs_response, Shapes::ShapeRef.new(shape: ImportJobsResponse, required: true, location_name: "ImportJobsResponse"))
472
+ GetImportJobsResponse.struct_class = Types::GetImportJobsResponse
473
+ GetImportJobsResponse[:payload] = :import_jobs_response
474
+ GetImportJobsResponse[:payload_member] = GetImportJobsResponse.member(:import_jobs_response)
475
+
476
+ GetSegmentImportJobsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
477
+ GetSegmentImportJobsRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "page-size"))
478
+ GetSegmentImportJobsRequest.add_member(:segment_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "segment-id"))
479
+ GetSegmentImportJobsRequest.add_member(:token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "token"))
480
+ GetSegmentImportJobsRequest.struct_class = Types::GetSegmentImportJobsRequest
481
+
482
+ GetSegmentImportJobsResponse.add_member(:import_jobs_response, Shapes::ShapeRef.new(shape: ImportJobsResponse, required: true, location_name: "ImportJobsResponse"))
483
+ GetSegmentImportJobsResponse.struct_class = Types::GetSegmentImportJobsResponse
484
+ GetSegmentImportJobsResponse[:payload] = :import_jobs_response
485
+ GetSegmentImportJobsResponse[:payload_member] = GetSegmentImportJobsResponse.member(:import_jobs_response)
486
+
487
+ GetSegmentRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
488
+ GetSegmentRequest.add_member(:segment_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "segment-id"))
489
+ GetSegmentRequest.struct_class = Types::GetSegmentRequest
490
+
491
+ GetSegmentResponse.add_member(:segment_response, Shapes::ShapeRef.new(shape: SegmentResponse, required: true, location_name: "SegmentResponse"))
492
+ GetSegmentResponse.struct_class = Types::GetSegmentResponse
493
+ GetSegmentResponse[:payload] = :segment_response
494
+ GetSegmentResponse[:payload_member] = GetSegmentResponse.member(:segment_response)
495
+
496
+ GetSegmentVersionRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
497
+ GetSegmentVersionRequest.add_member(:segment_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "segment-id"))
498
+ GetSegmentVersionRequest.add_member(:version, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "version"))
499
+ GetSegmentVersionRequest.struct_class = Types::GetSegmentVersionRequest
500
+
501
+ GetSegmentVersionResponse.add_member(:segment_response, Shapes::ShapeRef.new(shape: SegmentResponse, required: true, location_name: "SegmentResponse"))
502
+ GetSegmentVersionResponse.struct_class = Types::GetSegmentVersionResponse
503
+ GetSegmentVersionResponse[:payload] = :segment_response
504
+ GetSegmentVersionResponse[:payload_member] = GetSegmentVersionResponse.member(:segment_response)
505
+
506
+ GetSegmentVersionsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
507
+ GetSegmentVersionsRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "page-size"))
508
+ GetSegmentVersionsRequest.add_member(:segment_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "segment-id"))
509
+ GetSegmentVersionsRequest.add_member(:token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "token"))
510
+ GetSegmentVersionsRequest.struct_class = Types::GetSegmentVersionsRequest
511
+
512
+ GetSegmentVersionsResponse.add_member(:segments_response, Shapes::ShapeRef.new(shape: SegmentsResponse, required: true, location_name: "SegmentsResponse"))
513
+ GetSegmentVersionsResponse.struct_class = Types::GetSegmentVersionsResponse
514
+ GetSegmentVersionsResponse[:payload] = :segments_response
515
+ GetSegmentVersionsResponse[:payload_member] = GetSegmentVersionsResponse.member(:segments_response)
516
+
517
+ GetSegmentsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
518
+ GetSegmentsRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "page-size"))
519
+ GetSegmentsRequest.add_member(:token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "token"))
520
+ GetSegmentsRequest.struct_class = Types::GetSegmentsRequest
521
+
522
+ GetSegmentsResponse.add_member(:segments_response, Shapes::ShapeRef.new(shape: SegmentsResponse, required: true, location_name: "SegmentsResponse"))
523
+ GetSegmentsResponse.struct_class = Types::GetSegmentsResponse
524
+ GetSegmentsResponse[:payload] = :segments_response
525
+ GetSegmentsResponse[:payload_member] = GetSegmentsResponse.member(:segments_response)
526
+
527
+ ImportJobRequest.add_member(:define_segment, Shapes::ShapeRef.new(shape: __boolean, location_name: "DefineSegment"))
528
+ ImportJobRequest.add_member(:external_id, Shapes::ShapeRef.new(shape: __string, location_name: "ExternalId"))
529
+ ImportJobRequest.add_member(:format, Shapes::ShapeRef.new(shape: Format, location_name: "Format"))
530
+ ImportJobRequest.add_member(:register_endpoints, Shapes::ShapeRef.new(shape: __boolean, location_name: "RegisterEndpoints"))
531
+ ImportJobRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "RoleArn"))
532
+ ImportJobRequest.add_member(:s3_url, Shapes::ShapeRef.new(shape: __string, location_name: "S3Url"))
533
+ ImportJobRequest.add_member(:segment_id, Shapes::ShapeRef.new(shape: __string, location_name: "SegmentId"))
534
+ ImportJobRequest.add_member(:segment_name, Shapes::ShapeRef.new(shape: __string, location_name: "SegmentName"))
535
+ ImportJobRequest.struct_class = Types::ImportJobRequest
536
+
537
+ ImportJobResource.add_member(:define_segment, Shapes::ShapeRef.new(shape: __boolean, location_name: "DefineSegment"))
538
+ ImportJobResource.add_member(:external_id, Shapes::ShapeRef.new(shape: __string, location_name: "ExternalId"))
539
+ ImportJobResource.add_member(:format, Shapes::ShapeRef.new(shape: Format, location_name: "Format"))
540
+ ImportJobResource.add_member(:register_endpoints, Shapes::ShapeRef.new(shape: __boolean, location_name: "RegisterEndpoints"))
541
+ ImportJobResource.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "RoleArn"))
542
+ ImportJobResource.add_member(:s3_url, Shapes::ShapeRef.new(shape: __string, location_name: "S3Url"))
543
+ ImportJobResource.add_member(:segment_id, Shapes::ShapeRef.new(shape: __string, location_name: "SegmentId"))
544
+ ImportJobResource.add_member(:segment_name, Shapes::ShapeRef.new(shape: __string, location_name: "SegmentName"))
545
+ ImportJobResource.struct_class = Types::ImportJobResource
546
+
547
+ ImportJobResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId"))
548
+ ImportJobResponse.add_member(:completed_pieces, Shapes::ShapeRef.new(shape: __integer, location_name: "CompletedPieces"))
549
+ ImportJobResponse.add_member(:completion_date, Shapes::ShapeRef.new(shape: __string, location_name: "CompletionDate"))
550
+ ImportJobResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: __string, location_name: "CreationDate"))
551
+ ImportJobResponse.add_member(:definition, Shapes::ShapeRef.new(shape: ImportJobResource, location_name: "Definition"))
552
+ ImportJobResponse.add_member(:failed_pieces, Shapes::ShapeRef.new(shape: __integer, location_name: "FailedPieces"))
553
+ ImportJobResponse.add_member(:failures, Shapes::ShapeRef.new(shape: ListOf__string, location_name: "Failures"))
554
+ ImportJobResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id"))
555
+ ImportJobResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
556
+ ImportJobResponse.add_member(:total_failures, Shapes::ShapeRef.new(shape: __integer, location_name: "TotalFailures"))
557
+ ImportJobResponse.add_member(:total_pieces, Shapes::ShapeRef.new(shape: __integer, location_name: "TotalPieces"))
558
+ ImportJobResponse.add_member(:total_processed, Shapes::ShapeRef.new(shape: __integer, location_name: "TotalProcessed"))
559
+ ImportJobResponse.add_member(:type, Shapes::ShapeRef.new(shape: __string, location_name: "Type"))
560
+ ImportJobResponse.struct_class = Types::ImportJobResponse
561
+
562
+ ImportJobsResponse.add_member(:item, Shapes::ShapeRef.new(shape: ListOfImportJobResponse, location_name: "Item"))
563
+ ImportJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "NextToken"))
564
+ ImportJobsResponse.struct_class = Types::ImportJobsResponse
565
+
566
+ ListOfActivityResponse.member = Shapes::ShapeRef.new(shape: ActivityResponse)
567
+
568
+ ListOfCampaignResponse.member = Shapes::ShapeRef.new(shape: CampaignResponse)
569
+
570
+ ListOfEndpointBatchItem.member = Shapes::ShapeRef.new(shape: EndpointBatchItem)
571
+
572
+ ListOfImportJobResponse.member = Shapes::ShapeRef.new(shape: ImportJobResponse)
573
+
574
+ ListOfSegmentResponse.member = Shapes::ShapeRef.new(shape: SegmentResponse)
575
+
576
+ ListOfTreatmentResource.member = Shapes::ShapeRef.new(shape: TreatmentResource)
577
+
578
+ ListOfWriteTreatmentResource.member = Shapes::ShapeRef.new(shape: WriteTreatmentResource)
579
+
580
+ ListOf__string.member = Shapes::ShapeRef.new(shape: __string)
581
+
582
+ MapOfAttributeDimension.key = Shapes::ShapeRef.new(shape: __string)
583
+ MapOfAttributeDimension.value = Shapes::ShapeRef.new(shape: AttributeDimension)
584
+
585
+ MapOfListOf__string.key = Shapes::ShapeRef.new(shape: __string)
586
+ MapOfListOf__string.value = Shapes::ShapeRef.new(shape: ListOf__string)
587
+
588
+ MapOf__double.key = Shapes::ShapeRef.new(shape: __string)
589
+ MapOf__double.value = Shapes::ShapeRef.new(shape: __double)
590
+
591
+ Message.add_member(:action, Shapes::ShapeRef.new(shape: Action, location_name: "Action"))
592
+ Message.add_member(:body, Shapes::ShapeRef.new(shape: __string, location_name: "Body"))
593
+ Message.add_member(:image_icon_url, Shapes::ShapeRef.new(shape: __string, location_name: "ImageIconUrl"))
594
+ Message.add_member(:image_url, Shapes::ShapeRef.new(shape: __string, location_name: "ImageUrl"))
595
+ Message.add_member(:json_body, Shapes::ShapeRef.new(shape: __string, location_name: "JsonBody"))
596
+ Message.add_member(:media_url, Shapes::ShapeRef.new(shape: __string, location_name: "MediaUrl"))
597
+ Message.add_member(:silent_push, Shapes::ShapeRef.new(shape: __boolean, location_name: "SilentPush"))
598
+ Message.add_member(:title, Shapes::ShapeRef.new(shape: __string, location_name: "Title"))
599
+ Message.add_member(:url, Shapes::ShapeRef.new(shape: __string, location_name: "Url"))
600
+ Message.struct_class = Types::Message
601
+
602
+ MessageBody.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "Message"))
603
+ MessageBody.add_member(:request_id, Shapes::ShapeRef.new(shape: __string, location_name: "RequestID"))
604
+ MessageBody.struct_class = Types::MessageBody
605
+
606
+ MessageConfiguration.add_member(:apns_message, Shapes::ShapeRef.new(shape: Message, location_name: "APNSMessage"))
607
+ MessageConfiguration.add_member(:default_message, Shapes::ShapeRef.new(shape: Message, location_name: "DefaultMessage"))
608
+ MessageConfiguration.add_member(:gcm_message, Shapes::ShapeRef.new(shape: Message, location_name: "GCMMessage"))
609
+ MessageConfiguration.struct_class = Types::MessageConfiguration
610
+
611
+ QuietTime.add_member(:end, Shapes::ShapeRef.new(shape: __string, location_name: "End"))
612
+ QuietTime.add_member(:start, Shapes::ShapeRef.new(shape: __string, location_name: "Start"))
613
+ QuietTime.struct_class = Types::QuietTime
614
+
615
+ RecencyDimension.add_member(:duration, Shapes::ShapeRef.new(shape: Duration, location_name: "Duration"))
616
+ RecencyDimension.add_member(:recency_type, Shapes::ShapeRef.new(shape: RecencyType, location_name: "RecencyType"))
617
+ RecencyDimension.struct_class = Types::RecencyDimension
618
+
619
+ Schedule.add_member(:end_time, Shapes::ShapeRef.new(shape: __string, location_name: "EndTime"))
620
+ Schedule.add_member(:frequency, Shapes::ShapeRef.new(shape: Frequency, location_name: "Frequency"))
621
+ Schedule.add_member(:is_local_time, Shapes::ShapeRef.new(shape: __boolean, location_name: "IsLocalTime"))
622
+ Schedule.add_member(:quiet_time, Shapes::ShapeRef.new(shape: QuietTime, location_name: "QuietTime"))
623
+ Schedule.add_member(:start_time, Shapes::ShapeRef.new(shape: __string, location_name: "StartTime"))
624
+ Schedule.add_member(:timezone, Shapes::ShapeRef.new(shape: __string, location_name: "Timezone"))
625
+ Schedule.struct_class = Types::Schedule
626
+
627
+ SegmentBehaviors.add_member(:recency, Shapes::ShapeRef.new(shape: RecencyDimension, location_name: "Recency"))
628
+ SegmentBehaviors.struct_class = Types::SegmentBehaviors
629
+
630
+ SegmentDemographics.add_member(:app_version, Shapes::ShapeRef.new(shape: SetDimension, location_name: "AppVersion"))
631
+ SegmentDemographics.add_member(:device_type, Shapes::ShapeRef.new(shape: SetDimension, location_name: "DeviceType"))
632
+ SegmentDemographics.add_member(:make, Shapes::ShapeRef.new(shape: SetDimension, location_name: "Make"))
633
+ SegmentDemographics.add_member(:model, Shapes::ShapeRef.new(shape: SetDimension, location_name: "Model"))
634
+ SegmentDemographics.add_member(:platform, Shapes::ShapeRef.new(shape: SetDimension, location_name: "Platform"))
635
+ SegmentDemographics.struct_class = Types::SegmentDemographics
636
+
637
+ SegmentDimensions.add_member(:attributes, Shapes::ShapeRef.new(shape: MapOfAttributeDimension, location_name: "Attributes"))
638
+ SegmentDimensions.add_member(:behavior, Shapes::ShapeRef.new(shape: SegmentBehaviors, location_name: "Behavior"))
639
+ SegmentDimensions.add_member(:demographic, Shapes::ShapeRef.new(shape: SegmentDemographics, location_name: "Demographic"))
640
+ SegmentDimensions.add_member(:location, Shapes::ShapeRef.new(shape: SegmentLocation, location_name: "Location"))
641
+ SegmentDimensions.struct_class = Types::SegmentDimensions
642
+
643
+ SegmentImportResource.add_member(:external_id, Shapes::ShapeRef.new(shape: __string, location_name: "ExternalId"))
644
+ SegmentImportResource.add_member(:format, Shapes::ShapeRef.new(shape: Format, location_name: "Format"))
645
+ SegmentImportResource.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "RoleArn"))
646
+ SegmentImportResource.add_member(:s3_url, Shapes::ShapeRef.new(shape: __string, location_name: "S3Url"))
647
+ SegmentImportResource.add_member(:size, Shapes::ShapeRef.new(shape: __integer, location_name: "Size"))
648
+ SegmentImportResource.struct_class = Types::SegmentImportResource
649
+
650
+ SegmentLocation.add_member(:country, Shapes::ShapeRef.new(shape: SetDimension, location_name: "Country"))
651
+ SegmentLocation.struct_class = Types::SegmentLocation
652
+
653
+ SegmentResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId"))
654
+ SegmentResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: __string, location_name: "CreationDate"))
655
+ SegmentResponse.add_member(:dimensions, Shapes::ShapeRef.new(shape: SegmentDimensions, location_name: "Dimensions"))
656
+ SegmentResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id"))
657
+ SegmentResponse.add_member(:import_definition, Shapes::ShapeRef.new(shape: SegmentImportResource, location_name: "ImportDefinition"))
658
+ SegmentResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedDate"))
659
+ SegmentResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "Name"))
660
+ SegmentResponse.add_member(:segment_type, Shapes::ShapeRef.new(shape: SegmentType, location_name: "SegmentType"))
661
+ SegmentResponse.add_member(:version, Shapes::ShapeRef.new(shape: __integer, location_name: "Version"))
662
+ SegmentResponse.struct_class = Types::SegmentResponse
663
+
664
+ SegmentsResponse.add_member(:item, Shapes::ShapeRef.new(shape: ListOfSegmentResponse, location_name: "Item"))
665
+ SegmentsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "NextToken"))
666
+ SegmentsResponse.struct_class = Types::SegmentsResponse
667
+
668
+ SetDimension.add_member(:dimension_type, Shapes::ShapeRef.new(shape: DimensionType, location_name: "DimensionType"))
669
+ SetDimension.add_member(:values, Shapes::ShapeRef.new(shape: ListOf__string, location_name: "Values"))
670
+ SetDimension.struct_class = Types::SetDimension
671
+
672
+ TreatmentResource.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id"))
673
+ TreatmentResource.add_member(:message_configuration, Shapes::ShapeRef.new(shape: MessageConfiguration, location_name: "MessageConfiguration"))
674
+ TreatmentResource.add_member(:schedule, Shapes::ShapeRef.new(shape: Schedule, location_name: "Schedule"))
675
+ TreatmentResource.add_member(:size_percent, Shapes::ShapeRef.new(shape: __integer, location_name: "SizePercent"))
676
+ TreatmentResource.add_member(:state, Shapes::ShapeRef.new(shape: CampaignState, location_name: "State"))
677
+ TreatmentResource.add_member(:treatment_description, Shapes::ShapeRef.new(shape: __string, location_name: "TreatmentDescription"))
678
+ TreatmentResource.add_member(:treatment_name, Shapes::ShapeRef.new(shape: __string, location_name: "TreatmentName"))
679
+ TreatmentResource.struct_class = Types::TreatmentResource
680
+
681
+ UpdateApnsChannelRequest.add_member(:apns_channel_request, Shapes::ShapeRef.new(shape: APNSChannelRequest, required: true, location_name: "APNSChannelRequest"))
682
+ UpdateApnsChannelRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
683
+ UpdateApnsChannelRequest.struct_class = Types::UpdateApnsChannelRequest
684
+ UpdateApnsChannelRequest[:payload] = :apns_channel_request
685
+ UpdateApnsChannelRequest[:payload_member] = UpdateApnsChannelRequest.member(:apns_channel_request)
686
+
687
+ UpdateApnsChannelResponse.add_member(:apns_channel_response, Shapes::ShapeRef.new(shape: APNSChannelResponse, required: true, location_name: "APNSChannelResponse"))
688
+ UpdateApnsChannelResponse.struct_class = Types::UpdateApnsChannelResponse
689
+ UpdateApnsChannelResponse[:payload] = :apns_channel_response
690
+ UpdateApnsChannelResponse[:payload_member] = UpdateApnsChannelResponse.member(:apns_channel_response)
691
+
692
+ UpdateApplicationSettingsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
693
+ UpdateApplicationSettingsRequest.add_member(:write_application_settings_request, Shapes::ShapeRef.new(shape: WriteApplicationSettingsRequest, required: true, location_name: "WriteApplicationSettingsRequest"))
694
+ UpdateApplicationSettingsRequest.struct_class = Types::UpdateApplicationSettingsRequest
695
+ UpdateApplicationSettingsRequest[:payload] = :write_application_settings_request
696
+ UpdateApplicationSettingsRequest[:payload_member] = UpdateApplicationSettingsRequest.member(:write_application_settings_request)
697
+
698
+ UpdateApplicationSettingsResponse.add_member(:application_settings_resource, Shapes::ShapeRef.new(shape: ApplicationSettingsResource, required: true, location_name: "ApplicationSettingsResource"))
699
+ UpdateApplicationSettingsResponse.struct_class = Types::UpdateApplicationSettingsResponse
700
+ UpdateApplicationSettingsResponse[:payload] = :application_settings_resource
701
+ UpdateApplicationSettingsResponse[:payload_member] = UpdateApplicationSettingsResponse.member(:application_settings_resource)
702
+
703
+ UpdateCampaignRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
704
+ UpdateCampaignRequest.add_member(:campaign_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "campaign-id"))
705
+ UpdateCampaignRequest.add_member(:write_campaign_request, Shapes::ShapeRef.new(shape: WriteCampaignRequest, required: true, location_name: "WriteCampaignRequest"))
706
+ UpdateCampaignRequest.struct_class = Types::UpdateCampaignRequest
707
+ UpdateCampaignRequest[:payload] = :write_campaign_request
708
+ UpdateCampaignRequest[:payload_member] = UpdateCampaignRequest.member(:write_campaign_request)
709
+
710
+ UpdateCampaignResponse.add_member(:campaign_response, Shapes::ShapeRef.new(shape: CampaignResponse, required: true, location_name: "CampaignResponse"))
711
+ UpdateCampaignResponse.struct_class = Types::UpdateCampaignResponse
712
+ UpdateCampaignResponse[:payload] = :campaign_response
713
+ UpdateCampaignResponse[:payload_member] = UpdateCampaignResponse.member(:campaign_response)
714
+
715
+ UpdateEndpointRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
716
+ UpdateEndpointRequest.add_member(:endpoint_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "endpoint-id"))
717
+ UpdateEndpointRequest.add_member(:endpoint_request, Shapes::ShapeRef.new(shape: EndpointRequest, required: true, location_name: "EndpointRequest"))
718
+ UpdateEndpointRequest.struct_class = Types::UpdateEndpointRequest
719
+ UpdateEndpointRequest[:payload] = :endpoint_request
720
+ UpdateEndpointRequest[:payload_member] = UpdateEndpointRequest.member(:endpoint_request)
721
+
722
+ UpdateEndpointResponse.add_member(:message_body, Shapes::ShapeRef.new(shape: MessageBody, required: true, location_name: "MessageBody"))
723
+ UpdateEndpointResponse.struct_class = Types::UpdateEndpointResponse
724
+ UpdateEndpointResponse[:payload] = :message_body
725
+ UpdateEndpointResponse[:payload_member] = UpdateEndpointResponse.member(:message_body)
726
+
727
+ UpdateEndpointsBatchRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
728
+ UpdateEndpointsBatchRequest.add_member(:endpoint_batch_request, Shapes::ShapeRef.new(shape: EndpointBatchRequest, required: true, location_name: "EndpointBatchRequest"))
729
+ UpdateEndpointsBatchRequest.struct_class = Types::UpdateEndpointsBatchRequest
730
+ UpdateEndpointsBatchRequest[:payload] = :endpoint_batch_request
731
+ UpdateEndpointsBatchRequest[:payload_member] = UpdateEndpointsBatchRequest.member(:endpoint_batch_request)
732
+
733
+ UpdateEndpointsBatchResponse.add_member(:message_body, Shapes::ShapeRef.new(shape: MessageBody, required: true, location_name: "MessageBody"))
734
+ UpdateEndpointsBatchResponse.struct_class = Types::UpdateEndpointsBatchResponse
735
+ UpdateEndpointsBatchResponse[:payload] = :message_body
736
+ UpdateEndpointsBatchResponse[:payload_member] = UpdateEndpointsBatchResponse.member(:message_body)
737
+
738
+ UpdateGcmChannelRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
739
+ UpdateGcmChannelRequest.add_member(:gcm_channel_request, Shapes::ShapeRef.new(shape: GCMChannelRequest, required: true, location_name: "GCMChannelRequest"))
740
+ UpdateGcmChannelRequest.struct_class = Types::UpdateGcmChannelRequest
741
+ UpdateGcmChannelRequest[:payload] = :gcm_channel_request
742
+ UpdateGcmChannelRequest[:payload_member] = UpdateGcmChannelRequest.member(:gcm_channel_request)
743
+
744
+ UpdateGcmChannelResponse.add_member(:gcm_channel_response, Shapes::ShapeRef.new(shape: GCMChannelResponse, required: true, location_name: "GCMChannelResponse"))
745
+ UpdateGcmChannelResponse.struct_class = Types::UpdateGcmChannelResponse
746
+ UpdateGcmChannelResponse[:payload] = :gcm_channel_response
747
+ UpdateGcmChannelResponse[:payload_member] = UpdateGcmChannelResponse.member(:gcm_channel_response)
748
+
749
+ UpdateSegmentRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
750
+ UpdateSegmentRequest.add_member(:segment_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "segment-id"))
751
+ UpdateSegmentRequest.add_member(:write_segment_request, Shapes::ShapeRef.new(shape: WriteSegmentRequest, required: true, location_name: "WriteSegmentRequest"))
752
+ UpdateSegmentRequest.struct_class = Types::UpdateSegmentRequest
753
+ UpdateSegmentRequest[:payload] = :write_segment_request
754
+ UpdateSegmentRequest[:payload_member] = UpdateSegmentRequest.member(:write_segment_request)
755
+
756
+ UpdateSegmentResponse.add_member(:segment_response, Shapes::ShapeRef.new(shape: SegmentResponse, required: true, location_name: "SegmentResponse"))
757
+ UpdateSegmentResponse.struct_class = Types::UpdateSegmentResponse
758
+ UpdateSegmentResponse[:payload] = :segment_response
759
+ UpdateSegmentResponse[:payload_member] = UpdateSegmentResponse.member(:segment_response)
760
+
761
+ WriteApplicationSettingsRequest.add_member(:limits, Shapes::ShapeRef.new(shape: CampaignLimits, location_name: "Limits"))
762
+ WriteApplicationSettingsRequest.add_member(:quiet_time, Shapes::ShapeRef.new(shape: QuietTime, location_name: "QuietTime"))
763
+ WriteApplicationSettingsRequest.struct_class = Types::WriteApplicationSettingsRequest
764
+
765
+ WriteCampaignRequest.add_member(:additional_treatments, Shapes::ShapeRef.new(shape: ListOfWriteTreatmentResource, location_name: "AdditionalTreatments"))
766
+ WriteCampaignRequest.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "Description"))
767
+ WriteCampaignRequest.add_member(:holdout_percent, Shapes::ShapeRef.new(shape: __integer, location_name: "HoldoutPercent"))
768
+ WriteCampaignRequest.add_member(:is_paused, Shapes::ShapeRef.new(shape: __boolean, location_name: "IsPaused"))
769
+ WriteCampaignRequest.add_member(:limits, Shapes::ShapeRef.new(shape: CampaignLimits, location_name: "Limits"))
770
+ WriteCampaignRequest.add_member(:message_configuration, Shapes::ShapeRef.new(shape: MessageConfiguration, location_name: "MessageConfiguration"))
771
+ WriteCampaignRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "Name"))
772
+ WriteCampaignRequest.add_member(:schedule, Shapes::ShapeRef.new(shape: Schedule, location_name: "Schedule"))
773
+ WriteCampaignRequest.add_member(:segment_id, Shapes::ShapeRef.new(shape: __string, location_name: "SegmentId"))
774
+ WriteCampaignRequest.add_member(:segment_version, Shapes::ShapeRef.new(shape: __integer, location_name: "SegmentVersion"))
775
+ WriteCampaignRequest.add_member(:treatment_description, Shapes::ShapeRef.new(shape: __string, location_name: "TreatmentDescription"))
776
+ WriteCampaignRequest.add_member(:treatment_name, Shapes::ShapeRef.new(shape: __string, location_name: "TreatmentName"))
777
+ WriteCampaignRequest.struct_class = Types::WriteCampaignRequest
778
+
779
+ WriteSegmentRequest.add_member(:dimensions, Shapes::ShapeRef.new(shape: SegmentDimensions, location_name: "Dimensions"))
780
+ WriteSegmentRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "Name"))
781
+ WriteSegmentRequest.struct_class = Types::WriteSegmentRequest
782
+
783
+ WriteTreatmentResource.add_member(:message_configuration, Shapes::ShapeRef.new(shape: MessageConfiguration, location_name: "MessageConfiguration"))
784
+ WriteTreatmentResource.add_member(:schedule, Shapes::ShapeRef.new(shape: Schedule, location_name: "Schedule"))
785
+ WriteTreatmentResource.add_member(:size_percent, Shapes::ShapeRef.new(shape: __integer, location_name: "SizePercent"))
786
+ WriteTreatmentResource.add_member(:treatment_description, Shapes::ShapeRef.new(shape: __string, location_name: "TreatmentDescription"))
787
+ WriteTreatmentResource.add_member(:treatment_name, Shapes::ShapeRef.new(shape: __string, location_name: "TreatmentName"))
788
+ WriteTreatmentResource.struct_class = Types::WriteTreatmentResource
789
+
790
+
791
+ # @api private
792
+ API = Seahorse::Model::Api.new.tap do |api|
793
+
794
+ api.version = "2016-12-01"
795
+
796
+ api.metadata = {
797
+ "endpointPrefix" => "pinpoint",
798
+ "jsonVersion" => "1.1",
799
+ "protocol" => "rest-json",
800
+ "serviceFullName" => "Amazon Pinpoint",
801
+ "signatureVersion" => "v4",
802
+ "signingName" => "mobiletargeting",
803
+ }
804
+
805
+ api.add_operation(:create_campaign, Seahorse::Model::Operation.new.tap do |o|
806
+ o.name = "CreateCampaign"
807
+ o.http_method = "POST"
808
+ o.http_request_uri = "/v1/apps/{application-id}/campaigns"
809
+ o.input = Shapes::ShapeRef.new(shape: CreateCampaignRequest)
810
+ o.output = Shapes::ShapeRef.new(shape: CreateCampaignResponse)
811
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
812
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
813
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
814
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
815
+ o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
816
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
817
+ end)
818
+
819
+ api.add_operation(:create_import_job, Seahorse::Model::Operation.new.tap do |o|
820
+ o.name = "CreateImportJob"
821
+ o.http_method = "POST"
822
+ o.http_request_uri = "/v1/apps/{application-id}/jobs/import"
823
+ o.input = Shapes::ShapeRef.new(shape: CreateImportJobRequest)
824
+ o.output = Shapes::ShapeRef.new(shape: CreateImportJobResponse)
825
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
826
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
827
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
828
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
829
+ o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
830
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
831
+ end)
832
+
833
+ api.add_operation(:create_segment, Seahorse::Model::Operation.new.tap do |o|
834
+ o.name = "CreateSegment"
835
+ o.http_method = "POST"
836
+ o.http_request_uri = "/v1/apps/{application-id}/segments"
837
+ o.input = Shapes::ShapeRef.new(shape: CreateSegmentRequest)
838
+ o.output = Shapes::ShapeRef.new(shape: CreateSegmentResponse)
839
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
840
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
841
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
842
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
843
+ o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
844
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
845
+ end)
846
+
847
+ api.add_operation(:delete_apns_channel, Seahorse::Model::Operation.new.tap do |o|
848
+ o.name = "DeleteApnsChannel"
849
+ o.http_method = "DELETE"
850
+ o.http_request_uri = "/v1/apps/{application-id}/channels/apns"
851
+ o.input = Shapes::ShapeRef.new(shape: DeleteApnsChannelRequest)
852
+ o.output = Shapes::ShapeRef.new(shape: DeleteApnsChannelResponse)
853
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
854
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
855
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
856
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
857
+ o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
858
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
859
+ end)
860
+
861
+ api.add_operation(:delete_campaign, Seahorse::Model::Operation.new.tap do |o|
862
+ o.name = "DeleteCampaign"
863
+ o.http_method = "DELETE"
864
+ o.http_request_uri = "/v1/apps/{application-id}/campaigns/{campaign-id}"
865
+ o.input = Shapes::ShapeRef.new(shape: DeleteCampaignRequest)
866
+ o.output = Shapes::ShapeRef.new(shape: DeleteCampaignResponse)
867
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
868
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
869
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
870
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
871
+ o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
872
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
873
+ end)
874
+
875
+ api.add_operation(:delete_gcm_channel, Seahorse::Model::Operation.new.tap do |o|
876
+ o.name = "DeleteGcmChannel"
877
+ o.http_method = "DELETE"
878
+ o.http_request_uri = "/v1/apps/{application-id}/channels/gcm"
879
+ o.input = Shapes::ShapeRef.new(shape: DeleteGcmChannelRequest)
880
+ o.output = Shapes::ShapeRef.new(shape: DeleteGcmChannelResponse)
881
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
882
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
883
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
884
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
885
+ o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
886
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
887
+ end)
888
+
889
+ api.add_operation(:delete_segment, Seahorse::Model::Operation.new.tap do |o|
890
+ o.name = "DeleteSegment"
891
+ o.http_method = "DELETE"
892
+ o.http_request_uri = "/v1/apps/{application-id}/segments/{segment-id}"
893
+ o.input = Shapes::ShapeRef.new(shape: DeleteSegmentRequest)
894
+ o.output = Shapes::ShapeRef.new(shape: DeleteSegmentResponse)
895
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
896
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
897
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
898
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
899
+ o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
900
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
901
+ end)
902
+
903
+ api.add_operation(:get_apns_channel, Seahorse::Model::Operation.new.tap do |o|
904
+ o.name = "GetApnsChannel"
905
+ o.http_method = "GET"
906
+ o.http_request_uri = "/v1/apps/{application-id}/channels/apns"
907
+ o.input = Shapes::ShapeRef.new(shape: GetApnsChannelRequest)
908
+ o.output = Shapes::ShapeRef.new(shape: GetApnsChannelResponse)
909
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
910
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
911
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
912
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
913
+ o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
914
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
915
+ end)
916
+
917
+ api.add_operation(:get_application_settings, Seahorse::Model::Operation.new.tap do |o|
918
+ o.name = "GetApplicationSettings"
919
+ o.http_method = "GET"
920
+ o.http_request_uri = "/v1/apps/{application-id}/settings"
921
+ o.input = Shapes::ShapeRef.new(shape: GetApplicationSettingsRequest)
922
+ o.output = Shapes::ShapeRef.new(shape: GetApplicationSettingsResponse)
923
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
924
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
925
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
926
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
927
+ o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
928
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
929
+ end)
930
+
931
+ api.add_operation(:get_campaign, Seahorse::Model::Operation.new.tap do |o|
932
+ o.name = "GetCampaign"
933
+ o.http_method = "GET"
934
+ o.http_request_uri = "/v1/apps/{application-id}/campaigns/{campaign-id}"
935
+ o.input = Shapes::ShapeRef.new(shape: GetCampaignRequest)
936
+ o.output = Shapes::ShapeRef.new(shape: GetCampaignResponse)
937
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
938
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
939
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
940
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
941
+ o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
942
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
943
+ end)
944
+
945
+ api.add_operation(:get_campaign_activities, Seahorse::Model::Operation.new.tap do |o|
946
+ o.name = "GetCampaignActivities"
947
+ o.http_method = "GET"
948
+ o.http_request_uri = "/v1/apps/{application-id}/campaigns/{campaign-id}/activities"
949
+ o.input = Shapes::ShapeRef.new(shape: GetCampaignActivitiesRequest)
950
+ o.output = Shapes::ShapeRef.new(shape: GetCampaignActivitiesResponse)
951
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
952
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
953
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
954
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
955
+ o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
956
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
957
+ end)
958
+
959
+ api.add_operation(:get_campaign_version, Seahorse::Model::Operation.new.tap do |o|
960
+ o.name = "GetCampaignVersion"
961
+ o.http_method = "GET"
962
+ o.http_request_uri = "/v1/apps/{application-id}/campaigns/{campaign-id}/versions/{version}"
963
+ o.input = Shapes::ShapeRef.new(shape: GetCampaignVersionRequest)
964
+ o.output = Shapes::ShapeRef.new(shape: GetCampaignVersionResponse)
965
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
966
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
967
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
968
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
969
+ o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
970
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
971
+ end)
972
+
973
+ api.add_operation(:get_campaign_versions, Seahorse::Model::Operation.new.tap do |o|
974
+ o.name = "GetCampaignVersions"
975
+ o.http_method = "GET"
976
+ o.http_request_uri = "/v1/apps/{application-id}/campaigns/{campaign-id}/versions"
977
+ o.input = Shapes::ShapeRef.new(shape: GetCampaignVersionsRequest)
978
+ o.output = Shapes::ShapeRef.new(shape: GetCampaignVersionsResponse)
979
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
980
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
981
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
982
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
983
+ o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
984
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
985
+ end)
986
+
987
+ api.add_operation(:get_campaigns, Seahorse::Model::Operation.new.tap do |o|
988
+ o.name = "GetCampaigns"
989
+ o.http_method = "GET"
990
+ o.http_request_uri = "/v1/apps/{application-id}/campaigns"
991
+ o.input = Shapes::ShapeRef.new(shape: GetCampaignsRequest)
992
+ o.output = Shapes::ShapeRef.new(shape: GetCampaignsResponse)
993
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
994
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
995
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
996
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
997
+ o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
998
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
999
+ end)
1000
+
1001
+ api.add_operation(:get_endpoint, Seahorse::Model::Operation.new.tap do |o|
1002
+ o.name = "GetEndpoint"
1003
+ o.http_method = "GET"
1004
+ o.http_request_uri = "/v1/apps/{application-id}/endpoints/{endpoint-id}"
1005
+ o.input = Shapes::ShapeRef.new(shape: GetEndpointRequest)
1006
+ o.output = Shapes::ShapeRef.new(shape: GetEndpointResponse)
1007
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1008
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
1009
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1010
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1011
+ o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
1012
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1013
+ end)
1014
+
1015
+ api.add_operation(:get_gcm_channel, Seahorse::Model::Operation.new.tap do |o|
1016
+ o.name = "GetGcmChannel"
1017
+ o.http_method = "GET"
1018
+ o.http_request_uri = "/v1/apps/{application-id}/channels/gcm"
1019
+ o.input = Shapes::ShapeRef.new(shape: GetGcmChannelRequest)
1020
+ o.output = Shapes::ShapeRef.new(shape: GetGcmChannelResponse)
1021
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1022
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
1023
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1024
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1025
+ o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
1026
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1027
+ end)
1028
+
1029
+ api.add_operation(:get_import_job, Seahorse::Model::Operation.new.tap do |o|
1030
+ o.name = "GetImportJob"
1031
+ o.http_method = "GET"
1032
+ o.http_request_uri = "/v1/apps/{application-id}/jobs/import/{job-id}"
1033
+ o.input = Shapes::ShapeRef.new(shape: GetImportJobRequest)
1034
+ o.output = Shapes::ShapeRef.new(shape: GetImportJobResponse)
1035
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1036
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
1037
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1038
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1039
+ o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
1040
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1041
+ end)
1042
+
1043
+ api.add_operation(:get_import_jobs, Seahorse::Model::Operation.new.tap do |o|
1044
+ o.name = "GetImportJobs"
1045
+ o.http_method = "GET"
1046
+ o.http_request_uri = "/v1/apps/{application-id}/jobs/import"
1047
+ o.input = Shapes::ShapeRef.new(shape: GetImportJobsRequest)
1048
+ o.output = Shapes::ShapeRef.new(shape: GetImportJobsResponse)
1049
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1050
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
1051
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1052
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1053
+ o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
1054
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1055
+ end)
1056
+
1057
+ api.add_operation(:get_segment, Seahorse::Model::Operation.new.tap do |o|
1058
+ o.name = "GetSegment"
1059
+ o.http_method = "GET"
1060
+ o.http_request_uri = "/v1/apps/{application-id}/segments/{segment-id}"
1061
+ o.input = Shapes::ShapeRef.new(shape: GetSegmentRequest)
1062
+ o.output = Shapes::ShapeRef.new(shape: GetSegmentResponse)
1063
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1064
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
1065
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1066
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1067
+ o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
1068
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1069
+ end)
1070
+
1071
+ api.add_operation(:get_segment_import_jobs, Seahorse::Model::Operation.new.tap do |o|
1072
+ o.name = "GetSegmentImportJobs"
1073
+ o.http_method = "GET"
1074
+ o.http_request_uri = "/v1/apps/{application-id}/segments/{segment-id}/jobs/import"
1075
+ o.input = Shapes::ShapeRef.new(shape: GetSegmentImportJobsRequest)
1076
+ o.output = Shapes::ShapeRef.new(shape: GetSegmentImportJobsResponse)
1077
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1078
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
1079
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1080
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1081
+ o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
1082
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1083
+ end)
1084
+
1085
+ api.add_operation(:get_segment_version, Seahorse::Model::Operation.new.tap do |o|
1086
+ o.name = "GetSegmentVersion"
1087
+ o.http_method = "GET"
1088
+ o.http_request_uri = "/v1/apps/{application-id}/segments/{segment-id}/versions/{version}"
1089
+ o.input = Shapes::ShapeRef.new(shape: GetSegmentVersionRequest)
1090
+ o.output = Shapes::ShapeRef.new(shape: GetSegmentVersionResponse)
1091
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1092
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
1093
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1094
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1095
+ o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
1096
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1097
+ end)
1098
+
1099
+ api.add_operation(:get_segment_versions, Seahorse::Model::Operation.new.tap do |o|
1100
+ o.name = "GetSegmentVersions"
1101
+ o.http_method = "GET"
1102
+ o.http_request_uri = "/v1/apps/{application-id}/segments/{segment-id}/versions"
1103
+ o.input = Shapes::ShapeRef.new(shape: GetSegmentVersionsRequest)
1104
+ o.output = Shapes::ShapeRef.new(shape: GetSegmentVersionsResponse)
1105
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1106
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
1107
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1108
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1109
+ o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
1110
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1111
+ end)
1112
+
1113
+ api.add_operation(:get_segments, Seahorse::Model::Operation.new.tap do |o|
1114
+ o.name = "GetSegments"
1115
+ o.http_method = "GET"
1116
+ o.http_request_uri = "/v1/apps/{application-id}/segments"
1117
+ o.input = Shapes::ShapeRef.new(shape: GetSegmentsRequest)
1118
+ o.output = Shapes::ShapeRef.new(shape: GetSegmentsResponse)
1119
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1120
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
1121
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1122
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1123
+ o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
1124
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1125
+ end)
1126
+
1127
+ api.add_operation(:update_apns_channel, Seahorse::Model::Operation.new.tap do |o|
1128
+ o.name = "UpdateApnsChannel"
1129
+ o.http_method = "PUT"
1130
+ o.http_request_uri = "/v1/apps/{application-id}/channels/apns"
1131
+ o.input = Shapes::ShapeRef.new(shape: UpdateApnsChannelRequest)
1132
+ o.output = Shapes::ShapeRef.new(shape: UpdateApnsChannelResponse)
1133
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1134
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
1135
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1136
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1137
+ o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
1138
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1139
+ end)
1140
+
1141
+ api.add_operation(:update_application_settings, Seahorse::Model::Operation.new.tap do |o|
1142
+ o.name = "UpdateApplicationSettings"
1143
+ o.http_method = "PUT"
1144
+ o.http_request_uri = "/v1/apps/{application-id}/settings"
1145
+ o.input = Shapes::ShapeRef.new(shape: UpdateApplicationSettingsRequest)
1146
+ o.output = Shapes::ShapeRef.new(shape: UpdateApplicationSettingsResponse)
1147
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1148
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
1149
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1150
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1151
+ o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
1152
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1153
+ end)
1154
+
1155
+ api.add_operation(:update_campaign, Seahorse::Model::Operation.new.tap do |o|
1156
+ o.name = "UpdateCampaign"
1157
+ o.http_method = "PUT"
1158
+ o.http_request_uri = "/v1/apps/{application-id}/campaigns/{campaign-id}"
1159
+ o.input = Shapes::ShapeRef.new(shape: UpdateCampaignRequest)
1160
+ o.output = Shapes::ShapeRef.new(shape: UpdateCampaignResponse)
1161
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1162
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
1163
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1164
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1165
+ o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
1166
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1167
+ end)
1168
+
1169
+ api.add_operation(:update_endpoint, Seahorse::Model::Operation.new.tap do |o|
1170
+ o.name = "UpdateEndpoint"
1171
+ o.http_method = "PUT"
1172
+ o.http_request_uri = "/v1/apps/{application-id}/endpoints/{endpoint-id}"
1173
+ o.input = Shapes::ShapeRef.new(shape: UpdateEndpointRequest)
1174
+ o.output = Shapes::ShapeRef.new(shape: UpdateEndpointResponse)
1175
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1176
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
1177
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1178
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1179
+ o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
1180
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1181
+ end)
1182
+
1183
+ api.add_operation(:update_endpoints_batch, Seahorse::Model::Operation.new.tap do |o|
1184
+ o.name = "UpdateEndpointsBatch"
1185
+ o.http_method = "PUT"
1186
+ o.http_request_uri = "/v1/apps/{application-id}/endpoints"
1187
+ o.input = Shapes::ShapeRef.new(shape: UpdateEndpointsBatchRequest)
1188
+ o.output = Shapes::ShapeRef.new(shape: UpdateEndpointsBatchResponse)
1189
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1190
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
1191
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1192
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1193
+ o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
1194
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1195
+ end)
1196
+
1197
+ api.add_operation(:update_gcm_channel, Seahorse::Model::Operation.new.tap do |o|
1198
+ o.name = "UpdateGcmChannel"
1199
+ o.http_method = "PUT"
1200
+ o.http_request_uri = "/v1/apps/{application-id}/channels/gcm"
1201
+ o.input = Shapes::ShapeRef.new(shape: UpdateGcmChannelRequest)
1202
+ o.output = Shapes::ShapeRef.new(shape: UpdateGcmChannelResponse)
1203
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1204
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
1205
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1206
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1207
+ o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
1208
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1209
+ end)
1210
+
1211
+ api.add_operation(:update_segment, Seahorse::Model::Operation.new.tap do |o|
1212
+ o.name = "UpdateSegment"
1213
+ o.http_method = "PUT"
1214
+ o.http_request_uri = "/v1/apps/{application-id}/segments/{segment-id}"
1215
+ o.input = Shapes::ShapeRef.new(shape: UpdateSegmentRequest)
1216
+ o.output = Shapes::ShapeRef.new(shape: UpdateSegmentResponse)
1217
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1218
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
1219
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1220
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1221
+ o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
1222
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1223
+ end)
1224
+ end
1225
+
1226
+ end
1227
+ end
1228
+ end