aws-sdk-personalize 1.15.0 → 1.16.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 +1 -1
- data/lib/aws-sdk-personalize/client.rb +45 -6
- data/lib/aws-sdk-personalize/client_api.rb +16 -0
- data/lib/aws-sdk-personalize/types.rb +110 -6
- metadata +2 -2
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
@@ -354,6 +354,9 @@ module Aws::Personalize
|
|
354
354
|
# permissions to read and write to your input and out Amazon S3 buckets
|
355
355
|
# respectively.
|
356
356
|
#
|
357
|
+
# @option params [Types::BatchInferenceJobConfig] :batch_inference_job_config
|
358
|
+
# The configuration details of a batch inference job.
|
359
|
+
#
|
357
360
|
# @return [Types::CreateBatchInferenceJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
358
361
|
#
|
359
362
|
# * {Types::CreateBatchInferenceJobResponse#batch_inference_job_arn #batch_inference_job_arn} => String
|
@@ -378,6 +381,11 @@ module Aws::Personalize
|
|
378
381
|
# },
|
379
382
|
# },
|
380
383
|
# role_arn: "RoleArn", # required
|
384
|
+
# batch_inference_job_config: {
|
385
|
+
# item_exploration_config: {
|
386
|
+
# "ParameterName" => "ParameterValue",
|
387
|
+
# },
|
388
|
+
# },
|
381
389
|
# })
|
382
390
|
#
|
383
391
|
# @example Response structure
|
@@ -454,6 +462,9 @@ module Aws::Personalize
|
|
454
462
|
# Specifies the requested minimum provisioned transactions
|
455
463
|
# (recommendations) per second that Amazon Personalize will support.
|
456
464
|
#
|
465
|
+
# @option params [Types::CampaignConfig] :campaign_config
|
466
|
+
# The configuration details of a campaign.
|
467
|
+
#
|
457
468
|
# @return [Types::CreateCampaignResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
458
469
|
#
|
459
470
|
# * {Types::CreateCampaignResponse#campaign_arn #campaign_arn} => String
|
@@ -464,6 +475,11 @@ module Aws::Personalize
|
|
464
475
|
# name: "Name", # required
|
465
476
|
# solution_version_arn: "Arn", # required
|
466
477
|
# min_provisioned_tps: 1, # required
|
478
|
+
# campaign_config: {
|
479
|
+
# item_exploration_config: {
|
480
|
+
# "ParameterName" => "ParameterValue",
|
481
|
+
# },
|
482
|
+
# },
|
467
483
|
# })
|
468
484
|
#
|
469
485
|
# @example Response structure
|
@@ -652,7 +668,8 @@ module Aws::Personalize
|
|
652
668
|
# Amazon S3 bucket) to an Amazon Personalize dataset. To allow Amazon
|
653
669
|
# Personalize to import the training data, you must specify an AWS
|
654
670
|
# Identity and Access Management (IAM) role that has permission to read
|
655
|
-
# 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.
|
656
673
|
#
|
657
674
|
# The dataset import job replaces any previous data in the dataset.
|
658
675
|
#
|
@@ -800,8 +817,12 @@ module Aws::Personalize
|
|
800
817
|
req.send_request(options)
|
801
818
|
end
|
802
819
|
|
803
|
-
# Creates a recommendation filter. For more information, see Using
|
804
|
-
# Filters with Amazon Personalize.
|
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
|
805
826
|
#
|
806
827
|
# @option params [required, String] :name
|
807
828
|
# The name of the filter to create.
|
@@ -818,8 +839,12 @@ module Aws::Personalize
|
|
818
839
|
#
|
819
840
|
# Where "EVENT\_TYPE" is the type of event to filter out. To filter
|
820
841
|
# out all items with any interactions history, set `"*"` as the
|
821
|
-
# EVENT\_TYPE. For more information, see Using Filters with Amazon
|
822
|
-
# Personalize.
|
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
|
823
848
|
#
|
824
849
|
# @return [Types::CreateFilterResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
825
850
|
#
|
@@ -1394,6 +1419,8 @@ module Aws::Personalize
|
|
1394
1419
|
# resp.batch_inference_job.job_input.s3_data_source.kms_key_arn #=> String
|
1395
1420
|
# resp.batch_inference_job.job_output.s3_data_destination.path #=> String
|
1396
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
|
1397
1424
|
# resp.batch_inference_job.role_arn #=> String
|
1398
1425
|
# resp.batch_inference_job.status #=> String
|
1399
1426
|
# resp.batch_inference_job.creation_date_time #=> Time
|
@@ -1441,12 +1468,16 @@ module Aws::Personalize
|
|
1441
1468
|
# resp.campaign.campaign_arn #=> String
|
1442
1469
|
# resp.campaign.solution_version_arn #=> String
|
1443
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
|
1444
1473
|
# resp.campaign.status #=> String
|
1445
1474
|
# resp.campaign.failure_reason #=> String
|
1446
1475
|
# resp.campaign.creation_date_time #=> Time
|
1447
1476
|
# resp.campaign.last_updated_date_time #=> Time
|
1448
1477
|
# resp.campaign.latest_campaign_update.solution_version_arn #=> String
|
1449
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
|
1450
1481
|
# resp.campaign.latest_campaign_update.status #=> String
|
1451
1482
|
# resp.campaign.latest_campaign_update.failure_reason #=> String
|
1452
1483
|
# resp.campaign.latest_campaign_update.creation_date_time #=> Time
|
@@ -2495,6 +2526,9 @@ module Aws::Personalize
|
|
2495
2526
|
# Specifies the requested minimum provisioned transactions
|
2496
2527
|
# (recommendations) per second that Amazon Personalize will support.
|
2497
2528
|
#
|
2529
|
+
# @option params [Types::CampaignConfig] :campaign_config
|
2530
|
+
# The configuration details of a campaign.
|
2531
|
+
#
|
2498
2532
|
# @return [Types::UpdateCampaignResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2499
2533
|
#
|
2500
2534
|
# * {Types::UpdateCampaignResponse#campaign_arn #campaign_arn} => String
|
@@ -2505,6 +2539,11 @@ module Aws::Personalize
|
|
2505
2539
|
# campaign_arn: "Arn", # required
|
2506
2540
|
# solution_version_arn: "Arn",
|
2507
2541
|
# min_provisioned_tps: 1,
|
2542
|
+
# campaign_config: {
|
2543
|
+
# item_exploration_config: {
|
2544
|
+
# "ParameterName" => "ParameterValue",
|
2545
|
+
# },
|
2546
|
+
# },
|
2508
2547
|
# })
|
2509
2548
|
#
|
2510
2549
|
# @example Response structure
|
@@ -2533,7 +2572,7 @@ module Aws::Personalize
|
|
2533
2572
|
params: params,
|
2534
2573
|
config: config)
|
2535
2574
|
context[:gem_name] = 'aws-sdk-personalize'
|
2536
|
-
context[:gem_version] = '1.
|
2575
|
+
context[:gem_version] = '1.16.0'
|
2537
2576
|
Seahorse::Client::Request.new(handlers, context)
|
2538
2577
|
end
|
2539
2578
|
|
@@ -22,12 +22,14 @@ module Aws::Personalize
|
|
22
22
|
AutoMLResult = Shapes::StructureShape.new(name: 'AutoMLResult')
|
23
23
|
AvroSchema = Shapes::StringShape.new(name: 'AvroSchema')
|
24
24
|
BatchInferenceJob = Shapes::StructureShape.new(name: 'BatchInferenceJob')
|
25
|
+
BatchInferenceJobConfig = Shapes::StructureShape.new(name: 'BatchInferenceJobConfig')
|
25
26
|
BatchInferenceJobInput = Shapes::StructureShape.new(name: 'BatchInferenceJobInput')
|
26
27
|
BatchInferenceJobOutput = Shapes::StructureShape.new(name: 'BatchInferenceJobOutput')
|
27
28
|
BatchInferenceJobSummary = Shapes::StructureShape.new(name: 'BatchInferenceJobSummary')
|
28
29
|
BatchInferenceJobs = Shapes::ListShape.new(name: 'BatchInferenceJobs')
|
29
30
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
30
31
|
Campaign = Shapes::StructureShape.new(name: 'Campaign')
|
32
|
+
CampaignConfig = Shapes::StructureShape.new(name: 'CampaignConfig')
|
31
33
|
CampaignSummary = Shapes::StructureShape.new(name: 'CampaignSummary')
|
32
34
|
CampaignUpdateSummary = Shapes::StructureShape.new(name: 'CampaignUpdateSummary')
|
33
35
|
Campaigns = Shapes::ListShape.new(name: 'Campaigns')
|
@@ -244,12 +246,16 @@ module Aws::Personalize
|
|
244
246
|
BatchInferenceJob.add_member(:num_results, Shapes::ShapeRef.new(shape: NumBatchResults, location_name: "numResults"))
|
245
247
|
BatchInferenceJob.add_member(:job_input, Shapes::ShapeRef.new(shape: BatchInferenceJobInput, location_name: "jobInput"))
|
246
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"))
|
247
250
|
BatchInferenceJob.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
|
248
251
|
BatchInferenceJob.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "status"))
|
249
252
|
BatchInferenceJob.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "creationDateTime"))
|
250
253
|
BatchInferenceJob.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "lastUpdatedDateTime"))
|
251
254
|
BatchInferenceJob.struct_class = Types::BatchInferenceJob
|
252
255
|
|
256
|
+
BatchInferenceJobConfig.add_member(:item_exploration_config, Shapes::ShapeRef.new(shape: HyperParameters, location_name: "itemExplorationConfig"))
|
257
|
+
BatchInferenceJobConfig.struct_class = Types::BatchInferenceJobConfig
|
258
|
+
|
253
259
|
BatchInferenceJobInput.add_member(:s3_data_source, Shapes::ShapeRef.new(shape: S3DataConfig, required: true, location_name: "s3DataSource"))
|
254
260
|
BatchInferenceJobInput.struct_class = Types::BatchInferenceJobInput
|
255
261
|
|
@@ -271,6 +277,7 @@ module Aws::Personalize
|
|
271
277
|
Campaign.add_member(:campaign_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "campaignArn"))
|
272
278
|
Campaign.add_member(:solution_version_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "solutionVersionArn"))
|
273
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"))
|
274
281
|
Campaign.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "status"))
|
275
282
|
Campaign.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "failureReason"))
|
276
283
|
Campaign.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "creationDateTime"))
|
@@ -278,6 +285,9 @@ module Aws::Personalize
|
|
278
285
|
Campaign.add_member(:latest_campaign_update, Shapes::ShapeRef.new(shape: CampaignUpdateSummary, location_name: "latestCampaignUpdate"))
|
279
286
|
Campaign.struct_class = Types::Campaign
|
280
287
|
|
288
|
+
CampaignConfig.add_member(:item_exploration_config, Shapes::ShapeRef.new(shape: HyperParameters, location_name: "itemExplorationConfig"))
|
289
|
+
CampaignConfig.struct_class = Types::CampaignConfig
|
290
|
+
|
281
291
|
CampaignSummary.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
|
282
292
|
CampaignSummary.add_member(:campaign_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "campaignArn"))
|
283
293
|
CampaignSummary.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "status"))
|
@@ -288,6 +298,7 @@ module Aws::Personalize
|
|
288
298
|
|
289
299
|
CampaignUpdateSummary.add_member(:solution_version_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "solutionVersionArn"))
|
290
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"))
|
291
302
|
CampaignUpdateSummary.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "status"))
|
292
303
|
CampaignUpdateSummary.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "failureReason"))
|
293
304
|
CampaignUpdateSummary.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "creationDateTime"))
|
@@ -318,6 +329,7 @@ module Aws::Personalize
|
|
318
329
|
CreateBatchInferenceJobRequest.add_member(:job_input, Shapes::ShapeRef.new(shape: BatchInferenceJobInput, required: true, location_name: "jobInput"))
|
319
330
|
CreateBatchInferenceJobRequest.add_member(:job_output, Shapes::ShapeRef.new(shape: BatchInferenceJobOutput, required: true, location_name: "jobOutput"))
|
320
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"))
|
321
333
|
CreateBatchInferenceJobRequest.struct_class = Types::CreateBatchInferenceJobRequest
|
322
334
|
|
323
335
|
CreateBatchInferenceJobResponse.add_member(:batch_inference_job_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "batchInferenceJobArn"))
|
@@ -326,6 +338,7 @@ module Aws::Personalize
|
|
326
338
|
CreateCampaignRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
|
327
339
|
CreateCampaignRequest.add_member(:solution_version_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "solutionVersionArn"))
|
328
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"))
|
329
342
|
CreateCampaignRequest.struct_class = Types::CreateCampaignRequest
|
330
343
|
|
331
344
|
CreateCampaignResponse.add_member(:campaign_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "campaignArn"))
|
@@ -903,6 +916,7 @@ module Aws::Personalize
|
|
903
916
|
UpdateCampaignRequest.add_member(:campaign_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "campaignArn"))
|
904
917
|
UpdateCampaignRequest.add_member(:solution_version_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "solutionVersionArn"))
|
905
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"))
|
906
920
|
UpdateCampaignRequest.struct_class = Types::UpdateCampaignRequest
|
907
921
|
|
908
922
|
UpdateCampaignResponse.add_member(:campaign_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "campaignArn"))
|
@@ -1047,6 +1061,7 @@ module Aws::Personalize
|
|
1047
1061
|
o.output = Shapes::ShapeRef.new(shape: CreateSolutionVersionResponse)
|
1048
1062
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1049
1063
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1064
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1050
1065
|
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1051
1066
|
end)
|
1052
1067
|
|
@@ -1102,6 +1117,7 @@ module Aws::Personalize
|
|
1102
1117
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1103
1118
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1104
1119
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1120
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1105
1121
|
end)
|
1106
1122
|
|
1107
1123
|
api.add_operation(:delete_schema, Seahorse::Model::Operation.new.tap do |o|
|
@@ -177,6 +177,11 @@ module Aws::Personalize
|
|
177
177
|
# batch inference job.
|
178
178
|
# @return [Types::BatchInferenceJobOutput]
|
179
179
|
#
|
180
|
+
# @!attribute [rw] batch_inference_job_config
|
181
|
+
# A string to string map of the configuration details of a batch
|
182
|
+
# inference job.
|
183
|
+
# @return [Types::BatchInferenceJobConfig]
|
184
|
+
#
|
180
185
|
# @!attribute [rw] role_arn
|
181
186
|
# The ARN of the Amazon Identity and Access Management (IAM) role that
|
182
187
|
# requested the batch inference job.
|
@@ -214,6 +219,7 @@ module Aws::Personalize
|
|
214
219
|
:num_results,
|
215
220
|
:job_input,
|
216
221
|
:job_output,
|
222
|
+
:batch_inference_job_config,
|
217
223
|
:role_arn,
|
218
224
|
:status,
|
219
225
|
:creation_date_time,
|
@@ -222,6 +228,31 @@ module Aws::Personalize
|
|
222
228
|
include Aws::Structure
|
223
229
|
end
|
224
230
|
|
231
|
+
# The configuration details of a batch inference job.
|
232
|
+
#
|
233
|
+
# @note When making an API call, you may pass BatchInferenceJobConfig
|
234
|
+
# data as a hash:
|
235
|
+
#
|
236
|
+
# {
|
237
|
+
# item_exploration_config: {
|
238
|
+
# "ParameterName" => "ParameterValue",
|
239
|
+
# },
|
240
|
+
# }
|
241
|
+
#
|
242
|
+
# @!attribute [rw] item_exploration_config
|
243
|
+
# A string to string map specifying the inference hyperparameters you
|
244
|
+
# wish to use for hyperparameter optimization. See
|
245
|
+
# customizing-solution-config-hpo.
|
246
|
+
# @return [Hash<String,String>]
|
247
|
+
#
|
248
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/BatchInferenceJobConfig AWS API Documentation
|
249
|
+
#
|
250
|
+
class BatchInferenceJobConfig < Struct.new(
|
251
|
+
:item_exploration_config)
|
252
|
+
SENSITIVE = []
|
253
|
+
include Aws::Structure
|
254
|
+
end
|
255
|
+
|
225
256
|
# The input configuration of a batch inference job.
|
226
257
|
#
|
227
258
|
# @note When making an API call, you may pass BatchInferenceJobInput
|
@@ -349,6 +380,10 @@ module Aws::Personalize
|
|
349
380
|
# (recommendations) per second.
|
350
381
|
# @return [Integer]
|
351
382
|
#
|
383
|
+
# @!attribute [rw] campaign_config
|
384
|
+
# The configuration details of a campaign.
|
385
|
+
# @return [Types::CampaignConfig]
|
386
|
+
#
|
352
387
|
# @!attribute [rw] status
|
353
388
|
# The status of the campaign.
|
354
389
|
#
|
@@ -385,6 +420,7 @@ module Aws::Personalize
|
|
385
420
|
:campaign_arn,
|
386
421
|
:solution_version_arn,
|
387
422
|
:min_provisioned_tps,
|
423
|
+
:campaign_config,
|
388
424
|
:status,
|
389
425
|
:failure_reason,
|
390
426
|
:creation_date_time,
|
@@ -394,6 +430,31 @@ module Aws::Personalize
|
|
394
430
|
include Aws::Structure
|
395
431
|
end
|
396
432
|
|
433
|
+
# The configuration details of a campaign.
|
434
|
+
#
|
435
|
+
# @note When making an API call, you may pass CampaignConfig
|
436
|
+
# data as a hash:
|
437
|
+
#
|
438
|
+
# {
|
439
|
+
# item_exploration_config: {
|
440
|
+
# "ParameterName" => "ParameterValue",
|
441
|
+
# },
|
442
|
+
# }
|
443
|
+
#
|
444
|
+
# @!attribute [rw] item_exploration_config
|
445
|
+
# A string to string map specifying the inference hyperparameters you
|
446
|
+
# wish to use for hyperparameter optimization. See
|
447
|
+
# customizing-solution-config-hpo.
|
448
|
+
# @return [Hash<String,String>]
|
449
|
+
#
|
450
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CampaignConfig AWS API Documentation
|
451
|
+
#
|
452
|
+
class CampaignConfig < Struct.new(
|
453
|
+
:item_exploration_config)
|
454
|
+
SENSITIVE = []
|
455
|
+
include Aws::Structure
|
456
|
+
end
|
457
|
+
|
397
458
|
# Provides a summary of the properties of a campaign. For a complete
|
398
459
|
# listing, call the DescribeCampaign API.
|
399
460
|
#
|
@@ -453,6 +514,10 @@ module Aws::Personalize
|
|
453
514
|
# (recommendations) per second that Amazon Personalize will support.
|
454
515
|
# @return [Integer]
|
455
516
|
#
|
517
|
+
# @!attribute [rw] campaign_config
|
518
|
+
# The configuration details of a campaign.
|
519
|
+
# @return [Types::CampaignConfig]
|
520
|
+
#
|
456
521
|
# @!attribute [rw] status
|
457
522
|
# The status of the campaign update.
|
458
523
|
#
|
@@ -483,6 +548,7 @@ module Aws::Personalize
|
|
483
548
|
class CampaignUpdateSummary < Struct.new(
|
484
549
|
:solution_version_arn,
|
485
550
|
:min_provisioned_tps,
|
551
|
+
:campaign_config,
|
486
552
|
:status,
|
487
553
|
:failure_reason,
|
488
554
|
:creation_date_time,
|
@@ -572,6 +638,11 @@ module Aws::Personalize
|
|
572
638
|
# },
|
573
639
|
# },
|
574
640
|
# role_arn: "RoleArn", # required
|
641
|
+
# batch_inference_job_config: {
|
642
|
+
# item_exploration_config: {
|
643
|
+
# "ParameterName" => "ParameterValue",
|
644
|
+
# },
|
645
|
+
# },
|
575
646
|
# }
|
576
647
|
#
|
577
648
|
# @!attribute [rw] job_name
|
@@ -609,6 +680,10 @@ module Aws::Personalize
|
|
609
680
|
# buckets respectively.
|
610
681
|
# @return [String]
|
611
682
|
#
|
683
|
+
# @!attribute [rw] batch_inference_job_config
|
684
|
+
# The configuration details of a batch inference job.
|
685
|
+
# @return [Types::BatchInferenceJobConfig]
|
686
|
+
#
|
612
687
|
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateBatchInferenceJobRequest AWS API Documentation
|
613
688
|
#
|
614
689
|
class CreateBatchInferenceJobRequest < Struct.new(
|
@@ -618,7 +693,8 @@ module Aws::Personalize
|
|
618
693
|
:num_results,
|
619
694
|
:job_input,
|
620
695
|
:job_output,
|
621
|
-
:role_arn
|
696
|
+
:role_arn,
|
697
|
+
:batch_inference_job_config)
|
622
698
|
SENSITIVE = []
|
623
699
|
include Aws::Structure
|
624
700
|
end
|
@@ -642,6 +718,11 @@ module Aws::Personalize
|
|
642
718
|
# name: "Name", # required
|
643
719
|
# solution_version_arn: "Arn", # required
|
644
720
|
# min_provisioned_tps: 1, # required
|
721
|
+
# campaign_config: {
|
722
|
+
# item_exploration_config: {
|
723
|
+
# "ParameterName" => "ParameterValue",
|
724
|
+
# },
|
725
|
+
# },
|
645
726
|
# }
|
646
727
|
#
|
647
728
|
# @!attribute [rw] name
|
@@ -658,12 +739,17 @@ module Aws::Personalize
|
|
658
739
|
# (recommendations) per second that Amazon Personalize will support.
|
659
740
|
# @return [Integer]
|
660
741
|
#
|
742
|
+
# @!attribute [rw] campaign_config
|
743
|
+
# The configuration details of a campaign.
|
744
|
+
# @return [Types::CampaignConfig]
|
745
|
+
#
|
661
746
|
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateCampaignRequest AWS API Documentation
|
662
747
|
#
|
663
748
|
class CreateCampaignRequest < Struct.new(
|
664
749
|
:name,
|
665
750
|
:solution_version_arn,
|
666
|
-
:min_provisioned_tps
|
751
|
+
:min_provisioned_tps,
|
752
|
+
:campaign_config)
|
667
753
|
SENSITIVE = []
|
668
754
|
include Aws::Structure
|
669
755
|
end
|
@@ -910,8 +996,12 @@ module Aws::Personalize
|
|
910
996
|
#
|
911
997
|
# Where "EVENT\_TYPE" is the type of event to filter out. To filter
|
912
998
|
# out all items with any interactions history, set `"*"` as the
|
913
|
-
# EVENT\_TYPE. For more information, see Using Filters with Amazon
|
914
|
-
# Personalize.
|
999
|
+
# EVENT\_TYPE. For more information, see [Using Filters with Amazon
|
1000
|
+
# Personalize][1].
|
1001
|
+
#
|
1002
|
+
#
|
1003
|
+
#
|
1004
|
+
# [1]: https://docs.aws.amazon.com/personalize/latest/dg/filters.html
|
915
1005
|
# @return [String]
|
916
1006
|
#
|
917
1007
|
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateFilterRequest AWS API Documentation
|
@@ -2449,7 +2539,11 @@ module Aws::Personalize
|
|
2449
2539
|
# `EXCLUDE itemId WHERE INTERACTIONS.event_type in ("EVENT_TYPE")`
|
2450
2540
|
#
|
2451
2541
|
# Where "EVENT\_TYPE" is the type of event to filter out. For more
|
2452
|
-
# information, see Using Filters with Amazon Personalize.
|
2542
|
+
# information, see [Using Filters with Amazon Personalize][1].
|
2543
|
+
#
|
2544
|
+
#
|
2545
|
+
#
|
2546
|
+
# [1]: https://docs.aws.amazon.com/personalize/latest/dg/filters.html
|
2453
2547
|
# @return [String]
|
2454
2548
|
#
|
2455
2549
|
# @!attribute [rw] status
|
@@ -3902,6 +3996,11 @@ module Aws::Personalize
|
|
3902
3996
|
# campaign_arn: "Arn", # required
|
3903
3997
|
# solution_version_arn: "Arn",
|
3904
3998
|
# min_provisioned_tps: 1,
|
3999
|
+
# campaign_config: {
|
4000
|
+
# item_exploration_config: {
|
4001
|
+
# "ParameterName" => "ParameterValue",
|
4002
|
+
# },
|
4003
|
+
# },
|
3905
4004
|
# }
|
3906
4005
|
#
|
3907
4006
|
# @!attribute [rw] campaign_arn
|
@@ -3917,12 +4016,17 @@ module Aws::Personalize
|
|
3917
4016
|
# (recommendations) per second that Amazon Personalize will support.
|
3918
4017
|
# @return [Integer]
|
3919
4018
|
#
|
4019
|
+
# @!attribute [rw] campaign_config
|
4020
|
+
# The configuration details of a campaign.
|
4021
|
+
# @return [Types::CampaignConfig]
|
4022
|
+
#
|
3920
4023
|
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/UpdateCampaignRequest AWS API Documentation
|
3921
4024
|
#
|
3922
4025
|
class UpdateCampaignRequest < Struct.new(
|
3923
4026
|
:campaign_arn,
|
3924
4027
|
:solution_version_arn,
|
3925
|
-
:min_provisioned_tps
|
4028
|
+
:min_provisioned_tps,
|
4029
|
+
:campaign_config)
|
3926
4030
|
SENSITIVE = []
|
3927
4031
|
include Aws::Structure
|
3928
4032
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-personalize
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.16.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-06
|
11
|
+
date: 2020-08-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|