Class: Aws::Omics::Waiters::RunRunning
- Inherits:
-
Object
- Object
- Aws::Omics::Waiters::RunRunning
- Defined in:
- lib/aws-sdk-omics/waiters.rb
Overview
Wait until a run is running.
Instance Attribute Summary collapse
- #waiter ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(options) ⇒ RunRunning
constructor
A new instance of RunRunning.
-
#wait(params = {}) ⇒ Types::GetRunResponse
Returns a response object which responds to the following methods:.
Constructor Details
#initialize(options) ⇒ RunRunning
Returns a new instance of RunRunning.
747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 |
# File 'lib/aws-sdk-omics/waiters.rb', line 747 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" => "RUNNING" }, { "matcher" => "path", "argument" => "status", "state" => "retry", "expected" => "PENDING" }, { "matcher" => "path", "argument" => "status", "state" => "retry", "expected" => "STARTING" }, { "matcher" => "path", "argument" => "status", "state" => "failure", "expected" => "FAILED" }, { "matcher" => "path", "argument" => "status", "state" => "failure", "expected" => "CANCELLED" } ] ) }.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.
797 798 799 |
# File 'lib/aws-sdk-omics/waiters.rb', line 797 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
792 793 794 |
# File 'lib/aws-sdk-omics/waiters.rb', line 792 def wait(params = {}) @waiter.wait(client: @client, params: params) end |