Class: Aws::ACM::Waiters::AcmeEndpointActive
- Inherits:
-
Object
- Object
- Aws::ACM::Waiters::AcmeEndpointActive
- Defined in:
- gems/aws-sdk-acm/lib/aws-sdk-acm/waiters.rb
Overview
Wait until an ACME endpoint has finished provisioning and is ACTIVE.
Instance Method Summary collapse
-
#initialize(options) ⇒ AcmeEndpointActive
constructor
A new instance of AcmeEndpointActive.
-
#wait(params = {}) ⇒ Types::DescribeAcmeEndpointResponse
Returns a response object which responds to the following methods:.
Constructor Details
#initialize(options) ⇒ AcmeEndpointActive
Returns a new instance of AcmeEndpointActive.
184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 |
# File 'gems/aws-sdk-acm/lib/aws-sdk-acm/waiters.rb', line 184 def initialize() @client = .fetch(:client) @waiter = Aws::Waiters::Waiter.new({ max_attempts: 60, delay: 5, poller: Aws::Waiters::Poller.new( operation_name: :describe_acme_endpoint, acceptors: [ { "matcher" => "path", "argument" => "acme_endpoint.status", "state" => "success", "expected" => "ACTIVE" }, { "matcher" => "path", "argument" => "acme_endpoint.status", "state" => "failure", "expected" => "FAILED" }, { "matcher" => "path", "argument" => "acme_endpoint.status", "state" => "retry", "expected" => "CREATING" } ] ) }.merge()) end |
Instance Method Details
#wait(params = {}) ⇒ Types::DescribeAcmeEndpointResponse
Returns a response object which responds to the following methods:
- #acme_endpoint => Types::AcmeEndpoint
217 218 219 |
# File 'gems/aws-sdk-acm/lib/aws-sdk-acm/waiters.rb', line 217 def wait(params = {}) @waiter.wait(client: @client, params: params) end |