aws-sdk-personalize 1.40.0 → 1.41.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/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-personalize/client.rb +64 -3
- data/lib/aws-sdk-personalize/client_api.rb +38 -0
- data/lib/aws-sdk-personalize/types.rb +62 -0
- 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: 3dc407b97dfd715c2a50bb1ba07c79332cc359940e83ddf7f6dabfb786c579fa
|
4
|
+
data.tar.gz: ed92e673a1bed28e1721875e1efe8f0ae11d6d656b5aec306e7d9b1fbdd66714
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fe27bfcb1c7e081e3aa3c242d089218a372ac2d730570641a0ebb3728dcce22fda82c0143981fccb14c5fd86d72c5f4397e825c372f8586fa66a688fb415be77
|
7
|
+
data.tar.gz: 4d281bb6c08bcc87eadbb8f463c3e4edab7f5b25892cbfbdfdc8bfc05c5e92c43257dee03b9414c9dcaded5be1685d47167c32734b1c30543670d8ce267b0529
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.41.0
|
@@ -3575,6 +3575,65 @@ module Aws::Personalize
|
|
3575
3575
|
req.send_request(options)
|
3576
3576
|
end
|
3577
3577
|
|
3578
|
+
# Starts a recommender that is INACTIVE. Starting a recommender does not
|
3579
|
+
# create any new models, but resumes billing and automatic retraining
|
3580
|
+
# for the recommender.
|
3581
|
+
#
|
3582
|
+
# @option params [required, String] :recommender_arn
|
3583
|
+
# The Amazon Resource Name (ARN) of the recommender to start.
|
3584
|
+
#
|
3585
|
+
# @return [Types::StartRecommenderResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3586
|
+
#
|
3587
|
+
# * {Types::StartRecommenderResponse#recommender_arn #recommender_arn} => String
|
3588
|
+
#
|
3589
|
+
# @example Request syntax with placeholder values
|
3590
|
+
#
|
3591
|
+
# resp = client.start_recommender({
|
3592
|
+
# recommender_arn: "Arn", # required
|
3593
|
+
# })
|
3594
|
+
#
|
3595
|
+
# @example Response structure
|
3596
|
+
#
|
3597
|
+
# resp.recommender_arn #=> String
|
3598
|
+
#
|
3599
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/StartRecommender AWS API Documentation
|
3600
|
+
#
|
3601
|
+
# @overload start_recommender(params = {})
|
3602
|
+
# @param [Hash] params ({})
|
3603
|
+
def start_recommender(params = {}, options = {})
|
3604
|
+
req = build_request(:start_recommender, params)
|
3605
|
+
req.send_request(options)
|
3606
|
+
end
|
3607
|
+
|
3608
|
+
# Stops a recommender that is ACTIVE. Stopping a recommender halts
|
3609
|
+
# billing and automatic retraining for the recommender.
|
3610
|
+
#
|
3611
|
+
# @option params [required, String] :recommender_arn
|
3612
|
+
# The Amazon Resource Name (ARN) of the recommender to stop.
|
3613
|
+
#
|
3614
|
+
# @return [Types::StopRecommenderResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3615
|
+
#
|
3616
|
+
# * {Types::StopRecommenderResponse#recommender_arn #recommender_arn} => String
|
3617
|
+
#
|
3618
|
+
# @example Request syntax with placeholder values
|
3619
|
+
#
|
3620
|
+
# resp = client.stop_recommender({
|
3621
|
+
# recommender_arn: "Arn", # required
|
3622
|
+
# })
|
3623
|
+
#
|
3624
|
+
# @example Response structure
|
3625
|
+
#
|
3626
|
+
# resp.recommender_arn #=> String
|
3627
|
+
#
|
3628
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/StopRecommender AWS API Documentation
|
3629
|
+
#
|
3630
|
+
# @overload stop_recommender(params = {})
|
3631
|
+
# @param [Hash] params ({})
|
3632
|
+
def stop_recommender(params = {}, options = {})
|
3633
|
+
req = build_request(:stop_recommender, params)
|
3634
|
+
req.send_request(options)
|
3635
|
+
end
|
3636
|
+
|
3578
3637
|
# Stops creating a solution version that is in a state of
|
3579
3638
|
# CREATE\_PENDING or CREATE IN\_PROGRESS.
|
3580
3639
|
#
|
@@ -3685,8 +3744,10 @@ module Aws::Personalize
|
|
3685
3744
|
# FAILED. Check the campaign status using the [DescribeCampaign][1]
|
3686
3745
|
# operation.
|
3687
3746
|
#
|
3688
|
-
# <note markdown="1"> You
|
3689
|
-
#
|
3747
|
+
# <note markdown="1"> You can still get recommendations from a campaign while an update is
|
3748
|
+
# in progress. The campaign will use the previous solution version and
|
3749
|
+
# campaign configuration to generate recommendations until the latest
|
3750
|
+
# campaign update status is `Active`.
|
3690
3751
|
#
|
3691
3752
|
# </note>
|
3692
3753
|
#
|
@@ -3790,7 +3851,7 @@ module Aws::Personalize
|
|
3790
3851
|
params: params,
|
3791
3852
|
config: config)
|
3792
3853
|
context[:gem_name] = 'aws-sdk-personalize'
|
3793
|
-
context[:gem_version] = '1.
|
3854
|
+
context[:gem_version] = '1.41.0'
|
3794
3855
|
Seahorse::Client::Request.new(handlers, context)
|
3795
3856
|
end
|
3796
3857
|
|
@@ -242,7 +242,11 @@ module Aws::Personalize
|
|
242
242
|
SolutionVersionSummary = Shapes::StructureShape.new(name: 'SolutionVersionSummary')
|
243
243
|
SolutionVersions = Shapes::ListShape.new(name: 'SolutionVersions')
|
244
244
|
Solutions = Shapes::ListShape.new(name: 'Solutions')
|
245
|
+
StartRecommenderRequest = Shapes::StructureShape.new(name: 'StartRecommenderRequest')
|
246
|
+
StartRecommenderResponse = Shapes::StructureShape.new(name: 'StartRecommenderResponse')
|
245
247
|
Status = Shapes::StringShape.new(name: 'Status')
|
248
|
+
StopRecommenderRequest = Shapes::StructureShape.new(name: 'StopRecommenderRequest')
|
249
|
+
StopRecommenderResponse = Shapes::StructureShape.new(name: 'StopRecommenderResponse')
|
246
250
|
StopSolutionVersionCreationRequest = Shapes::StructureShape.new(name: 'StopSolutionVersionCreationRequest')
|
247
251
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
248
252
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
@@ -1166,6 +1170,18 @@ module Aws::Personalize
|
|
1166
1170
|
|
1167
1171
|
Solutions.member = Shapes::ShapeRef.new(shape: SolutionSummary)
|
1168
1172
|
|
1173
|
+
StartRecommenderRequest.add_member(:recommender_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "recommenderArn"))
|
1174
|
+
StartRecommenderRequest.struct_class = Types::StartRecommenderRequest
|
1175
|
+
|
1176
|
+
StartRecommenderResponse.add_member(:recommender_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "recommenderArn"))
|
1177
|
+
StartRecommenderResponse.struct_class = Types::StartRecommenderResponse
|
1178
|
+
|
1179
|
+
StopRecommenderRequest.add_member(:recommender_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "recommenderArn"))
|
1180
|
+
StopRecommenderRequest.struct_class = Types::StopRecommenderRequest
|
1181
|
+
|
1182
|
+
StopRecommenderResponse.add_member(:recommender_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "recommenderArn"))
|
1183
|
+
StopRecommenderResponse.struct_class = Types::StopRecommenderResponse
|
1184
|
+
|
1169
1185
|
StopSolutionVersionCreationRequest.add_member(:solution_version_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "solutionVersionArn"))
|
1170
1186
|
StopSolutionVersionCreationRequest.struct_class = Types::StopSolutionVersionCreationRequest
|
1171
1187
|
|
@@ -1900,6 +1916,28 @@ module Aws::Personalize
|
|
1900
1916
|
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1901
1917
|
end)
|
1902
1918
|
|
1919
|
+
api.add_operation(:start_recommender, Seahorse::Model::Operation.new.tap do |o|
|
1920
|
+
o.name = "StartRecommender"
|
1921
|
+
o.http_method = "POST"
|
1922
|
+
o.http_request_uri = "/"
|
1923
|
+
o.input = Shapes::ShapeRef.new(shape: StartRecommenderRequest)
|
1924
|
+
o.output = Shapes::ShapeRef.new(shape: StartRecommenderResponse)
|
1925
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1926
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1927
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1928
|
+
end)
|
1929
|
+
|
1930
|
+
api.add_operation(:stop_recommender, Seahorse::Model::Operation.new.tap do |o|
|
1931
|
+
o.name = "StopRecommender"
|
1932
|
+
o.http_method = "POST"
|
1933
|
+
o.http_request_uri = "/"
|
1934
|
+
o.input = Shapes::ShapeRef.new(shape: StopRecommenderRequest)
|
1935
|
+
o.output = Shapes::ShapeRef.new(shape: StopRecommenderResponse)
|
1936
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1937
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1938
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1939
|
+
end)
|
1940
|
+
|
1903
1941
|
api.add_operation(:stop_solution_version_creation, Seahorse::Model::Operation.new.tap do |o|
|
1904
1942
|
o.name = "StopSolutionVersionCreation"
|
1905
1943
|
o.http_method = "POST"
|
@@ -5499,6 +5499,68 @@ module Aws::Personalize
|
|
5499
5499
|
include Aws::Structure
|
5500
5500
|
end
|
5501
5501
|
|
5502
|
+
# @note When making an API call, you may pass StartRecommenderRequest
|
5503
|
+
# data as a hash:
|
5504
|
+
#
|
5505
|
+
# {
|
5506
|
+
# recommender_arn: "Arn", # required
|
5507
|
+
# }
|
5508
|
+
#
|
5509
|
+
# @!attribute [rw] recommender_arn
|
5510
|
+
# The Amazon Resource Name (ARN) of the recommender to start.
|
5511
|
+
# @return [String]
|
5512
|
+
#
|
5513
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/StartRecommenderRequest AWS API Documentation
|
5514
|
+
#
|
5515
|
+
class StartRecommenderRequest < Struct.new(
|
5516
|
+
:recommender_arn)
|
5517
|
+
SENSITIVE = []
|
5518
|
+
include Aws::Structure
|
5519
|
+
end
|
5520
|
+
|
5521
|
+
# @!attribute [rw] recommender_arn
|
5522
|
+
# The Amazon Resource Name (ARN) of the recommender you started.
|
5523
|
+
# @return [String]
|
5524
|
+
#
|
5525
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/StartRecommenderResponse AWS API Documentation
|
5526
|
+
#
|
5527
|
+
class StartRecommenderResponse < Struct.new(
|
5528
|
+
:recommender_arn)
|
5529
|
+
SENSITIVE = []
|
5530
|
+
include Aws::Structure
|
5531
|
+
end
|
5532
|
+
|
5533
|
+
# @note When making an API call, you may pass StopRecommenderRequest
|
5534
|
+
# data as a hash:
|
5535
|
+
#
|
5536
|
+
# {
|
5537
|
+
# recommender_arn: "Arn", # required
|
5538
|
+
# }
|
5539
|
+
#
|
5540
|
+
# @!attribute [rw] recommender_arn
|
5541
|
+
# The Amazon Resource Name (ARN) of the recommender to stop.
|
5542
|
+
# @return [String]
|
5543
|
+
#
|
5544
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/StopRecommenderRequest AWS API Documentation
|
5545
|
+
#
|
5546
|
+
class StopRecommenderRequest < Struct.new(
|
5547
|
+
:recommender_arn)
|
5548
|
+
SENSITIVE = []
|
5549
|
+
include Aws::Structure
|
5550
|
+
end
|
5551
|
+
|
5552
|
+
# @!attribute [rw] recommender_arn
|
5553
|
+
# The Amazon Resource Name (ARN) of the recommender you stopped.
|
5554
|
+
# @return [String]
|
5555
|
+
#
|
5556
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/StopRecommenderResponse AWS API Documentation
|
5557
|
+
#
|
5558
|
+
class StopRecommenderResponse < Struct.new(
|
5559
|
+
:recommender_arn)
|
5560
|
+
SENSITIVE = []
|
5561
|
+
include Aws::Structure
|
5562
|
+
end
|
5563
|
+
|
5502
5564
|
# @note When making an API call, you may pass StopSolutionVersionCreationRequest
|
5503
5565
|
# data as a hash:
|
5504
5566
|
#
|
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.41.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-04-
|
11
|
+
date: 2022-04-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|