aws-sdk-sagemakerruntime 1.42.0 → 1.43.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: 0365367c8bce6ea7082d769dce2852b53456a01929b9c359b4db8cafe0b13bb8
4
- data.tar.gz: '024228d71456eec3b96668381b733da22ec0ae23a975c525df6181217f3051a8'
3
+ metadata.gz: d0dece0130a975ecf171ab83d33c497017a325c0653fcb4f36dd05c3a838cb29
4
+ data.tar.gz: 17abf1def226eb66d33793fd5a8e9bf5dbe0906b18fe917265551ac50b99fb09
5
5
  SHA512:
6
- metadata.gz: cadec407cee90abd8060d7fe5056efa1edf10f74d380235a1720f804b1d00d2ed59540367c8d5281b7d82f16bf5e90e8773d22b1d30851ce4c41b7c2eae421e8
7
- data.tar.gz: '088e8dafd39900cdbdbe23cd1fc52d48c35c2f9b42980772438cf2629effe257ab0d9f9790602c60e2686fc0e485a25bd73dc06a21dc6709ff87ab0f8829667f'
6
+ metadata.gz: 3e8ffbd042fe4209b26028ca3f0abac1a4d1797636ed27945ab87d01a7b05f844a321e48cda8073ddc768fa3a7a0772b7798765cdb76ccdf18a7c20ff43867a5
7
+ data.tar.gz: eff22e47bfa65e624a14c0159976af7307726bbf691227891117d0c03b2222a73b9c660d16aa3454c06da412c7500d82b5599e54288fbe9af5a5920369791277
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
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
+
4
9
  1.42.0 (2022-02-24)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.42.0
1
+ 1.43.0
@@ -465,6 +465,16 @@ module Aws::SageMakerRuntime
465
465
  #
466
466
  # [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/model-monitor-data-capture.html
467
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
+ #
468
478
  # @return [Types::InvokeEndpointOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
469
479
  #
470
480
  # * {Types::InvokeEndpointOutput#body #body} => String
@@ -484,6 +494,7 @@ module Aws::SageMakerRuntime
484
494
  # target_variant: "TargetVariantHeader",
485
495
  # target_container_hostname: "TargetContainerHostnameHeader",
486
496
  # inference_id: "InferenceId",
497
+ # enable_explanations: "EnableExplanationsHeader",
487
498
  # })
488
499
  #
489
500
  # @example Response structure
@@ -619,7 +630,7 @@ module Aws::SageMakerRuntime
619
630
  params: params,
620
631
  config: config)
621
632
  context[:gem_name] = 'aws-sdk-sagemakerruntime'
622
- context[:gem_version] = '1.42.0'
633
+ context[:gem_version] = '1.43.0'
623
634
  Seahorse::Client::Request.new(handlers, context)
624
635
  end
625
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.42.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.42.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-24 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