aws-sdk-sagemaker 1.91.0 → 1.95.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sagemaker.rb +1 -1
- data/lib/aws-sdk-sagemaker/client.rb +374 -268
- data/lib/aws-sdk-sagemaker/client_api.rb +14 -0
- data/lib/aws-sdk-sagemaker/types.rb +579 -425
- data/lib/aws-sdk-sagemaker/waiters.rb +248 -0
- metadata +4 -4
@@ -71,6 +71,11 @@ module Aws::SageMaker
|
|
71
71
|
# | ----------------------------------- | ----------------------------------- | -------- | ------------- |
|
72
72
|
# | endpoint_deleted | {Client#describe_endpoint} | 30 | 60 |
|
73
73
|
# | endpoint_in_service | {Client#describe_endpoint} | 30 | 120 |
|
74
|
+
# | image_created | {Client#describe_image} | 60 | 60 |
|
75
|
+
# | image_deleted | {Client#describe_image} | 60 | 60 |
|
76
|
+
# | image_updated | {Client#describe_image} | 60 | 60 |
|
77
|
+
# | image_version_created | {Client#describe_image_version} | 60 | 60 |
|
78
|
+
# | image_version_deleted | {Client#describe_image_version} | 60 | 60 |
|
74
79
|
# | notebook_instance_deleted | {Client#describe_notebook_instance} | 30 | 60 |
|
75
80
|
# | notebook_instance_in_service | {Client#describe_notebook_instance} | 30 | 60 |
|
76
81
|
# | notebook_instance_stopped | {Client#describe_notebook_instance} | 30 | 60 |
|
@@ -172,6 +177,249 @@ module Aws::SageMaker
|
|
172
177
|
|
173
178
|
end
|
174
179
|
|
180
|
+
class ImageCreated
|
181
|
+
|
182
|
+
# @param [Hash] options
|
183
|
+
# @option options [required, Client] :client
|
184
|
+
# @option options [Integer] :max_attempts (60)
|
185
|
+
# @option options [Integer] :delay (60)
|
186
|
+
# @option options [Proc] :before_attempt
|
187
|
+
# @option options [Proc] :before_wait
|
188
|
+
def initialize(options)
|
189
|
+
@client = options.fetch(:client)
|
190
|
+
@waiter = Aws::Waiters::Waiter.new({
|
191
|
+
max_attempts: 60,
|
192
|
+
delay: 60,
|
193
|
+
poller: Aws::Waiters::Poller.new(
|
194
|
+
operation_name: :describe_image,
|
195
|
+
acceptors: [
|
196
|
+
{
|
197
|
+
"expected" => "CREATED",
|
198
|
+
"matcher" => "path",
|
199
|
+
"state" => "success",
|
200
|
+
"argument" => "image_status"
|
201
|
+
},
|
202
|
+
{
|
203
|
+
"expected" => "CREATE_FAILED",
|
204
|
+
"matcher" => "path",
|
205
|
+
"state" => "failure",
|
206
|
+
"argument" => "image_status"
|
207
|
+
},
|
208
|
+
{
|
209
|
+
"expected" => "ValidationException",
|
210
|
+
"matcher" => "error",
|
211
|
+
"state" => "failure"
|
212
|
+
}
|
213
|
+
]
|
214
|
+
)
|
215
|
+
}.merge(options))
|
216
|
+
end
|
217
|
+
|
218
|
+
# @option (see Client#describe_image)
|
219
|
+
# @return (see Client#describe_image)
|
220
|
+
def wait(params = {})
|
221
|
+
@waiter.wait(client: @client, params: params)
|
222
|
+
end
|
223
|
+
|
224
|
+
# @api private
|
225
|
+
attr_reader :waiter
|
226
|
+
|
227
|
+
end
|
228
|
+
|
229
|
+
class ImageDeleted
|
230
|
+
|
231
|
+
# @param [Hash] options
|
232
|
+
# @option options [required, Client] :client
|
233
|
+
# @option options [Integer] :max_attempts (60)
|
234
|
+
# @option options [Integer] :delay (60)
|
235
|
+
# @option options [Proc] :before_attempt
|
236
|
+
# @option options [Proc] :before_wait
|
237
|
+
def initialize(options)
|
238
|
+
@client = options.fetch(:client)
|
239
|
+
@waiter = Aws::Waiters::Waiter.new({
|
240
|
+
max_attempts: 60,
|
241
|
+
delay: 60,
|
242
|
+
poller: Aws::Waiters::Poller.new(
|
243
|
+
operation_name: :describe_image,
|
244
|
+
acceptors: [
|
245
|
+
{
|
246
|
+
"expected" => "ResourceNotFoundException",
|
247
|
+
"matcher" => "error",
|
248
|
+
"state" => "success"
|
249
|
+
},
|
250
|
+
{
|
251
|
+
"expected" => "DELETE_FAILED",
|
252
|
+
"matcher" => "path",
|
253
|
+
"state" => "failure",
|
254
|
+
"argument" => "image_status"
|
255
|
+
},
|
256
|
+
{
|
257
|
+
"expected" => "ValidationException",
|
258
|
+
"matcher" => "error",
|
259
|
+
"state" => "failure"
|
260
|
+
}
|
261
|
+
]
|
262
|
+
)
|
263
|
+
}.merge(options))
|
264
|
+
end
|
265
|
+
|
266
|
+
# @option (see Client#describe_image)
|
267
|
+
# @return (see Client#describe_image)
|
268
|
+
def wait(params = {})
|
269
|
+
@waiter.wait(client: @client, params: params)
|
270
|
+
end
|
271
|
+
|
272
|
+
# @api private
|
273
|
+
attr_reader :waiter
|
274
|
+
|
275
|
+
end
|
276
|
+
|
277
|
+
class ImageUpdated
|
278
|
+
|
279
|
+
# @param [Hash] options
|
280
|
+
# @option options [required, Client] :client
|
281
|
+
# @option options [Integer] :max_attempts (60)
|
282
|
+
# @option options [Integer] :delay (60)
|
283
|
+
# @option options [Proc] :before_attempt
|
284
|
+
# @option options [Proc] :before_wait
|
285
|
+
def initialize(options)
|
286
|
+
@client = options.fetch(:client)
|
287
|
+
@waiter = Aws::Waiters::Waiter.new({
|
288
|
+
max_attempts: 60,
|
289
|
+
delay: 60,
|
290
|
+
poller: Aws::Waiters::Poller.new(
|
291
|
+
operation_name: :describe_image,
|
292
|
+
acceptors: [
|
293
|
+
{
|
294
|
+
"expected" => "CREATED",
|
295
|
+
"matcher" => "path",
|
296
|
+
"state" => "success",
|
297
|
+
"argument" => "image_status"
|
298
|
+
},
|
299
|
+
{
|
300
|
+
"expected" => "UPDATE_FAILED",
|
301
|
+
"matcher" => "path",
|
302
|
+
"state" => "failure",
|
303
|
+
"argument" => "image_status"
|
304
|
+
},
|
305
|
+
{
|
306
|
+
"expected" => "ValidationException",
|
307
|
+
"matcher" => "error",
|
308
|
+
"state" => "failure"
|
309
|
+
}
|
310
|
+
]
|
311
|
+
)
|
312
|
+
}.merge(options))
|
313
|
+
end
|
314
|
+
|
315
|
+
# @option (see Client#describe_image)
|
316
|
+
# @return (see Client#describe_image)
|
317
|
+
def wait(params = {})
|
318
|
+
@waiter.wait(client: @client, params: params)
|
319
|
+
end
|
320
|
+
|
321
|
+
# @api private
|
322
|
+
attr_reader :waiter
|
323
|
+
|
324
|
+
end
|
325
|
+
|
326
|
+
class ImageVersionCreated
|
327
|
+
|
328
|
+
# @param [Hash] options
|
329
|
+
# @option options [required, Client] :client
|
330
|
+
# @option options [Integer] :max_attempts (60)
|
331
|
+
# @option options [Integer] :delay (60)
|
332
|
+
# @option options [Proc] :before_attempt
|
333
|
+
# @option options [Proc] :before_wait
|
334
|
+
def initialize(options)
|
335
|
+
@client = options.fetch(:client)
|
336
|
+
@waiter = Aws::Waiters::Waiter.new({
|
337
|
+
max_attempts: 60,
|
338
|
+
delay: 60,
|
339
|
+
poller: Aws::Waiters::Poller.new(
|
340
|
+
operation_name: :describe_image_version,
|
341
|
+
acceptors: [
|
342
|
+
{
|
343
|
+
"expected" => "CREATED",
|
344
|
+
"matcher" => "path",
|
345
|
+
"state" => "success",
|
346
|
+
"argument" => "image_version_status"
|
347
|
+
},
|
348
|
+
{
|
349
|
+
"expected" => "CREATE_FAILED",
|
350
|
+
"matcher" => "path",
|
351
|
+
"state" => "failure",
|
352
|
+
"argument" => "image_version_status"
|
353
|
+
},
|
354
|
+
{
|
355
|
+
"expected" => "ValidationException",
|
356
|
+
"matcher" => "error",
|
357
|
+
"state" => "failure"
|
358
|
+
}
|
359
|
+
]
|
360
|
+
)
|
361
|
+
}.merge(options))
|
362
|
+
end
|
363
|
+
|
364
|
+
# @option (see Client#describe_image_version)
|
365
|
+
# @return (see Client#describe_image_version)
|
366
|
+
def wait(params = {})
|
367
|
+
@waiter.wait(client: @client, params: params)
|
368
|
+
end
|
369
|
+
|
370
|
+
# @api private
|
371
|
+
attr_reader :waiter
|
372
|
+
|
373
|
+
end
|
374
|
+
|
375
|
+
class ImageVersionDeleted
|
376
|
+
|
377
|
+
# @param [Hash] options
|
378
|
+
# @option options [required, Client] :client
|
379
|
+
# @option options [Integer] :max_attempts (60)
|
380
|
+
# @option options [Integer] :delay (60)
|
381
|
+
# @option options [Proc] :before_attempt
|
382
|
+
# @option options [Proc] :before_wait
|
383
|
+
def initialize(options)
|
384
|
+
@client = options.fetch(:client)
|
385
|
+
@waiter = Aws::Waiters::Waiter.new({
|
386
|
+
max_attempts: 60,
|
387
|
+
delay: 60,
|
388
|
+
poller: Aws::Waiters::Poller.new(
|
389
|
+
operation_name: :describe_image_version,
|
390
|
+
acceptors: [
|
391
|
+
{
|
392
|
+
"expected" => "ResourceNotFoundException",
|
393
|
+
"matcher" => "error",
|
394
|
+
"state" => "success"
|
395
|
+
},
|
396
|
+
{
|
397
|
+
"expected" => "DELETE_FAILED",
|
398
|
+
"matcher" => "path",
|
399
|
+
"state" => "failure",
|
400
|
+
"argument" => "image_version_status"
|
401
|
+
},
|
402
|
+
{
|
403
|
+
"expected" => "ValidationException",
|
404
|
+
"matcher" => "error",
|
405
|
+
"state" => "failure"
|
406
|
+
}
|
407
|
+
]
|
408
|
+
)
|
409
|
+
}.merge(options))
|
410
|
+
end
|
411
|
+
|
412
|
+
# @option (see Client#describe_image_version)
|
413
|
+
# @return (see Client#describe_image_version)
|
414
|
+
def wait(params = {})
|
415
|
+
@waiter.wait(client: @client, params: params)
|
416
|
+
end
|
417
|
+
|
418
|
+
# @api private
|
419
|
+
attr_reader :waiter
|
420
|
+
|
421
|
+
end
|
422
|
+
|
175
423
|
class NotebookInstanceDeleted
|
176
424
|
|
177
425
|
# @param [Hash] options
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-sagemaker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.95.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-
|
11
|
+
date: 2021-07-30 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.
|
22
|
+
version: 3.119.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.
|
32
|
+
version: 3.119.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|