Class: Aws::Route53RecoveryControlConfig::Waiters::RoutingControlDeleted
- Inherits:
-
Object
- Object
- Aws::Route53RecoveryControlConfig::Waiters::RoutingControlDeleted
- Defined in:
- lib/aws-sdk-route53recoverycontrolconfig/waiters.rb
Overview
Wait for a routing control to be deleted
Instance Attribute Summary collapse
- #waiter ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(options) ⇒ RoutingControlDeleted
constructor
A new instance of RoutingControlDeleted.
-
#wait(params = {}) ⇒ Types::DescribeRoutingControlResponse
Returns a response object which responds to the following methods:.
Constructor Details
#initialize(options) ⇒ RoutingControlDeleted
Returns a new instance of RoutingControlDeleted.
338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 |
# File 'lib/aws-sdk-route53recoverycontrolconfig/waiters.rb', line 338 def initialize() @client = .fetch(:client) @waiter = Aws::Waiters::Waiter.new({ max_attempts: 26, delay: 5, poller: Aws::Waiters::Poller.new( operation_name: :describe_routing_control, acceptors: [ { "state" => "success", "matcher" => "status", "expected" => 404 }, { "state" => "retry", "matcher" => "path", "argument" => "routing_control.status", "expected" => "PENDING_DELETION" }, { "state" => "retry", "matcher" => "status", "expected" => 500 } ] ) }.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.
374 375 376 |
# File 'lib/aws-sdk-route53recoverycontrolconfig/waiters.rb', line 374 def waiter @waiter end |
Instance Method Details
#wait(params = {}) ⇒ Types::DescribeRoutingControlResponse
Returns a response object which responds to the following methods:
-
#routing_control => Types::RoutingControl
369 370 371 |
# File 'lib/aws-sdk-route53recoverycontrolconfig/waiters.rb', line 369 def wait(params = {}) @waiter.wait(client: @client, params: params) end |