aws-sdk-personalize 1.12.0 → 1.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-personalize.rb +4 -2
- data/lib/aws-sdk-personalize/client.rb +224 -10
- 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: 3e8ee6c1c137a15c0920cd529d71ad5c383972e01b5d9eea5afd70fc0b3ea90d
|
4
|
+
data.tar.gz: a98744b407214e71467fca725cdbd435f980e518940092661903a7d0197b6f98
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa345121889b6381e23426b48ea811b2bf2805f094b074ea4850a6fa76e21a83b2e4280b67624749b8cf935922cde764718da637dbcf3b0e6932428b3b2e5899
|
7
|
+
data.tar.gz: '08fc97553337d673c83d47bc1aaf13cd4822915ad6051763e93e3b9af4c95122bef2c92e806e190661b94cba8cbe56883279c2b3c0ac03f0ead6926d8c81d66c'
|
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:
|
@@ -42,9 +44,9 @@ require_relative 'aws-sdk-personalize/customizations'
|
|
42
44
|
#
|
43
45
|
# See {Errors} for more information.
|
44
46
|
#
|
45
|
-
#
|
47
|
+
# @!group service
|
46
48
|
module Aws::Personalize
|
47
49
|
|
48
|
-
GEM_VERSION = '1.
|
50
|
+
GEM_VERSION = '1.17.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
|
|
@@ -81,13 +85,28 @@ module Aws::Personalize
|
|
81
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
82
86
|
# credentials.
|
83
87
|
#
|
88
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
89
|
+
# shared file, such as `~/.aws/config`.
|
90
|
+
#
|
91
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
92
|
+
#
|
93
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
94
|
+
# assume a role after providing credentials via the web.
|
95
|
+
#
|
96
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
97
|
+
# access token generated from `aws login`.
|
98
|
+
#
|
99
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
100
|
+
# process that outputs to stdout.
|
101
|
+
#
|
84
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
85
103
|
# from an EC2 IMDS on an EC2 instance.
|
86
104
|
#
|
87
|
-
# * `Aws::
|
88
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
89
107
|
#
|
90
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
91
110
|
#
|
92
111
|
# When `:credentials` are not configured directly, the following
|
93
112
|
# locations will be searched for credentials:
|
@@ -97,10 +116,10 @@ module Aws::Personalize
|
|
97
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
98
117
|
# * `~/.aws/credentials`
|
99
118
|
# * `~/.aws/config`
|
100
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
101
|
-
# very aggressive. Construct and pass an instance of
|
102
|
-
# `Aws::InstanceProfileCredentails`
|
103
|
-
# timeouts.
|
119
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
|
+
# are very aggressive. Construct and pass an instance of
|
121
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
+
# enable retries and extended timeouts.
|
104
123
|
#
|
105
124
|
# @option options [required, String] :region
|
106
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -161,7 +180,7 @@ module Aws::Personalize
|
|
161
180
|
# @option options [String] :endpoint
|
162
181
|
# The client endpoint is normally constructed from the `:region`
|
163
182
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be a valid HTTP(S) URI.
|
183
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
165
184
|
#
|
166
185
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
186
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -329,6 +348,11 @@ module Aws::Personalize
|
|
329
348
|
# The Amazon Resource Name (ARN) of the solution version that will be
|
330
349
|
# used to generate the batch inference recommendations.
|
331
350
|
#
|
351
|
+
# @option params [String] :filter_arn
|
352
|
+
# The ARN of the filter to apply to the batch inference job. For more
|
353
|
+
# information on using filters, see Using Filters with Amazon
|
354
|
+
# Personalize.
|
355
|
+
#
|
332
356
|
# @option params [Integer] :num_results
|
333
357
|
# The number of recommendations to retreive.
|
334
358
|
#
|
@@ -345,6 +369,9 @@ module Aws::Personalize
|
|
345
369
|
# permissions to read and write to your input and out Amazon S3 buckets
|
346
370
|
# respectively.
|
347
371
|
#
|
372
|
+
# @option params [Types::BatchInferenceJobConfig] :batch_inference_job_config
|
373
|
+
# The configuration details of a batch inference job.
|
374
|
+
#
|
348
375
|
# @return [Types::CreateBatchInferenceJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
349
376
|
#
|
350
377
|
# * {Types::CreateBatchInferenceJobResponse#batch_inference_job_arn #batch_inference_job_arn} => String
|
@@ -354,6 +381,7 @@ module Aws::Personalize
|
|
354
381
|
# resp = client.create_batch_inference_job({
|
355
382
|
# job_name: "Name", # required
|
356
383
|
# solution_version_arn: "Arn", # required
|
384
|
+
# filter_arn: "Arn",
|
357
385
|
# num_results: 1,
|
358
386
|
# job_input: { # required
|
359
387
|
# s3_data_source: { # required
|
@@ -368,6 +396,11 @@ module Aws::Personalize
|
|
368
396
|
# },
|
369
397
|
# },
|
370
398
|
# role_arn: "RoleArn", # required
|
399
|
+
# batch_inference_job_config: {
|
400
|
+
# item_exploration_config: {
|
401
|
+
# "ParameterName" => "ParameterValue",
|
402
|
+
# },
|
403
|
+
# },
|
371
404
|
# })
|
372
405
|
#
|
373
406
|
# @example Response structure
|
@@ -444,6 +477,9 @@ module Aws::Personalize
|
|
444
477
|
# Specifies the requested minimum provisioned transactions
|
445
478
|
# (recommendations) per second that Amazon Personalize will support.
|
446
479
|
#
|
480
|
+
# @option params [Types::CampaignConfig] :campaign_config
|
481
|
+
# The configuration details of a campaign.
|
482
|
+
#
|
447
483
|
# @return [Types::CreateCampaignResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
448
484
|
#
|
449
485
|
# * {Types::CreateCampaignResponse#campaign_arn #campaign_arn} => String
|
@@ -454,6 +490,11 @@ module Aws::Personalize
|
|
454
490
|
# name: "Name", # required
|
455
491
|
# solution_version_arn: "Arn", # required
|
456
492
|
# min_provisioned_tps: 1, # required
|
493
|
+
# campaign_config: {
|
494
|
+
# item_exploration_config: {
|
495
|
+
# "ParameterName" => "ParameterValue",
|
496
|
+
# },
|
497
|
+
# },
|
457
498
|
# })
|
458
499
|
#
|
459
500
|
# @example Response structure
|
@@ -642,7 +683,8 @@ module Aws::Personalize
|
|
642
683
|
# Amazon S3 bucket) to an Amazon Personalize dataset. To allow Amazon
|
643
684
|
# Personalize to import the training data, you must specify an AWS
|
644
685
|
# Identity and Access Management (IAM) role that has permission to read
|
645
|
-
# from the data source
|
686
|
+
# from the data source, as Amazon Personalize makes a copy of your data
|
687
|
+
# and processes it in an internal AWS system.
|
646
688
|
#
|
647
689
|
# The dataset import job replaces any previous data in the dataset.
|
648
690
|
#
|
@@ -790,6 +832,60 @@ module Aws::Personalize
|
|
790
832
|
req.send_request(options)
|
791
833
|
end
|
792
834
|
|
835
|
+
# Creates a recommendation filter. For more information, see [Using
|
836
|
+
# Filters with Amazon Personalize][1].
|
837
|
+
#
|
838
|
+
#
|
839
|
+
#
|
840
|
+
# [1]: https://docs.aws.amazon.com/personalize/latest/dg/filters.html
|
841
|
+
#
|
842
|
+
# @option params [required, String] :name
|
843
|
+
# The name of the filter to create.
|
844
|
+
#
|
845
|
+
# @option params [required, String] :dataset_group_arn
|
846
|
+
# The ARN of the dataset group that the filter will belong to.
|
847
|
+
#
|
848
|
+
# @option params [required, String] :filter_expression
|
849
|
+
# The filter expression that designates the interaction types that the
|
850
|
+
# filter will filter out. A filter expression must follow the following
|
851
|
+
# format:
|
852
|
+
#
|
853
|
+
# `EXCLUDE itemId WHERE INTERACTIONS.event_type in ("EVENT_TYPE")`
|
854
|
+
#
|
855
|
+
# Where "EVENT\_TYPE" is the type of event to filter out. To filter
|
856
|
+
# out all items with any interactions history, set `"*"` as the
|
857
|
+
# EVENT\_TYPE. For more information, see [Using Filters with Amazon
|
858
|
+
# Personalize][1].
|
859
|
+
#
|
860
|
+
#
|
861
|
+
#
|
862
|
+
# [1]: https://docs.aws.amazon.com/personalize/latest/dg/filters.html
|
863
|
+
#
|
864
|
+
# @return [Types::CreateFilterResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
865
|
+
#
|
866
|
+
# * {Types::CreateFilterResponse#filter_arn #filter_arn} => String
|
867
|
+
#
|
868
|
+
# @example Request syntax with placeholder values
|
869
|
+
#
|
870
|
+
# resp = client.create_filter({
|
871
|
+
# name: "Name", # required
|
872
|
+
# dataset_group_arn: "Arn", # required
|
873
|
+
# filter_expression: "FilterExpression", # required
|
874
|
+
# })
|
875
|
+
#
|
876
|
+
# @example Response structure
|
877
|
+
#
|
878
|
+
# resp.filter_arn #=> String
|
879
|
+
#
|
880
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateFilter AWS API Documentation
|
881
|
+
#
|
882
|
+
# @overload create_filter(params = {})
|
883
|
+
# @param [Hash] params ({})
|
884
|
+
def create_filter(params = {}, options = {})
|
885
|
+
req = build_request(:create_filter, params)
|
886
|
+
req.send_request(options)
|
887
|
+
end
|
888
|
+
|
793
889
|
# Creates an Amazon Personalize schema from the specified schema string.
|
794
890
|
# The schema you create must be in Avro JSON format.
|
795
891
|
#
|
@@ -1181,6 +1277,28 @@ module Aws::Personalize
|
|
1181
1277
|
req.send_request(options)
|
1182
1278
|
end
|
1183
1279
|
|
1280
|
+
# Deletes a filter.
|
1281
|
+
#
|
1282
|
+
# @option params [required, String] :filter_arn
|
1283
|
+
# The ARN of the filter to delete.
|
1284
|
+
#
|
1285
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1286
|
+
#
|
1287
|
+
# @example Request syntax with placeholder values
|
1288
|
+
#
|
1289
|
+
# resp = client.delete_filter({
|
1290
|
+
# filter_arn: "Arn", # required
|
1291
|
+
# })
|
1292
|
+
#
|
1293
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DeleteFilter AWS API Documentation
|
1294
|
+
#
|
1295
|
+
# @overload delete_filter(params = {})
|
1296
|
+
# @param [Hash] params ({})
|
1297
|
+
def delete_filter(params = {}, options = {})
|
1298
|
+
req = build_request(:delete_filter, params)
|
1299
|
+
req.send_request(options)
|
1300
|
+
end
|
1301
|
+
|
1184
1302
|
# Deletes a schema. Before deleting a schema, you must delete all
|
1185
1303
|
# datasets referencing the schema. For more information on schemas, see
|
1186
1304
|
# CreateSchema.
|
@@ -1308,6 +1426,7 @@ module Aws::Personalize
|
|
1308
1426
|
#
|
1309
1427
|
# resp.batch_inference_job.job_name #=> String
|
1310
1428
|
# resp.batch_inference_job.batch_inference_job_arn #=> String
|
1429
|
+
# resp.batch_inference_job.filter_arn #=> String
|
1311
1430
|
# resp.batch_inference_job.failure_reason #=> String
|
1312
1431
|
# resp.batch_inference_job.solution_version_arn #=> String
|
1313
1432
|
# resp.batch_inference_job.num_results #=> Integer
|
@@ -1315,6 +1434,8 @@ module Aws::Personalize
|
|
1315
1434
|
# resp.batch_inference_job.job_input.s3_data_source.kms_key_arn #=> String
|
1316
1435
|
# resp.batch_inference_job.job_output.s3_data_destination.path #=> String
|
1317
1436
|
# resp.batch_inference_job.job_output.s3_data_destination.kms_key_arn #=> String
|
1437
|
+
# resp.batch_inference_job.batch_inference_job_config.item_exploration_config #=> Hash
|
1438
|
+
# resp.batch_inference_job.batch_inference_job_config.item_exploration_config["ParameterName"] #=> String
|
1318
1439
|
# resp.batch_inference_job.role_arn #=> String
|
1319
1440
|
# resp.batch_inference_job.status #=> String
|
1320
1441
|
# resp.batch_inference_job.creation_date_time #=> Time
|
@@ -1362,12 +1483,16 @@ module Aws::Personalize
|
|
1362
1483
|
# resp.campaign.campaign_arn #=> String
|
1363
1484
|
# resp.campaign.solution_version_arn #=> String
|
1364
1485
|
# resp.campaign.min_provisioned_tps #=> Integer
|
1486
|
+
# resp.campaign.campaign_config.item_exploration_config #=> Hash
|
1487
|
+
# resp.campaign.campaign_config.item_exploration_config["ParameterName"] #=> String
|
1365
1488
|
# resp.campaign.status #=> String
|
1366
1489
|
# resp.campaign.failure_reason #=> String
|
1367
1490
|
# resp.campaign.creation_date_time #=> Time
|
1368
1491
|
# resp.campaign.last_updated_date_time #=> Time
|
1369
1492
|
# resp.campaign.latest_campaign_update.solution_version_arn #=> String
|
1370
1493
|
# resp.campaign.latest_campaign_update.min_provisioned_tps #=> Integer
|
1494
|
+
# resp.campaign.latest_campaign_update.campaign_config.item_exploration_config #=> Hash
|
1495
|
+
# resp.campaign.latest_campaign_update.campaign_config.item_exploration_config["ParameterName"] #=> String
|
1371
1496
|
# resp.campaign.latest_campaign_update.status #=> String
|
1372
1497
|
# resp.campaign.latest_campaign_update.failure_reason #=> String
|
1373
1498
|
# resp.campaign.latest_campaign_update.creation_date_time #=> Time
|
@@ -1563,6 +1688,41 @@ module Aws::Personalize
|
|
1563
1688
|
req.send_request(options)
|
1564
1689
|
end
|
1565
1690
|
|
1691
|
+
# Describes a filter's properties.
|
1692
|
+
#
|
1693
|
+
# @option params [required, String] :filter_arn
|
1694
|
+
# The ARN of the filter to describe.
|
1695
|
+
#
|
1696
|
+
# @return [Types::DescribeFilterResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1697
|
+
#
|
1698
|
+
# * {Types::DescribeFilterResponse#filter #filter} => Types::Filter
|
1699
|
+
#
|
1700
|
+
# @example Request syntax with placeholder values
|
1701
|
+
#
|
1702
|
+
# resp = client.describe_filter({
|
1703
|
+
# filter_arn: "Arn", # required
|
1704
|
+
# })
|
1705
|
+
#
|
1706
|
+
# @example Response structure
|
1707
|
+
#
|
1708
|
+
# resp.filter.name #=> String
|
1709
|
+
# resp.filter.filter_arn #=> String
|
1710
|
+
# resp.filter.creation_date_time #=> Time
|
1711
|
+
# resp.filter.last_updated_date_time #=> Time
|
1712
|
+
# resp.filter.dataset_group_arn #=> String
|
1713
|
+
# resp.filter.failure_reason #=> String
|
1714
|
+
# resp.filter.filter_expression #=> String
|
1715
|
+
# resp.filter.status #=> String
|
1716
|
+
#
|
1717
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeFilter AWS API Documentation
|
1718
|
+
#
|
1719
|
+
# @overload describe_filter(params = {})
|
1720
|
+
# @param [Hash] params ({})
|
1721
|
+
def describe_filter(params = {}, options = {})
|
1722
|
+
req = build_request(:describe_filter, params)
|
1723
|
+
req.send_request(options)
|
1724
|
+
end
|
1725
|
+
|
1566
1726
|
# Describes a recipe.
|
1567
1727
|
#
|
1568
1728
|
# A recipe contains three items:
|
@@ -2121,6 +2281,52 @@ module Aws::Personalize
|
|
2121
2281
|
req.send_request(options)
|
2122
2282
|
end
|
2123
2283
|
|
2284
|
+
# Lists all filters that belong to a given dataset group.
|
2285
|
+
#
|
2286
|
+
# @option params [String] :dataset_group_arn
|
2287
|
+
# The ARN of the dataset group that contains the filters.
|
2288
|
+
#
|
2289
|
+
# @option params [String] :next_token
|
2290
|
+
# A token returned from the previous call to `ListFilters` for getting
|
2291
|
+
# the next set of filters (if they exist).
|
2292
|
+
#
|
2293
|
+
# @option params [Integer] :max_results
|
2294
|
+
# The maximum number of filters to return.
|
2295
|
+
#
|
2296
|
+
# @return [Types::ListFiltersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2297
|
+
#
|
2298
|
+
# * {Types::ListFiltersResponse#filters #filters} => Array<Types::FilterSummary>
|
2299
|
+
# * {Types::ListFiltersResponse#next_token #next_token} => String
|
2300
|
+
#
|
2301
|
+
# @example Request syntax with placeholder values
|
2302
|
+
#
|
2303
|
+
# resp = client.list_filters({
|
2304
|
+
# dataset_group_arn: "Arn",
|
2305
|
+
# next_token: "NextToken",
|
2306
|
+
# max_results: 1,
|
2307
|
+
# })
|
2308
|
+
#
|
2309
|
+
# @example Response structure
|
2310
|
+
#
|
2311
|
+
# resp.filters #=> Array
|
2312
|
+
# resp.filters[0].name #=> String
|
2313
|
+
# resp.filters[0].filter_arn #=> String
|
2314
|
+
# resp.filters[0].creation_date_time #=> Time
|
2315
|
+
# resp.filters[0].last_updated_date_time #=> Time
|
2316
|
+
# resp.filters[0].dataset_group_arn #=> String
|
2317
|
+
# resp.filters[0].failure_reason #=> String
|
2318
|
+
# resp.filters[0].status #=> String
|
2319
|
+
# resp.next_token #=> String
|
2320
|
+
#
|
2321
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListFilters AWS API Documentation
|
2322
|
+
#
|
2323
|
+
# @overload list_filters(params = {})
|
2324
|
+
# @param [Hash] params ({})
|
2325
|
+
def list_filters(params = {}, options = {})
|
2326
|
+
req = build_request(:list_filters, params)
|
2327
|
+
req.send_request(options)
|
2328
|
+
end
|
2329
|
+
|
2124
2330
|
# Returns a list of available recipes. The response provides the
|
2125
2331
|
# properties for each recipe, including the recipe's Amazon Resource
|
2126
2332
|
# Name (ARN).
|
@@ -2335,6 +2541,9 @@ module Aws::Personalize
|
|
2335
2541
|
# Specifies the requested minimum provisioned transactions
|
2336
2542
|
# (recommendations) per second that Amazon Personalize will support.
|
2337
2543
|
#
|
2544
|
+
# @option params [Types::CampaignConfig] :campaign_config
|
2545
|
+
# The configuration details of a campaign.
|
2546
|
+
#
|
2338
2547
|
# @return [Types::UpdateCampaignResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2339
2548
|
#
|
2340
2549
|
# * {Types::UpdateCampaignResponse#campaign_arn #campaign_arn} => String
|
@@ -2345,6 +2554,11 @@ module Aws::Personalize
|
|
2345
2554
|
# campaign_arn: "Arn", # required
|
2346
2555
|
# solution_version_arn: "Arn",
|
2347
2556
|
# min_provisioned_tps: 1,
|
2557
|
+
# campaign_config: {
|
2558
|
+
# item_exploration_config: {
|
2559
|
+
# "ParameterName" => "ParameterValue",
|
2560
|
+
# },
|
2561
|
+
# },
|
2348
2562
|
# })
|
2349
2563
|
#
|
2350
2564
|
# @example Response structure
|
@@ -2373,7 +2587,7 @@ module Aws::Personalize
|
|
2373
2587
|
params: params,
|
2374
2588
|
config: config)
|
2375
2589
|
context[:gem_name] = 'aws-sdk-personalize'
|
2376
|
-
context[:gem_version] = '1.
|
2590
|
+
context[:gem_version] = '1.17.0'
|
2377
2591
|
Seahorse::Client::Request.new(handlers, context)
|
2378
2592
|
end
|
2379
2593
|
|
@@ -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"
|