aws-sdk-personalize 1.11.0 → 1.16.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/lib/aws-sdk-personalize.rb +3 -1
- data/lib/aws-sdk-personalize/client.rb +203 -4
- data/lib/aws-sdk-personalize/client_api.rb +120 -0
- data/lib/aws-sdk-personalize/errors.rb +2 -0
- data/lib/aws-sdk-personalize/resource.rb +2 -0
- data/lib/aws-sdk-personalize/types.rb +495 -3
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 669524793bd1b6a04445ab1cde1a76c5c258131593f7fb9363c315d86cc494a8
|
|
4
|
+
data.tar.gz: f195623424a4baf1cc0238725dfb39485671dad471a6f7919e25361c860f604b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c8ececc45489015b8ef2b4f51ae8445449b49c0edd8f0d4993047934009a0be5790a3a0bcbb5f2ead4d29627fd01eb2cb31cd39cc818278f937721324431e711
|
|
7
|
+
data.tar.gz: d5280a68a2625a4d9aebce4de648f2a303afe9909dd1d4bd4aaab21d67e2cf680d6625a25fba25c8659f6a40e0b3cc2facf4a90af96a4dd7552e87f488ea793e
|
data/lib/aws-sdk-personalize.rb
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
|
2
4
|
#
|
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
|
@@ -45,6 +47,6 @@ require_relative 'aws-sdk-personalize/customizations'
|
|
|
45
47
|
# @service
|
|
46
48
|
module Aws::Personalize
|
|
47
49
|
|
|
48
|
-
GEM_VERSION = '1.
|
|
50
|
+
GEM_VERSION = '1.16.0'
|
|
49
51
|
|
|
50
52
|
end
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
|
2
4
|
#
|
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
|
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
|
24
26
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
25
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
|
26
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
|
29
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
|
27
30
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
|
28
31
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
|
29
32
|
|
|
@@ -69,6 +72,7 @@ module Aws::Personalize
|
|
|
69
72
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
|
70
73
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
|
71
74
|
add_plugin(Aws::Plugins::TransferEncoding)
|
|
75
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
|
72
76
|
add_plugin(Aws::Plugins::SignatureV4)
|
|
73
77
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
|
74
78
|
|
|
@@ -161,7 +165,7 @@ module Aws::Personalize
|
|
|
161
165
|
# @option options [String] :endpoint
|
|
162
166
|
# The client endpoint is normally constructed from the `:region`
|
|
163
167
|
# option. You should only configure an `:endpoint` when connecting
|
|
164
|
-
# to test endpoints. This should be a valid HTTP(S) URI.
|
|
168
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
|
165
169
|
#
|
|
166
170
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
|
167
171
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
|
@@ -176,7 +180,7 @@ module Aws::Personalize
|
|
|
176
180
|
# requests fetching endpoints information. Defaults to 60 sec.
|
|
177
181
|
#
|
|
178
182
|
# @option options [Boolean] :endpoint_discovery (false)
|
|
179
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
|
183
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
|
180
184
|
#
|
|
181
185
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
|
182
186
|
# The log formatter.
|
|
@@ -329,6 +333,11 @@ module Aws::Personalize
|
|
|
329
333
|
# The Amazon Resource Name (ARN) of the solution version that will be
|
|
330
334
|
# used to generate the batch inference recommendations.
|
|
331
335
|
#
|
|
336
|
+
# @option params [String] :filter_arn
|
|
337
|
+
# The ARN of the filter to apply to the batch inference job. For more
|
|
338
|
+
# information on using filters, see Using Filters with Amazon
|
|
339
|
+
# Personalize.
|
|
340
|
+
#
|
|
332
341
|
# @option params [Integer] :num_results
|
|
333
342
|
# The number of recommendations to retreive.
|
|
334
343
|
#
|
|
@@ -345,6 +354,9 @@ module Aws::Personalize
|
|
|
345
354
|
# permissions to read and write to your input and out Amazon S3 buckets
|
|
346
355
|
# respectively.
|
|
347
356
|
#
|
|
357
|
+
# @option params [Types::BatchInferenceJobConfig] :batch_inference_job_config
|
|
358
|
+
# The configuration details of a batch inference job.
|
|
359
|
+
#
|
|
348
360
|
# @return [Types::CreateBatchInferenceJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
349
361
|
#
|
|
350
362
|
# * {Types::CreateBatchInferenceJobResponse#batch_inference_job_arn #batch_inference_job_arn} => String
|
|
@@ -354,6 +366,7 @@ module Aws::Personalize
|
|
|
354
366
|
# resp = client.create_batch_inference_job({
|
|
355
367
|
# job_name: "Name", # required
|
|
356
368
|
# solution_version_arn: "Arn", # required
|
|
369
|
+
# filter_arn: "Arn",
|
|
357
370
|
# num_results: 1,
|
|
358
371
|
# job_input: { # required
|
|
359
372
|
# s3_data_source: { # required
|
|
@@ -368,6 +381,11 @@ module Aws::Personalize
|
|
|
368
381
|
# },
|
|
369
382
|
# },
|
|
370
383
|
# role_arn: "RoleArn", # required
|
|
384
|
+
# batch_inference_job_config: {
|
|
385
|
+
# item_exploration_config: {
|
|
386
|
+
# "ParameterName" => "ParameterValue",
|
|
387
|
+
# },
|
|
388
|
+
# },
|
|
371
389
|
# })
|
|
372
390
|
#
|
|
373
391
|
# @example Response structure
|
|
@@ -444,6 +462,9 @@ module Aws::Personalize
|
|
|
444
462
|
# Specifies the requested minimum provisioned transactions
|
|
445
463
|
# (recommendations) per second that Amazon Personalize will support.
|
|
446
464
|
#
|
|
465
|
+
# @option params [Types::CampaignConfig] :campaign_config
|
|
466
|
+
# The configuration details of a campaign.
|
|
467
|
+
#
|
|
447
468
|
# @return [Types::CreateCampaignResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
448
469
|
#
|
|
449
470
|
# * {Types::CreateCampaignResponse#campaign_arn #campaign_arn} => String
|
|
@@ -454,6 +475,11 @@ module Aws::Personalize
|
|
|
454
475
|
# name: "Name", # required
|
|
455
476
|
# solution_version_arn: "Arn", # required
|
|
456
477
|
# min_provisioned_tps: 1, # required
|
|
478
|
+
# campaign_config: {
|
|
479
|
+
# item_exploration_config: {
|
|
480
|
+
# "ParameterName" => "ParameterValue",
|
|
481
|
+
# },
|
|
482
|
+
# },
|
|
457
483
|
# })
|
|
458
484
|
#
|
|
459
485
|
# @example Response structure
|
|
@@ -642,7 +668,8 @@ module Aws::Personalize
|
|
|
642
668
|
# Amazon S3 bucket) to an Amazon Personalize dataset. To allow Amazon
|
|
643
669
|
# Personalize to import the training data, you must specify an AWS
|
|
644
670
|
# Identity and Access Management (IAM) role that has permission to read
|
|
645
|
-
# from the data source
|
|
671
|
+
# from the data source, as Amazon Personalize makes a copy of your data
|
|
672
|
+
# and processes it in an internal AWS system.
|
|
646
673
|
#
|
|
647
674
|
# The dataset import job replaces any previous data in the dataset.
|
|
648
675
|
#
|
|
@@ -790,6 +817,60 @@ module Aws::Personalize
|
|
|
790
817
|
req.send_request(options)
|
|
791
818
|
end
|
|
792
819
|
|
|
820
|
+
# Creates a recommendation filter. For more information, see [Using
|
|
821
|
+
# Filters with Amazon Personalize][1].
|
|
822
|
+
#
|
|
823
|
+
#
|
|
824
|
+
#
|
|
825
|
+
# [1]: https://docs.aws.amazon.com/personalize/latest/dg/filters.html
|
|
826
|
+
#
|
|
827
|
+
# @option params [required, String] :name
|
|
828
|
+
# The name of the filter to create.
|
|
829
|
+
#
|
|
830
|
+
# @option params [required, String] :dataset_group_arn
|
|
831
|
+
# The ARN of the dataset group that the filter will belong to.
|
|
832
|
+
#
|
|
833
|
+
# @option params [required, String] :filter_expression
|
|
834
|
+
# The filter expression that designates the interaction types that the
|
|
835
|
+
# filter will filter out. A filter expression must follow the following
|
|
836
|
+
# format:
|
|
837
|
+
#
|
|
838
|
+
# `EXCLUDE itemId WHERE INTERACTIONS.event_type in ("EVENT_TYPE")`
|
|
839
|
+
#
|
|
840
|
+
# Where "EVENT\_TYPE" is the type of event to filter out. To filter
|
|
841
|
+
# out all items with any interactions history, set `"*"` as the
|
|
842
|
+
# EVENT\_TYPE. For more information, see [Using Filters with Amazon
|
|
843
|
+
# Personalize][1].
|
|
844
|
+
#
|
|
845
|
+
#
|
|
846
|
+
#
|
|
847
|
+
# [1]: https://docs.aws.amazon.com/personalize/latest/dg/filters.html
|
|
848
|
+
#
|
|
849
|
+
# @return [Types::CreateFilterResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
850
|
+
#
|
|
851
|
+
# * {Types::CreateFilterResponse#filter_arn #filter_arn} => String
|
|
852
|
+
#
|
|
853
|
+
# @example Request syntax with placeholder values
|
|
854
|
+
#
|
|
855
|
+
# resp = client.create_filter({
|
|
856
|
+
# name: "Name", # required
|
|
857
|
+
# dataset_group_arn: "Arn", # required
|
|
858
|
+
# filter_expression: "FilterExpression", # required
|
|
859
|
+
# })
|
|
860
|
+
#
|
|
861
|
+
# @example Response structure
|
|
862
|
+
#
|
|
863
|
+
# resp.filter_arn #=> String
|
|
864
|
+
#
|
|
865
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateFilter AWS API Documentation
|
|
866
|
+
#
|
|
867
|
+
# @overload create_filter(params = {})
|
|
868
|
+
# @param [Hash] params ({})
|
|
869
|
+
def create_filter(params = {}, options = {})
|
|
870
|
+
req = build_request(:create_filter, params)
|
|
871
|
+
req.send_request(options)
|
|
872
|
+
end
|
|
873
|
+
|
|
793
874
|
# Creates an Amazon Personalize schema from the specified schema string.
|
|
794
875
|
# The schema you create must be in Avro JSON format.
|
|
795
876
|
#
|
|
@@ -1181,6 +1262,28 @@ module Aws::Personalize
|
|
|
1181
1262
|
req.send_request(options)
|
|
1182
1263
|
end
|
|
1183
1264
|
|
|
1265
|
+
# Deletes a filter.
|
|
1266
|
+
#
|
|
1267
|
+
# @option params [required, String] :filter_arn
|
|
1268
|
+
# The ARN of the filter to delete.
|
|
1269
|
+
#
|
|
1270
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
1271
|
+
#
|
|
1272
|
+
# @example Request syntax with placeholder values
|
|
1273
|
+
#
|
|
1274
|
+
# resp = client.delete_filter({
|
|
1275
|
+
# filter_arn: "Arn", # required
|
|
1276
|
+
# })
|
|
1277
|
+
#
|
|
1278
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DeleteFilter AWS API Documentation
|
|
1279
|
+
#
|
|
1280
|
+
# @overload delete_filter(params = {})
|
|
1281
|
+
# @param [Hash] params ({})
|
|
1282
|
+
def delete_filter(params = {}, options = {})
|
|
1283
|
+
req = build_request(:delete_filter, params)
|
|
1284
|
+
req.send_request(options)
|
|
1285
|
+
end
|
|
1286
|
+
|
|
1184
1287
|
# Deletes a schema. Before deleting a schema, you must delete all
|
|
1185
1288
|
# datasets referencing the schema. For more information on schemas, see
|
|
1186
1289
|
# CreateSchema.
|
|
@@ -1308,6 +1411,7 @@ module Aws::Personalize
|
|
|
1308
1411
|
#
|
|
1309
1412
|
# resp.batch_inference_job.job_name #=> String
|
|
1310
1413
|
# resp.batch_inference_job.batch_inference_job_arn #=> String
|
|
1414
|
+
# resp.batch_inference_job.filter_arn #=> String
|
|
1311
1415
|
# resp.batch_inference_job.failure_reason #=> String
|
|
1312
1416
|
# resp.batch_inference_job.solution_version_arn #=> String
|
|
1313
1417
|
# resp.batch_inference_job.num_results #=> Integer
|
|
@@ -1315,6 +1419,8 @@ module Aws::Personalize
|
|
|
1315
1419
|
# resp.batch_inference_job.job_input.s3_data_source.kms_key_arn #=> String
|
|
1316
1420
|
# resp.batch_inference_job.job_output.s3_data_destination.path #=> String
|
|
1317
1421
|
# resp.batch_inference_job.job_output.s3_data_destination.kms_key_arn #=> String
|
|
1422
|
+
# resp.batch_inference_job.batch_inference_job_config.item_exploration_config #=> Hash
|
|
1423
|
+
# resp.batch_inference_job.batch_inference_job_config.item_exploration_config["ParameterName"] #=> String
|
|
1318
1424
|
# resp.batch_inference_job.role_arn #=> String
|
|
1319
1425
|
# resp.batch_inference_job.status #=> String
|
|
1320
1426
|
# resp.batch_inference_job.creation_date_time #=> Time
|
|
@@ -1362,12 +1468,16 @@ module Aws::Personalize
|
|
|
1362
1468
|
# resp.campaign.campaign_arn #=> String
|
|
1363
1469
|
# resp.campaign.solution_version_arn #=> String
|
|
1364
1470
|
# resp.campaign.min_provisioned_tps #=> Integer
|
|
1471
|
+
# resp.campaign.campaign_config.item_exploration_config #=> Hash
|
|
1472
|
+
# resp.campaign.campaign_config.item_exploration_config["ParameterName"] #=> String
|
|
1365
1473
|
# resp.campaign.status #=> String
|
|
1366
1474
|
# resp.campaign.failure_reason #=> String
|
|
1367
1475
|
# resp.campaign.creation_date_time #=> Time
|
|
1368
1476
|
# resp.campaign.last_updated_date_time #=> Time
|
|
1369
1477
|
# resp.campaign.latest_campaign_update.solution_version_arn #=> String
|
|
1370
1478
|
# resp.campaign.latest_campaign_update.min_provisioned_tps #=> Integer
|
|
1479
|
+
# resp.campaign.latest_campaign_update.campaign_config.item_exploration_config #=> Hash
|
|
1480
|
+
# resp.campaign.latest_campaign_update.campaign_config.item_exploration_config["ParameterName"] #=> String
|
|
1371
1481
|
# resp.campaign.latest_campaign_update.status #=> String
|
|
1372
1482
|
# resp.campaign.latest_campaign_update.failure_reason #=> String
|
|
1373
1483
|
# resp.campaign.latest_campaign_update.creation_date_time #=> Time
|
|
@@ -1563,6 +1673,41 @@ module Aws::Personalize
|
|
|
1563
1673
|
req.send_request(options)
|
|
1564
1674
|
end
|
|
1565
1675
|
|
|
1676
|
+
# Describes a filter's properties.
|
|
1677
|
+
#
|
|
1678
|
+
# @option params [required, String] :filter_arn
|
|
1679
|
+
# The ARN of the filter to describe.
|
|
1680
|
+
#
|
|
1681
|
+
# @return [Types::DescribeFilterResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1682
|
+
#
|
|
1683
|
+
# * {Types::DescribeFilterResponse#filter #filter} => Types::Filter
|
|
1684
|
+
#
|
|
1685
|
+
# @example Request syntax with placeholder values
|
|
1686
|
+
#
|
|
1687
|
+
# resp = client.describe_filter({
|
|
1688
|
+
# filter_arn: "Arn", # required
|
|
1689
|
+
# })
|
|
1690
|
+
#
|
|
1691
|
+
# @example Response structure
|
|
1692
|
+
#
|
|
1693
|
+
# resp.filter.name #=> String
|
|
1694
|
+
# resp.filter.filter_arn #=> String
|
|
1695
|
+
# resp.filter.creation_date_time #=> Time
|
|
1696
|
+
# resp.filter.last_updated_date_time #=> Time
|
|
1697
|
+
# resp.filter.dataset_group_arn #=> String
|
|
1698
|
+
# resp.filter.failure_reason #=> String
|
|
1699
|
+
# resp.filter.filter_expression #=> String
|
|
1700
|
+
# resp.filter.status #=> String
|
|
1701
|
+
#
|
|
1702
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeFilter AWS API Documentation
|
|
1703
|
+
#
|
|
1704
|
+
# @overload describe_filter(params = {})
|
|
1705
|
+
# @param [Hash] params ({})
|
|
1706
|
+
def describe_filter(params = {}, options = {})
|
|
1707
|
+
req = build_request(:describe_filter, params)
|
|
1708
|
+
req.send_request(options)
|
|
1709
|
+
end
|
|
1710
|
+
|
|
1566
1711
|
# Describes a recipe.
|
|
1567
1712
|
#
|
|
1568
1713
|
# A recipe contains three items:
|
|
@@ -2121,6 +2266,52 @@ module Aws::Personalize
|
|
|
2121
2266
|
req.send_request(options)
|
|
2122
2267
|
end
|
|
2123
2268
|
|
|
2269
|
+
# Lists all filters that belong to a given dataset group.
|
|
2270
|
+
#
|
|
2271
|
+
# @option params [String] :dataset_group_arn
|
|
2272
|
+
# The ARN of the dataset group that contains the filters.
|
|
2273
|
+
#
|
|
2274
|
+
# @option params [String] :next_token
|
|
2275
|
+
# A token returned from the previous call to `ListFilters` for getting
|
|
2276
|
+
# the next set of filters (if they exist).
|
|
2277
|
+
#
|
|
2278
|
+
# @option params [Integer] :max_results
|
|
2279
|
+
# The maximum number of filters to return.
|
|
2280
|
+
#
|
|
2281
|
+
# @return [Types::ListFiltersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2282
|
+
#
|
|
2283
|
+
# * {Types::ListFiltersResponse#filters #filters} => Array<Types::FilterSummary>
|
|
2284
|
+
# * {Types::ListFiltersResponse#next_token #next_token} => String
|
|
2285
|
+
#
|
|
2286
|
+
# @example Request syntax with placeholder values
|
|
2287
|
+
#
|
|
2288
|
+
# resp = client.list_filters({
|
|
2289
|
+
# dataset_group_arn: "Arn",
|
|
2290
|
+
# next_token: "NextToken",
|
|
2291
|
+
# max_results: 1,
|
|
2292
|
+
# })
|
|
2293
|
+
#
|
|
2294
|
+
# @example Response structure
|
|
2295
|
+
#
|
|
2296
|
+
# resp.filters #=> Array
|
|
2297
|
+
# resp.filters[0].name #=> String
|
|
2298
|
+
# resp.filters[0].filter_arn #=> String
|
|
2299
|
+
# resp.filters[0].creation_date_time #=> Time
|
|
2300
|
+
# resp.filters[0].last_updated_date_time #=> Time
|
|
2301
|
+
# resp.filters[0].dataset_group_arn #=> String
|
|
2302
|
+
# resp.filters[0].failure_reason #=> String
|
|
2303
|
+
# resp.filters[0].status #=> String
|
|
2304
|
+
# resp.next_token #=> String
|
|
2305
|
+
#
|
|
2306
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListFilters AWS API Documentation
|
|
2307
|
+
#
|
|
2308
|
+
# @overload list_filters(params = {})
|
|
2309
|
+
# @param [Hash] params ({})
|
|
2310
|
+
def list_filters(params = {}, options = {})
|
|
2311
|
+
req = build_request(:list_filters, params)
|
|
2312
|
+
req.send_request(options)
|
|
2313
|
+
end
|
|
2314
|
+
|
|
2124
2315
|
# Returns a list of available recipes. The response provides the
|
|
2125
2316
|
# properties for each recipe, including the recipe's Amazon Resource
|
|
2126
2317
|
# Name (ARN).
|
|
@@ -2335,6 +2526,9 @@ module Aws::Personalize
|
|
|
2335
2526
|
# Specifies the requested minimum provisioned transactions
|
|
2336
2527
|
# (recommendations) per second that Amazon Personalize will support.
|
|
2337
2528
|
#
|
|
2529
|
+
# @option params [Types::CampaignConfig] :campaign_config
|
|
2530
|
+
# The configuration details of a campaign.
|
|
2531
|
+
#
|
|
2338
2532
|
# @return [Types::UpdateCampaignResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2339
2533
|
#
|
|
2340
2534
|
# * {Types::UpdateCampaignResponse#campaign_arn #campaign_arn} => String
|
|
@@ -2345,6 +2539,11 @@ module Aws::Personalize
|
|
|
2345
2539
|
# campaign_arn: "Arn", # required
|
|
2346
2540
|
# solution_version_arn: "Arn",
|
|
2347
2541
|
# min_provisioned_tps: 1,
|
|
2542
|
+
# campaign_config: {
|
|
2543
|
+
# item_exploration_config: {
|
|
2544
|
+
# "ParameterName" => "ParameterValue",
|
|
2545
|
+
# },
|
|
2546
|
+
# },
|
|
2348
2547
|
# })
|
|
2349
2548
|
#
|
|
2350
2549
|
# @example Response structure
|
|
@@ -2373,7 +2572,7 @@ module Aws::Personalize
|
|
|
2373
2572
|
params: params,
|
|
2374
2573
|
config: config)
|
|
2375
2574
|
context[:gem_name] = 'aws-sdk-personalize'
|
|
2376
|
-
context[:gem_version] = '1.
|
|
2575
|
+
context[:gem_version] = '1.16.0'
|
|
2377
2576
|
Seahorse::Client::Request.new(handlers, context)
|
|
2378
2577
|
end
|
|
2379
2578
|
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
|
2
4
|
#
|
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
|
@@ -20,12 +22,14 @@ module Aws::Personalize
|
|
|
20
22
|
AutoMLResult = Shapes::StructureShape.new(name: 'AutoMLResult')
|
|
21
23
|
AvroSchema = Shapes::StringShape.new(name: 'AvroSchema')
|
|
22
24
|
BatchInferenceJob = Shapes::StructureShape.new(name: 'BatchInferenceJob')
|
|
25
|
+
BatchInferenceJobConfig = Shapes::StructureShape.new(name: 'BatchInferenceJobConfig')
|
|
23
26
|
BatchInferenceJobInput = Shapes::StructureShape.new(name: 'BatchInferenceJobInput')
|
|
24
27
|
BatchInferenceJobOutput = Shapes::StructureShape.new(name: 'BatchInferenceJobOutput')
|
|
25
28
|
BatchInferenceJobSummary = Shapes::StructureShape.new(name: 'BatchInferenceJobSummary')
|
|
26
29
|
BatchInferenceJobs = Shapes::ListShape.new(name: 'BatchInferenceJobs')
|
|
27
30
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
|
28
31
|
Campaign = Shapes::StructureShape.new(name: 'Campaign')
|
|
32
|
+
CampaignConfig = Shapes::StructureShape.new(name: 'CampaignConfig')
|
|
29
33
|
CampaignSummary = Shapes::StructureShape.new(name: 'CampaignSummary')
|
|
30
34
|
CampaignUpdateSummary = Shapes::StructureShape.new(name: 'CampaignUpdateSummary')
|
|
31
35
|
Campaigns = Shapes::ListShape.new(name: 'Campaigns')
|
|
@@ -49,6 +53,8 @@ module Aws::Personalize
|
|
|
49
53
|
CreateDatasetResponse = Shapes::StructureShape.new(name: 'CreateDatasetResponse')
|
|
50
54
|
CreateEventTrackerRequest = Shapes::StructureShape.new(name: 'CreateEventTrackerRequest')
|
|
51
55
|
CreateEventTrackerResponse = Shapes::StructureShape.new(name: 'CreateEventTrackerResponse')
|
|
56
|
+
CreateFilterRequest = Shapes::StructureShape.new(name: 'CreateFilterRequest')
|
|
57
|
+
CreateFilterResponse = Shapes::StructureShape.new(name: 'CreateFilterResponse')
|
|
52
58
|
CreateSchemaRequest = Shapes::StructureShape.new(name: 'CreateSchemaRequest')
|
|
53
59
|
CreateSchemaResponse = Shapes::StructureShape.new(name: 'CreateSchemaResponse')
|
|
54
60
|
CreateSolutionRequest = Shapes::StructureShape.new(name: 'CreateSolutionRequest')
|
|
@@ -80,6 +86,7 @@ module Aws::Personalize
|
|
|
80
86
|
DeleteDatasetGroupRequest = Shapes::StructureShape.new(name: 'DeleteDatasetGroupRequest')
|
|
81
87
|
DeleteDatasetRequest = Shapes::StructureShape.new(name: 'DeleteDatasetRequest')
|
|
82
88
|
DeleteEventTrackerRequest = Shapes::StructureShape.new(name: 'DeleteEventTrackerRequest')
|
|
89
|
+
DeleteFilterRequest = Shapes::StructureShape.new(name: 'DeleteFilterRequest')
|
|
83
90
|
DeleteSchemaRequest = Shapes::StructureShape.new(name: 'DeleteSchemaRequest')
|
|
84
91
|
DeleteSolutionRequest = Shapes::StructureShape.new(name: 'DeleteSolutionRequest')
|
|
85
92
|
DescribeAlgorithmRequest = Shapes::StructureShape.new(name: 'DescribeAlgorithmRequest')
|
|
@@ -98,6 +105,8 @@ module Aws::Personalize
|
|
|
98
105
|
DescribeEventTrackerResponse = Shapes::StructureShape.new(name: 'DescribeEventTrackerResponse')
|
|
99
106
|
DescribeFeatureTransformationRequest = Shapes::StructureShape.new(name: 'DescribeFeatureTransformationRequest')
|
|
100
107
|
DescribeFeatureTransformationResponse = Shapes::StructureShape.new(name: 'DescribeFeatureTransformationResponse')
|
|
108
|
+
DescribeFilterRequest = Shapes::StructureShape.new(name: 'DescribeFilterRequest')
|
|
109
|
+
DescribeFilterResponse = Shapes::StructureShape.new(name: 'DescribeFilterResponse')
|
|
101
110
|
DescribeRecipeRequest = Shapes::StructureShape.new(name: 'DescribeRecipeRequest')
|
|
102
111
|
DescribeRecipeResponse = Shapes::StructureShape.new(name: 'DescribeRecipeResponse')
|
|
103
112
|
DescribeSchemaRequest = Shapes::StructureShape.new(name: 'DescribeSchemaRequest')
|
|
@@ -118,6 +127,10 @@ module Aws::Personalize
|
|
|
118
127
|
FeatureTransformation = Shapes::StructureShape.new(name: 'FeatureTransformation')
|
|
119
128
|
FeatureTransformationParameters = Shapes::MapShape.new(name: 'FeatureTransformationParameters')
|
|
120
129
|
FeaturizationParameters = Shapes::MapShape.new(name: 'FeaturizationParameters')
|
|
130
|
+
Filter = Shapes::StructureShape.new(name: 'Filter')
|
|
131
|
+
FilterExpression = Shapes::StringShape.new(name: 'FilterExpression')
|
|
132
|
+
FilterSummary = Shapes::StructureShape.new(name: 'FilterSummary')
|
|
133
|
+
Filters = Shapes::ListShape.new(name: 'Filters')
|
|
121
134
|
GetSolutionMetricsRequest = Shapes::StructureShape.new(name: 'GetSolutionMetricsRequest')
|
|
122
135
|
GetSolutionMetricsResponse = Shapes::StructureShape.new(name: 'GetSolutionMetricsResponse')
|
|
123
136
|
HPOConfig = Shapes::StructureShape.new(name: 'HPOConfig')
|
|
@@ -147,6 +160,8 @@ module Aws::Personalize
|
|
|
147
160
|
ListDatasetsResponse = Shapes::StructureShape.new(name: 'ListDatasetsResponse')
|
|
148
161
|
ListEventTrackersRequest = Shapes::StructureShape.new(name: 'ListEventTrackersRequest')
|
|
149
162
|
ListEventTrackersResponse = Shapes::StructureShape.new(name: 'ListEventTrackersResponse')
|
|
163
|
+
ListFiltersRequest = Shapes::StructureShape.new(name: 'ListFiltersRequest')
|
|
164
|
+
ListFiltersResponse = Shapes::StructureShape.new(name: 'ListFiltersResponse')
|
|
150
165
|
ListRecipesRequest = Shapes::StructureShape.new(name: 'ListRecipesRequest')
|
|
151
166
|
ListRecipesResponse = Shapes::StructureShape.new(name: 'ListRecipesResponse')
|
|
152
167
|
ListSchemasRequest = Shapes::StructureShape.new(name: 'ListSchemasRequest')
|
|
@@ -225,17 +240,22 @@ module Aws::Personalize
|
|
|
225
240
|
|
|
226
241
|
BatchInferenceJob.add_member(:job_name, Shapes::ShapeRef.new(shape: Name, location_name: "jobName"))
|
|
227
242
|
BatchInferenceJob.add_member(:batch_inference_job_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "batchInferenceJobArn"))
|
|
243
|
+
BatchInferenceJob.add_member(:filter_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "filterArn"))
|
|
228
244
|
BatchInferenceJob.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "failureReason"))
|
|
229
245
|
BatchInferenceJob.add_member(:solution_version_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "solutionVersionArn"))
|
|
230
246
|
BatchInferenceJob.add_member(:num_results, Shapes::ShapeRef.new(shape: NumBatchResults, location_name: "numResults"))
|
|
231
247
|
BatchInferenceJob.add_member(:job_input, Shapes::ShapeRef.new(shape: BatchInferenceJobInput, location_name: "jobInput"))
|
|
232
248
|
BatchInferenceJob.add_member(:job_output, Shapes::ShapeRef.new(shape: BatchInferenceJobOutput, location_name: "jobOutput"))
|
|
249
|
+
BatchInferenceJob.add_member(:batch_inference_job_config, Shapes::ShapeRef.new(shape: BatchInferenceJobConfig, location_name: "batchInferenceJobConfig"))
|
|
233
250
|
BatchInferenceJob.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
|
|
234
251
|
BatchInferenceJob.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "status"))
|
|
235
252
|
BatchInferenceJob.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "creationDateTime"))
|
|
236
253
|
BatchInferenceJob.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "lastUpdatedDateTime"))
|
|
237
254
|
BatchInferenceJob.struct_class = Types::BatchInferenceJob
|
|
238
255
|
|
|
256
|
+
BatchInferenceJobConfig.add_member(:item_exploration_config, Shapes::ShapeRef.new(shape: HyperParameters, location_name: "itemExplorationConfig"))
|
|
257
|
+
BatchInferenceJobConfig.struct_class = Types::BatchInferenceJobConfig
|
|
258
|
+
|
|
239
259
|
BatchInferenceJobInput.add_member(:s3_data_source, Shapes::ShapeRef.new(shape: S3DataConfig, required: true, location_name: "s3DataSource"))
|
|
240
260
|
BatchInferenceJobInput.struct_class = Types::BatchInferenceJobInput
|
|
241
261
|
|
|
@@ -257,6 +277,7 @@ module Aws::Personalize
|
|
|
257
277
|
Campaign.add_member(:campaign_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "campaignArn"))
|
|
258
278
|
Campaign.add_member(:solution_version_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "solutionVersionArn"))
|
|
259
279
|
Campaign.add_member(:min_provisioned_tps, Shapes::ShapeRef.new(shape: TransactionsPerSecond, location_name: "minProvisionedTPS"))
|
|
280
|
+
Campaign.add_member(:campaign_config, Shapes::ShapeRef.new(shape: CampaignConfig, location_name: "campaignConfig"))
|
|
260
281
|
Campaign.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "status"))
|
|
261
282
|
Campaign.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "failureReason"))
|
|
262
283
|
Campaign.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "creationDateTime"))
|
|
@@ -264,6 +285,9 @@ module Aws::Personalize
|
|
|
264
285
|
Campaign.add_member(:latest_campaign_update, Shapes::ShapeRef.new(shape: CampaignUpdateSummary, location_name: "latestCampaignUpdate"))
|
|
265
286
|
Campaign.struct_class = Types::Campaign
|
|
266
287
|
|
|
288
|
+
CampaignConfig.add_member(:item_exploration_config, Shapes::ShapeRef.new(shape: HyperParameters, location_name: "itemExplorationConfig"))
|
|
289
|
+
CampaignConfig.struct_class = Types::CampaignConfig
|
|
290
|
+
|
|
267
291
|
CampaignSummary.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
|
|
268
292
|
CampaignSummary.add_member(:campaign_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "campaignArn"))
|
|
269
293
|
CampaignSummary.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "status"))
|
|
@@ -274,6 +298,7 @@ module Aws::Personalize
|
|
|
274
298
|
|
|
275
299
|
CampaignUpdateSummary.add_member(:solution_version_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "solutionVersionArn"))
|
|
276
300
|
CampaignUpdateSummary.add_member(:min_provisioned_tps, Shapes::ShapeRef.new(shape: TransactionsPerSecond, location_name: "minProvisionedTPS"))
|
|
301
|
+
CampaignUpdateSummary.add_member(:campaign_config, Shapes::ShapeRef.new(shape: CampaignConfig, location_name: "campaignConfig"))
|
|
277
302
|
CampaignUpdateSummary.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "status"))
|
|
278
303
|
CampaignUpdateSummary.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "failureReason"))
|
|
279
304
|
CampaignUpdateSummary.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "creationDateTime"))
|
|
@@ -299,10 +324,12 @@ module Aws::Personalize
|
|
|
299
324
|
|
|
300
325
|
CreateBatchInferenceJobRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "jobName"))
|
|
301
326
|
CreateBatchInferenceJobRequest.add_member(:solution_version_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "solutionVersionArn"))
|
|
327
|
+
CreateBatchInferenceJobRequest.add_member(:filter_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "filterArn"))
|
|
302
328
|
CreateBatchInferenceJobRequest.add_member(:num_results, Shapes::ShapeRef.new(shape: NumBatchResults, location_name: "numResults"))
|
|
303
329
|
CreateBatchInferenceJobRequest.add_member(:job_input, Shapes::ShapeRef.new(shape: BatchInferenceJobInput, required: true, location_name: "jobInput"))
|
|
304
330
|
CreateBatchInferenceJobRequest.add_member(:job_output, Shapes::ShapeRef.new(shape: BatchInferenceJobOutput, required: true, location_name: "jobOutput"))
|
|
305
331
|
CreateBatchInferenceJobRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
|
|
332
|
+
CreateBatchInferenceJobRequest.add_member(:batch_inference_job_config, Shapes::ShapeRef.new(shape: BatchInferenceJobConfig, location_name: "batchInferenceJobConfig"))
|
|
306
333
|
CreateBatchInferenceJobRequest.struct_class = Types::CreateBatchInferenceJobRequest
|
|
307
334
|
|
|
308
335
|
CreateBatchInferenceJobResponse.add_member(:batch_inference_job_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "batchInferenceJobArn"))
|
|
@@ -311,6 +338,7 @@ module Aws::Personalize
|
|
|
311
338
|
CreateCampaignRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
|
|
312
339
|
CreateCampaignRequest.add_member(:solution_version_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "solutionVersionArn"))
|
|
313
340
|
CreateCampaignRequest.add_member(:min_provisioned_tps, Shapes::ShapeRef.new(shape: TransactionsPerSecond, required: true, location_name: "minProvisionedTPS"))
|
|
341
|
+
CreateCampaignRequest.add_member(:campaign_config, Shapes::ShapeRef.new(shape: CampaignConfig, location_name: "campaignConfig"))
|
|
314
342
|
CreateCampaignRequest.struct_class = Types::CreateCampaignRequest
|
|
315
343
|
|
|
316
344
|
CreateCampaignResponse.add_member(:campaign_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "campaignArn"))
|
|
@@ -350,6 +378,14 @@ module Aws::Personalize
|
|
|
350
378
|
CreateEventTrackerResponse.add_member(:tracking_id, Shapes::ShapeRef.new(shape: TrackingId, location_name: "trackingId"))
|
|
351
379
|
CreateEventTrackerResponse.struct_class = Types::CreateEventTrackerResponse
|
|
352
380
|
|
|
381
|
+
CreateFilterRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
|
|
382
|
+
CreateFilterRequest.add_member(:dataset_group_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "datasetGroupArn"))
|
|
383
|
+
CreateFilterRequest.add_member(:filter_expression, Shapes::ShapeRef.new(shape: FilterExpression, required: true, location_name: "filterExpression"))
|
|
384
|
+
CreateFilterRequest.struct_class = Types::CreateFilterRequest
|
|
385
|
+
|
|
386
|
+
CreateFilterResponse.add_member(:filter_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "filterArn"))
|
|
387
|
+
CreateFilterResponse.struct_class = Types::CreateFilterResponse
|
|
388
|
+
|
|
353
389
|
CreateSchemaRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
|
|
354
390
|
CreateSchemaRequest.add_member(:schema, Shapes::ShapeRef.new(shape: AvroSchema, required: true, location_name: "schema"))
|
|
355
391
|
CreateSchemaRequest.struct_class = Types::CreateSchemaRequest
|
|
@@ -493,6 +529,9 @@ module Aws::Personalize
|
|
|
493
529
|
DeleteEventTrackerRequest.add_member(:event_tracker_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "eventTrackerArn"))
|
|
494
530
|
DeleteEventTrackerRequest.struct_class = Types::DeleteEventTrackerRequest
|
|
495
531
|
|
|
532
|
+
DeleteFilterRequest.add_member(:filter_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "filterArn"))
|
|
533
|
+
DeleteFilterRequest.struct_class = Types::DeleteFilterRequest
|
|
534
|
+
|
|
496
535
|
DeleteSchemaRequest.add_member(:schema_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "schemaArn"))
|
|
497
536
|
DeleteSchemaRequest.struct_class = Types::DeleteSchemaRequest
|
|
498
537
|
|
|
@@ -547,6 +586,12 @@ module Aws::Personalize
|
|
|
547
586
|
DescribeFeatureTransformationResponse.add_member(:feature_transformation, Shapes::ShapeRef.new(shape: FeatureTransformation, location_name: "featureTransformation"))
|
|
548
587
|
DescribeFeatureTransformationResponse.struct_class = Types::DescribeFeatureTransformationResponse
|
|
549
588
|
|
|
589
|
+
DescribeFilterRequest.add_member(:filter_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "filterArn"))
|
|
590
|
+
DescribeFilterRequest.struct_class = Types::DescribeFilterRequest
|
|
591
|
+
|
|
592
|
+
DescribeFilterResponse.add_member(:filter, Shapes::ShapeRef.new(shape: Filter, location_name: "filter"))
|
|
593
|
+
DescribeFilterResponse.struct_class = Types::DescribeFilterResponse
|
|
594
|
+
|
|
550
595
|
DescribeRecipeRequest.add_member(:recipe_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "recipeArn"))
|
|
551
596
|
DescribeRecipeRequest.struct_class = Types::DescribeRecipeRequest
|
|
552
597
|
|
|
@@ -604,6 +649,27 @@ module Aws::Personalize
|
|
|
604
649
|
FeaturizationParameters.key = Shapes::ShapeRef.new(shape: ParameterName)
|
|
605
650
|
FeaturizationParameters.value = Shapes::ShapeRef.new(shape: ParameterValue)
|
|
606
651
|
|
|
652
|
+
Filter.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
|
|
653
|
+
Filter.add_member(:filter_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "filterArn"))
|
|
654
|
+
Filter.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "creationDateTime"))
|
|
655
|
+
Filter.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "lastUpdatedDateTime"))
|
|
656
|
+
Filter.add_member(:dataset_group_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "datasetGroupArn"))
|
|
657
|
+
Filter.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "failureReason"))
|
|
658
|
+
Filter.add_member(:filter_expression, Shapes::ShapeRef.new(shape: FilterExpression, location_name: "filterExpression"))
|
|
659
|
+
Filter.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "status"))
|
|
660
|
+
Filter.struct_class = Types::Filter
|
|
661
|
+
|
|
662
|
+
FilterSummary.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
|
|
663
|
+
FilterSummary.add_member(:filter_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "filterArn"))
|
|
664
|
+
FilterSummary.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "creationDateTime"))
|
|
665
|
+
FilterSummary.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "lastUpdatedDateTime"))
|
|
666
|
+
FilterSummary.add_member(:dataset_group_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "datasetGroupArn"))
|
|
667
|
+
FilterSummary.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "failureReason"))
|
|
668
|
+
FilterSummary.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "status"))
|
|
669
|
+
FilterSummary.struct_class = Types::FilterSummary
|
|
670
|
+
|
|
671
|
+
Filters.member = Shapes::ShapeRef.new(shape: FilterSummary)
|
|
672
|
+
|
|
607
673
|
GetSolutionMetricsRequest.add_member(:solution_version_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "solutionVersionArn"))
|
|
608
674
|
GetSolutionMetricsRequest.struct_class = Types::GetSolutionMetricsRequest
|
|
609
675
|
|
|
@@ -702,6 +768,15 @@ module Aws::Personalize
|
|
|
702
768
|
ListEventTrackersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
|
703
769
|
ListEventTrackersResponse.struct_class = Types::ListEventTrackersResponse
|
|
704
770
|
|
|
771
|
+
ListFiltersRequest.add_member(:dataset_group_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "datasetGroupArn"))
|
|
772
|
+
ListFiltersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
|
773
|
+
ListFiltersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
|
|
774
|
+
ListFiltersRequest.struct_class = Types::ListFiltersRequest
|
|
775
|
+
|
|
776
|
+
ListFiltersResponse.add_member(:filters, Shapes::ShapeRef.new(shape: Filters, location_name: "Filters"))
|
|
777
|
+
ListFiltersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
|
778
|
+
ListFiltersResponse.struct_class = Types::ListFiltersResponse
|
|
779
|
+
|
|
705
780
|
ListRecipesRequest.add_member(:recipe_provider, Shapes::ShapeRef.new(shape: RecipeProvider, location_name: "recipeProvider"))
|
|
706
781
|
ListRecipesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
|
707
782
|
ListRecipesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
|
|
@@ -841,6 +916,7 @@ module Aws::Personalize
|
|
|
841
916
|
UpdateCampaignRequest.add_member(:campaign_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "campaignArn"))
|
|
842
917
|
UpdateCampaignRequest.add_member(:solution_version_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "solutionVersionArn"))
|
|
843
918
|
UpdateCampaignRequest.add_member(:min_provisioned_tps, Shapes::ShapeRef.new(shape: TransactionsPerSecond, location_name: "minProvisionedTPS"))
|
|
919
|
+
UpdateCampaignRequest.add_member(:campaign_config, Shapes::ShapeRef.new(shape: CampaignConfig, location_name: "campaignConfig"))
|
|
844
920
|
UpdateCampaignRequest.struct_class = Types::UpdateCampaignRequest
|
|
845
921
|
|
|
846
922
|
UpdateCampaignResponse.add_member(:campaign_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "campaignArn"))
|
|
@@ -941,6 +1017,18 @@ module Aws::Personalize
|
|
|
941
1017
|
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
|
942
1018
|
end)
|
|
943
1019
|
|
|
1020
|
+
api.add_operation(:create_filter, Seahorse::Model::Operation.new.tap do |o|
|
|
1021
|
+
o.name = "CreateFilter"
|
|
1022
|
+
o.http_method = "POST"
|
|
1023
|
+
o.http_request_uri = "/"
|
|
1024
|
+
o.input = Shapes::ShapeRef.new(shape: CreateFilterRequest)
|
|
1025
|
+
o.output = Shapes::ShapeRef.new(shape: CreateFilterResponse)
|
|
1026
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
|
1027
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
|
|
1028
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
1029
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
|
1030
|
+
end)
|
|
1031
|
+
|
|
944
1032
|
api.add_operation(:create_schema, Seahorse::Model::Operation.new.tap do |o|
|
|
945
1033
|
o.name = "CreateSchema"
|
|
946
1034
|
o.http_method = "POST"
|
|
@@ -973,6 +1061,7 @@ module Aws::Personalize
|
|
|
973
1061
|
o.output = Shapes::ShapeRef.new(shape: CreateSolutionVersionResponse)
|
|
974
1062
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
|
975
1063
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
1064
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
|
976
1065
|
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
|
977
1066
|
end)
|
|
978
1067
|
|
|
@@ -1020,6 +1109,17 @@ module Aws::Personalize
|
|
|
1020
1109
|
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
|
1021
1110
|
end)
|
|
1022
1111
|
|
|
1112
|
+
api.add_operation(:delete_filter, Seahorse::Model::Operation.new.tap do |o|
|
|
1113
|
+
o.name = "DeleteFilter"
|
|
1114
|
+
o.http_method = "POST"
|
|
1115
|
+
o.http_request_uri = "/"
|
|
1116
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteFilterRequest)
|
|
1117
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
|
1118
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
|
1119
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
1120
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
|
1121
|
+
end)
|
|
1122
|
+
|
|
1023
1123
|
api.add_operation(:delete_schema, Seahorse::Model::Operation.new.tap do |o|
|
|
1024
1124
|
o.name = "DeleteSchema"
|
|
1025
1125
|
o.http_method = "POST"
|
|
@@ -1122,6 +1222,16 @@ module Aws::Personalize
|
|
|
1122
1222
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
1123
1223
|
end)
|
|
1124
1224
|
|
|
1225
|
+
api.add_operation(:describe_filter, Seahorse::Model::Operation.new.tap do |o|
|
|
1226
|
+
o.name = "DescribeFilter"
|
|
1227
|
+
o.http_method = "POST"
|
|
1228
|
+
o.http_request_uri = "/"
|
|
1229
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeFilterRequest)
|
|
1230
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeFilterResponse)
|
|
1231
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
|
1232
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
1233
|
+
end)
|
|
1234
|
+
|
|
1125
1235
|
api.add_operation(:describe_recipe, Seahorse::Model::Operation.new.tap do |o|
|
|
1126
1236
|
o.name = "DescribeRecipe"
|
|
1127
1237
|
o.http_method = "POST"
|
|
@@ -1268,6 +1378,16 @@ module Aws::Personalize
|
|
|
1268
1378
|
)
|
|
1269
1379
|
end)
|
|
1270
1380
|
|
|
1381
|
+
api.add_operation(:list_filters, Seahorse::Model::Operation.new.tap do |o|
|
|
1382
|
+
o.name = "ListFilters"
|
|
1383
|
+
o.http_method = "POST"
|
|
1384
|
+
o.http_request_uri = "/"
|
|
1385
|
+
o.input = Shapes::ShapeRef.new(shape: ListFiltersRequest)
|
|
1386
|
+
o.output = Shapes::ShapeRef.new(shape: ListFiltersResponse)
|
|
1387
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
|
1388
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
|
1389
|
+
end)
|
|
1390
|
+
|
|
1271
1391
|
api.add_operation(:list_recipes, Seahorse::Model::Operation.new.tap do |o|
|
|
1272
1392
|
o.name = "ListRecipes"
|
|
1273
1393
|
o.http_method = "POST"
|