lib/aws-sdk-databasemigrationservice/waiters.rb in aws-sdk-databasemigrationservice-1.13.0 vs lib/aws-sdk-databasemigrationservice/waiters.rb in aws-sdk-databasemigrationservice-1.14.0

- old
+ new

@@ -509,30 +509,30 @@ @client = options.fetch(:client) @waiter = Aws::Waiters::Waiter.new({ max_attempts: 60, delay: 5, poller: Aws::Waiters::Poller.new( - operation_name: :describe_connections, + operation_name: :test_connection, acceptors: [ { - "argument" => "connections[].status", + "argument" => "connection.status", "expected" => "successful", - "matcher" => "pathAll", + "matcher" => "path", "state" => "success" }, { - "argument" => "connections[].status", + "argument" => "connection.status", "expected" => "failed", - "matcher" => "pathAny", + "matcher" => "path", "state" => "failure" } ] ) }.merge(options)) end - # @option (see Client#describe_connections) - # @return (see Client#describe_connections) + # @option (see Client#test_connection) + # @return (see Client#test_connection) def wait(params = {}) @waiter.wait(client: @client, params: params) end # @api private