aws-sdk-sagemakerruntime 1.23.1 → 1.28.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: efb6d0b84f65889ce75ee13840ae83c8b28352e91ee46f550bdf3b3b14e4dfb0
4
- data.tar.gz: 4bdea73c4814def06d0b658ced795a15bfb6891aee56101dcd20718db8dbb238
3
+ metadata.gz: cded68dcd4624cbf74ede1f2cac28a1e7d8242be313b6264a69f6c39aa5a5826
4
+ data.tar.gz: 6ec657ff9c5ded9de7486541920586577333945142c98e8423bfaf8fd20d1277
5
5
  SHA512:
6
- metadata.gz: 9d09cbcae663faa8fdb12c664abc7024f3d73c009d9f65c1daa7ef0d5d553ddee319bf68060a63aabf4dab598194faf9c27aeaec32294df9c7a79a6629399af3
7
- data.tar.gz: 24ecb4efb768ca06cc093aee6965399249d8288b3d28191889ac757084ed32132d45d2bdc4f3b728f326af2fa4b4e2d076f3bb35aaa24840e6f9aad68aa166a9
6
+ metadata.gz: c11683f434a92bab254d1b2955e8f82ee7321f25a48d6e1586a0bf48c8a30ed6f1db95c2041805a92d7b462c3c8d4752e9c04eeae4afc771d232be496cc1a3f2
7
+ data.tar.gz: 5e09be43dd4181e21ad1d3e152624324a1b83e519c71524667135c3174fc04d5e1fc51f110137052e937d3f677bd0a6b70bd7c1a3baf2e09c0326abe13a2cda3
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -5,6 +7,7 @@
5
7
  #
6
8
  # WARNING ABOUT GENERATED CODE
7
9
 
10
+
8
11
  require 'aws-sdk-core'
9
12
  require 'aws-sigv4'
10
13
 
@@ -42,9 +45,9 @@ require_relative 'aws-sdk-sagemakerruntime/customizations'
42
45
  #
43
46
  # See {Errors} for more information.
44
47
  #
45
- # @service
48
+ # @!group service
46
49
  module Aws::SageMakerRuntime
47
50
 
48
- GEM_VERSION = '1.23.1'
51
+ GEM_VERSION = '1.28.0'
49
52
 
50
53
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -83,13 +85,28 @@ module Aws::SageMakerRuntime
83
85
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
84
86
  # credentials.
85
87
  #
88
+ # * `Aws::SharedCredentials` - Used for loading static credentials from a
89
+ # shared file, such as `~/.aws/config`.
90
+ #
91
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
92
+ #
93
+ # * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
94
+ # assume a role after providing credentials via the web.
95
+ #
96
+ # * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
97
+ # access token generated from `aws login`.
98
+ #
99
+ # * `Aws::ProcessCredentials` - Used for loading credentials from a
100
+ # process that outputs to stdout.
101
+ #
86
102
  # * `Aws::InstanceProfileCredentials` - Used for loading credentials
87
103
  # from an EC2 IMDS on an EC2 instance.
88
104
  #
89
- # * `Aws::SharedCredentials` - Used for loading credentials from a
90
- # shared file, such as `~/.aws/config`.
105
+ # * `Aws::ECSCredentials` - Used for loading credentials from
106
+ # instances running in ECS.
91
107
  #
92
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
108
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
109
+ # from the Cognito Identity service.
93
110
  #
94
111
  # When `:credentials` are not configured directly, the following
95
112
  # locations will be searched for credentials:
@@ -99,10 +116,10 @@ module Aws::SageMakerRuntime
99
116
  # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
100
117
  # * `~/.aws/credentials`
101
118
  # * `~/.aws/config`
102
- # * EC2 IMDS instance profile - When used by default, the timeouts are
103
- # very aggressive. Construct and pass an instance of
104
- # `Aws::InstanceProfileCredentails` to enable retries and extended
105
- # timeouts.
119
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
+ # are very aggressive. Construct and pass an instance of
121
+ # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
+ # enable retries and extended timeouts.
106
123
  #
107
124
  # @option options [required, String] :region
108
125
  # The AWS region to connect to. The configured `:region` is
@@ -327,9 +344,9 @@ module Aws::SageMakerRuntime
327
344
  #
328
345
  # A customer's model containers must respond to requests within 60
329
346
  # seconds. The model itself can have a maximum processing time of 60
330
- # seconds before responding to the /invocations. If your model is going
331
- # to take 50-60 seconds of processing time, the SDK socket timeout
332
- # should be set to be 70 seconds.
347
+ # seconds before responding to invocations. If your model is going to
348
+ # take 50-60 seconds of processing time, the SDK socket timeout should
349
+ # be set to be 70 seconds.
333
350
  #
334
351
  # <note markdown="1"> Endpoints are scoped to an individual account, and are not public. The
335
352
  # URL does not contain the account ID, but Amazon SageMaker determines
@@ -341,7 +358,7 @@ module Aws::SageMakerRuntime
341
358
  #
342
359
  #
343
360
  # [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/how-it-works.html
344
- # [2]: http://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html
361
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html
345
362
  #
346
363
  # @option params [required, String] :endpoint_name
347
364
  # The name of the endpoint that you specified when you created the
@@ -351,7 +368,7 @@ module Aws::SageMakerRuntime
351
368
  #
352
369
  # [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/API_CreateEndpoint.html
353
370
  #
354
- # @option params [required, String, IO] :body
371
+ # @option params [required, String, StringIO, File] :body
355
372
  # Provides input data, in the format specified in the `ContentType`
356
373
  # request header. Amazon SageMaker passes all of the data in the body to
357
374
  # the model.
@@ -378,6 +395,13 @@ module Aws::SageMakerRuntime
378
395
  # was programmed to process. The value must consist of no more than 1024
379
396
  # visible US-ASCII characters as specified in [Section 3.3.6. Field
380
397
  # Value Components][1] of the Hypertext Transfer Protocol (HTTP/1.1).
398
+ #
399
+ # The code in your model is responsible for setting or updating any
400
+ # custom attributes in the response. If your code does not set this
401
+ # value in the response, an empty value is returned. For example, if a
402
+ # custom attribute represents the trace ID, your model can prepend the
403
+ # custom attribute with `Trace ID:` in your post-processing function.
404
+ #
381
405
  # This feature is currently supported in the AWS SDKs but not in the
382
406
  # Amazon SageMaker Python SDK.
383
407
  #
@@ -395,6 +419,22 @@ module Aws::SageMakerRuntime
395
419
  # this parameter overrides the default behavior for the endpoint, which
396
420
  # is to distribute the invocation traffic based on the variant weights.
397
421
  #
422
+ # For information about how to use variant targeting to perform a/b
423
+ # testing, see [Test models in production][1]
424
+ #
425
+ #
426
+ #
427
+ # [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/model-ab-testing.html
428
+ #
429
+ # @option params [String] :inference_id
430
+ # If you provide a value, it is added to the captured data when you
431
+ # enable data capture on the endpoint. For information about data
432
+ # capture, see [Capture Data][1].
433
+ #
434
+ #
435
+ #
436
+ # [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/model-monitor-data-capture.html
437
+ #
398
438
  # @return [Types::InvokeEndpointOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
399
439
  #
400
440
  # * {Types::InvokeEndpointOutput#body #body} => String
@@ -412,6 +452,7 @@ module Aws::SageMakerRuntime
412
452
  # custom_attributes: "CustomAttributesHeader",
413
453
  # target_model: "TargetModelHeader",
414
454
  # target_variant: "TargetVariantHeader",
455
+ # inference_id: "InferenceId",
415
456
  # })
416
457
  #
417
458
  # @example Response structure
@@ -443,7 +484,7 @@ module Aws::SageMakerRuntime
443
484
  params: params,
444
485
  config: config)
445
486
  context[:gem_name] = 'aws-sdk-sagemakerruntime'
446
- context[:gem_version] = '1.23.1'
487
+ context[:gem_version] = '1.28.0'
447
488
  Seahorse::Client::Request.new(handlers, context)
448
489
  end
449
490
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -15,6 +17,7 @@ module Aws::SageMakerRuntime
15
17
  CustomAttributesHeader = Shapes::StringShape.new(name: 'CustomAttributesHeader')
16
18
  EndpointName = Shapes::StringShape.new(name: 'EndpointName')
17
19
  Header = Shapes::StringShape.new(name: 'Header')
20
+ InferenceId = Shapes::StringShape.new(name: 'InferenceId')
18
21
  InternalFailure = Shapes::StructureShape.new(name: 'InternalFailure')
19
22
  InvokeEndpointInput = Shapes::StructureShape.new(name: 'InvokeEndpointInput')
20
23
  InvokeEndpointOutput = Shapes::StructureShape.new(name: 'InvokeEndpointOutput')
@@ -37,6 +40,7 @@ module Aws::SageMakerRuntime
37
40
  InvokeEndpointInput.add_member(:custom_attributes, Shapes::ShapeRef.new(shape: CustomAttributesHeader, location: "header", location_name: "X-Amzn-SageMaker-Custom-Attributes"))
38
41
  InvokeEndpointInput.add_member(:target_model, Shapes::ShapeRef.new(shape: TargetModelHeader, location: "header", location_name: "X-Amzn-SageMaker-Target-Model"))
39
42
  InvokeEndpointInput.add_member(:target_variant, Shapes::ShapeRef.new(shape: TargetVariantHeader, location: "header", location_name: "X-Amzn-SageMaker-Target-Variant"))
43
+ InvokeEndpointInput.add_member(:inference_id, Shapes::ShapeRef.new(shape: InferenceId, location: "header", location_name: "X-Amzn-SageMaker-Inference-Id"))
40
44
  InvokeEndpointInput.struct_class = Types::InvokeEndpointInput
41
45
  InvokeEndpointInput[:payload] = :body
42
46
  InvokeEndpointInput[:payload_member] = InvokeEndpointInput.member(:body)
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -17,6 +19,7 @@ module Aws::SageMakerRuntime
17
19
  #
18
20
  class InternalFailure < Struct.new(
19
21
  :message)
22
+ SENSITIVE = []
20
23
  include Aws::Structure
21
24
  end
22
25
 
@@ -31,6 +34,7 @@ module Aws::SageMakerRuntime
31
34
  # custom_attributes: "CustomAttributesHeader",
32
35
  # target_model: "TargetModelHeader",
33
36
  # target_variant: "TargetVariantHeader",
37
+ # inference_id: "InferenceId",
34
38
  # }
35
39
  #
36
40
  # @!attribute [rw] endpoint_name
@@ -72,8 +76,16 @@ module Aws::SageMakerRuntime
72
76
  # was programmed to process. The value must consist of no more than
73
77
  # 1024 visible US-ASCII characters as specified in [Section 3.3.6.
74
78
  # Field Value Components][1] of the Hypertext Transfer Protocol
75
- # (HTTP/1.1). This feature is currently supported in the AWS SDKs but
76
- # not in the Amazon SageMaker Python SDK.
79
+ # (HTTP/1.1).
80
+ #
81
+ # The code in your model is responsible for setting or updating any
82
+ # custom attributes in the response. If your code does not set this
83
+ # value in the response, an empty value is returned. For example, if a
84
+ # custom attribute represents the trace ID, your model can prepend the
85
+ # custom attribute with `Trace ID:` in your post-processing function.
86
+ #
87
+ # This feature is currently supported in the AWS SDKs but not in the
88
+ # Amazon SageMaker Python SDK.
77
89
  #
78
90
  #
79
91
  #
@@ -91,6 +103,23 @@ module Aws::SageMakerRuntime
91
103
  # this parameter overrides the default behavior for the endpoint,
92
104
  # which is to distribute the invocation traffic based on the variant
93
105
  # weights.
106
+ #
107
+ # For information about how to use variant targeting to perform a/b
108
+ # testing, see [Test models in production][1]
109
+ #
110
+ #
111
+ #
112
+ # [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/model-ab-testing.html
113
+ # @return [String]
114
+ #
115
+ # @!attribute [rw] inference_id
116
+ # If you provide a value, it is added to the captured data when you
117
+ # enable data capture on the endpoint. For information about data
118
+ # capture, see [Capture Data][1].
119
+ #
120
+ #
121
+ #
122
+ # [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/model-monitor-data-capture.html
94
123
  # @return [String]
95
124
  #
96
125
  # @see http://docs.aws.amazon.com/goto/WebAPI/runtime.sagemaker-2017-05-13/InvokeEndpointInput AWS API Documentation
@@ -102,7 +131,9 @@ module Aws::SageMakerRuntime
102
131
  :accept,
103
132
  :custom_attributes,
104
133
  :target_model,
105
- :target_variant)
134
+ :target_variant,
135
+ :inference_id)
136
+ SENSITIVE = [:body, :custom_attributes]
106
137
  include Aws::Structure
107
138
  end
108
139
 
@@ -138,6 +169,12 @@ module Aws::SageMakerRuntime
138
169
  # returned, the model must set the custom attribute to be included on
139
170
  # the way back.
140
171
  #
172
+ # The code in your model is responsible for setting or updating any
173
+ # custom attributes in the response. If your code does not set this
174
+ # value in the response, an empty value is returned. For example, if a
175
+ # custom attribute represents the trace ID, your model can prepend the
176
+ # custom attribute with `Trace ID:` in your post-processing function.
177
+ #
141
178
  # This feature is currently supported in the AWS SDKs but not in the
142
179
  # Amazon SageMaker Python SDK.
143
180
  #
@@ -153,6 +190,7 @@ module Aws::SageMakerRuntime
153
190
  :content_type,
154
191
  :invoked_production_variant,
155
192
  :custom_attributes)
193
+ SENSITIVE = [:body, :custom_attributes]
156
194
  include Aws::Structure
157
195
  end
158
196
 
@@ -181,6 +219,7 @@ module Aws::SageMakerRuntime
181
219
  :original_status_code,
182
220
  :original_message,
183
221
  :log_stream_arn)
222
+ SENSITIVE = []
184
223
  include Aws::Structure
185
224
  end
186
225
 
@@ -193,6 +232,7 @@ module Aws::SageMakerRuntime
193
232
  #
194
233
  class ServiceUnavailable < Struct.new(
195
234
  :message)
235
+ SENSITIVE = []
196
236
  include Aws::Structure
197
237
  end
198
238
 
@@ -205,6 +245,7 @@ module Aws::SageMakerRuntime
205
245
  #
206
246
  class ValidationError < Struct.new(
207
247
  :message)
248
+ SENSITIVE = []
208
249
  include Aws::Structure
209
250
  end
210
251
 
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.23.1
4
+ version: 1.28.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-06-11 00:00:00.000000000 Z
11
+ date: 2020-12-08 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.99.0
22
+ version: 3.109.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.99.0
32
+ version: 3.109.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement