Class: Aws::ARCRegionswitch::Waiters::PlanExecutionCompleted
- Inherits:
-
Object
- Object
- Aws::ARCRegionswitch::Waiters::PlanExecutionCompleted
- Defined in:
- gems/aws-sdk-arcregionswitch/lib/aws-sdk-arcregionswitch/waiters.rb
Instance Method Summary collapse
-
#initialize(options) ⇒ PlanExecutionCompleted
constructor
A new instance of PlanExecutionCompleted.
-
#wait(params = {}) ⇒ Types::GetPlanExecutionResponse
Returns a response object which responds to the following methods:.
Constructor Details
#initialize(options) ⇒ PlanExecutionCompleted
Returns a new instance of PlanExecutionCompleted.
135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 |
# File 'gems/aws-sdk-arcregionswitch/lib/aws-sdk-arcregionswitch/waiters.rb', line 135 def initialize() @client = .fetch(:client) @waiter = Aws::Waiters::Waiter.new({ max_attempts: 5, delay: 30, poller: Aws::Waiters::Poller.new( operation_name: :get_plan_execution, acceptors: [ { "matcher" => "path", "argument" => "execution_state", "state" => "success", "expected" => "completed" }, { "matcher" => "path", "argument" => "execution_state", "state" => "success", "expected" => "completedWithExceptions" }, { "matcher" => "path", "argument" => "execution_state", "state" => "failure", "expected" => "failed" }, { "matcher" => "path", "argument" => "execution_state", "state" => "failure", "expected" => "canceled" }, { "matcher" => "path", "argument" => "execution_state", "state" => "failure", "expected" => "planExecutionTimedOut" } ] ) }.merge()) end |
Instance Method Details
#wait(params = {}) ⇒ Types::GetPlanExecutionResponse
Returns a response object which responds to the following methods:
- #plan_arn => String
- #execution_id => String
- #version => String
- #updated_at => Time
- #comment => String
- #start_time => Time
- #end_time => Time
- #mode => String
- #execution_state => String
- #execution_action => String
- #execution_region => String
- #step_states => Array<Types::StepState>
- #plan => Types::Plan
- #actual_recovery_time => String
- #next_token => String
180 181 182 |
# File 'gems/aws-sdk-arcregionswitch/lib/aws-sdk-arcregionswitch/waiters.rb', line 180 def wait(params = {}) @waiter.wait(client: @client, params: params) end |