lib/aws-sdk-databasemigrationservice/waiters.rb in aws-sdk-databasemigrationservice-1.15.0 vs lib/aws-sdk-databasemigrationservice/waiters.rb in aws-sdk-databasemigrationservice-1.16.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: :test_connection, + operation_name: :describe_connections, acceptors: [ { - "argument" => "connection.status", + "argument" => "connections[].status", "expected" => "successful", - "matcher" => "path", + "matcher" => "pathAll", "state" => "success" }, { - "argument" => "connection.status", + "argument" => "connections[].status", "expected" => "failed", - "matcher" => "path", + "matcher" => "pathAny", "state" => "failure" } ] ) }.merge(options)) end - # @option (see Client#test_connection) - # @return (see Client#test_connection) + # @option (see Client#describe_connections) + # @return (see Client#describe_connections) def wait(params = {}) @waiter.wait(client: @client, params: params) end # @api private