aws-sdk-personalize 1.42.0 → 1.43.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-personalize/client.rb +20 -3
- data/lib/aws-sdk-personalize/client_api.rb +4 -0
- data/lib/aws-sdk-personalize/types.rb +35 -3
- data/lib/aws-sdk-personalize.rb +1 -1
- 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: b7edd0851f01831788bae9768fa224c5f7ef20f9d4562cceb562ad6876f9abb7
|
4
|
+
data.tar.gz: c06b3758b0783bf773cb6ef1fa4f976da683db704907a1b25280eadec2eb758c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b91e363f2c8552d2fe685307d9fe4a1c13359614e3c608bc28cc2fc1bbfe419169c760cd7ee8ca679c47c4e3cc425bc9a416fe54d49fc188924c910384eac8ec
|
7
|
+
data.tar.gz: 320d1995371797f6002bcf864ca5dde647aeb36f99c48f258f27aa516a08bd0236e28806be0bd09542121668c33ccd47365118c5a16ad6d2ef0a0557e7f1b2c3
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.43.0
|
@@ -1002,8 +1002,10 @@ module Aws::Personalize
|
|
1002
1002
|
# bucket, see [Giving Amazon Personalize Access to Amazon S3
|
1003
1003
|
# Resources][1].
|
1004
1004
|
#
|
1005
|
-
#
|
1006
|
-
# you imported in bulk.
|
1005
|
+
# By default, a dataset import job replaces any existing data in the
|
1006
|
+
# dataset that you imported in bulk. To add new records without
|
1007
|
+
# replacing existing data, specify INCREMENTAL for the import mode in
|
1008
|
+
# the CreateDatasetImportJob operation.
|
1007
1009
|
#
|
1008
1010
|
# **Status**
|
1009
1011
|
#
|
@@ -1058,6 +1060,18 @@ module Aws::Personalize
|
|
1058
1060
|
#
|
1059
1061
|
# [1]: https://docs.aws.amazon.com/personalize/latest/dev/tagging-resources.html
|
1060
1062
|
#
|
1063
|
+
# @option params [String] :import_mode
|
1064
|
+
# Specify how to add the new records to an existing dataset. The default
|
1065
|
+
# import mode is `FULL`. If you haven't imported bulk records into the
|
1066
|
+
# dataset previously, you can only specify `FULL`.
|
1067
|
+
#
|
1068
|
+
# * Specify `FULL` to overwrite all existing bulk data in your dataset.
|
1069
|
+
# Data you imported individually is not replaced.
|
1070
|
+
#
|
1071
|
+
# * Specify `INCREMENTAL` to append the new records to the existing data
|
1072
|
+
# in your dataset. Amazon Personalize replaces any record with the
|
1073
|
+
# same ID with the new one.
|
1074
|
+
#
|
1061
1075
|
# @return [Types::CreateDatasetImportJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1062
1076
|
#
|
1063
1077
|
# * {Types::CreateDatasetImportJobResponse#dataset_import_job_arn #dataset_import_job_arn} => String
|
@@ -1077,6 +1091,7 @@ module Aws::Personalize
|
|
1077
1091
|
# tag_value: "TagValue", # required
|
1078
1092
|
# },
|
1079
1093
|
# ],
|
1094
|
+
# import_mode: "FULL", # accepts FULL, INCREMENTAL
|
1080
1095
|
# })
|
1081
1096
|
#
|
1082
1097
|
# @example Response structure
|
@@ -2333,6 +2348,7 @@ module Aws::Personalize
|
|
2333
2348
|
# resp.dataset_import_job.creation_date_time #=> Time
|
2334
2349
|
# resp.dataset_import_job.last_updated_date_time #=> Time
|
2335
2350
|
# resp.dataset_import_job.failure_reason #=> String
|
2351
|
+
# resp.dataset_import_job.import_mode #=> String, one of "FULL", "INCREMENTAL"
|
2336
2352
|
#
|
2337
2353
|
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeDatasetImportJob AWS API Documentation
|
2338
2354
|
#
|
@@ -3117,6 +3133,7 @@ module Aws::Personalize
|
|
3117
3133
|
# resp.dataset_import_jobs[0].creation_date_time #=> Time
|
3118
3134
|
# resp.dataset_import_jobs[0].last_updated_date_time #=> Time
|
3119
3135
|
# resp.dataset_import_jobs[0].failure_reason #=> String
|
3136
|
+
# resp.dataset_import_jobs[0].import_mode #=> String, one of "FULL", "INCREMENTAL"
|
3120
3137
|
# resp.next_token #=> String
|
3121
3138
|
#
|
3122
3139
|
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListDatasetImportJobs AWS API Documentation
|
@@ -3862,7 +3879,7 @@ module Aws::Personalize
|
|
3862
3879
|
params: params,
|
3863
3880
|
config: config)
|
3864
3881
|
context[:gem_name] = 'aws-sdk-personalize'
|
3865
|
-
context[:gem_version] = '1.
|
3882
|
+
context[:gem_version] = '1.43.0'
|
3866
3883
|
Seahorse::Client::Request.new(handlers, context)
|
3867
3884
|
end
|
3868
3885
|
|
@@ -163,6 +163,7 @@ module Aws::Personalize
|
|
163
163
|
HPOResourceConfig = Shapes::StructureShape.new(name: 'HPOResourceConfig')
|
164
164
|
HyperParameterRanges = Shapes::StructureShape.new(name: 'HyperParameterRanges')
|
165
165
|
HyperParameters = Shapes::MapShape.new(name: 'HyperParameters')
|
166
|
+
ImportMode = Shapes::StringShape.new(name: 'ImportMode')
|
166
167
|
IngestionMode = Shapes::StringShape.new(name: 'IngestionMode')
|
167
168
|
IntegerHyperParameterRange = Shapes::StructureShape.new(name: 'IntegerHyperParameterRange')
|
168
169
|
IntegerHyperParameterRanges = Shapes::ListShape.new(name: 'IntegerHyperParameterRanges')
|
@@ -475,6 +476,7 @@ module Aws::Personalize
|
|
475
476
|
CreateDatasetImportJobRequest.add_member(:data_source, Shapes::ShapeRef.new(shape: DataSource, required: true, location_name: "dataSource"))
|
476
477
|
CreateDatasetImportJobRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
|
477
478
|
CreateDatasetImportJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
479
|
+
CreateDatasetImportJobRequest.add_member(:import_mode, Shapes::ShapeRef.new(shape: ImportMode, location_name: "importMode"))
|
478
480
|
CreateDatasetImportJobRequest.struct_class = Types::CreateDatasetImportJobRequest
|
479
481
|
|
480
482
|
CreateDatasetImportJobResponse.add_member(:dataset_import_job_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "datasetImportJobArn"))
|
@@ -616,6 +618,7 @@ module Aws::Personalize
|
|
616
618
|
DatasetImportJob.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "creationDateTime"))
|
617
619
|
DatasetImportJob.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "lastUpdatedDateTime"))
|
618
620
|
DatasetImportJob.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "failureReason"))
|
621
|
+
DatasetImportJob.add_member(:import_mode, Shapes::ShapeRef.new(shape: ImportMode, location_name: "importMode"))
|
619
622
|
DatasetImportJob.struct_class = Types::DatasetImportJob
|
620
623
|
|
621
624
|
DatasetImportJobSummary.add_member(:dataset_import_job_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "datasetImportJobArn"))
|
@@ -624,6 +627,7 @@ module Aws::Personalize
|
|
624
627
|
DatasetImportJobSummary.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "creationDateTime"))
|
625
628
|
DatasetImportJobSummary.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "lastUpdatedDateTime"))
|
626
629
|
DatasetImportJobSummary.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "failureReason"))
|
630
|
+
DatasetImportJobSummary.add_member(:import_mode, Shapes::ShapeRef.new(shape: ImportMode, location_name: "importMode"))
|
627
631
|
DatasetImportJobSummary.struct_class = Types::DatasetImportJobSummary
|
628
632
|
|
629
633
|
DatasetImportJobs.member = Shapes::ShapeRef.new(shape: DatasetImportJobSummary)
|
@@ -1310,6 +1310,7 @@ module Aws::Personalize
|
|
1310
1310
|
# tag_value: "TagValue", # required
|
1311
1311
|
# },
|
1312
1312
|
# ],
|
1313
|
+
# import_mode: "FULL", # accepts FULL, INCREMENTAL
|
1313
1314
|
# }
|
1314
1315
|
#
|
1315
1316
|
# @!attribute [rw] job_name
|
@@ -1337,6 +1338,19 @@ module Aws::Personalize
|
|
1337
1338
|
# [1]: https://docs.aws.amazon.com/personalize/latest/dev/tagging-resources.html
|
1338
1339
|
# @return [Array<Types::Tag>]
|
1339
1340
|
#
|
1341
|
+
# @!attribute [rw] import_mode
|
1342
|
+
# Specify how to add the new records to an existing dataset. The
|
1343
|
+
# default import mode is `FULL`. If you haven't imported bulk records
|
1344
|
+
# into the dataset previously, you can only specify `FULL`.
|
1345
|
+
#
|
1346
|
+
# * Specify `FULL` to overwrite all existing bulk data in your
|
1347
|
+
# dataset. Data you imported individually is not replaced.
|
1348
|
+
#
|
1349
|
+
# * Specify `INCREMENTAL` to append the new records to the existing
|
1350
|
+
# data in your dataset. Amazon Personalize replaces any record with
|
1351
|
+
# the same ID with the new one.
|
1352
|
+
# @return [String]
|
1353
|
+
#
|
1340
1354
|
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateDatasetImportJobRequest AWS API Documentation
|
1341
1355
|
#
|
1342
1356
|
class CreateDatasetImportJobRequest < Struct.new(
|
@@ -1344,7 +1358,8 @@ module Aws::Personalize
|
|
1344
1358
|
:dataset_arn,
|
1345
1359
|
:data_source,
|
1346
1360
|
:role_arn,
|
1347
|
-
:tags
|
1361
|
+
:tags,
|
1362
|
+
:import_mode)
|
1348
1363
|
SENSITIVE = []
|
1349
1364
|
include Aws::Structure
|
1350
1365
|
end
|
@@ -2358,6 +2373,11 @@ module Aws::Personalize
|
|
2358
2373
|
# If a dataset import job fails, provides the reason why.
|
2359
2374
|
# @return [String]
|
2360
2375
|
#
|
2376
|
+
# @!attribute [rw] import_mode
|
2377
|
+
# The import mode used by the dataset import job to import new
|
2378
|
+
# records.
|
2379
|
+
# @return [String]
|
2380
|
+
#
|
2361
2381
|
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DatasetImportJob AWS API Documentation
|
2362
2382
|
#
|
2363
2383
|
class DatasetImportJob < Struct.new(
|
@@ -2369,7 +2389,8 @@ module Aws::Personalize
|
|
2369
2389
|
:status,
|
2370
2390
|
:creation_date_time,
|
2371
2391
|
:last_updated_date_time,
|
2372
|
-
:failure_reason
|
2392
|
+
:failure_reason,
|
2393
|
+
:import_mode)
|
2373
2394
|
SENSITIVE = []
|
2374
2395
|
include Aws::Structure
|
2375
2396
|
end
|
@@ -2414,6 +2435,16 @@ module Aws::Personalize
|
|
2414
2435
|
# If a dataset import job fails, the reason behind the failure.
|
2415
2436
|
# @return [String]
|
2416
2437
|
#
|
2438
|
+
# @!attribute [rw] import_mode
|
2439
|
+
# The import mode the dataset import job used to update the data in
|
2440
|
+
# the dataset. For more information see [Updating existing bulk
|
2441
|
+
# data][1].
|
2442
|
+
#
|
2443
|
+
#
|
2444
|
+
#
|
2445
|
+
# [1]: https://docs.aws.amazon.com/personalize/latest/dg/updating-existing-bulk-data.html
|
2446
|
+
# @return [String]
|
2447
|
+
#
|
2417
2448
|
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DatasetImportJobSummary AWS API Documentation
|
2418
2449
|
#
|
2419
2450
|
class DatasetImportJobSummary < Struct.new(
|
@@ -2422,7 +2453,8 @@ module Aws::Personalize
|
|
2422
2453
|
:status,
|
2423
2454
|
:creation_date_time,
|
2424
2455
|
:last_updated_date_time,
|
2425
|
-
:failure_reason
|
2456
|
+
:failure_reason,
|
2457
|
+
:import_mode)
|
2426
2458
|
SENSITIVE = []
|
2427
2459
|
include Aws::Structure
|
2428
2460
|
end
|
data/lib/aws-sdk-personalize.rb
CHANGED
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.43.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-08-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|