aws-sdk-personalize 1.37.0 → 1.40.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-personalize/client.rb +562 -118
- data/lib/aws-sdk-personalize/client_api.rb +105 -0
- data/lib/aws-sdk-personalize/errors.rb +32 -0
- data/lib/aws-sdk-personalize/types.rb +520 -56
- data/lib/aws-sdk-personalize.rb +1 -1
- metadata +4 -4
@@ -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')
|
@@ -242,6 +244,15 @@ module Aws::Personalize
|
|
242
244
|
Solutions = Shapes::ListShape.new(name: 'Solutions')
|
243
245
|
Status = Shapes::StringShape.new(name: 'Status')
|
244
246
|
StopSolutionVersionCreationRequest = Shapes::StructureShape.new(name: 'StopSolutionVersionCreationRequest')
|
247
|
+
Tag = Shapes::StructureShape.new(name: 'Tag')
|
248
|
+
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
249
|
+
TagKeys = Shapes::ListShape.new(name: 'TagKeys')
|
250
|
+
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
251
|
+
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
252
|
+
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
253
|
+
Tags = Shapes::ListShape.new(name: 'Tags')
|
254
|
+
TooManyTagKeysException = Shapes::StructureShape.new(name: 'TooManyTagKeysException')
|
255
|
+
TooManyTagsException = Shapes::StructureShape.new(name: 'TooManyTagsException')
|
245
256
|
TrackingId = Shapes::StringShape.new(name: 'TrackingId')
|
246
257
|
TrainingHours = Shapes::FloatShape.new(name: 'TrainingHours')
|
247
258
|
TrainingInputMode = Shapes::StringShape.new(name: 'TrainingInputMode')
|
@@ -249,6 +260,8 @@ module Aws::Personalize
|
|
249
260
|
TransactionsPerSecond = Shapes::IntegerShape.new(name: 'TransactionsPerSecond')
|
250
261
|
Tunable = Shapes::BooleanShape.new(name: 'Tunable')
|
251
262
|
TunedHPOParams = Shapes::StructureShape.new(name: 'TunedHPOParams')
|
263
|
+
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
264
|
+
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
252
265
|
UpdateCampaignRequest = Shapes::StructureShape.new(name: 'UpdateCampaignRequest')
|
253
266
|
UpdateCampaignResponse = Shapes::StructureShape.new(name: 'UpdateCampaignResponse')
|
254
267
|
UpdateRecommenderRequest = Shapes::StructureShape.new(name: 'UpdateRecommenderRequest')
|
@@ -402,6 +415,7 @@ module Aws::Personalize
|
|
402
415
|
CreateBatchInferenceJobRequest.add_member(:job_output, Shapes::ShapeRef.new(shape: BatchInferenceJobOutput, required: true, location_name: "jobOutput"))
|
403
416
|
CreateBatchInferenceJobRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
|
404
417
|
CreateBatchInferenceJobRequest.add_member(:batch_inference_job_config, Shapes::ShapeRef.new(shape: BatchInferenceJobConfig, location_name: "batchInferenceJobConfig"))
|
418
|
+
CreateBatchInferenceJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
405
419
|
CreateBatchInferenceJobRequest.struct_class = Types::CreateBatchInferenceJobRequest
|
406
420
|
|
407
421
|
CreateBatchInferenceJobResponse.add_member(:batch_inference_job_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "batchInferenceJobArn"))
|
@@ -414,6 +428,7 @@ module Aws::Personalize
|
|
414
428
|
CreateBatchSegmentJobRequest.add_member(:job_input, Shapes::ShapeRef.new(shape: BatchSegmentJobInput, required: true, location_name: "jobInput"))
|
415
429
|
CreateBatchSegmentJobRequest.add_member(:job_output, Shapes::ShapeRef.new(shape: BatchSegmentJobOutput, required: true, location_name: "jobOutput"))
|
416
430
|
CreateBatchSegmentJobRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
|
431
|
+
CreateBatchSegmentJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
417
432
|
CreateBatchSegmentJobRequest.struct_class = Types::CreateBatchSegmentJobRequest
|
418
433
|
|
419
434
|
CreateBatchSegmentJobResponse.add_member(:batch_segment_job_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "batchSegmentJobArn"))
|
@@ -423,6 +438,7 @@ module Aws::Personalize
|
|
423
438
|
CreateCampaignRequest.add_member(:solution_version_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "solutionVersionArn"))
|
424
439
|
CreateCampaignRequest.add_member(:min_provisioned_tps, Shapes::ShapeRef.new(shape: TransactionsPerSecond, location_name: "minProvisionedTPS"))
|
425
440
|
CreateCampaignRequest.add_member(:campaign_config, Shapes::ShapeRef.new(shape: CampaignConfig, location_name: "campaignConfig"))
|
441
|
+
CreateCampaignRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
426
442
|
CreateCampaignRequest.struct_class = Types::CreateCampaignRequest
|
427
443
|
|
428
444
|
CreateCampaignResponse.add_member(:campaign_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "campaignArn"))
|
@@ -433,6 +449,7 @@ module Aws::Personalize
|
|
433
449
|
CreateDatasetExportJobRequest.add_member(:ingestion_mode, Shapes::ShapeRef.new(shape: IngestionMode, location_name: "ingestionMode"))
|
434
450
|
CreateDatasetExportJobRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
|
435
451
|
CreateDatasetExportJobRequest.add_member(:job_output, Shapes::ShapeRef.new(shape: DatasetExportJobOutput, required: true, location_name: "jobOutput"))
|
452
|
+
CreateDatasetExportJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
436
453
|
CreateDatasetExportJobRequest.struct_class = Types::CreateDatasetExportJobRequest
|
437
454
|
|
438
455
|
CreateDatasetExportJobResponse.add_member(:dataset_export_job_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "datasetExportJobArn"))
|
@@ -442,6 +459,7 @@ module Aws::Personalize
|
|
442
459
|
CreateDatasetGroupRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
|
443
460
|
CreateDatasetGroupRequest.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "kmsKeyArn"))
|
444
461
|
CreateDatasetGroupRequest.add_member(:domain, Shapes::ShapeRef.new(shape: Domain, location_name: "domain"))
|
462
|
+
CreateDatasetGroupRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
445
463
|
CreateDatasetGroupRequest.struct_class = Types::CreateDatasetGroupRequest
|
446
464
|
|
447
465
|
CreateDatasetGroupResponse.add_member(:dataset_group_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "datasetGroupArn"))
|
@@ -452,6 +470,7 @@ module Aws::Personalize
|
|
452
470
|
CreateDatasetImportJobRequest.add_member(:dataset_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "datasetArn"))
|
453
471
|
CreateDatasetImportJobRequest.add_member(:data_source, Shapes::ShapeRef.new(shape: DataSource, required: true, location_name: "dataSource"))
|
454
472
|
CreateDatasetImportJobRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
|
473
|
+
CreateDatasetImportJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
455
474
|
CreateDatasetImportJobRequest.struct_class = Types::CreateDatasetImportJobRequest
|
456
475
|
|
457
476
|
CreateDatasetImportJobResponse.add_member(:dataset_import_job_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "datasetImportJobArn"))
|
@@ -461,6 +480,7 @@ module Aws::Personalize
|
|
461
480
|
CreateDatasetRequest.add_member(:schema_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "schemaArn"))
|
462
481
|
CreateDatasetRequest.add_member(:dataset_group_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "datasetGroupArn"))
|
463
482
|
CreateDatasetRequest.add_member(:dataset_type, Shapes::ShapeRef.new(shape: DatasetType, required: true, location_name: "datasetType"))
|
483
|
+
CreateDatasetRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
464
484
|
CreateDatasetRequest.struct_class = Types::CreateDatasetRequest
|
465
485
|
|
466
486
|
CreateDatasetResponse.add_member(:dataset_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "datasetArn"))
|
@@ -468,6 +488,7 @@ module Aws::Personalize
|
|
468
488
|
|
469
489
|
CreateEventTrackerRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
|
470
490
|
CreateEventTrackerRequest.add_member(:dataset_group_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "datasetGroupArn"))
|
491
|
+
CreateEventTrackerRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
471
492
|
CreateEventTrackerRequest.struct_class = Types::CreateEventTrackerRequest
|
472
493
|
|
473
494
|
CreateEventTrackerResponse.add_member(:event_tracker_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "eventTrackerArn"))
|
@@ -477,6 +498,7 @@ module Aws::Personalize
|
|
477
498
|
CreateFilterRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
|
478
499
|
CreateFilterRequest.add_member(:dataset_group_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "datasetGroupArn"))
|
479
500
|
CreateFilterRequest.add_member(:filter_expression, Shapes::ShapeRef.new(shape: FilterExpression, required: true, location_name: "filterExpression"))
|
501
|
+
CreateFilterRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
480
502
|
CreateFilterRequest.struct_class = Types::CreateFilterRequest
|
481
503
|
|
482
504
|
CreateFilterResponse.add_member(:filter_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "filterArn"))
|
@@ -486,6 +508,7 @@ module Aws::Personalize
|
|
486
508
|
CreateRecommenderRequest.add_member(:dataset_group_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "datasetGroupArn"))
|
487
509
|
CreateRecommenderRequest.add_member(:recipe_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "recipeArn"))
|
488
510
|
CreateRecommenderRequest.add_member(:recommender_config, Shapes::ShapeRef.new(shape: RecommenderConfig, location_name: "recommenderConfig"))
|
511
|
+
CreateRecommenderRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
489
512
|
CreateRecommenderRequest.struct_class = Types::CreateRecommenderRequest
|
490
513
|
|
491
514
|
CreateRecommenderResponse.add_member(:recommender_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "recommenderArn"))
|
@@ -506,6 +529,7 @@ module Aws::Personalize
|
|
506
529
|
CreateSolutionRequest.add_member(:dataset_group_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "datasetGroupArn"))
|
507
530
|
CreateSolutionRequest.add_member(:event_type, Shapes::ShapeRef.new(shape: EventType, location_name: "eventType"))
|
508
531
|
CreateSolutionRequest.add_member(:solution_config, Shapes::ShapeRef.new(shape: SolutionConfig, location_name: "solutionConfig"))
|
532
|
+
CreateSolutionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
509
533
|
CreateSolutionRequest.struct_class = Types::CreateSolutionRequest
|
510
534
|
|
511
535
|
CreateSolutionResponse.add_member(:solution_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "solutionArn"))
|
@@ -513,6 +537,7 @@ module Aws::Personalize
|
|
513
537
|
|
514
538
|
CreateSolutionVersionRequest.add_member(:solution_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "solutionArn"))
|
515
539
|
CreateSolutionVersionRequest.add_member(:training_mode, Shapes::ShapeRef.new(shape: TrainingMode, location_name: "trainingMode"))
|
540
|
+
CreateSolutionVersionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
516
541
|
CreateSolutionVersionRequest.struct_class = Types::CreateSolutionVersionRequest
|
517
542
|
|
518
543
|
CreateSolutionVersionResponse.add_member(:solution_version_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "solutionVersionArn"))
|
@@ -996,6 +1021,12 @@ module Aws::Personalize
|
|
996
1021
|
ListSolutionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
997
1022
|
ListSolutionsResponse.struct_class = Types::ListSolutionsResponse
|
998
1023
|
|
1024
|
+
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceArn"))
|
1025
|
+
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
1026
|
+
|
1027
|
+
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
1028
|
+
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
1029
|
+
|
999
1030
|
Metrics.key = Shapes::ShapeRef.new(shape: MetricName)
|
1000
1031
|
Metrics.value = Shapes::ShapeRef.new(shape: MetricValue)
|
1001
1032
|
|
@@ -1138,9 +1169,35 @@ module Aws::Personalize
|
|
1138
1169
|
StopSolutionVersionCreationRequest.add_member(:solution_version_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "solutionVersionArn"))
|
1139
1170
|
StopSolutionVersionCreationRequest.struct_class = Types::StopSolutionVersionCreationRequest
|
1140
1171
|
|
1172
|
+
Tag.add_member(:tag_key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "tagKey"))
|
1173
|
+
Tag.add_member(:tag_value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "tagValue"))
|
1174
|
+
Tag.struct_class = Types::Tag
|
1175
|
+
|
1176
|
+
TagKeys.member = Shapes::ShapeRef.new(shape: TagKey)
|
1177
|
+
|
1178
|
+
TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceArn"))
|
1179
|
+
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, required: true, location_name: "tags"))
|
1180
|
+
TagResourceRequest.struct_class = Types::TagResourceRequest
|
1181
|
+
|
1182
|
+
TagResourceResponse.struct_class = Types::TagResourceResponse
|
1183
|
+
|
1184
|
+
Tags.member = Shapes::ShapeRef.new(shape: Tag)
|
1185
|
+
|
1186
|
+
TooManyTagKeysException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
1187
|
+
TooManyTagKeysException.struct_class = Types::TooManyTagKeysException
|
1188
|
+
|
1189
|
+
TooManyTagsException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
1190
|
+
TooManyTagsException.struct_class = Types::TooManyTagsException
|
1191
|
+
|
1141
1192
|
TunedHPOParams.add_member(:algorithm_hyper_parameters, Shapes::ShapeRef.new(shape: HyperParameters, location_name: "algorithmHyperParameters"))
|
1142
1193
|
TunedHPOParams.struct_class = Types::TunedHPOParams
|
1143
1194
|
|
1195
|
+
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceArn"))
|
1196
|
+
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeys, required: true, location_name: "tagKeys"))
|
1197
|
+
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
1198
|
+
|
1199
|
+
UntagResourceResponse.struct_class = Types::UntagResourceResponse
|
1200
|
+
|
1144
1201
|
UpdateCampaignRequest.add_member(:campaign_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "campaignArn"))
|
1145
1202
|
UpdateCampaignRequest.add_member(:solution_version_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "solutionVersionArn"))
|
1146
1203
|
UpdateCampaignRequest.add_member(:min_provisioned_tps, Shapes::ShapeRef.new(shape: TransactionsPerSecond, location_name: "minProvisionedTPS"))
|
@@ -1187,6 +1244,7 @@ module Aws::Personalize
|
|
1187
1244
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1188
1245
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1189
1246
|
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1247
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
|
1190
1248
|
end)
|
1191
1249
|
|
1192
1250
|
api.add_operation(:create_batch_segment_job, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1200,6 +1258,7 @@ module Aws::Personalize
|
|
1200
1258
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1201
1259
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1202
1260
|
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1261
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
|
1203
1262
|
end)
|
1204
1263
|
|
1205
1264
|
api.add_operation(:create_campaign, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1213,6 +1272,7 @@ module Aws::Personalize
|
|
1213
1272
|
o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
|
1214
1273
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1215
1274
|
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1275
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
|
1216
1276
|
end)
|
1217
1277
|
|
1218
1278
|
api.add_operation(:create_dataset, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1226,6 +1286,7 @@ module Aws::Personalize
|
|
1226
1286
|
o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
|
1227
1287
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1228
1288
|
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1289
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
|
1229
1290
|
end)
|
1230
1291
|
|
1231
1292
|
api.add_operation(:create_dataset_export_job, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1239,6 +1300,7 @@ module Aws::Personalize
|
|
1239
1300
|
o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
|
1240
1301
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1241
1302
|
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1303
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
|
1242
1304
|
end)
|
1243
1305
|
|
1244
1306
|
api.add_operation(:create_dataset_group, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1250,6 +1312,7 @@ module Aws::Personalize
|
|
1250
1312
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1251
1313
|
o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
|
1252
1314
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1315
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
|
1253
1316
|
end)
|
1254
1317
|
|
1255
1318
|
api.add_operation(:create_dataset_import_job, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1263,6 +1326,7 @@ module Aws::Personalize
|
|
1263
1326
|
o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
|
1264
1327
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1265
1328
|
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1329
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
|
1266
1330
|
end)
|
1267
1331
|
|
1268
1332
|
api.add_operation(:create_event_tracker, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1276,6 +1340,7 @@ module Aws::Personalize
|
|
1276
1340
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1277
1341
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1278
1342
|
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1343
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
|
1279
1344
|
end)
|
1280
1345
|
|
1281
1346
|
api.add_operation(:create_filter, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1288,6 +1353,7 @@ module Aws::Personalize
|
|
1288
1353
|
o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
|
1289
1354
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1290
1355
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1356
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
|
1291
1357
|
end)
|
1292
1358
|
|
1293
1359
|
api.add_operation(:create_recommender, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1300,6 +1366,7 @@ module Aws::Personalize
|
|
1300
1366
|
o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
|
1301
1367
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1302
1368
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1369
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
|
1303
1370
|
end)
|
1304
1371
|
|
1305
1372
|
api.add_operation(:create_schema, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1324,6 +1391,7 @@ module Aws::Personalize
|
|
1324
1391
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1325
1392
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1326
1393
|
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1394
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
|
1327
1395
|
end)
|
1328
1396
|
|
1329
1397
|
api.add_operation(:create_solution_version, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1336,6 +1404,7 @@ module Aws::Personalize
|
|
1336
1404
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1337
1405
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1338
1406
|
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1407
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
|
1339
1408
|
end)
|
1340
1409
|
|
1341
1410
|
api.add_operation(:delete_campaign, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1820,6 +1889,17 @@ module Aws::Personalize
|
|
1820
1889
|
)
|
1821
1890
|
end)
|
1822
1891
|
|
1892
|
+
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
1893
|
+
o.name = "ListTagsForResource"
|
1894
|
+
o.http_method = "POST"
|
1895
|
+
o.http_request_uri = "/"
|
1896
|
+
o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
|
1897
|
+
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
|
1898
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1899
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1900
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1901
|
+
end)
|
1902
|
+
|
1823
1903
|
api.add_operation(:stop_solution_version_creation, Seahorse::Model::Operation.new.tap do |o|
|
1824
1904
|
o.name = "StopSolutionVersionCreation"
|
1825
1905
|
o.http_method = "POST"
|
@@ -1831,6 +1911,31 @@ module Aws::Personalize
|
|
1831
1911
|
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1832
1912
|
end)
|
1833
1913
|
|
1914
|
+
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
1915
|
+
o.name = "TagResource"
|
1916
|
+
o.http_method = "POST"
|
1917
|
+
o.http_request_uri = "/"
|
1918
|
+
o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
|
1919
|
+
o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
|
1920
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1921
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1922
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
|
1923
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1924
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1925
|
+
end)
|
1926
|
+
|
1927
|
+
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
1928
|
+
o.name = "UntagResource"
|
1929
|
+
o.http_method = "POST"
|
1930
|
+
o.http_request_uri = "/"
|
1931
|
+
o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
|
1932
|
+
o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
|
1933
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1934
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1935
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyTagKeysException)
|
1936
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1937
|
+
end)
|
1938
|
+
|
1834
1939
|
api.add_operation(:update_campaign, Seahorse::Model::Operation.new.tap do |o|
|
1835
1940
|
o.name = "UpdateCampaign"
|
1836
1941
|
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
|