aws-sdk-rekognition 1.68.0 → 1.69.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 77fa49261c6b4a5d979deb57fe71c6050ced87d6dc4969c109e69d1e8a87d756
4
- data.tar.gz: a0b9505b507c579897359610488f0cd55b696721793793d7b66d20e752017997
3
+ metadata.gz: c18f35079e645c8c14ba246ba76f0d1eb862b205192d586c1a0c4bc306376a4f
4
+ data.tar.gz: 6e3bc7e3aeabde379f20eeeee5804c9fd3bcd5c58048e359e10a8fb3321a9622
5
5
  SHA512:
6
- metadata.gz: d637bb63956ad7a33cbe53e7c096eb0c23bbff5924b6a77109bea43f7845c71dbedf58560b06edf9cc6160ca6b97617e8792e4676b5277bc236ff831c2f5c0a9
7
- data.tar.gz: 863f592bccc9a6d923db2f5ddb3f5c0bec1e459b317aa7dcc65c16384dbfc083096ce733f50f8c69ea0fae0a949a2ecdc72cd08f0490feca8350347855f053c1
6
+ metadata.gz: 26aa60c7d490065be88643d7870384ffe4650545385d9f951fc5dce97bc30d67c2db7b3e8f2a356bf9aa0896e5dfd1755787edcddcbdff8129e6063a63782764
7
+ data.tar.gz: 9cce0427913d4f6db324ba298a4cefea78f5c2e3e4a4457b5984db659a77d62ef2661a7ac6898c505fb7f32cb1f4072f67906a021fa833c598be261baf97b906
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.69.0 (2022-07-26)
5
+ ------------------
6
+
7
+ * Feature - This release introduces support for the automatic scaling of inference units used by Amazon Rekognition Custom Labels models.
8
+
4
9
  1.68.0 (2022-05-16)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.68.0
1
+ 1.69.0
@@ -1031,9 +1031,10 @@ module Aws::Rekognition
1031
1031
  #
1032
1032
  # @option params [Array<Types::RegionOfInterest>] :regions_of_interest
1033
1033
  # Specifies locations in the frames where Amazon Rekognition checks for
1034
- # objects or people. You can specify up to 10 regions of interest. This
1035
- # is an optional parameter for label detection stream processors and
1036
- # should not be used to create a face search stream processor.
1034
+ # objects or people. You can specify up to 10 regions of interest, and
1035
+ # each region has either a polygon or a bounding box. This is an
1036
+ # optional parameter for label detection stream processors and should
1037
+ # not be used to create a face search stream processor.
1037
1038
  #
1038
1039
  # @option params [Types::StreamProcessorDataSharingPreference] :data_sharing_preference
1039
1040
  # Shows whether you are sharing data with Rekognition to improve model
@@ -1515,6 +1516,7 @@ module Aws::Rekognition
1515
1516
  # resp.project_version_descriptions[0].manifest_summary.s3_object.name #=> String
1516
1517
  # resp.project_version_descriptions[0].manifest_summary.s3_object.version #=> String
1517
1518
  # resp.project_version_descriptions[0].kms_key_id #=> String
1519
+ # resp.project_version_descriptions[0].max_inference_units #=> Integer
1518
1520
  # resp.next_token #=> String
1519
1521
  #
1520
1522
  #
@@ -5401,6 +5403,9 @@ module Aws::Rekognition
5401
5403
  #
5402
5404
  # </note>
5403
5405
  #
5406
+ # For more information, see *Running a trained Amazon Rekognition Custom
5407
+ # Labels model* in the Amazon Rekognition Custom Labels Guide.
5408
+ #
5404
5409
  # This operation requires permissions to perform the
5405
5410
  # `rekognition:StartProjectVersion` action.
5406
5411
  #
@@ -5410,10 +5415,20 @@ module Aws::Rekognition
5410
5415
  #
5411
5416
  # @option params [required, Integer] :min_inference_units
5412
5417
  # The minimum number of inference units to use. A single inference unit
5413
- # represents 1 hour of processing and can support up to 5 Transaction
5414
- # Pers Second (TPS). Use a higher number to increase the TPS throughput
5415
- # of your model. You are charged for the number of inference units that
5416
- # you use.
5418
+ # represents 1 hour of processing.
5419
+ #
5420
+ # For information about the number of transactions per second (TPS) that
5421
+ # an inference unit can support, see *Running a trained Amazon
5422
+ # Rekognition Custom Labels model* in the Amazon Rekognition Custom
5423
+ # Labels Guide.
5424
+ #
5425
+ # Use a higher number to increase the TPS throughput of your model. You
5426
+ # are charged for the number of inference units that you use.
5427
+ #
5428
+ # @option params [Integer] :max_inference_units
5429
+ # The maximum number of inference units to use for auto-scaling the
5430
+ # model. If you don't specify a value, Amazon Rekognition Custom Labels
5431
+ # doesn't auto-scale the model.
5417
5432
  #
5418
5433
  # @return [Types::StartProjectVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5419
5434
  #
@@ -5424,6 +5439,7 @@ module Aws::Rekognition
5424
5439
  # resp = client.start_project_version({
5425
5440
  # project_version_arn: "ProjectVersionArn", # required
5426
5441
  # min_inference_units: 1, # required
5442
+ # max_inference_units: 1,
5427
5443
  # })
5428
5444
  #
5429
5445
  # @example Response structure
@@ -5960,7 +5976,7 @@ module Aws::Rekognition
5960
5976
  params: params,
5961
5977
  config: config)
5962
5978
  context[:gem_name] = 'aws-sdk-rekognition'
5963
- context[:gem_version] = '1.68.0'
5979
+ context[:gem_version] = '1.69.0'
5964
5980
  Seahorse::Client::Request.new(handlers, context)
5965
5981
  end
5966
5982
 
@@ -1239,6 +1239,7 @@ module Aws::Rekognition
1239
1239
  ProjectVersionDescription.add_member(:evaluation_result, Shapes::ShapeRef.new(shape: EvaluationResult, location_name: "EvaluationResult"))
1240
1240
  ProjectVersionDescription.add_member(:manifest_summary, Shapes::ShapeRef.new(shape: GroundTruthManifest, location_name: "ManifestSummary"))
1241
1241
  ProjectVersionDescription.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
1242
+ ProjectVersionDescription.add_member(:max_inference_units, Shapes::ShapeRef.new(shape: InferenceUnits, location_name: "MaxInferenceUnits"))
1242
1243
  ProjectVersionDescription.struct_class = Types::ProjectVersionDescription
1243
1244
 
1244
1245
  ProjectVersionDescriptions.member = Shapes::ShapeRef.new(shape: ProjectVersionDescription)
@@ -1423,6 +1424,7 @@ module Aws::Rekognition
1423
1424
 
1424
1425
  StartProjectVersionRequest.add_member(:project_version_arn, Shapes::ShapeRef.new(shape: ProjectVersionArn, required: true, location_name: "ProjectVersionArn"))
1425
1426
  StartProjectVersionRequest.add_member(:min_inference_units, Shapes::ShapeRef.new(shape: InferenceUnits, required: true, location_name: "MinInferenceUnits"))
1427
+ StartProjectVersionRequest.add_member(:max_inference_units, Shapes::ShapeRef.new(shape: InferenceUnits, location_name: "MaxInferenceUnits"))
1426
1428
  StartProjectVersionRequest.struct_class = Types::StartProjectVersionRequest
1427
1429
 
1428
1430
  StartProjectVersionResponse.add_member(:status, Shapes::ShapeRef.new(shape: ProjectVersionStatus, location_name: "Status"))
@@ -1047,9 +1047,10 @@ module Aws::Rekognition
1047
1047
  #
1048
1048
  # @!attribute [rw] regions_of_interest
1049
1049
  # Specifies locations in the frames where Amazon Rekognition checks
1050
- # for objects or people. You can specify up to 10 regions of interest.
1051
- # This is an optional parameter for label detection stream processors
1052
- # and should not be used to create a face search stream processor.
1050
+ # for objects or people. You can specify up to 10 regions of interest,
1051
+ # and each region has either a polygon or a bounding box. This is an
1052
+ # optional parameter for label detection stream processors and should
1053
+ # not be used to create a face search stream processor.
1053
1054
  # @return [Array<Types::RegionOfInterest>]
1054
1055
  #
1055
1056
  # @!attribute [rw] data_sharing_preference
@@ -4823,6 +4824,12 @@ module Aws::Rekognition
4823
4824
  # that was used to encrypt the model during training.
4824
4825
  # @return [String]
4825
4826
  #
4827
+ # @!attribute [rw] max_inference_units
4828
+ # The maximum number of inference units Amazon Rekognition Custom
4829
+ # Labels uses to auto-scale the model. For more information, see
4830
+ # StartProjectVersion.
4831
+ # @return [Integer]
4832
+ #
4826
4833
  class ProjectVersionDescription < Struct.new(
4827
4834
  :project_version_arn,
4828
4835
  :creation_timestamp,
@@ -4836,7 +4843,8 @@ module Aws::Rekognition
4836
4843
  :testing_data_result,
4837
4844
  :evaluation_result,
4838
4845
  :manifest_summary,
4839
- :kms_key_id)
4846
+ :kms_key_id,
4847
+ :max_inference_units)
4840
4848
  SENSITIVE = []
4841
4849
  include Aws::Structure
4842
4850
  end
@@ -5075,7 +5083,7 @@ module Aws::Rekognition
5075
5083
 
5076
5084
  # Specifies a location within the frame that Rekognition checks for
5077
5085
  # objects of interest such as text, labels, or faces. It uses a
5078
- # `BoundingBox` or object or `Polygon` to set a region of the screen.
5086
+ # `BoundingBox` or `Polygon` to set a region of the screen.
5079
5087
  #
5080
5088
  # A word, face, or label is included in the region if it is more than
5081
5089
  # half in that region. If there is more than one region, the word, face,
@@ -5970,6 +5978,7 @@ module Aws::Rekognition
5970
5978
  # {
5971
5979
  # project_version_arn: "ProjectVersionArn", # required
5972
5980
  # min_inference_units: 1, # required
5981
+ # max_inference_units: 1,
5973
5982
  # }
5974
5983
  #
5975
5984
  # @!attribute [rw] project_version_arn
@@ -5979,15 +5988,27 @@ module Aws::Rekognition
5979
5988
  #
5980
5989
  # @!attribute [rw] min_inference_units
5981
5990
  # The minimum number of inference units to use. A single inference
5982
- # unit represents 1 hour of processing and can support up to 5
5983
- # Transaction Pers Second (TPS). Use a higher number to increase the
5984
- # TPS throughput of your model. You are charged for the number of
5985
- # inference units that you use.
5991
+ # unit represents 1 hour of processing.
5992
+ #
5993
+ # For information about the number of transactions per second (TPS)
5994
+ # that an inference unit can support, see *Running a trained Amazon
5995
+ # Rekognition Custom Labels model* in the Amazon Rekognition Custom
5996
+ # Labels Guide.
5997
+ #
5998
+ # Use a higher number to increase the TPS throughput of your model.
5999
+ # You are charged for the number of inference units that you use.
6000
+ # @return [Integer]
6001
+ #
6002
+ # @!attribute [rw] max_inference_units
6003
+ # The maximum number of inference units to use for auto-scaling the
6004
+ # model. If you don't specify a value, Amazon Rekognition Custom
6005
+ # Labels doesn't auto-scale the model.
5986
6006
  # @return [Integer]
5987
6007
  #
5988
6008
  class StartProjectVersionRequest < Struct.new(
5989
6009
  :project_version_arn,
5990
- :min_inference_units)
6010
+ :min_inference_units,
6011
+ :max_inference_units)
5991
6012
  SENSITIVE = []
5992
6013
  include Aws::Structure
5993
6014
  end
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-rekognition/customizations'
49
49
  # @!group service
50
50
  module Aws::Rekognition
51
51
 
52
- GEM_VERSION = '1.68.0'
52
+ GEM_VERSION = '1.69.0'
53
53
 
54
54
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-rekognition
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.68.0
4
+ version: 1.69.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-05-16 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