aws-sdk-sagemakerruntime 1.60.0 → 1.62.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: 4751c0710c4c8a7f13f1af3a61e570b1bef832fe6f153ff609ed3992b993c529
4
- data.tar.gz: 1ac92e751414cf20091720323e55e9d974df5fe252765b687537fc0afb8108ad
3
+ metadata.gz: 14db1d873580ff0f37cc5d17bb03839cb6217463e91f4e74c0ca3077d258463f
4
+ data.tar.gz: 1dafe1c9931d74341ab640b5562c02ad90403a1ce0479eb07c5ff68dfdab37da
5
5
  SHA512:
6
- metadata.gz: d7189436b68fefeb96ef647842ed35cb8cf91125c6ccd99ec4471f16691b23ff58dc17b7840d90582c156ce0c51ad68d972456dc15fc3083aa00924ee9b7688b
7
- data.tar.gz: 4e799d3c39c9a7273010f2fcae329f1b61b0b863cf5b5c6be6db8d77847ddbb3ba6b55006c753bad5aa9a8322a9d20b16c5b1f866c999f921034b01e5d465209
6
+ metadata.gz: d32464069f2e72cc3b38adbe97ae41fc908a7b658e25239818350fd3519302bb37cd2d760c14ea4781158b3110450670f694854381de67e42d83c47aa265450f
7
+ data.tar.gz: b57a0c2138823b93a099dbd764e79540fc57719a2ef12be86362c4de962ea541809592ca0ac53efa01d7f98ccff53534e75941c22d07039f2dc45686b5bbb32a
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.62.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.61.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.60.0 (2023-11-29)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.60.0
1
+ 1.62.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'
@@ -73,6 +74,7 @@ module Aws::SageMakerRuntime
73
74
  add_plugin(Aws::Plugins::ResponsePaging)
74
75
  add_plugin(Aws::Plugins::StubResponses)
75
76
  add_plugin(Aws::Plugins::IdempotencyToken)
77
+ add_plugin(Aws::Plugins::InvocationId)
76
78
  add_plugin(Aws::Plugins::JsonvalueConverter)
77
79
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
78
80
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
@@ -198,10 +200,17 @@ module Aws::SageMakerRuntime
198
200
  # When set to 'true' the request body will not be compressed
199
201
  # for supported operations.
200
202
  #
201
- # @option options [String] :endpoint
202
- # The client endpoint is normally constructed from the `:region`
203
- # option. You should only configure an `:endpoint` when connecting
204
- # to test or custom endpoints. This should be a valid HTTP(S) URI.
203
+ # @option options [String, URI::HTTPS, URI::HTTP] :endpoint
204
+ # Normally you should not configure the `:endpoint` option
205
+ # directly. This is normally constructed from the `:region`
206
+ # option. Configuring `:endpoint` is normally reserved for
207
+ # connecting to test or custom endpoints. The endpoint should
208
+ # be a URI formatted like:
209
+ #
210
+ # 'http://example.com'
211
+ # 'https://example.com'
212
+ # 'http://example.com:123'
213
+ #
205
214
  #
206
215
  # @option options [Integer] :endpoint_cache_max_entries (1000)
207
216
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -348,50 +357,65 @@ module Aws::SageMakerRuntime
348
357
  # @option options [Aws::SageMakerRuntime::EndpointProvider] :endpoint_provider
349
358
  # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::SageMakerRuntime::EndpointParameters`
350
359
  #
351
- # @option options [URI::HTTP,String] :http_proxy A proxy to send
352
- # requests through. Formatted like 'http://proxy.com:123'.
353
- #
354
- # @option options [Float] :http_open_timeout (15) The number of
355
- # seconds to wait when opening a HTTP session before raising a
356
- # `Timeout::Error`.
357
- #
358
- # @option options [Float] :http_read_timeout (60) The default
359
- # number of seconds to wait for response data. This value can
360
- # safely be set per-request on the session.
361
- #
362
- # @option options [Float] :http_idle_timeout (5) The number of
363
- # seconds a connection is allowed to sit idle before it is
364
- # considered stale. Stale connections are closed and removed
365
- # from the pool before making a request.
366
- #
367
- # @option options [Float] :http_continue_timeout (1) The number of
368
- # seconds to wait for a 100-continue response before sending the
369
- # request body. This option has no effect unless the request has
370
- # "Expect" header set to "100-continue". Defaults to `nil` which
371
- # disables this behaviour. This value can safely be set per
372
- # request on the session.
373
- #
374
- # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
375
- # in seconds.
360
+ # @option options [Float] :http_continue_timeout (1)
361
+ # The number of seconds to wait for a 100-continue response before sending the
362
+ # request body. This option has no effect unless the request has "Expect"
363
+ # header set to "100-continue". Defaults to `nil` which disables this
364
+ # behaviour. This value can safely be set per request on the session.
365
+ #
366
+ # @option options [Float] :http_idle_timeout (5)
367
+ # The number of seconds a connection is allowed to sit idle before it
368
+ # is considered stale. Stale connections are closed and removed from the
369
+ # pool before making a request.
370
+ #
371
+ # @option options [Float] :http_open_timeout (15)
372
+ # The default number of seconds to wait for response data.
373
+ # This value can safely be set per-request on the session.
374
+ #
375
+ # @option options [URI::HTTP,String] :http_proxy
376
+ # A proxy to send requests through. Formatted like 'http://proxy.com:123'.
377
+ #
378
+ # @option options [Float] :http_read_timeout (60)
379
+ # The default number of seconds to wait for response data.
380
+ # This value can safely be set per-request on the session.
381
+ #
382
+ # @option options [Boolean] :http_wire_trace (false)
383
+ # When `true`, HTTP debug output will be sent to the `:logger`.
384
+ #
385
+ # @option options [Proc] :on_chunk_received
386
+ # When a Proc object is provided, it will be used as callback when each chunk
387
+ # of the response body is received. It provides three arguments: the chunk,
388
+ # the number of bytes received, and the total number of
389
+ # bytes in the response (or nil if the server did not send a `content-length`).
390
+ #
391
+ # @option options [Proc] :on_chunk_sent
392
+ # When a Proc object is provided, it will be used as callback when each chunk
393
+ # of the request body is sent. It provides three arguments: the chunk,
394
+ # the number of bytes read from the body, and the total number of
395
+ # bytes in the body.
396
+ #
397
+ # @option options [Boolean] :raise_response_errors (true)
398
+ # When `true`, response errors are raised.
399
+ #
400
+ # @option options [String] :ssl_ca_bundle
401
+ # Full path to the SSL certificate authority bundle file that should be used when
402
+ # verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
403
+ # `:ssl_ca_directory` the the system default will be used if available.
404
+ #
405
+ # @option options [String] :ssl_ca_directory
406
+ # Full path of the directory that contains the unbundled SSL certificate
407
+ # authority files for verifying peer certificates. If you do
408
+ # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
409
+ # default will be used if available.
376
410
  #
377
- # @option options [Boolean] :http_wire_trace (false) When `true`,
378
- # HTTP debug output will be sent to the `:logger`.
411
+ # @option options [String] :ssl_ca_store
412
+ # Sets the X509::Store to verify peer certificate.
379
413
  #
380
- # @option options [Boolean] :ssl_verify_peer (true) When `true`,
381
- # SSL peer certificates are verified when establishing a
382
- # connection.
414
+ # @option options [Float] :ssl_timeout
415
+ # Sets the SSL timeout in seconds
383
416
  #
384
- # @option options [String] :ssl_ca_bundle Full path to the SSL
385
- # certificate authority bundle file that should be used when
386
- # verifying peer certificates. If you do not pass
387
- # `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
388
- # will be used if available.
389
- #
390
- # @option options [String] :ssl_ca_directory Full path of the
391
- # directory that contains the unbundled SSL certificate
392
- # authority files for verifying peer certificates. If you do
393
- # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
394
- # system default will be used if available.
417
+ # @option options [Boolean] :ssl_verify_peer (true)
418
+ # When `true`, SSL peer certificates are verified when establishing a connection.
395
419
  #
396
420
  def initialize(*args)
397
421
  super
@@ -803,22 +827,22 @@ module Aws::SageMakerRuntime
803
827
  #
804
828
  # @example EventStream Operation Example
805
829
  #
806
- # You can process event once it arrives immediately, or wait until
807
- # full response complete and iterate through eventstream enumerator.
830
+ # You can process the event once it arrives immediately, or wait until the
831
+ # full response is complete and iterate through the eventstream enumerator.
808
832
  #
809
833
  # To interact with event immediately, you need to register #invoke_endpoint_with_response_stream
810
- # with callbacks, callbacks can be register for specifc events or for all events,
811
- # callback for errors in the event stream is also available for register.
834
+ # with callbacks. Callbacks can be registered for specific events or for all
835
+ # events, including error events.
812
836
  #
813
- # Callbacks can be passed in by `:event_stream_handler` option or within block
814
- # statement attached to #invoke_endpoint_with_response_stream call directly. Hybrid pattern of both
815
- # is also supported.
837
+ # Callbacks can be passed into the `:event_stream_handler` option or within a
838
+ # block statement attached to the #invoke_endpoint_with_response_stream call directly. Hybrid
839
+ # pattern of both is also supported.
816
840
  #
817
- # `:event_stream_handler` option takes in either Proc object or
841
+ # `:event_stream_handler` option takes in either a Proc object or
818
842
  # Aws::SageMakerRuntime::EventStreams::ResponseStream object.
819
843
  #
820
- # Usage pattern a): callbacks with a block attached to #invoke_endpoint_with_response_stream
821
- # Example for registering callbacks for all event types and error event
844
+ # Usage pattern a): Callbacks with a block attached to #invoke_endpoint_with_response_stream
845
+ # Example for registering callbacks for all event types and an error event
822
846
  #
823
847
  # client.invoke_endpoint_with_response_stream( # params input# ) do |stream|
824
848
  # stream.on_error_event do |event|
@@ -838,9 +862,9 @@ module Aws::SageMakerRuntime
838
862
  #
839
863
  # end
840
864
  #
841
- # Usage pattern b): pass in `:event_stream_handler` for #invoke_endpoint_with_response_stream
865
+ # Usage pattern b): Pass in `:event_stream_handler` for #invoke_endpoint_with_response_stream
842
866
  #
843
- # 1) create a Aws::SageMakerRuntime::EventStreams::ResponseStream object
867
+ # 1) Create a Aws::SageMakerRuntime::EventStreams::ResponseStream object
844
868
  # Example for registering callbacks with specific events
845
869
  #
846
870
  # handler = Aws::SageMakerRuntime::EventStreams::ResponseStream.new
@@ -856,7 +880,7 @@ module Aws::SageMakerRuntime
856
880
  #
857
881
  # client.invoke_endpoint_with_response_stream( # params input #, event_stream_handler: handler)
858
882
  #
859
- # 2) use a Ruby Proc object
883
+ # 2) Use a Ruby Proc object
860
884
  # Example for registering callbacks with specific events
861
885
  #
862
886
  # handler = Proc.new do |stream|
@@ -873,7 +897,7 @@ module Aws::SageMakerRuntime
873
897
  #
874
898
  # client.invoke_endpoint_with_response_stream( # params input #, event_stream_handler: handler)
875
899
  #
876
- # Usage pattern c): hybird pattern of a) and b)
900
+ # Usage pattern c): Hybrid pattern of a) and b)
877
901
  #
878
902
  # handler = Aws::SageMakerRuntime::EventStreams::ResponseStream.new
879
903
  # handler.on_payload_part_event do |event|
@@ -897,8 +921,7 @@ module Aws::SageMakerRuntime
897
921
  # end
898
922
  # end
899
923
  #
900
- # Besides above usage patterns for process events when they arrive immediately, you can also
901
- # iterate through events after response complete.
924
+ # You can also iterate through events after the response complete.
902
925
  #
903
926
  # Events are available at resp.body # => Enumerator
904
927
  # For parameter input example, please refer to following request syntax
@@ -977,7 +1000,7 @@ module Aws::SageMakerRuntime
977
1000
  params: params,
978
1001
  config: config)
979
1002
  context[:gem_name] = 'aws-sdk-sagemakerruntime'
980
- context[:gem_version] = '1.60.0'
1003
+ context[:gem_version] = '1.62.0'
981
1004
  Seahorse::Client::Request.new(handlers, context)
982
1005
  end
983
1006
 
@@ -14,6 +14,7 @@ module Aws::SageMakerRuntime
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::SageMakerRuntime::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 '\
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-sagemakerruntime/event_streams'
53
53
  # @!group service
54
54
  module Aws::SageMakerRuntime
55
55
 
56
- GEM_VERSION = '1.60.0'
56
+ GEM_VERSION = '1.62.0'
57
57
 
58
58
  end
data/sig/client.rbs ADDED
@@ -0,0 +1,143 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module SageMakerRuntime
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMakerRuntime/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?event_stream_handler: Proc,
36
+ ?ignore_configured_endpoint_urls: bool,
37
+ ?input_event_stream_handler: Proc,
38
+ ?log_formatter: untyped,
39
+ ?log_level: Symbol,
40
+ ?logger: untyped,
41
+ ?max_attempts: Integer,
42
+ ?output_event_stream_handler: Proc,
43
+ ?profile: String,
44
+ ?request_min_compression_size_bytes: Integer,
45
+ ?retry_backoff: Proc,
46
+ ?retry_base_delay: Float,
47
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
48
+ ?retry_limit: Integer,
49
+ ?retry_max_delay: Integer,
50
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
51
+ ?sdk_ua_app_id: String,
52
+ ?secret_access_key: String,
53
+ ?session_token: String,
54
+ ?stub_responses: untyped,
55
+ ?token_provider: untyped,
56
+ ?use_dualstack_endpoint: bool,
57
+ ?use_fips_endpoint: bool,
58
+ ?validate_params: bool,
59
+ ?endpoint_provider: untyped,
60
+ ?http_proxy: String,
61
+ ?http_open_timeout: (Float | Integer),
62
+ ?http_read_timeout: (Float | Integer),
63
+ ?http_idle_timeout: (Float | Integer),
64
+ ?http_continue_timeout: (Float | Integer),
65
+ ?ssl_timeout: (Float | Integer | nil),
66
+ ?http_wire_trace: bool,
67
+ ?ssl_verify_peer: bool,
68
+ ?ssl_ca_bundle: String,
69
+ ?ssl_ca_directory: String,
70
+ ?ssl_ca_store: String,
71
+ ?on_chunk_received: Proc,
72
+ ?on_chunk_sent: Proc,
73
+ ?raise_response_errors: bool
74
+ ) -> instance
75
+ | (?Hash[Symbol, untyped]) -> instance
76
+
77
+
78
+ interface _InvokeEndpointResponseSuccess
79
+ include ::Seahorse::Client::_ResponseSuccess[Types::InvokeEndpointOutput]
80
+ def body: () -> ::String
81
+ def content_type: () -> ::String
82
+ def invoked_production_variant: () -> ::String
83
+ def custom_attributes: () -> ::String
84
+ end
85
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMakerRuntime/Client.html#invoke_endpoint-instance_method
86
+ def invoke_endpoint: (
87
+ endpoint_name: ::String,
88
+ body: ::String,
89
+ ?content_type: ::String,
90
+ ?accept: ::String,
91
+ ?custom_attributes: ::String,
92
+ ?target_model: ::String,
93
+ ?target_variant: ::String,
94
+ ?target_container_hostname: ::String,
95
+ ?inference_id: ::String,
96
+ ?enable_explanations: ::String,
97
+ ?inference_component_name: ::String
98
+ ) -> _InvokeEndpointResponseSuccess
99
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _InvokeEndpointResponseSuccess
100
+
101
+ interface _InvokeEndpointAsyncResponseSuccess
102
+ include ::Seahorse::Client::_ResponseSuccess[Types::InvokeEndpointAsyncOutput]
103
+ def inference_id: () -> ::String
104
+ def output_location: () -> ::String
105
+ def failure_location: () -> ::String
106
+ end
107
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMakerRuntime/Client.html#invoke_endpoint_async-instance_method
108
+ def invoke_endpoint_async: (
109
+ endpoint_name: ::String,
110
+ ?content_type: ::String,
111
+ ?accept: ::String,
112
+ ?custom_attributes: ::String,
113
+ ?inference_id: ::String,
114
+ input_location: ::String,
115
+ ?request_ttl_seconds: ::Integer,
116
+ ?invocation_timeout_seconds: ::Integer
117
+ ) -> _InvokeEndpointAsyncResponseSuccess
118
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _InvokeEndpointAsyncResponseSuccess
119
+
120
+ interface _InvokeEndpointWithResponseStreamResponseSuccess
121
+ include ::Seahorse::Client::_ResponseSuccess[Types::InvokeEndpointWithResponseStreamOutput]
122
+ def body: () -> Types::ResponseStream
123
+ def content_type: () -> ::String
124
+ def invoked_production_variant: () -> ::String
125
+ def custom_attributes: () -> ::String
126
+ end
127
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMakerRuntime/Client.html#invoke_endpoint_with_response_stream-instance_method
128
+ def invoke_endpoint_with_response_stream: (
129
+ endpoint_name: ::String,
130
+ body: ::String,
131
+ ?content_type: ::String,
132
+ ?accept: ::String,
133
+ ?custom_attributes: ::String,
134
+ ?target_variant: ::String,
135
+ ?target_container_hostname: ::String,
136
+ ?inference_id: ::String,
137
+ ?inference_component_name: ::String
138
+ ) ?{ (*untyped) -> void } -> _InvokeEndpointWithResponseStreamResponseSuccess
139
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) ?{ (*untyped) -> void } -> _InvokeEndpointWithResponseStreamResponseSuccess
140
+ end
141
+ end
142
+ end
143
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,44 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module SageMakerRuntime
10
+ module Errors
11
+ class ServiceError < ::Aws::Errors::ServiceError
12
+ end
13
+
14
+ class InternalDependencyException < ::Aws::Errors::ServiceError
15
+ def message: () -> ::String
16
+ end
17
+ class InternalFailure < ::Aws::Errors::ServiceError
18
+ def message: () -> ::String
19
+ end
20
+ class InternalStreamFailure < ::Aws::Errors::ServiceError
21
+ def message: () -> ::String
22
+ end
23
+ class ModelError < ::Aws::Errors::ServiceError
24
+ def message: () -> ::String
25
+ def original_status_code: () -> ::String
26
+ def original_message: () -> ::String
27
+ def log_stream_arn: () -> ::String
28
+ end
29
+ class ModelNotReadyException < ::Aws::Errors::ServiceError
30
+ def message: () -> ::String
31
+ end
32
+ class ModelStreamError < ::Aws::Errors::ServiceError
33
+ def message: () -> ::String
34
+ def error_code: () -> ::String
35
+ end
36
+ class ServiceUnavailable < ::Aws::Errors::ServiceError
37
+ def message: () -> ::String
38
+ end
39
+ class ValidationError < ::Aws::Errors::ServiceError
40
+ def message: () -> ::String
41
+ end
42
+ end
43
+ end
44
+ end
data/sig/resource.rbs ADDED
@@ -0,0 +1,82 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module SageMakerRuntime
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMakerRuntime/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMakerRuntime/Resource.html#initialize-instance_method
13
+ def initialize: (
14
+ ?client: Client,
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?event_stream_handler: Proc,
36
+ ?ignore_configured_endpoint_urls: bool,
37
+ ?input_event_stream_handler: Proc,
38
+ ?log_formatter: untyped,
39
+ ?log_level: Symbol,
40
+ ?logger: untyped,
41
+ ?max_attempts: Integer,
42
+ ?output_event_stream_handler: Proc,
43
+ ?profile: String,
44
+ ?request_min_compression_size_bytes: Integer,
45
+ ?retry_backoff: Proc,
46
+ ?retry_base_delay: Float,
47
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
48
+ ?retry_limit: Integer,
49
+ ?retry_max_delay: Integer,
50
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
51
+ ?sdk_ua_app_id: String,
52
+ ?secret_access_key: String,
53
+ ?session_token: String,
54
+ ?stub_responses: untyped,
55
+ ?token_provider: untyped,
56
+ ?use_dualstack_endpoint: bool,
57
+ ?use_fips_endpoint: bool,
58
+ ?validate_params: bool,
59
+ ?endpoint_provider: untyped,
60
+ ?http_proxy: String,
61
+ ?http_open_timeout: (Float | Integer),
62
+ ?http_read_timeout: (Float | Integer),
63
+ ?http_idle_timeout: (Float | Integer),
64
+ ?http_continue_timeout: (Float | Integer),
65
+ ?ssl_timeout: (Float | Integer | nil),
66
+ ?http_wire_trace: bool,
67
+ ?ssl_verify_peer: bool,
68
+ ?ssl_ca_bundle: String,
69
+ ?ssl_ca_directory: String,
70
+ ?ssl_ca_store: String,
71
+ ?on_chunk_received: Proc,
72
+ ?on_chunk_sent: Proc,
73
+ ?raise_response_errors: bool
74
+ ) -> void
75
+ | (?Hash[Symbol, untyped]) -> void
76
+
77
+ def client: () -> Client
78
+
79
+
80
+ end
81
+ end
82
+ end
data/sig/types.rbs ADDED
@@ -0,0 +1,130 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::SageMakerRuntime
9
+ module Types
10
+
11
+ class InternalDependencyException
12
+ attr_accessor message: ::String
13
+ SENSITIVE: []
14
+ end
15
+
16
+ class InternalFailure
17
+ attr_accessor message: ::String
18
+ SENSITIVE: []
19
+ end
20
+
21
+ class InternalStreamFailure
22
+ attr_accessor message: ::String
23
+ attr_accessor event_type: untyped
24
+ SENSITIVE: []
25
+ end
26
+
27
+ class InvokeEndpointAsyncInput
28
+ attr_accessor endpoint_name: ::String
29
+ attr_accessor content_type: ::String
30
+ attr_accessor accept: ::String
31
+ attr_accessor custom_attributes: ::String
32
+ attr_accessor inference_id: ::String
33
+ attr_accessor input_location: ::String
34
+ attr_accessor request_ttl_seconds: ::Integer
35
+ attr_accessor invocation_timeout_seconds: ::Integer
36
+ SENSITIVE: [:custom_attributes]
37
+ end
38
+
39
+ class InvokeEndpointAsyncOutput
40
+ attr_accessor inference_id: ::String
41
+ attr_accessor output_location: ::String
42
+ attr_accessor failure_location: ::String
43
+ SENSITIVE: []
44
+ end
45
+
46
+ class InvokeEndpointInput
47
+ attr_accessor endpoint_name: ::String
48
+ attr_accessor body: ::String
49
+ attr_accessor content_type: ::String
50
+ attr_accessor accept: ::String
51
+ attr_accessor custom_attributes: ::String
52
+ attr_accessor target_model: ::String
53
+ attr_accessor target_variant: ::String
54
+ attr_accessor target_container_hostname: ::String
55
+ attr_accessor inference_id: ::String
56
+ attr_accessor enable_explanations: ::String
57
+ attr_accessor inference_component_name: ::String
58
+ SENSITIVE: [:body, :custom_attributes]
59
+ end
60
+
61
+ class InvokeEndpointOutput
62
+ attr_accessor body: ::String
63
+ attr_accessor content_type: ::String
64
+ attr_accessor invoked_production_variant: ::String
65
+ attr_accessor custom_attributes: ::String
66
+ SENSITIVE: [:body, :custom_attributes]
67
+ end
68
+
69
+ class InvokeEndpointWithResponseStreamInput
70
+ attr_accessor endpoint_name: ::String
71
+ attr_accessor body: ::String
72
+ attr_accessor content_type: ::String
73
+ attr_accessor accept: ::String
74
+ attr_accessor custom_attributes: ::String
75
+ attr_accessor target_variant: ::String
76
+ attr_accessor target_container_hostname: ::String
77
+ attr_accessor inference_id: ::String
78
+ attr_accessor inference_component_name: ::String
79
+ SENSITIVE: [:body, :custom_attributes]
80
+ end
81
+
82
+ class InvokeEndpointWithResponseStreamOutput
83
+ attr_accessor body: Types::ResponseStream
84
+ attr_accessor content_type: ::String
85
+ attr_accessor invoked_production_variant: ::String
86
+ attr_accessor custom_attributes: ::String
87
+ SENSITIVE: [:custom_attributes]
88
+ end
89
+
90
+ class ModelError
91
+ attr_accessor message: ::String
92
+ attr_accessor original_status_code: ::Integer
93
+ attr_accessor original_message: ::String
94
+ attr_accessor log_stream_arn: ::String
95
+ SENSITIVE: []
96
+ end
97
+
98
+ class ModelNotReadyException
99
+ attr_accessor message: ::String
100
+ SENSITIVE: []
101
+ end
102
+
103
+ class ModelStreamError
104
+ attr_accessor message: ::String
105
+ attr_accessor error_code: ::String
106
+ attr_accessor event_type: untyped
107
+ SENSITIVE: []
108
+ end
109
+
110
+ class PayloadPart
111
+ attr_accessor bytes: ::String
112
+ attr_accessor event_type: untyped
113
+ SENSITIVE: [:bytes]
114
+ end
115
+
116
+ class ServiceUnavailable
117
+ attr_accessor message: ::String
118
+ SENSITIVE: []
119
+ end
120
+
121
+ class ValidationError
122
+ attr_accessor message: ::String
123
+ SENSITIVE: []
124
+ end
125
+
126
+ class ResponseStream < Enumerator[untyped, untyped]
127
+ def event_types: () -> [:payload_part, :model_stream_error, :internal_stream_failure]
128
+ end
129
+ end
130
+ end
data/sig/waiters.rbs ADDED
@@ -0,0 +1,13 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module SageMakerRuntime
10
+ module Waiters
11
+ end
12
+ end
13
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-sagemakerruntime
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.60.0
4
+ version: 1.62.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-29 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.188.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.188.0
32
+ version: 3.193.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -67,13 +67,18 @@ files:
67
67
  - lib/aws-sdk-sagemakerruntime/plugins/endpoints.rb
68
68
  - lib/aws-sdk-sagemakerruntime/resource.rb
69
69
  - lib/aws-sdk-sagemakerruntime/types.rb
70
+ - sig/client.rbs
71
+ - sig/errors.rbs
72
+ - sig/resource.rbs
73
+ - sig/types.rbs
74
+ - sig/waiters.rbs
70
75
  homepage: https://github.com/aws/aws-sdk-ruby
71
76
  licenses:
72
77
  - Apache-2.0
73
78
  metadata:
74
79
  source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-sagemakerruntime
75
80
  changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-sagemakerruntime/CHANGELOG.md
76
- post_install_message:
81
+ post_install_message:
77
82
  rdoc_options: []
78
83
  require_paths:
79
84
  - lib
@@ -88,8 +93,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
88
93
  - !ruby/object:Gem::Version
89
94
  version: '0'
90
95
  requirements: []
91
- rubygems_version: 3.1.6
92
- signing_key:
96
+ rubygems_version: 3.4.10
97
+ signing_key:
93
98
  specification_version: 4
94
99
  summary: AWS SDK for Ruby - Amazon SageMaker Runtime
95
100
  test_files: []