Method: Aws::NeptuneGraph::Waiters::GraphDeleted#initialize
- Defined in:
- lib/aws-sdk-neptunegraph/waiters.rb
#initialize(options) ⇒ GraphDeleted
Returns a new instance of GraphDeleted.
248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 |
# File 'lib/aws-sdk-neptunegraph/waiters.rb', line 248 def initialize() @client = .fetch(:client) @waiter = Aws::Waiters::Waiter.new({ max_attempts: 60, delay: 60, poller: Aws::Waiters::Poller.new( operation_name: :get_graph, acceptors: [ { "matcher" => "path", "argument" => "status != 'DELETING'", "state" => "failure", "expected" => true }, { "matcher" => "error", "state" => "success", "expected" => "ResourceNotFoundException" } ] ) }.merge()) end |