Class: Aws::NeptuneGraph::Waiters::GraphSnapshotDeleted
- Inherits:
-
Object
- Object
- Aws::NeptuneGraph::Waiters::GraphSnapshotDeleted
- Defined in:
- lib/aws-sdk-neptunegraph/waiters.rb
Overview
Wait until GraphSnapshot is Deleted
Instance Attribute Summary collapse
- #waiter ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(options) ⇒ GraphSnapshotDeleted
constructor
A new instance of GraphSnapshotDeleted.
-
#wait(params = {}) ⇒ Types::GetGraphSnapshotOutput
Returns a response object which responds to the following methods:.
Constructor Details
#initialize(options) ⇒ GraphSnapshotDeleted
Returns a new instance of GraphSnapshotDeleted.
343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 |
# File 'lib/aws-sdk-neptunegraph/waiters.rb', line 343 def initialize() @client = .fetch(:client) @waiter = Aws::Waiters::Waiter.new({ max_attempts: 60, delay: 60, poller: Aws::Waiters::Poller.new( operation_name: :get_graph_snapshot, acceptors: [ { "matcher" => "path", "argument" => "status != 'DELETING'", "state" => "failure", "expected" => true }, { "matcher" => "error", "state" => "success", "expected" => "ResourceNotFoundException" } ] ) }.merge()) end |
Instance Attribute Details
#waiter ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
374 375 376 |
# File 'lib/aws-sdk-neptunegraph/waiters.rb', line 374 def waiter @waiter end |
Instance Method Details
#wait(params = {}) ⇒ Types::GetGraphSnapshotOutput
Returns a response object which responds to the following methods:
-
#id => String
-
#name => String
-
#arn => String
-
#source_graph_id => String
-
#snapshot_create_time => Time
-
#status => String
-
#kms_key_identifier => String
369 370 371 |
# File 'lib/aws-sdk-neptunegraph/waiters.rb', line 369 def wait(params = {}) @waiter.wait(client: @client, params: params) end |