aws-sdk-sagemakerruntime 1.99.0 → 1.100.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: 521bce0dfcacafbf3f65f553fdb15994168d9dc043869e844d5f2be1dca0e946
4
- data.tar.gz: 05146f351d7fec043adf247de9cb5e91d4b5b25408dceaf6a34b8491c515544b
3
+ metadata.gz: 58a3c60ad1cf2575396e47e049ff12d7846e0269cff286f9caccf42649701f4b
4
+ data.tar.gz: b5bcf0ba4bb92e6a717925c93e593d3ff89a21ef8aee63d646411aa22b6e6396
5
5
  SHA512:
6
- metadata.gz: 150994a97f1f1e6587cbf5801b58670ed0ead5804c0e1fdcd435ad62bfb86ef77660d1bed3ccf2c49815ef530aa853c83f2f46b73f5a8e025caa9193f0a9a5fe
7
- data.tar.gz: e619dceb200a3934d4214964b846822b6ca656d52b60ed39e315fc51255dce048ab7978cb2be5182b1d87aa97ed8fc596b2a5effb7a52651fa9eb1b8c96d9826
6
+ metadata.gz: 6cfeef4b2fa2a4f14d3596d3e7a50a105b352248dbfa5aea40fd32cd745c1292b91affc08500d40eaaad44575735958693e7d2000f9634f2c70199f27f69f8d7
7
+ data.tar.gz: 116a50f2fbd0d96815a26c4a6035abcb989185b9b2fa6f79435aafb0273144b4b979e6b289c59e6c25ac16b5d72032a8d5f8e4df453c21ed2c18929be2fa0983
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.100.0 (2026-06-12)
5
+ ------------------
6
+
7
+ * Feature - Added support for inline request payloads to the InvokeEndpointAsync operation to allow users to provide the inference payload directly in the request Body (up to 128,000 bytes) as an alternative to uploading the payload to Amazon S3 and passing InputLocation.
8
+
4
9
  1.99.0 (2026-05-28)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.99.0
1
+ 1.100.0
@@ -742,7 +742,7 @@ module Aws::SageMakerRuntime
742
742
  # The identifier for the inference request. Amazon SageMaker AI will
743
743
  # generate an identifier for you if none is specified.
744
744
  #
745
- # @option params [required, String] :input_location
745
+ # @option params [String] :input_location
746
746
  # The Amazon S3 URI where the inference request payload is stored.
747
747
  #
748
748
  # @option params [String] :s3_output_path_extension
@@ -762,6 +762,23 @@ module Aws::SageMakerRuntime
762
762
  # Maximum amount of time in seconds a request can be processed before it
763
763
  # is marked as expired. The default is 15 minutes, or 900 seconds.
764
764
  #
765
+ # @option params [String, StringIO, File] :body
766
+ # Provides inline input data for the inference request, in the format
767
+ # specified in the `ContentType` request header. Use this parameter to
768
+ # send the request payload directly in the API call instead of uploading
769
+ # it to Amazon S3 and referencing it with `InputLocation`. The inline
770
+ # payload can be up to 128,000 bytes.
771
+ #
772
+ # `Body` and `InputLocation` are mutually exclusive. Provide exactly one
773
+ # of them.
774
+ #
775
+ # For information about the format of the request body, see [Common Data
776
+ # Formats-Inference][1].
777
+ #
778
+ #
779
+ #
780
+ # [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/cdf-inference.html
781
+ #
765
782
  # @return [Types::InvokeEndpointAsyncOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
766
783
  #
767
784
  # * {Types::InvokeEndpointAsyncOutput#inference_id #inference_id} => String
@@ -776,11 +793,12 @@ module Aws::SageMakerRuntime
776
793
  # accept: "Header",
777
794
  # custom_attributes: "CustomAttributesHeader",
778
795
  # inference_id: "InferenceId",
779
- # input_location: "InputLocationHeader", # required
796
+ # input_location: "InputLocationHeader",
780
797
  # s3_output_path_extension: "S3OutputPathExtensionHeader",
781
798
  # filename: "FilenameHeader",
782
799
  # request_ttl_seconds: 1,
783
800
  # invocation_timeout_seconds: 1,
801
+ # body: "data",
784
802
  # })
785
803
  #
786
804
  # @example Response structure
@@ -1117,7 +1135,7 @@ module Aws::SageMakerRuntime
1117
1135
  tracer: tracer
1118
1136
  )
1119
1137
  context[:gem_name] = 'aws-sdk-sagemakerruntime'
1120
- context[:gem_version] = '1.99.0'
1138
+ context[:gem_version] = '1.100.0'
1121
1139
  Seahorse::Client::Request.new(handlers, context)
1122
1140
  end
1123
1141
 
@@ -14,6 +14,7 @@ module Aws::SageMakerRuntime
14
14
 
15
15
  include Seahorse::Model
16
16
 
17
+ AsyncBodyBlob = Shapes::BlobShape.new(name: 'AsyncBodyBlob')
17
18
  BodyBlob = Shapes::BlobShape.new(name: 'BodyBlob')
18
19
  CustomAttributesHeader = Shapes::StringShape.new(name: 'CustomAttributesHeader')
19
20
  EnableExplanationsHeader = Shapes::StringShape.new(name: 'EnableExplanationsHeader')
@@ -68,12 +69,15 @@ module Aws::SageMakerRuntime
68
69
  InvokeEndpointAsyncInput.add_member(:accept, Shapes::ShapeRef.new(shape: Header, location: "header", location_name: "X-Amzn-SageMaker-Accept"))
69
70
  InvokeEndpointAsyncInput.add_member(:custom_attributes, Shapes::ShapeRef.new(shape: CustomAttributesHeader, location: "header", location_name: "X-Amzn-SageMaker-Custom-Attributes"))
70
71
  InvokeEndpointAsyncInput.add_member(:inference_id, Shapes::ShapeRef.new(shape: InferenceId, location: "header", location_name: "X-Amzn-SageMaker-Inference-Id"))
71
- InvokeEndpointAsyncInput.add_member(:input_location, Shapes::ShapeRef.new(shape: InputLocationHeader, required: true, location: "header", location_name: "X-Amzn-SageMaker-InputLocation"))
72
+ InvokeEndpointAsyncInput.add_member(:input_location, Shapes::ShapeRef.new(shape: InputLocationHeader, location: "header", location_name: "X-Amzn-SageMaker-InputLocation"))
72
73
  InvokeEndpointAsyncInput.add_member(:s3_output_path_extension, Shapes::ShapeRef.new(shape: S3OutputPathExtensionHeader, location: "header", location_name: "X-Amzn-SageMaker-S3OutputPathExtension"))
73
74
  InvokeEndpointAsyncInput.add_member(:filename, Shapes::ShapeRef.new(shape: FilenameHeader, location: "header", location_name: "X-Amzn-SageMaker-Filename"))
74
75
  InvokeEndpointAsyncInput.add_member(:request_ttl_seconds, Shapes::ShapeRef.new(shape: RequestTTLSecondsHeader, location: "header", location_name: "X-Amzn-SageMaker-RequestTTLSeconds"))
75
76
  InvokeEndpointAsyncInput.add_member(:invocation_timeout_seconds, Shapes::ShapeRef.new(shape: InvocationTimeoutSecondsHeader, location: "header", location_name: "X-Amzn-SageMaker-InvocationTimeoutSeconds"))
77
+ InvokeEndpointAsyncInput.add_member(:body, Shapes::ShapeRef.new(shape: AsyncBodyBlob, location_name: "Body"))
76
78
  InvokeEndpointAsyncInput.struct_class = Types::InvokeEndpointAsyncInput
79
+ InvokeEndpointAsyncInput[:payload] = :body
80
+ InvokeEndpointAsyncInput[:payload_member] = InvokeEndpointAsyncInput.member(:body)
77
81
 
78
82
  InvokeEndpointAsyncOutput.add_member(:inference_id, Shapes::ShapeRef.new(shape: Header, location_name: "InferenceId"))
79
83
  InvokeEndpointAsyncOutput.add_member(:output_location, Shapes::ShapeRef.new(shape: Header, location: "header", location_name: "X-Amzn-SageMaker-OutputLocation"))
@@ -125,6 +125,24 @@ module Aws::SageMakerRuntime
125
125
  # it is marked as expired. The default is 15 minutes, or 900 seconds.
126
126
  # @return [Integer]
127
127
  #
128
+ # @!attribute [rw] body
129
+ # Provides inline input data for the inference request, in the format
130
+ # specified in the `ContentType` request header. Use this parameter to
131
+ # send the request payload directly in the API call instead of
132
+ # uploading it to Amazon S3 and referencing it with `InputLocation`.
133
+ # The inline payload can be up to 128,000 bytes.
134
+ #
135
+ # `Body` and `InputLocation` are mutually exclusive. Provide exactly
136
+ # one of them.
137
+ #
138
+ # For information about the format of the request body, see [Common
139
+ # Data Formats-Inference][1].
140
+ #
141
+ #
142
+ #
143
+ # [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/cdf-inference.html
144
+ # @return [String]
145
+ #
128
146
  # @see http://docs.aws.amazon.com/goto/WebAPI/runtime.sagemaker-2017-05-13/InvokeEndpointAsyncInput AWS API Documentation
129
147
  #
130
148
  class InvokeEndpointAsyncInput < Struct.new(
@@ -137,8 +155,9 @@ module Aws::SageMakerRuntime
137
155
  :s3_output_path_extension,
138
156
  :filename,
139
157
  :request_ttl_seconds,
140
- :invocation_timeout_seconds)
141
- SENSITIVE = [:custom_attributes]
158
+ :invocation_timeout_seconds,
159
+ :body)
160
+ SENSITIVE = [:custom_attributes, :body]
142
161
  include Aws::Structure
143
162
  end
144
163
 
@@ -55,7 +55,7 @@ module Aws::SageMakerRuntime
55
55
  autoload :Endpoints, 'aws-sdk-sagemakerruntime/endpoints'
56
56
  autoload :EventStreams, 'aws-sdk-sagemakerruntime/event_streams'
57
57
 
58
- GEM_VERSION = '1.99.0'
58
+ GEM_VERSION = '1.100.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -120,11 +120,12 @@ module Aws
120
120
  ?accept: ::String,
121
121
  ?custom_attributes: ::String,
122
122
  ?inference_id: ::String,
123
- input_location: ::String,
123
+ ?input_location: ::String,
124
124
  ?s3_output_path_extension: ::String,
125
125
  ?filename: ::String,
126
126
  ?request_ttl_seconds: ::Integer,
127
- ?invocation_timeout_seconds: ::Integer
127
+ ?invocation_timeout_seconds: ::Integer,
128
+ ?body: ::String
128
129
  ) -> _InvokeEndpointAsyncResponseSuccess
129
130
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _InvokeEndpointAsyncResponseSuccess
130
131
 
data/sig/types.rbs CHANGED
@@ -35,7 +35,8 @@ module Aws::SageMakerRuntime
35
35
  attr_accessor filename: ::String
36
36
  attr_accessor request_ttl_seconds: ::Integer
37
37
  attr_accessor invocation_timeout_seconds: ::Integer
38
- SENSITIVE: [:custom_attributes]
38
+ attr_accessor body: ::String
39
+ SENSITIVE: [:custom_attributes, :body]
39
40
  end
40
41
 
41
42
  class InvokeEndpointAsyncOutput
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-sagemakerruntime
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.99.0
4
+ version: 1.100.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services