Class: Aws::Route53::Waiters::HealthCheckSourceDeleted
- Inherits:
-
Object
- Object
- Aws::Route53::Waiters::HealthCheckSourceDeleted
- Defined in:
- gems/aws-sdk-route53/lib/aws-sdk-route53/waiters.rb
Instance Method Summary collapse
-
#initialize(options) ⇒ HealthCheckSourceDeleted
constructor
A new instance of HealthCheckSourceDeleted.
-
#wait(params = {}) ⇒ Types::GetHealthCheckSourceResponse
Returns a response object which responds to the following methods:.
Constructor Details
#initialize(options) ⇒ HealthCheckSourceDeleted
Returns a new instance of HealthCheckSourceDeleted.
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 |
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/waiters.rb', line 135 def initialize() @client = .fetch(:client) @waiter = Aws::Waiters::Waiter.new({ max_attempts: 40, delay: 15, poller: Aws::Waiters::Poller.new( operation_name: :get_health_check_source, acceptors: [ { "matcher" => "error", "expected" => "NoSuchHealthCheckSource", "state" => "success" }, { "matcher" => "path", "expected" => "DELETE_COMPLETED", "argument" => "health_check_source.health_check_source_status", "state" => "success" }, { "matcher" => "path", "expected" => "DELETE_FAILED", "argument" => "health_check_source.health_check_source_status", "state" => "failure" } ] ) }.merge()) end |
Instance Method Details
#wait(params = {}) ⇒ Types::GetHealthCheckSourceResponse
Returns a response object which responds to the following methods:
- #health_check_source => Types::HealthCheckSource
167 168 169 |
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/waiters.rb', line 167 def wait(params = {}) @waiter.wait(client: @client, params: params) end |