Class: Aws::Route53::Waiters::HealthCheckSourceCreated
- Inherits:
-
Object
- Object
- Aws::Route53::Waiters::HealthCheckSourceCreated
- Defined in:
- gems/aws-sdk-route53/lib/aws-sdk-route53/waiters.rb
Instance Method Summary collapse
-
#initialize(options) ⇒ HealthCheckSourceCreated
constructor
A new instance of HealthCheckSourceCreated.
-
#wait(params = {}) ⇒ Types::GetHealthCheckSourceResponse
Returns a response object which responds to the following methods:.
Constructor Details
#initialize(options) ⇒ HealthCheckSourceCreated
Returns a new instance of HealthCheckSourceCreated.
86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 |
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/waiters.rb', line 86 def initialize() @client = .fetch(:client) @waiter = Aws::Waiters::Waiter.new({ max_attempts: 100, delay: 15, poller: Aws::Waiters::Poller.new( operation_name: :get_health_check_source, acceptors: [ { "matcher" => "path", "expected" => "CREATE_COMPLETED", "argument" => "health_check_source.health_check_source_status", "state" => "success" }, { "matcher" => "path", "expected" => "CREATE_FAILED", "argument" => "health_check_source.health_check_source_status", "state" => "failure" }, { "matcher" => "error", "expected" => "NoSuchHealthCheckSource", "state" => "retry" } ] ) }.merge()) end |
Instance Method Details
#wait(params = {}) ⇒ Types::GetHealthCheckSourceResponse
Returns a response object which responds to the following methods:
- #health_check_source => Types::HealthCheckSource
118 119 120 |
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/waiters.rb', line 118 def wait(params = {}) @waiter.wait(client: @client, params: params) end |