aws-sdk-rekognition 1.100.0 → 1.102.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-rekognition/client.rb +28 -1
- data/lib/aws-sdk-rekognition/client_api.rb +2 -0
- data/lib/aws-sdk-rekognition/types.rb +17 -4
- data/lib/aws-sdk-rekognition.rb +1 -1
- data/sig/client.rbs +5 -2
- data/sig/resource.rbs +1 -0
- data/sig/types.rbs +2 -0
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2942359b48ba8568cc8bbd3c73b73ad4e294ce54ad0227affcd1026bc4eadfbd
|
4
|
+
data.tar.gz: fffaebd8064c5c8656232afe5d41b1017b914bbc91957b727c71838ec294f84a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d07099a070920c7d553e8a589d1a94f41882abcd82385ab26ba45e725a0ead502c97f65c78ce9e32cee8d888ea026cc00aeec858f3bfb873b6776d61c595cfbc
|
7
|
+
data.tar.gz: 431408fe17d91dc72660a0f60d3e64d713873bba852c7f99ff4cb25165fcb27c335e2ca75841d00a177eabd2c0c19fc98b9a7919b1438e77494259d79445de79
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.102.0 (2024-07-03)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds support for tagging projects and datasets with the CreateProject and CreateDataset APIs.
|
8
|
+
|
9
|
+
1.101.0 (2024-07-02)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.100.0 (2024-06-25)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.102.0
|
@@ -312,6 +312,15 @@ module Aws::Rekognition
|
|
312
312
|
#
|
313
313
|
# @option options [String] :session_token
|
314
314
|
#
|
315
|
+
# @option options [Array] :sigv4a_signing_region_set
|
316
|
+
# A list of regions that should be signed with SigV4a signing. When
|
317
|
+
# not passed, a default `:sigv4a_signing_region_set` is searched for
|
318
|
+
# in the following locations:
|
319
|
+
#
|
320
|
+
# * `Aws.config[:sigv4a_signing_region_set]`
|
321
|
+
# * `ENV['AWS_SIGV4A_SIGNING_REGION_SET']`
|
322
|
+
# * `~/.aws/config`
|
323
|
+
#
|
315
324
|
# @option options [Boolean] :simple_json (false)
|
316
325
|
# Disables request parameter conversion, validation, and formatting.
|
317
326
|
# Also disables response data type conversions. The request parameters
|
@@ -1055,6 +1064,10 @@ module Aws::Rekognition
|
|
1055
1064
|
# The ARN of the Amazon Rekognition Custom Labels project to which you
|
1056
1065
|
# want to asssign the dataset.
|
1057
1066
|
#
|
1067
|
+
# @option params [Hash<String,String>] :tags
|
1068
|
+
# A set of tags (key-value pairs) that you want to attach to the
|
1069
|
+
# dataset.
|
1070
|
+
#
|
1058
1071
|
# @return [Types::CreateDatasetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1059
1072
|
#
|
1060
1073
|
# * {Types::CreateDatasetResponse#dataset_arn #dataset_arn} => String
|
@@ -1097,6 +1110,9 @@ module Aws::Rekognition
|
|
1097
1110
|
# },
|
1098
1111
|
# dataset_type: "TRAIN", # required, accepts TRAIN, TEST
|
1099
1112
|
# project_arn: "ProjectArn", # required
|
1113
|
+
# tags: {
|
1114
|
+
# "TagKey" => "TagValue",
|
1115
|
+
# },
|
1100
1116
|
# })
|
1101
1117
|
#
|
1102
1118
|
# @example Response structure
|
@@ -1190,6 +1206,10 @@ module Aws::Rekognition
|
|
1190
1206
|
# effort. Required argument for Content Moderation. Applicable only to
|
1191
1207
|
# adapters.
|
1192
1208
|
#
|
1209
|
+
# @option params [Hash<String,String>] :tags
|
1210
|
+
# A set of tags (key-value pairs) that you want to attach to the
|
1211
|
+
# project.
|
1212
|
+
#
|
1193
1213
|
# @return [Types::CreateProjectResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1194
1214
|
#
|
1195
1215
|
# * {Types::CreateProjectResponse#project_arn #project_arn} => String
|
@@ -1214,6 +1234,9 @@ module Aws::Rekognition
|
|
1214
1234
|
# project_name: "ProjectName", # required
|
1215
1235
|
# feature: "CONTENT_MODERATION", # accepts CONTENT_MODERATION, CUSTOM_LABELS
|
1216
1236
|
# auto_update: "ENABLED", # accepts ENABLED, DISABLED
|
1237
|
+
# tags: {
|
1238
|
+
# "TagKey" => "TagValue",
|
1239
|
+
# },
|
1217
1240
|
# })
|
1218
1241
|
#
|
1219
1242
|
# @example Response structure
|
@@ -4476,6 +4499,10 @@ module Aws::Rekognition
|
|
4476
4499
|
# with the token value returned from the previous call to
|
4477
4500
|
# `GetLabelDetection`.
|
4478
4501
|
#
|
4502
|
+
# If you are retrieving results while using the Amazon Simple
|
4503
|
+
# Notification Service, note that you will receive an "ERROR"
|
4504
|
+
# notification if the job encounters an issue.
|
4505
|
+
#
|
4479
4506
|
# @option params [required, String] :job_id
|
4480
4507
|
# Job identifier for the label detection operation for which you want
|
4481
4508
|
# results returned. You get the job identifer from an initial call to
|
@@ -8405,7 +8432,7 @@ module Aws::Rekognition
|
|
8405
8432
|
params: params,
|
8406
8433
|
config: config)
|
8407
8434
|
context[:gem_name] = 'aws-sdk-rekognition'
|
8408
|
-
context[:gem_version] = '1.
|
8435
|
+
context[:gem_version] = '1.102.0'
|
8409
8436
|
Seahorse::Client::Request.new(handlers, context)
|
8410
8437
|
end
|
8411
8438
|
|
@@ -733,6 +733,7 @@ module Aws::Rekognition
|
|
733
733
|
CreateDatasetRequest.add_member(:dataset_source, Shapes::ShapeRef.new(shape: DatasetSource, location_name: "DatasetSource"))
|
734
734
|
CreateDatasetRequest.add_member(:dataset_type, Shapes::ShapeRef.new(shape: DatasetType, required: true, location_name: "DatasetType"))
|
735
735
|
CreateDatasetRequest.add_member(:project_arn, Shapes::ShapeRef.new(shape: ProjectArn, required: true, location_name: "ProjectArn"))
|
736
|
+
CreateDatasetRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
736
737
|
CreateDatasetRequest.struct_class = Types::CreateDatasetRequest
|
737
738
|
|
738
739
|
CreateDatasetResponse.add_member(:dataset_arn, Shapes::ShapeRef.new(shape: DatasetArn, location_name: "DatasetArn"))
|
@@ -753,6 +754,7 @@ module Aws::Rekognition
|
|
753
754
|
CreateProjectRequest.add_member(:project_name, Shapes::ShapeRef.new(shape: ProjectName, required: true, location_name: "ProjectName"))
|
754
755
|
CreateProjectRequest.add_member(:feature, Shapes::ShapeRef.new(shape: CustomizationFeature, location_name: "Feature"))
|
755
756
|
CreateProjectRequest.add_member(:auto_update, Shapes::ShapeRef.new(shape: ProjectAutoUpdate, location_name: "AutoUpdate"))
|
757
|
+
CreateProjectRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
756
758
|
CreateProjectRequest.struct_class = Types::CreateProjectRequest
|
757
759
|
|
758
760
|
CreateProjectResponse.add_member(:project_arn, Shapes::ShapeRef.new(shape: ProjectArn, location_name: "ProjectArn"))
|
@@ -903,10 +903,16 @@ module Aws::Rekognition
|
|
903
903
|
# want to asssign the dataset.
|
904
904
|
# @return [String]
|
905
905
|
#
|
906
|
+
# @!attribute [rw] tags
|
907
|
+
# A set of tags (key-value pairs) that you want to attach to the
|
908
|
+
# dataset.
|
909
|
+
# @return [Hash<String,String>]
|
910
|
+
#
|
906
911
|
class CreateDatasetRequest < Struct.new(
|
907
912
|
:dataset_source,
|
908
913
|
:dataset_type,
|
909
|
-
:project_arn
|
914
|
+
:project_arn,
|
915
|
+
:tags)
|
910
916
|
SENSITIVE = []
|
911
917
|
include Aws::Structure
|
912
918
|
end
|
@@ -1006,10 +1012,16 @@ module Aws::Rekognition
|
|
1006
1012
|
# adapters.
|
1007
1013
|
# @return [String]
|
1008
1014
|
#
|
1015
|
+
# @!attribute [rw] tags
|
1016
|
+
# A set of tags (key-value pairs) that you want to attach to the
|
1017
|
+
# project.
|
1018
|
+
# @return [Hash<String,String>]
|
1019
|
+
#
|
1009
1020
|
class CreateProjectRequest < Struct.new(
|
1010
1021
|
:project_name,
|
1011
1022
|
:feature,
|
1012
|
-
:auto_update
|
1023
|
+
:auto_update,
|
1024
|
+
:tags)
|
1013
1025
|
SENSITIVE = []
|
1014
1026
|
include Aws::Structure
|
1015
1027
|
end
|
@@ -2399,8 +2411,9 @@ module Aws::Rekognition
|
|
2399
2411
|
end
|
2400
2412
|
|
2401
2413
|
# @!attribute [rw] moderation_labels
|
2402
|
-
# Array of detected Moderation labels
|
2403
|
-
# from the start of the video, they
|
2414
|
+
# Array of detected Moderation labels. For video operations, this
|
2415
|
+
# includes the time, in milliseconds from the start of the video, they
|
2416
|
+
# were detected.
|
2404
2417
|
# @return [Array<Types::ModerationLabel>]
|
2405
2418
|
#
|
2406
2419
|
# @!attribute [rw] moderation_model_version
|
data/lib/aws-sdk-rekognition.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -48,6 +48,7 @@ module Aws
|
|
48
48
|
?sdk_ua_app_id: String,
|
49
49
|
?secret_access_key: String,
|
50
50
|
?session_token: String,
|
51
|
+
?sigv4a_signing_region_set: Array[String],
|
51
52
|
?simple_json: bool,
|
52
53
|
?stub_responses: untyped,
|
53
54
|
?token_provider: untyped,
|
@@ -169,7 +170,8 @@ module Aws
|
|
169
170
|
dataset_arn: ::String?
|
170
171
|
},
|
171
172
|
dataset_type: ("TRAIN" | "TEST"),
|
172
|
-
project_arn: ::String
|
173
|
+
project_arn: ::String,
|
174
|
+
?tags: Hash[::String, ::String]
|
173
175
|
) -> _CreateDatasetResponseSuccess
|
174
176
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDatasetResponseSuccess
|
175
177
|
|
@@ -199,7 +201,8 @@ module Aws
|
|
199
201
|
def create_project: (
|
200
202
|
project_name: ::String,
|
201
203
|
?feature: ("CONTENT_MODERATION" | "CUSTOM_LABELS"),
|
202
|
-
?auto_update: ("ENABLED" | "DISABLED")
|
204
|
+
?auto_update: ("ENABLED" | "DISABLED"),
|
205
|
+
?tags: Hash[::String, ::String]
|
203
206
|
) -> _CreateProjectResponseSuccess
|
204
207
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateProjectResponseSuccess
|
205
208
|
|
data/sig/resource.rbs
CHANGED
data/sig/types.rbs
CHANGED
@@ -215,6 +215,7 @@ module Aws::Rekognition
|
|
215
215
|
attr_accessor dataset_source: Types::DatasetSource
|
216
216
|
attr_accessor dataset_type: ("TRAIN" | "TEST")
|
217
217
|
attr_accessor project_arn: ::String
|
218
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
218
219
|
SENSITIVE: []
|
219
220
|
end
|
220
221
|
|
@@ -245,6 +246,7 @@ module Aws::Rekognition
|
|
245
246
|
attr_accessor project_name: ::String
|
246
247
|
attr_accessor feature: ("CONTENT_MODERATION" | "CUSTOM_LABELS")
|
247
248
|
attr_accessor auto_update: ("ENABLED" | "DISABLED")
|
249
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
248
250
|
SENSITIVE: []
|
249
251
|
end
|
250
252
|
|
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.
|
4
|
+
version: 1.102.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: 2024-
|
11
|
+
date: 2024-07-03 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.201.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,21 +29,21 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.201.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: '1.
|
39
|
+
version: '1.5'
|
40
40
|
type: :runtime
|
41
41
|
prerelease: false
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: '1.
|
46
|
+
version: '1.5'
|
47
47
|
description: Official AWS Ruby gem for Amazon Rekognition. This gem is part of the
|
48
48
|
AWS SDK for Ruby.
|
49
49
|
email:
|