aws-sdk-pinpoint 1.5.0 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -32,6 +32,7 @@ module Aws::Pinpoint
32
32
  ApplicationsResponse = Shapes::StructureShape.new(name: 'ApplicationsResponse')
33
33
  AttributeDimension = Shapes::StructureShape.new(name: 'AttributeDimension')
34
34
  AttributeType = Shapes::StringShape.new(name: 'AttributeType')
35
+ AttributesResource = Shapes::StructureShape.new(name: 'AttributesResource')
35
36
  BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
36
37
  BaiduChannelRequest = Shapes::StructureShape.new(name: 'BaiduChannelRequest')
37
38
  BaiduChannelResponse = Shapes::StructureShape.new(name: 'BaiduChannelResponse')
@@ -44,7 +45,9 @@ module Aws::Pinpoint
44
45
  CampaignState = Shapes::StructureShape.new(name: 'CampaignState')
45
46
  CampaignStatus = Shapes::StringShape.new(name: 'CampaignStatus')
46
47
  CampaignsResponse = Shapes::StructureShape.new(name: 'CampaignsResponse')
48
+ ChannelResponse = Shapes::StructureShape.new(name: 'ChannelResponse')
47
49
  ChannelType = Shapes::StringShape.new(name: 'ChannelType')
50
+ ChannelsResponse = Shapes::StructureShape.new(name: 'ChannelsResponse')
48
51
  CreateAppRequest = Shapes::StructureShape.new(name: 'CreateAppRequest')
49
52
  CreateAppResponse = Shapes::StructureShape.new(name: 'CreateAppResponse')
50
53
  CreateApplicationRequest = Shapes::StructureShape.new(name: 'CreateApplicationRequest')
@@ -86,6 +89,8 @@ module Aws::Pinpoint
86
89
  DeleteSegmentResponse = Shapes::StructureShape.new(name: 'DeleteSegmentResponse')
87
90
  DeleteSmsChannelRequest = Shapes::StructureShape.new(name: 'DeleteSmsChannelRequest')
88
91
  DeleteSmsChannelResponse = Shapes::StructureShape.new(name: 'DeleteSmsChannelResponse')
92
+ DeleteUserEndpointsRequest = Shapes::StructureShape.new(name: 'DeleteUserEndpointsRequest')
93
+ DeleteUserEndpointsResponse = Shapes::StructureShape.new(name: 'DeleteUserEndpointsResponse')
89
94
  DeliveryStatus = Shapes::StringShape.new(name: 'DeliveryStatus')
90
95
  DimensionType = Shapes::StringShape.new(name: 'DimensionType')
91
96
  DirectMessageConfiguration = Shapes::StructureShape.new(name: 'DirectMessageConfiguration')
@@ -101,6 +106,7 @@ module Aws::Pinpoint
101
106
  EndpointResponse = Shapes::StructureShape.new(name: 'EndpointResponse')
102
107
  EndpointSendConfiguration = Shapes::StructureShape.new(name: 'EndpointSendConfiguration')
103
108
  EndpointUser = Shapes::StructureShape.new(name: 'EndpointUser')
109
+ EndpointsResponse = Shapes::StructureShape.new(name: 'EndpointsResponse')
104
110
  EventStream = Shapes::StructureShape.new(name: 'EventStream')
105
111
  ExportJobRequest = Shapes::StructureShape.new(name: 'ExportJobRequest')
106
112
  ExportJobResource = Shapes::StructureShape.new(name: 'ExportJobResource')
@@ -112,6 +118,8 @@ module Aws::Pinpoint
112
118
  GCMChannelRequest = Shapes::StructureShape.new(name: 'GCMChannelRequest')
113
119
  GCMChannelResponse = Shapes::StructureShape.new(name: 'GCMChannelResponse')
114
120
  GCMMessage = Shapes::StructureShape.new(name: 'GCMMessage')
121
+ GPSCoordinates = Shapes::StructureShape.new(name: 'GPSCoordinates')
122
+ GPSPointDimension = Shapes::StructureShape.new(name: 'GPSPointDimension')
115
123
  GetAdmChannelRequest = Shapes::StructureShape.new(name: 'GetAdmChannelRequest')
116
124
  GetAdmChannelResponse = Shapes::StructureShape.new(name: 'GetAdmChannelResponse')
117
125
  GetApnsChannelRequest = Shapes::StructureShape.new(name: 'GetApnsChannelRequest')
@@ -140,6 +148,8 @@ module Aws::Pinpoint
140
148
  GetCampaignVersionsResponse = Shapes::StructureShape.new(name: 'GetCampaignVersionsResponse')
141
149
  GetCampaignsRequest = Shapes::StructureShape.new(name: 'GetCampaignsRequest')
142
150
  GetCampaignsResponse = Shapes::StructureShape.new(name: 'GetCampaignsResponse')
151
+ GetChannelsRequest = Shapes::StructureShape.new(name: 'GetChannelsRequest')
152
+ GetChannelsResponse = Shapes::StructureShape.new(name: 'GetChannelsResponse')
143
153
  GetEmailChannelRequest = Shapes::StructureShape.new(name: 'GetEmailChannelRequest')
144
154
  GetEmailChannelResponse = Shapes::StructureShape.new(name: 'GetEmailChannelResponse')
145
155
  GetEndpointRequest = Shapes::StructureShape.new(name: 'GetEndpointRequest')
@@ -170,29 +180,38 @@ module Aws::Pinpoint
170
180
  GetSegmentsResponse = Shapes::StructureShape.new(name: 'GetSegmentsResponse')
171
181
  GetSmsChannelRequest = Shapes::StructureShape.new(name: 'GetSmsChannelRequest')
172
182
  GetSmsChannelResponse = Shapes::StructureShape.new(name: 'GetSmsChannelResponse')
183
+ GetUserEndpointsRequest = Shapes::StructureShape.new(name: 'GetUserEndpointsRequest')
184
+ GetUserEndpointsResponse = Shapes::StructureShape.new(name: 'GetUserEndpointsResponse')
173
185
  ImportJobRequest = Shapes::StructureShape.new(name: 'ImportJobRequest')
174
186
  ImportJobResource = Shapes::StructureShape.new(name: 'ImportJobResource')
175
187
  ImportJobResponse = Shapes::StructureShape.new(name: 'ImportJobResponse')
176
188
  ImportJobsResponse = Shapes::StructureShape.new(name: 'ImportJobsResponse')
189
+ Include = Shapes::StringShape.new(name: 'Include')
177
190
  InternalServerErrorException = Shapes::StructureShape.new(name: 'InternalServerErrorException')
178
191
  JobStatus = Shapes::StringShape.new(name: 'JobStatus')
179
192
  ListOfActivityResponse = Shapes::ListShape.new(name: 'ListOfActivityResponse')
180
193
  ListOfApplicationResponse = Shapes::ListShape.new(name: 'ListOfApplicationResponse')
181
194
  ListOfCampaignResponse = Shapes::ListShape.new(name: 'ListOfCampaignResponse')
182
195
  ListOfEndpointBatchItem = Shapes::ListShape.new(name: 'ListOfEndpointBatchItem')
196
+ ListOfEndpointResponse = Shapes::ListShape.new(name: 'ListOfEndpointResponse')
183
197
  ListOfExportJobResponse = Shapes::ListShape.new(name: 'ListOfExportJobResponse')
184
198
  ListOfImportJobResponse = Shapes::ListShape.new(name: 'ListOfImportJobResponse')
199
+ ListOfSegmentDimensions = Shapes::ListShape.new(name: 'ListOfSegmentDimensions')
200
+ ListOfSegmentGroup = Shapes::ListShape.new(name: 'ListOfSegmentGroup')
201
+ ListOfSegmentReference = Shapes::ListShape.new(name: 'ListOfSegmentReference')
185
202
  ListOfSegmentResponse = Shapes::ListShape.new(name: 'ListOfSegmentResponse')
186
203
  ListOfTreatmentResource = Shapes::ListShape.new(name: 'ListOfTreatmentResource')
187
204
  ListOfWriteTreatmentResource = Shapes::ListShape.new(name: 'ListOfWriteTreatmentResource')
188
205
  ListOf__string = Shapes::ListShape.new(name: 'ListOf__string')
189
206
  MapOfAddressConfiguration = Shapes::MapShape.new(name: 'MapOfAddressConfiguration')
190
207
  MapOfAttributeDimension = Shapes::MapShape.new(name: 'MapOfAttributeDimension')
208
+ MapOfChannelResponse = Shapes::MapShape.new(name: 'MapOfChannelResponse')
191
209
  MapOfEndpointMessageResult = Shapes::MapShape.new(name: 'MapOfEndpointMessageResult')
192
210
  MapOfEndpointSendConfiguration = Shapes::MapShape.new(name: 'MapOfEndpointSendConfiguration')
193
211
  MapOfListOf__string = Shapes::MapShape.new(name: 'MapOfListOf__string')
194
212
  MapOfMapOfEndpointMessageResult = Shapes::MapShape.new(name: 'MapOfMapOfEndpointMessageResult')
195
213
  MapOfMessageResult = Shapes::MapShape.new(name: 'MapOfMessageResult')
214
+ MapOfMetricDimension = Shapes::MapShape.new(name: 'MapOfMetricDimension')
196
215
  MapOf__double = Shapes::MapShape.new(name: 'MapOf__double')
197
216
  MapOf__integer = Shapes::MapShape.new(name: 'MapOf__integer')
198
217
  MapOf__string = Shapes::MapShape.new(name: 'MapOf__string')
@@ -204,13 +223,20 @@ module Aws::Pinpoint
204
223
  MessageResult = Shapes::StructureShape.new(name: 'MessageResult')
205
224
  MessageType = Shapes::StringShape.new(name: 'MessageType')
206
225
  MethodNotAllowedException = Shapes::StructureShape.new(name: 'MethodNotAllowedException')
226
+ MetricDimension = Shapes::StructureShape.new(name: 'MetricDimension')
207
227
  Mode = Shapes::StringShape.new(name: 'Mode')
208
228
  NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
229
+ NumberValidateRequest = Shapes::StructureShape.new(name: 'NumberValidateRequest')
230
+ NumberValidateResponse = Shapes::StructureShape.new(name: 'NumberValidateResponse')
231
+ PhoneNumberValidateRequest = Shapes::StructureShape.new(name: 'PhoneNumberValidateRequest')
232
+ PhoneNumberValidateResponse = Shapes::StructureShape.new(name: 'PhoneNumberValidateResponse')
209
233
  PutEventStreamRequest = Shapes::StructureShape.new(name: 'PutEventStreamRequest')
210
234
  PutEventStreamResponse = Shapes::StructureShape.new(name: 'PutEventStreamResponse')
211
235
  QuietTime = Shapes::StructureShape.new(name: 'QuietTime')
212
236
  RecencyDimension = Shapes::StructureShape.new(name: 'RecencyDimension')
213
237
  RecencyType = Shapes::StringShape.new(name: 'RecencyType')
238
+ RemoveAttributesRequest = Shapes::StructureShape.new(name: 'RemoveAttributesRequest')
239
+ RemoveAttributesResponse = Shapes::StructureShape.new(name: 'RemoveAttributesResponse')
214
240
  SMSChannelRequest = Shapes::StructureShape.new(name: 'SMSChannelRequest')
215
241
  SMSChannelResponse = Shapes::StructureShape.new(name: 'SMSChannelResponse')
216
242
  SMSMessage = Shapes::StructureShape.new(name: 'SMSMessage')
@@ -218,8 +244,11 @@ module Aws::Pinpoint
218
244
  SegmentBehaviors = Shapes::StructureShape.new(name: 'SegmentBehaviors')
219
245
  SegmentDemographics = Shapes::StructureShape.new(name: 'SegmentDemographics')
220
246
  SegmentDimensions = Shapes::StructureShape.new(name: 'SegmentDimensions')
247
+ SegmentGroup = Shapes::StructureShape.new(name: 'SegmentGroup')
248
+ SegmentGroupList = Shapes::StructureShape.new(name: 'SegmentGroupList')
221
249
  SegmentImportResource = Shapes::StructureShape.new(name: 'SegmentImportResource')
222
250
  SegmentLocation = Shapes::StructureShape.new(name: 'SegmentLocation')
251
+ SegmentReference = Shapes::StructureShape.new(name: 'SegmentReference')
223
252
  SegmentResponse = Shapes::StructureShape.new(name: 'SegmentResponse')
224
253
  SegmentType = Shapes::StringShape.new(name: 'SegmentType')
225
254
  SegmentsResponse = Shapes::StructureShape.new(name: 'SegmentsResponse')
@@ -230,8 +259,10 @@ module Aws::Pinpoint
230
259
  SendUsersMessagesRequest = Shapes::StructureShape.new(name: 'SendUsersMessagesRequest')
231
260
  SendUsersMessagesResponse = Shapes::StructureShape.new(name: 'SendUsersMessagesResponse')
232
261
  SetDimension = Shapes::StructureShape.new(name: 'SetDimension')
262
+ SourceType = Shapes::StringShape.new(name: 'SourceType')
233
263
  TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
234
264
  TreatmentResource = Shapes::StructureShape.new(name: 'TreatmentResource')
265
+ Type = Shapes::StringShape.new(name: 'Type')
235
266
  UpdateAdmChannelRequest = Shapes::StructureShape.new(name: 'UpdateAdmChannelRequest')
236
267
  UpdateAdmChannelResponse = Shapes::StructureShape.new(name: 'UpdateAdmChannelResponse')
237
268
  UpdateApnsChannelRequest = Shapes::StructureShape.new(name: 'UpdateApnsChannelRequest')
@@ -244,6 +275,7 @@ module Aws::Pinpoint
244
275
  UpdateApnsVoipSandboxChannelResponse = Shapes::StructureShape.new(name: 'UpdateApnsVoipSandboxChannelResponse')
245
276
  UpdateApplicationSettingsRequest = Shapes::StructureShape.new(name: 'UpdateApplicationSettingsRequest')
246
277
  UpdateApplicationSettingsResponse = Shapes::StructureShape.new(name: 'UpdateApplicationSettingsResponse')
278
+ UpdateAttributesRequest = Shapes::StructureShape.new(name: 'UpdateAttributesRequest')
247
279
  UpdateBaiduChannelRequest = Shapes::StructureShape.new(name: 'UpdateBaiduChannelRequest')
248
280
  UpdateBaiduChannelResponse = Shapes::StructureShape.new(name: 'UpdateBaiduChannelResponse')
249
281
  UpdateCampaignRequest = Shapes::StructureShape.new(name: 'UpdateCampaignRequest')
@@ -268,8 +300,10 @@ module Aws::Pinpoint
268
300
  __boolean = Shapes::BooleanShape.new(name: '__boolean')
269
301
  __double = Shapes::FloatShape.new(name: '__double')
270
302
  __integer = Shapes::IntegerShape.new(name: '__integer')
303
+ __long = Shapes::IntegerShape.new(name: '__long')
271
304
  __string = Shapes::StringShape.new(name: '__string')
272
- __timestamp = Shapes::TimestampShape.new(name: '__timestamp')
305
+ __timestampIso8601 = Shapes::TimestampShape.new(name: '__timestampIso8601', timestampFormat: "iso8601")
306
+ __timestampUnix = Shapes::TimestampShape.new(name: '__timestampUnix', timestampFormat: "unixTimestamp")
273
307
 
274
308
  ADMChannelRequest.add_member(:client_id, Shapes::ShapeRef.new(shape: __string, location_name: "ClientId"))
275
309
  ADMChannelRequest.add_member(:client_secret, Shapes::ShapeRef.new(shape: __string, location_name: "ClientSecret"))
@@ -466,6 +500,11 @@ module Aws::Pinpoint
466
500
  AttributeDimension.add_member(:values, Shapes::ShapeRef.new(shape: ListOf__string, location_name: "Values"))
467
501
  AttributeDimension.struct_class = Types::AttributeDimension
468
502
 
503
+ AttributesResource.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId"))
504
+ AttributesResource.add_member(:attribute_type, Shapes::ShapeRef.new(shape: __string, location_name: "AttributeType"))
505
+ AttributesResource.add_member(:attributes, Shapes::ShapeRef.new(shape: ListOf__string, location_name: "Attributes"))
506
+ AttributesResource.struct_class = Types::AttributesResource
507
+
469
508
  BaiduChannelRequest.add_member(:api_key, Shapes::ShapeRef.new(shape: __string, location_name: "ApiKey"))
470
509
  BaiduChannelRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "Enabled"))
471
510
  BaiduChannelRequest.add_member(:secret_key, Shapes::ShapeRef.new(shape: __string, location_name: "SecretKey"))
@@ -495,6 +534,7 @@ module Aws::Pinpoint
495
534
  BaiduMessage.add_member(:small_image_icon_url, Shapes::ShapeRef.new(shape: __string, location_name: "SmallImageIconUrl"))
496
535
  BaiduMessage.add_member(:sound, Shapes::ShapeRef.new(shape: __string, location_name: "Sound"))
497
536
  BaiduMessage.add_member(:substitutions, Shapes::ShapeRef.new(shape: MapOfListOf__string, location_name: "Substitutions"))
537
+ BaiduMessage.add_member(:time_to_live, Shapes::ShapeRef.new(shape: __integer, location_name: "TimeToLive"))
498
538
  BaiduMessage.add_member(:title, Shapes::ShapeRef.new(shape: __string, location_name: "Title"))
499
539
  BaiduMessage.add_member(:url, Shapes::ShapeRef.new(shape: __string, location_name: "Url"))
500
540
  BaiduMessage.struct_class = Types::BaiduMessage
@@ -550,6 +590,20 @@ module Aws::Pinpoint
550
590
  CampaignsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "NextToken"))
551
591
  CampaignsResponse.struct_class = Types::CampaignsResponse
552
592
 
593
+ ChannelResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId"))
594
+ ChannelResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: __string, location_name: "CreationDate"))
595
+ ChannelResponse.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "Enabled"))
596
+ ChannelResponse.add_member(:has_credential, Shapes::ShapeRef.new(shape: __boolean, location_name: "HasCredential"))
597
+ ChannelResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id"))
598
+ ChannelResponse.add_member(:is_archived, Shapes::ShapeRef.new(shape: __boolean, location_name: "IsArchived"))
599
+ ChannelResponse.add_member(:last_modified_by, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedBy"))
600
+ ChannelResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedDate"))
601
+ ChannelResponse.add_member(:version, Shapes::ShapeRef.new(shape: __integer, location_name: "Version"))
602
+ ChannelResponse.struct_class = Types::ChannelResponse
603
+
604
+ ChannelsResponse.add_member(:channels, Shapes::ShapeRef.new(shape: MapOfChannelResponse, location_name: "Channels"))
605
+ ChannelsResponse.struct_class = Types::ChannelsResponse
606
+
553
607
  CreateAppRequest.add_member(:create_application_request, Shapes::ShapeRef.new(shape: CreateApplicationRequest, required: true, location_name: "CreateApplicationRequest"))
554
608
  CreateAppRequest.struct_class = Types::CreateAppRequest
555
609
  CreateAppRequest[:payload] = :create_application_request
@@ -735,6 +789,15 @@ module Aws::Pinpoint
735
789
  DeleteSmsChannelResponse[:payload] = :sms_channel_response
736
790
  DeleteSmsChannelResponse[:payload_member] = DeleteSmsChannelResponse.member(:sms_channel_response)
737
791
 
792
+ DeleteUserEndpointsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
793
+ DeleteUserEndpointsRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "user-id"))
794
+ DeleteUserEndpointsRequest.struct_class = Types::DeleteUserEndpointsRequest
795
+
796
+ DeleteUserEndpointsResponse.add_member(:endpoints_response, Shapes::ShapeRef.new(shape: EndpointsResponse, required: true, location_name: "EndpointsResponse"))
797
+ DeleteUserEndpointsResponse.struct_class = Types::DeleteUserEndpointsResponse
798
+ DeleteUserEndpointsResponse[:payload] = :endpoints_response
799
+ DeleteUserEndpointsResponse[:payload_member] = DeleteUserEndpointsResponse.member(:endpoints_response)
800
+
738
801
  DirectMessageConfiguration.add_member(:adm_message, Shapes::ShapeRef.new(shape: ADMMessage, location_name: "ADMMessage"))
739
802
  DirectMessageConfiguration.add_member(:apns_message, Shapes::ShapeRef.new(shape: APNSMessage, location_name: "APNSMessage"))
740
803
  DirectMessageConfiguration.add_member(:baidu_message, Shapes::ShapeRef.new(shape: BaiduMessage, location_name: "BaiduMessage"))
@@ -760,6 +823,7 @@ module Aws::Pinpoint
760
823
  EmailChannelResponse.add_member(:is_archived, Shapes::ShapeRef.new(shape: __boolean, location_name: "IsArchived"))
761
824
  EmailChannelResponse.add_member(:last_modified_by, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedBy"))
762
825
  EmailChannelResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedDate"))
826
+ EmailChannelResponse.add_member(:messages_per_second, Shapes::ShapeRef.new(shape: __integer, location_name: "MessagesPerSecond"))
763
827
  EmailChannelResponse.add_member(:platform, Shapes::ShapeRef.new(shape: __string, location_name: "Platform"))
764
828
  EmailChannelResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "RoleArn"))
765
829
  EmailChannelResponse.add_member(:version, Shapes::ShapeRef.new(shape: __integer, location_name: "Version"))
@@ -802,6 +866,7 @@ module Aws::Pinpoint
802
866
 
803
867
  EndpointMessageResult.add_member(:address, Shapes::ShapeRef.new(shape: __string, location_name: "Address"))
804
868
  EndpointMessageResult.add_member(:delivery_status, Shapes::ShapeRef.new(shape: DeliveryStatus, location_name: "DeliveryStatus"))
869
+ EndpointMessageResult.add_member(:message_id, Shapes::ShapeRef.new(shape: __string, location_name: "MessageId"))
805
870
  EndpointMessageResult.add_member(:status_code, Shapes::ShapeRef.new(shape: __integer, location_name: "StatusCode"))
806
871
  EndpointMessageResult.add_member(:status_message, Shapes::ShapeRef.new(shape: __string, location_name: "StatusMessage"))
807
872
  EndpointMessageResult.add_member(:updated_token, Shapes::ShapeRef.new(shape: __string, location_name: "UpdatedToken"))
@@ -848,6 +913,9 @@ module Aws::Pinpoint
848
913
  EndpointUser.add_member(:user_id, Shapes::ShapeRef.new(shape: __string, location_name: "UserId"))
849
914
  EndpointUser.struct_class = Types::EndpointUser
850
915
 
916
+ EndpointsResponse.add_member(:item, Shapes::ShapeRef.new(shape: ListOfEndpointResponse, location_name: "Item"))
917
+ EndpointsResponse.struct_class = Types::EndpointsResponse
918
+
851
919
  EventStream.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId"))
852
920
  EventStream.add_member(:destination_stream_arn, Shapes::ShapeRef.new(shape: __string, location_name: "DestinationStreamArn"))
853
921
  EventStream.add_member(:external_id, Shapes::ShapeRef.new(shape: __string, location_name: "ExternalId"))
@@ -859,11 +927,13 @@ module Aws::Pinpoint
859
927
  ExportJobRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "RoleArn"))
860
928
  ExportJobRequest.add_member(:s3_url_prefix, Shapes::ShapeRef.new(shape: __string, location_name: "S3UrlPrefix"))
861
929
  ExportJobRequest.add_member(:segment_id, Shapes::ShapeRef.new(shape: __string, location_name: "SegmentId"))
930
+ ExportJobRequest.add_member(:segment_version, Shapes::ShapeRef.new(shape: __integer, location_name: "SegmentVersion"))
862
931
  ExportJobRequest.struct_class = Types::ExportJobRequest
863
932
 
864
933
  ExportJobResource.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "RoleArn"))
865
934
  ExportJobResource.add_member(:s3_url_prefix, Shapes::ShapeRef.new(shape: __string, location_name: "S3UrlPrefix"))
866
935
  ExportJobResource.add_member(:segment_id, Shapes::ShapeRef.new(shape: __string, location_name: "SegmentId"))
936
+ ExportJobResource.add_member(:segment_version, Shapes::ShapeRef.new(shape: __integer, location_name: "SegmentVersion"))
867
937
  ExportJobResource.struct_class = Types::ExportJobResource
868
938
 
869
939
  ExportJobResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId"))
@@ -921,6 +991,14 @@ module Aws::Pinpoint
921
991
  GCMMessage.add_member(:url, Shapes::ShapeRef.new(shape: __string, location_name: "Url"))
922
992
  GCMMessage.struct_class = Types::GCMMessage
923
993
 
994
+ GPSCoordinates.add_member(:latitude, Shapes::ShapeRef.new(shape: __double, location_name: "Latitude"))
995
+ GPSCoordinates.add_member(:longitude, Shapes::ShapeRef.new(shape: __double, location_name: "Longitude"))
996
+ GPSCoordinates.struct_class = Types::GPSCoordinates
997
+
998
+ GPSPointDimension.add_member(:coordinates, Shapes::ShapeRef.new(shape: GPSCoordinates, location_name: "Coordinates"))
999
+ GPSPointDimension.add_member(:range_in_kilometers, Shapes::ShapeRef.new(shape: __double, location_name: "RangeInKilometers"))
1000
+ GPSPointDimension.struct_class = Types::GPSPointDimension
1001
+
924
1002
  GetAdmChannelRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
925
1003
  GetAdmChannelRequest.struct_class = Types::GetAdmChannelRequest
926
1004
 
@@ -1045,6 +1123,14 @@ module Aws::Pinpoint
1045
1123
  GetCampaignsResponse[:payload] = :campaigns_response
1046
1124
  GetCampaignsResponse[:payload_member] = GetCampaignsResponse.member(:campaigns_response)
1047
1125
 
1126
+ GetChannelsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
1127
+ GetChannelsRequest.struct_class = Types::GetChannelsRequest
1128
+
1129
+ GetChannelsResponse.add_member(:channels_response, Shapes::ShapeRef.new(shape: ChannelsResponse, required: true, location_name: "ChannelsResponse"))
1130
+ GetChannelsResponse.struct_class = Types::GetChannelsResponse
1131
+ GetChannelsResponse[:payload] = :channels_response
1132
+ GetChannelsResponse[:payload_member] = GetChannelsResponse.member(:channels_response)
1133
+
1048
1134
  GetEmailChannelRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
1049
1135
  GetEmailChannelRequest.struct_class = Types::GetEmailChannelRequest
1050
1136
 
@@ -1186,6 +1272,15 @@ module Aws::Pinpoint
1186
1272
  GetSmsChannelResponse[:payload] = :sms_channel_response
1187
1273
  GetSmsChannelResponse[:payload_member] = GetSmsChannelResponse.member(:sms_channel_response)
1188
1274
 
1275
+ GetUserEndpointsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
1276
+ GetUserEndpointsRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "user-id"))
1277
+ GetUserEndpointsRequest.struct_class = Types::GetUserEndpointsRequest
1278
+
1279
+ GetUserEndpointsResponse.add_member(:endpoints_response, Shapes::ShapeRef.new(shape: EndpointsResponse, required: true, location_name: "EndpointsResponse"))
1280
+ GetUserEndpointsResponse.struct_class = Types::GetUserEndpointsResponse
1281
+ GetUserEndpointsResponse[:payload] = :endpoints_response
1282
+ GetUserEndpointsResponse[:payload_member] = GetUserEndpointsResponse.member(:endpoints_response)
1283
+
1189
1284
  ImportJobRequest.add_member(:define_segment, Shapes::ShapeRef.new(shape: __boolean, location_name: "DefineSegment"))
1190
1285
  ImportJobRequest.add_member(:external_id, Shapes::ShapeRef.new(shape: __string, location_name: "ExternalId"))
1191
1286
  ImportJobRequest.add_member(:format, Shapes::ShapeRef.new(shape: Format, location_name: "Format"))
@@ -1233,10 +1328,18 @@ module Aws::Pinpoint
1233
1328
 
1234
1329
  ListOfEndpointBatchItem.member = Shapes::ShapeRef.new(shape: EndpointBatchItem)
1235
1330
 
1331
+ ListOfEndpointResponse.member = Shapes::ShapeRef.new(shape: EndpointResponse)
1332
+
1236
1333
  ListOfExportJobResponse.member = Shapes::ShapeRef.new(shape: ExportJobResponse)
1237
1334
 
1238
1335
  ListOfImportJobResponse.member = Shapes::ShapeRef.new(shape: ImportJobResponse)
1239
1336
 
1337
+ ListOfSegmentDimensions.member = Shapes::ShapeRef.new(shape: SegmentDimensions)
1338
+
1339
+ ListOfSegmentGroup.member = Shapes::ShapeRef.new(shape: SegmentGroup)
1340
+
1341
+ ListOfSegmentReference.member = Shapes::ShapeRef.new(shape: SegmentReference)
1342
+
1240
1343
  ListOfSegmentResponse.member = Shapes::ShapeRef.new(shape: SegmentResponse)
1241
1344
 
1242
1345
  ListOfTreatmentResource.member = Shapes::ShapeRef.new(shape: TreatmentResource)
@@ -1251,6 +1354,9 @@ module Aws::Pinpoint
1251
1354
  MapOfAttributeDimension.key = Shapes::ShapeRef.new(shape: __string)
1252
1355
  MapOfAttributeDimension.value = Shapes::ShapeRef.new(shape: AttributeDimension)
1253
1356
 
1357
+ MapOfChannelResponse.key = Shapes::ShapeRef.new(shape: __string)
1358
+ MapOfChannelResponse.value = Shapes::ShapeRef.new(shape: ChannelResponse)
1359
+
1254
1360
  MapOfEndpointMessageResult.key = Shapes::ShapeRef.new(shape: __string)
1255
1361
  MapOfEndpointMessageResult.value = Shapes::ShapeRef.new(shape: EndpointMessageResult)
1256
1362
 
@@ -1266,6 +1372,9 @@ module Aws::Pinpoint
1266
1372
  MapOfMessageResult.key = Shapes::ShapeRef.new(shape: __string)
1267
1373
  MapOfMessageResult.value = Shapes::ShapeRef.new(shape: MessageResult)
1268
1374
 
1375
+ MapOfMetricDimension.key = Shapes::ShapeRef.new(shape: __string)
1376
+ MapOfMetricDimension.value = Shapes::ShapeRef.new(shape: MetricDimension)
1377
+
1269
1378
  MapOf__double.key = Shapes::ShapeRef.new(shape: __string)
1270
1379
  MapOf__double.value = Shapes::ShapeRef.new(shape: __double)
1271
1380
 
@@ -1284,6 +1393,7 @@ module Aws::Pinpoint
1284
1393
  Message.add_member(:media_url, Shapes::ShapeRef.new(shape: __string, location_name: "MediaUrl"))
1285
1394
  Message.add_member(:raw_content, Shapes::ShapeRef.new(shape: __string, location_name: "RawContent"))
1286
1395
  Message.add_member(:silent_push, Shapes::ShapeRef.new(shape: __boolean, location_name: "SilentPush"))
1396
+ Message.add_member(:time_to_live, Shapes::ShapeRef.new(shape: __integer, location_name: "TimeToLive"))
1287
1397
  Message.add_member(:title, Shapes::ShapeRef.new(shape: __string, location_name: "Title"))
1288
1398
  Message.add_member(:url, Shapes::ShapeRef.new(shape: __string, location_name: "Url"))
1289
1399
  Message.struct_class = Types::Message
@@ -1314,11 +1424,46 @@ module Aws::Pinpoint
1314
1424
  MessageResponse.struct_class = Types::MessageResponse
1315
1425
 
1316
1426
  MessageResult.add_member(:delivery_status, Shapes::ShapeRef.new(shape: DeliveryStatus, location_name: "DeliveryStatus"))
1427
+ MessageResult.add_member(:message_id, Shapes::ShapeRef.new(shape: __string, location_name: "MessageId"))
1317
1428
  MessageResult.add_member(:status_code, Shapes::ShapeRef.new(shape: __integer, location_name: "StatusCode"))
1318
1429
  MessageResult.add_member(:status_message, Shapes::ShapeRef.new(shape: __string, location_name: "StatusMessage"))
1319
1430
  MessageResult.add_member(:updated_token, Shapes::ShapeRef.new(shape: __string, location_name: "UpdatedToken"))
1320
1431
  MessageResult.struct_class = Types::MessageResult
1321
1432
 
1433
+ MetricDimension.add_member(:comparison_operator, Shapes::ShapeRef.new(shape: __string, location_name: "ComparisonOperator"))
1434
+ MetricDimension.add_member(:value, Shapes::ShapeRef.new(shape: __double, location_name: "Value"))
1435
+ MetricDimension.struct_class = Types::MetricDimension
1436
+
1437
+ NumberValidateRequest.add_member(:iso_country_code, Shapes::ShapeRef.new(shape: __string, location_name: "IsoCountryCode"))
1438
+ NumberValidateRequest.add_member(:phone_number, Shapes::ShapeRef.new(shape: __string, location_name: "PhoneNumber"))
1439
+ NumberValidateRequest.struct_class = Types::NumberValidateRequest
1440
+
1441
+ NumberValidateResponse.add_member(:carrier, Shapes::ShapeRef.new(shape: __string, location_name: "Carrier"))
1442
+ NumberValidateResponse.add_member(:city, Shapes::ShapeRef.new(shape: __string, location_name: "City"))
1443
+ NumberValidateResponse.add_member(:cleansed_phone_number_e164, Shapes::ShapeRef.new(shape: __string, location_name: "CleansedPhoneNumberE164"))
1444
+ NumberValidateResponse.add_member(:cleansed_phone_number_national, Shapes::ShapeRef.new(shape: __string, location_name: "CleansedPhoneNumberNational"))
1445
+ NumberValidateResponse.add_member(:country, Shapes::ShapeRef.new(shape: __string, location_name: "Country"))
1446
+ NumberValidateResponse.add_member(:country_code_iso_2, Shapes::ShapeRef.new(shape: __string, location_name: "CountryCodeIso2"))
1447
+ NumberValidateResponse.add_member(:country_code_numeric, Shapes::ShapeRef.new(shape: __string, location_name: "CountryCodeNumeric"))
1448
+ NumberValidateResponse.add_member(:county, Shapes::ShapeRef.new(shape: __string, location_name: "County"))
1449
+ NumberValidateResponse.add_member(:original_country_code_iso_2, Shapes::ShapeRef.new(shape: __string, location_name: "OriginalCountryCodeIso2"))
1450
+ NumberValidateResponse.add_member(:original_phone_number, Shapes::ShapeRef.new(shape: __string, location_name: "OriginalPhoneNumber"))
1451
+ NumberValidateResponse.add_member(:phone_type, Shapes::ShapeRef.new(shape: __string, location_name: "PhoneType"))
1452
+ NumberValidateResponse.add_member(:phone_type_code, Shapes::ShapeRef.new(shape: __integer, location_name: "PhoneTypeCode"))
1453
+ NumberValidateResponse.add_member(:timezone, Shapes::ShapeRef.new(shape: __string, location_name: "Timezone"))
1454
+ NumberValidateResponse.add_member(:zip_code, Shapes::ShapeRef.new(shape: __string, location_name: "ZipCode"))
1455
+ NumberValidateResponse.struct_class = Types::NumberValidateResponse
1456
+
1457
+ PhoneNumberValidateRequest.add_member(:number_validate_request, Shapes::ShapeRef.new(shape: NumberValidateRequest, required: true, location_name: "NumberValidateRequest"))
1458
+ PhoneNumberValidateRequest.struct_class = Types::PhoneNumberValidateRequest
1459
+ PhoneNumberValidateRequest[:payload] = :number_validate_request
1460
+ PhoneNumberValidateRequest[:payload_member] = PhoneNumberValidateRequest.member(:number_validate_request)
1461
+
1462
+ PhoneNumberValidateResponse.add_member(:number_validate_response, Shapes::ShapeRef.new(shape: NumberValidateResponse, required: true, location_name: "NumberValidateResponse"))
1463
+ PhoneNumberValidateResponse.struct_class = Types::PhoneNumberValidateResponse
1464
+ PhoneNumberValidateResponse[:payload] = :number_validate_response
1465
+ PhoneNumberValidateResponse[:payload_member] = PhoneNumberValidateResponse.member(:number_validate_response)
1466
+
1322
1467
  PutEventStreamRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
1323
1468
  PutEventStreamRequest.add_member(:write_event_stream, Shapes::ShapeRef.new(shape: WriteEventStream, required: true, location_name: "WriteEventStream"))
1324
1469
  PutEventStreamRequest.struct_class = Types::PutEventStreamRequest
@@ -1338,6 +1483,18 @@ module Aws::Pinpoint
1338
1483
  RecencyDimension.add_member(:recency_type, Shapes::ShapeRef.new(shape: RecencyType, location_name: "RecencyType"))
1339
1484
  RecencyDimension.struct_class = Types::RecencyDimension
1340
1485
 
1486
+ RemoveAttributesRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
1487
+ RemoveAttributesRequest.add_member(:attribute_type, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "attribute-type"))
1488
+ RemoveAttributesRequest.add_member(:update_attributes_request, Shapes::ShapeRef.new(shape: UpdateAttributesRequest, required: true, location_name: "UpdateAttributesRequest"))
1489
+ RemoveAttributesRequest.struct_class = Types::RemoveAttributesRequest
1490
+ RemoveAttributesRequest[:payload] = :update_attributes_request
1491
+ RemoveAttributesRequest[:payload_member] = RemoveAttributesRequest.member(:update_attributes_request)
1492
+
1493
+ RemoveAttributesResponse.add_member(:attributes_resource, Shapes::ShapeRef.new(shape: AttributesResource, required: true, location_name: "AttributesResource"))
1494
+ RemoveAttributesResponse.struct_class = Types::RemoveAttributesResponse
1495
+ RemoveAttributesResponse[:payload] = :attributes_resource
1496
+ RemoveAttributesResponse[:payload_member] = RemoveAttributesResponse.member(:attributes_resource)
1497
+
1341
1498
  SMSChannelRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "Enabled"))
1342
1499
  SMSChannelRequest.add_member(:sender_id, Shapes::ShapeRef.new(shape: __string, location_name: "SenderId"))
1343
1500
  SMSChannelRequest.add_member(:short_code, Shapes::ShapeRef.new(shape: __string, location_name: "ShortCode"))
@@ -1352,12 +1509,15 @@ module Aws::Pinpoint
1352
1509
  SMSChannelResponse.add_member(:last_modified_by, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedBy"))
1353
1510
  SMSChannelResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedDate"))
1354
1511
  SMSChannelResponse.add_member(:platform, Shapes::ShapeRef.new(shape: __string, location_name: "Platform"))
1512
+ SMSChannelResponse.add_member(:promotional_messages_per_second, Shapes::ShapeRef.new(shape: __integer, location_name: "PromotionalMessagesPerSecond"))
1355
1513
  SMSChannelResponse.add_member(:sender_id, Shapes::ShapeRef.new(shape: __string, location_name: "SenderId"))
1356
1514
  SMSChannelResponse.add_member(:short_code, Shapes::ShapeRef.new(shape: __string, location_name: "ShortCode"))
1515
+ SMSChannelResponse.add_member(:transactional_messages_per_second, Shapes::ShapeRef.new(shape: __integer, location_name: "TransactionalMessagesPerSecond"))
1357
1516
  SMSChannelResponse.add_member(:version, Shapes::ShapeRef.new(shape: __integer, location_name: "Version"))
1358
1517
  SMSChannelResponse.struct_class = Types::SMSChannelResponse
1359
1518
 
1360
1519
  SMSMessage.add_member(:body, Shapes::ShapeRef.new(shape: __string, location_name: "Body"))
1520
+ SMSMessage.add_member(:keyword, Shapes::ShapeRef.new(shape: __string, location_name: "Keyword"))
1361
1521
  SMSMessage.add_member(:message_type, Shapes::ShapeRef.new(shape: MessageType, location_name: "MessageType"))
1362
1522
  SMSMessage.add_member(:origination_number, Shapes::ShapeRef.new(shape: __string, location_name: "OriginationNumber"))
1363
1523
  SMSMessage.add_member(:sender_id, Shapes::ShapeRef.new(shape: __string, location_name: "SenderId"))
@@ -1387,9 +1547,20 @@ module Aws::Pinpoint
1387
1547
  SegmentDimensions.add_member(:behavior, Shapes::ShapeRef.new(shape: SegmentBehaviors, location_name: "Behavior"))
1388
1548
  SegmentDimensions.add_member(:demographic, Shapes::ShapeRef.new(shape: SegmentDemographics, location_name: "Demographic"))
1389
1549
  SegmentDimensions.add_member(:location, Shapes::ShapeRef.new(shape: SegmentLocation, location_name: "Location"))
1550
+ SegmentDimensions.add_member(:metrics, Shapes::ShapeRef.new(shape: MapOfMetricDimension, location_name: "Metrics"))
1390
1551
  SegmentDimensions.add_member(:user_attributes, Shapes::ShapeRef.new(shape: MapOfAttributeDimension, location_name: "UserAttributes"))
1391
1552
  SegmentDimensions.struct_class = Types::SegmentDimensions
1392
1553
 
1554
+ SegmentGroup.add_member(:dimensions, Shapes::ShapeRef.new(shape: ListOfSegmentDimensions, location_name: "Dimensions"))
1555
+ SegmentGroup.add_member(:source_segments, Shapes::ShapeRef.new(shape: ListOfSegmentReference, location_name: "SourceSegments"))
1556
+ SegmentGroup.add_member(:source_type, Shapes::ShapeRef.new(shape: SourceType, location_name: "SourceType"))
1557
+ SegmentGroup.add_member(:type, Shapes::ShapeRef.new(shape: Type, location_name: "Type"))
1558
+ SegmentGroup.struct_class = Types::SegmentGroup
1559
+
1560
+ SegmentGroupList.add_member(:groups, Shapes::ShapeRef.new(shape: ListOfSegmentGroup, location_name: "Groups"))
1561
+ SegmentGroupList.add_member(:include, Shapes::ShapeRef.new(shape: Include, location_name: "Include"))
1562
+ SegmentGroupList.struct_class = Types::SegmentGroupList
1563
+
1393
1564
  SegmentImportResource.add_member(:channel_counts, Shapes::ShapeRef.new(shape: MapOf__integer, location_name: "ChannelCounts"))
1394
1565
  SegmentImportResource.add_member(:external_id, Shapes::ShapeRef.new(shape: __string, location_name: "ExternalId"))
1395
1566
  SegmentImportResource.add_member(:format, Shapes::ShapeRef.new(shape: Format, location_name: "Format"))
@@ -1399,8 +1570,13 @@ module Aws::Pinpoint
1399
1570
  SegmentImportResource.struct_class = Types::SegmentImportResource
1400
1571
 
1401
1572
  SegmentLocation.add_member(:country, Shapes::ShapeRef.new(shape: SetDimension, location_name: "Country"))
1573
+ SegmentLocation.add_member(:gps_point, Shapes::ShapeRef.new(shape: GPSPointDimension, location_name: "GPSPoint"))
1402
1574
  SegmentLocation.struct_class = Types::SegmentLocation
1403
1575
 
1576
+ SegmentReference.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id"))
1577
+ SegmentReference.add_member(:version, Shapes::ShapeRef.new(shape: __integer, location_name: "Version"))
1578
+ SegmentReference.struct_class = Types::SegmentReference
1579
+
1404
1580
  SegmentResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId"))
1405
1581
  SegmentResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: __string, location_name: "CreationDate"))
1406
1582
  SegmentResponse.add_member(:dimensions, Shapes::ShapeRef.new(shape: SegmentDimensions, location_name: "Dimensions"))
@@ -1408,6 +1584,7 @@ module Aws::Pinpoint
1408
1584
  SegmentResponse.add_member(:import_definition, Shapes::ShapeRef.new(shape: SegmentImportResource, location_name: "ImportDefinition"))
1409
1585
  SegmentResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedDate"))
1410
1586
  SegmentResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "Name"))
1587
+ SegmentResponse.add_member(:segment_groups, Shapes::ShapeRef.new(shape: SegmentGroupList, location_name: "SegmentGroups"))
1411
1588
  SegmentResponse.add_member(:segment_type, Shapes::ShapeRef.new(shape: SegmentType, location_name: "SegmentType"))
1412
1589
  SegmentResponse.add_member(:version, Shapes::ShapeRef.new(shape: __integer, location_name: "Version"))
1413
1590
  SegmentResponse.struct_class = Types::SegmentResponse
@@ -1527,6 +1704,9 @@ module Aws::Pinpoint
1527
1704
  UpdateApplicationSettingsResponse[:payload] = :application_settings_resource
1528
1705
  UpdateApplicationSettingsResponse[:payload_member] = UpdateApplicationSettingsResponse.member(:application_settings_resource)
1529
1706
 
1707
+ UpdateAttributesRequest.add_member(:blacklist, Shapes::ShapeRef.new(shape: ListOf__string, location_name: "Blacklist"))
1708
+ UpdateAttributesRequest.struct_class = Types::UpdateAttributesRequest
1709
+
1530
1710
  UpdateBaiduChannelRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
1531
1711
  UpdateBaiduChannelRequest.add_member(:baidu_channel_request, Shapes::ShapeRef.new(shape: BaiduChannelRequest, required: true, location_name: "BaiduChannelRequest"))
1532
1712
  UpdateBaiduChannelRequest.struct_class = Types::UpdateBaiduChannelRequest
@@ -1619,6 +1799,7 @@ module Aws::Pinpoint
1619
1799
  UpdateSmsChannelResponse[:payload_member] = UpdateSmsChannelResponse.member(:sms_channel_response)
1620
1800
 
1621
1801
  WriteApplicationSettingsRequest.add_member(:campaign_hook, Shapes::ShapeRef.new(shape: CampaignHook, location_name: "CampaignHook"))
1802
+ WriteApplicationSettingsRequest.add_member(:cloud_watch_metrics_enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "CloudWatchMetricsEnabled"))
1622
1803
  WriteApplicationSettingsRequest.add_member(:limits, Shapes::ShapeRef.new(shape: CampaignLimits, location_name: "Limits"))
1623
1804
  WriteApplicationSettingsRequest.add_member(:quiet_time, Shapes::ShapeRef.new(shape: QuietTime, location_name: "QuietTime"))
1624
1805
  WriteApplicationSettingsRequest.struct_class = Types::WriteApplicationSettingsRequest
@@ -1644,6 +1825,7 @@ module Aws::Pinpoint
1644
1825
 
1645
1826
  WriteSegmentRequest.add_member(:dimensions, Shapes::ShapeRef.new(shape: SegmentDimensions, location_name: "Dimensions"))
1646
1827
  WriteSegmentRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "Name"))
1828
+ WriteSegmentRequest.add_member(:segment_groups, Shapes::ShapeRef.new(shape: SegmentGroupList, location_name: "SegmentGroups"))
1647
1829
  WriteSegmentRequest.struct_class = Types::WriteSegmentRequest
1648
1830
 
1649
1831
  WriteTreatmentResource.add_member(:message_configuration, Shapes::ShapeRef.new(shape: MessageConfiguration, location_name: "MessageConfiguration"))
@@ -1934,6 +2116,20 @@ module Aws::Pinpoint
1934
2116
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1935
2117
  end)
1936
2118
 
2119
+ api.add_operation(:delete_user_endpoints, Seahorse::Model::Operation.new.tap do |o|
2120
+ o.name = "DeleteUserEndpoints"
2121
+ o.http_method = "DELETE"
2122
+ o.http_request_uri = "/v1/apps/{application-id}/users/{user-id}"
2123
+ o.input = Shapes::ShapeRef.new(shape: DeleteUserEndpointsRequest)
2124
+ o.output = Shapes::ShapeRef.new(shape: DeleteUserEndpointsResponse)
2125
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2126
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
2127
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
2128
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2129
+ o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
2130
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2131
+ end)
2132
+
1937
2133
  api.add_operation(:get_adm_channel, Seahorse::Model::Operation.new.tap do |o|
1938
2134
  o.name = "GetAdmChannel"
1939
2135
  o.http_method = "GET"
@@ -2130,6 +2326,20 @@ module Aws::Pinpoint
2130
2326
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2131
2327
  end)
2132
2328
 
2329
+ api.add_operation(:get_channels, Seahorse::Model::Operation.new.tap do |o|
2330
+ o.name = "GetChannels"
2331
+ o.http_method = "GET"
2332
+ o.http_request_uri = "/v1/apps/{application-id}/channels"
2333
+ o.input = Shapes::ShapeRef.new(shape: GetChannelsRequest)
2334
+ o.output = Shapes::ShapeRef.new(shape: GetChannelsResponse)
2335
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2336
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
2337
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
2338
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2339
+ o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
2340
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2341
+ end)
2342
+
2133
2343
  api.add_operation(:get_email_channel, Seahorse::Model::Operation.new.tap do |o|
2134
2344
  o.name = "GetEmailChannel"
2135
2345
  o.http_method = "GET"
@@ -2340,6 +2550,34 @@ module Aws::Pinpoint
2340
2550
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2341
2551
  end)
2342
2552
 
2553
+ api.add_operation(:get_user_endpoints, Seahorse::Model::Operation.new.tap do |o|
2554
+ o.name = "GetUserEndpoints"
2555
+ o.http_method = "GET"
2556
+ o.http_request_uri = "/v1/apps/{application-id}/users/{user-id}"
2557
+ o.input = Shapes::ShapeRef.new(shape: GetUserEndpointsRequest)
2558
+ o.output = Shapes::ShapeRef.new(shape: GetUserEndpointsResponse)
2559
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2560
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
2561
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
2562
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2563
+ o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
2564
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2565
+ end)
2566
+
2567
+ api.add_operation(:phone_number_validate, Seahorse::Model::Operation.new.tap do |o|
2568
+ o.name = "PhoneNumberValidate"
2569
+ o.http_method = "POST"
2570
+ o.http_request_uri = "/v1/phone/number/validate"
2571
+ o.input = Shapes::ShapeRef.new(shape: PhoneNumberValidateRequest)
2572
+ o.output = Shapes::ShapeRef.new(shape: PhoneNumberValidateResponse)
2573
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2574
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
2575
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
2576
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2577
+ o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
2578
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2579
+ end)
2580
+
2343
2581
  api.add_operation(:put_event_stream, Seahorse::Model::Operation.new.tap do |o|
2344
2582
  o.name = "PutEventStream"
2345
2583
  o.http_method = "POST"
@@ -2354,6 +2592,20 @@ module Aws::Pinpoint
2354
2592
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2355
2593
  end)
2356
2594
 
2595
+ api.add_operation(:remove_attributes, Seahorse::Model::Operation.new.tap do |o|
2596
+ o.name = "RemoveAttributes"
2597
+ o.http_method = "PUT"
2598
+ o.http_request_uri = "/v1/apps/{application-id}/attributes/{attribute-type}"
2599
+ o.input = Shapes::ShapeRef.new(shape: RemoveAttributesRequest)
2600
+ o.output = Shapes::ShapeRef.new(shape: RemoveAttributesResponse)
2601
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2602
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
2603
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
2604
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2605
+ o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
2606
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2607
+ end)
2608
+
2357
2609
  api.add_operation(:send_messages, Seahorse::Model::Operation.new.tap do |o|
2358
2610
  o.name = "SendMessages"
2359
2611
  o.http_method = "POST"