aws-sdk-lookoutforvision 1.14.0 → 1.15.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 88bb02d2a62c545c733561bad84264a2d46d556a761e97d687715e55a87240f3
4
- data.tar.gz: d3ac8c3b2e4a0dd6c10d487bc9f3efde0dac23937391d5472858e8d185d31a53
3
+ metadata.gz: 1b85b666e9666266e00f26ee190f05ed419d177d77ba8cadd49783bc4230826f
4
+ data.tar.gz: 7d7434eebc074e2499b98be6afec242c742df7f3ecac18d89314d49f61600f6d
5
5
  SHA512:
6
- metadata.gz: b8b1f63cccc6c0934a2e9d676d578c3f0d8ccca39837e17854390ed9f49028dbd987d695a442b09c0b2d624ded3b91ef8018d66b82dd19e13222b52b1175f4cb
7
- data.tar.gz: e04023c711e53b64fc5a14e44fb05c96437ced43e27513dae5e7bf372f90142f10cb85ce4ac0ab16fc4276e962373496fd8a63e2e2a6a00ae58ed76793e70b3e
6
+ metadata.gz: 7ec0fd5d4c30059ae040d407e6040a22603c3a6b64591912a913590e592c458c149f6bc95f8bf00f05496fa1e4d70c3f099b208a1b0d4d10e5a3d7aa4c7bec90
7
+ data.tar.gz: 067b2b61f02d4d04e923be0a1060b371ed2d67dee0d9e56338805d0570979429357616b370ecce45d95160658ebdbb72f39162a3a149c40d9a6e43cabd2228b9
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.15.0 (2022-07-26)
5
+ ------------------
6
+
7
+ * Feature - This release introduces support for the automatic scaling of inference units used by Amazon Lookout for Vision models.
8
+
4
9
  1.14.0 (2022-02-24)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.14.0
1
+ 1.15.0
@@ -885,6 +885,8 @@ module Aws::LookoutforVision
885
885
  # resp.model_description.evaluation_result.key #=> String
886
886
  # resp.model_description.evaluation_end_timestamp #=> Time
887
887
  # resp.model_description.kms_key_id #=> String
888
+ # resp.model_description.min_inference_units #=> Integer
889
+ # resp.model_description.max_inference_units #=> Integer
888
890
  #
889
891
  # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/DescribeModel AWS API Documentation
890
892
  #
@@ -1267,7 +1269,8 @@ module Aws::LookoutforVision
1267
1269
  req.send_request(options)
1268
1270
  end
1269
1271
 
1270
- # Lists the Amazon Lookout for Vision projects in your AWS account.
1272
+ # Lists the Amazon Lookout for Vision projects in your AWS account that
1273
+ # are in the AWS Region in which you call `ListProjects`.
1271
1274
  #
1272
1275
  # The `ListProjects` operation is eventually consistent. Recent calls to
1273
1276
  # `CreateProject` and `DeleteProject` might take a while to appear in
@@ -1404,6 +1407,11 @@ module Aws::LookoutforVision
1404
1407
  # **A suitable default value is auto-generated.** You should normally
1405
1408
  # not need to pass this option.**
1406
1409
  #
1410
+ # @option params [Integer] :max_inference_units
1411
+ # The maximum number of inference units to use for auto-scaling the
1412
+ # model. If you don't specify a value, Amazon Lookout for Vision
1413
+ # doesn't auto-scale the model.
1414
+ #
1407
1415
  # @return [Types::StartModelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1408
1416
  #
1409
1417
  # * {Types::StartModelResponse#status #status} => String
@@ -1415,6 +1423,7 @@ module Aws::LookoutforVision
1415
1423
  # model_version: "ModelVersion", # required
1416
1424
  # min_inference_units: 1, # required
1417
1425
  # client_token: "ClientToken",
1426
+ # max_inference_units: 1,
1418
1427
  # })
1419
1428
  #
1420
1429
  # @example Response structure
@@ -1777,7 +1786,7 @@ module Aws::LookoutforVision
1777
1786
  params: params,
1778
1787
  config: config)
1779
1788
  context[:gem_name] = 'aws-sdk-lookoutforvision'
1780
- context[:gem_version] = '1.14.0'
1789
+ context[:gem_version] = '1.15.0'
1781
1790
  Seahorse::Client::Request.new(handlers, context)
1782
1791
  end
1783
1792
 
@@ -366,6 +366,8 @@ module Aws::LookoutforVision
366
366
  ModelDescription.add_member(:evaluation_result, Shapes::ShapeRef.new(shape: OutputS3Object, location_name: "EvaluationResult"))
367
367
  ModelDescription.add_member(:evaluation_end_timestamp, Shapes::ShapeRef.new(shape: DateTime, location_name: "EvaluationEndTimestamp"))
368
368
  ModelDescription.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
369
+ ModelDescription.add_member(:min_inference_units, Shapes::ShapeRef.new(shape: InferenceUnits, location_name: "MinInferenceUnits"))
370
+ ModelDescription.add_member(:max_inference_units, Shapes::ShapeRef.new(shape: InferenceUnits, location_name: "MaxInferenceUnits"))
369
371
  ModelDescription.struct_class = Types::ModelDescription
370
372
 
371
373
  ModelMetadata.add_member(:creation_timestamp, Shapes::ShapeRef.new(shape: DateTime, location_name: "CreationTimestamp"))
@@ -467,6 +469,7 @@ module Aws::LookoutforVision
467
469
  StartModelRequest.add_member(:model_version, Shapes::ShapeRef.new(shape: ModelVersion, required: true, location: "uri", location_name: "modelVersion"))
468
470
  StartModelRequest.add_member(:min_inference_units, Shapes::ShapeRef.new(shape: InferenceUnits, required: true, location_name: "MinInferenceUnits"))
469
471
  StartModelRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "header", location_name: "X-Amzn-Client-Token", metadata: {"idempotencyToken"=>true}))
472
+ StartModelRequest.add_member(:max_inference_units, Shapes::ShapeRef.new(shape: InferenceUnits, location_name: "MaxInferenceUnits"))
470
473
  StartModelRequest.struct_class = Types::StartModelRequest
471
474
 
472
475
  StartModelResponse.add_member(:status, Shapes::ShapeRef.new(shape: ModelHostingStatus, location_name: "Status"))
@@ -1380,6 +1380,16 @@ module Aws::LookoutforVision
1380
1380
  # was used to encrypt the model during training.
1381
1381
  # @return [String]
1382
1382
  #
1383
+ # @!attribute [rw] min_inference_units
1384
+ # The minimum number of inference units used by the model. For more
1385
+ # information, see StartModel
1386
+ # @return [Integer]
1387
+ #
1388
+ # @!attribute [rw] max_inference_units
1389
+ # The maximum number of inference units Amazon Lookout for Vision uses
1390
+ # to auto-scale the model. For more information, see StartModel.
1391
+ # @return [Integer]
1392
+ #
1383
1393
  # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/ModelDescription AWS API Documentation
1384
1394
  #
1385
1395
  class ModelDescription < Struct.new(
@@ -1394,7 +1404,9 @@ module Aws::LookoutforVision
1394
1404
  :evaluation_manifest,
1395
1405
  :evaluation_result,
1396
1406
  :evaluation_end_timestamp,
1397
- :kms_key_id)
1407
+ :kms_key_id,
1408
+ :min_inference_units,
1409
+ :max_inference_units)
1398
1410
  SENSITIVE = []
1399
1411
  include Aws::Structure
1400
1412
  end
@@ -1961,6 +1973,7 @@ module Aws::LookoutforVision
1961
1973
  # model_version: "ModelVersion", # required
1962
1974
  # min_inference_units: 1, # required
1963
1975
  # client_token: "ClientToken",
1976
+ # max_inference_units: 1,
1964
1977
  # }
1965
1978
  #
1966
1979
  # @!attribute [rw] project_name
@@ -2000,13 +2013,20 @@ module Aws::LookoutforVision
2000
2013
  # not need to pass this option.
2001
2014
  # @return [String]
2002
2015
  #
2016
+ # @!attribute [rw] max_inference_units
2017
+ # The maximum number of inference units to use for auto-scaling the
2018
+ # model. If you don't specify a value, Amazon Lookout for Vision
2019
+ # doesn't auto-scale the model.
2020
+ # @return [Integer]
2021
+ #
2003
2022
  # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/StartModelRequest AWS API Documentation
2004
2023
  #
2005
2024
  class StartModelRequest < Struct.new(
2006
2025
  :project_name,
2007
2026
  :model_version,
2008
2027
  :min_inference_units,
2009
- :client_token)
2028
+ :client_token,
2029
+ :max_inference_units)
2010
2030
  SENSITIVE = []
2011
2031
  include Aws::Structure
2012
2032
  end
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-lookoutforvision/customizations'
48
48
  # @!group service
49
49
  module Aws::LookoutforVision
50
50
 
51
- GEM_VERSION = '1.14.0'
51
+ GEM_VERSION = '1.15.0'
52
52
 
53
53
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-lookoutforvision
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.14.0
4
+ version: 1.15.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-02-24 00:00:00.000000000 Z
11
+ date: 2022-07-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core