aws-sdk-personalize 1.44.0 → 1.46.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 +13 -1
- data/VERSION +1 -1
- data/lib/aws-sdk-personalize/client.rb +282 -1
- data/lib/aws-sdk-personalize/client_api.rb +181 -0
- data/lib/aws-sdk-personalize/endpoint_provider.rb +35 -96
- data/lib/aws-sdk-personalize/endpoints.rb +84 -0
- data/lib/aws-sdk-personalize/plugins/endpoints.rb +12 -0
- data/lib/aws-sdk-personalize/types.rb +384 -942
- data/lib/aws-sdk-personalize.rb +1 -1
- metadata +2 -2
@@ -64,6 +64,8 @@ module Aws::Personalize
|
|
64
64
|
CreateEventTrackerResponse = Shapes::StructureShape.new(name: 'CreateEventTrackerResponse')
|
65
65
|
CreateFilterRequest = Shapes::StructureShape.new(name: 'CreateFilterRequest')
|
66
66
|
CreateFilterResponse = Shapes::StructureShape.new(name: 'CreateFilterResponse')
|
67
|
+
CreateMetricAttributionRequest = Shapes::StructureShape.new(name: 'CreateMetricAttributionRequest')
|
68
|
+
CreateMetricAttributionResponse = Shapes::StructureShape.new(name: 'CreateMetricAttributionResponse')
|
67
69
|
CreateRecommenderRequest = Shapes::StructureShape.new(name: 'CreateRecommenderRequest')
|
68
70
|
CreateRecommenderResponse = Shapes::StructureShape.new(name: 'CreateRecommenderResponse')
|
69
71
|
CreateSchemaRequest = Shapes::StructureShape.new(name: 'CreateSchemaRequest')
|
@@ -102,6 +104,7 @@ module Aws::Personalize
|
|
102
104
|
DeleteDatasetRequest = Shapes::StructureShape.new(name: 'DeleteDatasetRequest')
|
103
105
|
DeleteEventTrackerRequest = Shapes::StructureShape.new(name: 'DeleteEventTrackerRequest')
|
104
106
|
DeleteFilterRequest = Shapes::StructureShape.new(name: 'DeleteFilterRequest')
|
107
|
+
DeleteMetricAttributionRequest = Shapes::StructureShape.new(name: 'DeleteMetricAttributionRequest')
|
105
108
|
DeleteRecommenderRequest = Shapes::StructureShape.new(name: 'DeleteRecommenderRequest')
|
106
109
|
DeleteSchemaRequest = Shapes::StructureShape.new(name: 'DeleteSchemaRequest')
|
107
110
|
DeleteSolutionRequest = Shapes::StructureShape.new(name: 'DeleteSolutionRequest')
|
@@ -127,6 +130,8 @@ module Aws::Personalize
|
|
127
130
|
DescribeFeatureTransformationResponse = Shapes::StructureShape.new(name: 'DescribeFeatureTransformationResponse')
|
128
131
|
DescribeFilterRequest = Shapes::StructureShape.new(name: 'DescribeFilterRequest')
|
129
132
|
DescribeFilterResponse = Shapes::StructureShape.new(name: 'DescribeFilterResponse')
|
133
|
+
DescribeMetricAttributionRequest = Shapes::StructureShape.new(name: 'DescribeMetricAttributionRequest')
|
134
|
+
DescribeMetricAttributionResponse = Shapes::StructureShape.new(name: 'DescribeMetricAttributionResponse')
|
130
135
|
DescribeRecipeRequest = Shapes::StructureShape.new(name: 'DescribeRecipeRequest')
|
131
136
|
DescribeRecipeResponse = Shapes::StructureShape.new(name: 'DescribeRecipeResponse')
|
132
137
|
DescribeRecommenderRequest = Shapes::StructureShape.new(name: 'DescribeRecommenderRequest')
|
@@ -192,6 +197,10 @@ module Aws::Personalize
|
|
192
197
|
ListEventTrackersResponse = Shapes::StructureShape.new(name: 'ListEventTrackersResponse')
|
193
198
|
ListFiltersRequest = Shapes::StructureShape.new(name: 'ListFiltersRequest')
|
194
199
|
ListFiltersResponse = Shapes::StructureShape.new(name: 'ListFiltersResponse')
|
200
|
+
ListMetricAttributionMetricsRequest = Shapes::StructureShape.new(name: 'ListMetricAttributionMetricsRequest')
|
201
|
+
ListMetricAttributionMetricsResponse = Shapes::StructureShape.new(name: 'ListMetricAttributionMetricsResponse')
|
202
|
+
ListMetricAttributionsRequest = Shapes::StructureShape.new(name: 'ListMetricAttributionsRequest')
|
203
|
+
ListMetricAttributionsResponse = Shapes::StructureShape.new(name: 'ListMetricAttributionsResponse')
|
195
204
|
ListRecipesRequest = Shapes::StructureShape.new(name: 'ListRecipesRequest')
|
196
205
|
ListRecipesResponse = Shapes::StructureShape.new(name: 'ListRecipesResponse')
|
197
206
|
ListRecommendersRequest = Shapes::StructureShape.new(name: 'ListRecommendersRequest')
|
@@ -205,6 +214,14 @@ module Aws::Personalize
|
|
205
214
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
206
215
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
207
216
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
217
|
+
MetricAttribute = Shapes::StructureShape.new(name: 'MetricAttribute')
|
218
|
+
MetricAttributes = Shapes::ListShape.new(name: 'MetricAttributes')
|
219
|
+
MetricAttributesNamesList = Shapes::ListShape.new(name: 'MetricAttributesNamesList')
|
220
|
+
MetricAttribution = Shapes::StructureShape.new(name: 'MetricAttribution')
|
221
|
+
MetricAttributionOutput = Shapes::StructureShape.new(name: 'MetricAttributionOutput')
|
222
|
+
MetricAttributionSummary = Shapes::StructureShape.new(name: 'MetricAttributionSummary')
|
223
|
+
MetricAttributions = Shapes::ListShape.new(name: 'MetricAttributions')
|
224
|
+
MetricExpression = Shapes::StringShape.new(name: 'MetricExpression')
|
208
225
|
MetricName = Shapes::StringShape.new(name: 'MetricName')
|
209
226
|
MetricRegex = Shapes::StringShape.new(name: 'MetricRegex')
|
210
227
|
MetricValue = Shapes::FloatShape.new(name: 'MetricValue')
|
@@ -269,6 +286,8 @@ module Aws::Personalize
|
|
269
286
|
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
270
287
|
UpdateCampaignRequest = Shapes::StructureShape.new(name: 'UpdateCampaignRequest')
|
271
288
|
UpdateCampaignResponse = Shapes::StructureShape.new(name: 'UpdateCampaignResponse')
|
289
|
+
UpdateMetricAttributionRequest = Shapes::StructureShape.new(name: 'UpdateMetricAttributionRequest')
|
290
|
+
UpdateMetricAttributionResponse = Shapes::StructureShape.new(name: 'UpdateMetricAttributionResponse')
|
272
291
|
UpdateRecommenderRequest = Shapes::StructureShape.new(name: 'UpdateRecommenderRequest')
|
273
292
|
UpdateRecommenderResponse = Shapes::StructureShape.new(name: 'UpdateRecommenderResponse')
|
274
293
|
|
@@ -477,6 +496,7 @@ module Aws::Personalize
|
|
477
496
|
CreateDatasetImportJobRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
|
478
497
|
CreateDatasetImportJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
479
498
|
CreateDatasetImportJobRequest.add_member(:import_mode, Shapes::ShapeRef.new(shape: ImportMode, location_name: "importMode"))
|
499
|
+
CreateDatasetImportJobRequest.add_member(:publish_attribution_metrics_to_s3, Shapes::ShapeRef.new(shape: Boolean, location_name: "publishAttributionMetricsToS3"))
|
480
500
|
CreateDatasetImportJobRequest.struct_class = Types::CreateDatasetImportJobRequest
|
481
501
|
|
482
502
|
CreateDatasetImportJobResponse.add_member(:dataset_import_job_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "datasetImportJobArn"))
|
@@ -510,6 +530,15 @@ module Aws::Personalize
|
|
510
530
|
CreateFilterResponse.add_member(:filter_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "filterArn"))
|
511
531
|
CreateFilterResponse.struct_class = Types::CreateFilterResponse
|
512
532
|
|
533
|
+
CreateMetricAttributionRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
|
534
|
+
CreateMetricAttributionRequest.add_member(:dataset_group_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "datasetGroupArn"))
|
535
|
+
CreateMetricAttributionRequest.add_member(:metrics, Shapes::ShapeRef.new(shape: MetricAttributes, required: true, location_name: "metrics"))
|
536
|
+
CreateMetricAttributionRequest.add_member(:metrics_output_config, Shapes::ShapeRef.new(shape: MetricAttributionOutput, required: true, location_name: "metricsOutputConfig"))
|
537
|
+
CreateMetricAttributionRequest.struct_class = Types::CreateMetricAttributionRequest
|
538
|
+
|
539
|
+
CreateMetricAttributionResponse.add_member(:metric_attribution_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "metricAttributionArn"))
|
540
|
+
CreateMetricAttributionResponse.struct_class = Types::CreateMetricAttributionResponse
|
541
|
+
|
513
542
|
CreateRecommenderRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
|
514
543
|
CreateRecommenderRequest.add_member(:dataset_group_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "datasetGroupArn"))
|
515
544
|
CreateRecommenderRequest.add_member(:recipe_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "recipeArn"))
|
@@ -541,6 +570,7 @@ module Aws::Personalize
|
|
541
570
|
CreateSolutionResponse.add_member(:solution_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "solutionArn"))
|
542
571
|
CreateSolutionResponse.struct_class = Types::CreateSolutionResponse
|
543
572
|
|
573
|
+
CreateSolutionVersionRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
|
544
574
|
CreateSolutionVersionRequest.add_member(:solution_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "solutionArn"))
|
545
575
|
CreateSolutionVersionRequest.add_member(:training_mode, Shapes::ShapeRef.new(shape: TrainingMode, location_name: "trainingMode"))
|
546
576
|
CreateSolutionVersionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
@@ -619,6 +649,7 @@ module Aws::Personalize
|
|
619
649
|
DatasetImportJob.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "lastUpdatedDateTime"))
|
620
650
|
DatasetImportJob.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "failureReason"))
|
621
651
|
DatasetImportJob.add_member(:import_mode, Shapes::ShapeRef.new(shape: ImportMode, location_name: "importMode"))
|
652
|
+
DatasetImportJob.add_member(:publish_attribution_metrics_to_s3, Shapes::ShapeRef.new(shape: Boolean, location_name: "publishAttributionMetricsToS3"))
|
622
653
|
DatasetImportJob.struct_class = Types::DatasetImportJob
|
623
654
|
|
624
655
|
DatasetImportJobSummary.add_member(:dataset_import_job_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "datasetImportJobArn"))
|
@@ -700,6 +731,9 @@ module Aws::Personalize
|
|
700
731
|
DeleteFilterRequest.add_member(:filter_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "filterArn"))
|
701
732
|
DeleteFilterRequest.struct_class = Types::DeleteFilterRequest
|
702
733
|
|
734
|
+
DeleteMetricAttributionRequest.add_member(:metric_attribution_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "metricAttributionArn"))
|
735
|
+
DeleteMetricAttributionRequest.struct_class = Types::DeleteMetricAttributionRequest
|
736
|
+
|
703
737
|
DeleteRecommenderRequest.add_member(:recommender_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "recommenderArn"))
|
704
738
|
DeleteRecommenderRequest.struct_class = Types::DeleteRecommenderRequest
|
705
739
|
|
@@ -775,6 +809,12 @@ module Aws::Personalize
|
|
775
809
|
DescribeFilterResponse.add_member(:filter, Shapes::ShapeRef.new(shape: Filter, location_name: "filter"))
|
776
810
|
DescribeFilterResponse.struct_class = Types::DescribeFilterResponse
|
777
811
|
|
812
|
+
DescribeMetricAttributionRequest.add_member(:metric_attribution_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "metricAttributionArn"))
|
813
|
+
DescribeMetricAttributionRequest.struct_class = Types::DescribeMetricAttributionRequest
|
814
|
+
|
815
|
+
DescribeMetricAttributionResponse.add_member(:metric_attribution, Shapes::ShapeRef.new(shape: MetricAttribution, location_name: "metricAttribution"))
|
816
|
+
DescribeMetricAttributionResponse.struct_class = Types::DescribeMetricAttributionResponse
|
817
|
+
|
778
818
|
DescribeRecipeRequest.add_member(:recipe_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "recipeArn"))
|
779
819
|
DescribeRecipeRequest.struct_class = Types::DescribeRecipeRequest
|
780
820
|
|
@@ -984,6 +1024,24 @@ module Aws::Personalize
|
|
984
1024
|
ListFiltersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
985
1025
|
ListFiltersResponse.struct_class = Types::ListFiltersResponse
|
986
1026
|
|
1027
|
+
ListMetricAttributionMetricsRequest.add_member(:metric_attribution_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "metricAttributionArn"))
|
1028
|
+
ListMetricAttributionMetricsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
1029
|
+
ListMetricAttributionMetricsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
|
1030
|
+
ListMetricAttributionMetricsRequest.struct_class = Types::ListMetricAttributionMetricsRequest
|
1031
|
+
|
1032
|
+
ListMetricAttributionMetricsResponse.add_member(:metrics, Shapes::ShapeRef.new(shape: MetricAttributes, location_name: "metrics"))
|
1033
|
+
ListMetricAttributionMetricsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
1034
|
+
ListMetricAttributionMetricsResponse.struct_class = Types::ListMetricAttributionMetricsResponse
|
1035
|
+
|
1036
|
+
ListMetricAttributionsRequest.add_member(:dataset_group_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "datasetGroupArn"))
|
1037
|
+
ListMetricAttributionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
1038
|
+
ListMetricAttributionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
|
1039
|
+
ListMetricAttributionsRequest.struct_class = Types::ListMetricAttributionsRequest
|
1040
|
+
|
1041
|
+
ListMetricAttributionsResponse.add_member(:metric_attributions, Shapes::ShapeRef.new(shape: MetricAttributions, location_name: "metricAttributions"))
|
1042
|
+
ListMetricAttributionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
1043
|
+
ListMetricAttributionsResponse.struct_class = Types::ListMetricAttributionsResponse
|
1044
|
+
|
987
1045
|
ListRecipesRequest.add_member(:recipe_provider, Shapes::ShapeRef.new(shape: RecipeProvider, location_name: "recipeProvider"))
|
988
1046
|
ListRecipesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
989
1047
|
ListRecipesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
|
@@ -1035,6 +1093,39 @@ module Aws::Personalize
|
|
1035
1093
|
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
1036
1094
|
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
1037
1095
|
|
1096
|
+
MetricAttribute.add_member(:event_type, Shapes::ShapeRef.new(shape: EventType, required: true, location_name: "eventType"))
|
1097
|
+
MetricAttribute.add_member(:metric_name, Shapes::ShapeRef.new(shape: MetricName, required: true, location_name: "metricName"))
|
1098
|
+
MetricAttribute.add_member(:expression, Shapes::ShapeRef.new(shape: MetricExpression, required: true, location_name: "expression"))
|
1099
|
+
MetricAttribute.struct_class = Types::MetricAttribute
|
1100
|
+
|
1101
|
+
MetricAttributes.member = Shapes::ShapeRef.new(shape: MetricAttribute)
|
1102
|
+
|
1103
|
+
MetricAttributesNamesList.member = Shapes::ShapeRef.new(shape: MetricName)
|
1104
|
+
|
1105
|
+
MetricAttribution.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
|
1106
|
+
MetricAttribution.add_member(:metric_attribution_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "metricAttributionArn"))
|
1107
|
+
MetricAttribution.add_member(:dataset_group_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "datasetGroupArn"))
|
1108
|
+
MetricAttribution.add_member(:metrics_output_config, Shapes::ShapeRef.new(shape: MetricAttributionOutput, location_name: "metricsOutputConfig"))
|
1109
|
+
MetricAttribution.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "status"))
|
1110
|
+
MetricAttribution.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "creationDateTime"))
|
1111
|
+
MetricAttribution.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "lastUpdatedDateTime"))
|
1112
|
+
MetricAttribution.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "failureReason"))
|
1113
|
+
MetricAttribution.struct_class = Types::MetricAttribution
|
1114
|
+
|
1115
|
+
MetricAttributionOutput.add_member(:s3_data_destination, Shapes::ShapeRef.new(shape: S3DataConfig, location_name: "s3DataDestination"))
|
1116
|
+
MetricAttributionOutput.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
|
1117
|
+
MetricAttributionOutput.struct_class = Types::MetricAttributionOutput
|
1118
|
+
|
1119
|
+
MetricAttributionSummary.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
|
1120
|
+
MetricAttributionSummary.add_member(:metric_attribution_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "metricAttributionArn"))
|
1121
|
+
MetricAttributionSummary.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "status"))
|
1122
|
+
MetricAttributionSummary.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "creationDateTime"))
|
1123
|
+
MetricAttributionSummary.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "lastUpdatedDateTime"))
|
1124
|
+
MetricAttributionSummary.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "failureReason"))
|
1125
|
+
MetricAttributionSummary.struct_class = Types::MetricAttributionSummary
|
1126
|
+
|
1127
|
+
MetricAttributions.member = Shapes::ShapeRef.new(shape: MetricAttributionSummary)
|
1128
|
+
|
1038
1129
|
Metrics.key = Shapes::ShapeRef.new(shape: MetricName)
|
1039
1130
|
Metrics.value = Shapes::ShapeRef.new(shape: MetricValue)
|
1040
1131
|
|
@@ -1145,8 +1236,10 @@ module Aws::Personalize
|
|
1145
1236
|
SolutionSummary.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "status"))
|
1146
1237
|
SolutionSummary.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "creationDateTime"))
|
1147
1238
|
SolutionSummary.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "lastUpdatedDateTime"))
|
1239
|
+
SolutionSummary.add_member(:recipe_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "recipeArn"))
|
1148
1240
|
SolutionSummary.struct_class = Types::SolutionSummary
|
1149
1241
|
|
1242
|
+
SolutionVersion.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
|
1150
1243
|
SolutionVersion.add_member(:solution_version_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "solutionVersionArn"))
|
1151
1244
|
SolutionVersion.add_member(:solution_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "solutionArn"))
|
1152
1245
|
SolutionVersion.add_member(:perform_hpo, Shapes::ShapeRef.new(shape: PerformHPO, location_name: "performHPO"))
|
@@ -1228,6 +1321,15 @@ module Aws::Personalize
|
|
1228
1321
|
UpdateCampaignResponse.add_member(:campaign_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "campaignArn"))
|
1229
1322
|
UpdateCampaignResponse.struct_class = Types::UpdateCampaignResponse
|
1230
1323
|
|
1324
|
+
UpdateMetricAttributionRequest.add_member(:add_metrics, Shapes::ShapeRef.new(shape: MetricAttributes, location_name: "addMetrics"))
|
1325
|
+
UpdateMetricAttributionRequest.add_member(:remove_metrics, Shapes::ShapeRef.new(shape: MetricAttributesNamesList, location_name: "removeMetrics"))
|
1326
|
+
UpdateMetricAttributionRequest.add_member(:metrics_output_config, Shapes::ShapeRef.new(shape: MetricAttributionOutput, location_name: "metricsOutputConfig"))
|
1327
|
+
UpdateMetricAttributionRequest.add_member(:metric_attribution_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "metricAttributionArn"))
|
1328
|
+
UpdateMetricAttributionRequest.struct_class = Types::UpdateMetricAttributionRequest
|
1329
|
+
|
1330
|
+
UpdateMetricAttributionResponse.add_member(:metric_attribution_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "metricAttributionArn"))
|
1331
|
+
UpdateMetricAttributionResponse.struct_class = Types::UpdateMetricAttributionResponse
|
1332
|
+
|
1231
1333
|
UpdateRecommenderRequest.add_member(:recommender_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "recommenderArn"))
|
1232
1334
|
UpdateRecommenderRequest.add_member(:recommender_config, Shapes::ShapeRef.new(shape: RecommenderConfig, required: true, location_name: "recommenderConfig"))
|
1233
1335
|
UpdateRecommenderRequest.struct_class = Types::UpdateRecommenderRequest
|
@@ -1377,6 +1479,19 @@ module Aws::Personalize
|
|
1377
1479
|
o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
|
1378
1480
|
end)
|
1379
1481
|
|
1482
|
+
api.add_operation(:create_metric_attribution, Seahorse::Model::Operation.new.tap do |o|
|
1483
|
+
o.name = "CreateMetricAttribution"
|
1484
|
+
o.http_method = "POST"
|
1485
|
+
o.http_request_uri = "/"
|
1486
|
+
o.input = Shapes::ShapeRef.new(shape: CreateMetricAttributionRequest)
|
1487
|
+
o.output = Shapes::ShapeRef.new(shape: CreateMetricAttributionResponse)
|
1488
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1489
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1490
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
|
1491
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1492
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1493
|
+
end)
|
1494
|
+
|
1380
1495
|
api.add_operation(:create_recommender, Seahorse::Model::Operation.new.tap do |o|
|
1381
1496
|
o.name = "CreateRecommender"
|
1382
1497
|
o.http_method = "POST"
|
@@ -1427,6 +1542,7 @@ module Aws::Personalize
|
|
1427
1542
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1428
1543
|
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1429
1544
|
o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
|
1545
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
|
1430
1546
|
end)
|
1431
1547
|
|
1432
1548
|
api.add_operation(:delete_campaign, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1484,6 +1600,17 @@ module Aws::Personalize
|
|
1484
1600
|
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1485
1601
|
end)
|
1486
1602
|
|
1603
|
+
api.add_operation(:delete_metric_attribution, Seahorse::Model::Operation.new.tap do |o|
|
1604
|
+
o.name = "DeleteMetricAttribution"
|
1605
|
+
o.http_method = "POST"
|
1606
|
+
o.http_request_uri = "/"
|
1607
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteMetricAttributionRequest)
|
1608
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1609
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1610
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1611
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1612
|
+
end)
|
1613
|
+
|
1487
1614
|
api.add_operation(:delete_recommender, Seahorse::Model::Operation.new.tap do |o|
|
1488
1615
|
o.name = "DeleteRecommender"
|
1489
1616
|
o.http_method = "POST"
|
@@ -1627,6 +1754,16 @@ module Aws::Personalize
|
|
1627
1754
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1628
1755
|
end)
|
1629
1756
|
|
1757
|
+
api.add_operation(:describe_metric_attribution, Seahorse::Model::Operation.new.tap do |o|
|
1758
|
+
o.name = "DescribeMetricAttribution"
|
1759
|
+
o.http_method = "POST"
|
1760
|
+
o.http_request_uri = "/"
|
1761
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeMetricAttributionRequest)
|
1762
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeMetricAttributionResponse)
|
1763
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1764
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1765
|
+
end)
|
1766
|
+
|
1630
1767
|
api.add_operation(:describe_recipe, Seahorse::Model::Operation.new.tap do |o|
|
1631
1768
|
o.name = "DescribeRecipe"
|
1632
1769
|
o.http_method = "POST"
|
@@ -1831,6 +1968,38 @@ module Aws::Personalize
|
|
1831
1968
|
)
|
1832
1969
|
end)
|
1833
1970
|
|
1971
|
+
api.add_operation(:list_metric_attribution_metrics, Seahorse::Model::Operation.new.tap do |o|
|
1972
|
+
o.name = "ListMetricAttributionMetrics"
|
1973
|
+
o.http_method = "POST"
|
1974
|
+
o.http_request_uri = "/"
|
1975
|
+
o.input = Shapes::ShapeRef.new(shape: ListMetricAttributionMetricsRequest)
|
1976
|
+
o.output = Shapes::ShapeRef.new(shape: ListMetricAttributionMetricsResponse)
|
1977
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1978
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
1979
|
+
o[:pager] = Aws::Pager.new(
|
1980
|
+
limit_key: "max_results",
|
1981
|
+
tokens: {
|
1982
|
+
"next_token" => "next_token"
|
1983
|
+
}
|
1984
|
+
)
|
1985
|
+
end)
|
1986
|
+
|
1987
|
+
api.add_operation(:list_metric_attributions, Seahorse::Model::Operation.new.tap do |o|
|
1988
|
+
o.name = "ListMetricAttributions"
|
1989
|
+
o.http_method = "POST"
|
1990
|
+
o.http_request_uri = "/"
|
1991
|
+
o.input = Shapes::ShapeRef.new(shape: ListMetricAttributionsRequest)
|
1992
|
+
o.output = Shapes::ShapeRef.new(shape: ListMetricAttributionsResponse)
|
1993
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1994
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
1995
|
+
o[:pager] = Aws::Pager.new(
|
1996
|
+
limit_key: "max_results",
|
1997
|
+
tokens: {
|
1998
|
+
"next_token" => "next_token"
|
1999
|
+
}
|
2000
|
+
)
|
2001
|
+
end)
|
2002
|
+
|
1834
2003
|
api.add_operation(:list_recipes, Seahorse::Model::Operation.new.tap do |o|
|
1835
2004
|
o.name = "ListRecipes"
|
1836
2005
|
o.http_method = "POST"
|
@@ -1991,6 +2160,18 @@ module Aws::Personalize
|
|
1991
2160
|
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1992
2161
|
end)
|
1993
2162
|
|
2163
|
+
api.add_operation(:update_metric_attribution, Seahorse::Model::Operation.new.tap do |o|
|
2164
|
+
o.name = "UpdateMetricAttribution"
|
2165
|
+
o.http_method = "POST"
|
2166
|
+
o.http_request_uri = "/"
|
2167
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateMetricAttributionRequest)
|
2168
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateMetricAttributionResponse)
|
2169
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
2170
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2171
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
2172
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
|
2173
|
+
end)
|
2174
|
+
|
1994
2175
|
api.add_operation(:update_recommender, Seahorse::Model::Operation.new.tap do |o|
|
1995
2176
|
o.name = "UpdateRecommender"
|
1996
2177
|
o.http_method = "POST"
|
@@ -9,104 +9,43 @@
|
|
9
9
|
|
10
10
|
module Aws::Personalize
|
11
11
|
class EndpointProvider
|
12
|
-
def
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
12
|
+
def resolve_endpoint(parameters)
|
13
|
+
region = parameters.region
|
14
|
+
use_dual_stack = parameters.use_dual_stack
|
15
|
+
use_fips = parameters.use_fips
|
16
|
+
endpoint = parameters.endpoint
|
17
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
18
|
+
if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
|
19
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
+
end
|
22
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
+
end
|
25
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
+
end
|
27
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
+
return Aws::Endpoints::Endpoint.new(url: "https://personalize-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
+
end
|
31
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
+
end
|
33
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
35
|
+
return Aws::Endpoints::Endpoint.new(url: "https://personalize-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
36
|
+
end
|
37
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
38
|
+
end
|
39
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
41
|
+
return Aws::Endpoints::Endpoint.new(url: "https://personalize.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
42
|
+
end
|
43
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
44
|
+
end
|
45
|
+
return Aws::Endpoints::Endpoint.new(url: "https://personalize.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
21
46
|
end
|
22
|
-
|
23
|
-
end
|
47
|
+
raise ArgumentError, 'No endpoint could be resolved'
|
24
48
|
|
25
|
-
def resolve_endpoint(parameters)
|
26
|
-
@provider.resolve_endpoint(parameters)
|
27
49
|
end
|
28
|
-
|
29
|
-
# @api private
|
30
|
-
RULES = <<-JSON
|
31
|
-
eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
|
32
|
-
bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
|
33
|
-
dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
|
34
|
-
cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
|
35
|
-
dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2siLCJyZXF1aXJlZCI6dHJ1ZSwi
|
36
|
-
ZGVmYXVsdCI6ZmFsc2UsImRvY3VtZW50YXRpb24iOiJXaGVuIHRydWUsIHVz
|
37
|
-
ZSB0aGUgZHVhbC1zdGFjayBlbmRwb2ludC4gSWYgdGhlIGNvbmZpZ3VyZWQg
|
38
|
-
ZW5kcG9pbnQgZG9lcyBub3Qgc3VwcG9ydCBk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XJ0aXRpb25SZXN1bHQjZHVhbFN0
|
101
|
-
YWNrRG5zU3VmZml4fSIsInByb3BlcnRpZXMiOnt9LCJoZWFkZXJzIjp7fX0s
|
102
|
-
InR5cGUiOiJlbmRwb2ludCJ9XX0seyJjb25kaXRpb25zIjpbXSwiZXJyb3Ii
|
103
|
-
OiJEdWFsU3RhY2sgaXMgZW5hYmxlZCBidXQgdGhpcyBwYXJ0aXRpb24gZG9l
|
104
|
-
cyBub3Qgc3VwcG9ydCBEdWFsU3RhY2siLCJ0eXBlIjoiZXJyb3IifV19LHsi
|
105
|
-
Y29uZGl0aW9ucyI6W10sImVuZHBvaW50Ijp7InVybCI6Imh0dHBzOi8vcGVy
|
106
|
-
c29uYWxpemUue1JlZ2lvbn0ue1BhcnRpdGlvblJlc3VsdCNkbnNTdWZmaXh9
|
107
|
-
IiwicHJvcGVydGllcyI6e30sImhlYWRlcnMiOnt9fSwidHlwZSI6ImVuZHBv
|
108
|
-
aW50In1dfV19
|
109
|
-
|
110
|
-
JSON
|
111
50
|
end
|
112
51
|
end
|
@@ -137,6 +137,20 @@ module Aws::Personalize
|
|
137
137
|
end
|
138
138
|
end
|
139
139
|
|
140
|
+
class CreateMetricAttribution
|
141
|
+
def self.build(context)
|
142
|
+
unless context.config.regional_endpoint
|
143
|
+
endpoint = context.config.endpoint.to_s
|
144
|
+
end
|
145
|
+
Aws::Personalize::EndpointParameters.new(
|
146
|
+
region: context.config.region,
|
147
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
148
|
+
use_fips: context.config.use_fips_endpoint,
|
149
|
+
endpoint: endpoint,
|
150
|
+
)
|
151
|
+
end
|
152
|
+
end
|
153
|
+
|
140
154
|
class CreateRecommender
|
141
155
|
def self.build(context)
|
142
156
|
unless context.config.regional_endpoint
|
@@ -263,6 +277,20 @@ module Aws::Personalize
|
|
263
277
|
end
|
264
278
|
end
|
265
279
|
|
280
|
+
class DeleteMetricAttribution
|
281
|
+
def self.build(context)
|
282
|
+
unless context.config.regional_endpoint
|
283
|
+
endpoint = context.config.endpoint.to_s
|
284
|
+
end
|
285
|
+
Aws::Personalize::EndpointParameters.new(
|
286
|
+
region: context.config.region,
|
287
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
288
|
+
use_fips: context.config.use_fips_endpoint,
|
289
|
+
endpoint: endpoint,
|
290
|
+
)
|
291
|
+
end
|
292
|
+
end
|
293
|
+
|
266
294
|
class DeleteRecommender
|
267
295
|
def self.build(context)
|
268
296
|
unless context.config.regional_endpoint
|
@@ -459,6 +487,20 @@ module Aws::Personalize
|
|
459
487
|
end
|
460
488
|
end
|
461
489
|
|
490
|
+
class DescribeMetricAttribution
|
491
|
+
def self.build(context)
|
492
|
+
unless context.config.regional_endpoint
|
493
|
+
endpoint = context.config.endpoint.to_s
|
494
|
+
end
|
495
|
+
Aws::Personalize::EndpointParameters.new(
|
496
|
+
region: context.config.region,
|
497
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
498
|
+
use_fips: context.config.use_fips_endpoint,
|
499
|
+
endpoint: endpoint,
|
500
|
+
)
|
501
|
+
end
|
502
|
+
end
|
503
|
+
|
462
504
|
class DescribeRecipe
|
463
505
|
def self.build(context)
|
464
506
|
unless context.config.regional_endpoint
|
@@ -669,6 +711,34 @@ module Aws::Personalize
|
|
669
711
|
end
|
670
712
|
end
|
671
713
|
|
714
|
+
class ListMetricAttributionMetrics
|
715
|
+
def self.build(context)
|
716
|
+
unless context.config.regional_endpoint
|
717
|
+
endpoint = context.config.endpoint.to_s
|
718
|
+
end
|
719
|
+
Aws::Personalize::EndpointParameters.new(
|
720
|
+
region: context.config.region,
|
721
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
722
|
+
use_fips: context.config.use_fips_endpoint,
|
723
|
+
endpoint: endpoint,
|
724
|
+
)
|
725
|
+
end
|
726
|
+
end
|
727
|
+
|
728
|
+
class ListMetricAttributions
|
729
|
+
def self.build(context)
|
730
|
+
unless context.config.regional_endpoint
|
731
|
+
endpoint = context.config.endpoint.to_s
|
732
|
+
end
|
733
|
+
Aws::Personalize::EndpointParameters.new(
|
734
|
+
region: context.config.region,
|
735
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
736
|
+
use_fips: context.config.use_fips_endpoint,
|
737
|
+
endpoint: endpoint,
|
738
|
+
)
|
739
|
+
end
|
740
|
+
end
|
741
|
+
|
672
742
|
class ListRecipes
|
673
743
|
def self.build(context)
|
674
744
|
unless context.config.regional_endpoint
|
@@ -837,6 +907,20 @@ module Aws::Personalize
|
|
837
907
|
end
|
838
908
|
end
|
839
909
|
|
910
|
+
class UpdateMetricAttribution
|
911
|
+
def self.build(context)
|
912
|
+
unless context.config.regional_endpoint
|
913
|
+
endpoint = context.config.endpoint.to_s
|
914
|
+
end
|
915
|
+
Aws::Personalize::EndpointParameters.new(
|
916
|
+
region: context.config.region,
|
917
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
918
|
+
use_fips: context.config.use_fips_endpoint,
|
919
|
+
endpoint: endpoint,
|
920
|
+
)
|
921
|
+
end
|
922
|
+
end
|
923
|
+
|
840
924
|
class UpdateRecommender
|
841
925
|
def self.build(context)
|
842
926
|
unless context.config.regional_endpoint
|
@@ -74,6 +74,8 @@ module Aws::Personalize
|
|
74
74
|
Aws::Personalize::Endpoints::CreateEventTracker.build(context)
|
75
75
|
when :create_filter
|
76
76
|
Aws::Personalize::Endpoints::CreateFilter.build(context)
|
77
|
+
when :create_metric_attribution
|
78
|
+
Aws::Personalize::Endpoints::CreateMetricAttribution.build(context)
|
77
79
|
when :create_recommender
|
78
80
|
Aws::Personalize::Endpoints::CreateRecommender.build(context)
|
79
81
|
when :create_schema
|
@@ -92,6 +94,8 @@ module Aws::Personalize
|
|
92
94
|
Aws::Personalize::Endpoints::DeleteEventTracker.build(context)
|
93
95
|
when :delete_filter
|
94
96
|
Aws::Personalize::Endpoints::DeleteFilter.build(context)
|
97
|
+
when :delete_metric_attribution
|
98
|
+
Aws::Personalize::Endpoints::DeleteMetricAttribution.build(context)
|
95
99
|
when :delete_recommender
|
96
100
|
Aws::Personalize::Endpoints::DeleteRecommender.build(context)
|
97
101
|
when :delete_schema
|
@@ -120,6 +124,8 @@ module Aws::Personalize
|
|
120
124
|
Aws::Personalize::Endpoints::DescribeFeatureTransformation.build(context)
|
121
125
|
when :describe_filter
|
122
126
|
Aws::Personalize::Endpoints::DescribeFilter.build(context)
|
127
|
+
when :describe_metric_attribution
|
128
|
+
Aws::Personalize::Endpoints::DescribeMetricAttribution.build(context)
|
123
129
|
when :describe_recipe
|
124
130
|
Aws::Personalize::Endpoints::DescribeRecipe.build(context)
|
125
131
|
when :describe_recommender
|
@@ -150,6 +156,10 @@ module Aws::Personalize
|
|
150
156
|
Aws::Personalize::Endpoints::ListEventTrackers.build(context)
|
151
157
|
when :list_filters
|
152
158
|
Aws::Personalize::Endpoints::ListFilters.build(context)
|
159
|
+
when :list_metric_attribution_metrics
|
160
|
+
Aws::Personalize::Endpoints::ListMetricAttributionMetrics.build(context)
|
161
|
+
when :list_metric_attributions
|
162
|
+
Aws::Personalize::Endpoints::ListMetricAttributions.build(context)
|
153
163
|
when :list_recipes
|
154
164
|
Aws::Personalize::Endpoints::ListRecipes.build(context)
|
155
165
|
when :list_recommenders
|
@@ -174,6 +184,8 @@ module Aws::Personalize
|
|
174
184
|
Aws::Personalize::Endpoints::UntagResource.build(context)
|
175
185
|
when :update_campaign
|
176
186
|
Aws::Personalize::Endpoints::UpdateCampaign.build(context)
|
187
|
+
when :update_metric_attribution
|
188
|
+
Aws::Personalize::Endpoints::UpdateMetricAttribution.build(context)
|
177
189
|
when :update_recommender
|
178
190
|
Aws::Personalize::Endpoints::UpdateRecommender.build(context)
|
179
191
|
end
|