aws-sdk-pinpoint 1.0.0.rc2 → 1.0.0.rc3

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