aws-sdk-sagemakerruntime 1.38.0 → 1.39.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sagemakerruntime/client.rb +14 -12
- 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 +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1925a82c1ff1bc7b252607d2347fec837dc02aabdbe20259977e50a2c9c95005
|
4
|
+
data.tar.gz: 6f7347e0b052d2c717742757edb1ee29e9ba350fb152191df6fea550f8701331
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 378b269f667f26dd3c314c1086f9cfff1fdd5f0f755f670ac9ba2916d6f252bb16f86825c6fc3a5030e3589fea4d1c4550356f67366734887c626bf969ef9566
|
7
|
+
data.tar.gz: ea64fc5efc6f8e16366e2b21eb5c67c0dc09c4c57aac3811eba7ef9f1c0a3cce8e43916610c18e0c9ee70a69cea8394808ccd2b01bbf8c0f76ba93c8a611471e
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.39.0
|
@@ -349,9 +349,10 @@ module Aws::SageMakerRuntime
|
|
349
349
|
# rely on the behavior of headers outside those enumerated in the
|
350
350
|
# request syntax.
|
351
351
|
#
|
352
|
-
# Calls to `InvokeEndpoint` are authenticated by using
|
353
|
-
# Version 4. For information, see [Authenticating
|
354
|
-
# Signature Version 4)][2] in the *Amazon
|
352
|
+
# Calls to `InvokeEndpoint` are authenticated by using Amazon Web
|
353
|
+
# Services Signature Version 4. For information, see [Authenticating
|
354
|
+
# Requests (Amazon Web Services Signature Version 4)][2] in the *Amazon
|
355
|
+
# S3 API Reference*.
|
355
356
|
#
|
356
357
|
# A customer's model containers must respond to requests within 60
|
357
358
|
# seconds. The model itself can have a maximum processing time of 60
|
@@ -413,8 +414,8 @@ module Aws::SageMakerRuntime
|
|
413
414
|
# custom attribute represents the trace ID, your model can prepend the
|
414
415
|
# custom attribute with `Trace ID:` in your post-processing function.
|
415
416
|
#
|
416
|
-
# This feature is currently supported in the
|
417
|
-
# Amazon SageMaker Python SDK.
|
417
|
+
# This feature is currently supported in the Amazon Web Services SDKs
|
418
|
+
# but not in the Amazon SageMaker Python SDK.
|
418
419
|
#
|
419
420
|
#
|
420
421
|
#
|
@@ -504,13 +505,14 @@ module Aws::SageMakerRuntime
|
|
504
505
|
# rely on the behavior of headers outside those enumerated in the
|
505
506
|
# request syntax.
|
506
507
|
#
|
507
|
-
# Calls to `InvokeEndpointAsync` are authenticated by using
|
508
|
-
# Signature Version 4. For information, see [Authenticating
|
509
|
-
# (
|
508
|
+
# Calls to `InvokeEndpointAsync` are authenticated by using Amazon Web
|
509
|
+
# Services Signature Version 4. For information, see [Authenticating
|
510
|
+
# Requests (Amazon Web Services Signature Version 4)][1] in the *Amazon
|
511
|
+
# S3 API Reference*.
|
510
512
|
#
|
511
513
|
#
|
512
514
|
#
|
513
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html
|
515
|
+
# [1]: https://docs.aws.amazon.com/https:/docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html
|
514
516
|
#
|
515
517
|
# @option params [required, String] :endpoint_name
|
516
518
|
# The name of the endpoint that you specified when you created the
|
@@ -542,8 +544,8 @@ module Aws::SageMakerRuntime
|
|
542
544
|
# custom attribute represents the trace ID, your model can prepend the
|
543
545
|
# custom attribute with `Trace ID`\: in your post-processing function.
|
544
546
|
#
|
545
|
-
# This feature is currently supported in the
|
546
|
-
# Amazon SageMaker Python SDK.
|
547
|
+
# This feature is currently supported in the Amazon Web Services SDKs
|
548
|
+
# but not in the Amazon SageMaker Python SDK.
|
547
549
|
#
|
548
550
|
#
|
549
551
|
#
|
@@ -604,7 +606,7 @@ module Aws::SageMakerRuntime
|
|
604
606
|
params: params,
|
605
607
|
config: config)
|
606
608
|
context[:gem_name] = 'aws-sdk-sagemakerruntime'
|
607
|
-
context[:gem_version] = '1.
|
609
|
+
context[:gem_version] = '1.39.0'
|
608
610
|
Seahorse::Client::Request.new(handlers, context)
|
609
611
|
end
|
610
612
|
|
@@ -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.39.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: 2021-
|
11
|
+
date: 2021-12-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|