aws-sdk-sagemakerruntime 1.44.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ee8498b5057b50394a3d94eb871ef25e8b9c0c51ab27a510e050fc9e50df89b6
4
- data.tar.gz: b811df4f2ceb5de1b6330bcd04f86948a3c058bd0ae27d57fdf7ce4340942134
3
+ metadata.gz: dffca72ceb2be78f7717466a2b8cf1a49f4aab20835e8ca83098c131c75fea3a
4
+ data.tar.gz: 709fd3182de54c976a18efbf5ffad65a020295caccdc1399e41481443971d844
5
5
  SHA512:
6
- metadata.gz: b2f5ad33d3b498b6274472d784da5a2253c18f1ad776d29908d5393dce220e4e13036ef173cebe01059bc543089098b4b8a6499e093ee8600533171b8aaefe8a
7
- data.tar.gz: 94efcb5f76b40a0b60e3d8bf8a8317ad1e1fd03bbc7180b2a050625f67c2dbe6c4f1891ed2cc43d578affb0c99bb15f40d0a51d8f25c3bb225e50d7c218a27aa
6
+ metadata.gz: dad5f51288282780aa97cdc831dbdc2a73809d994f8763f2d14dd6c402f4abf1813c5b724c168f8bec2632cb0a783e2e14da90065e59d3520898b02f62abb520
7
+ data.tar.gz: 76b28cde32b9e28698871acfbfae9e074888906132b9a0139e9305ec2e9b6a62910536ae79c265e2a5cd203cc56fad1c9a7b966fdec2925f56f03ebccf612a98
data/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
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
+
9
+ 1.45.0 (2023-01-18)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
15
+
4
16
  1.44.0 (2022-10-25)
5
17
  ------------------
6
18
 
@@ -230,4 +242,4 @@ Unreleased Changes
230
242
  1.0.0 (2017-11-29)
231
243
  ------------------
232
244
 
233
- * Feature - Initial release of `aws-sdk-sagemakerruntime`.
245
+ * Feature - Initial release of `aws-sdk-sagemakerruntime`.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.44.0
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-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
@@ -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.44.0'
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?
@@ -9,115 +9,49 @@
9
9
 
10
10
  module Aws::SageMakerRuntime
11
11
  class EndpointProvider
12
- def initialize(rule_set = nil)
13
- @@rule_set ||= begin
14
- endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
- Aws::Endpoints::RuleSet.new(
16
- version: endpoint_rules['version'],
17
- service_id: endpoint_rules['serviceId'],
18
- parameters: endpoint_rules['parameters'],
19
- rules: endpoint_rules['rules']
20
- )
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
16
+ endpoint = parameters.endpoint
17
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
+ if Aws::Endpoints::Matchers.set?(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: {})
26
+ 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"
32
+ 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: {})
37
+ 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: {})
40
+ end
41
+ return Aws::Endpoints::Endpoint.new(url: "https://runtime.sagemaker-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
42
+ 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: {})
48
+ end
49
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
50
+ end
51
+ return Aws::Endpoints::Endpoint.new(url: "https://runtime.sagemaker.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
21
52
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- end
53
+ raise ArgumentError, 'No endpoint could be resolved'
24
54
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
55
  end
28
-
29
- # @api private
30
- RULES = <<-JSON
31
- eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
33
- dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
34
- cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
35
- dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2siLCJyZXF1aXJlZCI6dHJ1ZSwi
36
- ZGVmYXVsdCI6ZmFsc2UsImRvY3VtZW50YXRpb24iOiJXaGVuIHRydWUsIHVz
37
- ZSB0aGUgZHVhbC1zdGFjayBlbmRwb2ludC4gSWYgdGhlIGNvbmZpZ3VyZWQg
38
- ZW5kcG9pbnQgZG9lcyBub3Qgc3VwcG9ydCBkdWFsLXN0YWNrLCBkaXNwYXRj
39
- aGluZyB0aGUgcmVxdWVzdCBNQVkgcmV0dXJuIGFuIGVycm9yLiIsInR5cGUi
40
- OiJCb29sZWFuIn0sIlVzZUZJUFMiOnsiYnVpbHRJbiI6IkFXUzo6VXNlRklQ
41
- UyIsInJlcXVpcmVkIjp0cnVlLCJkZWZhdWx0IjpmYWxzZSwiZG9jdW1lbnRh
42
- dGlv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Olt7InJlZiI6IlBh
109
- cnRpdGlvblJlc3VsdCJ9LCJzdXBwb3J0c0R1YWxTdGFjayJdfV19XSwidHlw
110
- ZSI6InRyZWUiLCJydWxlcyI6W3siY29uZGl0aW9ucyI6W10sImVuZHBvaW50
111
- Ijp7InVybCI6Imh0dHBzOi8vcnVudGltZS5zYWdlbWFrZXIue1JlZ2lvbn0u
112
- e1BhcnRpdGlvblJlc3VsdCNkdWFsU3RhY2tEbnNTdWZmaXh9IiwicHJvcGVy
113
- dGllcyI6e30sImhlYWRlcnMiOnt9fSwidHlwZSI6ImVuZHBvaW50In1dfSx7
114
- ImNvbmRpdGlvbnMiOltdLCJlcnJvciI6IkR1YWxTdGFjayBpcyBlbmFibGVk
115
- IGJ1dCB0aGlzIHBhcnRpdGlvbiBkb2VzIG5vdCBzdXBwb3J0IER1YWxTdGFj
116
- ayIsInR5cGUiOiJlcnJvciJ9XX0seyJjb25kaXRpb25zIjpbXSwiZW5kcG9p
117
- bnQiOnsidXJsIjoiaHR0cHM6Ly9ydW50aW1lLnNhZ2VtYWtlci57UmVnaW9u
118
- fS57UGFydGl0aW9uUmVzdWx0I2Ruc1N1ZmZpeH0iLCJwcm9wZXJ0aWVzIjp7
119
- fSwiaGVhZGVycyI6e319LCJ0eXBlIjoiZW5kcG9pbnQifV19XX0=
120
-
121
- JSON
122
56
  end
123
57
  end
@@ -37,19 +37,6 @@ module Aws::SageMakerRuntime
37
37
  include Aws::Structure
38
38
  end
39
39
 
40
- # @note When making an API call, you may pass InvokeEndpointAsyncInput
41
- # data as a hash:
42
- #
43
- # {
44
- # endpoint_name: "EndpointName", # required
45
- # content_type: "Header",
46
- # accept: "Header",
47
- # custom_attributes: "CustomAttributesHeader",
48
- # inference_id: "InferenceId",
49
- # input_location: "InputLocationHeader", # required
50
- # request_ttl_seconds: 1,
51
- # }
52
- #
53
40
  # @!attribute [rw] endpoint_name
54
41
  # The name of the endpoint that you specified when you created the
55
42
  # endpoint using the [ `CreateEndpoint` ][1] API.
@@ -106,6 +93,11 @@ module Aws::SageMakerRuntime
106
93
  # marked as expired.
107
94
  # @return [Integer]
108
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
+ #
109
101
  # @see http://docs.aws.amazon.com/goto/WebAPI/runtime.sagemaker-2017-05-13/InvokeEndpointAsyncInput AWS API Documentation
110
102
  #
111
103
  class InvokeEndpointAsyncInput < Struct.new(
@@ -115,7 +107,8 @@ module Aws::SageMakerRuntime
115
107
  :custom_attributes,
116
108
  :inference_id,
117
109
  :input_location,
118
- :request_ttl_seconds)
110
+ :request_ttl_seconds,
111
+ :invocation_timeout_seconds)
119
112
  SENSITIVE = [:custom_attributes]
120
113
  include Aws::Structure
121
114
  end
@@ -139,22 +132,6 @@ module Aws::SageMakerRuntime
139
132
  include Aws::Structure
140
133
  end
141
134
 
142
- # @note When making an API call, you may pass InvokeEndpointInput
143
- # data as a hash:
144
- #
145
- # {
146
- # endpoint_name: "EndpointName", # required
147
- # body: "data", # required
148
- # content_type: "Header",
149
- # accept: "Header",
150
- # custom_attributes: "CustomAttributesHeader",
151
- # target_model: "TargetModelHeader",
152
- # target_variant: "TargetVariantHeader",
153
- # target_container_hostname: "TargetContainerHostnameHeader",
154
- # inference_id: "InferenceId",
155
- # enable_explanations: "EnableExplanationsHeader",
156
- # }
157
- #
158
135
  # @!attribute [rw] endpoint_name
159
136
  # The name of the endpoint that you specified when you created the
160
137
  # endpoint using the [CreateEndpoint][1] API.
@@ -254,7 +231,7 @@ module Aws::SageMakerRuntime
254
231
  #
255
232
  #
256
233
  #
257
- # [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
258
235
  # @return [String]
259
236
  #
260
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.44.0'
55
+ GEM_VERSION = '1.46.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.44.0
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: 2022-10-25 00:00:00.000000000 Z
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