aws-sdk-sagemakerruntime 1.45.0 → 1.46.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 +9 -4
- data/lib/aws-sdk-sagemakerruntime/client_api.rb +2 -0
- data/lib/aws-sdk-sagemakerruntime/endpoint_parameters.rb +3 -0
- data/lib/aws-sdk-sagemakerruntime/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-sagemakerruntime/types.rb +8 -2
- data/lib/aws-sdk-sagemakerruntime.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dffca72ceb2be78f7717466a2b8cf1a49f4aab20835e8ca83098c131c75fea3a
|
4
|
+
data.tar.gz: 709fd3182de54c976a18efbf5ffad65a020295caccdc1399e41481443971d844
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dad5f51288282780aa97cdc831dbdc2a73809d994f8763f2d14dd6c402f4abf1813c5b724c168f8bec2632cb0a783e2e14da90065e59d3520898b02f62abb520
|
7
|
+
data.tar.gz: 76b28cde32b9e28698871acfbfae9e074888906132b9a0139e9305ec2e9b6a62910536ae79c265e2a5cd203cc56fad1c9a7b966fdec2925f56f03ebccf612a98
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.46.0 (2023-01-27)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Amazon SageMaker Runtime which supports InvokeEndpointAsync asynchronously can now invoke endpoints with custom timeout values. Asynchronous invocations support longer processing times.
|
8
|
+
|
4
9
|
1.45.0 (2023-01-18)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.46.0
|
@@ -490,7 +490,7 @@ module Aws::SageMakerRuntime
|
|
490
490
|
#
|
491
491
|
#
|
492
492
|
#
|
493
|
-
# [1]: https://docs.aws.amazon.com/clarify-online-explainability-create-endpoint.html#clarify-online-
|
493
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/clarify-online-explainability-create-endpoint.html#clarify-online-explainability-create-endpoint-enable
|
494
494
|
#
|
495
495
|
# @return [Types::InvokeEndpointOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
496
496
|
#
|
@@ -537,7 +537,7 @@ module Aws::SageMakerRuntime
|
|
537
537
|
#
|
538
538
|
# Inference requests sent to this API are enqueued for asynchronous
|
539
539
|
# processing. The processing of the inference request may or may not
|
540
|
-
# complete before
|
540
|
+
# complete before you receive a response from this API. The response
|
541
541
|
# from this API will not contain the result of the inference request but
|
542
542
|
# contain information about where you can locate it.
|
543
543
|
#
|
@@ -553,7 +553,7 @@ module Aws::SageMakerRuntime
|
|
553
553
|
#
|
554
554
|
#
|
555
555
|
#
|
556
|
-
# [1]: https://docs.aws.amazon.com/
|
556
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html
|
557
557
|
#
|
558
558
|
# @option params [required, String] :endpoint_name
|
559
559
|
# The name of the endpoint that you specified when you created the
|
@@ -603,6 +603,10 @@ module Aws::SageMakerRuntime
|
|
603
603
|
# Maximum age in seconds a request can be in the queue before it is
|
604
604
|
# marked as expired.
|
605
605
|
#
|
606
|
+
# @option params [Integer] :invocation_timeout_seconds
|
607
|
+
# Maximum amount of time in seconds a request can be processed before it
|
608
|
+
# is marked as expired.
|
609
|
+
#
|
606
610
|
# @return [Types::InvokeEndpointAsyncOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
607
611
|
#
|
608
612
|
# * {Types::InvokeEndpointAsyncOutput#inference_id #inference_id} => String
|
@@ -618,6 +622,7 @@ module Aws::SageMakerRuntime
|
|
618
622
|
# inference_id: "InferenceId",
|
619
623
|
# input_location: "InputLocationHeader", # required
|
620
624
|
# request_ttl_seconds: 1,
|
625
|
+
# invocation_timeout_seconds: 1,
|
621
626
|
# })
|
622
627
|
#
|
623
628
|
# @example Response structure
|
@@ -647,7 +652,7 @@ module Aws::SageMakerRuntime
|
|
647
652
|
params: params,
|
648
653
|
config: config)
|
649
654
|
context[:gem_name] = 'aws-sdk-sagemakerruntime'
|
650
|
-
context[:gem_version] = '1.
|
655
|
+
context[:gem_version] = '1.46.0'
|
651
656
|
Seahorse::Client::Request.new(handlers, context)
|
652
657
|
end
|
653
658
|
|
@@ -22,6 +22,7 @@ module Aws::SageMakerRuntime
|
|
22
22
|
InputLocationHeader = Shapes::StringShape.new(name: 'InputLocationHeader')
|
23
23
|
InternalDependencyException = Shapes::StructureShape.new(name: 'InternalDependencyException')
|
24
24
|
InternalFailure = Shapes::StructureShape.new(name: 'InternalFailure')
|
25
|
+
InvocationTimeoutSecondsHeader = Shapes::IntegerShape.new(name: 'InvocationTimeoutSecondsHeader')
|
25
26
|
InvokeEndpointAsyncInput = Shapes::StructureShape.new(name: 'InvokeEndpointAsyncInput')
|
26
27
|
InvokeEndpointAsyncOutput = Shapes::StructureShape.new(name: 'InvokeEndpointAsyncOutput')
|
27
28
|
InvokeEndpointInput = Shapes::StructureShape.new(name: 'InvokeEndpointInput')
|
@@ -51,6 +52,7 @@ module Aws::SageMakerRuntime
|
|
51
52
|
InvokeEndpointAsyncInput.add_member(:inference_id, Shapes::ShapeRef.new(shape: InferenceId, location: "header", location_name: "X-Amzn-SageMaker-Inference-Id"))
|
52
53
|
InvokeEndpointAsyncInput.add_member(:input_location, Shapes::ShapeRef.new(shape: InputLocationHeader, required: true, location: "header", location_name: "X-Amzn-SageMaker-InputLocation"))
|
53
54
|
InvokeEndpointAsyncInput.add_member(:request_ttl_seconds, Shapes::ShapeRef.new(shape: RequestTTLSecondsHeader, location: "header", location_name: "X-Amzn-SageMaker-RequestTTLSeconds"))
|
55
|
+
InvokeEndpointAsyncInput.add_member(:invocation_timeout_seconds, Shapes::ShapeRef.new(shape: InvocationTimeoutSecondsHeader, location: "header", location_name: "X-Amzn-SageMaker-InvocationTimeoutSeconds"))
|
54
56
|
InvokeEndpointAsyncInput.struct_class = Types::InvokeEndpointAsyncInput
|
55
57
|
|
56
58
|
InvokeEndpointAsyncOutput.add_member(:inference_id, Shapes::ShapeRef.new(shape: Header, location_name: "InferenceId"))
|
@@ -50,6 +50,9 @@ module Aws::SageMakerRuntime
|
|
50
50
|
|
51
51
|
def initialize(options = {})
|
52
52
|
self[:region] = options[:region]
|
53
|
+
if self[:region].nil?
|
54
|
+
raise ArgumentError, "Missing required EndpointParameter: :region"
|
55
|
+
end
|
53
56
|
self[:use_dual_stack] = options[:use_dual_stack]
|
54
57
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
55
58
|
if self[:use_dual_stack].nil?
|
@@ -15,7 +15,7 @@ module Aws::SageMakerRuntime
|
|
15
15
|
use_fips = parameters.use_fips
|
16
16
|
endpoint = parameters.endpoint
|
17
17
|
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
18
|
-
if Aws::Endpoints::Matchers.set?(endpoint)
|
18
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
19
19
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
20
|
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
21
|
end
|
@@ -93,6 +93,11 @@ module Aws::SageMakerRuntime
|
|
93
93
|
# marked as expired.
|
94
94
|
# @return [Integer]
|
95
95
|
#
|
96
|
+
# @!attribute [rw] invocation_timeout_seconds
|
97
|
+
# Maximum amount of time in seconds a request can be processed before
|
98
|
+
# it is marked as expired.
|
99
|
+
# @return [Integer]
|
100
|
+
#
|
96
101
|
# @see http://docs.aws.amazon.com/goto/WebAPI/runtime.sagemaker-2017-05-13/InvokeEndpointAsyncInput AWS API Documentation
|
97
102
|
#
|
98
103
|
class InvokeEndpointAsyncInput < Struct.new(
|
@@ -102,7 +107,8 @@ module Aws::SageMakerRuntime
|
|
102
107
|
:custom_attributes,
|
103
108
|
:inference_id,
|
104
109
|
:input_location,
|
105
|
-
:request_ttl_seconds
|
110
|
+
:request_ttl_seconds,
|
111
|
+
:invocation_timeout_seconds)
|
106
112
|
SENSITIVE = [:custom_attributes]
|
107
113
|
include Aws::Structure
|
108
114
|
end
|
@@ -225,7 +231,7 @@ module Aws::SageMakerRuntime
|
|
225
231
|
#
|
226
232
|
#
|
227
233
|
#
|
228
|
-
# [1]: https://docs.aws.amazon.com/clarify-online-explainability-create-endpoint.html#clarify-online-
|
234
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/clarify-online-explainability-create-endpoint.html#clarify-online-explainability-create-endpoint-enable
|
229
235
|
# @return [String]
|
230
236
|
#
|
231
237
|
# @see http://docs.aws.amazon.com/goto/WebAPI/runtime.sagemaker-2017-05-13/InvokeEndpointInput AWS API Documentation
|
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.46.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: 2023-01-
|
11
|
+
date: 2023-01-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|