Class: Aws::NeptuneGraph::Waiters::GraphSnapshotDeleted
- Inherits:
-
Object
- Object
- Aws::NeptuneGraph::Waiters::GraphSnapshotDeleted
- Defined in:
- gems/aws-sdk-neptunegraph/lib/aws-sdk-neptunegraph/waiters.rb
Overview
Wait until GraphSnapshot is Deleted
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.
238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 |
# File 'gems/aws-sdk-neptunegraph/lib/aws-sdk-neptunegraph/waiters.rb', line 238 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 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
264 265 266 |
# File 'gems/aws-sdk-neptunegraph/lib/aws-sdk-neptunegraph/waiters.rb', line 264 def wait(params = {}) @waiter.wait(client: @client, params: params) end |