aws-sdk-lookoutforvision 1.12.0 → 1.15.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 +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lookoutforvision/client.rb +15 -4
- data/lib/aws-sdk-lookoutforvision/client_api.rb +4 -1
- data/lib/aws-sdk-lookoutforvision/types.rb +28 -6
- data/lib/aws-sdk-lookoutforvision.rb +1 -1
- 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: 1b85b666e9666266e00f26ee190f05ed419d177d77ba8cadd49783bc4230826f
|
4
|
+
data.tar.gz: 7d7434eebc074e2499b98be6afec242c742df7f3ecac18d89314d49f61600f6d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ec0fd5d4c30059ae040d407e6040a22603c3a6b64591912a913590e592c458c149f6bc95f8bf00f05496fa1e4d70c3f099b208a1b0d4d10e5a3d7aa4c7bec90
|
7
|
+
data.tar.gz: 067b2b61f02d4d04e923be0a1060b371ed2d67dee0d9e56338805d0570979429357616b370ecce45d95160658ebdbb72f39162a3a149c40d9a6e43cabd2228b9
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,21 @@
|
|
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
|
+
|
9
|
+
1.14.0 (2022-02-24)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.13.0 (2022-02-10)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - This release makes CompilerOptions in Lookout for Vision's StartModelPackagingJob's Configuration object optional.
|
18
|
+
|
4
19
|
1.12.0 (2022-02-03)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.15.0
|
@@ -27,6 +27,7 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
27
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
|
+
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
30
31
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
31
32
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
32
33
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
@@ -75,6 +76,7 @@ module Aws::LookoutforVision
|
|
75
76
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
76
77
|
add_plugin(Aws::Plugins::TransferEncoding)
|
77
78
|
add_plugin(Aws::Plugins::HttpChecksum)
|
79
|
+
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
78
80
|
add_plugin(Aws::Plugins::DefaultsMode)
|
79
81
|
add_plugin(Aws::Plugins::RecursionDetection)
|
80
82
|
add_plugin(Aws::Plugins::SignatureV4)
|
@@ -883,6 +885,8 @@ module Aws::LookoutforVision
|
|
883
885
|
# resp.model_description.evaluation_result.key #=> String
|
884
886
|
# resp.model_description.evaluation_end_timestamp #=> Time
|
885
887
|
# resp.model_description.kms_key_id #=> String
|
888
|
+
# resp.model_description.min_inference_units #=> Integer
|
889
|
+
# resp.model_description.max_inference_units #=> Integer
|
886
890
|
#
|
887
891
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/DescribeModel AWS API Documentation
|
888
892
|
#
|
@@ -1265,7 +1269,8 @@ module Aws::LookoutforVision
|
|
1265
1269
|
req.send_request(options)
|
1266
1270
|
end
|
1267
1271
|
|
1268
|
-
# 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`.
|
1269
1274
|
#
|
1270
1275
|
# The `ListProjects` operation is eventually consistent. Recent calls to
|
1271
1276
|
# `CreateProject` and `DeleteProject` might take a while to appear in
|
@@ -1402,6 +1407,11 @@ module Aws::LookoutforVision
|
|
1402
1407
|
# **A suitable default value is auto-generated.** You should normally
|
1403
1408
|
# not need to pass this option.**
|
1404
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
|
+
#
|
1405
1415
|
# @return [Types::StartModelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1406
1416
|
#
|
1407
1417
|
# * {Types::StartModelResponse#status #status} => String
|
@@ -1413,6 +1423,7 @@ module Aws::LookoutforVision
|
|
1413
1423
|
# model_version: "ModelVersion", # required
|
1414
1424
|
# min_inference_units: 1, # required
|
1415
1425
|
# client_token: "ClientToken",
|
1426
|
+
# max_inference_units: 1,
|
1416
1427
|
# })
|
1417
1428
|
#
|
1418
1429
|
# @example Response structure
|
@@ -1443,7 +1454,7 @@ module Aws::LookoutforVision
|
|
1443
1454
|
#
|
1444
1455
|
# This operation requires the following permissions:
|
1445
1456
|
#
|
1446
|
-
# * `lookoutvision:
|
1457
|
+
# * `lookoutvision:StartModelPackagingJob`
|
1447
1458
|
#
|
1448
1459
|
# * `s3:PutObject`
|
1449
1460
|
#
|
@@ -1513,7 +1524,7 @@ module Aws::LookoutforVision
|
|
1513
1524
|
# job_name: "ModelPackagingJobName",
|
1514
1525
|
# configuration: { # required
|
1515
1526
|
# greengrass: { # required
|
1516
|
-
# compiler_options: "CompilerOptions",
|
1527
|
+
# compiler_options: "CompilerOptions",
|
1517
1528
|
# target_device: "jetson_xavier", # accepts jetson_xavier
|
1518
1529
|
# target_platform: {
|
1519
1530
|
# os: "LINUX", # required, accepts LINUX
|
@@ -1775,7 +1786,7 @@ module Aws::LookoutforVision
|
|
1775
1786
|
params: params,
|
1776
1787
|
config: config)
|
1777
1788
|
context[:gem_name] = 'aws-sdk-lookoutforvision'
|
1778
|
-
context[:gem_version] = '1.
|
1789
|
+
context[:gem_version] = '1.15.0'
|
1779
1790
|
Seahorse::Client::Request.new(handlers, context)
|
1780
1791
|
end
|
1781
1792
|
|
@@ -280,7 +280,7 @@ module Aws::LookoutforVision
|
|
280
280
|
DetectAnomalyResult.add_member(:confidence, Shapes::ShapeRef.new(shape: Float, location_name: "Confidence"))
|
281
281
|
DetectAnomalyResult.struct_class = Types::DetectAnomalyResult
|
282
282
|
|
283
|
-
GreengrassConfiguration.add_member(:compiler_options, Shapes::ShapeRef.new(shape: CompilerOptions,
|
283
|
+
GreengrassConfiguration.add_member(:compiler_options, Shapes::ShapeRef.new(shape: CompilerOptions, location_name: "CompilerOptions"))
|
284
284
|
GreengrassConfiguration.add_member(:target_device, Shapes::ShapeRef.new(shape: TargetDevice, location_name: "TargetDevice"))
|
285
285
|
GreengrassConfiguration.add_member(:target_platform, Shapes::ShapeRef.new(shape: TargetPlatform, location_name: "TargetPlatform"))
|
286
286
|
GreengrassConfiguration.add_member(:s3_output_location, Shapes::ShapeRef.new(shape: S3Location, required: true, location_name: "S3OutputLocation"))
|
@@ -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"))
|
@@ -852,7 +852,7 @@ module Aws::LookoutforVision
|
|
852
852
|
# data as a hash:
|
853
853
|
#
|
854
854
|
# {
|
855
|
-
# compiler_options: "CompilerOptions",
|
855
|
+
# compiler_options: "CompilerOptions",
|
856
856
|
# target_device: "jetson_xavier", # accepts jetson_xavier
|
857
857
|
# target_platform: {
|
858
858
|
# os: "LINUX", # required, accepts LINUX
|
@@ -876,7 +876,9 @@ module Aws::LookoutforVision
|
|
876
876
|
#
|
877
877
|
# @!attribute [rw] compiler_options
|
878
878
|
# Additional compiler options for the Greengrass component. Currently,
|
879
|
-
# only NVIDIA Graphics Processing Units (GPU) are supported.
|
879
|
+
# only NVIDIA Graphics Processing Units (GPU) are supported. If you
|
880
|
+
# specify `TargetPlatform`, you must specify `CompilerOptions`. If you
|
881
|
+
# specify `TargetDevice`, don't specify `CompilerOptions`.
|
880
882
|
#
|
881
883
|
# For more information, see *Compiler options* in the Amazon Lookout
|
882
884
|
# for Vision Developer Guide.
|
@@ -1378,6 +1380,16 @@ module Aws::LookoutforVision
|
|
1378
1380
|
# was used to encrypt the model during training.
|
1379
1381
|
# @return [String]
|
1380
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
|
+
#
|
1381
1393
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/ModelDescription AWS API Documentation
|
1382
1394
|
#
|
1383
1395
|
class ModelDescription < Struct.new(
|
@@ -1392,7 +1404,9 @@ module Aws::LookoutforVision
|
|
1392
1404
|
:evaluation_manifest,
|
1393
1405
|
:evaluation_result,
|
1394
1406
|
:evaluation_end_timestamp,
|
1395
|
-
:kms_key_id
|
1407
|
+
:kms_key_id,
|
1408
|
+
:min_inference_units,
|
1409
|
+
:max_inference_units)
|
1396
1410
|
SENSITIVE = []
|
1397
1411
|
include Aws::Structure
|
1398
1412
|
end
|
@@ -1450,7 +1464,7 @@ module Aws::LookoutforVision
|
|
1450
1464
|
#
|
1451
1465
|
# {
|
1452
1466
|
# greengrass: { # required
|
1453
|
-
# compiler_options: "CompilerOptions",
|
1467
|
+
# compiler_options: "CompilerOptions",
|
1454
1468
|
# target_device: "jetson_xavier", # accepts jetson_xavier
|
1455
1469
|
# target_platform: {
|
1456
1470
|
# os: "LINUX", # required, accepts LINUX
|
@@ -1853,7 +1867,7 @@ module Aws::LookoutforVision
|
|
1853
1867
|
# job_name: "ModelPackagingJobName",
|
1854
1868
|
# configuration: { # required
|
1855
1869
|
# greengrass: { # required
|
1856
|
-
# compiler_options: "CompilerOptions",
|
1870
|
+
# compiler_options: "CompilerOptions",
|
1857
1871
|
# target_device: "jetson_xavier", # accepts jetson_xavier
|
1858
1872
|
# target_platform: {
|
1859
1873
|
# os: "LINUX", # required, accepts LINUX
|
@@ -1959,6 +1973,7 @@ module Aws::LookoutforVision
|
|
1959
1973
|
# model_version: "ModelVersion", # required
|
1960
1974
|
# min_inference_units: 1, # required
|
1961
1975
|
# client_token: "ClientToken",
|
1976
|
+
# max_inference_units: 1,
|
1962
1977
|
# }
|
1963
1978
|
#
|
1964
1979
|
# @!attribute [rw] project_name
|
@@ -1998,13 +2013,20 @@ module Aws::LookoutforVision
|
|
1998
2013
|
# not need to pass this option.
|
1999
2014
|
# @return [String]
|
2000
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
|
+
#
|
2001
2022
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/StartModelRequest AWS API Documentation
|
2002
2023
|
#
|
2003
2024
|
class StartModelRequest < Struct.new(
|
2004
2025
|
:project_name,
|
2005
2026
|
:model_version,
|
2006
2027
|
:min_inference_units,
|
2007
|
-
:client_token
|
2028
|
+
:client_token,
|
2029
|
+
:max_inference_units)
|
2008
2030
|
SENSITIVE = []
|
2009
2031
|
include Aws::Structure
|
2010
2032
|
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.
|
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-
|
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
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.127.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.127.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|