aws-sdk-sagemakerruntime 1.21.0 → 1.22.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: ac5eef67aa03d1c72bcbf2be343b49ed0516cc3a536a5c0c7a688d2198504b1e
4
- data.tar.gz: 48cd2bc5e11d8793d397da01d429d0ac37f11ebd5c4e2aedc9c88d270818b304
3
+ metadata.gz: f18debde30066c1db3b20c328c9e4eb474242b95b084bd05aeb9899eaa230327
4
+ data.tar.gz: 59b632aafc5b89bfeb36094158bdd724edd2970d6a382f86f730d1d8dd3fd448
5
5
  SHA512:
6
- metadata.gz: 30f4c3236246359ef4667f4e71707b2959f7d9991fda0bc17de8eeff695ed3ead7c98b47201193a80d6f43ab51ebf2ee4a69a8d02fdf65fd52812b9453a57149
7
- data.tar.gz: 6d41b78c4153bc5f6402d067137d31396266de7de0cb24e6e1f96e05e0e0af39b0d35e0ead0f98b8a1a5eac0d9605524fa514c96a70cba1ea75525521e8291cd
6
+ metadata.gz: 9577701f1ed2578a4245580c99e41cf29cfe1a6e7e96ddbb015ea2efbed53b42bfd180921b697ad225807e836479bac12c78ee536511e8d050d3cb832560e63c
7
+ data.tar.gz: e3946c986263c01f6c31434c8efbe7aa2bbd3e4939885d03c3dbed82bfe6c73de9be6a8946e81b55b71114f6ffa7f3e8f991831d667bf06bb601a679ae2b0353
@@ -45,6 +45,6 @@ require_relative 'aws-sdk-sagemakerruntime/customizations'
45
45
  # @service
46
46
  module Aws::SageMakerRuntime
47
47
 
48
- GEM_VERSION = '1.21.0'
48
+ GEM_VERSION = '1.22.0'
49
49
 
50
50
  end
@@ -355,7 +355,7 @@ module Aws::SageMakerRuntime
355
355
  # the model.
356
356
  #
357
357
  # For information about the format of the request body, see [Common Data
358
- # FormatsInference][1].
358
+ # Formats-Inference][1].
359
359
  #
360
360
  #
361
361
  #
@@ -384,8 +384,14 @@ module Aws::SageMakerRuntime
384
384
  # [1]: https://tools.ietf.org/html/rfc7230#section-3.2.6
385
385
  #
386
386
  # @option params [String] :target_model
387
- # Specifies the model to be requested for an inference when invoking a
388
- # multi-model endpoint.
387
+ # The model to request for inference when invoking a multi-model
388
+ # endpoint.
389
+ #
390
+ # @option params [String] :target_variant
391
+ # Specify the production variant to send the inference request to when
392
+ # invoking an endpoint that is running two or more variants. Note that
393
+ # this parameter overrides the default behavior for the endpoint, which
394
+ # is to distribute the invocation traffic based on the variant weights.
389
395
  #
390
396
  # @return [Types::InvokeEndpointOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
391
397
  #
@@ -403,6 +409,7 @@ module Aws::SageMakerRuntime
403
409
  # accept: "Header",
404
410
  # custom_attributes: "CustomAttributesHeader",
405
411
  # target_model: "TargetModelHeader",
412
+ # target_variant: "TargetVariantHeader",
406
413
  # })
407
414
  #
408
415
  # @example Response structure
@@ -434,7 +441,7 @@ module Aws::SageMakerRuntime
434
441
  params: params,
435
442
  config: config)
436
443
  context[:gem_name] = 'aws-sdk-sagemakerruntime'
437
- context[:gem_version] = '1.21.0'
444
+ context[:gem_version] = '1.22.0'
438
445
  Seahorse::Client::Request.new(handlers, context)
439
446
  end
440
447
 
@@ -24,6 +24,7 @@ module Aws::SageMakerRuntime
24
24
  ServiceUnavailable = Shapes::StructureShape.new(name: 'ServiceUnavailable')
25
25
  StatusCode = Shapes::IntegerShape.new(name: 'StatusCode')
26
26
  TargetModelHeader = Shapes::StringShape.new(name: 'TargetModelHeader')
27
+ TargetVariantHeader = Shapes::StringShape.new(name: 'TargetVariantHeader')
27
28
  ValidationError = Shapes::StructureShape.new(name: 'ValidationError')
28
29
 
29
30
  InternalFailure.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
@@ -35,6 +36,7 @@ module Aws::SageMakerRuntime
35
36
  InvokeEndpointInput.add_member(:accept, Shapes::ShapeRef.new(shape: Header, location: "header", location_name: "Accept"))
36
37
  InvokeEndpointInput.add_member(:custom_attributes, Shapes::ShapeRef.new(shape: CustomAttributesHeader, location: "header", location_name: "X-Amzn-SageMaker-Custom-Attributes"))
37
38
  InvokeEndpointInput.add_member(:target_model, Shapes::ShapeRef.new(shape: TargetModelHeader, location: "header", location_name: "X-Amzn-SageMaker-Target-Model"))
39
+ InvokeEndpointInput.add_member(:target_variant, Shapes::ShapeRef.new(shape: TargetVariantHeader, location: "header", location_name: "X-Amzn-SageMaker-Target-Variant"))
38
40
  InvokeEndpointInput.struct_class = Types::InvokeEndpointInput
39
41
  InvokeEndpointInput[:payload] = :body
40
42
  InvokeEndpointInput[:payload_member] = InvokeEndpointInput.member(:body)
@@ -30,6 +30,7 @@ module Aws::SageMakerRuntime
30
30
  # accept: "Header",
31
31
  # custom_attributes: "CustomAttributesHeader",
32
32
  # target_model: "TargetModelHeader",
33
+ # target_variant: "TargetVariantHeader",
33
34
  # }
34
35
  #
35
36
  # @!attribute [rw] endpoint_name
@@ -47,7 +48,7 @@ module Aws::SageMakerRuntime
47
48
  # to the model.
48
49
  #
49
50
  # For information about the format of the request body, see [Common
50
- # Data FormatsInference][1].
51
+ # Data Formats-Inference][1].
51
52
  #
52
53
  #
53
54
  #
@@ -80,8 +81,16 @@ module Aws::SageMakerRuntime
80
81
  # @return [String]
81
82
  #
82
83
  # @!attribute [rw] target_model
83
- # Specifies the model to be requested for an inference when invoking a
84
- # multi-model endpoint.
84
+ # The model to request for inference when invoking a multi-model
85
+ # endpoint.
86
+ # @return [String]
87
+ #
88
+ # @!attribute [rw] target_variant
89
+ # Specify the production variant to send the inference request to when
90
+ # invoking an endpoint that is running two or more variants. Note that
91
+ # this parameter overrides the default behavior for the endpoint,
92
+ # which is to distribute the invocation traffic based on the variant
93
+ # weights.
85
94
  # @return [String]
86
95
  #
87
96
  # @see http://docs.aws.amazon.com/goto/WebAPI/runtime.sagemaker-2017-05-13/InvokeEndpointInput AWS API Documentation
@@ -92,7 +101,8 @@ module Aws::SageMakerRuntime
92
101
  :content_type,
93
102
  :accept,
94
103
  :custom_attributes,
95
- :target_model)
104
+ :target_model,
105
+ :target_variant)
96
106
  include Aws::Structure
97
107
  end
98
108
 
@@ -100,7 +110,7 @@ module Aws::SageMakerRuntime
100
110
  # Includes the inference provided by the model.
101
111
  #
102
112
  # For information about the format of the response body, see [Common
103
- # Data FormatsInference][1].
113
+ # Data Formats-Inference][1].
104
114
  #
105
115
  #
106
116
  #
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.21.0
4
+ version: 1.22.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: 2020-05-28 00:00:00.000000000 Z
11
+ date: 2020-06-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core