aws-sdk-sagemakerruntime 1.17.0 → 1.18.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
  SHA1:
3
- metadata.gz: 5eadf52a7e4ff4f7d732d29f36aeed9a3a8edff6
4
- data.tar.gz: cffa70d5cc08821381925171dee7bd1ad886945e
3
+ metadata.gz: cdd78866b378ff87ac88b85ca0b05932f2e69a4e
4
+ data.tar.gz: cbc26a182202bf07191c777c5150a7d5e36be268
5
5
  SHA512:
6
- metadata.gz: de3e4f7302e286538a0f53a89ddace4a4617b5c73e5e98e05b623bc2f5ab36c8e28004d8d0065bbdf22a4382138fd1f77bf8fe4872ee487327eb9b2dde2a0c13
7
- data.tar.gz: f5e07669be7c40f8ec40017b72a51ff81247a60dceae7501ab3bb7752bf9d50b51c759306ff3673475ec80a6cebe64e9f1ddadd5b71e6d69246ba8e32f9a372b
6
+ metadata.gz: 660411a31b3df17ae3e3f72cde28f309e5f88b3493a0ee093aa682725f0454283fc6525cc299419e3a0688024044e52c509acb0e3302c8b3c63333d77c2ede3d
7
+ data.tar.gz: 8de9b7b3b171d1eae62b38c039dfa7e86a02ed7cffb29ee77f7158860531eb15909885600829c675837642d1a583cccd57670b6b538778151480f87fa0f8af98
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-sagemakerruntime/customizations'
42
42
  # @service
43
43
  module Aws::SageMakerRuntime
44
44
 
45
- GEM_VERSION = '1.17.0'
45
+ GEM_VERSION = '1.18.0'
46
46
 
47
47
  end
@@ -265,10 +265,16 @@ module Aws::SageMakerRuntime
265
265
  # rely on the behavior of headers outside those enumerated in the
266
266
  # request syntax.
267
267
  #
268
- # Cals to `InvokeEndpoint` are authenticated by using AWS Signature
268
+ # Calls to `InvokeEndpoint` are authenticated by using AWS Signature
269
269
  # Version 4. For information, see [Authenticating Requests (AWS
270
270
  # Signature Version 4)][2] in the *Amazon S3 API Reference*.
271
271
  #
272
+ # A customer's model containers must respond to requests within 60
273
+ # seconds. The model itself can have a maximum processing time of 60
274
+ # seconds before responding to the /invocations. If your model is going
275
+ # to take 50-60 seconds of processing time, the SDK socket timeout
276
+ # should be set to be 70 seconds.
277
+ #
272
278
  # <note markdown="1"> Endpoints are scoped to an individual account, and are not public. The
273
279
  # URL does not contain the account ID, but Amazon SageMaker determines
274
280
  # the account ID from the authentication token that is supplied by the
@@ -278,7 +284,7 @@ module Aws::SageMakerRuntime
278
284
  #
279
285
  #
280
286
  #
281
- # [1]: http://docs.aws.amazon.com/sagemaker/latest/dg/how-it-works.html
287
+ # [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/how-it-works.html
282
288
  # [2]: http://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html
283
289
  #
284
290
  # @option params [required, String] :endpoint_name
@@ -287,7 +293,7 @@ module Aws::SageMakerRuntime
287
293
  #
288
294
  #
289
295
  #
290
- # [1]: http://docs.aws.amazon.com/sagemaker/latest/dg/API_CreateEndpoint.html
296
+ # [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/API_CreateEndpoint.html
291
297
  #
292
298
  # @option params [required, String, IO] :body
293
299
  # Provides input data, in the format specified in the `ContentType`
@@ -299,7 +305,7 @@ module Aws::SageMakerRuntime
299
305
  #
300
306
  #
301
307
  #
302
- # [1]: http://docs.aws.amazon.com/sagemaker/latest/dg/cdf-inference.html
308
+ # [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/cdf-inference.html
303
309
  #
304
310
  # @option params [String] :content_type
305
311
  # The MIME type of the input data in the request body.
@@ -308,6 +314,24 @@ module Aws::SageMakerRuntime
308
314
  # The desired MIME type of the inference in the response.
309
315
  #
310
316
  # @option params [String] :custom_attributes
317
+ # Provides additional information about a request for an inference
318
+ # submitted to a model hosted at an Amazon SageMaker endpoint. The
319
+ # information is an opaque value that is forwarded verbatim. You could
320
+ # use this value, for example, to provide an ID that you can use to
321
+ # track a request or to provide other metadata that a service endpoint
322
+ # was programmed to process. The value must consist of no more than 1024
323
+ # visible US-ASCII characters as specified in [Section 3.3.6. Field
324
+ # Value Components][1] of the Hypertext Transfer Protocol (HTTP/1.1).
325
+ # This feature is currently supported in the AWS SDKs but not in the
326
+ # Amazon SageMaker Python SDK.
327
+ #
328
+ #
329
+ #
330
+ # [1]: https://tools.ietf.org/html/rfc7230#section-3.2.6
331
+ #
332
+ # @option params [String] :target_model
333
+ # Specifies the model to be requested for an inference when invoking a
334
+ # multi-model endpoint.
311
335
  #
312
336
  # @return [Types::InvokeEndpointOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
313
337
  #
@@ -324,6 +348,7 @@ module Aws::SageMakerRuntime
324
348
  # content_type: "Header",
325
349
  # accept: "Header",
326
350
  # custom_attributes: "CustomAttributesHeader",
351
+ # target_model: "TargetModelHeader",
327
352
  # })
328
353
  #
329
354
  # @example Response structure
@@ -355,7 +380,7 @@ module Aws::SageMakerRuntime
355
380
  params: params,
356
381
  config: config)
357
382
  context[:gem_name] = 'aws-sdk-sagemakerruntime'
358
- context[:gem_version] = '1.17.0'
383
+ context[:gem_version] = '1.18.0'
359
384
  Seahorse::Client::Request.new(handlers, context)
360
385
  end
361
386
 
@@ -23,6 +23,7 @@ module Aws::SageMakerRuntime
23
23
  ModelError = Shapes::StructureShape.new(name: 'ModelError')
24
24
  ServiceUnavailable = Shapes::StructureShape.new(name: 'ServiceUnavailable')
25
25
  StatusCode = Shapes::IntegerShape.new(name: 'StatusCode')
26
+ TargetModelHeader = Shapes::StringShape.new(name: 'TargetModelHeader')
26
27
  ValidationError = Shapes::StructureShape.new(name: 'ValidationError')
27
28
 
28
29
  InternalFailure.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
@@ -33,6 +34,7 @@ module Aws::SageMakerRuntime
33
34
  InvokeEndpointInput.add_member(:content_type, Shapes::ShapeRef.new(shape: Header, location: "header", location_name: "Content-Type"))
34
35
  InvokeEndpointInput.add_member(:accept, Shapes::ShapeRef.new(shape: Header, location: "header", location_name: "Accept"))
35
36
  InvokeEndpointInput.add_member(:custom_attributes, Shapes::ShapeRef.new(shape: CustomAttributesHeader, location: "header", location_name: "X-Amzn-SageMaker-Custom-Attributes"))
37
+ InvokeEndpointInput.add_member(:target_model, Shapes::ShapeRef.new(shape: TargetModelHeader, location: "header", location_name: "X-Amzn-SageMaker-Target-Model"))
36
38
  InvokeEndpointInput.struct_class = Types::InvokeEndpointInput
37
39
  InvokeEndpointInput[:payload] = :body
38
40
  InvokeEndpointInput[:payload_member] = InvokeEndpointInput.member(:body)
@@ -29,6 +29,7 @@ module Aws::SageMakerRuntime
29
29
  # content_type: "Header",
30
30
  # accept: "Header",
31
31
  # custom_attributes: "CustomAttributesHeader",
32
+ # target_model: "TargetModelHeader",
32
33
  # }
33
34
  #
34
35
  # @!attribute [rw] endpoint_name
@@ -37,7 +38,7 @@ module Aws::SageMakerRuntime
37
38
  #
38
39
  #
39
40
  #
40
- # [1]: http://docs.aws.amazon.com/sagemaker/latest/dg/API_CreateEndpoint.html
41
+ # [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/API_CreateEndpoint.html
41
42
  # @return [String]
42
43
  #
43
44
  # @!attribute [rw] body
@@ -50,7 +51,7 @@ module Aws::SageMakerRuntime
50
51
  #
51
52
  #
52
53
  #
53
- # [1]: http://docs.aws.amazon.com/sagemaker/latest/dg/cdf-inference.html
54
+ # [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/cdf-inference.html
54
55
  # @return [String]
55
56
  #
56
57
  # @!attribute [rw] content_type
@@ -62,6 +63,25 @@ module Aws::SageMakerRuntime
62
63
  # @return [String]
63
64
  #
64
65
  # @!attribute [rw] custom_attributes
66
+ # Provides additional information about a request for an inference
67
+ # submitted to a model hosted at an Amazon SageMaker endpoint. The
68
+ # information is an opaque value that is forwarded verbatim. You could
69
+ # use this value, for example, to provide an ID that you can use to
70
+ # track a request or to provide other metadata that a service endpoint
71
+ # was programmed to process. The value must consist of no more than
72
+ # 1024 visible US-ASCII characters as specified in [Section 3.3.6.
73
+ # Field Value Components][1] of the Hypertext Transfer Protocol
74
+ # (HTTP/1.1). This feature is currently supported in the AWS SDKs but
75
+ # not in the Amazon SageMaker Python SDK.
76
+ #
77
+ #
78
+ #
79
+ # [1]: https://tools.ietf.org/html/rfc7230#section-3.2.6
80
+ # @return [String]
81
+ #
82
+ # @!attribute [rw] target_model
83
+ # Specifies the model to be requested for an inference when invoking a
84
+ # multi-model endpoint.
65
85
  # @return [String]
66
86
  #
67
87
  # @see http://docs.aws.amazon.com/goto/WebAPI/runtime.sagemaker-2017-05-13/InvokeEndpointInput AWS API Documentation
@@ -71,7 +91,8 @@ module Aws::SageMakerRuntime
71
91
  :body,
72
92
  :content_type,
73
93
  :accept,
74
- :custom_attributes)
94
+ :custom_attributes,
95
+ :target_model)
75
96
  include Aws::Structure
76
97
  end
77
98
 
@@ -83,7 +104,7 @@ module Aws::SageMakerRuntime
83
104
  #
84
105
  #
85
106
  #
86
- # [1]: http://docs.aws.amazon.com/sagemaker/latest/dg/cdf-inference.html
107
+ # [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/cdf-inference.html
87
108
  # @return [String]
88
109
  #
89
110
  # @!attribute [rw] content_type
@@ -95,6 +116,24 @@ module Aws::SageMakerRuntime
95
116
  # @return [String]
96
117
  #
97
118
  # @!attribute [rw] custom_attributes
119
+ # Provides additional information in the response about the inference
120
+ # returned by a model hosted at an Amazon SageMaker endpoint. The
121
+ # information is an opaque value that is forwarded verbatim. You could
122
+ # use this value, for example, to return an ID received in the
123
+ # `CustomAttributes` header of a request or other metadata that a
124
+ # service endpoint was programmed to produce. The value must consist
125
+ # of no more than 1024 visible US-ASCII characters as specified in
126
+ # [Section 3.3.6. Field Value Components][1] of the Hypertext Transfer
127
+ # Protocol (HTTP/1.1). If the customer wants the custom attribute
128
+ # returned, the model must set the custom attribute to be included on
129
+ # the way back.
130
+ #
131
+ # This feature is currently supported in the AWS SDKs but not in the
132
+ # Amazon SageMaker Python SDK.
133
+ #
134
+ #
135
+ #
136
+ # [1]: https://tools.ietf.org/html/rfc7230#section-3.2.6
98
137
  # @return [String]
99
138
  #
100
139
  # @see http://docs.aws.amazon.com/goto/WebAPI/runtime.sagemaker-2017-05-13/InvokeEndpointOutput AWS API Documentation
@@ -107,7 +146,8 @@ module Aws::SageMakerRuntime
107
146
  include Aws::Structure
108
147
  end
109
148
 
110
- # Model (owned by the customer in the container) returned an error 500.
149
+ # Model (owned by the customer in the container) returned 4xx or 5xx
150
+ # error code.
111
151
  #
112
152
  # @!attribute [rw] message
113
153
  # @return [String]
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.17.0
4
+ version: 1.18.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: 2019-10-23 00:00:00.000000000 Z
11
+ date: 2019-11-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core