aws-sdk-personalize 1.33.0 → 1.34.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -27,6 +27,11 @@ module Aws::Personalize
27
27
  BatchInferenceJobOutput = Shapes::StructureShape.new(name: 'BatchInferenceJobOutput')
28
28
  BatchInferenceJobSummary = Shapes::StructureShape.new(name: 'BatchInferenceJobSummary')
29
29
  BatchInferenceJobs = Shapes::ListShape.new(name: 'BatchInferenceJobs')
30
+ BatchSegmentJob = Shapes::StructureShape.new(name: 'BatchSegmentJob')
31
+ BatchSegmentJobInput = Shapes::StructureShape.new(name: 'BatchSegmentJobInput')
32
+ BatchSegmentJobOutput = Shapes::StructureShape.new(name: 'BatchSegmentJobOutput')
33
+ BatchSegmentJobSummary = Shapes::StructureShape.new(name: 'BatchSegmentJobSummary')
34
+ BatchSegmentJobs = Shapes::ListShape.new(name: 'BatchSegmentJobs')
30
35
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
31
36
  Campaign = Shapes::StructureShape.new(name: 'Campaign')
32
37
  CampaignConfig = Shapes::StructureShape.new(name: 'CampaignConfig')
@@ -43,6 +48,8 @@ module Aws::Personalize
43
48
  ContinuousMinValue = Shapes::FloatShape.new(name: 'ContinuousMinValue')
44
49
  CreateBatchInferenceJobRequest = Shapes::StructureShape.new(name: 'CreateBatchInferenceJobRequest')
45
50
  CreateBatchInferenceJobResponse = Shapes::StructureShape.new(name: 'CreateBatchInferenceJobResponse')
51
+ CreateBatchSegmentJobRequest = Shapes::StructureShape.new(name: 'CreateBatchSegmentJobRequest')
52
+ CreateBatchSegmentJobResponse = Shapes::StructureShape.new(name: 'CreateBatchSegmentJobResponse')
46
53
  CreateCampaignRequest = Shapes::StructureShape.new(name: 'CreateCampaignRequest')
47
54
  CreateCampaignResponse = Shapes::StructureShape.new(name: 'CreateCampaignResponse')
48
55
  CreateDatasetExportJobRequest = Shapes::StructureShape.new(name: 'CreateDatasetExportJobRequest')
@@ -57,6 +64,8 @@ module Aws::Personalize
57
64
  CreateEventTrackerResponse = Shapes::StructureShape.new(name: 'CreateEventTrackerResponse')
58
65
  CreateFilterRequest = Shapes::StructureShape.new(name: 'CreateFilterRequest')
59
66
  CreateFilterResponse = Shapes::StructureShape.new(name: 'CreateFilterResponse')
67
+ CreateRecommenderRequest = Shapes::StructureShape.new(name: 'CreateRecommenderRequest')
68
+ CreateRecommenderResponse = Shapes::StructureShape.new(name: 'CreateRecommenderResponse')
60
69
  CreateSchemaRequest = Shapes::StructureShape.new(name: 'CreateSchemaRequest')
61
70
  CreateSchemaResponse = Shapes::StructureShape.new(name: 'CreateSchemaResponse')
62
71
  CreateSolutionRequest = Shapes::StructureShape.new(name: 'CreateSolutionRequest')
@@ -93,12 +102,15 @@ module Aws::Personalize
93
102
  DeleteDatasetRequest = Shapes::StructureShape.new(name: 'DeleteDatasetRequest')
94
103
  DeleteEventTrackerRequest = Shapes::StructureShape.new(name: 'DeleteEventTrackerRequest')
95
104
  DeleteFilterRequest = Shapes::StructureShape.new(name: 'DeleteFilterRequest')
105
+ DeleteRecommenderRequest = Shapes::StructureShape.new(name: 'DeleteRecommenderRequest')
96
106
  DeleteSchemaRequest = Shapes::StructureShape.new(name: 'DeleteSchemaRequest')
97
107
  DeleteSolutionRequest = Shapes::StructureShape.new(name: 'DeleteSolutionRequest')
98
108
  DescribeAlgorithmRequest = Shapes::StructureShape.new(name: 'DescribeAlgorithmRequest')
99
109
  DescribeAlgorithmResponse = Shapes::StructureShape.new(name: 'DescribeAlgorithmResponse')
100
110
  DescribeBatchInferenceJobRequest = Shapes::StructureShape.new(name: 'DescribeBatchInferenceJobRequest')
101
111
  DescribeBatchInferenceJobResponse = Shapes::StructureShape.new(name: 'DescribeBatchInferenceJobResponse')
112
+ DescribeBatchSegmentJobRequest = Shapes::StructureShape.new(name: 'DescribeBatchSegmentJobRequest')
113
+ DescribeBatchSegmentJobResponse = Shapes::StructureShape.new(name: 'DescribeBatchSegmentJobResponse')
102
114
  DescribeCampaignRequest = Shapes::StructureShape.new(name: 'DescribeCampaignRequest')
103
115
  DescribeCampaignResponse = Shapes::StructureShape.new(name: 'DescribeCampaignResponse')
104
116
  DescribeDatasetExportJobRequest = Shapes::StructureShape.new(name: 'DescribeDatasetExportJobRequest')
@@ -117,6 +129,8 @@ module Aws::Personalize
117
129
  DescribeFilterResponse = Shapes::StructureShape.new(name: 'DescribeFilterResponse')
118
130
  DescribeRecipeRequest = Shapes::StructureShape.new(name: 'DescribeRecipeRequest')
119
131
  DescribeRecipeResponse = Shapes::StructureShape.new(name: 'DescribeRecipeResponse')
132
+ DescribeRecommenderRequest = Shapes::StructureShape.new(name: 'DescribeRecommenderRequest')
133
+ DescribeRecommenderResponse = Shapes::StructureShape.new(name: 'DescribeRecommenderResponse')
120
134
  DescribeSchemaRequest = Shapes::StructureShape.new(name: 'DescribeSchemaRequest')
121
135
  DescribeSchemaResponse = Shapes::StructureShape.new(name: 'DescribeSchemaResponse')
122
136
  DescribeSolutionRequest = Shapes::StructureShape.new(name: 'DescribeSolutionRequest')
@@ -125,6 +139,7 @@ module Aws::Personalize
125
139
  DescribeSolutionVersionResponse = Shapes::StructureShape.new(name: 'DescribeSolutionVersionResponse')
126
140
  Description = Shapes::StringShape.new(name: 'Description')
127
141
  DockerURI = Shapes::StringShape.new(name: 'DockerURI')
142
+ Domain = Shapes::StringShape.new(name: 'Domain')
128
143
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
129
144
  EventTracker = Shapes::StructureShape.new(name: 'EventTracker')
130
145
  EventTrackerSummary = Shapes::StructureShape.new(name: 'EventTrackerSummary')
@@ -160,6 +175,8 @@ module Aws::Personalize
160
175
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
161
176
  ListBatchInferenceJobsRequest = Shapes::StructureShape.new(name: 'ListBatchInferenceJobsRequest')
162
177
  ListBatchInferenceJobsResponse = Shapes::StructureShape.new(name: 'ListBatchInferenceJobsResponse')
178
+ ListBatchSegmentJobsRequest = Shapes::StructureShape.new(name: 'ListBatchSegmentJobsRequest')
179
+ ListBatchSegmentJobsResponse = Shapes::StructureShape.new(name: 'ListBatchSegmentJobsResponse')
163
180
  ListCampaignsRequest = Shapes::StructureShape.new(name: 'ListCampaignsRequest')
164
181
  ListCampaignsResponse = Shapes::StructureShape.new(name: 'ListCampaignsResponse')
165
182
  ListDatasetExportJobsRequest = Shapes::StructureShape.new(name: 'ListDatasetExportJobsRequest')
@@ -176,6 +193,8 @@ module Aws::Personalize
176
193
  ListFiltersResponse = Shapes::StructureShape.new(name: 'ListFiltersResponse')
177
194
  ListRecipesRequest = Shapes::StructureShape.new(name: 'ListRecipesRequest')
178
195
  ListRecipesResponse = Shapes::StructureShape.new(name: 'ListRecipesResponse')
196
+ ListRecommendersRequest = Shapes::StructureShape.new(name: 'ListRecommendersRequest')
197
+ ListRecommendersResponse = Shapes::StructureShape.new(name: 'ListRecommendersResponse')
179
198
  ListSchemasRequest = Shapes::StructureShape.new(name: 'ListSchemasRequest')
180
199
  ListSchemasResponse = Shapes::StructureShape.new(name: 'ListSchemasResponse')
181
200
  ListSolutionVersionsRequest = Shapes::StructureShape.new(name: 'ListSolutionVersionsRequest')
@@ -201,6 +220,11 @@ module Aws::Personalize
201
220
  RecipeSummary = Shapes::StructureShape.new(name: 'RecipeSummary')
202
221
  RecipeType = Shapes::StringShape.new(name: 'RecipeType')
203
222
  Recipes = Shapes::ListShape.new(name: 'Recipes')
223
+ Recommender = Shapes::StructureShape.new(name: 'Recommender')
224
+ RecommenderConfig = Shapes::StructureShape.new(name: 'RecommenderConfig')
225
+ RecommenderSummary = Shapes::StructureShape.new(name: 'RecommenderSummary')
226
+ RecommenderUpdateSummary = Shapes::StructureShape.new(name: 'RecommenderUpdateSummary')
227
+ Recommenders = Shapes::ListShape.new(name: 'Recommenders')
204
228
  ResourceAlreadyExistsException = Shapes::StructureShape.new(name: 'ResourceAlreadyExistsException')
205
229
  ResourceConfig = Shapes::MapShape.new(name: 'ResourceConfig')
206
230
  ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException')
@@ -227,6 +251,8 @@ module Aws::Personalize
227
251
  TunedHPOParams = Shapes::StructureShape.new(name: 'TunedHPOParams')
228
252
  UpdateCampaignRequest = Shapes::StructureShape.new(name: 'UpdateCampaignRequest')
229
253
  UpdateCampaignResponse = Shapes::StructureShape.new(name: 'UpdateCampaignResponse')
254
+ UpdateRecommenderRequest = Shapes::StructureShape.new(name: 'UpdateRecommenderRequest')
255
+ UpdateRecommenderResponse = Shapes::StructureShape.new(name: 'UpdateRecommenderResponse')
230
256
 
231
257
  Algorithm.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
232
258
  Algorithm.add_member(:algorithm_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "algorithmArn"))
@@ -288,6 +314,37 @@ module Aws::Personalize
288
314
 
289
315
  BatchInferenceJobs.member = Shapes::ShapeRef.new(shape: BatchInferenceJobSummary)
290
316
 
317
+ BatchSegmentJob.add_member(:job_name, Shapes::ShapeRef.new(shape: Name, location_name: "jobName"))
318
+ BatchSegmentJob.add_member(:batch_segment_job_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "batchSegmentJobArn"))
319
+ BatchSegmentJob.add_member(:filter_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "filterArn"))
320
+ BatchSegmentJob.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "failureReason"))
321
+ BatchSegmentJob.add_member(:solution_version_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "solutionVersionArn"))
322
+ BatchSegmentJob.add_member(:num_results, Shapes::ShapeRef.new(shape: NumBatchResults, location_name: "numResults"))
323
+ BatchSegmentJob.add_member(:job_input, Shapes::ShapeRef.new(shape: BatchSegmentJobInput, location_name: "jobInput"))
324
+ BatchSegmentJob.add_member(:job_output, Shapes::ShapeRef.new(shape: BatchSegmentJobOutput, location_name: "jobOutput"))
325
+ BatchSegmentJob.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
326
+ BatchSegmentJob.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "status"))
327
+ BatchSegmentJob.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "creationDateTime"))
328
+ BatchSegmentJob.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "lastUpdatedDateTime"))
329
+ BatchSegmentJob.struct_class = Types::BatchSegmentJob
330
+
331
+ BatchSegmentJobInput.add_member(:s3_data_source, Shapes::ShapeRef.new(shape: S3DataConfig, required: true, location_name: "s3DataSource"))
332
+ BatchSegmentJobInput.struct_class = Types::BatchSegmentJobInput
333
+
334
+ BatchSegmentJobOutput.add_member(:s3_data_destination, Shapes::ShapeRef.new(shape: S3DataConfig, required: true, location_name: "s3DataDestination"))
335
+ BatchSegmentJobOutput.struct_class = Types::BatchSegmentJobOutput
336
+
337
+ BatchSegmentJobSummary.add_member(:batch_segment_job_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "batchSegmentJobArn"))
338
+ BatchSegmentJobSummary.add_member(:job_name, Shapes::ShapeRef.new(shape: Name, location_name: "jobName"))
339
+ BatchSegmentJobSummary.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "status"))
340
+ BatchSegmentJobSummary.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "creationDateTime"))
341
+ BatchSegmentJobSummary.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "lastUpdatedDateTime"))
342
+ BatchSegmentJobSummary.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "failureReason"))
343
+ BatchSegmentJobSummary.add_member(:solution_version_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "solutionVersionArn"))
344
+ BatchSegmentJobSummary.struct_class = Types::BatchSegmentJobSummary
345
+
346
+ BatchSegmentJobs.member = Shapes::ShapeRef.new(shape: BatchSegmentJobSummary)
347
+
291
348
  Campaign.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
292
349
  Campaign.add_member(:campaign_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "campaignArn"))
293
350
  Campaign.add_member(:solution_version_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "solutionVersionArn"))
@@ -350,6 +407,18 @@ module Aws::Personalize
350
407
  CreateBatchInferenceJobResponse.add_member(:batch_inference_job_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "batchInferenceJobArn"))
351
408
  CreateBatchInferenceJobResponse.struct_class = Types::CreateBatchInferenceJobResponse
352
409
 
410
+ CreateBatchSegmentJobRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "jobName"))
411
+ CreateBatchSegmentJobRequest.add_member(:solution_version_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "solutionVersionArn"))
412
+ CreateBatchSegmentJobRequest.add_member(:filter_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "filterArn"))
413
+ CreateBatchSegmentJobRequest.add_member(:num_results, Shapes::ShapeRef.new(shape: NumBatchResults, location_name: "numResults"))
414
+ CreateBatchSegmentJobRequest.add_member(:job_input, Shapes::ShapeRef.new(shape: BatchSegmentJobInput, required: true, location_name: "jobInput"))
415
+ CreateBatchSegmentJobRequest.add_member(:job_output, Shapes::ShapeRef.new(shape: BatchSegmentJobOutput, required: true, location_name: "jobOutput"))
416
+ CreateBatchSegmentJobRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
417
+ CreateBatchSegmentJobRequest.struct_class = Types::CreateBatchSegmentJobRequest
418
+
419
+ CreateBatchSegmentJobResponse.add_member(:batch_segment_job_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "batchSegmentJobArn"))
420
+ CreateBatchSegmentJobResponse.struct_class = Types::CreateBatchSegmentJobResponse
421
+
353
422
  CreateCampaignRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
354
423
  CreateCampaignRequest.add_member(:solution_version_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "solutionVersionArn"))
355
424
  CreateCampaignRequest.add_member(:min_provisioned_tps, Shapes::ShapeRef.new(shape: TransactionsPerSecond, location_name: "minProvisionedTPS"))
@@ -372,9 +441,11 @@ module Aws::Personalize
372
441
  CreateDatasetGroupRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
373
442
  CreateDatasetGroupRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
374
443
  CreateDatasetGroupRequest.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "kmsKeyArn"))
444
+ CreateDatasetGroupRequest.add_member(:domain, Shapes::ShapeRef.new(shape: Domain, location_name: "domain"))
375
445
  CreateDatasetGroupRequest.struct_class = Types::CreateDatasetGroupRequest
376
446
 
377
447
  CreateDatasetGroupResponse.add_member(:dataset_group_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "datasetGroupArn"))
448
+ CreateDatasetGroupResponse.add_member(:domain, Shapes::ShapeRef.new(shape: Domain, location_name: "domain"))
378
449
  CreateDatasetGroupResponse.struct_class = Types::CreateDatasetGroupResponse
379
450
 
380
451
  CreateDatasetImportJobRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "jobName"))
@@ -411,8 +482,18 @@ module Aws::Personalize
411
482
  CreateFilterResponse.add_member(:filter_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "filterArn"))
412
483
  CreateFilterResponse.struct_class = Types::CreateFilterResponse
413
484
 
485
+ CreateRecommenderRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
486
+ CreateRecommenderRequest.add_member(:dataset_group_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "datasetGroupArn"))
487
+ CreateRecommenderRequest.add_member(:recipe_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "recipeArn"))
488
+ CreateRecommenderRequest.add_member(:recommender_config, Shapes::ShapeRef.new(shape: RecommenderConfig, location_name: "recommenderConfig"))
489
+ CreateRecommenderRequest.struct_class = Types::CreateRecommenderRequest
490
+
491
+ CreateRecommenderResponse.add_member(:recommender_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "recommenderArn"))
492
+ CreateRecommenderResponse.struct_class = Types::CreateRecommenderResponse
493
+
414
494
  CreateSchemaRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
415
495
  CreateSchemaRequest.add_member(:schema, Shapes::ShapeRef.new(shape: AvroSchema, required: true, location_name: "schema"))
496
+ CreateSchemaRequest.add_member(:domain, Shapes::ShapeRef.new(shape: Domain, location_name: "domain"))
416
497
  CreateSchemaRequest.struct_class = Types::CreateSchemaRequest
417
498
 
418
499
  CreateSchemaResponse.add_member(:schema_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "schemaArn"))
@@ -483,6 +564,7 @@ module Aws::Personalize
483
564
  DatasetGroup.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "creationDateTime"))
484
565
  DatasetGroup.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "lastUpdatedDateTime"))
485
566
  DatasetGroup.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "failureReason"))
567
+ DatasetGroup.add_member(:domain, Shapes::ShapeRef.new(shape: Domain, location_name: "domain"))
486
568
  DatasetGroup.struct_class = Types::DatasetGroup
487
569
 
488
570
  DatasetGroupSummary.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
@@ -491,6 +573,7 @@ module Aws::Personalize
491
573
  DatasetGroupSummary.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "creationDateTime"))
492
574
  DatasetGroupSummary.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "lastUpdatedDateTime"))
493
575
  DatasetGroupSummary.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "failureReason"))
576
+ DatasetGroupSummary.add_member(:domain, Shapes::ShapeRef.new(shape: Domain, location_name: "domain"))
494
577
  DatasetGroupSummary.struct_class = Types::DatasetGroupSummary
495
578
 
496
579
  DatasetGroups.member = Shapes::ShapeRef.new(shape: DatasetGroupSummary)
@@ -521,12 +604,14 @@ module Aws::Personalize
521
604
  DatasetSchema.add_member(:schema, Shapes::ShapeRef.new(shape: AvroSchema, location_name: "schema"))
522
605
  DatasetSchema.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "creationDateTime"))
523
606
  DatasetSchema.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "lastUpdatedDateTime"))
607
+ DatasetSchema.add_member(:domain, Shapes::ShapeRef.new(shape: Domain, location_name: "domain"))
524
608
  DatasetSchema.struct_class = Types::DatasetSchema
525
609
 
526
610
  DatasetSchemaSummary.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
527
611
  DatasetSchemaSummary.add_member(:schema_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "schemaArn"))
528
612
  DatasetSchemaSummary.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "creationDateTime"))
529
613
  DatasetSchemaSummary.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "lastUpdatedDateTime"))
614
+ DatasetSchemaSummary.add_member(:domain, Shapes::ShapeRef.new(shape: Domain, location_name: "domain"))
530
615
  DatasetSchemaSummary.struct_class = Types::DatasetSchemaSummary
531
616
 
532
617
  DatasetSummary.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
@@ -582,6 +667,9 @@ module Aws::Personalize
582
667
  DeleteFilterRequest.add_member(:filter_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "filterArn"))
583
668
  DeleteFilterRequest.struct_class = Types::DeleteFilterRequest
584
669
 
670
+ DeleteRecommenderRequest.add_member(:recommender_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "recommenderArn"))
671
+ DeleteRecommenderRequest.struct_class = Types::DeleteRecommenderRequest
672
+
585
673
  DeleteSchemaRequest.add_member(:schema_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "schemaArn"))
586
674
  DeleteSchemaRequest.struct_class = Types::DeleteSchemaRequest
587
675
 
@@ -600,6 +688,12 @@ module Aws::Personalize
600
688
  DescribeBatchInferenceJobResponse.add_member(:batch_inference_job, Shapes::ShapeRef.new(shape: BatchInferenceJob, location_name: "batchInferenceJob"))
601
689
  DescribeBatchInferenceJobResponse.struct_class = Types::DescribeBatchInferenceJobResponse
602
690
 
691
+ DescribeBatchSegmentJobRequest.add_member(:batch_segment_job_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "batchSegmentJobArn"))
692
+ DescribeBatchSegmentJobRequest.struct_class = Types::DescribeBatchSegmentJobRequest
693
+
694
+ DescribeBatchSegmentJobResponse.add_member(:batch_segment_job, Shapes::ShapeRef.new(shape: BatchSegmentJob, location_name: "batchSegmentJob"))
695
+ DescribeBatchSegmentJobResponse.struct_class = Types::DescribeBatchSegmentJobResponse
696
+
603
697
  DescribeCampaignRequest.add_member(:campaign_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "campaignArn"))
604
698
  DescribeCampaignRequest.struct_class = Types::DescribeCampaignRequest
605
699
 
@@ -654,6 +748,12 @@ module Aws::Personalize
654
748
  DescribeRecipeResponse.add_member(:recipe, Shapes::ShapeRef.new(shape: Recipe, location_name: "recipe"))
655
749
  DescribeRecipeResponse.struct_class = Types::DescribeRecipeResponse
656
750
 
751
+ DescribeRecommenderRequest.add_member(:recommender_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "recommenderArn"))
752
+ DescribeRecommenderRequest.struct_class = Types::DescribeRecommenderRequest
753
+
754
+ DescribeRecommenderResponse.add_member(:recommender, Shapes::ShapeRef.new(shape: Recommender, location_name: "recommender"))
755
+ DescribeRecommenderResponse.struct_class = Types::DescribeRecommenderResponse
756
+
657
757
  DescribeSchemaRequest.add_member(:schema_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "schemaArn"))
658
758
  DescribeSchemaRequest.struct_class = Types::DescribeSchemaRequest
659
759
 
@@ -780,6 +880,15 @@ module Aws::Personalize
780
880
  ListBatchInferenceJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
781
881
  ListBatchInferenceJobsResponse.struct_class = Types::ListBatchInferenceJobsResponse
782
882
 
883
+ ListBatchSegmentJobsRequest.add_member(:solution_version_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "solutionVersionArn"))
884
+ ListBatchSegmentJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
885
+ ListBatchSegmentJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
886
+ ListBatchSegmentJobsRequest.struct_class = Types::ListBatchSegmentJobsRequest
887
+
888
+ ListBatchSegmentJobsResponse.add_member(:batch_segment_jobs, Shapes::ShapeRef.new(shape: BatchSegmentJobs, location_name: "batchSegmentJobs"))
889
+ ListBatchSegmentJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
890
+ ListBatchSegmentJobsResponse.struct_class = Types::ListBatchSegmentJobsResponse
891
+
783
892
  ListCampaignsRequest.add_member(:solution_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "solutionArn"))
784
893
  ListCampaignsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
785
894
  ListCampaignsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
@@ -845,12 +954,22 @@ module Aws::Personalize
845
954
  ListRecipesRequest.add_member(:recipe_provider, Shapes::ShapeRef.new(shape: RecipeProvider, location_name: "recipeProvider"))
846
955
  ListRecipesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
847
956
  ListRecipesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
957
+ ListRecipesRequest.add_member(:domain, Shapes::ShapeRef.new(shape: Domain, location_name: "domain"))
848
958
  ListRecipesRequest.struct_class = Types::ListRecipesRequest
849
959
 
850
960
  ListRecipesResponse.add_member(:recipes, Shapes::ShapeRef.new(shape: Recipes, location_name: "recipes"))
851
961
  ListRecipesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
852
962
  ListRecipesResponse.struct_class = Types::ListRecipesResponse
853
963
 
964
+ ListRecommendersRequest.add_member(:dataset_group_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "datasetGroupArn"))
965
+ ListRecommendersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
966
+ ListRecommendersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
967
+ ListRecommendersRequest.struct_class = Types::ListRecommendersRequest
968
+
969
+ ListRecommendersResponse.add_member(:recommenders, Shapes::ShapeRef.new(shape: Recommenders, location_name: "recommenders"))
970
+ ListRecommendersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
971
+ ListRecommendersResponse.struct_class = Types::ListRecommendersResponse
972
+
854
973
  ListSchemasRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
855
974
  ListSchemasRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
856
975
  ListSchemasRequest.struct_class = Types::ListSchemasRequest
@@ -900,10 +1019,45 @@ module Aws::Personalize
900
1019
  RecipeSummary.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "status"))
901
1020
  RecipeSummary.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "creationDateTime"))
902
1021
  RecipeSummary.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "lastUpdatedDateTime"))
1022
+ RecipeSummary.add_member(:domain, Shapes::ShapeRef.new(shape: Domain, location_name: "domain"))
903
1023
  RecipeSummary.struct_class = Types::RecipeSummary
904
1024
 
905
1025
  Recipes.member = Shapes::ShapeRef.new(shape: RecipeSummary)
906
1026
 
1027
+ Recommender.add_member(:recommender_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "recommenderArn"))
1028
+ Recommender.add_member(:dataset_group_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "datasetGroupArn"))
1029
+ Recommender.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
1030
+ Recommender.add_member(:recipe_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "recipeArn"))
1031
+ Recommender.add_member(:recommender_config, Shapes::ShapeRef.new(shape: RecommenderConfig, location_name: "recommenderConfig"))
1032
+ Recommender.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "creationDateTime"))
1033
+ Recommender.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "lastUpdatedDateTime"))
1034
+ Recommender.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "status"))
1035
+ Recommender.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "failureReason"))
1036
+ Recommender.add_member(:latest_recommender_update, Shapes::ShapeRef.new(shape: RecommenderUpdateSummary, location_name: "latestRecommenderUpdate"))
1037
+ Recommender.struct_class = Types::Recommender
1038
+
1039
+ RecommenderConfig.add_member(:item_exploration_config, Shapes::ShapeRef.new(shape: HyperParameters, location_name: "itemExplorationConfig"))
1040
+ RecommenderConfig.struct_class = Types::RecommenderConfig
1041
+
1042
+ RecommenderSummary.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
1043
+ RecommenderSummary.add_member(:recommender_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "recommenderArn"))
1044
+ RecommenderSummary.add_member(:dataset_group_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "datasetGroupArn"))
1045
+ RecommenderSummary.add_member(:recipe_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "recipeArn"))
1046
+ RecommenderSummary.add_member(:recommender_config, Shapes::ShapeRef.new(shape: RecommenderConfig, location_name: "recommenderConfig"))
1047
+ RecommenderSummary.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "status"))
1048
+ RecommenderSummary.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "creationDateTime"))
1049
+ RecommenderSummary.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "lastUpdatedDateTime"))
1050
+ RecommenderSummary.struct_class = Types::RecommenderSummary
1051
+
1052
+ RecommenderUpdateSummary.add_member(:recommender_config, Shapes::ShapeRef.new(shape: RecommenderConfig, location_name: "recommenderConfig"))
1053
+ RecommenderUpdateSummary.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "creationDateTime"))
1054
+ RecommenderUpdateSummary.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "lastUpdatedDateTime"))
1055
+ RecommenderUpdateSummary.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "status"))
1056
+ RecommenderUpdateSummary.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "failureReason"))
1057
+ RecommenderUpdateSummary.struct_class = Types::RecommenderUpdateSummary
1058
+
1059
+ Recommenders.member = Shapes::ShapeRef.new(shape: RecommenderSummary)
1060
+
907
1061
  ResourceAlreadyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
908
1062
  ResourceAlreadyExistsException.struct_class = Types::ResourceAlreadyExistsException
909
1063
 
@@ -995,6 +1149,13 @@ module Aws::Personalize
995
1149
  UpdateCampaignResponse.add_member(:campaign_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "campaignArn"))
996
1150
  UpdateCampaignResponse.struct_class = Types::UpdateCampaignResponse
997
1151
 
1152
+ UpdateRecommenderRequest.add_member(:recommender_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "recommenderArn"))
1153
+ UpdateRecommenderRequest.add_member(:recommender_config, Shapes::ShapeRef.new(shape: RecommenderConfig, required: true, location_name: "recommenderConfig"))
1154
+ UpdateRecommenderRequest.struct_class = Types::UpdateRecommenderRequest
1155
+
1156
+ UpdateRecommenderResponse.add_member(:recommender_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "recommenderArn"))
1157
+ UpdateRecommenderResponse.struct_class = Types::UpdateRecommenderResponse
1158
+
998
1159
 
999
1160
  # @api private
1000
1161
  API = Seahorse::Model::Api.new.tap do |api|
@@ -1027,6 +1188,19 @@ module Aws::Personalize
1027
1188
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1028
1189
  end)
1029
1190
 
1191
+ api.add_operation(:create_batch_segment_job, Seahorse::Model::Operation.new.tap do |o|
1192
+ o.name = "CreateBatchSegmentJob"
1193
+ o.http_method = "POST"
1194
+ o.http_request_uri = "/"
1195
+ o.input = Shapes::ShapeRef.new(shape: CreateBatchSegmentJobRequest)
1196
+ o.output = Shapes::ShapeRef.new(shape: CreateBatchSegmentJobResponse)
1197
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1198
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
1199
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1200
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1201
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1202
+ end)
1203
+
1030
1204
  api.add_operation(:create_campaign, Seahorse::Model::Operation.new.tap do |o|
1031
1205
  o.name = "CreateCampaign"
1032
1206
  o.http_method = "POST"
@@ -1115,6 +1289,18 @@ module Aws::Personalize
1115
1289
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1116
1290
  end)
1117
1291
 
1292
+ api.add_operation(:create_recommender, Seahorse::Model::Operation.new.tap do |o|
1293
+ o.name = "CreateRecommender"
1294
+ o.http_method = "POST"
1295
+ o.http_request_uri = "/"
1296
+ o.input = Shapes::ShapeRef.new(shape: CreateRecommenderRequest)
1297
+ o.output = Shapes::ShapeRef.new(shape: CreateRecommenderResponse)
1298
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1299
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
1300
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1301
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1302
+ end)
1303
+
1118
1304
  api.add_operation(:create_schema, Seahorse::Model::Operation.new.tap do |o|
1119
1305
  o.name = "CreateSchema"
1120
1306
  o.http_method = "POST"
@@ -1206,6 +1392,17 @@ module Aws::Personalize
1206
1392
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1207
1393
  end)
1208
1394
 
1395
+ api.add_operation(:delete_recommender, Seahorse::Model::Operation.new.tap do |o|
1396
+ o.name = "DeleteRecommender"
1397
+ o.http_method = "POST"
1398
+ o.http_request_uri = "/"
1399
+ o.input = Shapes::ShapeRef.new(shape: DeleteRecommenderRequest)
1400
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1401
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1402
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1403
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1404
+ end)
1405
+
1209
1406
  api.add_operation(:delete_schema, Seahorse::Model::Operation.new.tap do |o|
1210
1407
  o.name = "DeleteSchema"
1211
1408
  o.http_method = "POST"
@@ -1248,6 +1445,16 @@ module Aws::Personalize
1248
1445
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1249
1446
  end)
1250
1447
 
1448
+ api.add_operation(:describe_batch_segment_job, Seahorse::Model::Operation.new.tap do |o|
1449
+ o.name = "DescribeBatchSegmentJob"
1450
+ o.http_method = "POST"
1451
+ o.http_request_uri = "/"
1452
+ o.input = Shapes::ShapeRef.new(shape: DescribeBatchSegmentJobRequest)
1453
+ o.output = Shapes::ShapeRef.new(shape: DescribeBatchSegmentJobResponse)
1454
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1455
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1456
+ end)
1457
+
1251
1458
  api.add_operation(:describe_campaign, Seahorse::Model::Operation.new.tap do |o|
1252
1459
  o.name = "DescribeCampaign"
1253
1460
  o.http_method = "POST"
@@ -1338,6 +1545,16 @@ module Aws::Personalize
1338
1545
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1339
1546
  end)
1340
1547
 
1548
+ api.add_operation(:describe_recommender, Seahorse::Model::Operation.new.tap do |o|
1549
+ o.name = "DescribeRecommender"
1550
+ o.http_method = "POST"
1551
+ o.http_request_uri = "/"
1552
+ o.input = Shapes::ShapeRef.new(shape: DescribeRecommenderRequest)
1553
+ o.output = Shapes::ShapeRef.new(shape: DescribeRecommenderResponse)
1554
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1555
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1556
+ end)
1557
+
1341
1558
  api.add_operation(:describe_schema, Seahorse::Model::Operation.new.tap do |o|
1342
1559
  o.name = "DescribeSchema"
1343
1560
  o.http_method = "POST"
@@ -1395,6 +1612,22 @@ module Aws::Personalize
1395
1612
  )
1396
1613
  end)
1397
1614
 
1615
+ api.add_operation(:list_batch_segment_jobs, Seahorse::Model::Operation.new.tap do |o|
1616
+ o.name = "ListBatchSegmentJobs"
1617
+ o.http_method = "POST"
1618
+ o.http_request_uri = "/"
1619
+ o.input = Shapes::ShapeRef.new(shape: ListBatchSegmentJobsRequest)
1620
+ o.output = Shapes::ShapeRef.new(shape: ListBatchSegmentJobsResponse)
1621
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1622
+ o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
1623
+ o[:pager] = Aws::Pager.new(
1624
+ limit_key: "max_results",
1625
+ tokens: {
1626
+ "next_token" => "next_token"
1627
+ }
1628
+ )
1629
+ end)
1630
+
1398
1631
  api.add_operation(:list_campaigns, Seahorse::Model::Operation.new.tap do |o|
1399
1632
  o.name = "ListCampaigns"
1400
1633
  o.http_method = "POST"
@@ -1513,6 +1746,23 @@ module Aws::Personalize
1513
1746
  o.input = Shapes::ShapeRef.new(shape: ListRecipesRequest)
1514
1747
  o.output = Shapes::ShapeRef.new(shape: ListRecipesResponse)
1515
1748
  o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
1749
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1750
+ o[:pager] = Aws::Pager.new(
1751
+ limit_key: "max_results",
1752
+ tokens: {
1753
+ "next_token" => "next_token"
1754
+ }
1755
+ )
1756
+ end)
1757
+
1758
+ api.add_operation(:list_recommenders, Seahorse::Model::Operation.new.tap do |o|
1759
+ o.name = "ListRecommenders"
1760
+ o.http_method = "POST"
1761
+ o.http_request_uri = "/"
1762
+ o.input = Shapes::ShapeRef.new(shape: ListRecommendersRequest)
1763
+ o.output = Shapes::ShapeRef.new(shape: ListRecommendersResponse)
1764
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1765
+ o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
1516
1766
  o[:pager] = Aws::Pager.new(
1517
1767
  limit_key: "max_results",
1518
1768
  tokens: {
@@ -1590,6 +1840,17 @@ module Aws::Personalize
1590
1840
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1591
1841
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1592
1842
  end)
1843
+
1844
+ api.add_operation(:update_recommender, Seahorse::Model::Operation.new.tap do |o|
1845
+ o.name = "UpdateRecommender"
1846
+ o.http_method = "POST"
1847
+ o.http_request_uri = "/"
1848
+ o.input = Shapes::ShapeRef.new(shape: UpdateRecommenderRequest)
1849
+ o.output = Shapes::ShapeRef.new(shape: UpdateRecommenderResponse)
1850
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1851
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1852
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1853
+ end)
1593
1854
  end
1594
1855
 
1595
1856
  end