Class: Aws::Omics::Waiters::RunCompleted
- Inherits:
-
Object
- Object
- Aws::Omics::Waiters::RunCompleted
- Defined in:
- lib/aws-sdk-omics/waiters.rb
Overview
Wait until a run is completed.
Instance Attribute Summary collapse
- #waiter ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(options) ⇒ RunCompleted
constructor
A new instance of RunCompleted.
-
#wait(params = {}) ⇒ Types::GetRunResponse
Returns a response object which responds to the following methods:.
Constructor Details
#initialize(options) ⇒ RunCompleted
Returns a new instance of RunCompleted.
678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 |
# File 'lib/aws-sdk-omics/waiters.rb', line 678 def initialize() @client = .fetch(:client) @waiter = Aws::Waiters::Waiter.new({ max_attempts: 20, delay: 30, poller: Aws::Waiters::Poller.new( operation_name: :get_run, acceptors: [ { "matcher" => "path", "argument" => "status", "state" => "success", "expected" => "COMPLETED" }, { "matcher" => "path", "argument" => "status", "state" => "retry", "expected" => "PENDING" }, { "matcher" => "path", "argument" => "status", "state" => "retry", "expected" => "STARTING" }, { "matcher" => "path", "argument" => "status", "state" => "retry", "expected" => "RUNNING" }, { "matcher" => "path", "argument" => "status", "state" => "retry", "expected" => "STOPPING" }, { "matcher" => "path", "argument" => "status", "state" => "failure", "expected" => "FAILED" } ] ) }.merge()) end |
Instance Attribute Details
#waiter ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
734 735 736 |
# File 'lib/aws-sdk-omics/waiters.rb', line 734 def waiter @waiter end |
Instance Method Details
#wait(params = {}) ⇒ Types::GetRunResponse
Returns a response object which responds to the following methods:
-
#arn => String
-
#id => String
-
#cache_id => String
-
#cache_behavior => String
-
#engine_version => String
-
#status => String
-
#workflow_id => String
-
#workflow_type => String
-
#run_id => String
-
#role_arn => String
-
#name => String
-
#run_group_id => String
-
#priority => Integer
-
#definition => String
-
#digest => String
-
#parameters => Hash,Array,String,Numeric,Boolean
-
#storage_capacity => Integer
-
#output_uri => String
-
#log_level => String
-
#resource_digests => Hash<String,String>
-
#started_by => String
-
#creation_time => Time
-
#start_time => Time
-
#stop_time => Time
-
#status_message => String
-
#tags => Hash<String,String>
-
#accelerators => String
-
#retention_mode => String
-
#failure_reason => String
-
#log_location => Types::RunLogLocation
-
#uuid => String
-
#run_output_uri => String
-
#storage_type => String
-
#workflow_owner_id => String
729 730 731 |
# File 'lib/aws-sdk-omics/waiters.rb', line 729 def wait(params = {}) @waiter.wait(client: @client, params: params) end |