aws-sdk-personalize 1.39.0 → 1.42.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -201,6 +201,8 @@ module Aws::Personalize
201
201
  ListSolutionVersionsResponse = Shapes::StructureShape.new(name: 'ListSolutionVersionsResponse')
202
202
  ListSolutionsRequest = Shapes::StructureShape.new(name: 'ListSolutionsRequest')
203
203
  ListSolutionsResponse = Shapes::StructureShape.new(name: 'ListSolutionsResponse')
204
+ ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
205
+ ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
204
206
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
205
207
  MetricName = Shapes::StringShape.new(name: 'MetricName')
206
208
  MetricRegex = Shapes::StringShape.new(name: 'MetricRegex')
@@ -240,8 +242,21 @@ module Aws::Personalize
240
242
  SolutionVersionSummary = Shapes::StructureShape.new(name: 'SolutionVersionSummary')
241
243
  SolutionVersions = Shapes::ListShape.new(name: 'SolutionVersions')
242
244
  Solutions = Shapes::ListShape.new(name: 'Solutions')
245
+ StartRecommenderRequest = Shapes::StructureShape.new(name: 'StartRecommenderRequest')
246
+ StartRecommenderResponse = Shapes::StructureShape.new(name: 'StartRecommenderResponse')
243
247
  Status = Shapes::StringShape.new(name: 'Status')
248
+ StopRecommenderRequest = Shapes::StructureShape.new(name: 'StopRecommenderRequest')
249
+ StopRecommenderResponse = Shapes::StructureShape.new(name: 'StopRecommenderResponse')
244
250
  StopSolutionVersionCreationRequest = Shapes::StructureShape.new(name: 'StopSolutionVersionCreationRequest')
251
+ Tag = Shapes::StructureShape.new(name: 'Tag')
252
+ TagKey = Shapes::StringShape.new(name: 'TagKey')
253
+ TagKeys = Shapes::ListShape.new(name: 'TagKeys')
254
+ TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
255
+ TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
256
+ TagValue = Shapes::StringShape.new(name: 'TagValue')
257
+ Tags = Shapes::ListShape.new(name: 'Tags')
258
+ TooManyTagKeysException = Shapes::StructureShape.new(name: 'TooManyTagKeysException')
259
+ TooManyTagsException = Shapes::StructureShape.new(name: 'TooManyTagsException')
245
260
  TrackingId = Shapes::StringShape.new(name: 'TrackingId')
246
261
  TrainingHours = Shapes::FloatShape.new(name: 'TrainingHours')
247
262
  TrainingInputMode = Shapes::StringShape.new(name: 'TrainingInputMode')
@@ -249,6 +264,8 @@ module Aws::Personalize
249
264
  TransactionsPerSecond = Shapes::IntegerShape.new(name: 'TransactionsPerSecond')
250
265
  Tunable = Shapes::BooleanShape.new(name: 'Tunable')
251
266
  TunedHPOParams = Shapes::StructureShape.new(name: 'TunedHPOParams')
267
+ UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
268
+ UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
252
269
  UpdateCampaignRequest = Shapes::StructureShape.new(name: 'UpdateCampaignRequest')
253
270
  UpdateCampaignResponse = Shapes::StructureShape.new(name: 'UpdateCampaignResponse')
254
271
  UpdateRecommenderRequest = Shapes::StructureShape.new(name: 'UpdateRecommenderRequest')
@@ -402,6 +419,7 @@ module Aws::Personalize
402
419
  CreateBatchInferenceJobRequest.add_member(:job_output, Shapes::ShapeRef.new(shape: BatchInferenceJobOutput, required: true, location_name: "jobOutput"))
403
420
  CreateBatchInferenceJobRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
404
421
  CreateBatchInferenceJobRequest.add_member(:batch_inference_job_config, Shapes::ShapeRef.new(shape: BatchInferenceJobConfig, location_name: "batchInferenceJobConfig"))
422
+ CreateBatchInferenceJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
405
423
  CreateBatchInferenceJobRequest.struct_class = Types::CreateBatchInferenceJobRequest
406
424
 
407
425
  CreateBatchInferenceJobResponse.add_member(:batch_inference_job_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "batchInferenceJobArn"))
@@ -414,6 +432,7 @@ module Aws::Personalize
414
432
  CreateBatchSegmentJobRequest.add_member(:job_input, Shapes::ShapeRef.new(shape: BatchSegmentJobInput, required: true, location_name: "jobInput"))
415
433
  CreateBatchSegmentJobRequest.add_member(:job_output, Shapes::ShapeRef.new(shape: BatchSegmentJobOutput, required: true, location_name: "jobOutput"))
416
434
  CreateBatchSegmentJobRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
435
+ CreateBatchSegmentJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
417
436
  CreateBatchSegmentJobRequest.struct_class = Types::CreateBatchSegmentJobRequest
418
437
 
419
438
  CreateBatchSegmentJobResponse.add_member(:batch_segment_job_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "batchSegmentJobArn"))
@@ -423,6 +442,7 @@ module Aws::Personalize
423
442
  CreateCampaignRequest.add_member(:solution_version_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "solutionVersionArn"))
424
443
  CreateCampaignRequest.add_member(:min_provisioned_tps, Shapes::ShapeRef.new(shape: TransactionsPerSecond, location_name: "minProvisionedTPS"))
425
444
  CreateCampaignRequest.add_member(:campaign_config, Shapes::ShapeRef.new(shape: CampaignConfig, location_name: "campaignConfig"))
445
+ CreateCampaignRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
426
446
  CreateCampaignRequest.struct_class = Types::CreateCampaignRequest
427
447
 
428
448
  CreateCampaignResponse.add_member(:campaign_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "campaignArn"))
@@ -433,6 +453,7 @@ module Aws::Personalize
433
453
  CreateDatasetExportJobRequest.add_member(:ingestion_mode, Shapes::ShapeRef.new(shape: IngestionMode, location_name: "ingestionMode"))
434
454
  CreateDatasetExportJobRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
435
455
  CreateDatasetExportJobRequest.add_member(:job_output, Shapes::ShapeRef.new(shape: DatasetExportJobOutput, required: true, location_name: "jobOutput"))
456
+ CreateDatasetExportJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
436
457
  CreateDatasetExportJobRequest.struct_class = Types::CreateDatasetExportJobRequest
437
458
 
438
459
  CreateDatasetExportJobResponse.add_member(:dataset_export_job_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "datasetExportJobArn"))
@@ -442,6 +463,7 @@ module Aws::Personalize
442
463
  CreateDatasetGroupRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
443
464
  CreateDatasetGroupRequest.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "kmsKeyArn"))
444
465
  CreateDatasetGroupRequest.add_member(:domain, Shapes::ShapeRef.new(shape: Domain, location_name: "domain"))
466
+ CreateDatasetGroupRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
445
467
  CreateDatasetGroupRequest.struct_class = Types::CreateDatasetGroupRequest
446
468
 
447
469
  CreateDatasetGroupResponse.add_member(:dataset_group_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "datasetGroupArn"))
@@ -452,6 +474,7 @@ module Aws::Personalize
452
474
  CreateDatasetImportJobRequest.add_member(:dataset_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "datasetArn"))
453
475
  CreateDatasetImportJobRequest.add_member(:data_source, Shapes::ShapeRef.new(shape: DataSource, required: true, location_name: "dataSource"))
454
476
  CreateDatasetImportJobRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
477
+ CreateDatasetImportJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
455
478
  CreateDatasetImportJobRequest.struct_class = Types::CreateDatasetImportJobRequest
456
479
 
457
480
  CreateDatasetImportJobResponse.add_member(:dataset_import_job_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "datasetImportJobArn"))
@@ -461,6 +484,7 @@ module Aws::Personalize
461
484
  CreateDatasetRequest.add_member(:schema_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "schemaArn"))
462
485
  CreateDatasetRequest.add_member(:dataset_group_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "datasetGroupArn"))
463
486
  CreateDatasetRequest.add_member(:dataset_type, Shapes::ShapeRef.new(shape: DatasetType, required: true, location_name: "datasetType"))
487
+ CreateDatasetRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
464
488
  CreateDatasetRequest.struct_class = Types::CreateDatasetRequest
465
489
 
466
490
  CreateDatasetResponse.add_member(:dataset_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "datasetArn"))
@@ -468,6 +492,7 @@ module Aws::Personalize
468
492
 
469
493
  CreateEventTrackerRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
470
494
  CreateEventTrackerRequest.add_member(:dataset_group_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "datasetGroupArn"))
495
+ CreateEventTrackerRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
471
496
  CreateEventTrackerRequest.struct_class = Types::CreateEventTrackerRequest
472
497
 
473
498
  CreateEventTrackerResponse.add_member(:event_tracker_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "eventTrackerArn"))
@@ -477,6 +502,7 @@ module Aws::Personalize
477
502
  CreateFilterRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
478
503
  CreateFilterRequest.add_member(:dataset_group_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "datasetGroupArn"))
479
504
  CreateFilterRequest.add_member(:filter_expression, Shapes::ShapeRef.new(shape: FilterExpression, required: true, location_name: "filterExpression"))
505
+ CreateFilterRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
480
506
  CreateFilterRequest.struct_class = Types::CreateFilterRequest
481
507
 
482
508
  CreateFilterResponse.add_member(:filter_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "filterArn"))
@@ -486,6 +512,7 @@ module Aws::Personalize
486
512
  CreateRecommenderRequest.add_member(:dataset_group_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "datasetGroupArn"))
487
513
  CreateRecommenderRequest.add_member(:recipe_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "recipeArn"))
488
514
  CreateRecommenderRequest.add_member(:recommender_config, Shapes::ShapeRef.new(shape: RecommenderConfig, location_name: "recommenderConfig"))
515
+ CreateRecommenderRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
489
516
  CreateRecommenderRequest.struct_class = Types::CreateRecommenderRequest
490
517
 
491
518
  CreateRecommenderResponse.add_member(:recommender_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "recommenderArn"))
@@ -506,6 +533,7 @@ module Aws::Personalize
506
533
  CreateSolutionRequest.add_member(:dataset_group_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "datasetGroupArn"))
507
534
  CreateSolutionRequest.add_member(:event_type, Shapes::ShapeRef.new(shape: EventType, location_name: "eventType"))
508
535
  CreateSolutionRequest.add_member(:solution_config, Shapes::ShapeRef.new(shape: SolutionConfig, location_name: "solutionConfig"))
536
+ CreateSolutionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
509
537
  CreateSolutionRequest.struct_class = Types::CreateSolutionRequest
510
538
 
511
539
  CreateSolutionResponse.add_member(:solution_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "solutionArn"))
@@ -513,6 +541,7 @@ module Aws::Personalize
513
541
 
514
542
  CreateSolutionVersionRequest.add_member(:solution_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "solutionArn"))
515
543
  CreateSolutionVersionRequest.add_member(:training_mode, Shapes::ShapeRef.new(shape: TrainingMode, location_name: "trainingMode"))
544
+ CreateSolutionVersionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
516
545
  CreateSolutionVersionRequest.struct_class = Types::CreateSolutionVersionRequest
517
546
 
518
547
  CreateSolutionVersionResponse.add_member(:solution_version_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "solutionVersionArn"))
@@ -996,6 +1025,12 @@ module Aws::Personalize
996
1025
  ListSolutionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
997
1026
  ListSolutionsResponse.struct_class = Types::ListSolutionsResponse
998
1027
 
1028
+ ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceArn"))
1029
+ ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
1030
+
1031
+ ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
1032
+ ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
1033
+
999
1034
  Metrics.key = Shapes::ShapeRef.new(shape: MetricName)
1000
1035
  Metrics.value = Shapes::ShapeRef.new(shape: MetricValue)
1001
1036
 
@@ -1034,6 +1069,7 @@ module Aws::Personalize
1034
1069
  Recommender.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "status"))
1035
1070
  Recommender.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "failureReason"))
1036
1071
  Recommender.add_member(:latest_recommender_update, Shapes::ShapeRef.new(shape: RecommenderUpdateSummary, location_name: "latestRecommenderUpdate"))
1072
+ Recommender.add_member(:model_metrics, Shapes::ShapeRef.new(shape: Metrics, location_name: "modelMetrics"))
1037
1073
  Recommender.struct_class = Types::Recommender
1038
1074
 
1039
1075
  RecommenderConfig.add_member(:item_exploration_config, Shapes::ShapeRef.new(shape: HyperParameters, location_name: "itemExplorationConfig"))
@@ -1135,12 +1171,50 @@ module Aws::Personalize
1135
1171
 
1136
1172
  Solutions.member = Shapes::ShapeRef.new(shape: SolutionSummary)
1137
1173
 
1174
+ StartRecommenderRequest.add_member(:recommender_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "recommenderArn"))
1175
+ StartRecommenderRequest.struct_class = Types::StartRecommenderRequest
1176
+
1177
+ StartRecommenderResponse.add_member(:recommender_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "recommenderArn"))
1178
+ StartRecommenderResponse.struct_class = Types::StartRecommenderResponse
1179
+
1180
+ StopRecommenderRequest.add_member(:recommender_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "recommenderArn"))
1181
+ StopRecommenderRequest.struct_class = Types::StopRecommenderRequest
1182
+
1183
+ StopRecommenderResponse.add_member(:recommender_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "recommenderArn"))
1184
+ StopRecommenderResponse.struct_class = Types::StopRecommenderResponse
1185
+
1138
1186
  StopSolutionVersionCreationRequest.add_member(:solution_version_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "solutionVersionArn"))
1139
1187
  StopSolutionVersionCreationRequest.struct_class = Types::StopSolutionVersionCreationRequest
1140
1188
 
1189
+ Tag.add_member(:tag_key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "tagKey"))
1190
+ Tag.add_member(:tag_value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "tagValue"))
1191
+ Tag.struct_class = Types::Tag
1192
+
1193
+ TagKeys.member = Shapes::ShapeRef.new(shape: TagKey)
1194
+
1195
+ TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceArn"))
1196
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, required: true, location_name: "tags"))
1197
+ TagResourceRequest.struct_class = Types::TagResourceRequest
1198
+
1199
+ TagResourceResponse.struct_class = Types::TagResourceResponse
1200
+
1201
+ Tags.member = Shapes::ShapeRef.new(shape: Tag)
1202
+
1203
+ TooManyTagKeysException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
1204
+ TooManyTagKeysException.struct_class = Types::TooManyTagKeysException
1205
+
1206
+ TooManyTagsException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
1207
+ TooManyTagsException.struct_class = Types::TooManyTagsException
1208
+
1141
1209
  TunedHPOParams.add_member(:algorithm_hyper_parameters, Shapes::ShapeRef.new(shape: HyperParameters, location_name: "algorithmHyperParameters"))
1142
1210
  TunedHPOParams.struct_class = Types::TunedHPOParams
1143
1211
 
1212
+ UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceArn"))
1213
+ UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeys, required: true, location_name: "tagKeys"))
1214
+ UntagResourceRequest.struct_class = Types::UntagResourceRequest
1215
+
1216
+ UntagResourceResponse.struct_class = Types::UntagResourceResponse
1217
+
1144
1218
  UpdateCampaignRequest.add_member(:campaign_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "campaignArn"))
1145
1219
  UpdateCampaignRequest.add_member(:solution_version_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "solutionVersionArn"))
1146
1220
  UpdateCampaignRequest.add_member(:min_provisioned_tps, Shapes::ShapeRef.new(shape: TransactionsPerSecond, location_name: "minProvisionedTPS"))
@@ -1187,6 +1261,7 @@ module Aws::Personalize
1187
1261
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1188
1262
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1189
1263
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1264
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
1190
1265
  end)
1191
1266
 
1192
1267
  api.add_operation(:create_batch_segment_job, Seahorse::Model::Operation.new.tap do |o|
@@ -1200,6 +1275,7 @@ module Aws::Personalize
1200
1275
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1201
1276
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1202
1277
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1278
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
1203
1279
  end)
1204
1280
 
1205
1281
  api.add_operation(:create_campaign, Seahorse::Model::Operation.new.tap do |o|
@@ -1213,6 +1289,7 @@ module Aws::Personalize
1213
1289
  o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
1214
1290
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1215
1291
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1292
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
1216
1293
  end)
1217
1294
 
1218
1295
  api.add_operation(:create_dataset, Seahorse::Model::Operation.new.tap do |o|
@@ -1226,6 +1303,7 @@ module Aws::Personalize
1226
1303
  o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
1227
1304
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1228
1305
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1306
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
1229
1307
  end)
1230
1308
 
1231
1309
  api.add_operation(:create_dataset_export_job, Seahorse::Model::Operation.new.tap do |o|
@@ -1239,6 +1317,7 @@ module Aws::Personalize
1239
1317
  o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
1240
1318
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1241
1319
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1320
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
1242
1321
  end)
1243
1322
 
1244
1323
  api.add_operation(:create_dataset_group, Seahorse::Model::Operation.new.tap do |o|
@@ -1250,6 +1329,7 @@ module Aws::Personalize
1250
1329
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1251
1330
  o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
1252
1331
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1332
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
1253
1333
  end)
1254
1334
 
1255
1335
  api.add_operation(:create_dataset_import_job, Seahorse::Model::Operation.new.tap do |o|
@@ -1263,6 +1343,7 @@ module Aws::Personalize
1263
1343
  o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
1264
1344
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1265
1345
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1346
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
1266
1347
  end)
1267
1348
 
1268
1349
  api.add_operation(:create_event_tracker, Seahorse::Model::Operation.new.tap do |o|
@@ -1276,6 +1357,7 @@ module Aws::Personalize
1276
1357
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1277
1358
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1278
1359
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1360
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
1279
1361
  end)
1280
1362
 
1281
1363
  api.add_operation(:create_filter, Seahorse::Model::Operation.new.tap do |o|
@@ -1288,6 +1370,7 @@ module Aws::Personalize
1288
1370
  o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
1289
1371
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1290
1372
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1373
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
1291
1374
  end)
1292
1375
 
1293
1376
  api.add_operation(:create_recommender, Seahorse::Model::Operation.new.tap do |o|
@@ -1300,6 +1383,8 @@ module Aws::Personalize
1300
1383
  o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
1301
1384
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1302
1385
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1386
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1387
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
1303
1388
  end)
1304
1389
 
1305
1390
  api.add_operation(:create_schema, Seahorse::Model::Operation.new.tap do |o|
@@ -1324,6 +1409,7 @@ module Aws::Personalize
1324
1409
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1325
1410
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1326
1411
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1412
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
1327
1413
  end)
1328
1414
 
1329
1415
  api.add_operation(:create_solution_version, Seahorse::Model::Operation.new.tap do |o|
@@ -1336,6 +1422,7 @@ module Aws::Personalize
1336
1422
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1337
1423
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1338
1424
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1425
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
1339
1426
  end)
1340
1427
 
1341
1428
  api.add_operation(:delete_campaign, Seahorse::Model::Operation.new.tap do |o|
@@ -1820,6 +1907,39 @@ module Aws::Personalize
1820
1907
  )
1821
1908
  end)
1822
1909
 
1910
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
1911
+ o.name = "ListTagsForResource"
1912
+ o.http_method = "POST"
1913
+ o.http_request_uri = "/"
1914
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
1915
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
1916
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1917
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1918
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1919
+ end)
1920
+
1921
+ api.add_operation(:start_recommender, Seahorse::Model::Operation.new.tap do |o|
1922
+ o.name = "StartRecommender"
1923
+ o.http_method = "POST"
1924
+ o.http_request_uri = "/"
1925
+ o.input = Shapes::ShapeRef.new(shape: StartRecommenderRequest)
1926
+ o.output = Shapes::ShapeRef.new(shape: StartRecommenderResponse)
1927
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1928
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1929
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1930
+ end)
1931
+
1932
+ api.add_operation(:stop_recommender, Seahorse::Model::Operation.new.tap do |o|
1933
+ o.name = "StopRecommender"
1934
+ o.http_method = "POST"
1935
+ o.http_request_uri = "/"
1936
+ o.input = Shapes::ShapeRef.new(shape: StopRecommenderRequest)
1937
+ o.output = Shapes::ShapeRef.new(shape: StopRecommenderResponse)
1938
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1939
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1940
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1941
+ end)
1942
+
1823
1943
  api.add_operation(:stop_solution_version_creation, Seahorse::Model::Operation.new.tap do |o|
1824
1944
  o.name = "StopSolutionVersionCreation"
1825
1945
  o.http_method = "POST"
@@ -1831,6 +1951,31 @@ module Aws::Personalize
1831
1951
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1832
1952
  end)
1833
1953
 
1954
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
1955
+ o.name = "TagResource"
1956
+ o.http_method = "POST"
1957
+ o.http_request_uri = "/"
1958
+ o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
1959
+ o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
1960
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1961
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1962
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
1963
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1964
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1965
+ end)
1966
+
1967
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
1968
+ o.name = "UntagResource"
1969
+ o.http_method = "POST"
1970
+ o.http_request_uri = "/"
1971
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
1972
+ o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
1973
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1974
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1975
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagKeysException)
1976
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1977
+ end)
1978
+
1834
1979
  api.add_operation(:update_campaign, Seahorse::Model::Operation.new.tap do |o|
1835
1980
  o.name = "UpdateCampaign"
1836
1981
  o.http_method = "POST"
@@ -33,6 +33,8 @@ module Aws::Personalize
33
33
  # * {ResourceAlreadyExistsException}
34
34
  # * {ResourceInUseException}
35
35
  # * {ResourceNotFoundException}
36
+ # * {TooManyTagKeysException}
37
+ # * {TooManyTagsException}
36
38
  #
37
39
  # Additionally, error classes are dynamically generated for service errors based on the error code
38
40
  # if they are not defined above.
@@ -130,5 +132,35 @@ module Aws::Personalize
130
132
  end
131
133
  end
132
134
 
135
+ class TooManyTagKeysException < ServiceError
136
+
137
+ # @param [Seahorse::Client::RequestContext] context
138
+ # @param [String] message
139
+ # @param [Aws::Personalize::Types::TooManyTagKeysException] data
140
+ def initialize(context, message, data = Aws::EmptyStructure.new)
141
+ super(context, message, data)
142
+ end
143
+
144
+ # @return [String]
145
+ def message
146
+ @message || @data[:message]
147
+ end
148
+ end
149
+
150
+ class TooManyTagsException < ServiceError
151
+
152
+ # @param [Seahorse::Client::RequestContext] context
153
+ # @param [String] message
154
+ # @param [Aws::Personalize::Types::TooManyTagsException] data
155
+ def initialize(context, message, data = Aws::EmptyStructure.new)
156
+ super(context, message, data)
157
+ end
158
+
159
+ # @return [String]
160
+ def message
161
+ @message || @data[:message]
162
+ end
163
+ end
164
+
133
165
  end
134
166
  end