aws-sdk-sagemakerruntime 1.37.0 → 1.41.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sagemakerruntime/client.rb +29 -14
- data/lib/aws-sdk-sagemakerruntime/client_api.rb +10 -0
- data/lib/aws-sdk-sagemakerruntime/errors.rb +32 -0
- data/lib/aws-sdk-sagemakerruntime/types.rb +35 -6
- data/lib/aws-sdk-sagemakerruntime.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ed1faee15bc628a5cd86b1a9fffc6709b1506ce1b32acbf0ebcc78cdb15f35c9
|
4
|
+
data.tar.gz: 91f61d1a1cf9ca182193d087c599678839f1e05cd7c32aa17006e77b5dece2dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 839fb5b7abb46ad61695ba67a207b98bc718a1994b1ac066ff42ec009e458abcdbad374337b4efbafd795ffb8957d10484c5ffabf6ab7e0ae7cda1a4150dc25d
|
7
|
+
data.tar.gz: f894227deabc05a7f11282686d0919bce75d3dc528d51f3e34beeef529c1735702a184489fe897b812032f5fc7198a1607b962e6a5c9b53aa2c3435737054f18
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.41.0 (2022-02-03)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.40.0 (2021-12-21)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.39.0 (2021-12-01)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Adding new exception types for InvokeEndpoint
|
18
|
+
|
19
|
+
1.38.0 (2021-11-30)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
4
24
|
1.37.0 (2021-11-04)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.41.0
|
@@ -27,6 +27,8 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
27
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
|
+
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
31
|
+
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
30
32
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
31
33
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
32
34
|
|
@@ -73,6 +75,8 @@ module Aws::SageMakerRuntime
|
|
73
75
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
74
76
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
77
|
add_plugin(Aws::Plugins::HttpChecksum)
|
78
|
+
add_plugin(Aws::Plugins::DefaultsMode)
|
79
|
+
add_plugin(Aws::Plugins::RecursionDetection)
|
76
80
|
add_plugin(Aws::Plugins::SignatureV4)
|
77
81
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
78
82
|
|
@@ -119,7 +123,9 @@ module Aws::SageMakerRuntime
|
|
119
123
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
124
|
# are very aggressive. Construct and pass an instance of
|
121
125
|
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
-
# enable retries and extended timeouts.
|
126
|
+
# enable retries and extended timeouts. Instance profile credential
|
127
|
+
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
128
|
+
# to true.
|
123
129
|
#
|
124
130
|
# @option options [required, String] :region
|
125
131
|
# The AWS region to connect to. The configured `:region` is
|
@@ -173,6 +179,10 @@ module Aws::SageMakerRuntime
|
|
173
179
|
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
174
180
|
# a clock skew correction and retry requests with skewed client clocks.
|
175
181
|
#
|
182
|
+
# @option options [String] :defaults_mode ("legacy")
|
183
|
+
# See {Aws::DefaultsModeConfiguration} for a list of the
|
184
|
+
# accepted modes and the configuration defaults that are included.
|
185
|
+
#
|
176
186
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
177
187
|
# Set to true to disable SDK automatically adding host prefix
|
178
188
|
# to default service endpoint when available.
|
@@ -295,7 +305,7 @@ module Aws::SageMakerRuntime
|
|
295
305
|
# seconds to wait when opening a HTTP session before raising a
|
296
306
|
# `Timeout::Error`.
|
297
307
|
#
|
298
|
-
# @option options [
|
308
|
+
# @option options [Float] :http_read_timeout (60) The default
|
299
309
|
# number of seconds to wait for response data. This value can
|
300
310
|
# safely be set per-request on the session.
|
301
311
|
#
|
@@ -311,6 +321,9 @@ module Aws::SageMakerRuntime
|
|
311
321
|
# disables this behaviour. This value can safely be set per
|
312
322
|
# request on the session.
|
313
323
|
#
|
324
|
+
# @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
|
325
|
+
# in seconds.
|
326
|
+
#
|
314
327
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
315
328
|
# HTTP debug output will be sent to the `:logger`.
|
316
329
|
#
|
@@ -347,9 +360,10 @@ module Aws::SageMakerRuntime
|
|
347
360
|
# rely on the behavior of headers outside those enumerated in the
|
348
361
|
# request syntax.
|
349
362
|
#
|
350
|
-
# Calls to `InvokeEndpoint` are authenticated by using
|
351
|
-
# Version 4. For information, see [Authenticating
|
352
|
-
# Signature Version 4)][2] in the *Amazon
|
363
|
+
# Calls to `InvokeEndpoint` are authenticated by using Amazon Web
|
364
|
+
# Services Signature Version 4. For information, see [Authenticating
|
365
|
+
# Requests (Amazon Web Services Signature Version 4)][2] in the *Amazon
|
366
|
+
# S3 API Reference*.
|
353
367
|
#
|
354
368
|
# A customer's model containers must respond to requests within 60
|
355
369
|
# seconds. The model itself can have a maximum processing time of 60
|
@@ -411,8 +425,8 @@ module Aws::SageMakerRuntime
|
|
411
425
|
# custom attribute represents the trace ID, your model can prepend the
|
412
426
|
# custom attribute with `Trace ID:` in your post-processing function.
|
413
427
|
#
|
414
|
-
# This feature is currently supported in the
|
415
|
-
# Amazon SageMaker Python SDK.
|
428
|
+
# This feature is currently supported in the Amazon Web Services SDKs
|
429
|
+
# but not in the Amazon SageMaker Python SDK.
|
416
430
|
#
|
417
431
|
#
|
418
432
|
#
|
@@ -502,13 +516,14 @@ module Aws::SageMakerRuntime
|
|
502
516
|
# rely on the behavior of headers outside those enumerated in the
|
503
517
|
# request syntax.
|
504
518
|
#
|
505
|
-
# Calls to `InvokeEndpointAsync` are authenticated by using
|
506
|
-
# Signature Version 4. For information, see [Authenticating
|
507
|
-
# (
|
519
|
+
# Calls to `InvokeEndpointAsync` are authenticated by using Amazon Web
|
520
|
+
# Services Signature Version 4. For information, see [Authenticating
|
521
|
+
# Requests (Amazon Web Services Signature Version 4)][1] in the *Amazon
|
522
|
+
# S3 API Reference*.
|
508
523
|
#
|
509
524
|
#
|
510
525
|
#
|
511
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html
|
526
|
+
# [1]: https://docs.aws.amazon.com/https:/docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html
|
512
527
|
#
|
513
528
|
# @option params [required, String] :endpoint_name
|
514
529
|
# The name of the endpoint that you specified when you created the
|
@@ -540,8 +555,8 @@ module Aws::SageMakerRuntime
|
|
540
555
|
# custom attribute represents the trace ID, your model can prepend the
|
541
556
|
# custom attribute with `Trace ID`\: in your post-processing function.
|
542
557
|
#
|
543
|
-
# This feature is currently supported in the
|
544
|
-
# Amazon SageMaker Python SDK.
|
558
|
+
# This feature is currently supported in the Amazon Web Services SDKs
|
559
|
+
# but not in the Amazon SageMaker Python SDK.
|
545
560
|
#
|
546
561
|
#
|
547
562
|
#
|
@@ -602,7 +617,7 @@ module Aws::SageMakerRuntime
|
|
602
617
|
params: params,
|
603
618
|
config: config)
|
604
619
|
context[:gem_name] = 'aws-sdk-sagemakerruntime'
|
605
|
-
context[:gem_version] = '1.
|
620
|
+
context[:gem_version] = '1.41.0'
|
606
621
|
Seahorse::Client::Request.new(handlers, context)
|
607
622
|
end
|
608
623
|
|
@@ -19,6 +19,7 @@ module Aws::SageMakerRuntime
|
|
19
19
|
Header = Shapes::StringShape.new(name: 'Header')
|
20
20
|
InferenceId = Shapes::StringShape.new(name: 'InferenceId')
|
21
21
|
InputLocationHeader = Shapes::StringShape.new(name: 'InputLocationHeader')
|
22
|
+
InternalDependencyException = Shapes::StructureShape.new(name: 'InternalDependencyException')
|
22
23
|
InternalFailure = Shapes::StructureShape.new(name: 'InternalFailure')
|
23
24
|
InvokeEndpointAsyncInput = Shapes::StructureShape.new(name: 'InvokeEndpointAsyncInput')
|
24
25
|
InvokeEndpointAsyncOutput = Shapes::StructureShape.new(name: 'InvokeEndpointAsyncOutput')
|
@@ -27,6 +28,7 @@ module Aws::SageMakerRuntime
|
|
27
28
|
LogStreamArn = Shapes::StringShape.new(name: 'LogStreamArn')
|
28
29
|
Message = Shapes::StringShape.new(name: 'Message')
|
29
30
|
ModelError = Shapes::StructureShape.new(name: 'ModelError')
|
31
|
+
ModelNotReadyException = Shapes::StructureShape.new(name: 'ModelNotReadyException')
|
30
32
|
RequestTTLSecondsHeader = Shapes::IntegerShape.new(name: 'RequestTTLSecondsHeader')
|
31
33
|
ServiceUnavailable = Shapes::StructureShape.new(name: 'ServiceUnavailable')
|
32
34
|
StatusCode = Shapes::IntegerShape.new(name: 'StatusCode')
|
@@ -35,6 +37,9 @@ module Aws::SageMakerRuntime
|
|
35
37
|
TargetVariantHeader = Shapes::StringShape.new(name: 'TargetVariantHeader')
|
36
38
|
ValidationError = Shapes::StructureShape.new(name: 'ValidationError')
|
37
39
|
|
40
|
+
InternalDependencyException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
|
41
|
+
InternalDependencyException.struct_class = Types::InternalDependencyException
|
42
|
+
|
38
43
|
InternalFailure.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
|
39
44
|
InternalFailure.struct_class = Types::InternalFailure
|
40
45
|
|
@@ -78,6 +83,9 @@ module Aws::SageMakerRuntime
|
|
78
83
|
ModelError.add_member(:log_stream_arn, Shapes::ShapeRef.new(shape: LogStreamArn, location_name: "LogStreamArn"))
|
79
84
|
ModelError.struct_class = Types::ModelError
|
80
85
|
|
86
|
+
ModelNotReadyException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
|
87
|
+
ModelNotReadyException.struct_class = Types::ModelNotReadyException
|
88
|
+
|
81
89
|
ServiceUnavailable.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
|
82
90
|
ServiceUnavailable.struct_class = Types::ServiceUnavailable
|
83
91
|
|
@@ -112,6 +120,8 @@ module Aws::SageMakerRuntime
|
|
112
120
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailable)
|
113
121
|
o.errors << Shapes::ShapeRef.new(shape: ValidationError)
|
114
122
|
o.errors << Shapes::ShapeRef.new(shape: ModelError)
|
123
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalDependencyException)
|
124
|
+
o.errors << Shapes::ShapeRef.new(shape: ModelNotReadyException)
|
115
125
|
end)
|
116
126
|
|
117
127
|
api.add_operation(:invoke_endpoint_async, Seahorse::Model::Operation.new.tap do |o|
|
@@ -27,8 +27,10 @@ module Aws::SageMakerRuntime
|
|
27
27
|
# See {Seahorse::Client::RequestContext} for more information.
|
28
28
|
#
|
29
29
|
# ## Error Classes
|
30
|
+
# * {InternalDependencyException}
|
30
31
|
# * {InternalFailure}
|
31
32
|
# * {ModelError}
|
33
|
+
# * {ModelNotReadyException}
|
32
34
|
# * {ServiceUnavailable}
|
33
35
|
# * {ValidationError}
|
34
36
|
#
|
@@ -38,6 +40,21 @@ module Aws::SageMakerRuntime
|
|
38
40
|
|
39
41
|
extend Aws::Errors::DynamicErrors
|
40
42
|
|
43
|
+
class InternalDependencyException < ServiceError
|
44
|
+
|
45
|
+
# @param [Seahorse::Client::RequestContext] context
|
46
|
+
# @param [String] message
|
47
|
+
# @param [Aws::SageMakerRuntime::Types::InternalDependencyException] data
|
48
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
49
|
+
super(context, message, data)
|
50
|
+
end
|
51
|
+
|
52
|
+
# @return [String]
|
53
|
+
def message
|
54
|
+
@message || @data[:message]
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
41
58
|
class InternalFailure < ServiceError
|
42
59
|
|
43
60
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -83,6 +100,21 @@ module Aws::SageMakerRuntime
|
|
83
100
|
end
|
84
101
|
end
|
85
102
|
|
103
|
+
class ModelNotReadyException < ServiceError
|
104
|
+
|
105
|
+
# @param [Seahorse::Client::RequestContext] context
|
106
|
+
# @param [String] message
|
107
|
+
# @param [Aws::SageMakerRuntime::Types::ModelNotReadyException] data
|
108
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
109
|
+
super(context, message, data)
|
110
|
+
end
|
111
|
+
|
112
|
+
# @return [String]
|
113
|
+
def message
|
114
|
+
@message || @data[:message]
|
115
|
+
end
|
116
|
+
end
|
117
|
+
|
86
118
|
class ServiceUnavailable < ServiceError
|
87
119
|
|
88
120
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -10,6 +10,20 @@
|
|
10
10
|
module Aws::SageMakerRuntime
|
11
11
|
module Types
|
12
12
|
|
13
|
+
# Your request caused an exception with an internal dependency. Contact
|
14
|
+
# customer support.
|
15
|
+
#
|
16
|
+
# @!attribute [rw] message
|
17
|
+
# @return [String]
|
18
|
+
#
|
19
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/runtime.sagemaker-2017-05-13/InternalDependencyException AWS API Documentation
|
20
|
+
#
|
21
|
+
class InternalDependencyException < Struct.new(
|
22
|
+
:message)
|
23
|
+
SENSITIVE = []
|
24
|
+
include Aws::Structure
|
25
|
+
end
|
26
|
+
|
13
27
|
# An internal failure occurred.
|
14
28
|
#
|
15
29
|
# @!attribute [rw] message
|
@@ -70,8 +84,8 @@ module Aws::SageMakerRuntime
|
|
70
84
|
# custom attribute represents the trace ID, your model can prepend the
|
71
85
|
# custom attribute with `Trace ID`\: in your post-processing function.
|
72
86
|
#
|
73
|
-
# This feature is currently supported in the
|
74
|
-
# Amazon SageMaker Python SDK.
|
87
|
+
# This feature is currently supported in the Amazon Web Services SDKs
|
88
|
+
# but not in the Amazon SageMaker Python SDK.
|
75
89
|
#
|
76
90
|
#
|
77
91
|
#
|
@@ -187,8 +201,8 @@ module Aws::SageMakerRuntime
|
|
187
201
|
# custom attribute represents the trace ID, your model can prepend the
|
188
202
|
# custom attribute with `Trace ID:` in your post-processing function.
|
189
203
|
#
|
190
|
-
# This feature is currently supported in the
|
191
|
-
# Amazon SageMaker Python SDK.
|
204
|
+
# This feature is currently supported in the Amazon Web Services SDKs
|
205
|
+
# but not in the Amazon SageMaker Python SDK.
|
192
206
|
#
|
193
207
|
#
|
194
208
|
#
|
@@ -285,8 +299,8 @@ module Aws::SageMakerRuntime
|
|
285
299
|
# custom attribute represents the trace ID, your model can prepend the
|
286
300
|
# custom attribute with `Trace ID:` in your post-processing function.
|
287
301
|
#
|
288
|
-
# This feature is currently supported in the
|
289
|
-
# Amazon SageMaker Python SDK.
|
302
|
+
# This feature is currently supported in the Amazon Web Services SDKs
|
303
|
+
# but not in the Amazon SageMaker Python SDK.
|
290
304
|
#
|
291
305
|
#
|
292
306
|
#
|
@@ -333,6 +347,21 @@ module Aws::SageMakerRuntime
|
|
333
347
|
include Aws::Structure
|
334
348
|
end
|
335
349
|
|
350
|
+
# Either a serverless endpoint variant's resources are still being
|
351
|
+
# provisioned, or a multi-model endpoint is still downloading or loading
|
352
|
+
# the target model. Wait and try your request again.
|
353
|
+
#
|
354
|
+
# @!attribute [rw] message
|
355
|
+
# @return [String]
|
356
|
+
#
|
357
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/runtime.sagemaker-2017-05-13/ModelNotReadyException AWS API Documentation
|
358
|
+
#
|
359
|
+
class ModelNotReadyException < Struct.new(
|
360
|
+
:message)
|
361
|
+
SENSITIVE = []
|
362
|
+
include Aws::Structure
|
363
|
+
end
|
364
|
+
|
336
365
|
# The service is unavailable. Try your call again.
|
337
366
|
#
|
338
367
|
# @!attribute [rw] message
|
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.
|
4
|
+
version: 1.41.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:
|
11
|
+
date: 2022-02-03 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.
|
22
|
+
version: 3.126.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.
|
32
|
+
version: 3.126.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|