aws-sdk-personalize 1.33.0 → 1.37.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.
@@ -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,46 @@ 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.add_member(:min_recommendation_requests_per_second, Shapes::ShapeRef.new(shape: TransactionsPerSecond, location_name: "minRecommendationRequestsPerSecond"))
1041
+ RecommenderConfig.struct_class = Types::RecommenderConfig
1042
+
1043
+ RecommenderSummary.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
1044
+ RecommenderSummary.add_member(:recommender_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "recommenderArn"))
1045
+ RecommenderSummary.add_member(:dataset_group_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "datasetGroupArn"))
1046
+ RecommenderSummary.add_member(:recipe_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "recipeArn"))
1047
+ RecommenderSummary.add_member(:recommender_config, Shapes::ShapeRef.new(shape: RecommenderConfig, location_name: "recommenderConfig"))
1048
+ RecommenderSummary.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "status"))
1049
+ RecommenderSummary.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "creationDateTime"))
1050
+ RecommenderSummary.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "lastUpdatedDateTime"))
1051
+ RecommenderSummary.struct_class = Types::RecommenderSummary
1052
+
1053
+ RecommenderUpdateSummary.add_member(:recommender_config, Shapes::ShapeRef.new(shape: RecommenderConfig, location_name: "recommenderConfig"))
1054
+ RecommenderUpdateSummary.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "creationDateTime"))
1055
+ RecommenderUpdateSummary.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "lastUpdatedDateTime"))
1056
+ RecommenderUpdateSummary.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "status"))
1057
+ RecommenderUpdateSummary.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "failureReason"))
1058
+ RecommenderUpdateSummary.struct_class = Types::RecommenderUpdateSummary
1059
+
1060
+ Recommenders.member = Shapes::ShapeRef.new(shape: RecommenderSummary)
1061
+
907
1062
  ResourceAlreadyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
908
1063
  ResourceAlreadyExistsException.struct_class = Types::ResourceAlreadyExistsException
909
1064
 
@@ -995,6 +1150,13 @@ module Aws::Personalize
995
1150
  UpdateCampaignResponse.add_member(:campaign_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "campaignArn"))
996
1151
  UpdateCampaignResponse.struct_class = Types::UpdateCampaignResponse
997
1152
 
1153
+ UpdateRecommenderRequest.add_member(:recommender_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "recommenderArn"))
1154
+ UpdateRecommenderRequest.add_member(:recommender_config, Shapes::ShapeRef.new(shape: RecommenderConfig, required: true, location_name: "recommenderConfig"))
1155
+ UpdateRecommenderRequest.struct_class = Types::UpdateRecommenderRequest
1156
+
1157
+ UpdateRecommenderResponse.add_member(:recommender_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "recommenderArn"))
1158
+ UpdateRecommenderResponse.struct_class = Types::UpdateRecommenderResponse
1159
+
998
1160
 
999
1161
  # @api private
1000
1162
  API = Seahorse::Model::Api.new.tap do |api|
@@ -1027,6 +1189,19 @@ module Aws::Personalize
1027
1189
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1028
1190
  end)
1029
1191
 
1192
+ api.add_operation(:create_batch_segment_job, Seahorse::Model::Operation.new.tap do |o|
1193
+ o.name = "CreateBatchSegmentJob"
1194
+ o.http_method = "POST"
1195
+ o.http_request_uri = "/"
1196
+ o.input = Shapes::ShapeRef.new(shape: CreateBatchSegmentJobRequest)
1197
+ o.output = Shapes::ShapeRef.new(shape: CreateBatchSegmentJobResponse)
1198
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1199
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
1200
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1201
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1202
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1203
+ end)
1204
+
1030
1205
  api.add_operation(:create_campaign, Seahorse::Model::Operation.new.tap do |o|
1031
1206
  o.name = "CreateCampaign"
1032
1207
  o.http_method = "POST"
@@ -1115,6 +1290,18 @@ module Aws::Personalize
1115
1290
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1116
1291
  end)
1117
1292
 
1293
+ api.add_operation(:create_recommender, Seahorse::Model::Operation.new.tap do |o|
1294
+ o.name = "CreateRecommender"
1295
+ o.http_method = "POST"
1296
+ o.http_request_uri = "/"
1297
+ o.input = Shapes::ShapeRef.new(shape: CreateRecommenderRequest)
1298
+ o.output = Shapes::ShapeRef.new(shape: CreateRecommenderResponse)
1299
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1300
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
1301
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1302
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1303
+ end)
1304
+
1118
1305
  api.add_operation(:create_schema, Seahorse::Model::Operation.new.tap do |o|
1119
1306
  o.name = "CreateSchema"
1120
1307
  o.http_method = "POST"
@@ -1206,6 +1393,17 @@ module Aws::Personalize
1206
1393
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1207
1394
  end)
1208
1395
 
1396
+ api.add_operation(:delete_recommender, Seahorse::Model::Operation.new.tap do |o|
1397
+ o.name = "DeleteRecommender"
1398
+ o.http_method = "POST"
1399
+ o.http_request_uri = "/"
1400
+ o.input = Shapes::ShapeRef.new(shape: DeleteRecommenderRequest)
1401
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1402
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1403
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1404
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1405
+ end)
1406
+
1209
1407
  api.add_operation(:delete_schema, Seahorse::Model::Operation.new.tap do |o|
1210
1408
  o.name = "DeleteSchema"
1211
1409
  o.http_method = "POST"
@@ -1248,6 +1446,16 @@ module Aws::Personalize
1248
1446
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1249
1447
  end)
1250
1448
 
1449
+ api.add_operation(:describe_batch_segment_job, Seahorse::Model::Operation.new.tap do |o|
1450
+ o.name = "DescribeBatchSegmentJob"
1451
+ o.http_method = "POST"
1452
+ o.http_request_uri = "/"
1453
+ o.input = Shapes::ShapeRef.new(shape: DescribeBatchSegmentJobRequest)
1454
+ o.output = Shapes::ShapeRef.new(shape: DescribeBatchSegmentJobResponse)
1455
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1456
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1457
+ end)
1458
+
1251
1459
  api.add_operation(:describe_campaign, Seahorse::Model::Operation.new.tap do |o|
1252
1460
  o.name = "DescribeCampaign"
1253
1461
  o.http_method = "POST"
@@ -1338,6 +1546,16 @@ module Aws::Personalize
1338
1546
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1339
1547
  end)
1340
1548
 
1549
+ api.add_operation(:describe_recommender, Seahorse::Model::Operation.new.tap do |o|
1550
+ o.name = "DescribeRecommender"
1551
+ o.http_method = "POST"
1552
+ o.http_request_uri = "/"
1553
+ o.input = Shapes::ShapeRef.new(shape: DescribeRecommenderRequest)
1554
+ o.output = Shapes::ShapeRef.new(shape: DescribeRecommenderResponse)
1555
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1556
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1557
+ end)
1558
+
1341
1559
  api.add_operation(:describe_schema, Seahorse::Model::Operation.new.tap do |o|
1342
1560
  o.name = "DescribeSchema"
1343
1561
  o.http_method = "POST"
@@ -1395,6 +1613,22 @@ module Aws::Personalize
1395
1613
  )
1396
1614
  end)
1397
1615
 
1616
+ api.add_operation(:list_batch_segment_jobs, Seahorse::Model::Operation.new.tap do |o|
1617
+ o.name = "ListBatchSegmentJobs"
1618
+ o.http_method = "POST"
1619
+ o.http_request_uri = "/"
1620
+ o.input = Shapes::ShapeRef.new(shape: ListBatchSegmentJobsRequest)
1621
+ o.output = Shapes::ShapeRef.new(shape: ListBatchSegmentJobsResponse)
1622
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1623
+ o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
1624
+ o[:pager] = Aws::Pager.new(
1625
+ limit_key: "max_results",
1626
+ tokens: {
1627
+ "next_token" => "next_token"
1628
+ }
1629
+ )
1630
+ end)
1631
+
1398
1632
  api.add_operation(:list_campaigns, Seahorse::Model::Operation.new.tap do |o|
1399
1633
  o.name = "ListCampaigns"
1400
1634
  o.http_method = "POST"
@@ -1513,6 +1747,23 @@ module Aws::Personalize
1513
1747
  o.input = Shapes::ShapeRef.new(shape: ListRecipesRequest)
1514
1748
  o.output = Shapes::ShapeRef.new(shape: ListRecipesResponse)
1515
1749
  o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
1750
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1751
+ o[:pager] = Aws::Pager.new(
1752
+ limit_key: "max_results",
1753
+ tokens: {
1754
+ "next_token" => "next_token"
1755
+ }
1756
+ )
1757
+ end)
1758
+
1759
+ api.add_operation(:list_recommenders, Seahorse::Model::Operation.new.tap do |o|
1760
+ o.name = "ListRecommenders"
1761
+ o.http_method = "POST"
1762
+ o.http_request_uri = "/"
1763
+ o.input = Shapes::ShapeRef.new(shape: ListRecommendersRequest)
1764
+ o.output = Shapes::ShapeRef.new(shape: ListRecommendersResponse)
1765
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1766
+ o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
1516
1767
  o[:pager] = Aws::Pager.new(
1517
1768
  limit_key: "max_results",
1518
1769
  tokens: {
@@ -1590,6 +1841,17 @@ module Aws::Personalize
1590
1841
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1591
1842
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1592
1843
  end)
1844
+
1845
+ api.add_operation(:update_recommender, Seahorse::Model::Operation.new.tap do |o|
1846
+ o.name = "UpdateRecommender"
1847
+ o.http_method = "POST"
1848
+ o.http_request_uri = "/"
1849
+ o.input = Shapes::ShapeRef.new(shape: UpdateRecommenderRequest)
1850
+ o.output = Shapes::ShapeRef.new(shape: UpdateRecommenderResponse)
1851
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1852
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1853
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1854
+ end)
1593
1855
  end
1594
1856
 
1595
1857
  end