aws-sdk-sagemakerruntime 1.21.0 → 1.22.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f18debde30066c1db3b20c328c9e4eb474242b95b084bd05aeb9899eaa230327
|
4
|
+
data.tar.gz: 59b632aafc5b89bfeb36094158bdd724edd2970d6a382f86f730d1d8dd3fd448
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9577701f1ed2578a4245580c99e41cf29cfe1a6e7e96ddbb015ea2efbed53b42bfd180921b697ad225807e836479bac12c78ee536511e8d050d3cb832560e63c
|
7
|
+
data.tar.gz: e3946c986263c01f6c31434c8efbe7aa2bbd3e4939885d03c3dbed82bfe6c73de9be6a8946e81b55b71114f6ffa7f3e8f991831d667bf06bb601a679ae2b0353
|
@@ -355,7 +355,7 @@ module Aws::SageMakerRuntime
|
|
355
355
|
# the model.
|
356
356
|
#
|
357
357
|
# For information about the format of the request body, see [Common Data
|
358
|
-
# Formats
|
358
|
+
# Formats-Inference][1].
|
359
359
|
#
|
360
360
|
#
|
361
361
|
#
|
@@ -384,8 +384,14 @@ module Aws::SageMakerRuntime
|
|
384
384
|
# [1]: https://tools.ietf.org/html/rfc7230#section-3.2.6
|
385
385
|
#
|
386
386
|
# @option params [String] :target_model
|
387
|
-
#
|
388
|
-
#
|
387
|
+
# The model to request for inference when invoking a multi-model
|
388
|
+
# endpoint.
|
389
|
+
#
|
390
|
+
# @option params [String] :target_variant
|
391
|
+
# Specify the production variant to send the inference request to when
|
392
|
+
# invoking an endpoint that is running two or more variants. Note that
|
393
|
+
# this parameter overrides the default behavior for the endpoint, which
|
394
|
+
# is to distribute the invocation traffic based on the variant weights.
|
389
395
|
#
|
390
396
|
# @return [Types::InvokeEndpointOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
391
397
|
#
|
@@ -403,6 +409,7 @@ module Aws::SageMakerRuntime
|
|
403
409
|
# accept: "Header",
|
404
410
|
# custom_attributes: "CustomAttributesHeader",
|
405
411
|
# target_model: "TargetModelHeader",
|
412
|
+
# target_variant: "TargetVariantHeader",
|
406
413
|
# })
|
407
414
|
#
|
408
415
|
# @example Response structure
|
@@ -434,7 +441,7 @@ module Aws::SageMakerRuntime
|
|
434
441
|
params: params,
|
435
442
|
config: config)
|
436
443
|
context[:gem_name] = 'aws-sdk-sagemakerruntime'
|
437
|
-
context[:gem_version] = '1.
|
444
|
+
context[:gem_version] = '1.22.0'
|
438
445
|
Seahorse::Client::Request.new(handlers, context)
|
439
446
|
end
|
440
447
|
|
@@ -24,6 +24,7 @@ module Aws::SageMakerRuntime
|
|
24
24
|
ServiceUnavailable = Shapes::StructureShape.new(name: 'ServiceUnavailable')
|
25
25
|
StatusCode = Shapes::IntegerShape.new(name: 'StatusCode')
|
26
26
|
TargetModelHeader = Shapes::StringShape.new(name: 'TargetModelHeader')
|
27
|
+
TargetVariantHeader = Shapes::StringShape.new(name: 'TargetVariantHeader')
|
27
28
|
ValidationError = Shapes::StructureShape.new(name: 'ValidationError')
|
28
29
|
|
29
30
|
InternalFailure.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
|
@@ -35,6 +36,7 @@ module Aws::SageMakerRuntime
|
|
35
36
|
InvokeEndpointInput.add_member(:accept, Shapes::ShapeRef.new(shape: Header, location: "header", location_name: "Accept"))
|
36
37
|
InvokeEndpointInput.add_member(:custom_attributes, Shapes::ShapeRef.new(shape: CustomAttributesHeader, location: "header", location_name: "X-Amzn-SageMaker-Custom-Attributes"))
|
37
38
|
InvokeEndpointInput.add_member(:target_model, Shapes::ShapeRef.new(shape: TargetModelHeader, location: "header", location_name: "X-Amzn-SageMaker-Target-Model"))
|
39
|
+
InvokeEndpointInput.add_member(:target_variant, Shapes::ShapeRef.new(shape: TargetVariantHeader, location: "header", location_name: "X-Amzn-SageMaker-Target-Variant"))
|
38
40
|
InvokeEndpointInput.struct_class = Types::InvokeEndpointInput
|
39
41
|
InvokeEndpointInput[:payload] = :body
|
40
42
|
InvokeEndpointInput[:payload_member] = InvokeEndpointInput.member(:body)
|
@@ -30,6 +30,7 @@ module Aws::SageMakerRuntime
|
|
30
30
|
# accept: "Header",
|
31
31
|
# custom_attributes: "CustomAttributesHeader",
|
32
32
|
# target_model: "TargetModelHeader",
|
33
|
+
# target_variant: "TargetVariantHeader",
|
33
34
|
# }
|
34
35
|
#
|
35
36
|
# @!attribute [rw] endpoint_name
|
@@ -47,7 +48,7 @@ module Aws::SageMakerRuntime
|
|
47
48
|
# to the model.
|
48
49
|
#
|
49
50
|
# For information about the format of the request body, see [Common
|
50
|
-
# Data Formats
|
51
|
+
# Data Formats-Inference][1].
|
51
52
|
#
|
52
53
|
#
|
53
54
|
#
|
@@ -80,8 +81,16 @@ module Aws::SageMakerRuntime
|
|
80
81
|
# @return [String]
|
81
82
|
#
|
82
83
|
# @!attribute [rw] target_model
|
83
|
-
#
|
84
|
-
#
|
84
|
+
# The model to request for inference when invoking a multi-model
|
85
|
+
# endpoint.
|
86
|
+
# @return [String]
|
87
|
+
#
|
88
|
+
# @!attribute [rw] target_variant
|
89
|
+
# Specify the production variant to send the inference request to when
|
90
|
+
# invoking an endpoint that is running two or more variants. Note that
|
91
|
+
# this parameter overrides the default behavior for the endpoint,
|
92
|
+
# which is to distribute the invocation traffic based on the variant
|
93
|
+
# weights.
|
85
94
|
# @return [String]
|
86
95
|
#
|
87
96
|
# @see http://docs.aws.amazon.com/goto/WebAPI/runtime.sagemaker-2017-05-13/InvokeEndpointInput AWS API Documentation
|
@@ -92,7 +101,8 @@ module Aws::SageMakerRuntime
|
|
92
101
|
:content_type,
|
93
102
|
:accept,
|
94
103
|
:custom_attributes,
|
95
|
-
:target_model
|
104
|
+
:target_model,
|
105
|
+
:target_variant)
|
96
106
|
include Aws::Structure
|
97
107
|
end
|
98
108
|
|
@@ -100,7 +110,7 @@ module Aws::SageMakerRuntime
|
|
100
110
|
# Includes the inference provided by the model.
|
101
111
|
#
|
102
112
|
# For information about the format of the response body, see [Common
|
103
|
-
# Data Formats
|
113
|
+
# Data Formats-Inference][1].
|
104
114
|
#
|
105
115
|
#
|
106
116
|
#
|
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.22.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: 2020-05
|
11
|
+
date: 2020-06-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|