aws-sdk-sagemakerruntime 1.27.0 → 1.28.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
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cded68dcd4624cbf74ede1f2cac28a1e7d8242be313b6264a69f6c39aa5a5826
|
|
4
|
+
data.tar.gz: 6ec657ff9c5ded9de7486541920586577333945142c98e8423bfaf8fd20d1277
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c11683f434a92bab254d1b2955e8f82ee7321f25a48d6e1586a0bf48c8a30ed6f1db95c2041805a92d7b462c3c8d4752e9c04eeae4afc771d232be496cc1a3f2
|
|
7
|
+
data.tar.gz: 5e09be43dd4181e21ad1d3e152624324a1b83e519c71524667135c3174fc04d5e1fc51f110137052e937d3f677bd0a6b70bd7c1a3baf2e09c0326abe13a2cda3
|
|
@@ -344,9 +344,9 @@ module Aws::SageMakerRuntime
|
|
|
344
344
|
#
|
|
345
345
|
# A customer's model containers must respond to requests within 60
|
|
346
346
|
# seconds. The model itself can have a maximum processing time of 60
|
|
347
|
-
# seconds before responding to
|
|
348
|
-
#
|
|
349
|
-
#
|
|
347
|
+
# seconds before responding to invocations. If your model is going to
|
|
348
|
+
# take 50-60 seconds of processing time, the SDK socket timeout should
|
|
349
|
+
# be set to be 70 seconds.
|
|
350
350
|
#
|
|
351
351
|
# <note markdown="1"> Endpoints are scoped to an individual account, and are not public. The
|
|
352
352
|
# URL does not contain the account ID, but Amazon SageMaker determines
|
|
@@ -358,7 +358,7 @@ module Aws::SageMakerRuntime
|
|
|
358
358
|
#
|
|
359
359
|
#
|
|
360
360
|
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/how-it-works.html
|
|
361
|
-
# [2]:
|
|
361
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html
|
|
362
362
|
#
|
|
363
363
|
# @option params [required, String] :endpoint_name
|
|
364
364
|
# The name of the endpoint that you specified when you created the
|
|
@@ -395,6 +395,13 @@ module Aws::SageMakerRuntime
|
|
|
395
395
|
# was programmed to process. The value must consist of no more than 1024
|
|
396
396
|
# visible US-ASCII characters as specified in [Section 3.3.6. Field
|
|
397
397
|
# Value Components][1] of the Hypertext Transfer Protocol (HTTP/1.1).
|
|
398
|
+
#
|
|
399
|
+
# The code in your model is responsible for setting or updating any
|
|
400
|
+
# custom attributes in the response. If your code does not set this
|
|
401
|
+
# value in the response, an empty value is returned. For example, if a
|
|
402
|
+
# custom attribute represents the trace ID, your model can prepend the
|
|
403
|
+
# custom attribute with `Trace ID:` in your post-processing function.
|
|
404
|
+
#
|
|
398
405
|
# This feature is currently supported in the AWS SDKs but not in the
|
|
399
406
|
# Amazon SageMaker Python SDK.
|
|
400
407
|
#
|
|
@@ -412,6 +419,22 @@ module Aws::SageMakerRuntime
|
|
|
412
419
|
# this parameter overrides the default behavior for the endpoint, which
|
|
413
420
|
# is to distribute the invocation traffic based on the variant weights.
|
|
414
421
|
#
|
|
422
|
+
# For information about how to use variant targeting to perform a/b
|
|
423
|
+
# testing, see [Test models in production][1]
|
|
424
|
+
#
|
|
425
|
+
#
|
|
426
|
+
#
|
|
427
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/model-ab-testing.html
|
|
428
|
+
#
|
|
429
|
+
# @option params [String] :inference_id
|
|
430
|
+
# If you provide a value, it is added to the captured data when you
|
|
431
|
+
# enable data capture on the endpoint. For information about data
|
|
432
|
+
# capture, see [Capture Data][1].
|
|
433
|
+
#
|
|
434
|
+
#
|
|
435
|
+
#
|
|
436
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/model-monitor-data-capture.html
|
|
437
|
+
#
|
|
415
438
|
# @return [Types::InvokeEndpointOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
416
439
|
#
|
|
417
440
|
# * {Types::InvokeEndpointOutput#body #body} => String
|
|
@@ -429,6 +452,7 @@ module Aws::SageMakerRuntime
|
|
|
429
452
|
# custom_attributes: "CustomAttributesHeader",
|
|
430
453
|
# target_model: "TargetModelHeader",
|
|
431
454
|
# target_variant: "TargetVariantHeader",
|
|
455
|
+
# inference_id: "InferenceId",
|
|
432
456
|
# })
|
|
433
457
|
#
|
|
434
458
|
# @example Response structure
|
|
@@ -460,7 +484,7 @@ module Aws::SageMakerRuntime
|
|
|
460
484
|
params: params,
|
|
461
485
|
config: config)
|
|
462
486
|
context[:gem_name] = 'aws-sdk-sagemakerruntime'
|
|
463
|
-
context[:gem_version] = '1.
|
|
487
|
+
context[:gem_version] = '1.28.0'
|
|
464
488
|
Seahorse::Client::Request.new(handlers, context)
|
|
465
489
|
end
|
|
466
490
|
|
|
@@ -17,6 +17,7 @@ module Aws::SageMakerRuntime
|
|
|
17
17
|
CustomAttributesHeader = Shapes::StringShape.new(name: 'CustomAttributesHeader')
|
|
18
18
|
EndpointName = Shapes::StringShape.new(name: 'EndpointName')
|
|
19
19
|
Header = Shapes::StringShape.new(name: 'Header')
|
|
20
|
+
InferenceId = Shapes::StringShape.new(name: 'InferenceId')
|
|
20
21
|
InternalFailure = Shapes::StructureShape.new(name: 'InternalFailure')
|
|
21
22
|
InvokeEndpointInput = Shapes::StructureShape.new(name: 'InvokeEndpointInput')
|
|
22
23
|
InvokeEndpointOutput = Shapes::StructureShape.new(name: 'InvokeEndpointOutput')
|
|
@@ -39,6 +40,7 @@ module Aws::SageMakerRuntime
|
|
|
39
40
|
InvokeEndpointInput.add_member(:custom_attributes, Shapes::ShapeRef.new(shape: CustomAttributesHeader, location: "header", location_name: "X-Amzn-SageMaker-Custom-Attributes"))
|
|
40
41
|
InvokeEndpointInput.add_member(:target_model, Shapes::ShapeRef.new(shape: TargetModelHeader, location: "header", location_name: "X-Amzn-SageMaker-Target-Model"))
|
|
41
42
|
InvokeEndpointInput.add_member(:target_variant, Shapes::ShapeRef.new(shape: TargetVariantHeader, location: "header", location_name: "X-Amzn-SageMaker-Target-Variant"))
|
|
43
|
+
InvokeEndpointInput.add_member(:inference_id, Shapes::ShapeRef.new(shape: InferenceId, location: "header", location_name: "X-Amzn-SageMaker-Inference-Id"))
|
|
42
44
|
InvokeEndpointInput.struct_class = Types::InvokeEndpointInput
|
|
43
45
|
InvokeEndpointInput[:payload] = :body
|
|
44
46
|
InvokeEndpointInput[:payload_member] = InvokeEndpointInput.member(:body)
|
|
@@ -34,6 +34,7 @@ module Aws::SageMakerRuntime
|
|
|
34
34
|
# custom_attributes: "CustomAttributesHeader",
|
|
35
35
|
# target_model: "TargetModelHeader",
|
|
36
36
|
# target_variant: "TargetVariantHeader",
|
|
37
|
+
# inference_id: "InferenceId",
|
|
37
38
|
# }
|
|
38
39
|
#
|
|
39
40
|
# @!attribute [rw] endpoint_name
|
|
@@ -75,8 +76,16 @@ module Aws::SageMakerRuntime
|
|
|
75
76
|
# was programmed to process. The value must consist of no more than
|
|
76
77
|
# 1024 visible US-ASCII characters as specified in [Section 3.3.6.
|
|
77
78
|
# Field Value Components][1] of the Hypertext Transfer Protocol
|
|
78
|
-
# (HTTP/1.1).
|
|
79
|
-
#
|
|
79
|
+
# (HTTP/1.1).
|
|
80
|
+
#
|
|
81
|
+
# The code in your model is responsible for setting or updating any
|
|
82
|
+
# custom attributes in the response. If your code does not set this
|
|
83
|
+
# value in the response, an empty value is returned. For example, if a
|
|
84
|
+
# custom attribute represents the trace ID, your model can prepend the
|
|
85
|
+
# custom attribute with `Trace ID:` in your post-processing function.
|
|
86
|
+
#
|
|
87
|
+
# This feature is currently supported in the AWS SDKs but not in the
|
|
88
|
+
# Amazon SageMaker Python SDK.
|
|
80
89
|
#
|
|
81
90
|
#
|
|
82
91
|
#
|
|
@@ -94,6 +103,23 @@ module Aws::SageMakerRuntime
|
|
|
94
103
|
# this parameter overrides the default behavior for the endpoint,
|
|
95
104
|
# which is to distribute the invocation traffic based on the variant
|
|
96
105
|
# weights.
|
|
106
|
+
#
|
|
107
|
+
# For information about how to use variant targeting to perform a/b
|
|
108
|
+
# testing, see [Test models in production][1]
|
|
109
|
+
#
|
|
110
|
+
#
|
|
111
|
+
#
|
|
112
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/model-ab-testing.html
|
|
113
|
+
# @return [String]
|
|
114
|
+
#
|
|
115
|
+
# @!attribute [rw] inference_id
|
|
116
|
+
# If you provide a value, it is added to the captured data when you
|
|
117
|
+
# enable data capture on the endpoint. For information about data
|
|
118
|
+
# capture, see [Capture Data][1].
|
|
119
|
+
#
|
|
120
|
+
#
|
|
121
|
+
#
|
|
122
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/model-monitor-data-capture.html
|
|
97
123
|
# @return [String]
|
|
98
124
|
#
|
|
99
125
|
# @see http://docs.aws.amazon.com/goto/WebAPI/runtime.sagemaker-2017-05-13/InvokeEndpointInput AWS API Documentation
|
|
@@ -105,7 +131,8 @@ module Aws::SageMakerRuntime
|
|
|
105
131
|
:accept,
|
|
106
132
|
:custom_attributes,
|
|
107
133
|
:target_model,
|
|
108
|
-
:target_variant
|
|
134
|
+
:target_variant,
|
|
135
|
+
:inference_id)
|
|
109
136
|
SENSITIVE = [:body, :custom_attributes]
|
|
110
137
|
include Aws::Structure
|
|
111
138
|
end
|
|
@@ -142,6 +169,12 @@ module Aws::SageMakerRuntime
|
|
|
142
169
|
# returned, the model must set the custom attribute to be included on
|
|
143
170
|
# the way back.
|
|
144
171
|
#
|
|
172
|
+
# The code in your model is responsible for setting or updating any
|
|
173
|
+
# custom attributes in the response. If your code does not set this
|
|
174
|
+
# value in the response, an empty value is returned. For example, if a
|
|
175
|
+
# custom attribute represents the trace ID, your model can prepend the
|
|
176
|
+
# custom attribute with `Trace ID:` in your post-processing function.
|
|
177
|
+
#
|
|
145
178
|
# This feature is currently supported in the AWS SDKs but not in the
|
|
146
179
|
# Amazon SageMaker Python SDK.
|
|
147
180
|
#
|
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.28.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-
|
|
11
|
+
date: 2020-12-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|