Class: Aws::Route53RecoveryControlConfig::Waiters::RoutingControlDeleted
- Inherits:
-
Object
- Object
- Aws::Route53RecoveryControlConfig::Waiters::RoutingControlDeleted
- Defined in:
- gems/aws-sdk-route53recoverycontrolconfig/lib/aws-sdk-route53recoverycontrolconfig/waiters.rb
Overview
Wait for a routing control to be deleted
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 'gems/aws-sdk-route53recoverycontrolconfig/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 Method Details
#wait(params = {}) ⇒ Types::DescribeRoutingControlResponse
Returns a response object which responds to the following methods:
- #routing_control => Types::RoutingControl
369 370 371 |
# File 'gems/aws-sdk-route53recoverycontrolconfig/lib/aws-sdk-route53recoverycontrolconfig/waiters.rb', line 369 def wait(params = {}) @waiter.wait(client: @client, params: params) end |