aws-sdk-sagemakerruntime 1.21.0 → 1.26.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: ac5eef67aa03d1c72bcbf2be343b49ed0516cc3a536a5c0c7a688d2198504b1e
4
- data.tar.gz: 48cd2bc5e11d8793d397da01d429d0ac37f11ebd5c4e2aedc9c88d270818b304
3
+ metadata.gz: cbd964d1e779337fea52a15f2f8f0be687fc032d7455677ca41443d88af55c15
4
+ data.tar.gz: 78c88958d04bf8afab974d10c2b50c72e593f499aaae98d8015cc692c99ffae4
5
5
  SHA512:
6
- metadata.gz: 30f4c3236246359ef4667f4e71707b2959f7d9991fda0bc17de8eeff695ed3ead7c98b47201193a80d6f43ab51ebf2ee4a69a8d02fdf65fd52812b9453a57149
7
- data.tar.gz: 6d41b78c4153bc5f6402d067137d31396266de7de0cb24e6e1f96e05e0e0af39b0d35e0ead0f98b8a1a5eac0d9605524fa514c96a70cba1ea75525521e8291cd
6
+ metadata.gz: 4dae65517ab15078be2f0f90def67e03d9536e038aa9f79ce9ca2017687a6837778cf94bcbb1923a78fcc9c5c15b7469e36ecacc72fddda9f2c71675d9832dc1
7
+ data.tar.gz: a7d303234c1cfdf68badecb5c634a279f025f9077b90ed155e8b303cdc7e576c416e32751112318516e8d0d242e749518dc8b858f71ed24e873d8e9121563510
@@ -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.21.0'
51
+ GEM_VERSION = '1.26.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:
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
24
26
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
25
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
26
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
+ require 'aws-sdk-core/plugins/http_checksum.rb'
27
30
  require 'aws-sdk-core/plugins/signature_v4.rb'
28
31
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
29
32
 
@@ -69,6 +72,7 @@ module Aws::SageMakerRuntime
69
72
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
70
73
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
71
74
  add_plugin(Aws::Plugins::TransferEncoding)
75
+ add_plugin(Aws::Plugins::HttpChecksum)
72
76
  add_plugin(Aws::Plugins::SignatureV4)
73
77
  add_plugin(Aws::Plugins::Protocols::RestJson)
74
78
 
@@ -81,13 +85,28 @@ module Aws::SageMakerRuntime
81
85
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
82
86
  # credentials.
83
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
+ #
84
102
  # * `Aws::InstanceProfileCredentials` - Used for loading credentials
85
103
  # from an EC2 IMDS on an EC2 instance.
86
104
  #
87
- # * `Aws::SharedCredentials` - Used for loading credentials from a
88
- # shared file, such as `~/.aws/config`.
105
+ # * `Aws::ECSCredentials` - Used for loading credentials from
106
+ # instances running in ECS.
89
107
  #
90
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
108
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
109
+ # from the Cognito Identity service.
91
110
  #
92
111
  # When `:credentials` are not configured directly, the following
93
112
  # locations will be searched for credentials:
@@ -97,10 +116,10 @@ module Aws::SageMakerRuntime
97
116
  # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
98
117
  # * `~/.aws/credentials`
99
118
  # * `~/.aws/config`
100
- # * EC2 IMDS instance profile - When used by default, the timeouts are
101
- # very aggressive. Construct and pass an instance of
102
- # `Aws::InstanceProfileCredentails` to enable retries and extended
103
- # 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.
104
123
  #
105
124
  # @option options [required, String] :region
106
125
  # The AWS region to connect to. The configured `:region` is
@@ -161,7 +180,7 @@ module Aws::SageMakerRuntime
161
180
  # @option options [String] :endpoint
162
181
  # The client endpoint is normally constructed from the `:region`
163
182
  # option. You should only configure an `:endpoint` when connecting
164
- # to test endpoints. This should be a valid HTTP(S) URI.
183
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
165
184
  #
166
185
  # @option options [Integer] :endpoint_cache_max_entries (1000)
167
186
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -349,13 +368,13 @@ module Aws::SageMakerRuntime
349
368
  #
350
369
  # [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/API_CreateEndpoint.html
351
370
  #
352
- # @option params [required, String, IO] :body
371
+ # @option params [required, String, StringIO, File] :body
353
372
  # Provides input data, in the format specified in the `ContentType`
354
373
  # request header. Amazon SageMaker passes all of the data in the body to
355
374
  # the model.
356
375
  #
357
376
  # For information about the format of the request body, see [Common Data
358
- # FormatsInference][1].
377
+ # Formats-Inference][1].
359
378
  #
360
379
  #
361
380
  #
@@ -384,8 +403,14 @@ module Aws::SageMakerRuntime
384
403
  # [1]: https://tools.ietf.org/html/rfc7230#section-3.2.6
385
404
  #
386
405
  # @option params [String] :target_model
387
- # Specifies the model to be requested for an inference when invoking a
388
- # multi-model endpoint.
406
+ # The model to request for inference when invoking a multi-model
407
+ # endpoint.
408
+ #
409
+ # @option params [String] :target_variant
410
+ # Specify the production variant to send the inference request to when
411
+ # invoking an endpoint that is running two or more variants. Note that
412
+ # this parameter overrides the default behavior for the endpoint, which
413
+ # is to distribute the invocation traffic based on the variant weights.
389
414
  #
390
415
  # @return [Types::InvokeEndpointOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
391
416
  #
@@ -403,6 +428,7 @@ module Aws::SageMakerRuntime
403
428
  # accept: "Header",
404
429
  # custom_attributes: "CustomAttributesHeader",
405
430
  # target_model: "TargetModelHeader",
431
+ # target_variant: "TargetVariantHeader",
406
432
  # })
407
433
  #
408
434
  # @example Response structure
@@ -434,7 +460,7 @@ module Aws::SageMakerRuntime
434
460
  params: params,
435
461
  config: config)
436
462
  context[:gem_name] = 'aws-sdk-sagemakerruntime'
437
- context[:gem_version] = '1.21.0'
463
+ context[:gem_version] = '1.26.0'
438
464
  Seahorse::Client::Request.new(handlers, context)
439
465
  end
440
466
 
@@ -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:
@@ -24,6 +26,7 @@ module Aws::SageMakerRuntime
24
26
  ServiceUnavailable = Shapes::StructureShape.new(name: 'ServiceUnavailable')
25
27
  StatusCode = Shapes::IntegerShape.new(name: 'StatusCode')
26
28
  TargetModelHeader = Shapes::StringShape.new(name: 'TargetModelHeader')
29
+ TargetVariantHeader = Shapes::StringShape.new(name: 'TargetVariantHeader')
27
30
  ValidationError = Shapes::StructureShape.new(name: 'ValidationError')
28
31
 
29
32
  InternalFailure.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
@@ -35,6 +38,7 @@ module Aws::SageMakerRuntime
35
38
  InvokeEndpointInput.add_member(:accept, Shapes::ShapeRef.new(shape: Header, location: "header", location_name: "Accept"))
36
39
  InvokeEndpointInput.add_member(:custom_attributes, Shapes::ShapeRef.new(shape: CustomAttributesHeader, location: "header", location_name: "X-Amzn-SageMaker-Custom-Attributes"))
37
40
  InvokeEndpointInput.add_member(:target_model, Shapes::ShapeRef.new(shape: TargetModelHeader, location: "header", location_name: "X-Amzn-SageMaker-Target-Model"))
41
+ InvokeEndpointInput.add_member(:target_variant, Shapes::ShapeRef.new(shape: TargetVariantHeader, location: "header", location_name: "X-Amzn-SageMaker-Target-Variant"))
38
42
  InvokeEndpointInput.struct_class = Types::InvokeEndpointInput
39
43
  InvokeEndpointInput[:payload] = :body
40
44
  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
 
@@ -30,6 +33,7 @@ module Aws::SageMakerRuntime
30
33
  # accept: "Header",
31
34
  # custom_attributes: "CustomAttributesHeader",
32
35
  # target_model: "TargetModelHeader",
36
+ # target_variant: "TargetVariantHeader",
33
37
  # }
34
38
  #
35
39
  # @!attribute [rw] endpoint_name
@@ -47,7 +51,7 @@ module Aws::SageMakerRuntime
47
51
  # to the model.
48
52
  #
49
53
  # For information about the format of the request body, see [Common
50
- # Data FormatsInference][1].
54
+ # Data Formats-Inference][1].
51
55
  #
52
56
  #
53
57
  #
@@ -80,8 +84,16 @@ module Aws::SageMakerRuntime
80
84
  # @return [String]
81
85
  #
82
86
  # @!attribute [rw] target_model
83
- # Specifies the model to be requested for an inference when invoking a
84
- # multi-model endpoint.
87
+ # The model to request for inference when invoking a multi-model
88
+ # endpoint.
89
+ # @return [String]
90
+ #
91
+ # @!attribute [rw] target_variant
92
+ # Specify the production variant to send the inference request to when
93
+ # invoking an endpoint that is running two or more variants. Note that
94
+ # this parameter overrides the default behavior for the endpoint,
95
+ # which is to distribute the invocation traffic based on the variant
96
+ # weights.
85
97
  # @return [String]
86
98
  #
87
99
  # @see http://docs.aws.amazon.com/goto/WebAPI/runtime.sagemaker-2017-05-13/InvokeEndpointInput AWS API Documentation
@@ -92,7 +104,9 @@ module Aws::SageMakerRuntime
92
104
  :content_type,
93
105
  :accept,
94
106
  :custom_attributes,
95
- :target_model)
107
+ :target_model,
108
+ :target_variant)
109
+ SENSITIVE = [:body, :custom_attributes]
96
110
  include Aws::Structure
97
111
  end
98
112
 
@@ -100,7 +114,7 @@ module Aws::SageMakerRuntime
100
114
  # Includes the inference provided by the model.
101
115
  #
102
116
  # For information about the format of the response body, see [Common
103
- # Data FormatsInference][1].
117
+ # Data Formats-Inference][1].
104
118
  #
105
119
  #
106
120
  #
@@ -143,6 +157,7 @@ module Aws::SageMakerRuntime
143
157
  :content_type,
144
158
  :invoked_production_variant,
145
159
  :custom_attributes)
160
+ SENSITIVE = [:body, :custom_attributes]
146
161
  include Aws::Structure
147
162
  end
148
163
 
@@ -171,6 +186,7 @@ module Aws::SageMakerRuntime
171
186
  :original_status_code,
172
187
  :original_message,
173
188
  :log_stream_arn)
189
+ SENSITIVE = []
174
190
  include Aws::Structure
175
191
  end
176
192
 
@@ -183,6 +199,7 @@ module Aws::SageMakerRuntime
183
199
  #
184
200
  class ServiceUnavailable < Struct.new(
185
201
  :message)
202
+ SENSITIVE = []
186
203
  include Aws::Structure
187
204
  end
188
205
 
@@ -195,6 +212,7 @@ module Aws::SageMakerRuntime
195
212
  #
196
213
  class ValidationError < Struct.new(
197
214
  :message)
215
+ SENSITIVE = []
198
216
  include Aws::Structure
199
217
  end
200
218
 
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.26.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-09-15 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.71.0
22
+ version: 3.99.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.71.0
32
+ version: 3.99.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement