aws-sdk-omics 1.12.0 → 1.14.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -67,23 +67,25 @@ module Aws::Omics
67
67
  # The following table lists the valid waiter names, the operations they call,
68
68
  # and the default `:delay` and `:max_attempts` values.
69
69
  #
70
- # | waiter_name | params | :delay | :max_attempts |
71
- # | --------------------------------- | ------------------------------------ | -------- | ------------- |
72
- # | annotation_import_job_created | {Client#get_annotation_import_job} | 30 | 20 |
73
- # | annotation_store_created | {Client#get_annotation_store} | 30 | 20 |
74
- # | annotation_store_deleted | {Client#get_annotation_store} | 30 | 20 |
75
- # | read_set_activation_job_completed | {Client#get_read_set_activation_job} | 30 | 20 |
76
- # | read_set_export_job_completed | {Client#get_read_set_export_job} | 30 | 20 |
77
- # | read_set_import_job_completed | {Client#get_read_set_import_job} | 30 | 20 |
78
- # | reference_import_job_completed | {Client#get_reference_import_job} | 30 | 20 |
79
- # | run_completed | {Client#get_run} | 30 | 20 |
80
- # | run_running | {Client#get_run} | 30 | 20 |
81
- # | task_completed | {Client#get_run_task} | 30 | 20 |
82
- # | task_running | {Client#get_run_task} | 30 | 20 |
83
- # | variant_import_job_created | {Client#get_variant_import_job} | 30 | 20 |
84
- # | variant_store_created | {Client#get_variant_store} | 30 | 20 |
85
- # | variant_store_deleted | {Client#get_variant_store} | 30 | 20 |
86
- # | workflow_active | {Client#get_workflow} | 3 | 10 |
70
+ # | waiter_name | params | :delay | :max_attempts |
71
+ # | --------------------------------- | ------------------------------------- | -------- | ------------- |
72
+ # | annotation_import_job_created | {Client#get_annotation_import_job} | 30 | 20 |
73
+ # | annotation_store_created | {Client#get_annotation_store} | 30 | 20 |
74
+ # | annotation_store_deleted | {Client#get_annotation_store} | 30 | 20 |
75
+ # | annotation_store_version_created | {Client#get_annotation_store_version} | 30 | 20 |
76
+ # | annotation_store_version_deleted | {Client#get_annotation_store_version} | 30 | 20 |
77
+ # | read_set_activation_job_completed | {Client#get_read_set_activation_job} | 30 | 20 |
78
+ # | read_set_export_job_completed | {Client#get_read_set_export_job} | 30 | 20 |
79
+ # | read_set_import_job_completed | {Client#get_read_set_import_job} | 30 | 20 |
80
+ # | reference_import_job_completed | {Client#get_reference_import_job} | 30 | 20 |
81
+ # | run_completed | {Client#get_run} | 30 | 20 |
82
+ # | run_running | {Client#get_run} | 30 | 20 |
83
+ # | task_completed | {Client#get_run_task} | 30 | 20 |
84
+ # | task_running | {Client#get_run_task} | 30 | 20 |
85
+ # | variant_import_job_created | {Client#get_variant_import_job} | 30 | 20 |
86
+ # | variant_store_created | {Client#get_variant_store} | 30 | 20 |
87
+ # | variant_store_deleted | {Client#get_variant_store} | 30 | 20 |
88
+ # | workflow_active | {Client#get_workflow} | 3 | 10 |
87
89
  #
88
90
  module Waiters
89
91
 
@@ -257,6 +259,113 @@ module Aws::Omics
257
259
 
258
260
  end
259
261
 
262
+ # Wait until an annotation store version is created
263
+ class AnnotationStoreVersionCreated
264
+
265
+ # @param [Hash] options
266
+ # @option options [required, Client] :client
267
+ # @option options [Integer] :max_attempts (20)
268
+ # @option options [Integer] :delay (30)
269
+ # @option options [Proc] :before_attempt
270
+ # @option options [Proc] :before_wait
271
+ def initialize(options)
272
+ @client = options.fetch(:client)
273
+ @waiter = Aws::Waiters::Waiter.new({
274
+ max_attempts: 20,
275
+ delay: 30,
276
+ poller: Aws::Waiters::Poller.new(
277
+ operation_name: :get_annotation_store_version,
278
+ acceptors: [
279
+ {
280
+ "matcher" => "path",
281
+ "argument" => "status",
282
+ "state" => "success",
283
+ "expected" => "ACTIVE"
284
+ },
285
+ {
286
+ "matcher" => "path",
287
+ "argument" => "status",
288
+ "state" => "retry",
289
+ "expected" => "CREATING"
290
+ },
291
+ {
292
+ "matcher" => "path",
293
+ "argument" => "status",
294
+ "state" => "retry",
295
+ "expected" => "UPDATING"
296
+ },
297
+ {
298
+ "matcher" => "path",
299
+ "argument" => "status",
300
+ "state" => "failure",
301
+ "expected" => "FAILED"
302
+ }
303
+ ]
304
+ )
305
+ }.merge(options))
306
+ end
307
+
308
+ # @option (see Client#get_annotation_store_version)
309
+ # @return (see Client#get_annotation_store_version)
310
+ def wait(params = {})
311
+ @waiter.wait(client: @client, params: params)
312
+ end
313
+
314
+ # @api private
315
+ attr_reader :waiter
316
+
317
+ end
318
+
319
+ # Wait until an annotation store version is deleted.
320
+ class AnnotationStoreVersionDeleted
321
+
322
+ # @param [Hash] options
323
+ # @option options [required, Client] :client
324
+ # @option options [Integer] :max_attempts (20)
325
+ # @option options [Integer] :delay (30)
326
+ # @option options [Proc] :before_attempt
327
+ # @option options [Proc] :before_wait
328
+ def initialize(options)
329
+ @client = options.fetch(:client)
330
+ @waiter = Aws::Waiters::Waiter.new({
331
+ max_attempts: 20,
332
+ delay: 30,
333
+ poller: Aws::Waiters::Poller.new(
334
+ operation_name: :get_annotation_store_version,
335
+ acceptors: [
336
+ {
337
+ "matcher" => "path",
338
+ "argument" => "status",
339
+ "state" => "success",
340
+ "expected" => "DELETED"
341
+ },
342
+ {
343
+ "matcher" => "error",
344
+ "state" => "success",
345
+ "expected" => "ResourceNotFoundException"
346
+ },
347
+ {
348
+ "matcher" => "path",
349
+ "argument" => "status",
350
+ "state" => "retry",
351
+ "expected" => "DELETING"
352
+ }
353
+ ]
354
+ )
355
+ }.merge(options))
356
+ end
357
+
358
+ # @option (see Client#get_annotation_store_version)
359
+ # @return (see Client#get_annotation_store_version)
360
+ def wait(params = {})
361
+ @waiter.wait(client: @client, params: params)
362
+ end
363
+
364
+ # @api private
365
+ attr_reader :waiter
366
+
367
+ end
368
+
260
369
  # Wait until a job is completed.
261
370
  class ReadSetActivationJobCompleted
262
371
 
data/lib/aws-sdk-omics.rb CHANGED
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-omics/customizations'
53
53
  # @!group service
54
54
  module Aws::Omics
55
55
 
56
- GEM_VERSION = '1.12.0'
56
+ GEM_VERSION = '1.14.0'
57
57
 
58
58
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-omics
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.12.0
4
+ version: 1.14.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: 2023-08-10 00:00:00.000000000 Z
11
+ date: 2023-08-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core