aws-sdk-personalize 1.9.0 → 1.14.1
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 +5 -5
- data/lib/aws-sdk-personalize.rb +1 -1
- data/lib/aws-sdk-personalize/client.rb +205 -21
- data/lib/aws-sdk-personalize/client_api.rb +108 -0
- data/lib/aws-sdk-personalize/resource.rb +1 -7
- data/lib/aws-sdk-personalize/types.rb +283 -2
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 219decacf9bbddb48e0328fcfcdcbd30726c61be2e43934d0fde08f2e4e7be0f
|
4
|
+
data.tar.gz: e19c218b07a4f8480e7ec45e5d8ff1b6c48397178af45cf4d81b539710db13e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c16c01cb8b12ecce6c82820028f64db83621fa9759a22149d0f6b28cbc00316bb9f2bfd2823d55b1645366fc9b05cde8551691e100818722f81a53d8acac090
|
7
|
+
data.tar.gz: 90b0e12613ea6c2167a454bf376b49f32cf0d4924f3e71cf39d0d213a94ef81d65b2d8aa8e2d9bf6e4b9786a0428b7476e8e6b85a0010e40f6eb4a3e2095f4dc
|
data/lib/aws-sdk-personalize.rb
CHANGED
@@ -24,6 +24,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
24
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
25
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
26
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
27
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
28
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
29
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
29
30
|
|
@@ -32,11 +33,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:personalize)
|
|
32
33
|
module Aws::Personalize
|
33
34
|
# An API client for Personalize. To construct a client, you need to configure a `:region` and `:credentials`.
|
34
35
|
#
|
35
|
-
#
|
36
|
-
#
|
37
|
-
#
|
38
|
-
#
|
39
|
-
#
|
36
|
+
# client = Aws::Personalize::Client.new(
|
37
|
+
# region: region_name,
|
38
|
+
# credentials: credentials,
|
39
|
+
# # ...
|
40
|
+
# )
|
40
41
|
#
|
41
42
|
# For details on configuring region and credentials see
|
42
43
|
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
@@ -69,6 +70,7 @@ module Aws::Personalize
|
|
69
70
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
70
71
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
71
72
|
add_plugin(Aws::Plugins::TransferEncoding)
|
73
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
72
74
|
add_plugin(Aws::Plugins::SignatureV4)
|
73
75
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
74
76
|
|
@@ -105,7 +107,7 @@ module Aws::Personalize
|
|
105
107
|
# @option options [required, String] :region
|
106
108
|
# The AWS region to connect to. The configured `:region` is
|
107
109
|
# used to determine the service `:endpoint`. When not passed,
|
108
|
-
# a default `:region` is
|
110
|
+
# a default `:region` is searched for in the following locations:
|
109
111
|
#
|
110
112
|
# * `Aws.config[:region]`
|
111
113
|
# * `ENV['AWS_REGION']`
|
@@ -161,7 +163,7 @@ module Aws::Personalize
|
|
161
163
|
# @option options [String] :endpoint
|
162
164
|
# The client endpoint is normally constructed from the `:region`
|
163
165
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be
|
166
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
165
167
|
#
|
166
168
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
169
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -176,7 +178,7 @@ module Aws::Personalize
|
|
176
178
|
# requests fetching endpoints information. Defaults to 60 sec.
|
177
179
|
#
|
178
180
|
# @option options [Boolean] :endpoint_discovery (false)
|
179
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
181
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
180
182
|
#
|
181
183
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
182
184
|
# The log formatter.
|
@@ -229,15 +231,19 @@ module Aws::Personalize
|
|
229
231
|
#
|
230
232
|
# @option options [String] :retry_mode ("legacy")
|
231
233
|
# Specifies which retry algorithm to use. Values are:
|
232
|
-
#
|
233
|
-
#
|
234
|
-
#
|
235
|
-
#
|
236
|
-
#
|
237
|
-
#
|
238
|
-
#
|
239
|
-
#
|
240
|
-
#
|
234
|
+
#
|
235
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
236
|
+
# no retry mode is provided.
|
237
|
+
#
|
238
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
239
|
+
# This includes support for retry quotas, which limit the number of
|
240
|
+
# unsuccessful retries a client can make.
|
241
|
+
#
|
242
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
243
|
+
# functionality of `standard` mode along with automatic client side
|
244
|
+
# throttling. This is a provisional mode that may change behavior
|
245
|
+
# in the future.
|
246
|
+
#
|
241
247
|
#
|
242
248
|
# @option options [String] :secret_access_key
|
243
249
|
#
|
@@ -275,8 +281,7 @@ module Aws::Personalize
|
|
275
281
|
#
|
276
282
|
# @option options [Integer] :http_read_timeout (60) The default
|
277
283
|
# number of seconds to wait for response data. This value can
|
278
|
-
# safely be set
|
279
|
-
# per-request on the session yielded by {#session_for}.
|
284
|
+
# safely be set per-request on the session.
|
280
285
|
#
|
281
286
|
# @option options [Float] :http_idle_timeout (5) The number of
|
282
287
|
# seconds a connection is allowed to sit idle before it is
|
@@ -288,7 +293,7 @@ module Aws::Personalize
|
|
288
293
|
# request body. This option has no effect unless the request has
|
289
294
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
290
295
|
# disables this behaviour. This value can safely be set per
|
291
|
-
# request on the session
|
296
|
+
# request on the session.
|
292
297
|
#
|
293
298
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
294
299
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -326,6 +331,11 @@ module Aws::Personalize
|
|
326
331
|
# The Amazon Resource Name (ARN) of the solution version that will be
|
327
332
|
# used to generate the batch inference recommendations.
|
328
333
|
#
|
334
|
+
# @option params [String] :filter_arn
|
335
|
+
# The ARN of the filter to apply to the batch inference job. For more
|
336
|
+
# information on using filters, see Using Filters with Amazon
|
337
|
+
# Personalize.
|
338
|
+
#
|
329
339
|
# @option params [Integer] :num_results
|
330
340
|
# The number of recommendations to retreive.
|
331
341
|
#
|
@@ -351,6 +361,7 @@ module Aws::Personalize
|
|
351
361
|
# resp = client.create_batch_inference_job({
|
352
362
|
# job_name: "Name", # required
|
353
363
|
# solution_version_arn: "Arn", # required
|
364
|
+
# filter_arn: "Arn",
|
354
365
|
# num_results: 1,
|
355
366
|
# job_input: { # required
|
356
367
|
# s3_data_source: { # required
|
@@ -787,6 +798,52 @@ module Aws::Personalize
|
|
787
798
|
req.send_request(options)
|
788
799
|
end
|
789
800
|
|
801
|
+
# Creates a recommendation filter. For more information, see Using
|
802
|
+
# Filters with Amazon Personalize.
|
803
|
+
#
|
804
|
+
# @option params [required, String] :name
|
805
|
+
# The name of the filter to create.
|
806
|
+
#
|
807
|
+
# @option params [required, String] :dataset_group_arn
|
808
|
+
# The ARN of the dataset group that the filter will belong to.
|
809
|
+
#
|
810
|
+
# @option params [required, String] :filter_expression
|
811
|
+
# The filter expression that designates the interaction types that the
|
812
|
+
# filter will filter out. A filter expression must follow the following
|
813
|
+
# format:
|
814
|
+
#
|
815
|
+
# `EXCLUDE itemId WHERE INTERACTIONS.event_type in ("EVENT_TYPE")`
|
816
|
+
#
|
817
|
+
# Where "EVENT\_TYPE" is the type of event to filter out. To filter
|
818
|
+
# out all items with any interactions history, set `"*"` as the
|
819
|
+
# EVENT\_TYPE. For more information, see Using Filters with Amazon
|
820
|
+
# Personalize.
|
821
|
+
#
|
822
|
+
# @return [Types::CreateFilterResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
823
|
+
#
|
824
|
+
# * {Types::CreateFilterResponse#filter_arn #filter_arn} => String
|
825
|
+
#
|
826
|
+
# @example Request syntax with placeholder values
|
827
|
+
#
|
828
|
+
# resp = client.create_filter({
|
829
|
+
# name: "Name", # required
|
830
|
+
# dataset_group_arn: "Arn", # required
|
831
|
+
# filter_expression: "FilterExpression", # required
|
832
|
+
# })
|
833
|
+
#
|
834
|
+
# @example Response structure
|
835
|
+
#
|
836
|
+
# resp.filter_arn #=> String
|
837
|
+
#
|
838
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateFilter AWS API Documentation
|
839
|
+
#
|
840
|
+
# @overload create_filter(params = {})
|
841
|
+
# @param [Hash] params ({})
|
842
|
+
def create_filter(params = {}, options = {})
|
843
|
+
req = build_request(:create_filter, params)
|
844
|
+
req.send_request(options)
|
845
|
+
end
|
846
|
+
|
790
847
|
# Creates an Amazon Personalize schema from the specified schema string.
|
791
848
|
# The schema you create must be in Avro JSON format.
|
792
849
|
#
|
@@ -1178,6 +1235,28 @@ module Aws::Personalize
|
|
1178
1235
|
req.send_request(options)
|
1179
1236
|
end
|
1180
1237
|
|
1238
|
+
# Deletes a filter.
|
1239
|
+
#
|
1240
|
+
# @option params [required, String] :filter_arn
|
1241
|
+
# The ARN of the filter to delete.
|
1242
|
+
#
|
1243
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1244
|
+
#
|
1245
|
+
# @example Request syntax with placeholder values
|
1246
|
+
#
|
1247
|
+
# resp = client.delete_filter({
|
1248
|
+
# filter_arn: "Arn", # required
|
1249
|
+
# })
|
1250
|
+
#
|
1251
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DeleteFilter AWS API Documentation
|
1252
|
+
#
|
1253
|
+
# @overload delete_filter(params = {})
|
1254
|
+
# @param [Hash] params ({})
|
1255
|
+
def delete_filter(params = {}, options = {})
|
1256
|
+
req = build_request(:delete_filter, params)
|
1257
|
+
req.send_request(options)
|
1258
|
+
end
|
1259
|
+
|
1181
1260
|
# Deletes a schema. Before deleting a schema, you must delete all
|
1182
1261
|
# datasets referencing the schema. For more information on schemas, see
|
1183
1262
|
# CreateSchema.
|
@@ -1305,6 +1384,7 @@ module Aws::Personalize
|
|
1305
1384
|
#
|
1306
1385
|
# resp.batch_inference_job.job_name #=> String
|
1307
1386
|
# resp.batch_inference_job.batch_inference_job_arn #=> String
|
1387
|
+
# resp.batch_inference_job.filter_arn #=> String
|
1308
1388
|
# resp.batch_inference_job.failure_reason #=> String
|
1309
1389
|
# resp.batch_inference_job.solution_version_arn #=> String
|
1310
1390
|
# resp.batch_inference_job.num_results #=> Integer
|
@@ -1560,6 +1640,41 @@ module Aws::Personalize
|
|
1560
1640
|
req.send_request(options)
|
1561
1641
|
end
|
1562
1642
|
|
1643
|
+
# Describes a filter's properties.
|
1644
|
+
#
|
1645
|
+
# @option params [required, String] :filter_arn
|
1646
|
+
# The ARN of the filter to describe.
|
1647
|
+
#
|
1648
|
+
# @return [Types::DescribeFilterResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1649
|
+
#
|
1650
|
+
# * {Types::DescribeFilterResponse#filter #filter} => Types::Filter
|
1651
|
+
#
|
1652
|
+
# @example Request syntax with placeholder values
|
1653
|
+
#
|
1654
|
+
# resp = client.describe_filter({
|
1655
|
+
# filter_arn: "Arn", # required
|
1656
|
+
# })
|
1657
|
+
#
|
1658
|
+
# @example Response structure
|
1659
|
+
#
|
1660
|
+
# resp.filter.name #=> String
|
1661
|
+
# resp.filter.filter_arn #=> String
|
1662
|
+
# resp.filter.creation_date_time #=> Time
|
1663
|
+
# resp.filter.last_updated_date_time #=> Time
|
1664
|
+
# resp.filter.dataset_group_arn #=> String
|
1665
|
+
# resp.filter.failure_reason #=> String
|
1666
|
+
# resp.filter.filter_expression #=> String
|
1667
|
+
# resp.filter.status #=> String
|
1668
|
+
#
|
1669
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeFilter AWS API Documentation
|
1670
|
+
#
|
1671
|
+
# @overload describe_filter(params = {})
|
1672
|
+
# @param [Hash] params ({})
|
1673
|
+
def describe_filter(params = {}, options = {})
|
1674
|
+
req = build_request(:describe_filter, params)
|
1675
|
+
req.send_request(options)
|
1676
|
+
end
|
1677
|
+
|
1563
1678
|
# Describes a recipe.
|
1564
1679
|
#
|
1565
1680
|
# A recipe contains three items:
|
@@ -1769,6 +1884,8 @@ module Aws::Personalize
|
|
1769
1884
|
# resp.solution_version.solution_config.auto_ml_config.recipe_list[0] #=> String
|
1770
1885
|
# resp.solution_version.training_hours #=> Float
|
1771
1886
|
# resp.solution_version.training_mode #=> String, one of "FULL", "UPDATE"
|
1887
|
+
# resp.solution_version.tuned_hpo_params.algorithm_hyper_parameters #=> Hash
|
1888
|
+
# resp.solution_version.tuned_hpo_params.algorithm_hyper_parameters["ParameterName"] #=> String
|
1772
1889
|
# resp.solution_version.status #=> String
|
1773
1890
|
# resp.solution_version.failure_reason #=> String
|
1774
1891
|
# resp.solution_version.creation_date_time #=> Time
|
@@ -1834,6 +1951,8 @@ module Aws::Personalize
|
|
1834
1951
|
# * {Types::ListBatchInferenceJobsResponse#batch_inference_jobs #batch_inference_jobs} => Array<Types::BatchInferenceJobSummary>
|
1835
1952
|
# * {Types::ListBatchInferenceJobsResponse#next_token #next_token} => String
|
1836
1953
|
#
|
1954
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1955
|
+
#
|
1837
1956
|
# @example Request syntax with placeholder values
|
1838
1957
|
#
|
1839
1958
|
# resp = client.list_batch_inference_jobs({
|
@@ -1851,6 +1970,7 @@ module Aws::Personalize
|
|
1851
1970
|
# resp.batch_inference_jobs[0].creation_date_time #=> Time
|
1852
1971
|
# resp.batch_inference_jobs[0].last_updated_date_time #=> Time
|
1853
1972
|
# resp.batch_inference_jobs[0].failure_reason #=> String
|
1973
|
+
# resp.batch_inference_jobs[0].solution_version_arn #=> String
|
1854
1974
|
# resp.next_token #=> String
|
1855
1975
|
#
|
1856
1976
|
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListBatchInferenceJobs AWS API Documentation
|
@@ -1885,6 +2005,8 @@ module Aws::Personalize
|
|
1885
2005
|
# * {Types::ListCampaignsResponse#campaigns #campaigns} => Array<Types::CampaignSummary>
|
1886
2006
|
# * {Types::ListCampaignsResponse#next_token #next_token} => String
|
1887
2007
|
#
|
2008
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2009
|
+
#
|
1888
2010
|
# @example Request syntax with placeholder values
|
1889
2011
|
#
|
1890
2012
|
# resp = client.list_campaigns({
|
@@ -1929,6 +2051,8 @@ module Aws::Personalize
|
|
1929
2051
|
# * {Types::ListDatasetGroupsResponse#dataset_groups #dataset_groups} => Array<Types::DatasetGroupSummary>
|
1930
2052
|
# * {Types::ListDatasetGroupsResponse#next_token #next_token} => String
|
1931
2053
|
#
|
2054
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2055
|
+
#
|
1932
2056
|
# @example Request syntax with placeholder values
|
1933
2057
|
#
|
1934
2058
|
# resp = client.list_dataset_groups({
|
@@ -1979,6 +2103,8 @@ module Aws::Personalize
|
|
1979
2103
|
# * {Types::ListDatasetImportJobsResponse#dataset_import_jobs #dataset_import_jobs} => Array<Types::DatasetImportJobSummary>
|
1980
2104
|
# * {Types::ListDatasetImportJobsResponse#next_token #next_token} => String
|
1981
2105
|
#
|
2106
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2107
|
+
#
|
1982
2108
|
# @example Request syntax with placeholder values
|
1983
2109
|
#
|
1984
2110
|
# resp = client.list_dataset_import_jobs({
|
@@ -2028,6 +2154,8 @@ module Aws::Personalize
|
|
2028
2154
|
# * {Types::ListDatasetsResponse#datasets #datasets} => Array<Types::DatasetSummary>
|
2029
2155
|
# * {Types::ListDatasetsResponse#next_token #next_token} => String
|
2030
2156
|
#
|
2157
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2158
|
+
#
|
2031
2159
|
# @example Request syntax with placeholder values
|
2032
2160
|
#
|
2033
2161
|
# resp = client.list_datasets({
|
@@ -2076,6 +2204,8 @@ module Aws::Personalize
|
|
2076
2204
|
# * {Types::ListEventTrackersResponse#event_trackers #event_trackers} => Array<Types::EventTrackerSummary>
|
2077
2205
|
# * {Types::ListEventTrackersResponse#next_token #next_token} => String
|
2078
2206
|
#
|
2207
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2208
|
+
#
|
2079
2209
|
# @example Request syntax with placeholder values
|
2080
2210
|
#
|
2081
2211
|
# resp = client.list_event_trackers({
|
@@ -2103,6 +2233,52 @@ module Aws::Personalize
|
|
2103
2233
|
req.send_request(options)
|
2104
2234
|
end
|
2105
2235
|
|
2236
|
+
# Lists all filters that belong to a given dataset group.
|
2237
|
+
#
|
2238
|
+
# @option params [String] :dataset_group_arn
|
2239
|
+
# The ARN of the dataset group that contains the filters.
|
2240
|
+
#
|
2241
|
+
# @option params [String] :next_token
|
2242
|
+
# A token returned from the previous call to `ListFilters` for getting
|
2243
|
+
# the next set of filters (if they exist).
|
2244
|
+
#
|
2245
|
+
# @option params [Integer] :max_results
|
2246
|
+
# The maximum number of filters to return.
|
2247
|
+
#
|
2248
|
+
# @return [Types::ListFiltersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2249
|
+
#
|
2250
|
+
# * {Types::ListFiltersResponse#filters #filters} => Array<Types::FilterSummary>
|
2251
|
+
# * {Types::ListFiltersResponse#next_token #next_token} => String
|
2252
|
+
#
|
2253
|
+
# @example Request syntax with placeholder values
|
2254
|
+
#
|
2255
|
+
# resp = client.list_filters({
|
2256
|
+
# dataset_group_arn: "Arn",
|
2257
|
+
# next_token: "NextToken",
|
2258
|
+
# max_results: 1,
|
2259
|
+
# })
|
2260
|
+
#
|
2261
|
+
# @example Response structure
|
2262
|
+
#
|
2263
|
+
# resp.filters #=> Array
|
2264
|
+
# resp.filters[0].name #=> String
|
2265
|
+
# resp.filters[0].filter_arn #=> String
|
2266
|
+
# resp.filters[0].creation_date_time #=> Time
|
2267
|
+
# resp.filters[0].last_updated_date_time #=> Time
|
2268
|
+
# resp.filters[0].dataset_group_arn #=> String
|
2269
|
+
# resp.filters[0].failure_reason #=> String
|
2270
|
+
# resp.filters[0].status #=> String
|
2271
|
+
# resp.next_token #=> String
|
2272
|
+
#
|
2273
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListFilters AWS API Documentation
|
2274
|
+
#
|
2275
|
+
# @overload list_filters(params = {})
|
2276
|
+
# @param [Hash] params ({})
|
2277
|
+
def list_filters(params = {}, options = {})
|
2278
|
+
req = build_request(:list_filters, params)
|
2279
|
+
req.send_request(options)
|
2280
|
+
end
|
2281
|
+
|
2106
2282
|
# Returns a list of available recipes. The response provides the
|
2107
2283
|
# properties for each recipe, including the recipe's Amazon Resource
|
2108
2284
|
# Name (ARN).
|
@@ -2122,6 +2298,8 @@ module Aws::Personalize
|
|
2122
2298
|
# * {Types::ListRecipesResponse#recipes #recipes} => Array<Types::RecipeSummary>
|
2123
2299
|
# * {Types::ListRecipesResponse#next_token #next_token} => String
|
2124
2300
|
#
|
2301
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2302
|
+
#
|
2125
2303
|
# @example Request syntax with placeholder values
|
2126
2304
|
#
|
2127
2305
|
# resp = client.list_recipes({
|
@@ -2165,6 +2343,8 @@ module Aws::Personalize
|
|
2165
2343
|
# * {Types::ListSchemasResponse#schemas #schemas} => Array<Types::DatasetSchemaSummary>
|
2166
2344
|
# * {Types::ListSchemasResponse#next_token #next_token} => String
|
2167
2345
|
#
|
2346
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2347
|
+
#
|
2168
2348
|
# @example Request syntax with placeholder values
|
2169
2349
|
#
|
2170
2350
|
# resp = client.list_schemas({
|
@@ -2211,6 +2391,8 @@ module Aws::Personalize
|
|
2211
2391
|
# * {Types::ListSolutionVersionsResponse#solution_versions #solution_versions} => Array<Types::SolutionVersionSummary>
|
2212
2392
|
# * {Types::ListSolutionVersionsResponse#next_token #next_token} => String
|
2213
2393
|
#
|
2394
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2395
|
+
#
|
2214
2396
|
# @example Request syntax with placeholder values
|
2215
2397
|
#
|
2216
2398
|
# resp = client.list_solution_versions({
|
@@ -2259,6 +2441,8 @@ module Aws::Personalize
|
|
2259
2441
|
# * {Types::ListSolutionsResponse#solutions #solutions} => Array<Types::SolutionSummary>
|
2260
2442
|
# * {Types::ListSolutionsResponse#next_token #next_token} => String
|
2261
2443
|
#
|
2444
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2445
|
+
#
|
2262
2446
|
# @example Request syntax with placeholder values
|
2263
2447
|
#
|
2264
2448
|
# resp = client.list_solutions({
|
@@ -2347,7 +2531,7 @@ module Aws::Personalize
|
|
2347
2531
|
params: params,
|
2348
2532
|
config: config)
|
2349
2533
|
context[:gem_name] = 'aws-sdk-personalize'
|
2350
|
-
context[:gem_version] = '1.
|
2534
|
+
context[:gem_version] = '1.14.1'
|
2351
2535
|
Seahorse::Client::Request.new(handlers, context)
|
2352
2536
|
end
|
2353
2537
|
|
@@ -49,6 +49,8 @@ module Aws::Personalize
|
|
49
49
|
CreateDatasetResponse = Shapes::StructureShape.new(name: 'CreateDatasetResponse')
|
50
50
|
CreateEventTrackerRequest = Shapes::StructureShape.new(name: 'CreateEventTrackerRequest')
|
51
51
|
CreateEventTrackerResponse = Shapes::StructureShape.new(name: 'CreateEventTrackerResponse')
|
52
|
+
CreateFilterRequest = Shapes::StructureShape.new(name: 'CreateFilterRequest')
|
53
|
+
CreateFilterResponse = Shapes::StructureShape.new(name: 'CreateFilterResponse')
|
52
54
|
CreateSchemaRequest = Shapes::StructureShape.new(name: 'CreateSchemaRequest')
|
53
55
|
CreateSchemaResponse = Shapes::StructureShape.new(name: 'CreateSchemaResponse')
|
54
56
|
CreateSolutionRequest = Shapes::StructureShape.new(name: 'CreateSolutionRequest')
|
@@ -80,6 +82,7 @@ module Aws::Personalize
|
|
80
82
|
DeleteDatasetGroupRequest = Shapes::StructureShape.new(name: 'DeleteDatasetGroupRequest')
|
81
83
|
DeleteDatasetRequest = Shapes::StructureShape.new(name: 'DeleteDatasetRequest')
|
82
84
|
DeleteEventTrackerRequest = Shapes::StructureShape.new(name: 'DeleteEventTrackerRequest')
|
85
|
+
DeleteFilterRequest = Shapes::StructureShape.new(name: 'DeleteFilterRequest')
|
83
86
|
DeleteSchemaRequest = Shapes::StructureShape.new(name: 'DeleteSchemaRequest')
|
84
87
|
DeleteSolutionRequest = Shapes::StructureShape.new(name: 'DeleteSolutionRequest')
|
85
88
|
DescribeAlgorithmRequest = Shapes::StructureShape.new(name: 'DescribeAlgorithmRequest')
|
@@ -98,6 +101,8 @@ module Aws::Personalize
|
|
98
101
|
DescribeEventTrackerResponse = Shapes::StructureShape.new(name: 'DescribeEventTrackerResponse')
|
99
102
|
DescribeFeatureTransformationRequest = Shapes::StructureShape.new(name: 'DescribeFeatureTransformationRequest')
|
100
103
|
DescribeFeatureTransformationResponse = Shapes::StructureShape.new(name: 'DescribeFeatureTransformationResponse')
|
104
|
+
DescribeFilterRequest = Shapes::StructureShape.new(name: 'DescribeFilterRequest')
|
105
|
+
DescribeFilterResponse = Shapes::StructureShape.new(name: 'DescribeFilterResponse')
|
101
106
|
DescribeRecipeRequest = Shapes::StructureShape.new(name: 'DescribeRecipeRequest')
|
102
107
|
DescribeRecipeResponse = Shapes::StructureShape.new(name: 'DescribeRecipeResponse')
|
103
108
|
DescribeSchemaRequest = Shapes::StructureShape.new(name: 'DescribeSchemaRequest')
|
@@ -118,6 +123,10 @@ module Aws::Personalize
|
|
118
123
|
FeatureTransformation = Shapes::StructureShape.new(name: 'FeatureTransformation')
|
119
124
|
FeatureTransformationParameters = Shapes::MapShape.new(name: 'FeatureTransformationParameters')
|
120
125
|
FeaturizationParameters = Shapes::MapShape.new(name: 'FeaturizationParameters')
|
126
|
+
Filter = Shapes::StructureShape.new(name: 'Filter')
|
127
|
+
FilterExpression = Shapes::StringShape.new(name: 'FilterExpression')
|
128
|
+
FilterSummary = Shapes::StructureShape.new(name: 'FilterSummary')
|
129
|
+
Filters = Shapes::ListShape.new(name: 'Filters')
|
121
130
|
GetSolutionMetricsRequest = Shapes::StructureShape.new(name: 'GetSolutionMetricsRequest')
|
122
131
|
GetSolutionMetricsResponse = Shapes::StructureShape.new(name: 'GetSolutionMetricsResponse')
|
123
132
|
HPOConfig = Shapes::StructureShape.new(name: 'HPOConfig')
|
@@ -147,6 +156,8 @@ module Aws::Personalize
|
|
147
156
|
ListDatasetsResponse = Shapes::StructureShape.new(name: 'ListDatasetsResponse')
|
148
157
|
ListEventTrackersRequest = Shapes::StructureShape.new(name: 'ListEventTrackersRequest')
|
149
158
|
ListEventTrackersResponse = Shapes::StructureShape.new(name: 'ListEventTrackersResponse')
|
159
|
+
ListFiltersRequest = Shapes::StructureShape.new(name: 'ListFiltersRequest')
|
160
|
+
ListFiltersResponse = Shapes::StructureShape.new(name: 'ListFiltersResponse')
|
150
161
|
ListRecipesRequest = Shapes::StructureShape.new(name: 'ListRecipesRequest')
|
151
162
|
ListRecipesResponse = Shapes::StructureShape.new(name: 'ListRecipesResponse')
|
152
163
|
ListSchemasRequest = Shapes::StructureShape.new(name: 'ListSchemasRequest')
|
@@ -194,6 +205,7 @@ module Aws::Personalize
|
|
194
205
|
TrainingMode = Shapes::StringShape.new(name: 'TrainingMode')
|
195
206
|
TransactionsPerSecond = Shapes::IntegerShape.new(name: 'TransactionsPerSecond')
|
196
207
|
Tunable = Shapes::BooleanShape.new(name: 'Tunable')
|
208
|
+
TunedHPOParams = Shapes::StructureShape.new(name: 'TunedHPOParams')
|
197
209
|
UpdateCampaignRequest = Shapes::StructureShape.new(name: 'UpdateCampaignRequest')
|
198
210
|
UpdateCampaignResponse = Shapes::StructureShape.new(name: 'UpdateCampaignResponse')
|
199
211
|
|
@@ -224,6 +236,7 @@ module Aws::Personalize
|
|
224
236
|
|
225
237
|
BatchInferenceJob.add_member(:job_name, Shapes::ShapeRef.new(shape: Name, location_name: "jobName"))
|
226
238
|
BatchInferenceJob.add_member(:batch_inference_job_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "batchInferenceJobArn"))
|
239
|
+
BatchInferenceJob.add_member(:filter_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "filterArn"))
|
227
240
|
BatchInferenceJob.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "failureReason"))
|
228
241
|
BatchInferenceJob.add_member(:solution_version_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "solutionVersionArn"))
|
229
242
|
BatchInferenceJob.add_member(:num_results, Shapes::ShapeRef.new(shape: NumBatchResults, location_name: "numResults"))
|
@@ -247,6 +260,7 @@ module Aws::Personalize
|
|
247
260
|
BatchInferenceJobSummary.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "creationDateTime"))
|
248
261
|
BatchInferenceJobSummary.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "lastUpdatedDateTime"))
|
249
262
|
BatchInferenceJobSummary.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "failureReason"))
|
263
|
+
BatchInferenceJobSummary.add_member(:solution_version_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "solutionVersionArn"))
|
250
264
|
BatchInferenceJobSummary.struct_class = Types::BatchInferenceJobSummary
|
251
265
|
|
252
266
|
BatchInferenceJobs.member = Shapes::ShapeRef.new(shape: BatchInferenceJobSummary)
|
@@ -297,6 +311,7 @@ module Aws::Personalize
|
|
297
311
|
|
298
312
|
CreateBatchInferenceJobRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "jobName"))
|
299
313
|
CreateBatchInferenceJobRequest.add_member(:solution_version_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "solutionVersionArn"))
|
314
|
+
CreateBatchInferenceJobRequest.add_member(:filter_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "filterArn"))
|
300
315
|
CreateBatchInferenceJobRequest.add_member(:num_results, Shapes::ShapeRef.new(shape: NumBatchResults, location_name: "numResults"))
|
301
316
|
CreateBatchInferenceJobRequest.add_member(:job_input, Shapes::ShapeRef.new(shape: BatchInferenceJobInput, required: true, location_name: "jobInput"))
|
302
317
|
CreateBatchInferenceJobRequest.add_member(:job_output, Shapes::ShapeRef.new(shape: BatchInferenceJobOutput, required: true, location_name: "jobOutput"))
|
@@ -348,6 +363,14 @@ module Aws::Personalize
|
|
348
363
|
CreateEventTrackerResponse.add_member(:tracking_id, Shapes::ShapeRef.new(shape: TrackingId, location_name: "trackingId"))
|
349
364
|
CreateEventTrackerResponse.struct_class = Types::CreateEventTrackerResponse
|
350
365
|
|
366
|
+
CreateFilterRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
|
367
|
+
CreateFilterRequest.add_member(:dataset_group_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "datasetGroupArn"))
|
368
|
+
CreateFilterRequest.add_member(:filter_expression, Shapes::ShapeRef.new(shape: FilterExpression, required: true, location_name: "filterExpression"))
|
369
|
+
CreateFilterRequest.struct_class = Types::CreateFilterRequest
|
370
|
+
|
371
|
+
CreateFilterResponse.add_member(:filter_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "filterArn"))
|
372
|
+
CreateFilterResponse.struct_class = Types::CreateFilterResponse
|
373
|
+
|
351
374
|
CreateSchemaRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
|
352
375
|
CreateSchemaRequest.add_member(:schema, Shapes::ShapeRef.new(shape: AvroSchema, required: true, location_name: "schema"))
|
353
376
|
CreateSchemaRequest.struct_class = Types::CreateSchemaRequest
|
@@ -491,6 +514,9 @@ module Aws::Personalize
|
|
491
514
|
DeleteEventTrackerRequest.add_member(:event_tracker_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "eventTrackerArn"))
|
492
515
|
DeleteEventTrackerRequest.struct_class = Types::DeleteEventTrackerRequest
|
493
516
|
|
517
|
+
DeleteFilterRequest.add_member(:filter_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "filterArn"))
|
518
|
+
DeleteFilterRequest.struct_class = Types::DeleteFilterRequest
|
519
|
+
|
494
520
|
DeleteSchemaRequest.add_member(:schema_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "schemaArn"))
|
495
521
|
DeleteSchemaRequest.struct_class = Types::DeleteSchemaRequest
|
496
522
|
|
@@ -545,6 +571,12 @@ module Aws::Personalize
|
|
545
571
|
DescribeFeatureTransformationResponse.add_member(:feature_transformation, Shapes::ShapeRef.new(shape: FeatureTransformation, location_name: "featureTransformation"))
|
546
572
|
DescribeFeatureTransformationResponse.struct_class = Types::DescribeFeatureTransformationResponse
|
547
573
|
|
574
|
+
DescribeFilterRequest.add_member(:filter_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "filterArn"))
|
575
|
+
DescribeFilterRequest.struct_class = Types::DescribeFilterRequest
|
576
|
+
|
577
|
+
DescribeFilterResponse.add_member(:filter, Shapes::ShapeRef.new(shape: Filter, location_name: "filter"))
|
578
|
+
DescribeFilterResponse.struct_class = Types::DescribeFilterResponse
|
579
|
+
|
548
580
|
DescribeRecipeRequest.add_member(:recipe_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "recipeArn"))
|
549
581
|
DescribeRecipeRequest.struct_class = Types::DescribeRecipeRequest
|
550
582
|
|
@@ -602,6 +634,27 @@ module Aws::Personalize
|
|
602
634
|
FeaturizationParameters.key = Shapes::ShapeRef.new(shape: ParameterName)
|
603
635
|
FeaturizationParameters.value = Shapes::ShapeRef.new(shape: ParameterValue)
|
604
636
|
|
637
|
+
Filter.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
|
638
|
+
Filter.add_member(:filter_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "filterArn"))
|
639
|
+
Filter.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "creationDateTime"))
|
640
|
+
Filter.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "lastUpdatedDateTime"))
|
641
|
+
Filter.add_member(:dataset_group_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "datasetGroupArn"))
|
642
|
+
Filter.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "failureReason"))
|
643
|
+
Filter.add_member(:filter_expression, Shapes::ShapeRef.new(shape: FilterExpression, location_name: "filterExpression"))
|
644
|
+
Filter.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "status"))
|
645
|
+
Filter.struct_class = Types::Filter
|
646
|
+
|
647
|
+
FilterSummary.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
|
648
|
+
FilterSummary.add_member(:filter_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "filterArn"))
|
649
|
+
FilterSummary.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "creationDateTime"))
|
650
|
+
FilterSummary.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "lastUpdatedDateTime"))
|
651
|
+
FilterSummary.add_member(:dataset_group_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "datasetGroupArn"))
|
652
|
+
FilterSummary.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "failureReason"))
|
653
|
+
FilterSummary.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "status"))
|
654
|
+
FilterSummary.struct_class = Types::FilterSummary
|
655
|
+
|
656
|
+
Filters.member = Shapes::ShapeRef.new(shape: FilterSummary)
|
657
|
+
|
605
658
|
GetSolutionMetricsRequest.add_member(:solution_version_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "solutionVersionArn"))
|
606
659
|
GetSolutionMetricsRequest.struct_class = Types::GetSolutionMetricsRequest
|
607
660
|
|
@@ -700,6 +753,15 @@ module Aws::Personalize
|
|
700
753
|
ListEventTrackersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
701
754
|
ListEventTrackersResponse.struct_class = Types::ListEventTrackersResponse
|
702
755
|
|
756
|
+
ListFiltersRequest.add_member(:dataset_group_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "datasetGroupArn"))
|
757
|
+
ListFiltersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
758
|
+
ListFiltersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
|
759
|
+
ListFiltersRequest.struct_class = Types::ListFiltersRequest
|
760
|
+
|
761
|
+
ListFiltersResponse.add_member(:filters, Shapes::ShapeRef.new(shape: Filters, location_name: "Filters"))
|
762
|
+
ListFiltersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
763
|
+
ListFiltersResponse.struct_class = Types::ListFiltersResponse
|
764
|
+
|
703
765
|
ListRecipesRequest.add_member(:recipe_provider, Shapes::ShapeRef.new(shape: RecipeProvider, location_name: "recipeProvider"))
|
704
766
|
ListRecipesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
705
767
|
ListRecipesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
|
@@ -815,6 +877,7 @@ module Aws::Personalize
|
|
815
877
|
SolutionVersion.add_member(:solution_config, Shapes::ShapeRef.new(shape: SolutionConfig, location_name: "solutionConfig"))
|
816
878
|
SolutionVersion.add_member(:training_hours, Shapes::ShapeRef.new(shape: TrainingHours, location_name: "trainingHours"))
|
817
879
|
SolutionVersion.add_member(:training_mode, Shapes::ShapeRef.new(shape: TrainingMode, location_name: "trainingMode"))
|
880
|
+
SolutionVersion.add_member(:tuned_hpo_params, Shapes::ShapeRef.new(shape: TunedHPOParams, location_name: "tunedHPOParams"))
|
818
881
|
SolutionVersion.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "status"))
|
819
882
|
SolutionVersion.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "failureReason"))
|
820
883
|
SolutionVersion.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "creationDateTime"))
|
@@ -832,6 +895,9 @@ module Aws::Personalize
|
|
832
895
|
|
833
896
|
Solutions.member = Shapes::ShapeRef.new(shape: SolutionSummary)
|
834
897
|
|
898
|
+
TunedHPOParams.add_member(:algorithm_hyper_parameters, Shapes::ShapeRef.new(shape: HyperParameters, location_name: "algorithmHyperParameters"))
|
899
|
+
TunedHPOParams.struct_class = Types::TunedHPOParams
|
900
|
+
|
835
901
|
UpdateCampaignRequest.add_member(:campaign_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "campaignArn"))
|
836
902
|
UpdateCampaignRequest.add_member(:solution_version_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "solutionVersionArn"))
|
837
903
|
UpdateCampaignRequest.add_member(:min_provisioned_tps, Shapes::ShapeRef.new(shape: TransactionsPerSecond, location_name: "minProvisionedTPS"))
|
@@ -935,6 +1001,18 @@ module Aws::Personalize
|
|
935
1001
|
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
936
1002
|
end)
|
937
1003
|
|
1004
|
+
api.add_operation(:create_filter, Seahorse::Model::Operation.new.tap do |o|
|
1005
|
+
o.name = "CreateFilter"
|
1006
|
+
o.http_method = "POST"
|
1007
|
+
o.http_request_uri = "/"
|
1008
|
+
o.input = Shapes::ShapeRef.new(shape: CreateFilterRequest)
|
1009
|
+
o.output = Shapes::ShapeRef.new(shape: CreateFilterResponse)
|
1010
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1011
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
|
1012
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1013
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1014
|
+
end)
|
1015
|
+
|
938
1016
|
api.add_operation(:create_schema, Seahorse::Model::Operation.new.tap do |o|
|
939
1017
|
o.name = "CreateSchema"
|
940
1018
|
o.http_method = "POST"
|
@@ -1014,6 +1092,16 @@ module Aws::Personalize
|
|
1014
1092
|
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1015
1093
|
end)
|
1016
1094
|
|
1095
|
+
api.add_operation(:delete_filter, Seahorse::Model::Operation.new.tap do |o|
|
1096
|
+
o.name = "DeleteFilter"
|
1097
|
+
o.http_method = "POST"
|
1098
|
+
o.http_request_uri = "/"
|
1099
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteFilterRequest)
|
1100
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1101
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1102
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1103
|
+
end)
|
1104
|
+
|
1017
1105
|
api.add_operation(:delete_schema, Seahorse::Model::Operation.new.tap do |o|
|
1018
1106
|
o.name = "DeleteSchema"
|
1019
1107
|
o.http_method = "POST"
|
@@ -1116,6 +1204,16 @@ module Aws::Personalize
|
|
1116
1204
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1117
1205
|
end)
|
1118
1206
|
|
1207
|
+
api.add_operation(:describe_filter, Seahorse::Model::Operation.new.tap do |o|
|
1208
|
+
o.name = "DescribeFilter"
|
1209
|
+
o.http_method = "POST"
|
1210
|
+
o.http_request_uri = "/"
|
1211
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeFilterRequest)
|
1212
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeFilterResponse)
|
1213
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1214
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1215
|
+
end)
|
1216
|
+
|
1119
1217
|
api.add_operation(:describe_recipe, Seahorse::Model::Operation.new.tap do |o|
|
1120
1218
|
o.name = "DescribeRecipe"
|
1121
1219
|
o.http_method = "POST"
|
@@ -1262,6 +1360,16 @@ module Aws::Personalize
|
|
1262
1360
|
)
|
1263
1361
|
end)
|
1264
1362
|
|
1363
|
+
api.add_operation(:list_filters, Seahorse::Model::Operation.new.tap do |o|
|
1364
|
+
o.name = "ListFilters"
|
1365
|
+
o.http_method = "POST"
|
1366
|
+
o.http_request_uri = "/"
|
1367
|
+
o.input = Shapes::ShapeRef.new(shape: ListFiltersRequest)
|
1368
|
+
o.output = Shapes::ShapeRef.new(shape: ListFiltersResponse)
|
1369
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1370
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
1371
|
+
end)
|
1372
|
+
|
1265
1373
|
api.add_operation(:list_recipes, Seahorse::Model::Operation.new.tap do |o|
|
1266
1374
|
o.name = "ListRecipes"
|
1267
1375
|
o.http_method = "POST"
|
@@ -6,13 +6,7 @@
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
module Aws::Personalize
|
9
|
-
|
10
|
-
# To create a resource object:
|
11
|
-
# resource = Aws::Personalize::Resource.new(region: 'us-west-2')
|
12
|
-
# You can supply a client object with custom configuration that will be used for all resource operations.
|
13
|
-
# If you do not pass +:client+, a default client will be constructed.
|
14
|
-
# client = Aws::Personalize::Client.new(region: 'us-west-2')
|
15
|
-
# resource = Aws::Personalize::Resource.new(client: client)
|
9
|
+
|
16
10
|
class Resource
|
17
11
|
|
18
12
|
# @param options ({})
|
@@ -142,6 +142,10 @@ module Aws::Personalize
|
|
142
142
|
# The Amazon Resource Name (ARN) of the batch inference job.
|
143
143
|
# @return [String]
|
144
144
|
#
|
145
|
+
# @!attribute [rw] filter_arn
|
146
|
+
# The ARN of the filter used on the batch inference job.
|
147
|
+
# @return [String]
|
148
|
+
#
|
145
149
|
# @!attribute [rw] failure_reason
|
146
150
|
# If the batch inference job failed, the reason for the failure.
|
147
151
|
# @return [String]
|
@@ -198,6 +202,7 @@ module Aws::Personalize
|
|
198
202
|
class BatchInferenceJob < Struct.new(
|
199
203
|
:job_name,
|
200
204
|
:batch_inference_job_arn,
|
205
|
+
:filter_arn,
|
201
206
|
:failure_reason,
|
202
207
|
:solution_version_arn,
|
203
208
|
:num_results,
|
@@ -296,6 +301,10 @@ module Aws::Personalize
|
|
296
301
|
# If the batch inference job failed, the reason for the failure.
|
297
302
|
# @return [String]
|
298
303
|
#
|
304
|
+
# @!attribute [rw] solution_version_arn
|
305
|
+
# The ARN of the solution version used by the batch inference job.
|
306
|
+
# @return [String]
|
307
|
+
#
|
299
308
|
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/BatchInferenceJobSummary AWS API Documentation
|
300
309
|
#
|
301
310
|
class BatchInferenceJobSummary < Struct.new(
|
@@ -304,7 +313,8 @@ module Aws::Personalize
|
|
304
313
|
:status,
|
305
314
|
:creation_date_time,
|
306
315
|
:last_updated_date_time,
|
307
|
-
:failure_reason
|
316
|
+
:failure_reason,
|
317
|
+
:solution_version_arn)
|
308
318
|
include Aws::Structure
|
309
319
|
end
|
310
320
|
|
@@ -532,6 +542,7 @@ module Aws::Personalize
|
|
532
542
|
# {
|
533
543
|
# job_name: "Name", # required
|
534
544
|
# solution_version_arn: "Arn", # required
|
545
|
+
# filter_arn: "Arn",
|
535
546
|
# num_results: 1,
|
536
547
|
# job_input: { # required
|
537
548
|
# s3_data_source: { # required
|
@@ -557,6 +568,12 @@ module Aws::Personalize
|
|
557
568
|
# used to generate the batch inference recommendations.
|
558
569
|
# @return [String]
|
559
570
|
#
|
571
|
+
# @!attribute [rw] filter_arn
|
572
|
+
# The ARN of the filter to apply to the batch inference job. For more
|
573
|
+
# information on using filters, see Using Filters with Amazon
|
574
|
+
# Personalize.
|
575
|
+
# @return [String]
|
576
|
+
#
|
560
577
|
# @!attribute [rw] num_results
|
561
578
|
# The number of recommendations to retreive.
|
562
579
|
# @return [Integer]
|
@@ -582,6 +599,7 @@ module Aws::Personalize
|
|
582
599
|
class CreateBatchInferenceJobRequest < Struct.new(
|
583
600
|
:job_name,
|
584
601
|
:solution_version_arn,
|
602
|
+
:filter_arn,
|
585
603
|
:num_results,
|
586
604
|
:job_input,
|
587
605
|
:job_output,
|
@@ -839,6 +857,56 @@ module Aws::Personalize
|
|
839
857
|
include Aws::Structure
|
840
858
|
end
|
841
859
|
|
860
|
+
# @note When making an API call, you may pass CreateFilterRequest
|
861
|
+
# data as a hash:
|
862
|
+
#
|
863
|
+
# {
|
864
|
+
# name: "Name", # required
|
865
|
+
# dataset_group_arn: "Arn", # required
|
866
|
+
# filter_expression: "FilterExpression", # required
|
867
|
+
# }
|
868
|
+
#
|
869
|
+
# @!attribute [rw] name
|
870
|
+
# The name of the filter to create.
|
871
|
+
# @return [String]
|
872
|
+
#
|
873
|
+
# @!attribute [rw] dataset_group_arn
|
874
|
+
# The ARN of the dataset group that the filter will belong to.
|
875
|
+
# @return [String]
|
876
|
+
#
|
877
|
+
# @!attribute [rw] filter_expression
|
878
|
+
# The filter expression that designates the interaction types that the
|
879
|
+
# filter will filter out. A filter expression must follow the
|
880
|
+
# following format:
|
881
|
+
#
|
882
|
+
# `EXCLUDE itemId WHERE INTERACTIONS.event_type in ("EVENT_TYPE")`
|
883
|
+
#
|
884
|
+
# Where "EVENT\_TYPE" is the type of event to filter out. To filter
|
885
|
+
# out all items with any interactions history, set `"*"` as the
|
886
|
+
# EVENT\_TYPE. For more information, see Using Filters with Amazon
|
887
|
+
# Personalize.
|
888
|
+
# @return [String]
|
889
|
+
#
|
890
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateFilterRequest AWS API Documentation
|
891
|
+
#
|
892
|
+
class CreateFilterRequest < Struct.new(
|
893
|
+
:name,
|
894
|
+
:dataset_group_arn,
|
895
|
+
:filter_expression)
|
896
|
+
include Aws::Structure
|
897
|
+
end
|
898
|
+
|
899
|
+
# @!attribute [rw] filter_arn
|
900
|
+
# The ARN of the new filter.
|
901
|
+
# @return [String]
|
902
|
+
#
|
903
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateFilterResponse AWS API Documentation
|
904
|
+
#
|
905
|
+
class CreateFilterResponse < Struct.new(
|
906
|
+
:filter_arn)
|
907
|
+
include Aws::Structure
|
908
|
+
end
|
909
|
+
|
842
910
|
# @note When making an API call, you may pass CreateSchemaRequest
|
843
911
|
# data as a hash:
|
844
912
|
#
|
@@ -1665,6 +1733,24 @@ module Aws::Personalize
|
|
1665
1733
|
include Aws::Structure
|
1666
1734
|
end
|
1667
1735
|
|
1736
|
+
# @note When making an API call, you may pass DeleteFilterRequest
|
1737
|
+
# data as a hash:
|
1738
|
+
#
|
1739
|
+
# {
|
1740
|
+
# filter_arn: "Arn", # required
|
1741
|
+
# }
|
1742
|
+
#
|
1743
|
+
# @!attribute [rw] filter_arn
|
1744
|
+
# The ARN of the filter to delete.
|
1745
|
+
# @return [String]
|
1746
|
+
#
|
1747
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DeleteFilterRequest AWS API Documentation
|
1748
|
+
#
|
1749
|
+
class DeleteFilterRequest < Struct.new(
|
1750
|
+
:filter_arn)
|
1751
|
+
include Aws::Structure
|
1752
|
+
end
|
1753
|
+
|
1668
1754
|
# @note When making an API call, you may pass DeleteSchemaRequest
|
1669
1755
|
# data as a hash:
|
1670
1756
|
#
|
@@ -1945,6 +2031,35 @@ module Aws::Personalize
|
|
1945
2031
|
include Aws::Structure
|
1946
2032
|
end
|
1947
2033
|
|
2034
|
+
# @note When making an API call, you may pass DescribeFilterRequest
|
2035
|
+
# data as a hash:
|
2036
|
+
#
|
2037
|
+
# {
|
2038
|
+
# filter_arn: "Arn", # required
|
2039
|
+
# }
|
2040
|
+
#
|
2041
|
+
# @!attribute [rw] filter_arn
|
2042
|
+
# The ARN of the filter to describe.
|
2043
|
+
# @return [String]
|
2044
|
+
#
|
2045
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeFilterRequest AWS API Documentation
|
2046
|
+
#
|
2047
|
+
class DescribeFilterRequest < Struct.new(
|
2048
|
+
:filter_arn)
|
2049
|
+
include Aws::Structure
|
2050
|
+
end
|
2051
|
+
|
2052
|
+
# @!attribute [rw] filter
|
2053
|
+
# The filter's details.
|
2054
|
+
# @return [Types::Filter]
|
2055
|
+
#
|
2056
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeFilterResponse AWS API Documentation
|
2057
|
+
#
|
2058
|
+
class DescribeFilterResponse < Struct.new(
|
2059
|
+
:filter)
|
2060
|
+
include Aws::Structure
|
2061
|
+
end
|
2062
|
+
|
1948
2063
|
# @note When making an API call, you may pass DescribeRecipeRequest
|
1949
2064
|
# data as a hash:
|
1950
2065
|
#
|
@@ -2215,6 +2330,105 @@ module Aws::Personalize
|
|
2215
2330
|
include Aws::Structure
|
2216
2331
|
end
|
2217
2332
|
|
2333
|
+
# Contains information on a recommendation filter, including its ARN,
|
2334
|
+
# status, and filter expression.
|
2335
|
+
#
|
2336
|
+
# @!attribute [rw] name
|
2337
|
+
# The name of the filter.
|
2338
|
+
# @return [String]
|
2339
|
+
#
|
2340
|
+
# @!attribute [rw] filter_arn
|
2341
|
+
# The ARN of the filter.
|
2342
|
+
# @return [String]
|
2343
|
+
#
|
2344
|
+
# @!attribute [rw] creation_date_time
|
2345
|
+
# The time at which the filter was created.
|
2346
|
+
# @return [Time]
|
2347
|
+
#
|
2348
|
+
# @!attribute [rw] last_updated_date_time
|
2349
|
+
# The time at which the filter was last updated.
|
2350
|
+
# @return [Time]
|
2351
|
+
#
|
2352
|
+
# @!attribute [rw] dataset_group_arn
|
2353
|
+
# The ARN of the dataset group to which the filter belongs.
|
2354
|
+
# @return [String]
|
2355
|
+
#
|
2356
|
+
# @!attribute [rw] failure_reason
|
2357
|
+
# If the filter failed, the reason for its failure.
|
2358
|
+
# @return [String]
|
2359
|
+
#
|
2360
|
+
# @!attribute [rw] filter_expression
|
2361
|
+
# Specifies the type of item interactions to filter out of
|
2362
|
+
# recommendation results. The filter expression must follow the
|
2363
|
+
# following format:
|
2364
|
+
#
|
2365
|
+
# `EXCLUDE itemId WHERE INTERACTIONS.event_type in ("EVENT_TYPE")`
|
2366
|
+
#
|
2367
|
+
# Where "EVENT\_TYPE" is the type of event to filter out. For more
|
2368
|
+
# information, see Using Filters with Amazon Personalize.
|
2369
|
+
# @return [String]
|
2370
|
+
#
|
2371
|
+
# @!attribute [rw] status
|
2372
|
+
# The status of the filter.
|
2373
|
+
# @return [String]
|
2374
|
+
#
|
2375
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/Filter AWS API Documentation
|
2376
|
+
#
|
2377
|
+
class Filter < Struct.new(
|
2378
|
+
:name,
|
2379
|
+
:filter_arn,
|
2380
|
+
:creation_date_time,
|
2381
|
+
:last_updated_date_time,
|
2382
|
+
:dataset_group_arn,
|
2383
|
+
:failure_reason,
|
2384
|
+
:filter_expression,
|
2385
|
+
:status)
|
2386
|
+
include Aws::Structure
|
2387
|
+
end
|
2388
|
+
|
2389
|
+
# A short summary of a filter's attributes.
|
2390
|
+
#
|
2391
|
+
# @!attribute [rw] name
|
2392
|
+
# The name of the filter.
|
2393
|
+
# @return [String]
|
2394
|
+
#
|
2395
|
+
# @!attribute [rw] filter_arn
|
2396
|
+
# The ARN of the filter.
|
2397
|
+
# @return [String]
|
2398
|
+
#
|
2399
|
+
# @!attribute [rw] creation_date_time
|
2400
|
+
# The time at which the filter was created.
|
2401
|
+
# @return [Time]
|
2402
|
+
#
|
2403
|
+
# @!attribute [rw] last_updated_date_time
|
2404
|
+
# The time at which the filter was last updated.
|
2405
|
+
# @return [Time]
|
2406
|
+
#
|
2407
|
+
# @!attribute [rw] dataset_group_arn
|
2408
|
+
# The ARN of the dataset group to which the filter belongs.
|
2409
|
+
# @return [String]
|
2410
|
+
#
|
2411
|
+
# @!attribute [rw] failure_reason
|
2412
|
+
# If the filter failed, the reason for the failure.
|
2413
|
+
# @return [String]
|
2414
|
+
#
|
2415
|
+
# @!attribute [rw] status
|
2416
|
+
# The status of the filter.
|
2417
|
+
# @return [String]
|
2418
|
+
#
|
2419
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/FilterSummary AWS API Documentation
|
2420
|
+
#
|
2421
|
+
class FilterSummary < Struct.new(
|
2422
|
+
:name,
|
2423
|
+
:filter_arn,
|
2424
|
+
:creation_date_time,
|
2425
|
+
:last_updated_date_time,
|
2426
|
+
:dataset_group_arn,
|
2427
|
+
:failure_reason,
|
2428
|
+
:status)
|
2429
|
+
include Aws::Structure
|
2430
|
+
end
|
2431
|
+
|
2218
2432
|
# @note When making an API call, you may pass GetSolutionMetricsRequest
|
2219
2433
|
# data as a hash:
|
2220
2434
|
#
|
@@ -2324,7 +2538,7 @@ module Aws::Personalize
|
|
2324
2538
|
# }
|
2325
2539
|
#
|
2326
2540
|
# @!attribute [rw] type
|
2327
|
-
# The
|
2541
|
+
# The type of the metric. Valid values are `Maximize` and `Minimize`.
|
2328
2542
|
# @return [String]
|
2329
2543
|
#
|
2330
2544
|
# @!attribute [rw] metric_name
|
@@ -2777,6 +2991,53 @@ module Aws::Personalize
|
|
2777
2991
|
include Aws::Structure
|
2778
2992
|
end
|
2779
2993
|
|
2994
|
+
# @note When making an API call, you may pass ListFiltersRequest
|
2995
|
+
# data as a hash:
|
2996
|
+
#
|
2997
|
+
# {
|
2998
|
+
# dataset_group_arn: "Arn",
|
2999
|
+
# next_token: "NextToken",
|
3000
|
+
# max_results: 1,
|
3001
|
+
# }
|
3002
|
+
#
|
3003
|
+
# @!attribute [rw] dataset_group_arn
|
3004
|
+
# The ARN of the dataset group that contains the filters.
|
3005
|
+
# @return [String]
|
3006
|
+
#
|
3007
|
+
# @!attribute [rw] next_token
|
3008
|
+
# A token returned from the previous call to `ListFilters` for getting
|
3009
|
+
# the next set of filters (if they exist).
|
3010
|
+
# @return [String]
|
3011
|
+
#
|
3012
|
+
# @!attribute [rw] max_results
|
3013
|
+
# The maximum number of filters to return.
|
3014
|
+
# @return [Integer]
|
3015
|
+
#
|
3016
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListFiltersRequest AWS API Documentation
|
3017
|
+
#
|
3018
|
+
class ListFiltersRequest < Struct.new(
|
3019
|
+
:dataset_group_arn,
|
3020
|
+
:next_token,
|
3021
|
+
:max_results)
|
3022
|
+
include Aws::Structure
|
3023
|
+
end
|
3024
|
+
|
3025
|
+
# @!attribute [rw] filters
|
3026
|
+
# A list of returned filters.
|
3027
|
+
# @return [Array<Types::FilterSummary>]
|
3028
|
+
#
|
3029
|
+
# @!attribute [rw] next_token
|
3030
|
+
# A token for getting the next set of filters (if they exist).
|
3031
|
+
# @return [String]
|
3032
|
+
#
|
3033
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListFiltersResponse AWS API Documentation
|
3034
|
+
#
|
3035
|
+
class ListFiltersResponse < Struct.new(
|
3036
|
+
:filters,
|
3037
|
+
:next_token)
|
3038
|
+
include Aws::Structure
|
3039
|
+
end
|
3040
|
+
|
2780
3041
|
# @note When making an API call, you may pass ListRecipesRequest
|
2781
3042
|
# data as a hash:
|
2782
3043
|
#
|
@@ -3394,6 +3655,11 @@ module Aws::Personalize
|
|
3394
3655
|
# uses the native-recipe-hrnn-coldstart.
|
3395
3656
|
# @return [String]
|
3396
3657
|
#
|
3658
|
+
# @!attribute [rw] tuned_hpo_params
|
3659
|
+
# If hyperparameter optimization was performed, contains the
|
3660
|
+
# hyperparameter values of the best performing model.
|
3661
|
+
# @return [Types::TunedHPOParams]
|
3662
|
+
#
|
3397
3663
|
# @!attribute [rw] status
|
3398
3664
|
# The status of the solution version.
|
3399
3665
|
#
|
@@ -3434,6 +3700,7 @@ module Aws::Personalize
|
|
3434
3700
|
:solution_config,
|
3435
3701
|
:training_hours,
|
3436
3702
|
:training_mode,
|
3703
|
+
:tuned_hpo_params,
|
3437
3704
|
:status,
|
3438
3705
|
:failure_reason,
|
3439
3706
|
:creation_date_time,
|
@@ -3484,6 +3751,20 @@ module Aws::Personalize
|
|
3484
3751
|
include Aws::Structure
|
3485
3752
|
end
|
3486
3753
|
|
3754
|
+
# If hyperparameter optimization (HPO) was performed, contains the
|
3755
|
+
# hyperparameter values of the best performing model.
|
3756
|
+
#
|
3757
|
+
# @!attribute [rw] algorithm_hyper_parameters
|
3758
|
+
# A list of the hyperparameter values of the best performing model.
|
3759
|
+
# @return [Hash<String,String>]
|
3760
|
+
#
|
3761
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/TunedHPOParams AWS API Documentation
|
3762
|
+
#
|
3763
|
+
class TunedHPOParams < Struct.new(
|
3764
|
+
:algorithm_hyper_parameters)
|
3765
|
+
include Aws::Structure
|
3766
|
+
end
|
3767
|
+
|
3487
3768
|
# @note When making an API call, you may pass UpdateCampaignRequest
|
3488
3769
|
# data as a hash:
|
3489
3770
|
#
|
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.14.1
|
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: 2020-
|
11
|
+
date: 2020-06-11 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.99.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.99.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
81
81
|
version: '0'
|
82
82
|
requirements: []
|
83
83
|
rubyforge_project:
|
84
|
-
rubygems_version: 2.
|
84
|
+
rubygems_version: 2.7.6.2
|
85
85
|
signing_key:
|
86
86
|
specification_version: 4
|
87
87
|
summary: AWS SDK for Ruby - Amazon Personalize
|