aws-sdk-personalize 1.43.0 → 1.45.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-personalize/client.rb +301 -3
- data/lib/aws-sdk-personalize/client_api.rb +181 -0
- data/lib/aws-sdk-personalize/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-personalize/endpoint_provider.rb +112 -0
- data/lib/aws-sdk-personalize/endpoints.rb +939 -0
- data/lib/aws-sdk-personalize/plugins/endpoints.rb +200 -0
- data/lib/aws-sdk-personalize/types.rb +493 -3
- data/lib/aws-sdk-personalize.rb +5 -1
- metadata +8 -4
@@ -1311,6 +1311,7 @@ module Aws::Personalize
|
|
1311
1311
|
# },
|
1312
1312
|
# ],
|
1313
1313
|
# import_mode: "FULL", # accepts FULL, INCREMENTAL
|
1314
|
+
# publish_attribution_metrics_to_s3: false,
|
1314
1315
|
# }
|
1315
1316
|
#
|
1316
1317
|
# @!attribute [rw] job_name
|
@@ -1351,6 +1352,11 @@ module Aws::Personalize
|
|
1351
1352
|
# the same ID with the new one.
|
1352
1353
|
# @return [String]
|
1353
1354
|
#
|
1355
|
+
# @!attribute [rw] publish_attribution_metrics_to_s3
|
1356
|
+
# If you created a metric attribution, specify whether to publish
|
1357
|
+
# metrics for this import job to Amazon S3
|
1358
|
+
# @return [Boolean]
|
1359
|
+
#
|
1354
1360
|
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateDatasetImportJobRequest AWS API Documentation
|
1355
1361
|
#
|
1356
1362
|
class CreateDatasetImportJobRequest < Struct.new(
|
@@ -1359,7 +1365,8 @@ module Aws::Personalize
|
|
1359
1365
|
:data_source,
|
1360
1366
|
:role_arn,
|
1361
1367
|
:tags,
|
1362
|
-
:import_mode
|
1368
|
+
:import_mode,
|
1369
|
+
:publish_attribution_metrics_to_s3)
|
1363
1370
|
SENSITIVE = []
|
1364
1371
|
include Aws::Structure
|
1365
1372
|
end
|
@@ -1578,6 +1585,72 @@ module Aws::Personalize
|
|
1578
1585
|
include Aws::Structure
|
1579
1586
|
end
|
1580
1587
|
|
1588
|
+
# @note When making an API call, you may pass CreateMetricAttributionRequest
|
1589
|
+
# data as a hash:
|
1590
|
+
#
|
1591
|
+
# {
|
1592
|
+
# name: "Name", # required
|
1593
|
+
# dataset_group_arn: "Arn", # required
|
1594
|
+
# metrics: [ # required
|
1595
|
+
# {
|
1596
|
+
# event_type: "EventType", # required
|
1597
|
+
# metric_name: "MetricName", # required
|
1598
|
+
# expression: "MetricExpression", # required
|
1599
|
+
# },
|
1600
|
+
# ],
|
1601
|
+
# metrics_output_config: { # required
|
1602
|
+
# s3_data_destination: {
|
1603
|
+
# path: "S3Location", # required
|
1604
|
+
# kms_key_arn: "KmsKeyArn",
|
1605
|
+
# },
|
1606
|
+
# role_arn: "RoleArn", # required
|
1607
|
+
# },
|
1608
|
+
# }
|
1609
|
+
#
|
1610
|
+
# @!attribute [rw] name
|
1611
|
+
# A name for the metric attribution.
|
1612
|
+
# @return [String]
|
1613
|
+
#
|
1614
|
+
# @!attribute [rw] dataset_group_arn
|
1615
|
+
# The Amazon Resource Name (ARN) of the destination dataset group for
|
1616
|
+
# the metric attribution.
|
1617
|
+
# @return [String]
|
1618
|
+
#
|
1619
|
+
# @!attribute [rw] metrics
|
1620
|
+
# A list of metric attributes for the metric attribution. Each metric
|
1621
|
+
# attribute specifies an event type to track and a function. Available
|
1622
|
+
# functions are `SUM()` or `SAMPLECOUNT()`. For SUM() functions,
|
1623
|
+
# provide the dataset type (either Interactions or Items) and column
|
1624
|
+
# to sum as a parameter. For example SUM(Items.PRICE).
|
1625
|
+
# @return [Array<Types::MetricAttribute>]
|
1626
|
+
#
|
1627
|
+
# @!attribute [rw] metrics_output_config
|
1628
|
+
# The output configuration details for the metric attribution.
|
1629
|
+
# @return [Types::MetricAttributionOutput]
|
1630
|
+
#
|
1631
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateMetricAttributionRequest AWS API Documentation
|
1632
|
+
#
|
1633
|
+
class CreateMetricAttributionRequest < Struct.new(
|
1634
|
+
:name,
|
1635
|
+
:dataset_group_arn,
|
1636
|
+
:metrics,
|
1637
|
+
:metrics_output_config)
|
1638
|
+
SENSITIVE = []
|
1639
|
+
include Aws::Structure
|
1640
|
+
end
|
1641
|
+
|
1642
|
+
# @!attribute [rw] metric_attribution_arn
|
1643
|
+
# The Amazon Resource Name (ARN) for the new metric attribution.
|
1644
|
+
# @return [String]
|
1645
|
+
#
|
1646
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateMetricAttributionResponse AWS API Documentation
|
1647
|
+
#
|
1648
|
+
class CreateMetricAttributionResponse < Struct.new(
|
1649
|
+
:metric_attribution_arn)
|
1650
|
+
SENSITIVE = []
|
1651
|
+
include Aws::Structure
|
1652
|
+
end
|
1653
|
+
|
1581
1654
|
# @note When making an API call, you may pass CreateRecommenderRequest
|
1582
1655
|
# data as a hash:
|
1583
1656
|
#
|
@@ -1862,6 +1935,7 @@ module Aws::Personalize
|
|
1862
1935
|
# data as a hash:
|
1863
1936
|
#
|
1864
1937
|
# {
|
1938
|
+
# name: "Name",
|
1865
1939
|
# solution_arn: "Arn", # required
|
1866
1940
|
# training_mode: "FULL", # accepts FULL, UPDATE
|
1867
1941
|
# tags: [
|
@@ -1872,6 +1946,10 @@ module Aws::Personalize
|
|
1872
1946
|
# ],
|
1873
1947
|
# }
|
1874
1948
|
#
|
1949
|
+
# @!attribute [rw] name
|
1950
|
+
# The name of the solution version.
|
1951
|
+
# @return [String]
|
1952
|
+
#
|
1875
1953
|
# @!attribute [rw] solution_arn
|
1876
1954
|
# The Amazon Resource Name (ARN) of the solution containing the
|
1877
1955
|
# training configuration information.
|
@@ -1908,6 +1986,7 @@ module Aws::Personalize
|
|
1908
1986
|
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateSolutionVersionRequest AWS API Documentation
|
1909
1987
|
#
|
1910
1988
|
class CreateSolutionVersionRequest < Struct.new(
|
1989
|
+
:name,
|
1911
1990
|
:solution_arn,
|
1912
1991
|
:training_mode,
|
1913
1992
|
:tags)
|
@@ -2378,6 +2457,11 @@ module Aws::Personalize
|
|
2378
2457
|
# records.
|
2379
2458
|
# @return [String]
|
2380
2459
|
#
|
2460
|
+
# @!attribute [rw] publish_attribution_metrics_to_s3
|
2461
|
+
# Whether the job publishes metrics to Amazon S3 for a metric
|
2462
|
+
# attribution.
|
2463
|
+
# @return [Boolean]
|
2464
|
+
#
|
2381
2465
|
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DatasetImportJob AWS API Documentation
|
2382
2466
|
#
|
2383
2467
|
class DatasetImportJob < Struct.new(
|
@@ -2390,7 +2474,8 @@ module Aws::Personalize
|
|
2390
2474
|
:creation_date_time,
|
2391
2475
|
:last_updated_date_time,
|
2392
2476
|
:failure_reason,
|
2393
|
-
:import_mode
|
2477
|
+
:import_mode,
|
2478
|
+
:publish_attribution_metrics_to_s3)
|
2394
2479
|
SENSITIVE = []
|
2395
2480
|
include Aws::Structure
|
2396
2481
|
end
|
@@ -2813,6 +2898,25 @@ module Aws::Personalize
|
|
2813
2898
|
include Aws::Structure
|
2814
2899
|
end
|
2815
2900
|
|
2901
|
+
# @note When making an API call, you may pass DeleteMetricAttributionRequest
|
2902
|
+
# data as a hash:
|
2903
|
+
#
|
2904
|
+
# {
|
2905
|
+
# metric_attribution_arn: "Arn", # required
|
2906
|
+
# }
|
2907
|
+
#
|
2908
|
+
# @!attribute [rw] metric_attribution_arn
|
2909
|
+
# The metric attribution's Amazon Resource Name (ARN).
|
2910
|
+
# @return [String]
|
2911
|
+
#
|
2912
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DeleteMetricAttributionRequest AWS API Documentation
|
2913
|
+
#
|
2914
|
+
class DeleteMetricAttributionRequest < Struct.new(
|
2915
|
+
:metric_attribution_arn)
|
2916
|
+
SENSITIVE = []
|
2917
|
+
include Aws::Structure
|
2918
|
+
end
|
2919
|
+
|
2816
2920
|
# @note When making an API call, you may pass DeleteRecommenderRequest
|
2817
2921
|
# data as a hash:
|
2818
2922
|
#
|
@@ -3234,6 +3338,37 @@ module Aws::Personalize
|
|
3234
3338
|
include Aws::Structure
|
3235
3339
|
end
|
3236
3340
|
|
3341
|
+
# @note When making an API call, you may pass DescribeMetricAttributionRequest
|
3342
|
+
# data as a hash:
|
3343
|
+
#
|
3344
|
+
# {
|
3345
|
+
# metric_attribution_arn: "Arn", # required
|
3346
|
+
# }
|
3347
|
+
#
|
3348
|
+
# @!attribute [rw] metric_attribution_arn
|
3349
|
+
# The metric attribution's Amazon Resource Name (ARN).
|
3350
|
+
# @return [String]
|
3351
|
+
#
|
3352
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeMetricAttributionRequest AWS API Documentation
|
3353
|
+
#
|
3354
|
+
class DescribeMetricAttributionRequest < Struct.new(
|
3355
|
+
:metric_attribution_arn)
|
3356
|
+
SENSITIVE = []
|
3357
|
+
include Aws::Structure
|
3358
|
+
end
|
3359
|
+
|
3360
|
+
# @!attribute [rw] metric_attribution
|
3361
|
+
# The details of the metric attribution.
|
3362
|
+
# @return [Types::MetricAttribution]
|
3363
|
+
#
|
3364
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeMetricAttributionResponse AWS API Documentation
|
3365
|
+
#
|
3366
|
+
class DescribeMetricAttributionResponse < Struct.new(
|
3367
|
+
:metric_attribution)
|
3368
|
+
SENSITIVE = []
|
3369
|
+
include Aws::Structure
|
3370
|
+
end
|
3371
|
+
|
3237
3372
|
# @note When making an API call, you may pass DescribeRecipeRequest
|
3238
3373
|
# data as a hash:
|
3239
3374
|
#
|
@@ -4403,6 +4538,109 @@ module Aws::Personalize
|
|
4403
4538
|
include Aws::Structure
|
4404
4539
|
end
|
4405
4540
|
|
4541
|
+
# @note When making an API call, you may pass ListMetricAttributionMetricsRequest
|
4542
|
+
# data as a hash:
|
4543
|
+
#
|
4544
|
+
# {
|
4545
|
+
# metric_attribution_arn: "Arn",
|
4546
|
+
# next_token: "NextToken",
|
4547
|
+
# max_results: 1,
|
4548
|
+
# }
|
4549
|
+
#
|
4550
|
+
# @!attribute [rw] metric_attribution_arn
|
4551
|
+
# The Amazon Resource Name (ARN) of the metric attribution to retrieve
|
4552
|
+
# attributes for.
|
4553
|
+
# @return [String]
|
4554
|
+
#
|
4555
|
+
# @!attribute [rw] next_token
|
4556
|
+
# Specify the pagination token from a previous request to retrieve the
|
4557
|
+
# next page of results.
|
4558
|
+
# @return [String]
|
4559
|
+
#
|
4560
|
+
# @!attribute [rw] max_results
|
4561
|
+
# The maximum number of metrics to return in one page of results.
|
4562
|
+
# @return [Integer]
|
4563
|
+
#
|
4564
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListMetricAttributionMetricsRequest AWS API Documentation
|
4565
|
+
#
|
4566
|
+
class ListMetricAttributionMetricsRequest < Struct.new(
|
4567
|
+
:metric_attribution_arn,
|
4568
|
+
:next_token,
|
4569
|
+
:max_results)
|
4570
|
+
SENSITIVE = []
|
4571
|
+
include Aws::Structure
|
4572
|
+
end
|
4573
|
+
|
4574
|
+
# @!attribute [rw] metrics
|
4575
|
+
# The metrics for the specified metric attribution.
|
4576
|
+
# @return [Array<Types::MetricAttribute>]
|
4577
|
+
#
|
4578
|
+
# @!attribute [rw] next_token
|
4579
|
+
# Specify the pagination token from a previous
|
4580
|
+
# `ListMetricAttributionMetricsResponse` request to retrieve the next
|
4581
|
+
# page of results.
|
4582
|
+
# @return [String]
|
4583
|
+
#
|
4584
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListMetricAttributionMetricsResponse AWS API Documentation
|
4585
|
+
#
|
4586
|
+
class ListMetricAttributionMetricsResponse < Struct.new(
|
4587
|
+
:metrics,
|
4588
|
+
:next_token)
|
4589
|
+
SENSITIVE = []
|
4590
|
+
include Aws::Structure
|
4591
|
+
end
|
4592
|
+
|
4593
|
+
# @note When making an API call, you may pass ListMetricAttributionsRequest
|
4594
|
+
# data as a hash:
|
4595
|
+
#
|
4596
|
+
# {
|
4597
|
+
# dataset_group_arn: "Arn",
|
4598
|
+
# next_token: "NextToken",
|
4599
|
+
# max_results: 1,
|
4600
|
+
# }
|
4601
|
+
#
|
4602
|
+
# @!attribute [rw] dataset_group_arn
|
4603
|
+
# The metric attributions' dataset group Amazon Resource Name (ARN).
|
4604
|
+
# @return [String]
|
4605
|
+
#
|
4606
|
+
# @!attribute [rw] next_token
|
4607
|
+
# Specify the pagination token from a previous request to retrieve the
|
4608
|
+
# next page of results.
|
4609
|
+
# @return [String]
|
4610
|
+
#
|
4611
|
+
# @!attribute [rw] max_results
|
4612
|
+
# The maximum number of metric attributions to return in one page of
|
4613
|
+
# results.
|
4614
|
+
# @return [Integer]
|
4615
|
+
#
|
4616
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListMetricAttributionsRequest AWS API Documentation
|
4617
|
+
#
|
4618
|
+
class ListMetricAttributionsRequest < Struct.new(
|
4619
|
+
:dataset_group_arn,
|
4620
|
+
:next_token,
|
4621
|
+
:max_results)
|
4622
|
+
SENSITIVE = []
|
4623
|
+
include Aws::Structure
|
4624
|
+
end
|
4625
|
+
|
4626
|
+
# @!attribute [rw] metric_attributions
|
4627
|
+
# The list of metric attributions.
|
4628
|
+
# @return [Array<Types::MetricAttributionSummary>]
|
4629
|
+
#
|
4630
|
+
# @!attribute [rw] next_token
|
4631
|
+
# Specify the pagination token from a previous request to retrieve the
|
4632
|
+
# next page of results.
|
4633
|
+
# @return [String]
|
4634
|
+
#
|
4635
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListMetricAttributionsResponse AWS API Documentation
|
4636
|
+
#
|
4637
|
+
class ListMetricAttributionsResponse < Struct.new(
|
4638
|
+
:metric_attributions,
|
4639
|
+
:next_token)
|
4640
|
+
SENSITIVE = []
|
4641
|
+
include Aws::Structure
|
4642
|
+
end
|
4643
|
+
|
4406
4644
|
# @note When making an API call, you may pass ListRecipesRequest
|
4407
4645
|
# data as a hash:
|
4408
4646
|
#
|
@@ -4685,6 +4923,186 @@ module Aws::Personalize
|
|
4685
4923
|
include Aws::Structure
|
4686
4924
|
end
|
4687
4925
|
|
4926
|
+
# Contains information on a metric that a metric attribution reports on.
|
4927
|
+
# For more information, see [Measuring impact of recommendations][1].
|
4928
|
+
#
|
4929
|
+
#
|
4930
|
+
#
|
4931
|
+
# [1]: https://docs.aws.amazon.com/personalize/latest/dg/measuring-recommendation-impact.html
|
4932
|
+
#
|
4933
|
+
# @note When making an API call, you may pass MetricAttribute
|
4934
|
+
# data as a hash:
|
4935
|
+
#
|
4936
|
+
# {
|
4937
|
+
# event_type: "EventType", # required
|
4938
|
+
# metric_name: "MetricName", # required
|
4939
|
+
# expression: "MetricExpression", # required
|
4940
|
+
# }
|
4941
|
+
#
|
4942
|
+
# @!attribute [rw] event_type
|
4943
|
+
# The metric's event type.
|
4944
|
+
# @return [String]
|
4945
|
+
#
|
4946
|
+
# @!attribute [rw] metric_name
|
4947
|
+
# The metric's name. The name helps you identify the metric in Amazon
|
4948
|
+
# CloudWatch or Amazon S3.
|
4949
|
+
# @return [String]
|
4950
|
+
#
|
4951
|
+
# @!attribute [rw] expression
|
4952
|
+
# The attribute's expression. Available functions are `SUM()` or
|
4953
|
+
# `SAMPLECOUNT()`. For SUM() functions, provide the dataset type
|
4954
|
+
# (either Interactions or Items) and column to sum as a parameter. For
|
4955
|
+
# example SUM(Items.PRICE).
|
4956
|
+
# @return [String]
|
4957
|
+
#
|
4958
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/MetricAttribute AWS API Documentation
|
4959
|
+
#
|
4960
|
+
class MetricAttribute < Struct.new(
|
4961
|
+
:event_type,
|
4962
|
+
:metric_name,
|
4963
|
+
:expression)
|
4964
|
+
SENSITIVE = []
|
4965
|
+
include Aws::Structure
|
4966
|
+
end
|
4967
|
+
|
4968
|
+
# Contains information on a metric attribution. A metric attribution
|
4969
|
+
# creates reports on the data that you import into Amazon Personalize.
|
4970
|
+
# Depending on how you import the data, you can view reports in Amazon
|
4971
|
+
# CloudWatch or Amazon S3. For more information, see [Measuring impact
|
4972
|
+
# of recommendations][1].
|
4973
|
+
#
|
4974
|
+
#
|
4975
|
+
#
|
4976
|
+
# [1]: https://docs.aws.amazon.com/personalize/latest/dg/measuring-recommendation-impact.html
|
4977
|
+
#
|
4978
|
+
# @!attribute [rw] name
|
4979
|
+
# The metric attribution's name.
|
4980
|
+
# @return [String]
|
4981
|
+
#
|
4982
|
+
# @!attribute [rw] metric_attribution_arn
|
4983
|
+
# The metric attribution's Amazon Resource Name (ARN).
|
4984
|
+
# @return [String]
|
4985
|
+
#
|
4986
|
+
# @!attribute [rw] dataset_group_arn
|
4987
|
+
# The metric attribution's dataset group Amazon Resource Name (ARN).
|
4988
|
+
# @return [String]
|
4989
|
+
#
|
4990
|
+
# @!attribute [rw] metrics_output_config
|
4991
|
+
# The metric attribution's output configuration.
|
4992
|
+
# @return [Types::MetricAttributionOutput]
|
4993
|
+
#
|
4994
|
+
# @!attribute [rw] status
|
4995
|
+
# The metric attribution's status.
|
4996
|
+
# @return [String]
|
4997
|
+
#
|
4998
|
+
# @!attribute [rw] creation_date_time
|
4999
|
+
# The metric attribution's creation date time.
|
5000
|
+
# @return [Time]
|
5001
|
+
#
|
5002
|
+
# @!attribute [rw] last_updated_date_time
|
5003
|
+
# The metric attribution's last updated date time.
|
5004
|
+
# @return [Time]
|
5005
|
+
#
|
5006
|
+
# @!attribute [rw] failure_reason
|
5007
|
+
# The metric attribution's failure reason.
|
5008
|
+
# @return [String]
|
5009
|
+
#
|
5010
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/MetricAttribution AWS API Documentation
|
5011
|
+
#
|
5012
|
+
class MetricAttribution < Struct.new(
|
5013
|
+
:name,
|
5014
|
+
:metric_attribution_arn,
|
5015
|
+
:dataset_group_arn,
|
5016
|
+
:metrics_output_config,
|
5017
|
+
:status,
|
5018
|
+
:creation_date_time,
|
5019
|
+
:last_updated_date_time,
|
5020
|
+
:failure_reason)
|
5021
|
+
SENSITIVE = []
|
5022
|
+
include Aws::Structure
|
5023
|
+
end
|
5024
|
+
|
5025
|
+
# The output configuration details for a metric attribution.
|
5026
|
+
#
|
5027
|
+
# @note When making an API call, you may pass MetricAttributionOutput
|
5028
|
+
# data as a hash:
|
5029
|
+
#
|
5030
|
+
# {
|
5031
|
+
# s3_data_destination: {
|
5032
|
+
# path: "S3Location", # required
|
5033
|
+
# kms_key_arn: "KmsKeyArn",
|
5034
|
+
# },
|
5035
|
+
# role_arn: "RoleArn", # required
|
5036
|
+
# }
|
5037
|
+
#
|
5038
|
+
# @!attribute [rw] s3_data_destination
|
5039
|
+
# The configuration details of an Amazon S3 input or output bucket.
|
5040
|
+
# @return [Types::S3DataConfig]
|
5041
|
+
#
|
5042
|
+
# @!attribute [rw] role_arn
|
5043
|
+
# The Amazon Resource Name (ARN) of the IAM service role that has
|
5044
|
+
# permissions to add data to your output Amazon S3 bucket and add
|
5045
|
+
# metrics to Amazon CloudWatch. For more information, see [Measuring
|
5046
|
+
# impact of recommendations][1].
|
5047
|
+
#
|
5048
|
+
#
|
5049
|
+
#
|
5050
|
+
# [1]: https://docs.aws.amazon.com/personalize/latest/dg/measuring-recommendation-impact.html
|
5051
|
+
# @return [String]
|
5052
|
+
#
|
5053
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/MetricAttributionOutput AWS API Documentation
|
5054
|
+
#
|
5055
|
+
class MetricAttributionOutput < Struct.new(
|
5056
|
+
:s3_data_destination,
|
5057
|
+
:role_arn)
|
5058
|
+
SENSITIVE = []
|
5059
|
+
include Aws::Structure
|
5060
|
+
end
|
5061
|
+
|
5062
|
+
# Provides a summary of the properties of a metric attribution. For a
|
5063
|
+
# complete listing, call the [DescribeMetricAttribution][1].
|
5064
|
+
#
|
5065
|
+
#
|
5066
|
+
#
|
5067
|
+
# [1]: https://docs.aws.amazon.com/personalize/latest/dg/API_DescribeMetricAttribution.html
|
5068
|
+
#
|
5069
|
+
# @!attribute [rw] name
|
5070
|
+
# The name of the metric attribution.
|
5071
|
+
# @return [String]
|
5072
|
+
#
|
5073
|
+
# @!attribute [rw] metric_attribution_arn
|
5074
|
+
# The metric attribution's Amazon Resource Name (ARN).
|
5075
|
+
# @return [String]
|
5076
|
+
#
|
5077
|
+
# @!attribute [rw] status
|
5078
|
+
# The metric attribution's status.
|
5079
|
+
# @return [String]
|
5080
|
+
#
|
5081
|
+
# @!attribute [rw] creation_date_time
|
5082
|
+
# The metric attribution's creation date time.
|
5083
|
+
# @return [Time]
|
5084
|
+
#
|
5085
|
+
# @!attribute [rw] last_updated_date_time
|
5086
|
+
# The metric attribution's last updated date time.
|
5087
|
+
# @return [Time]
|
5088
|
+
#
|
5089
|
+
# @!attribute [rw] failure_reason
|
5090
|
+
# The metric attribution's failure reason.
|
5091
|
+
# @return [String]
|
5092
|
+
#
|
5093
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/MetricAttributionSummary AWS API Documentation
|
5094
|
+
#
|
5095
|
+
class MetricAttributionSummary < Struct.new(
|
5096
|
+
:name,
|
5097
|
+
:metric_attribution_arn,
|
5098
|
+
:status,
|
5099
|
+
:creation_date_time,
|
5100
|
+
:last_updated_date_time,
|
5101
|
+
:failure_reason)
|
5102
|
+
SENSITIVE = []
|
5103
|
+
include Aws::Structure
|
5104
|
+
end
|
5105
|
+
|
4688
5106
|
# Describes the additional objective for the solution, such as
|
4689
5107
|
# maximizing streaming minutes or increasing revenue. For more
|
4690
5108
|
# information see [Optimizing a solution][1].
|
@@ -5368,6 +5786,10 @@ module Aws::Personalize
|
|
5368
5786
|
# The date and time (in Unix time) that the solution was last updated.
|
5369
5787
|
# @return [Time]
|
5370
5788
|
#
|
5789
|
+
# @!attribute [rw] recipe_arn
|
5790
|
+
# The Amazon Resource Name (ARN) of the recipe used by the solution.
|
5791
|
+
# @return [String]
|
5792
|
+
#
|
5371
5793
|
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/SolutionSummary AWS API Documentation
|
5372
5794
|
#
|
5373
5795
|
class SolutionSummary < Struct.new(
|
@@ -5375,7 +5797,8 @@ module Aws::Personalize
|
|
5375
5797
|
:solution_arn,
|
5376
5798
|
:status,
|
5377
5799
|
:creation_date_time,
|
5378
|
-
:last_updated_date_time
|
5800
|
+
:last_updated_date_time,
|
5801
|
+
:recipe_arn)
|
5379
5802
|
SENSITIVE = []
|
5380
5803
|
include Aws::Structure
|
5381
5804
|
end
|
@@ -5387,6 +5810,10 @@ module Aws::Personalize
|
|
5387
5810
|
#
|
5388
5811
|
# [1]: https://docs.aws.amazon.com/personalize/latest/dg/API_Solution.html
|
5389
5812
|
#
|
5813
|
+
# @!attribute [rw] name
|
5814
|
+
# The name of the solution version.
|
5815
|
+
# @return [String]
|
5816
|
+
#
|
5390
5817
|
# @!attribute [rw] solution_version_arn
|
5391
5818
|
# The ARN of the solution version.
|
5392
5819
|
# @return [String]
|
@@ -5489,6 +5916,7 @@ module Aws::Personalize
|
|
5489
5916
|
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/SolutionVersion AWS API Documentation
|
5490
5917
|
#
|
5491
5918
|
class SolutionVersion < Struct.new(
|
5919
|
+
:name,
|
5492
5920
|
:solution_version_arn,
|
5493
5921
|
:solution_arn,
|
5494
5922
|
:perform_hpo,
|
@@ -5839,6 +6267,68 @@ module Aws::Personalize
|
|
5839
6267
|
include Aws::Structure
|
5840
6268
|
end
|
5841
6269
|
|
6270
|
+
# @note When making an API call, you may pass UpdateMetricAttributionRequest
|
6271
|
+
# data as a hash:
|
6272
|
+
#
|
6273
|
+
# {
|
6274
|
+
# add_metrics: [
|
6275
|
+
# {
|
6276
|
+
# event_type: "EventType", # required
|
6277
|
+
# metric_name: "MetricName", # required
|
6278
|
+
# expression: "MetricExpression", # required
|
6279
|
+
# },
|
6280
|
+
# ],
|
6281
|
+
# remove_metrics: ["MetricName"],
|
6282
|
+
# metrics_output_config: {
|
6283
|
+
# s3_data_destination: {
|
6284
|
+
# path: "S3Location", # required
|
6285
|
+
# kms_key_arn: "KmsKeyArn",
|
6286
|
+
# },
|
6287
|
+
# role_arn: "RoleArn", # required
|
6288
|
+
# },
|
6289
|
+
# metric_attribution_arn: "Arn",
|
6290
|
+
# }
|
6291
|
+
#
|
6292
|
+
# @!attribute [rw] add_metrics
|
6293
|
+
# Add new metric attributes to the metric attribution.
|
6294
|
+
# @return [Array<Types::MetricAttribute>]
|
6295
|
+
#
|
6296
|
+
# @!attribute [rw] remove_metrics
|
6297
|
+
# Remove metric attributes from the metric attribution.
|
6298
|
+
# @return [Array<String>]
|
6299
|
+
#
|
6300
|
+
# @!attribute [rw] metrics_output_config
|
6301
|
+
# An output config for the metric attribution.
|
6302
|
+
# @return [Types::MetricAttributionOutput]
|
6303
|
+
#
|
6304
|
+
# @!attribute [rw] metric_attribution_arn
|
6305
|
+
# The Amazon Resource Name (ARN) for the metric attribution to update.
|
6306
|
+
# @return [String]
|
6307
|
+
#
|
6308
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/UpdateMetricAttributionRequest AWS API Documentation
|
6309
|
+
#
|
6310
|
+
class UpdateMetricAttributionRequest < Struct.new(
|
6311
|
+
:add_metrics,
|
6312
|
+
:remove_metrics,
|
6313
|
+
:metrics_output_config,
|
6314
|
+
:metric_attribution_arn)
|
6315
|
+
SENSITIVE = []
|
6316
|
+
include Aws::Structure
|
6317
|
+
end
|
6318
|
+
|
6319
|
+
# @!attribute [rw] metric_attribution_arn
|
6320
|
+
# The Amazon Resource Name (ARN) for the metric attribution that you
|
6321
|
+
# updated.
|
6322
|
+
# @return [String]
|
6323
|
+
#
|
6324
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/UpdateMetricAttributionResponse AWS API Documentation
|
6325
|
+
#
|
6326
|
+
class UpdateMetricAttributionResponse < Struct.new(
|
6327
|
+
:metric_attribution_arn)
|
6328
|
+
SENSITIVE = []
|
6329
|
+
include Aws::Structure
|
6330
|
+
end
|
6331
|
+
|
5842
6332
|
# @note When making an API call, you may pass UpdateRecommenderRequest
|
5843
6333
|
# data as a hash:
|
5844
6334
|
#
|
data/lib/aws-sdk-personalize.rb
CHANGED
@@ -13,9 +13,13 @@ require 'aws-sigv4'
|
|
13
13
|
|
14
14
|
require_relative 'aws-sdk-personalize/types'
|
15
15
|
require_relative 'aws-sdk-personalize/client_api'
|
16
|
+
require_relative 'aws-sdk-personalize/plugins/endpoints.rb'
|
16
17
|
require_relative 'aws-sdk-personalize/client'
|
17
18
|
require_relative 'aws-sdk-personalize/errors'
|
18
19
|
require_relative 'aws-sdk-personalize/resource'
|
20
|
+
require_relative 'aws-sdk-personalize/endpoint_parameters'
|
21
|
+
require_relative 'aws-sdk-personalize/endpoint_provider'
|
22
|
+
require_relative 'aws-sdk-personalize/endpoints'
|
19
23
|
require_relative 'aws-sdk-personalize/customizations'
|
20
24
|
|
21
25
|
# This module provides support for Amazon Personalize. This module is available in the
|
@@ -48,6 +52,6 @@ require_relative 'aws-sdk-personalize/customizations'
|
|
48
52
|
# @!group service
|
49
53
|
module Aws::Personalize
|
50
54
|
|
51
|
-
GEM_VERSION = '1.
|
55
|
+
GEM_VERSION = '1.45.0'
|
52
56
|
|
53
57
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-personalize
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.45.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-11-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.165.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.165.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -59,7 +59,11 @@ files:
|
|
59
59
|
- lib/aws-sdk-personalize/client.rb
|
60
60
|
- lib/aws-sdk-personalize/client_api.rb
|
61
61
|
- lib/aws-sdk-personalize/customizations.rb
|
62
|
+
- lib/aws-sdk-personalize/endpoint_parameters.rb
|
63
|
+
- lib/aws-sdk-personalize/endpoint_provider.rb
|
64
|
+
- lib/aws-sdk-personalize/endpoints.rb
|
62
65
|
- lib/aws-sdk-personalize/errors.rb
|
66
|
+
- lib/aws-sdk-personalize/plugins/endpoints.rb
|
63
67
|
- lib/aws-sdk-personalize/resource.rb
|
64
68
|
- lib/aws-sdk-personalize/types.rb
|
65
69
|
homepage: https://github.com/aws/aws-sdk-ruby
|