aws-sdk-sagemakerruntime 1.41.0 → 1.43.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: ed1faee15bc628a5cd86b1a9fffc6709b1506ce1b32acbf0ebcc78cdb15f35c9
4
- data.tar.gz: 91f61d1a1cf9ca182193d087c599678839f1e05cd7c32aa17006e77b5dece2dd
3
+ metadata.gz: d0dece0130a975ecf171ab83d33c497017a325c0653fcb4f36dd05c3a838cb29
4
+ data.tar.gz: 17abf1def226eb66d33793fd5a8e9bf5dbe0906b18fe917265551ac50b99fb09
5
5
  SHA512:
6
- metadata.gz: 839fb5b7abb46ad61695ba67a207b98bc718a1994b1ac066ff42ec009e458abcdbad374337b4efbafd795ffb8957d10484c5ffabf6ab7e0ae7cda1a4150dc25d
7
- data.tar.gz: f894227deabc05a7f11282686d0919bce75d3dc528d51f3e34beeef529c1735702a184489fe897b812032f5fc7198a1607b962e6a5c9b53aa2c3435737054f18
6
+ metadata.gz: 3e8ffbd042fe4209b26028ca3f0abac1a4d1797636ed27945ab87d01a7b05f844a321e48cda8073ddc768fa3a7a0772b7798765cdb76ccdf18a7c20ff43867a5
7
+ data.tar.gz: eff22e47bfa65e624a14c0159976af7307726bbf691227891117d0c03b2222a73b9c660d16aa3454c06da412c7500d82b5599e54288fbe9af5a5920369791277
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.43.0 (2022-09-30)
5
+ ------------------
6
+
7
+ * Feature - A new parameter called EnableExplanations is added to InvokeEndpoint API to enable on-demand SageMaker Clarify online explainability requests.
8
+
9
+ 1.42.0 (2022-02-24)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.41.0 (2022-02-03)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.41.0
1
+ 1.43.0
@@ -27,6 +27,7 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
28
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
29
  require 'aws-sdk-core/plugins/http_checksum.rb'
30
+ require 'aws-sdk-core/plugins/checksum_algorithm.rb'
30
31
  require 'aws-sdk-core/plugins/defaults_mode.rb'
31
32
  require 'aws-sdk-core/plugins/recursion_detection.rb'
32
33
  require 'aws-sdk-core/plugins/signature_v4.rb'
@@ -75,6 +76,7 @@ module Aws::SageMakerRuntime
75
76
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
76
77
  add_plugin(Aws::Plugins::TransferEncoding)
77
78
  add_plugin(Aws::Plugins::HttpChecksum)
79
+ add_plugin(Aws::Plugins::ChecksumAlgorithm)
78
80
  add_plugin(Aws::Plugins::DefaultsMode)
79
81
  add_plugin(Aws::Plugins::RecursionDetection)
80
82
  add_plugin(Aws::Plugins::SignatureV4)
@@ -463,6 +465,16 @@ module Aws::SageMakerRuntime
463
465
  #
464
466
  # [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/model-monitor-data-capture.html
465
467
  #
468
+ # @option params [String] :enable_explanations
469
+ # An optional JMESPath expression used to override the
470
+ # `EnableExplanations` parameter of the `ClarifyExplainerConfig` API.
471
+ # See the [EnableExplanations][1] section in the developer guide for
472
+ # more information.
473
+ #
474
+ #
475
+ #
476
+ # [1]: https://docs.aws.amazon.com/clarify-online-explainability-create-endpoint.html#clarify-online-exaplainability-create-endpoint-enable
477
+ #
466
478
  # @return [Types::InvokeEndpointOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
467
479
  #
468
480
  # * {Types::InvokeEndpointOutput#body #body} => String
@@ -482,6 +494,7 @@ module Aws::SageMakerRuntime
482
494
  # target_variant: "TargetVariantHeader",
483
495
  # target_container_hostname: "TargetContainerHostnameHeader",
484
496
  # inference_id: "InferenceId",
497
+ # enable_explanations: "EnableExplanationsHeader",
485
498
  # })
486
499
  #
487
500
  # @example Response structure
@@ -617,7 +630,7 @@ module Aws::SageMakerRuntime
617
630
  params: params,
618
631
  config: config)
619
632
  context[:gem_name] = 'aws-sdk-sagemakerruntime'
620
- context[:gem_version] = '1.41.0'
633
+ context[:gem_version] = '1.43.0'
621
634
  Seahorse::Client::Request.new(handlers, context)
622
635
  end
623
636
 
@@ -15,6 +15,7 @@ module Aws::SageMakerRuntime
15
15
 
16
16
  BodyBlob = Shapes::BlobShape.new(name: 'BodyBlob')
17
17
  CustomAttributesHeader = Shapes::StringShape.new(name: 'CustomAttributesHeader')
18
+ EnableExplanationsHeader = Shapes::StringShape.new(name: 'EnableExplanationsHeader')
18
19
  EndpointName = Shapes::StringShape.new(name: 'EndpointName')
19
20
  Header = Shapes::StringShape.new(name: 'Header')
20
21
  InferenceId = Shapes::StringShape.new(name: 'InferenceId')
@@ -65,6 +66,7 @@ module Aws::SageMakerRuntime
65
66
  InvokeEndpointInput.add_member(:target_variant, Shapes::ShapeRef.new(shape: TargetVariantHeader, location: "header", location_name: "X-Amzn-SageMaker-Target-Variant"))
66
67
  InvokeEndpointInput.add_member(:target_container_hostname, Shapes::ShapeRef.new(shape: TargetContainerHostnameHeader, location: "header", location_name: "X-Amzn-SageMaker-Target-Container-Hostname"))
67
68
  InvokeEndpointInput.add_member(:inference_id, Shapes::ShapeRef.new(shape: InferenceId, location: "header", location_name: "X-Amzn-SageMaker-Inference-Id"))
69
+ InvokeEndpointInput.add_member(:enable_explanations, Shapes::ShapeRef.new(shape: EnableExplanationsHeader, location: "header", location_name: "X-Amzn-SageMaker-Enable-Explanations"))
68
70
  InvokeEndpointInput.struct_class = Types::InvokeEndpointInput
69
71
  InvokeEndpointInput[:payload] = :body
70
72
  InvokeEndpointInput[:payload_member] = InvokeEndpointInput.member(:body)
@@ -152,6 +152,7 @@ module Aws::SageMakerRuntime
152
152
  # target_variant: "TargetVariantHeader",
153
153
  # target_container_hostname: "TargetContainerHostnameHeader",
154
154
  # inference_id: "InferenceId",
155
+ # enable_explanations: "EnableExplanationsHeader",
155
156
  # }
156
157
  #
157
158
  # @!attribute [rw] endpoint_name
@@ -245,6 +246,17 @@ module Aws::SageMakerRuntime
245
246
  # [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/model-monitor-data-capture.html
246
247
  # @return [String]
247
248
  #
249
+ # @!attribute [rw] enable_explanations
250
+ # An optional JMESPath expression used to override the
251
+ # `EnableExplanations` parameter of the `ClarifyExplainerConfig` API.
252
+ # See the [EnableExplanations][1] section in the developer guide for
253
+ # more information.
254
+ #
255
+ #
256
+ #
257
+ # [1]: https://docs.aws.amazon.com/clarify-online-explainability-create-endpoint.html#clarify-online-exaplainability-create-endpoint-enable
258
+ # @return [String]
259
+ #
248
260
  # @see http://docs.aws.amazon.com/goto/WebAPI/runtime.sagemaker-2017-05-13/InvokeEndpointInput AWS API Documentation
249
261
  #
250
262
  class InvokeEndpointInput < Struct.new(
@@ -256,7 +268,8 @@ module Aws::SageMakerRuntime
256
268
  :target_model,
257
269
  :target_variant,
258
270
  :target_container_hostname,
259
- :inference_id)
271
+ :inference_id,
272
+ :enable_explanations)
260
273
  SENSITIVE = [:body, :custom_attributes]
261
274
  include Aws::Structure
262
275
  end
@@ -267,9 +280,14 @@ module Aws::SageMakerRuntime
267
280
  # For information about the format of the response body, see [Common
268
281
  # Data Formats-Inference][1].
269
282
  #
283
+ # If the explainer is activated, the body includes the explanations
284
+ # provided by the model. For more information, see the **Response
285
+ # section** under [Invoke the Endpoint][2] in the Developer Guide.
286
+ #
270
287
  #
271
288
  #
272
289
  # [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/cdf-inference.html
290
+ # [2]: https://docs.aws.amazon.com/sagemaker/latest/dg/clarify-online-explainability-invoke-endpoint.html#clarify-online-explainability-response
273
291
  # @return [String]
274
292
  #
275
293
  # @!attribute [rw] content_type
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-sagemakerruntime/customizations'
48
48
  # @!group service
49
49
  module Aws::SageMakerRuntime
50
50
 
51
- GEM_VERSION = '1.41.0'
51
+ GEM_VERSION = '1.43.0'
52
52
 
53
53
  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.41.0
4
+ version: 1.43.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-02-03 00:00:00.000000000 Z
11
+ date: 2022-09-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.126.0
22
+ version: 3.127.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.126.0
32
+ version: 3.127.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement