Sha256: fa2ee6a041b26061e376876d0286ca6673059b4f5b698492ce69e2e7b9c99195
Contents?: true
Size: 1.29 KB
Versions: 47
Compression:
Stored size: 1.29 KB
Contents
# WARNING ABOUT GENERATED CODE # # This file is generated. See the contributing guide for more information: # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md # # WARNING ABOUT GENERATED CODE require 'aws-sdk-core/waiters' module Aws::Route53 module Waiters class ResourceRecordSetsChanged # @param [Hash] options # @option options [required, Client] :client # @option options [Integer] :max_attempts (60) # @option options [Integer] :delay (30) # @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: 30, poller: Aws::Waiters::Poller.new( operation_name: :get_change, acceptors: [{ "matcher" => "path", "expected" => "INSYNC", "argument" => "change_info.status", "state" => "success" }] ) }.merge(options)) end # @option (see Client#get_change) # @return (see Client#get_change) def wait(params = {}) @waiter.wait(client: @client, params: params) end # @api private attr_reader :waiter end end end
Version data entries
47 entries across 47 versions & 1 rubygems