Class: Aws::ACM::Waiters::CertificateValidated
- Inherits:
-
Object
- Object
- Aws::ACM::Waiters::CertificateValidated
- Defined in:
- gems/aws-sdk-acm/lib/aws-sdk-acm/waiters.rb
Instance Method Summary collapse
-
#initialize(options) ⇒ CertificateValidated
constructor
A new instance of CertificateValidated.
-
#wait(params = {}) ⇒ Types::DescribeCertificateResponse
Returns a response object which responds to the following methods:.
Constructor Details
#initialize(options) ⇒ CertificateValidated
Returns a new instance of CertificateValidated.
278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 |
# File 'gems/aws-sdk-acm/lib/aws-sdk-acm/waiters.rb', line 278 def initialize() @client = .fetch(:client) @waiter = Aws::Waiters::Waiter.new({ max_attempts: 5, delay: 60, poller: Aws::Waiters::Poller.new( operation_name: :describe_certificate, acceptors: [ { "matcher" => "pathAll", "argument" => "certificate.domain_validation_options[].validation_status", "state" => "success", "expected" => "SUCCESS" }, { "matcher" => "pathAny", "argument" => "certificate.domain_validation_options[].validation_status", "state" => "retry", "expected" => "PENDING_VALIDATION" }, { "matcher" => "path", "argument" => "certificate.status", "state" => "failure", "expected" => "FAILED" }, { "matcher" => "error", "state" => "failure", "expected" => "ResourceNotFoundException" } ] ) }.merge()) end |
Instance Method Details
#wait(params = {}) ⇒ Types::DescribeCertificateResponse
Returns a response object which responds to the following methods:
- #certificate => Types::CertificateDetail
316 317 318 |
# File 'gems/aws-sdk-acm/lib/aws-sdk-acm/waiters.rb', line 316 def wait(params = {}) @waiter.wait(client: @client, params: params) end |