aws-sdk-rekognition 1.93.0 → 1.94.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: '08d42dd29a8ccb0bd938c299d46df3304e306a0380b7af7bde98d6122f49d361'
4
- data.tar.gz: d618ff9dd18eaa0a7177a10b0093e99eeac4e0bb84f5d4b30eb51e036de35438
3
+ metadata.gz: 0cf1f25c0d6815ca078c6ee2f4fdc771eba3664312b3b3281aee388165f78ecb
4
+ data.tar.gz: ad0728fda9b8dde7e14524b166753af27365b33c8b0f9ab264697c835736350f
5
5
  SHA512:
6
- metadata.gz: ee4095bd14c14613054ed3b416f6ec24360b2a9ce7f951ddca98c420a936bd007f290032ba2f516ca79ac23dec682781fc0ec2ade918ff741cf37823d76c1185
7
- data.tar.gz: a637026c4685c8fe07c3572da95d69adc0b9b19188ef81031fea2d1ad7fa52c0bd2a381cb070a2f3c3916c8d309a08102cd60342bfd8697f6d918f0c8b0c7291
6
+ metadata.gz: 8e239da506ddaa8cee7e7b8d2f47461a367aca73fc6d0eb0fa9ffeac3a37413a61f4fb55123db0237cfb41c3ce00039ced2601e7fc612d035a943604aed26591
7
+ data.tar.gz: e0b2fb347bb53d900f4a2a632c483e38d2ceeb02a6fc6f5e75cfedfccc444c15aa0f94cd137bef11420adda91b21c8425cf2db488cbb80c80bb6472cc1b73fb1
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.94.0 (2024-04-10)
5
+ ------------------
6
+
7
+ * Feature - Added support for ContentType to content moderation detections.
8
+
4
9
  1.93.0 (2024-01-26)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.93.0
1
+ 1.94.0
@@ -3999,6 +3999,9 @@ module Aws::Rekognition
3999
3999
  # resp.moderation_labels[0].start_timestamp_millis #=> Integer
4000
4000
  # resp.moderation_labels[0].end_timestamp_millis #=> Integer
4001
4001
  # resp.moderation_labels[0].duration_millis #=> Integer
4002
+ # resp.moderation_labels[0].content_types #=> Array
4003
+ # resp.moderation_labels[0].content_types[0].confidence #=> Float
4004
+ # resp.moderation_labels[0].content_types[0].name #=> String
4002
4005
  # resp.next_token #=> String
4003
4006
  # resp.moderation_model_version #=> String
4004
4007
  # resp.job_id #=> String
@@ -8377,7 +8380,7 @@ module Aws::Rekognition
8377
8380
  params: params,
8378
8381
  config: config)
8379
8382
  context[:gem_name] = 'aws-sdk-rekognition'
8380
- context[:gem_version] = '1.93.0'
8383
+ context[:gem_version] = '1.94.0'
8381
8384
  Seahorse::Client::Request.new(handlers, context)
8382
8385
  end
8383
8386
 
@@ -694,6 +694,7 @@ module Aws::Rekognition
694
694
  ContentModerationDetection.add_member(:start_timestamp_millis, Shapes::ShapeRef.new(shape: ULong, location_name: "StartTimestampMillis"))
695
695
  ContentModerationDetection.add_member(:end_timestamp_millis, Shapes::ShapeRef.new(shape: ULong, location_name: "EndTimestampMillis"))
696
696
  ContentModerationDetection.add_member(:duration_millis, Shapes::ShapeRef.new(shape: ULong, location_name: "DurationMillis"))
697
+ ContentModerationDetection.add_member(:content_types, Shapes::ShapeRef.new(shape: ContentTypes, location_name: "ContentTypes"))
697
698
  ContentModerationDetection.struct_class = Types::ContentModerationDetection
698
699
 
699
700
  ContentModerationDetections.member = Shapes::ShapeRef.new(shape: ContentModerationDetection)
@@ -720,12 +720,19 @@ module Aws::Rekognition
720
720
  # from StartTimestampMillis to EndTimestampMillis.
721
721
  # @return [Integer]
722
722
  #
723
+ # @!attribute [rw] content_types
724
+ # A list of predicted results for the type of content an image
725
+ # contains. For example, the image content might be from animation,
726
+ # sports, or a video game.
727
+ # @return [Array<Types::ContentType>]
728
+ #
723
729
  class ContentModerationDetection < Struct.new(
724
730
  :timestamp,
725
731
  :moderation_label,
726
732
  :start_timestamp_millis,
727
733
  :end_timestamp_millis,
728
- :duration_millis)
734
+ :duration_millis,
735
+ :content_types)
729
736
  SENSITIVE = []
730
737
  include Aws::Structure
731
738
  end
@@ -969,7 +976,12 @@ module Aws::Rekognition
969
976
  end
970
977
 
971
978
  # @!attribute [rw] session_id
972
- # A unique 128-bit UUID identifying a Face Liveness session.
979
+ # A unique 128-bit UUID identifying a Face Liveness session. A new
980
+ # sessionID must be used for every Face Liveness check. If a given
981
+ # sessionID is used for subsequent Face Liveness checks, the checks
982
+ # will fail. Additionally, a SessionId expires 3 minutes after it's
983
+ # sent, making all Liveness data associated with the session (e.g.,
984
+ # sessionID, reference image, audit images, etc.) unavailable.
973
985
  # @return [String]
974
986
  #
975
987
  class CreateFaceLivenessSessionResponse < Struct.new(
@@ -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.93.0'
56
+ GEM_VERSION = '1.94.0'
57
57
 
58
58
  end
data/sig/types.rbs CHANGED
@@ -166,6 +166,7 @@ module Aws::Rekognition
166
166
  attr_accessor start_timestamp_millis: ::Integer
167
167
  attr_accessor end_timestamp_millis: ::Integer
168
168
  attr_accessor duration_millis: ::Integer
169
+ attr_accessor content_types: ::Array[Types::ContentType]
169
170
  SENSITIVE: []
170
171
  end
171
172
 
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.93.0
4
+ version: 1.94.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-01-26 00:00:00.000000000 Z
11
+ date: 2024-04-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core