aws-sdk-rekognition 1.101.0 → 1.102.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: 6624d3f3e199623565eca5966359304ece98aad427f6c6004f940b6dd4889c2d
4
- data.tar.gz: bce86fb830aae82053819cb2251ff6ce1188c10a93e7fa3d52689211c0602fb9
3
+ metadata.gz: 2942359b48ba8568cc8bbd3c73b73ad4e294ce54ad0227affcd1026bc4eadfbd
4
+ data.tar.gz: fffaebd8064c5c8656232afe5d41b1017b914bbc91957b727c71838ec294f84a
5
5
  SHA512:
6
- metadata.gz: 550c3338c0efa8af46e9dd2a9b5c9733841ff3be8c707407b45ced0d57f387212f6d69a43b3fb7a7351a777a3fd1f64a142ae4e28a519035ae5de0af09e0b1e7
7
- data.tar.gz: ed898a329d1b58ccb59fd0c35872dbc2ab1b8f63aeb894b2877887ae299ac3b19ec6f442a297f7cc4a27aafd1d7cb418519be8e9795bad7d400d16217106f91c
6
+ metadata.gz: d07099a070920c7d553e8a589d1a94f41882abcd82385ab26ba45e725a0ead502c97f65c78ce9e32cee8d888ea026cc00aeec858f3bfb873b6776d61c595cfbc
7
+ data.tar.gz: 431408fe17d91dc72660a0f60d3e64d713873bba852c7f99ff4cb25165fcb27c335e2ca75841d00a177eabd2c0c19fc98b9a7919b1438e77494259d79445de79
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
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
+
4
9
  1.101.0 (2024-07-02)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.101.0
1
+ 1.102.0
@@ -1064,6 +1064,10 @@ module Aws::Rekognition
1064
1064
  # The ARN of the Amazon Rekognition Custom Labels project to which you
1065
1065
  # want to asssign the dataset.
1066
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
+ #
1067
1071
  # @return [Types::CreateDatasetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1068
1072
  #
1069
1073
  # * {Types::CreateDatasetResponse#dataset_arn #dataset_arn} => String
@@ -1106,6 +1110,9 @@ module Aws::Rekognition
1106
1110
  # },
1107
1111
  # dataset_type: "TRAIN", # required, accepts TRAIN, TEST
1108
1112
  # project_arn: "ProjectArn", # required
1113
+ # tags: {
1114
+ # "TagKey" => "TagValue",
1115
+ # },
1109
1116
  # })
1110
1117
  #
1111
1118
  # @example Response structure
@@ -1199,6 +1206,10 @@ module Aws::Rekognition
1199
1206
  # effort. Required argument for Content Moderation. Applicable only to
1200
1207
  # adapters.
1201
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
+ #
1202
1213
  # @return [Types::CreateProjectResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1203
1214
  #
1204
1215
  # * {Types::CreateProjectResponse#project_arn #project_arn} => String
@@ -1223,6 +1234,9 @@ module Aws::Rekognition
1223
1234
  # project_name: "ProjectName", # required
1224
1235
  # feature: "CONTENT_MODERATION", # accepts CONTENT_MODERATION, CUSTOM_LABELS
1225
1236
  # auto_update: "ENABLED", # accepts ENABLED, DISABLED
1237
+ # tags: {
1238
+ # "TagKey" => "TagValue",
1239
+ # },
1226
1240
  # })
1227
1241
  #
1228
1242
  # @example Response structure
@@ -4485,6 +4499,10 @@ module Aws::Rekognition
4485
4499
  # with the token value returned from the previous call to
4486
4500
  # `GetLabelDetection`.
4487
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
+ #
4488
4506
  # @option params [required, String] :job_id
4489
4507
  # Job identifier for the label detection operation for which you want
4490
4508
  # results returned. You get the job identifer from an initial call to
@@ -8414,7 +8432,7 @@ module Aws::Rekognition
8414
8432
  params: params,
8415
8433
  config: config)
8416
8434
  context[:gem_name] = 'aws-sdk-rekognition'
8417
- context[:gem_version] = '1.101.0'
8435
+ context[:gem_version] = '1.102.0'
8418
8436
  Seahorse::Client::Request.new(handlers, context)
8419
8437
  end
8420
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 and the time, in milliseconds
2403
- # from the start of the video, they were detected.
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
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-rekognition/customizations'
53
53
  # @!group service
54
54
  module Aws::Rekognition
55
55
 
56
- GEM_VERSION = '1.101.0'
56
+ GEM_VERSION = '1.102.0'
57
57
 
58
58
  end
data/sig/client.rbs CHANGED
@@ -170,7 +170,8 @@ module Aws
170
170
  dataset_arn: ::String?
171
171
  },
172
172
  dataset_type: ("TRAIN" | "TEST"),
173
- project_arn: ::String
173
+ project_arn: ::String,
174
+ ?tags: Hash[::String, ::String]
174
175
  ) -> _CreateDatasetResponseSuccess
175
176
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDatasetResponseSuccess
176
177
 
@@ -200,7 +201,8 @@ module Aws
200
201
  def create_project: (
201
202
  project_name: ::String,
202
203
  ?feature: ("CONTENT_MODERATION" | "CUSTOM_LABELS"),
203
- ?auto_update: ("ENABLED" | "DISABLED")
204
+ ?auto_update: ("ENABLED" | "DISABLED"),
205
+ ?tags: Hash[::String, ::String]
204
206
  ) -> _CreateProjectResponseSuccess
205
207
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateProjectResponseSuccess
206
208
 
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.101.0
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-07-02 00:00:00.000000000 Z
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