aws-sdk-rekognition 1.93.0 → 1.95.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '08d42dd29a8ccb0bd938c299d46df3304e306a0380b7af7bde98d6122f49d361'
4
- data.tar.gz: d618ff9dd18eaa0a7177a10b0093e99eeac4e0bb84f5d4b30eb51e036de35438
3
+ metadata.gz: de816acc5f13a51582fc20e064973bc3a64a025179ab3dcfb01f9d1d1b033072
4
+ data.tar.gz: 672d606feed5c0e55c0517e363dc15d58a581d2ee2768a6c138a73aafbb9ba25
5
5
  SHA512:
6
- metadata.gz: ee4095bd14c14613054ed3b416f6ec24360b2a9ce7f951ddca98c420a936bd007f290032ba2f516ca79ac23dec682781fc0ec2ade918ff741cf37823d76c1185
7
- data.tar.gz: a637026c4685c8fe07c3572da95d69adc0b9b19188ef81031fea2d1ad7fa52c0bd2a381cb070a2f3c3916c8d309a08102cd60342bfd8697f6d918f0c8b0c7291
6
+ metadata.gz: 6091bd8eb49a5cc863376998c7c3f7f6bd5e3f8a3ef73bda906427e3a5e34b169e59e9572e239bc59d560c3e0ae113a01e509a6fc2484fb04bef2ed873c524a5
7
+ data.tar.gz: db5d4d1eda7825b68ad4f54fa3440127eebed98149bfffd4d3f60e98f0de21c01ca561850134d03a48e920c1f27b8a6124eaa0d9e83392e32975b92c5b2edb81
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.95.0 (2024-04-25)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.94.0 (2024-04-10)
10
+ ------------------
11
+
12
+ * Feature - Added support for ContentType to content moderation detections.
13
+
4
14
  1.93.0 (2024-01-26)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.93.0
1
+ 1.95.0
@@ -22,6 +22,7 @@ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
22
22
  require 'aws-sdk-core/plugins/response_paging.rb'
23
23
  require 'aws-sdk-core/plugins/stub_responses.rb'
24
24
  require 'aws-sdk-core/plugins/idempotency_token.rb'
25
+ require 'aws-sdk-core/plugins/invocation_id.rb'
25
26
  require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
26
27
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
28
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
@@ -72,6 +73,7 @@ module Aws::Rekognition
72
73
  add_plugin(Aws::Plugins::ResponsePaging)
73
74
  add_plugin(Aws::Plugins::StubResponses)
74
75
  add_plugin(Aws::Plugins::IdempotencyToken)
76
+ add_plugin(Aws::Plugins::InvocationId)
75
77
  add_plugin(Aws::Plugins::JsonvalueConverter)
76
78
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
77
79
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
@@ -196,10 +198,17 @@ module Aws::Rekognition
196
198
  # When set to 'true' the request body will not be compressed
197
199
  # for supported operations.
198
200
  #
199
- # @option options [String] :endpoint
200
- # The client endpoint is normally constructed from the `:region`
201
- # option. You should only configure an `:endpoint` when connecting
202
- # to test or custom endpoints. This should be a valid HTTP(S) URI.
201
+ # @option options [String, URI::HTTPS, URI::HTTP] :endpoint
202
+ # Normally you should not configure the `:endpoint` option
203
+ # directly. This is normally constructed from the `:region`
204
+ # option. Configuring `:endpoint` is normally reserved for
205
+ # connecting to test or custom endpoints. The endpoint should
206
+ # be a URI formatted like:
207
+ #
208
+ # 'http://example.com'
209
+ # 'https://example.com'
210
+ # 'http://example.com:123'
211
+ #
203
212
  #
204
213
  # @option options [Integer] :endpoint_cache_max_entries (1000)
205
214
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -347,50 +356,65 @@ module Aws::Rekognition
347
356
  # @option options [Aws::Rekognition::EndpointProvider] :endpoint_provider
348
357
  # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::Rekognition::EndpointParameters`
349
358
  #
350
- # @option options [URI::HTTP,String] :http_proxy A proxy to send
351
- # requests through. Formatted like 'http://proxy.com:123'.
352
- #
353
- # @option options [Float] :http_open_timeout (15) The number of
354
- # seconds to wait when opening a HTTP session before raising a
355
- # `Timeout::Error`.
356
- #
357
- # @option options [Float] :http_read_timeout (60) The default
358
- # number of seconds to wait for response data. This value can
359
- # safely be set per-request on the session.
360
- #
361
- # @option options [Float] :http_idle_timeout (5) The number of
362
- # seconds a connection is allowed to sit idle before it is
363
- # considered stale. Stale connections are closed and removed
364
- # from the pool before making a request.
365
- #
366
- # @option options [Float] :http_continue_timeout (1) The number of
367
- # seconds to wait for a 100-continue response before sending the
368
- # request body. This option has no effect unless the request has
369
- # "Expect" header set to "100-continue". Defaults to `nil` which
370
- # disables this behaviour. This value can safely be set per
371
- # request on the session.
372
- #
373
- # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
374
- # in seconds.
359
+ # @option options [Float] :http_continue_timeout (1)
360
+ # The number of seconds to wait for a 100-continue response before sending the
361
+ # request body. This option has no effect unless the request has "Expect"
362
+ # header set to "100-continue". Defaults to `nil` which disables this
363
+ # behaviour. This value can safely be set per request on the session.
364
+ #
365
+ # @option options [Float] :http_idle_timeout (5)
366
+ # The number of seconds a connection is allowed to sit idle before it
367
+ # is considered stale. Stale connections are closed and removed from the
368
+ # pool before making a request.
369
+ #
370
+ # @option options [Float] :http_open_timeout (15)
371
+ # The default number of seconds to wait for response data.
372
+ # This value can safely be set per-request on the session.
373
+ #
374
+ # @option options [URI::HTTP,String] :http_proxy
375
+ # A proxy to send requests through. Formatted like 'http://proxy.com:123'.
376
+ #
377
+ # @option options [Float] :http_read_timeout (60)
378
+ # The default number of seconds to wait for response data.
379
+ # This value can safely be set per-request on the session.
380
+ #
381
+ # @option options [Boolean] :http_wire_trace (false)
382
+ # When `true`, HTTP debug output will be sent to the `:logger`.
383
+ #
384
+ # @option options [Proc] :on_chunk_received
385
+ # When a Proc object is provided, it will be used as callback when each chunk
386
+ # of the response body is received. It provides three arguments: the chunk,
387
+ # the number of bytes received, and the total number of
388
+ # bytes in the response (or nil if the server did not send a `content-length`).
389
+ #
390
+ # @option options [Proc] :on_chunk_sent
391
+ # When a Proc object is provided, it will be used as callback when each chunk
392
+ # of the request body is sent. It provides three arguments: the chunk,
393
+ # the number of bytes read from the body, and the total number of
394
+ # bytes in the body.
395
+ #
396
+ # @option options [Boolean] :raise_response_errors (true)
397
+ # When `true`, response errors are raised.
398
+ #
399
+ # @option options [String] :ssl_ca_bundle
400
+ # Full path to the SSL certificate authority bundle file that should be used when
401
+ # verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
402
+ # `:ssl_ca_directory` the the system default will be used if available.
403
+ #
404
+ # @option options [String] :ssl_ca_directory
405
+ # Full path of the directory that contains the unbundled SSL certificate
406
+ # authority files for verifying peer certificates. If you do
407
+ # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
408
+ # default will be used if available.
375
409
  #
376
- # @option options [Boolean] :http_wire_trace (false) When `true`,
377
- # HTTP debug output will be sent to the `:logger`.
410
+ # @option options [String] :ssl_ca_store
411
+ # Sets the X509::Store to verify peer certificate.
378
412
  #
379
- # @option options [Boolean] :ssl_verify_peer (true) When `true`,
380
- # SSL peer certificates are verified when establishing a
381
- # connection.
413
+ # @option options [Float] :ssl_timeout
414
+ # Sets the SSL timeout in seconds
382
415
  #
383
- # @option options [String] :ssl_ca_bundle Full path to the SSL
384
- # certificate authority bundle file that should be used when
385
- # verifying peer certificates. If you do not pass
386
- # `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
387
- # will be used if available.
388
- #
389
- # @option options [String] :ssl_ca_directory Full path of the
390
- # directory that contains the unbundled SSL certificate
391
- # authority files for verifying peer certificates. If you do
392
- # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
393
- # system default will be used if available.
416
+ # @option options [Boolean] :ssl_verify_peer (true)
417
+ # When `true`, SSL peer certificates are verified when establishing a connection.
394
418
  #
395
419
  def initialize(*args)
396
420
  super
@@ -3999,6 +4023,9 @@ module Aws::Rekognition
3999
4023
  # resp.moderation_labels[0].start_timestamp_millis #=> Integer
4000
4024
  # resp.moderation_labels[0].end_timestamp_millis #=> Integer
4001
4025
  # resp.moderation_labels[0].duration_millis #=> Integer
4026
+ # resp.moderation_labels[0].content_types #=> Array
4027
+ # resp.moderation_labels[0].content_types[0].confidence #=> Float
4028
+ # resp.moderation_labels[0].content_types[0].name #=> String
4002
4029
  # resp.next_token #=> String
4003
4030
  # resp.moderation_model_version #=> String
4004
4031
  # resp.job_id #=> String
@@ -8377,7 +8404,7 @@ module Aws::Rekognition
8377
8404
  params: params,
8378
8405
  config: config)
8379
8406
  context[:gem_name] = 'aws-sdk-rekognition'
8380
- context[:gem_version] = '1.93.0'
8407
+ context[:gem_version] = '1.95.0'
8381
8408
  Seahorse::Client::Request.new(handlers, context)
8382
8409
  end
8383
8410
 
@@ -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.95.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.95.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-25 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.191.0
22
+ version: 3.193.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.191.0
32
+ version: 3.193.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement