aws-sdk-sagemakerruntime 1.101.0 → 1.102.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 +25 -1
- data/lib/aws-sdk-sagemakerruntime/client_api.rb +3 -0
- data/lib/aws-sdk-sagemakerruntime/types.rb +28 -2
- data/lib/aws-sdk-sagemakerruntime.rb +1 -1
- data/sig/client.rbs +4 -2
- data/sig/types.rbs +2 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b9c6e86db82ab15d15dfc6f56ea0c9190b98e00d0e30f94350c6672b3cdd1bd3
|
|
4
|
+
data.tar.gz: a2b848b300fe18850cf76f53894c4eed22492f18c4e46361bb130374df33b1fa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1e62062664da6bed3015032f55afdd39b81ac21fb4e8f92e7c313c8b49641d8a60970ec0a9b5f6c46dfc4009e3dfe846ac24b2c1d57424efbb47039216f00657
|
|
7
|
+
data.tar.gz: 26649c221b86d4c7094ed9ee7e0e20536f7d38a775703534f825056342262d6933c1398cb03be1010a465f26f75910b99381815a97b18fda3ca1db55fd0b65b6
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.102.0 (2026-08-10)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Added the PrefixAwareId header to InvokeEndpoint and InvokeEndpointWithResponseStream. This optional parameter serves as a routing hint for endpoints configured with prefix-aware routing, differentiating routing decisions for requests that share the same prompt prefix.
|
|
8
|
+
|
|
4
9
|
1.101.0 (2026-07-09)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.102.0
|
|
@@ -631,6 +631,17 @@ module Aws::SageMakerRuntime
|
|
|
631
631
|
# any subsequent request where you specify that session ID, SageMaker AI
|
|
632
632
|
# routes the request to the same instance that supports the session.
|
|
633
633
|
#
|
|
634
|
+
# @option params [String] :prefix_aware_id
|
|
635
|
+
# An optional, stable identifier that serves as a routing hint for
|
|
636
|
+
# prefix-aware routing. The service routes requests with the same prefix
|
|
637
|
+
# and the same identifier to the same instance. If requests from
|
|
638
|
+
# different applications might have the same prompt prefix, set a
|
|
639
|
+
# different identifier for each application to differentiate their
|
|
640
|
+
# routing decisions.
|
|
641
|
+
#
|
|
642
|
+
# Applies only to endpoints configured with a `RoutingStrategy` of
|
|
643
|
+
# `PREFIX_AWARE`.
|
|
644
|
+
#
|
|
634
645
|
# @return [Types::InvokeEndpointOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
635
646
|
#
|
|
636
647
|
# * {Types::InvokeEndpointOutput#body #body} => String
|
|
@@ -655,6 +666,7 @@ module Aws::SageMakerRuntime
|
|
|
655
666
|
# enable_explanations: "EnableExplanationsHeader",
|
|
656
667
|
# inference_component_name: "InferenceComponentHeader",
|
|
657
668
|
# session_id: "SessionIdOrNewSessionConstantHeader",
|
|
669
|
+
# prefix_aware_id: "PrefixAwareIdHeader",
|
|
658
670
|
# })
|
|
659
671
|
#
|
|
660
672
|
# @example Response structure
|
|
@@ -941,6 +953,17 @@ module Aws::SageMakerRuntime
|
|
|
941
953
|
# that request provides the session ID for the `NewSessionId` response
|
|
942
954
|
# parameter.
|
|
943
955
|
#
|
|
956
|
+
# @option params [String] :prefix_aware_id
|
|
957
|
+
# An optional, stable identifier that serves as a routing hint for
|
|
958
|
+
# prefix-aware routing. The service routes requests with the same prefix
|
|
959
|
+
# and the same identifier to the same instance. If requests from
|
|
960
|
+
# different applications might have the same prompt prefix, set a
|
|
961
|
+
# different identifier for each application to differentiate their
|
|
962
|
+
# routing decisions.
|
|
963
|
+
#
|
|
964
|
+
# Applies only to endpoints configured with a `RoutingStrategy` of
|
|
965
|
+
# `PREFIX_AWARE`.
|
|
966
|
+
#
|
|
944
967
|
# @return [Types::InvokeEndpointWithResponseStreamOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
945
968
|
#
|
|
946
969
|
# * {Types::InvokeEndpointWithResponseStreamOutput#body #body} => Types::ResponseStream
|
|
@@ -1068,6 +1091,7 @@ module Aws::SageMakerRuntime
|
|
|
1068
1091
|
# inference_id: "InferenceId",
|
|
1069
1092
|
# inference_component_name: "InferenceComponentHeader",
|
|
1070
1093
|
# session_id: "SessionIdHeader",
|
|
1094
|
+
# prefix_aware_id: "PrefixAwareIdHeader",
|
|
1071
1095
|
# })
|
|
1072
1096
|
#
|
|
1073
1097
|
# @example Response structure
|
|
@@ -1135,7 +1159,7 @@ module Aws::SageMakerRuntime
|
|
|
1135
1159
|
tracer: tracer
|
|
1136
1160
|
)
|
|
1137
1161
|
context[:gem_name] = 'aws-sdk-sagemakerruntime'
|
|
1138
|
-
context[:gem_version] = '1.
|
|
1162
|
+
context[:gem_version] = '1.102.0'
|
|
1139
1163
|
Seahorse::Client::Request.new(handlers, context)
|
|
1140
1164
|
end
|
|
1141
1165
|
|
|
@@ -43,6 +43,7 @@ module Aws::SageMakerRuntime
|
|
|
43
43
|
NewSessionResponseHeader = Shapes::StringShape.new(name: 'NewSessionResponseHeader')
|
|
44
44
|
PartBlob = Shapes::BlobShape.new(name: 'PartBlob')
|
|
45
45
|
PayloadPart = Shapes::StructureShape.new(name: 'PayloadPart')
|
|
46
|
+
PrefixAwareIdHeader = Shapes::StringShape.new(name: 'PrefixAwareIdHeader')
|
|
46
47
|
RequestTTLSecondsHeader = Shapes::IntegerShape.new(name: 'RequestTTLSecondsHeader')
|
|
47
48
|
ResponseStream = Shapes::StructureShape.new(name: 'ResponseStream')
|
|
48
49
|
S3OutputPathExtensionHeader = Shapes::StringShape.new(name: 'S3OutputPathExtensionHeader')
|
|
@@ -96,6 +97,7 @@ module Aws::SageMakerRuntime
|
|
|
96
97
|
InvokeEndpointInput.add_member(:enable_explanations, Shapes::ShapeRef.new(shape: EnableExplanationsHeader, location: "header", location_name: "X-Amzn-SageMaker-Enable-Explanations"))
|
|
97
98
|
InvokeEndpointInput.add_member(:inference_component_name, Shapes::ShapeRef.new(shape: InferenceComponentHeader, location: "header", location_name: "X-Amzn-SageMaker-Inference-Component"))
|
|
98
99
|
InvokeEndpointInput.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionIdOrNewSessionConstantHeader, location: "header", location_name: "X-Amzn-SageMaker-Session-Id"))
|
|
100
|
+
InvokeEndpointInput.add_member(:prefix_aware_id, Shapes::ShapeRef.new(shape: PrefixAwareIdHeader, location: "header", location_name: "X-Amzn-SageMaker-Prefix-Aware-Id"))
|
|
99
101
|
InvokeEndpointInput.struct_class = Types::InvokeEndpointInput
|
|
100
102
|
InvokeEndpointInput[:payload] = :body
|
|
101
103
|
InvokeEndpointInput[:payload_member] = InvokeEndpointInput.member(:body)
|
|
@@ -120,6 +122,7 @@ module Aws::SageMakerRuntime
|
|
|
120
122
|
InvokeEndpointWithResponseStreamInput.add_member(:inference_id, Shapes::ShapeRef.new(shape: InferenceId, location: "header", location_name: "X-Amzn-SageMaker-Inference-Id"))
|
|
121
123
|
InvokeEndpointWithResponseStreamInput.add_member(:inference_component_name, Shapes::ShapeRef.new(shape: InferenceComponentHeader, location: "header", location_name: "X-Amzn-SageMaker-Inference-Component"))
|
|
122
124
|
InvokeEndpointWithResponseStreamInput.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionIdHeader, location: "header", location_name: "X-Amzn-SageMaker-Session-Id"))
|
|
125
|
+
InvokeEndpointWithResponseStreamInput.add_member(:prefix_aware_id, Shapes::ShapeRef.new(shape: PrefixAwareIdHeader, location: "header", location_name: "X-Amzn-SageMaker-Prefix-Aware-Id"))
|
|
123
126
|
InvokeEndpointWithResponseStreamInput.struct_class = Types::InvokeEndpointWithResponseStreamInput
|
|
124
127
|
InvokeEndpointWithResponseStreamInput[:payload] = :body
|
|
125
128
|
InvokeEndpointWithResponseStreamInput[:payload_member] = InvokeEndpointWithResponseStreamInput.member(:body)
|
|
@@ -313,6 +313,18 @@ module Aws::SageMakerRuntime
|
|
|
313
313
|
# instance that supports the session.
|
|
314
314
|
# @return [String]
|
|
315
315
|
#
|
|
316
|
+
# @!attribute [rw] prefix_aware_id
|
|
317
|
+
# An optional, stable identifier that serves as a routing hint for
|
|
318
|
+
# prefix-aware routing. The service routes requests with the same
|
|
319
|
+
# prefix and the same identifier to the same instance. If requests
|
|
320
|
+
# from different applications might have the same prompt prefix, set a
|
|
321
|
+
# different identifier for each application to differentiate their
|
|
322
|
+
# routing decisions.
|
|
323
|
+
#
|
|
324
|
+
# Applies only to endpoints configured with a `RoutingStrategy` of
|
|
325
|
+
# `PREFIX_AWARE`.
|
|
326
|
+
# @return [String]
|
|
327
|
+
#
|
|
316
328
|
# @see http://docs.aws.amazon.com/goto/WebAPI/runtime.sagemaker-2017-05-13/InvokeEndpointInput AWS API Documentation
|
|
317
329
|
#
|
|
318
330
|
class InvokeEndpointInput < Struct.new(
|
|
@@ -327,7 +339,8 @@ module Aws::SageMakerRuntime
|
|
|
327
339
|
:inference_id,
|
|
328
340
|
:enable_explanations,
|
|
329
341
|
:inference_component_name,
|
|
330
|
-
:session_id
|
|
342
|
+
:session_id,
|
|
343
|
+
:prefix_aware_id)
|
|
331
344
|
SENSITIVE = [:body, :custom_attributes]
|
|
332
345
|
include Aws::Structure
|
|
333
346
|
end
|
|
@@ -504,6 +517,18 @@ module Aws::SageMakerRuntime
|
|
|
504
517
|
# `NewSessionId` response parameter.
|
|
505
518
|
# @return [String]
|
|
506
519
|
#
|
|
520
|
+
# @!attribute [rw] prefix_aware_id
|
|
521
|
+
# An optional, stable identifier that serves as a routing hint for
|
|
522
|
+
# prefix-aware routing. The service routes requests with the same
|
|
523
|
+
# prefix and the same identifier to the same instance. If requests
|
|
524
|
+
# from different applications might have the same prompt prefix, set a
|
|
525
|
+
# different identifier for each application to differentiate their
|
|
526
|
+
# routing decisions.
|
|
527
|
+
#
|
|
528
|
+
# Applies only to endpoints configured with a `RoutingStrategy` of
|
|
529
|
+
# `PREFIX_AWARE`.
|
|
530
|
+
# @return [String]
|
|
531
|
+
#
|
|
507
532
|
# @see http://docs.aws.amazon.com/goto/WebAPI/runtime.sagemaker-2017-05-13/InvokeEndpointWithResponseStreamInput AWS API Documentation
|
|
508
533
|
#
|
|
509
534
|
class InvokeEndpointWithResponseStreamInput < Struct.new(
|
|
@@ -516,7 +541,8 @@ module Aws::SageMakerRuntime
|
|
|
516
541
|
:target_container_hostname,
|
|
517
542
|
:inference_id,
|
|
518
543
|
:inference_component_name,
|
|
519
|
-
:session_id
|
|
544
|
+
:session_id,
|
|
545
|
+
:prefix_aware_id)
|
|
520
546
|
SENSITIVE = [:body, :custom_attributes]
|
|
521
547
|
include Aws::Structure
|
|
522
548
|
end
|
data/sig/client.rbs
CHANGED
|
@@ -103,7 +103,8 @@ module Aws
|
|
|
103
103
|
?inference_id: ::String,
|
|
104
104
|
?enable_explanations: ::String,
|
|
105
105
|
?inference_component_name: ::String,
|
|
106
|
-
?session_id: ::String
|
|
106
|
+
?session_id: ::String,
|
|
107
|
+
?prefix_aware_id: ::String
|
|
107
108
|
) -> _InvokeEndpointResponseSuccess
|
|
108
109
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _InvokeEndpointResponseSuccess
|
|
109
110
|
|
|
@@ -147,7 +148,8 @@ module Aws
|
|
|
147
148
|
?target_container_hostname: ::String,
|
|
148
149
|
?inference_id: ::String,
|
|
149
150
|
?inference_component_name: ::String,
|
|
150
|
-
?session_id: ::String
|
|
151
|
+
?session_id: ::String,
|
|
152
|
+
?prefix_aware_id: ::String
|
|
151
153
|
) ?{ (*untyped) -> void } -> _InvokeEndpointWithResponseStreamResponseSuccess
|
|
152
154
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) ?{ (*untyped) -> void } -> _InvokeEndpointWithResponseStreamResponseSuccess
|
|
153
155
|
end
|
data/sig/types.rbs
CHANGED
|
@@ -59,6 +59,7 @@ module Aws::SageMakerRuntime
|
|
|
59
59
|
attr_accessor enable_explanations: ::String
|
|
60
60
|
attr_accessor inference_component_name: ::String
|
|
61
61
|
attr_accessor session_id: ::String
|
|
62
|
+
attr_accessor prefix_aware_id: ::String
|
|
62
63
|
SENSITIVE: [:body, :custom_attributes]
|
|
63
64
|
end
|
|
64
65
|
|
|
@@ -83,6 +84,7 @@ module Aws::SageMakerRuntime
|
|
|
83
84
|
attr_accessor inference_id: ::String
|
|
84
85
|
attr_accessor inference_component_name: ::String
|
|
85
86
|
attr_accessor session_id: ::String
|
|
87
|
+
attr_accessor prefix_aware_id: ::String
|
|
86
88
|
SENSITIVE: [:body, :custom_attributes]
|
|
87
89
|
end
|
|
88
90
|
|