aws-sdk-sagemakerruntime 1.45.0 → 1.47.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fcf4e8cb9356805ec20c41615db7e8b249b3a8a69f590ea4f2d53d975dc38900
4
- data.tar.gz: 10987be324eb38ced09cb4611b4e02c2a9caf9b3450627d9c29838a7f3305360
3
+ metadata.gz: 62a1d3e87f50574f04a01a34d05f176d716262efee3c34bfdc464859940baafe
4
+ data.tar.gz: 387e4a420252ccab7ea523dfda3f63f5448b862a41046aaface36b7df7ddef14
5
5
  SHA512:
6
- metadata.gz: cd53ef9cf8cc1ab51acdad709c04ad391d925d7582b0cf4f85d4ea7cf6d8e0aa8501066a8ec59f749b9e41f627c3292194f2c68de84978bca49fb89572475d16
7
- data.tar.gz: 17135b3e53a66ac1da08ece1b139a50a1dc5c4d3c1db94074c6d7b85c34f2e8279f26bd70c4952a17afd02e72af798e7c4f440d62e59a8266e2fa687d71c8b27
6
+ metadata.gz: 907f648fcff7cce391834de68055ff0b8ee12ab93b15ad13c4a32d42d47f565e4907084e455a39d85ad67a9ca557d00b41617a41e1f5595060a0bd21d3e01b09
7
+ data.tar.gz: 0e1deb00bc4813528ec6adfc93665545e95c5b38f890e4140ea73a369b4483a5d09029d0fe9ee46c23150bc5cb7611007bc14b6a0cb0ff8b82c5bb6f233452c7
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.47.0 (2023-03-16)
5
+ ------------------
6
+
7
+ * Feature - Documentation updates for SageMaker Runtime
8
+
9
+ 1.46.0 (2023-01-27)
10
+ ------------------
11
+
12
+ * Feature - Amazon SageMaker Runtime which supports InvokeEndpointAsync asynchronously can now invoke endpoints with custom timeout values. Asynchronous invocations support longer processing times.
13
+
4
14
  1.45.0 (2023-01-18)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.45.0
1
+ 1.47.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-exaplainability-create-endpoint-enable
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 the you receive a response from this API. The response
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/https:/docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html
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
@@ -583,7 +583,7 @@ module Aws::SageMakerRuntime
583
583
  # custom attributes in the response. If your code does not set this
584
584
  # value in the response, an empty value is returned. For example, if a
585
585
  # custom attribute represents the trace ID, your model can prepend the
586
- # custom attribute with `Trace ID`\: in your post-processing function.
586
+ # custom attribute with `Trace ID`: in your post-processing function.
587
587
  #
588
588
  # This feature is currently supported in the Amazon Web Services SDKs
589
589
  # but not in the Amazon SageMaker Python SDK.
@@ -601,7 +601,11 @@ module Aws::SageMakerRuntime
601
601
  #
602
602
  # @option params [Integer] :request_ttl_seconds
603
603
  # Maximum age in seconds a request can be in the queue before it is
604
- # marked as expired.
604
+ # marked as expired. The default is 6 hours, or 21,600 seconds.
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. The default is 15 minutes, or 900 seconds.
605
609
  #
606
610
  # @return [Types::InvokeEndpointAsyncOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
607
611
  #
@@ -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.45.0'
655
+ context[:gem_version] = '1.47.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"))
@@ -14,42 +14,45 @@ module Aws::SageMakerRuntime
14
14
  use_dual_stack = parameters.use_dual_stack
15
15
  use_fips = parameters.use_fips
16
16
  endpoint = parameters.endpoint
17
- if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
- if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
19
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
- raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
- end
22
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
- raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
- end
25
- return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
17
+ if Aws::Endpoints::Matchers.set?(endpoint)
18
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
19
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
26
20
  end
27
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
- return Aws::Endpoints::Endpoint.new(url: "https://runtime.sagemaker-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
- end
31
- raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
21
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
22
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
32
23
  end
33
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
- if Aws::Endpoints::Matchers.string_equals?("aws", Aws::Endpoints::Matchers.attr(partition_result, "name"))
36
- return Aws::Endpoints::Endpoint.new(url: "https://runtime-fips.sagemaker.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
24
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
25
+ end
26
+ if Aws::Endpoints::Matchers.set?(region)
27
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
29
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
30
+ return Aws::Endpoints::Endpoint.new(url: "https://runtime.sagemaker-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
37
31
  end
38
- if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
39
- return Aws::Endpoints::Endpoint.new(url: "https://runtime.sagemaker.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
32
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
+ end
34
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
36
+ if Aws::Endpoints::Matchers.string_equals?("aws", Aws::Endpoints::Matchers.attr(partition_result, "name"))
37
+ return Aws::Endpoints::Endpoint.new(url: "https://runtime-fips.sagemaker.#{region}.amazonaws.com", headers: {}, properties: {})
38
+ end
39
+ if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
40
+ return Aws::Endpoints::Endpoint.new(url: "https://runtime.sagemaker.#{region}.amazonaws.com", headers: {}, properties: {})
41
+ end
42
+ return Aws::Endpoints::Endpoint.new(url: "https://runtime.sagemaker-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
40
43
  end
41
- return Aws::Endpoints::Endpoint.new(url: "https://runtime.sagemaker-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
44
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
42
45
  end
43
- raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
44
- end
45
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
46
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
47
- return Aws::Endpoints::Endpoint.new(url: "https://runtime.sagemaker.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
46
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
47
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
48
+ return Aws::Endpoints::Endpoint.new(url: "https://runtime.sagemaker.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
49
+ end
50
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
48
51
  end
49
- raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
52
+ return Aws::Endpoints::Endpoint.new(url: "https://runtime.sagemaker.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
50
53
  end
51
- return Aws::Endpoints::Endpoint.new(url: "https://runtime.sagemaker.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
52
54
  end
55
+ raise ArgumentError, "Invalid Configuration: Missing Region"
53
56
  raise ArgumentError, 'No endpoint could be resolved'
54
57
 
55
58
  end
@@ -69,7 +69,7 @@ module Aws::SageMakerRuntime
69
69
  # custom attributes in the response. If your code does not set this
70
70
  # value in the response, an empty value is returned. For example, if a
71
71
  # custom attribute represents the trace ID, your model can prepend the
72
- # custom attribute with `Trace ID`\: in your post-processing function.
72
+ # custom attribute with `Trace ID`: in your post-processing function.
73
73
  #
74
74
  # This feature is currently supported in the Amazon Web Services SDKs
75
75
  # but not in the Amazon SageMaker Python SDK.
@@ -90,7 +90,12 @@ module Aws::SageMakerRuntime
90
90
  #
91
91
  # @!attribute [rw] request_ttl_seconds
92
92
  # Maximum age in seconds a request can be in the queue before it is
93
- # marked as expired.
93
+ # marked as expired. The default is 6 hours, or 21,600 seconds.
94
+ # @return [Integer]
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. The default is 15 minutes, or 900 seconds.
94
99
  # @return [Integer]
95
100
  #
96
101
  # @see http://docs.aws.amazon.com/goto/WebAPI/runtime.sagemaker-2017-05-13/InvokeEndpointAsyncInput AWS API Documentation
@@ -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-exaplainability-create-endpoint-enable
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
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-sagemakerruntime/customizations'
52
52
  # @!group service
53
53
  module Aws::SageMakerRuntime
54
54
 
55
- GEM_VERSION = '1.45.0'
55
+ GEM_VERSION = '1.47.0'
56
56
 
57
57
  end
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.45.0
4
+ version: 1.47.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-18 00:00:00.000000000 Z
11
+ date: 2023-03-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core