aws-sdk-rekognition 1.50.0 → 1.51.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: 10f8f92285c29318b052f243be8a1e66b51dd7f1bc57b08c2eba8fe379c4c033
4
- data.tar.gz: c0aba0745f7c50120cfc7f275aa6118d10a0965bb547c4a202a489c106944194
3
+ metadata.gz: 709460c698f273a75c1b14b0e2e2b6d6f492843c4b10dc26c994bfc59857095a
4
+ data.tar.gz: 442cded6750bd3b1db14e0f43148b982211be699715995a948900e0ea1d0aa14
5
5
  SHA512:
6
- metadata.gz: d64d71477d9e4130f2d146c5d98d201c763b0bf9a44661d2bfc8bb3afc5dca30ae4e01dacfd8d7051be98e974378f5106426037ba1704659e98ae91b52044297
7
- data.tar.gz: e6ab0a7c31298697f88fd1925e41208e12ab673e6d9d024df8aae88c6793b4d702522f1c228dd755f4a1e662924bd5a1125b78a0432b0aa4ff123ddf80547730
6
+ metadata.gz: f139ba6134b751e92ddb02b72217540671ea04904bab47ecc4ed77b2ff434de96ae775686e82e345c33ebab7681e867732a0fa37f1e27a7471e2f2e1f1ba9a20
7
+ data.tar.gz: 58ae5f48bc2a2cad7569200a2ee401fe933c2a67b2cb0f24dedef2db3a7bfb4d4040c5d36725b34f75cbbbf8fd0299bbc9c6dcc13d5cdc39c846b52f16e843be
data/CHANGELOG.md CHANGED
@@ -1,10 +1,15 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.51.0 (2021-05-19)
5
+ ------------------
6
+
7
+ * Feature - Amazon Rekognition Custom Labels adds support for customer managed encryption, using AWS Key Management Service, of image files copied into the service and files written back to the customer.
8
+
4
9
  1.50.0 (2021-03-25)
5
10
  ------------------
6
11
 
7
- * Feature - "This release introduces AWS tagging support for Amazon Rekognition collections, stream processors, and Custom Label models."
12
+ * Feature - This release introduces AWS tagging support for Amazon Rekognition collections, stream processors, and Custom Label models.
8
13
 
9
14
  1.49.0 (2021-03-10)
10
15
  ------------------
@@ -340,4 +345,4 @@ Unreleased Changes
340
345
  1.0.0.rc2 (2016-12-09)
341
346
  ------------------
342
347
 
343
- * Feature - Initial release of `aws-sdk-rekognition`.
348
+ * Feature - Initial release of `aws-sdk-rekognition`.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.50.0
1
+ 1.51.0
@@ -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.50.0'
52
+ GEM_VERSION = '1.51.0'
53
53
 
54
54
  end
@@ -588,7 +588,9 @@ module Aws::Rekognition
588
588
  # </note>
589
589
  #
590
590
  # This operation requires permissions to perform the
591
- # `rekognition:CreateCollection` action.
591
+ # `rekognition:CreateCollection` action. If you want to tag your
592
+ # collection, you also require permission to perform the
593
+ # `rekognition:TagResource` operation.
592
594
  #
593
595
  # @option params [required, String] :collection_id
594
596
  # ID for the collection that you are creating.
@@ -708,6 +710,18 @@ module Aws::Rekognition
708
710
  # @option params [Hash<String,String>] :tags
709
711
  # A set of tags (key-value pairs) that you want to attach to the model.
710
712
  #
713
+ # @option params [String] :kms_key_id
714
+ # The identifier for your AWS Key Management Service (AWS KMS) customer
715
+ # master key (CMK). You can supply the Amazon Resource Name (ARN) of
716
+ # your CMK, the ID of your CMK, or an alias for your CMK. The key is
717
+ # used to encrypt training and test images copied into the service for
718
+ # model training. Your source images are unaffected. The key is also
719
+ # used to encrypt training results and manifest files written to the
720
+ # output Amazon S3 bucket (`OutputConfig`).
721
+ #
722
+ # If you don't specify a value for `KmsKeyId`, images copied into the
723
+ # service are encrypted using a key that AWS owns and manages.
724
+ #
711
725
  # @return [Types::CreateProjectVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
712
726
  #
713
727
  # * {Types::CreateProjectVersionResponse#project_version_arn #project_version_arn} => String
@@ -751,6 +765,7 @@ module Aws::Rekognition
751
765
  # tags: {
752
766
  # "TagKey" => "TagValue",
753
767
  # },
768
+ # kms_key_id: "KmsKeyId",
754
769
  # })
755
770
  #
756
771
  # @example Response structure
@@ -783,6 +798,11 @@ module Aws::Rekognition
783
798
  # StopStreamProcessor to stop processing. You can delete the stream
784
799
  # processor by calling DeleteStreamProcessor.
785
800
  #
801
+ # This operation requires permissions to perform the
802
+ # `rekognition:CreateStreamProcessor` action. If you want to tag your
803
+ # stream processor, you also require permission to perform the
804
+ # `rekognition:TagResource` operation.
805
+ #
786
806
  # @option params [required, Types::StreamProcessorInput] :input
787
807
  # Kinesis video stream stream that provides the source streaming video.
788
808
  # If you are using the AWS CLI, the parameter name is
@@ -1173,6 +1193,7 @@ module Aws::Rekognition
1173
1193
  # resp.project_version_descriptions[0].manifest_summary.s3_object.bucket #=> String
1174
1194
  # resp.project_version_descriptions[0].manifest_summary.s3_object.name #=> String
1175
1195
  # resp.project_version_descriptions[0].manifest_summary.s3_object.version #=> String
1196
+ # resp.project_version_descriptions[0].kms_key_id #=> String
1176
1197
  # resp.next_token #=> String
1177
1198
  #
1178
1199
  #
@@ -3815,6 +3836,9 @@ module Aws::Rekognition
3815
3836
  # Returns a list of tags in an Amazon Rekognition collection, stream
3816
3837
  # processor, or Custom Labels model.
3817
3838
  #
3839
+ # This operation requires permissions to perform the
3840
+ # `rekognition:ListTagsForResource` action.
3841
+ #
3818
3842
  # @option params [required, String] :resource_arn
3819
3843
  # Amazon Resource Name (ARN) of the model, collection, or stream
3820
3844
  # processor that contains the tags that you want a list of.
@@ -4117,6 +4141,9 @@ module Aws::Rekognition
4117
4141
  # bounding box contains a face) of the face that Amazon Rekognition used
4118
4142
  # for the input image.
4119
4143
  #
4144
+ # If no faces are detected in the input image, `SearchFacesByImage`
4145
+ # returns an `InvalidParameterException` error.
4146
+ #
4120
4147
  # For an example, Searching for a Face Using an Image in the Amazon
4121
4148
  # Rekognition Developer Guide.
4122
4149
  #
@@ -5049,6 +5076,9 @@ module Aws::Rekognition
5049
5076
  # stream processor, or Custom Labels model. For more information, see
5050
5077
  # [Tagging AWS Resources][1].
5051
5078
  #
5079
+ # This operation requires permissions to perform the
5080
+ # `rekognition:TagResource` action.
5081
+ #
5052
5082
  #
5053
5083
  #
5054
5084
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
@@ -5081,6 +5111,9 @@ module Aws::Rekognition
5081
5111
  # Removes one or more tags from an Amazon Rekognition collection, stream
5082
5112
  # processor, or Custom Labels model.
5083
5113
  #
5114
+ # This operation requires permissions to perform the
5115
+ # `rekognition:UntagResource` action.
5116
+ #
5084
5117
  # @option params [required, String] :resource_arn
5085
5118
  # Amazon Resource Name (ARN) of the model, collection, or stream
5086
5119
  # processor that you want to remove the tags from.
@@ -5117,7 +5150,7 @@ module Aws::Rekognition
5117
5150
  params: params,
5118
5151
  config: config)
5119
5152
  context[:gem_name] = 'aws-sdk-rekognition'
5120
- context[:gem_version] = '1.50.0'
5153
+ context[:gem_version] = '1.51.0'
5121
5154
  Seahorse::Client::Request.new(handlers, context)
5122
5155
  end
5123
5156
 
@@ -176,6 +176,7 @@ module Aws::Rekognition
176
176
  KinesisDataStream = Shapes::StructureShape.new(name: 'KinesisDataStream')
177
177
  KinesisVideoArn = Shapes::StringShape.new(name: 'KinesisVideoArn')
178
178
  KinesisVideoStream = Shapes::StructureShape.new(name: 'KinesisVideoStream')
179
+ KmsKeyId = Shapes::StringShape.new(name: 'KmsKeyId')
179
180
  Label = Shapes::StructureShape.new(name: 'Label')
180
181
  LabelDetection = Shapes::StructureShape.new(name: 'LabelDetection')
181
182
  LabelDetectionSortBy = Shapes::StringShape.new(name: 'LabelDetectionSortBy')
@@ -474,6 +475,7 @@ module Aws::Rekognition
474
475
  CreateProjectVersionRequest.add_member(:training_data, Shapes::ShapeRef.new(shape: TrainingData, required: true, location_name: "TrainingData"))
475
476
  CreateProjectVersionRequest.add_member(:testing_data, Shapes::ShapeRef.new(shape: TestingData, required: true, location_name: "TestingData"))
476
477
  CreateProjectVersionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
478
+ CreateProjectVersionRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
477
479
  CreateProjectVersionRequest.struct_class = Types::CreateProjectVersionRequest
478
480
 
479
481
  CreateProjectVersionResponse.add_member(:project_version_arn, Shapes::ShapeRef.new(shape: ProjectVersionArn, location_name: "ProjectVersionArn"))
@@ -1036,6 +1038,7 @@ module Aws::Rekognition
1036
1038
  ProjectVersionDescription.add_member(:testing_data_result, Shapes::ShapeRef.new(shape: TestingDataResult, location_name: "TestingDataResult"))
1037
1039
  ProjectVersionDescription.add_member(:evaluation_result, Shapes::ShapeRef.new(shape: EvaluationResult, location_name: "EvaluationResult"))
1038
1040
  ProjectVersionDescription.add_member(:manifest_summary, Shapes::ShapeRef.new(shape: GroundTruthManifest, location_name: "ManifestSummary"))
1041
+ ProjectVersionDescription.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
1039
1042
  ProjectVersionDescription.struct_class = Types::ProjectVersionDescription
1040
1043
 
1041
1044
  ProjectVersionDescriptions.member = Shapes::ShapeRef.new(shape: ProjectVersionDescription)
@@ -636,6 +636,7 @@ module Aws::Rekognition
636
636
  # tags: {
637
637
  # "TagKey" => "TagValue",
638
638
  # },
639
+ # kms_key_id: "KmsKeyId",
639
640
  # }
640
641
  #
641
642
  # @!attribute [rw] project_arn
@@ -664,13 +665,27 @@ module Aws::Rekognition
664
665
  # model.
665
666
  # @return [Hash<String,String>]
666
667
  #
668
+ # @!attribute [rw] kms_key_id
669
+ # The identifier for your AWS Key Management Service (AWS KMS)
670
+ # customer master key (CMK). You can supply the Amazon Resource Name
671
+ # (ARN) of your CMK, the ID of your CMK, or an alias for your CMK. The
672
+ # key is used to encrypt training and test images copied into the
673
+ # service for model training. Your source images are unaffected. The
674
+ # key is also used to encrypt training results and manifest files
675
+ # written to the output Amazon S3 bucket (`OutputConfig`).
676
+ #
677
+ # If you don't specify a value for `KmsKeyId`, images copied into the
678
+ # service are encrypted using a key that AWS owns and manages.
679
+ # @return [String]
680
+ #
667
681
  class CreateProjectVersionRequest < Struct.new(
668
682
  :project_arn,
669
683
  :version_name,
670
684
  :output_config,
671
685
  :training_data,
672
686
  :testing_data,
673
- :tags)
687
+ :tags,
688
+ :kms_key_id)
674
689
  SENSITIVE = []
675
690
  include Aws::Structure
676
691
  end
@@ -3889,6 +3904,11 @@ module Aws::Rekognition
3889
3904
  # datasets.
3890
3905
  # @return [Types::GroundTruthManifest]
3891
3906
  #
3907
+ # @!attribute [rw] kms_key_id
3908
+ # The identifer for the AWS Key Management Service (AWS KMS) customer
3909
+ # master key that was used to encrypt the model during training.
3910
+ # @return [String]
3911
+ #
3892
3912
  class ProjectVersionDescription < Struct.new(
3893
3913
  :project_version_arn,
3894
3914
  :creation_timestamp,
@@ -3901,7 +3921,8 @@ module Aws::Rekognition
3901
3921
  :training_data_result,
3902
3922
  :testing_data_result,
3903
3923
  :evaluation_result,
3904
- :manifest_summary)
3924
+ :manifest_summary,
3925
+ :kms_key_id)
3905
3926
  SENSITIVE = []
3906
3927
  include Aws::Structure
3907
3928
  end
@@ -4158,7 +4179,7 @@ module Aws::Rekognition
4158
4179
  include Aws::Structure
4159
4180
  end
4160
4181
 
4161
- # A collection with the specified ID already exists.
4182
+ # A resource with the specified ID already exists.
4162
4183
  #
4163
4184
  class ResourceAlreadyExistsException < Aws::EmptyStructure; end
4164
4185
 
@@ -4166,7 +4187,7 @@ module Aws::Rekognition
4166
4187
  #
4167
4188
  class ResourceInUseException < Aws::EmptyStructure; end
4168
4189
 
4169
- # The collection specified in the request cannot be found.
4190
+ # The resource specified in the request cannot be found.
4170
4191
  #
4171
4192
  class ResourceNotFoundException < Aws::EmptyStructure; end
4172
4193
 
@@ -4459,8 +4480,8 @@ module Aws::Rekognition
4459
4480
  include Aws::Structure
4460
4481
  end
4461
4482
 
4462
- # The size of the collection or tag list exceeds the allowed limit. For
4463
- # more information, see Limits in Amazon Rekognition in the Amazon
4483
+ # The size of the collection exceeds the allowed limit. For more
4484
+ # information, see Limits in Amazon Rekognition in the Amazon
4464
4485
  # Rekognition Developer Guide.
4465
4486
  #
4466
4487
  class ServiceQuotaExceededException < Aws::EmptyStructure; 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.50.0
4
+ version: 1.51.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: 2021-03-25 00:00:00.000000000 Z
11
+ date: 2021-05-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -84,8 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
84
84
  - !ruby/object:Gem::Version
85
85
  version: '0'
86
86
  requirements: []
87
- rubyforge_project:
88
- rubygems_version: 2.7.6.2
87
+ rubygems_version: 3.1.6
89
88
  signing_key:
90
89
  specification_version: 4
91
90
  summary: AWS SDK for Ruby - Amazon Rekognition