aws-sdk-sagemakerruntime 1.12.0 → 1.13.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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 551a65ceced38777c21918cea279714c11080bc8
|
4
|
+
data.tar.gz: 8dc7fdafbc6f0d69b337aade00f07b5a4e015944
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 240e9aa7e6d8ee86a84df3634063f2a9a246942cdaf6dc53695bcd2c29ddf270ae3efd1c49faa9f9abc56d793064b574b0b98ef96d2e803f0bc2adf5de1be6bf
|
7
|
+
data.tar.gz: b7b4d82cddf4674f9068117be965cd182477229552ed66ae41201f5c584eb8dd15c9a7dd2e1ec27b50da91dd225114f6981dd2a0ea3c6083f7ad27d5a783083f
|
@@ -351,7 +351,7 @@ module Aws::SageMakerRuntime
|
|
351
351
|
params: params,
|
352
352
|
config: config)
|
353
353
|
context[:gem_name] = 'aws-sdk-sagemakerruntime'
|
354
|
-
context[:gem_version] = '1.
|
354
|
+
context[:gem_version] = '1.13.0'
|
355
355
|
Seahorse::Client::Request.new(handlers, context)
|
356
356
|
end
|
357
357
|
|
@@ -25,6 +25,9 @@ module Aws::SageMakerRuntime
|
|
25
25
|
StatusCode = Shapes::IntegerShape.new(name: 'StatusCode')
|
26
26
|
ValidationError = Shapes::StructureShape.new(name: 'ValidationError')
|
27
27
|
|
28
|
+
InternalFailure.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
|
29
|
+
InternalFailure.struct_class = Types::InternalFailure
|
30
|
+
|
28
31
|
InvokeEndpointInput.add_member(:endpoint_name, Shapes::ShapeRef.new(shape: EndpointName, required: true, location: "uri", location_name: "EndpointName"))
|
29
32
|
InvokeEndpointInput.add_member(:body, Shapes::ShapeRef.new(shape: BodyBlob, required: true, location_name: "Body"))
|
30
33
|
InvokeEndpointInput.add_member(:content_type, Shapes::ShapeRef.new(shape: Header, location: "header", location_name: "Content-Type"))
|
@@ -42,6 +45,18 @@ module Aws::SageMakerRuntime
|
|
42
45
|
InvokeEndpointOutput[:payload] = :body
|
43
46
|
InvokeEndpointOutput[:payload_member] = InvokeEndpointOutput.member(:body)
|
44
47
|
|
48
|
+
ModelError.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
|
49
|
+
ModelError.add_member(:original_status_code, Shapes::ShapeRef.new(shape: StatusCode, location_name: "OriginalStatusCode"))
|
50
|
+
ModelError.add_member(:original_message, Shapes::ShapeRef.new(shape: Message, location_name: "OriginalMessage"))
|
51
|
+
ModelError.add_member(:log_stream_arn, Shapes::ShapeRef.new(shape: LogStreamArn, location_name: "LogStreamArn"))
|
52
|
+
ModelError.struct_class = Types::ModelError
|
53
|
+
|
54
|
+
ServiceUnavailable.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
|
55
|
+
ServiceUnavailable.struct_class = Types::ServiceUnavailable
|
56
|
+
|
57
|
+
ValidationError.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
|
58
|
+
ValidationError.struct_class = Types::ValidationError
|
59
|
+
|
45
60
|
|
46
61
|
# @api private
|
47
62
|
API = Seahorse::Model::Api.new.tap do |api|
|
@@ -10,5 +10,84 @@ module Aws::SageMakerRuntime
|
|
10
10
|
|
11
11
|
extend Aws::Errors::DynamicErrors
|
12
12
|
|
13
|
+
class InternalFailure < ServiceError
|
14
|
+
|
15
|
+
# @param [Seahorse::Client::RequestContext] context
|
16
|
+
# @param [String] message
|
17
|
+
# @param [Aws::SageMakerRuntime::Types::InternalFailure] data
|
18
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
19
|
+
super(context, message, data)
|
20
|
+
end
|
21
|
+
|
22
|
+
# @return [String]
|
23
|
+
def message
|
24
|
+
@message || @data[:message]
|
25
|
+
end
|
26
|
+
|
27
|
+
end
|
28
|
+
|
29
|
+
class ModelError < ServiceError
|
30
|
+
|
31
|
+
# @param [Seahorse::Client::RequestContext] context
|
32
|
+
# @param [String] message
|
33
|
+
# @param [Aws::SageMakerRuntime::Types::ModelError] data
|
34
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
35
|
+
super(context, message, data)
|
36
|
+
end
|
37
|
+
|
38
|
+
# @return [String]
|
39
|
+
def message
|
40
|
+
@message || @data[:message]
|
41
|
+
end
|
42
|
+
|
43
|
+
# @return [String]
|
44
|
+
def original_status_code
|
45
|
+
@data[:original_status_code]
|
46
|
+
end
|
47
|
+
|
48
|
+
# @return [String]
|
49
|
+
def original_message
|
50
|
+
@data[:original_message]
|
51
|
+
end
|
52
|
+
|
53
|
+
# @return [String]
|
54
|
+
def log_stream_arn
|
55
|
+
@data[:log_stream_arn]
|
56
|
+
end
|
57
|
+
|
58
|
+
end
|
59
|
+
|
60
|
+
class ServiceUnavailable < ServiceError
|
61
|
+
|
62
|
+
# @param [Seahorse::Client::RequestContext] context
|
63
|
+
# @param [String] message
|
64
|
+
# @param [Aws::SageMakerRuntime::Types::ServiceUnavailable] data
|
65
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
66
|
+
super(context, message, data)
|
67
|
+
end
|
68
|
+
|
69
|
+
# @return [String]
|
70
|
+
def message
|
71
|
+
@message || @data[:message]
|
72
|
+
end
|
73
|
+
|
74
|
+
end
|
75
|
+
|
76
|
+
class ValidationError < ServiceError
|
77
|
+
|
78
|
+
# @param [Seahorse::Client::RequestContext] context
|
79
|
+
# @param [String] message
|
80
|
+
# @param [Aws::SageMakerRuntime::Types::ValidationError] data
|
81
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
82
|
+
super(context, message, data)
|
83
|
+
end
|
84
|
+
|
85
|
+
# @return [String]
|
86
|
+
def message
|
87
|
+
@message || @data[:message]
|
88
|
+
end
|
89
|
+
|
90
|
+
end
|
91
|
+
|
13
92
|
end
|
14
93
|
end
|
@@ -8,6 +8,18 @@
|
|
8
8
|
module Aws::SageMakerRuntime
|
9
9
|
module Types
|
10
10
|
|
11
|
+
# An internal failure occurred.
|
12
|
+
#
|
13
|
+
# @!attribute [rw] message
|
14
|
+
# @return [String]
|
15
|
+
#
|
16
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/runtime.sagemaker-2017-05-13/InternalFailure AWS API Documentation
|
17
|
+
#
|
18
|
+
class InternalFailure < Struct.new(
|
19
|
+
:message)
|
20
|
+
include Aws::Structure
|
21
|
+
end
|
22
|
+
|
11
23
|
# @note When making an API call, you may pass InvokeEndpointInput
|
12
24
|
# data as a hash:
|
13
25
|
#
|
@@ -95,5 +107,56 @@ module Aws::SageMakerRuntime
|
|
95
107
|
include Aws::Structure
|
96
108
|
end
|
97
109
|
|
110
|
+
# Model (owned by the customer in the container) returned an error 500.
|
111
|
+
#
|
112
|
+
# @!attribute [rw] message
|
113
|
+
# @return [String]
|
114
|
+
#
|
115
|
+
# @!attribute [rw] original_status_code
|
116
|
+
# Original status code.
|
117
|
+
# @return [Integer]
|
118
|
+
#
|
119
|
+
# @!attribute [rw] original_message
|
120
|
+
# Original message.
|
121
|
+
# @return [String]
|
122
|
+
#
|
123
|
+
# @!attribute [rw] log_stream_arn
|
124
|
+
# The Amazon Resource Name (ARN) of the log stream.
|
125
|
+
# @return [String]
|
126
|
+
#
|
127
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/runtime.sagemaker-2017-05-13/ModelError AWS API Documentation
|
128
|
+
#
|
129
|
+
class ModelError < Struct.new(
|
130
|
+
:message,
|
131
|
+
:original_status_code,
|
132
|
+
:original_message,
|
133
|
+
:log_stream_arn)
|
134
|
+
include Aws::Structure
|
135
|
+
end
|
136
|
+
|
137
|
+
# The service is unavailable. Try your call again.
|
138
|
+
#
|
139
|
+
# @!attribute [rw] message
|
140
|
+
# @return [String]
|
141
|
+
#
|
142
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/runtime.sagemaker-2017-05-13/ServiceUnavailable AWS API Documentation
|
143
|
+
#
|
144
|
+
class ServiceUnavailable < Struct.new(
|
145
|
+
:message)
|
146
|
+
include Aws::Structure
|
147
|
+
end
|
148
|
+
|
149
|
+
# Inspect your request and try again.
|
150
|
+
#
|
151
|
+
# @!attribute [rw] message
|
152
|
+
# @return [String]
|
153
|
+
#
|
154
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/runtime.sagemaker-2017-05-13/ValidationError AWS API Documentation
|
155
|
+
#
|
156
|
+
class ValidationError < Struct.new(
|
157
|
+
:message)
|
158
|
+
include Aws::Structure
|
159
|
+
end
|
160
|
+
|
98
161
|
end
|
99
162
|
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.
|
4
|
+
version: 1.13.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: 2019-05-
|
11
|
+
date: 2019-05-21 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.53.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.53.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|