aws-sdk-sagemakerruntime 1.25.0 → 1.30.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: 2597f4295a90f8536ef35ff25ebfdc9f028f553eeb2561c6a77cfda19714ed04
|
4
|
+
data.tar.gz: a3c8d1b0ccf7d6332d72c6460119cc6ca3f8bcb476024b37c9113dded785fb03
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 19e3cfa618d814f1cc54d7cd4b13c65c27f9d08780f4c9d30a25466f68e4f3a45df783e697478f3dfb2c293d1f0ed4ed27309707e6921e5d93bc941b03040de4
|
7
|
+
data.tar.gz: 65347b213ff37cf98a0558c19b153c2a8e169721e25c0f9fb5a5ac09d6c287ae954fb05062847d63a17c23b3e28e7e8df5fd49661f7a5025d464d6a480cb8931
|
@@ -7,6 +7,7 @@
|
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
10
|
+
|
10
11
|
require 'aws-sdk-core'
|
11
12
|
require 'aws-sigv4'
|
12
13
|
|
@@ -47,6 +48,6 @@ require_relative 'aws-sdk-sagemakerruntime/customizations'
|
|
47
48
|
# @!group service
|
48
49
|
module Aws::SageMakerRuntime
|
49
50
|
|
50
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.30.0'
|
51
52
|
|
52
53
|
end
|
@@ -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,27 @@ 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] :target_container_hostname
|
430
|
+
# If the endpoint hosts multiple containers and is configured to use
|
431
|
+
# direct invocation, this parameter specifies the host name of the
|
432
|
+
# container to invoke.
|
433
|
+
#
|
434
|
+
# @option params [String] :inference_id
|
435
|
+
# If you provide a value, it is added to the captured data when you
|
436
|
+
# enable data capture on the endpoint. For information about data
|
437
|
+
# capture, see [Capture Data][1].
|
438
|
+
#
|
439
|
+
#
|
440
|
+
#
|
441
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/model-monitor-data-capture.html
|
442
|
+
#
|
415
443
|
# @return [Types::InvokeEndpointOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
416
444
|
#
|
417
445
|
# * {Types::InvokeEndpointOutput#body #body} => String
|
@@ -429,6 +457,8 @@ module Aws::SageMakerRuntime
|
|
429
457
|
# custom_attributes: "CustomAttributesHeader",
|
430
458
|
# target_model: "TargetModelHeader",
|
431
459
|
# target_variant: "TargetVariantHeader",
|
460
|
+
# target_container_hostname: "TargetContainerHostnameHeader",
|
461
|
+
# inference_id: "InferenceId",
|
432
462
|
# })
|
433
463
|
#
|
434
464
|
# @example Response structure
|
@@ -460,7 +490,7 @@ module Aws::SageMakerRuntime
|
|
460
490
|
params: params,
|
461
491
|
config: config)
|
462
492
|
context[:gem_name] = 'aws-sdk-sagemakerruntime'
|
463
|
-
context[:gem_version] = '1.
|
493
|
+
context[:gem_version] = '1.30.0'
|
464
494
|
Seahorse::Client::Request.new(handlers, context)
|
465
495
|
end
|
466
496
|
|
@@ -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')
|
@@ -25,6 +26,7 @@ module Aws::SageMakerRuntime
|
|
25
26
|
ModelError = Shapes::StructureShape.new(name: 'ModelError')
|
26
27
|
ServiceUnavailable = Shapes::StructureShape.new(name: 'ServiceUnavailable')
|
27
28
|
StatusCode = Shapes::IntegerShape.new(name: 'StatusCode')
|
29
|
+
TargetContainerHostnameHeader = Shapes::StringShape.new(name: 'TargetContainerHostnameHeader')
|
28
30
|
TargetModelHeader = Shapes::StringShape.new(name: 'TargetModelHeader')
|
29
31
|
TargetVariantHeader = Shapes::StringShape.new(name: 'TargetVariantHeader')
|
30
32
|
ValidationError = Shapes::StructureShape.new(name: 'ValidationError')
|
@@ -39,6 +41,8 @@ module Aws::SageMakerRuntime
|
|
39
41
|
InvokeEndpointInput.add_member(:custom_attributes, Shapes::ShapeRef.new(shape: CustomAttributesHeader, location: "header", location_name: "X-Amzn-SageMaker-Custom-Attributes"))
|
40
42
|
InvokeEndpointInput.add_member(:target_model, Shapes::ShapeRef.new(shape: TargetModelHeader, location: "header", location_name: "X-Amzn-SageMaker-Target-Model"))
|
41
43
|
InvokeEndpointInput.add_member(:target_variant, Shapes::ShapeRef.new(shape: TargetVariantHeader, location: "header", location_name: "X-Amzn-SageMaker-Target-Variant"))
|
44
|
+
InvokeEndpointInput.add_member(:target_container_hostname, Shapes::ShapeRef.new(shape: TargetContainerHostnameHeader, location: "header", location_name: "X-Amzn-SageMaker-Target-Container-Hostname"))
|
45
|
+
InvokeEndpointInput.add_member(:inference_id, Shapes::ShapeRef.new(shape: InferenceId, location: "header", location_name: "X-Amzn-SageMaker-Inference-Id"))
|
42
46
|
InvokeEndpointInput.struct_class = Types::InvokeEndpointInput
|
43
47
|
InvokeEndpointInput[:payload] = :body
|
44
48
|
InvokeEndpointInput[:payload_member] = InvokeEndpointInput.member(:body)
|
@@ -34,6 +34,8 @@ module Aws::SageMakerRuntime
|
|
34
34
|
# custom_attributes: "CustomAttributesHeader",
|
35
35
|
# target_model: "TargetModelHeader",
|
36
36
|
# target_variant: "TargetVariantHeader",
|
37
|
+
# target_container_hostname: "TargetContainerHostnameHeader",
|
38
|
+
# inference_id: "InferenceId",
|
37
39
|
# }
|
38
40
|
#
|
39
41
|
# @!attribute [rw] endpoint_name
|
@@ -75,8 +77,16 @@ module Aws::SageMakerRuntime
|
|
75
77
|
# was programmed to process. The value must consist of no more than
|
76
78
|
# 1024 visible US-ASCII characters as specified in [Section 3.3.6.
|
77
79
|
# Field Value Components][1] of the Hypertext Transfer Protocol
|
78
|
-
# (HTTP/1.1).
|
79
|
-
#
|
80
|
+
# (HTTP/1.1).
|
81
|
+
#
|
82
|
+
# The code in your model is responsible for setting or updating any
|
83
|
+
# custom attributes in the response. If your code does not set this
|
84
|
+
# value in the response, an empty value is returned. For example, if a
|
85
|
+
# custom attribute represents the trace ID, your model can prepend the
|
86
|
+
# custom attribute with `Trace ID:` in your post-processing function.
|
87
|
+
#
|
88
|
+
# This feature is currently supported in the AWS SDKs but not in the
|
89
|
+
# Amazon SageMaker Python SDK.
|
80
90
|
#
|
81
91
|
#
|
82
92
|
#
|
@@ -94,6 +104,29 @@ module Aws::SageMakerRuntime
|
|
94
104
|
# this parameter overrides the default behavior for the endpoint,
|
95
105
|
# which is to distribute the invocation traffic based on the variant
|
96
106
|
# weights.
|
107
|
+
#
|
108
|
+
# For information about how to use variant targeting to perform a/b
|
109
|
+
# testing, see [Test models in production][1]
|
110
|
+
#
|
111
|
+
#
|
112
|
+
#
|
113
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/model-ab-testing.html
|
114
|
+
# @return [String]
|
115
|
+
#
|
116
|
+
# @!attribute [rw] target_container_hostname
|
117
|
+
# If the endpoint hosts multiple containers and is configured to use
|
118
|
+
# direct invocation, this parameter specifies the host name of the
|
119
|
+
# container to invoke.
|
120
|
+
# @return [String]
|
121
|
+
#
|
122
|
+
# @!attribute [rw] inference_id
|
123
|
+
# If you provide a value, it is added to the captured data when you
|
124
|
+
# enable data capture on the endpoint. For information about data
|
125
|
+
# capture, see [Capture Data][1].
|
126
|
+
#
|
127
|
+
#
|
128
|
+
#
|
129
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/model-monitor-data-capture.html
|
97
130
|
# @return [String]
|
98
131
|
#
|
99
132
|
# @see http://docs.aws.amazon.com/goto/WebAPI/runtime.sagemaker-2017-05-13/InvokeEndpointInput AWS API Documentation
|
@@ -105,7 +138,9 @@ module Aws::SageMakerRuntime
|
|
105
138
|
:accept,
|
106
139
|
:custom_attributes,
|
107
140
|
:target_model,
|
108
|
-
:target_variant
|
141
|
+
:target_variant,
|
142
|
+
:target_container_hostname,
|
143
|
+
:inference_id)
|
109
144
|
SENSITIVE = [:body, :custom_attributes]
|
110
145
|
include Aws::Structure
|
111
146
|
end
|
@@ -142,6 +177,12 @@ module Aws::SageMakerRuntime
|
|
142
177
|
# returned, the model must set the custom attribute to be included on
|
143
178
|
# the way back.
|
144
179
|
#
|
180
|
+
# The code in your model is responsible for setting or updating any
|
181
|
+
# custom attributes in the response. If your code does not set this
|
182
|
+
# value in the response, an empty value is returned. For example, if a
|
183
|
+
# custom attribute represents the trace ID, your model can prepend the
|
184
|
+
# custom attribute with `Trace ID:` in your post-processing function.
|
185
|
+
#
|
145
186
|
# This feature is currently supported in the AWS SDKs but not in the
|
146
187
|
# Amazon SageMaker Python SDK.
|
147
188
|
#
|
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.30.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: 2021-02-22 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.112.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.112.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|