aws-sdk-personalize 1.38.0 → 1.41.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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
 
@@ -1135,12 +1170,50 @@ module Aws::Personalize
1135
1170
 
1136
1171
  Solutions.member = Shapes::ShapeRef.new(shape: SolutionSummary)
1137
1172
 
1173
+ StartRecommenderRequest.add_member(:recommender_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "recommenderArn"))
1174
+ StartRecommenderRequest.struct_class = Types::StartRecommenderRequest
1175
+
1176
+ StartRecommenderResponse.add_member(:recommender_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "recommenderArn"))
1177
+ StartRecommenderResponse.struct_class = Types::StartRecommenderResponse
1178
+
1179
+ StopRecommenderRequest.add_member(:recommender_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "recommenderArn"))
1180
+ StopRecommenderRequest.struct_class = Types::StopRecommenderRequest
1181
+
1182
+ StopRecommenderResponse.add_member(:recommender_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "recommenderArn"))
1183
+ StopRecommenderResponse.struct_class = Types::StopRecommenderResponse
1184
+
1138
1185
  StopSolutionVersionCreationRequest.add_member(:solution_version_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "solutionVersionArn"))
1139
1186
  StopSolutionVersionCreationRequest.struct_class = Types::StopSolutionVersionCreationRequest
1140
1187
 
1188
+ Tag.add_member(:tag_key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "tagKey"))
1189
+ Tag.add_member(:tag_value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "tagValue"))
1190
+ Tag.struct_class = Types::Tag
1191
+
1192
+ TagKeys.member = Shapes::ShapeRef.new(shape: TagKey)
1193
+
1194
+ TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceArn"))
1195
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, required: true, location_name: "tags"))
1196
+ TagResourceRequest.struct_class = Types::TagResourceRequest
1197
+
1198
+ TagResourceResponse.struct_class = Types::TagResourceResponse
1199
+
1200
+ Tags.member = Shapes::ShapeRef.new(shape: Tag)
1201
+
1202
+ TooManyTagKeysException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
1203
+ TooManyTagKeysException.struct_class = Types::TooManyTagKeysException
1204
+
1205
+ TooManyTagsException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
1206
+ TooManyTagsException.struct_class = Types::TooManyTagsException
1207
+
1141
1208
  TunedHPOParams.add_member(:algorithm_hyper_parameters, Shapes::ShapeRef.new(shape: HyperParameters, location_name: "algorithmHyperParameters"))
1142
1209
  TunedHPOParams.struct_class = Types::TunedHPOParams
1143
1210
 
1211
+ UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceArn"))
1212
+ UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeys, required: true, location_name: "tagKeys"))
1213
+ UntagResourceRequest.struct_class = Types::UntagResourceRequest
1214
+
1215
+ UntagResourceResponse.struct_class = Types::UntagResourceResponse
1216
+
1144
1217
  UpdateCampaignRequest.add_member(:campaign_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "campaignArn"))
1145
1218
  UpdateCampaignRequest.add_member(:solution_version_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "solutionVersionArn"))
1146
1219
  UpdateCampaignRequest.add_member(:min_provisioned_tps, Shapes::ShapeRef.new(shape: TransactionsPerSecond, location_name: "minProvisionedTPS"))
@@ -1187,6 +1260,7 @@ module Aws::Personalize
1187
1260
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1188
1261
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1189
1262
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1263
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
1190
1264
  end)
1191
1265
 
1192
1266
  api.add_operation(:create_batch_segment_job, Seahorse::Model::Operation.new.tap do |o|
@@ -1200,6 +1274,7 @@ module Aws::Personalize
1200
1274
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1201
1275
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1202
1276
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1277
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
1203
1278
  end)
1204
1279
 
1205
1280
  api.add_operation(:create_campaign, Seahorse::Model::Operation.new.tap do |o|
@@ -1213,6 +1288,7 @@ module Aws::Personalize
1213
1288
  o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
1214
1289
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1215
1290
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1291
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
1216
1292
  end)
1217
1293
 
1218
1294
  api.add_operation(:create_dataset, Seahorse::Model::Operation.new.tap do |o|
@@ -1226,6 +1302,7 @@ module Aws::Personalize
1226
1302
  o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
1227
1303
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1228
1304
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1305
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
1229
1306
  end)
1230
1307
 
1231
1308
  api.add_operation(:create_dataset_export_job, Seahorse::Model::Operation.new.tap do |o|
@@ -1239,6 +1316,7 @@ module Aws::Personalize
1239
1316
  o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
1240
1317
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1241
1318
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1319
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
1242
1320
  end)
1243
1321
 
1244
1322
  api.add_operation(:create_dataset_group, Seahorse::Model::Operation.new.tap do |o|
@@ -1250,6 +1328,7 @@ module Aws::Personalize
1250
1328
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1251
1329
  o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
1252
1330
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1331
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
1253
1332
  end)
1254
1333
 
1255
1334
  api.add_operation(:create_dataset_import_job, Seahorse::Model::Operation.new.tap do |o|
@@ -1263,6 +1342,7 @@ module Aws::Personalize
1263
1342
  o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
1264
1343
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1265
1344
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1345
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
1266
1346
  end)
1267
1347
 
1268
1348
  api.add_operation(:create_event_tracker, Seahorse::Model::Operation.new.tap do |o|
@@ -1276,6 +1356,7 @@ module Aws::Personalize
1276
1356
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1277
1357
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1278
1358
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1359
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
1279
1360
  end)
1280
1361
 
1281
1362
  api.add_operation(:create_filter, Seahorse::Model::Operation.new.tap do |o|
@@ -1288,6 +1369,7 @@ module Aws::Personalize
1288
1369
  o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
1289
1370
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1290
1371
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1372
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
1291
1373
  end)
1292
1374
 
1293
1375
  api.add_operation(:create_recommender, Seahorse::Model::Operation.new.tap do |o|
@@ -1300,6 +1382,7 @@ module Aws::Personalize
1300
1382
  o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
1301
1383
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1302
1384
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1385
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
1303
1386
  end)
1304
1387
 
1305
1388
  api.add_operation(:create_schema, Seahorse::Model::Operation.new.tap do |o|
@@ -1324,6 +1407,7 @@ module Aws::Personalize
1324
1407
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1325
1408
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1326
1409
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1410
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
1327
1411
  end)
1328
1412
 
1329
1413
  api.add_operation(:create_solution_version, Seahorse::Model::Operation.new.tap do |o|
@@ -1336,6 +1420,7 @@ module Aws::Personalize
1336
1420
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1337
1421
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1338
1422
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1423
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
1339
1424
  end)
1340
1425
 
1341
1426
  api.add_operation(:delete_campaign, Seahorse::Model::Operation.new.tap do |o|
@@ -1820,6 +1905,39 @@ module Aws::Personalize
1820
1905
  )
1821
1906
  end)
1822
1907
 
1908
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
1909
+ o.name = "ListTagsForResource"
1910
+ o.http_method = "POST"
1911
+ o.http_request_uri = "/"
1912
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
1913
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
1914
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1915
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1916
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1917
+ end)
1918
+
1919
+ api.add_operation(:start_recommender, Seahorse::Model::Operation.new.tap do |o|
1920
+ o.name = "StartRecommender"
1921
+ o.http_method = "POST"
1922
+ o.http_request_uri = "/"
1923
+ o.input = Shapes::ShapeRef.new(shape: StartRecommenderRequest)
1924
+ o.output = Shapes::ShapeRef.new(shape: StartRecommenderResponse)
1925
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1926
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1927
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1928
+ end)
1929
+
1930
+ api.add_operation(:stop_recommender, Seahorse::Model::Operation.new.tap do |o|
1931
+ o.name = "StopRecommender"
1932
+ o.http_method = "POST"
1933
+ o.http_request_uri = "/"
1934
+ o.input = Shapes::ShapeRef.new(shape: StopRecommenderRequest)
1935
+ o.output = Shapes::ShapeRef.new(shape: StopRecommenderResponse)
1936
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1937
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1938
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1939
+ end)
1940
+
1823
1941
  api.add_operation(:stop_solution_version_creation, Seahorse::Model::Operation.new.tap do |o|
1824
1942
  o.name = "StopSolutionVersionCreation"
1825
1943
  o.http_method = "POST"
@@ -1831,6 +1949,31 @@ module Aws::Personalize
1831
1949
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1832
1950
  end)
1833
1951
 
1952
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
1953
+ o.name = "TagResource"
1954
+ o.http_method = "POST"
1955
+ o.http_request_uri = "/"
1956
+ o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
1957
+ o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
1958
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1959
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1960
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
1961
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1962
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1963
+ end)
1964
+
1965
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
1966
+ o.name = "UntagResource"
1967
+ o.http_method = "POST"
1968
+ o.http_request_uri = "/"
1969
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
1970
+ o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
1971
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1972
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1973
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagKeysException)
1974
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1975
+ end)
1976
+
1834
1977
  api.add_operation(:update_campaign, Seahorse::Model::Operation.new.tap do |o|
1835
1978
  o.name = "UpdateCampaign"
1836
1979
  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