Class: Aws::Omics::Waiters::WorkflowActive
- Inherits:
-
Object
- Object
- Aws::Omics::Waiters::WorkflowActive
- Defined in:
- lib/aws-sdk-omics/waiters.rb
Overview
Wait until a workflow is active.
Instance Attribute Summary collapse
- #waiter ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(options) ⇒ WorkflowActive
constructor
A new instance of WorkflowActive.
-
#wait(params = {}) ⇒ Types::GetWorkflowResponse
Returns a response object which responds to the following methods:.
Constructor Details
#initialize(options) ⇒ WorkflowActive
Returns a new instance of WorkflowActive.
1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 |
# File 'lib/aws-sdk-omics/waiters.rb', line 1113 def initialize() @client = .fetch(:client) @waiter = Aws::Waiters::Waiter.new({ max_attempts: 10, delay: 3, poller: Aws::Waiters::Poller.new( operation_name: :get_workflow, acceptors: [ { "matcher" => "path", "argument" => "status", "state" => "success", "expected" => "ACTIVE" }, { "matcher" => "path", "argument" => "status", "state" => "retry", "expected" => "CREATING" }, { "matcher" => "path", "argument" => "status", "state" => "retry", "expected" => "UPDATING" }, { "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.
1157 1158 1159 |
# File 'lib/aws-sdk-omics/waiters.rb', line 1157 def waiter @waiter end |
Instance Method Details
#wait(params = {}) ⇒ Types::GetWorkflowResponse
Returns a response object which responds to the following methods:
-
#arn => String
-
#id => String
-
#status => String
-
#type => String
-
#name => String
-
#description => String
-
#engine => String
-
#definition => String
-
#main => String
-
#digest => String
-
#parameter_template => Hash<String,Types::WorkflowParameter>
-
#storage_capacity => Integer
-
#creation_time => Time
-
#status_message => String
-
#tags => Hash<String,String>
-
#metadata => Hash<String,String>
-
#accelerators => String
-
#storage_type => String
-
#uuid => String
-
#container_registry_map => Types::ContainerRegistryMap
-
#readme => String
-
#definition_repository_details => Types::DefinitionRepositoryDetails
-
#readme_path => String
1152 1153 1154 |
# File 'lib/aws-sdk-omics/waiters.rb', line 1152 def wait(params = {}) @waiter.wait(client: @client, params: params) end |