aws-sdk-rekognition 1.92.0 → 1.94.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-rekognition/client.rb +4 -1
- data/lib/aws-sdk-rekognition/client_api.rb +1 -0
- data/lib/aws-sdk-rekognition/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-rekognition/types.rb +14 -2
- data/lib/aws-sdk-rekognition.rb +1 -1
- data/sig/client.rbs +1537 -0
- data/sig/errors.rbs +65 -0
- data/sig/resource.rbs +80 -0
- data/sig/types.rbs +2136 -0
- data/sig/waiters.rbs +39 -0
- metadata +9 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0cf1f25c0d6815ca078c6ee2f4fdc771eba3664312b3b3281aee388165f78ecb
|
4
|
+
data.tar.gz: ad0728fda9b8dde7e14524b166753af27365b33c8b0f9ab264697c835736350f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8e239da506ddaa8cee7e7b8d2f47461a367aca73fc6d0eb0fa9ffeac3a37413a61f4fb55123db0237cfb41c3ce00039ced2601e7fc612d035a943604aed26591
|
7
|
+
data.tar.gz: e0b2fb347bb53d900f4a2a632c483e38d2ceeb02a6fc6f5e75cfedfccc444c15aa0f94cd137bef11420adda91b21c8425cf2db488cbb80c80bb6472cc1b73fb1
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
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
|
+
|
9
|
+
1.93.0 (2024-01-26)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.92.0 (2024-01-16)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
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.
|
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)
|
@@ -14,6 +14,7 @@ module Aws::Rekognition
|
|
14
14
|
option(
|
15
15
|
:endpoint_provider,
|
16
16
|
doc_type: 'Aws::Rekognition::EndpointProvider',
|
17
|
+
rbs_type: 'untyped',
|
17
18
|
docstring: 'The endpoint provider used to resolve endpoints. Any '\
|
18
19
|
'object that responds to `#resolve_endpoint(parameters)` '\
|
19
20
|
'where `parameters` is a Struct similar to '\
|
@@ -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(
|