lib/aws-sdk-acmpca/waiters.rb in aws-sdk-acmpca-1.63.0 vs lib/aws-sdk-acmpca/waiters.rb in aws-sdk-acmpca-1.64.0
- old
+ new
@@ -69,11 +69,11 @@
#
# | waiter_name | params | :delay | :max_attempts |
# | --------------------------------- | ---------------------------------------------------- | -------- | ------------- |
# | audit_report_created | {Client#describe_certificate_authority_audit_report} | 3 | 60 |
# | certificate_authority_csr_created | {Client#get_certificate_authority_csr} | 3 | 60 |
- # | certificate_issued | {Client#get_certificate} | 3 | 60 |
+ # | certificate_issued | {Client#get_certificate} | 1 | 60 |
#
module Waiters
# Wait until a Audit Report is created
class AuditReportCreated
@@ -167,17 +167,17 @@
class CertificateIssued
# @param [Hash] options
# @option options [required, Client] :client
# @option options [Integer] :max_attempts (60)
- # @option options [Integer] :delay (3)
+ # @option options [Integer] :delay (1)
# @option options [Proc] :before_attempt
# @option options [Proc] :before_wait
def initialize(options)
@client = options.fetch(:client)
@waiter = Aws::Waiters::Waiter.new({
max_attempts: 60,
- delay: 3,
+ delay: 1,
poller: Aws::Waiters::Poller.new(
operation_name: :get_certificate,
acceptors: [
{
"state" => "success",