aws-sdk-sagemakerruntime 1.35.0 → 1.39.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: 5c04340b6339436bc99e255d0f1d7c5e87757cecf66e85445e2be66b252dae8a
4
- data.tar.gz: 0144bb92e8cdff26a89128d2ab88a3110749688c9c9c66c21425e1573ca894f8
3
+ metadata.gz: 1925a82c1ff1bc7b252607d2347fec837dc02aabdbe20259977e50a2c9c95005
4
+ data.tar.gz: 6f7347e0b052d2c717742757edb1ee29e9ba350fb152191df6fea550f8701331
5
5
  SHA512:
6
- metadata.gz: a0e5de4e3157747f0f9717b12108e63a7f3beac2590465f276419274eedfd85627a5917ffe2c977c205e22bc9779d25c1a86c6993d151da9b2563700359f7dd3
7
- data.tar.gz: ece1009c8f8bddf2abbe811bac02439cc0bf82edf4d89ae30e4cd205b4f8e79766c0a5ee9c94a0f286e3d4440a35161ffee2fd6954efe1505380aa8c0fad91d5
6
+ metadata.gz: 378b269f667f26dd3c314c1086f9cfff1fdd5f0f755f670ac9ba2916d6f252bb16f86825c6fc3a5030e3589fea4d1c4550356f67366734887c626bf969ef9566
7
+ data.tar.gz: ea64fc5efc6f8e16366e2b21eb5c67c0dc09c4c57aac3811eba7ef9f1c0a3cce8e43916610c18e0c9ee70a69cea8394808ccd2b01bbf8c0f76ba93c8a611471e
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.39.0 (2021-12-01)
5
+ ------------------
6
+
7
+ * Feature - Adding new exception types for InvokeEndpoint
8
+
9
+ 1.38.0 (2021-11-30)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.37.0 (2021-11-04)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.36.0 (2021-10-18)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
4
24
  1.35.0 (2021-09-01)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.35.0
1
+ 1.39.0
@@ -119,7 +119,9 @@ module Aws::SageMakerRuntime
119
119
  # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
120
  # are very aggressive. Construct and pass an instance of
121
121
  # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
- # enable retries and extended timeouts.
122
+ # enable retries and extended timeouts. Instance profile credential
123
+ # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
124
+ # to true.
123
125
  #
124
126
  # @option options [required, String] :region
125
127
  # The AWS region to connect to. The configured `:region` is
@@ -275,6 +277,15 @@ module Aws::SageMakerRuntime
275
277
  # ** Please note ** When response stubbing is enabled, no HTTP
276
278
  # requests are made, and retries are disabled.
277
279
  #
280
+ # @option options [Boolean] :use_dualstack_endpoint
281
+ # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
282
+ # will be used if available.
283
+ #
284
+ # @option options [Boolean] :use_fips_endpoint
285
+ # When set to `true`, fips compatible endpoints will be used if available.
286
+ # When a `fips` region is used, the region is normalized and this config
287
+ # is set to `true`.
288
+ #
278
289
  # @option options [Boolean] :validate_params (true)
279
290
  # When `true`, request parameters are validated before
280
291
  # sending the request.
@@ -338,9 +349,10 @@ module Aws::SageMakerRuntime
338
349
  # rely on the behavior of headers outside those enumerated in the
339
350
  # request syntax.
340
351
  #
341
- # Calls to `InvokeEndpoint` are authenticated by using AWS Signature
342
- # Version 4. For information, see [Authenticating Requests (AWS
343
- # Signature Version 4)][2] in the *Amazon S3 API Reference*.
352
+ # Calls to `InvokeEndpoint` are authenticated by using Amazon Web
353
+ # Services Signature Version 4. For information, see [Authenticating
354
+ # Requests (Amazon Web Services Signature Version 4)][2] in the *Amazon
355
+ # S3 API Reference*.
344
356
  #
345
357
  # A customer's model containers must respond to requests within 60
346
358
  # seconds. The model itself can have a maximum processing time of 60
@@ -402,8 +414,8 @@ module Aws::SageMakerRuntime
402
414
  # custom attribute represents the trace ID, your model can prepend the
403
415
  # custom attribute with `Trace ID:` in your post-processing function.
404
416
  #
405
- # This feature is currently supported in the AWS SDKs but not in the
406
- # Amazon SageMaker Python SDK.
417
+ # This feature is currently supported in the Amazon Web Services SDKs
418
+ # but not in the Amazon SageMaker Python SDK.
407
419
  #
408
420
  #
409
421
  #
@@ -493,13 +505,14 @@ module Aws::SageMakerRuntime
493
505
  # rely on the behavior of headers outside those enumerated in the
494
506
  # request syntax.
495
507
  #
496
- # Calls to `InvokeEndpointAsync` are authenticated by using AWS
497
- # Signature Version 4. For information, see [Authenticating Requests
498
- # (AWS Signature Version 4)][1] in the *Amazon S3 API Reference*.
508
+ # Calls to `InvokeEndpointAsync` are authenticated by using Amazon Web
509
+ # Services Signature Version 4. For information, see [Authenticating
510
+ # Requests (Amazon Web Services Signature Version 4)][1] in the *Amazon
511
+ # S3 API Reference*.
499
512
  #
500
513
  #
501
514
  #
502
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html
515
+ # [1]: https://docs.aws.amazon.com/https:/docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html
503
516
  #
504
517
  # @option params [required, String] :endpoint_name
505
518
  # The name of the endpoint that you specified when you created the
@@ -531,8 +544,8 @@ module Aws::SageMakerRuntime
531
544
  # custom attribute represents the trace ID, your model can prepend the
532
545
  # custom attribute with `Trace ID`\: in your post-processing function.
533
546
  #
534
- # This feature is currently supported in the AWS SDKs but not in the
535
- # Amazon SageMaker Python SDK.
547
+ # This feature is currently supported in the Amazon Web Services SDKs
548
+ # but not in the Amazon SageMaker Python SDK.
536
549
  #
537
550
  #
538
551
  #
@@ -593,7 +606,7 @@ module Aws::SageMakerRuntime
593
606
  params: params,
594
607
  config: config)
595
608
  context[:gem_name] = 'aws-sdk-sagemakerruntime'
596
- context[:gem_version] = '1.35.0'
609
+ context[:gem_version] = '1.39.0'
597
610
  Seahorse::Client::Request.new(handlers, context)
598
611
  end
599
612
 
@@ -19,6 +19,7 @@ module Aws::SageMakerRuntime
19
19
  Header = Shapes::StringShape.new(name: 'Header')
20
20
  InferenceId = Shapes::StringShape.new(name: 'InferenceId')
21
21
  InputLocationHeader = Shapes::StringShape.new(name: 'InputLocationHeader')
22
+ InternalDependencyException = Shapes::StructureShape.new(name: 'InternalDependencyException')
22
23
  InternalFailure = Shapes::StructureShape.new(name: 'InternalFailure')
23
24
  InvokeEndpointAsyncInput = Shapes::StructureShape.new(name: 'InvokeEndpointAsyncInput')
24
25
  InvokeEndpointAsyncOutput = Shapes::StructureShape.new(name: 'InvokeEndpointAsyncOutput')
@@ -27,6 +28,7 @@ module Aws::SageMakerRuntime
27
28
  LogStreamArn = Shapes::StringShape.new(name: 'LogStreamArn')
28
29
  Message = Shapes::StringShape.new(name: 'Message')
29
30
  ModelError = Shapes::StructureShape.new(name: 'ModelError')
31
+ ModelNotReadyException = Shapes::StructureShape.new(name: 'ModelNotReadyException')
30
32
  RequestTTLSecondsHeader = Shapes::IntegerShape.new(name: 'RequestTTLSecondsHeader')
31
33
  ServiceUnavailable = Shapes::StructureShape.new(name: 'ServiceUnavailable')
32
34
  StatusCode = Shapes::IntegerShape.new(name: 'StatusCode')
@@ -35,6 +37,9 @@ module Aws::SageMakerRuntime
35
37
  TargetVariantHeader = Shapes::StringShape.new(name: 'TargetVariantHeader')
36
38
  ValidationError = Shapes::StructureShape.new(name: 'ValidationError')
37
39
 
40
+ InternalDependencyException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
41
+ InternalDependencyException.struct_class = Types::InternalDependencyException
42
+
38
43
  InternalFailure.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
39
44
  InternalFailure.struct_class = Types::InternalFailure
40
45
 
@@ -78,6 +83,9 @@ module Aws::SageMakerRuntime
78
83
  ModelError.add_member(:log_stream_arn, Shapes::ShapeRef.new(shape: LogStreamArn, location_name: "LogStreamArn"))
79
84
  ModelError.struct_class = Types::ModelError
80
85
 
86
+ ModelNotReadyException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
87
+ ModelNotReadyException.struct_class = Types::ModelNotReadyException
88
+
81
89
  ServiceUnavailable.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
82
90
  ServiceUnavailable.struct_class = Types::ServiceUnavailable
83
91
 
@@ -112,6 +120,8 @@ module Aws::SageMakerRuntime
112
120
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailable)
113
121
  o.errors << Shapes::ShapeRef.new(shape: ValidationError)
114
122
  o.errors << Shapes::ShapeRef.new(shape: ModelError)
123
+ o.errors << Shapes::ShapeRef.new(shape: InternalDependencyException)
124
+ o.errors << Shapes::ShapeRef.new(shape: ModelNotReadyException)
115
125
  end)
116
126
 
117
127
  api.add_operation(:invoke_endpoint_async, Seahorse::Model::Operation.new.tap do |o|
@@ -27,8 +27,10 @@ module Aws::SageMakerRuntime
27
27
  # See {Seahorse::Client::RequestContext} for more information.
28
28
  #
29
29
  # ## Error Classes
30
+ # * {InternalDependencyException}
30
31
  # * {InternalFailure}
31
32
  # * {ModelError}
33
+ # * {ModelNotReadyException}
32
34
  # * {ServiceUnavailable}
33
35
  # * {ValidationError}
34
36
  #
@@ -38,6 +40,21 @@ module Aws::SageMakerRuntime
38
40
 
39
41
  extend Aws::Errors::DynamicErrors
40
42
 
43
+ class InternalDependencyException < ServiceError
44
+
45
+ # @param [Seahorse::Client::RequestContext] context
46
+ # @param [String] message
47
+ # @param [Aws::SageMakerRuntime::Types::InternalDependencyException] data
48
+ def initialize(context, message, data = Aws::EmptyStructure.new)
49
+ super(context, message, data)
50
+ end
51
+
52
+ # @return [String]
53
+ def message
54
+ @message || @data[:message]
55
+ end
56
+ end
57
+
41
58
  class InternalFailure < ServiceError
42
59
 
43
60
  # @param [Seahorse::Client::RequestContext] context
@@ -83,6 +100,21 @@ module Aws::SageMakerRuntime
83
100
  end
84
101
  end
85
102
 
103
+ class ModelNotReadyException < ServiceError
104
+
105
+ # @param [Seahorse::Client::RequestContext] context
106
+ # @param [String] message
107
+ # @param [Aws::SageMakerRuntime::Types::ModelNotReadyException] data
108
+ def initialize(context, message, data = Aws::EmptyStructure.new)
109
+ super(context, message, data)
110
+ end
111
+
112
+ # @return [String]
113
+ def message
114
+ @message || @data[:message]
115
+ end
116
+ end
117
+
86
118
  class ServiceUnavailable < ServiceError
87
119
 
88
120
  # @param [Seahorse::Client::RequestContext] context
@@ -10,6 +10,20 @@
10
10
  module Aws::SageMakerRuntime
11
11
  module Types
12
12
 
13
+ # Your request caused an exception with an internal dependency. Contact
14
+ # customer support.
15
+ #
16
+ # @!attribute [rw] message
17
+ # @return [String]
18
+ #
19
+ # @see http://docs.aws.amazon.com/goto/WebAPI/runtime.sagemaker-2017-05-13/InternalDependencyException AWS API Documentation
20
+ #
21
+ class InternalDependencyException < Struct.new(
22
+ :message)
23
+ SENSITIVE = []
24
+ include Aws::Structure
25
+ end
26
+
13
27
  # An internal failure occurred.
14
28
  #
15
29
  # @!attribute [rw] message
@@ -70,8 +84,8 @@ module Aws::SageMakerRuntime
70
84
  # custom attribute represents the trace ID, your model can prepend the
71
85
  # custom attribute with `Trace ID`\: in your post-processing function.
72
86
  #
73
- # This feature is currently supported in the AWS SDKs but not in the
74
- # Amazon SageMaker Python SDK.
87
+ # This feature is currently supported in the Amazon Web Services SDKs
88
+ # but not in the Amazon SageMaker Python SDK.
75
89
  #
76
90
  #
77
91
  #
@@ -187,8 +201,8 @@ module Aws::SageMakerRuntime
187
201
  # custom attribute represents the trace ID, your model can prepend the
188
202
  # custom attribute with `Trace ID:` in your post-processing function.
189
203
  #
190
- # This feature is currently supported in the AWS SDKs but not in the
191
- # Amazon SageMaker Python SDK.
204
+ # This feature is currently supported in the Amazon Web Services SDKs
205
+ # but not in the Amazon SageMaker Python SDK.
192
206
  #
193
207
  #
194
208
  #
@@ -285,8 +299,8 @@ module Aws::SageMakerRuntime
285
299
  # custom attribute represents the trace ID, your model can prepend the
286
300
  # custom attribute with `Trace ID:` in your post-processing function.
287
301
  #
288
- # This feature is currently supported in the AWS SDKs but not in the
289
- # Amazon SageMaker Python SDK.
302
+ # This feature is currently supported in the Amazon Web Services SDKs
303
+ # but not in the Amazon SageMaker Python SDK.
290
304
  #
291
305
  #
292
306
  #
@@ -333,6 +347,21 @@ module Aws::SageMakerRuntime
333
347
  include Aws::Structure
334
348
  end
335
349
 
350
+ # Either a serverless endpoint variant's resources are still being
351
+ # provisioned, or a multi-model endpoint is still downloading or loading
352
+ # the target model. Wait and try your request again.
353
+ #
354
+ # @!attribute [rw] message
355
+ # @return [String]
356
+ #
357
+ # @see http://docs.aws.amazon.com/goto/WebAPI/runtime.sagemaker-2017-05-13/ModelNotReadyException AWS API Documentation
358
+ #
359
+ class ModelNotReadyException < Struct.new(
360
+ :message)
361
+ SENSITIVE = []
362
+ include Aws::Structure
363
+ end
364
+
336
365
  # The service is unavailable. Try your call again.
337
366
  #
338
367
  # @!attribute [rw] message
@@ -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.35.0'
51
+ GEM_VERSION = '1.39.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.35.0
4
+ version: 1.39.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: 2021-09-01 00:00:00.000000000 Z
11
+ date: 2021-12-01 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.120.0
22
+ version: 3.122.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.120.0
32
+ version: 3.122.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement