aws-sdk-sagemaker 1.18.0 → 1.19.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
  SHA1:
3
- metadata.gz: 3140928c4b63ba7bd93e969b9b598c2ba15c354e
4
- data.tar.gz: 237bc6408e4a55eae00d3f7088d8a00817b43201
3
+ metadata.gz: eac950ddd857c530a0f738d83b6b030888d81e27
4
+ data.tar.gz: f65e9d8a5e186fcb78d0e758c3fe7c450da1b9f3
5
5
  SHA512:
6
- metadata.gz: 1af261d23b4702994b2700670f6737df18a3dac99b02458d9379cf43db75863866aec4518db459a471038f394ea0c305b1799958eec49124b233ca75c0ed2ea3
7
- data.tar.gz: b60aafc2e3ad93ded7f6185957e79736b68ffa24e5a7d8cf48aaadbea33e813109bda778ee65e577ec0e1afd9982956a309e46f3aafa94626e0ac0e6dfd153ae
6
+ metadata.gz: c80f68f8ded859a6ddb0e3be585ab30d2d2389ffb148e3edb04a777f9535f2e254991c9d451d44570633216f8959302e67987888d94a04489c47ea59c43b45dd
7
+ data.tar.gz: b1806f46dae88f4de59dfc8d9e9bbb36f06daed40fb538640fc02d2751b315ecbfb4e8210b9c3d1ef95355e7706d47b74bc475b8e3e98e378e8023d7c6854e2d
@@ -43,6 +43,6 @@ require_relative 'aws-sdk-sagemaker/customizations'
43
43
  # @service
44
44
  module Aws::SageMaker
45
45
 
46
- GEM_VERSION = '1.18.0'
46
+ GEM_VERSION = '1.19.0'
47
47
 
48
48
  end
@@ -3056,7 +3056,7 @@ module Aws::SageMaker
3056
3056
  params: params,
3057
3057
  config: config)
3058
3058
  context[:gem_name] = 'aws-sdk-sagemaker'
3059
- context[:gem_version] = '1.18.0'
3059
+ context[:gem_version] = '1.19.0'
3060
3060
  Seahorse::Client::Request.new(handlers, context)
3061
3061
  end
3062
3062
 
@@ -3122,14 +3122,15 @@ module Aws::SageMaker
3122
3122
  # The following table lists the valid waiter names, the operations they call,
3123
3123
  # and the default `:delay` and `:max_attempts` values.
3124
3124
  #
3125
- # | waiter_name | params | :delay | :max_attempts |
3126
- # | --------------------------------- | ----------------------------- | -------- | ------------- |
3127
- # | endpoint_deleted | {#describe_endpoint} | 30 | 60 |
3128
- # | endpoint_in_service | {#describe_endpoint} | 30 | 120 |
3129
- # | notebook_instance_deleted | {#describe_notebook_instance} | 30 | 60 |
3130
- # | notebook_instance_in_service | {#describe_notebook_instance} | 30 | 60 |
3131
- # | notebook_instance_stopped | {#describe_notebook_instance} | 30 | 60 |
3132
- # | training_job_completed_or_stopped | {#describe_training_job} | 120 | 180 |
3125
+ # | waiter_name | params | :delay | :max_attempts |
3126
+ # | ---------------------------------- | ----------------------------- | -------- | ------------- |
3127
+ # | endpoint_deleted | {#describe_endpoint} | 30 | 60 |
3128
+ # | endpoint_in_service | {#describe_endpoint} | 30 | 120 |
3129
+ # | notebook_instance_deleted | {#describe_notebook_instance} | 30 | 60 |
3130
+ # | notebook_instance_in_service | {#describe_notebook_instance} | 30 | 60 |
3131
+ # | notebook_instance_stopped | {#describe_notebook_instance} | 30 | 60 |
3132
+ # | training_job_completed_or_stopped | {#describe_training_job} | 120 | 180 |
3133
+ # | transform_job_completed_or_stopped | {#describe_transform_job} | 60 | 60 |
3133
3134
  #
3134
3135
  # @raise [Errors::FailureStateError] Raised when the waiter terminates
3135
3136
  # because the waiter has entered a state that it will not transition
@@ -3185,7 +3186,8 @@ module Aws::SageMaker
3185
3186
  notebook_instance_deleted: Waiters::NotebookInstanceDeleted,
3186
3187
  notebook_instance_in_service: Waiters::NotebookInstanceInService,
3187
3188
  notebook_instance_stopped: Waiters::NotebookInstanceStopped,
3188
- training_job_completed_or_stopped: Waiters::TrainingJobCompletedOrStopped
3189
+ training_job_completed_or_stopped: Waiters::TrainingJobCompletedOrStopped,
3190
+ transform_job_completed_or_stopped: Waiters::TransformJobCompletedOrStopped
3189
3191
  }
3190
3192
  end
3191
3193
 
@@ -287,5 +287,60 @@ module Aws::SageMaker
287
287
  attr_reader :waiter
288
288
 
289
289
  end
290
+
291
+ class TransformJobCompletedOrStopped
292
+
293
+ # @param [Hash] options
294
+ # @option options [required, Client] :client
295
+ # @option options [Integer] :max_attempts (60)
296
+ # @option options [Integer] :delay (60)
297
+ # @option options [Proc] :before_attempt
298
+ # @option options [Proc] :before_wait
299
+ def initialize(options)
300
+ @client = options.fetch(:client)
301
+ @waiter = Aws::Waiters::Waiter.new({
302
+ max_attempts: 60,
303
+ delay: 60,
304
+ poller: Aws::Waiters::Poller.new(
305
+ operation_name: :describe_transform_job,
306
+ acceptors: [
307
+ {
308
+ "expected" => "Completed",
309
+ "matcher" => "path",
310
+ "state" => "success",
311
+ "argument" => "transform_job_status"
312
+ },
313
+ {
314
+ "expected" => "Stopped",
315
+ "matcher" => "path",
316
+ "state" => "success",
317
+ "argument" => "transform_job_status"
318
+ },
319
+ {
320
+ "expected" => "Failed",
321
+ "matcher" => "path",
322
+ "state" => "failure",
323
+ "argument" => "transform_job_status"
324
+ },
325
+ {
326
+ "expected" => "ValidationException",
327
+ "matcher" => "error",
328
+ "state" => "failure"
329
+ }
330
+ ]
331
+ )
332
+ }.merge(options))
333
+ end
334
+
335
+ # @option (see Client#describe_transform_job)
336
+ # @return (see Client#describe_transform_job)
337
+ def wait(params = {})
338
+ @waiter.wait(client: @client, params: params)
339
+ end
340
+
341
+ # @api private
342
+ attr_reader :waiter
343
+
344
+ end
290
345
  end
291
346
  end
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.18.0
4
+ version: 1.19.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: 2018-09-06 00:00:00.000000000 Z
11
+ date: 2018-10-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core