Class: Aws::NeptuneGraph::Waiters::GraphDeleted
- Inherits:
-
Object
- Object
- Aws::NeptuneGraph::Waiters::GraphDeleted
- Defined in:
- lib/aws-sdk-neptunegraph/waiters.rb
Overview
Wait until Graph is Deleted
Instance Attribute Summary collapse
- #waiter ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(options) ⇒ GraphDeleted
constructor
A new instance of GraphDeleted.
-
#wait(params = {}) ⇒ Types::GetGraphOutput
Returns a response object which responds to the following methods:.
Constructor Details
#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 |
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.
279 280 281 |
# File 'lib/aws-sdk-neptunegraph/waiters.rb', line 279 def waiter @waiter end |
Instance Method Details
#wait(params = {}) ⇒ Types::GetGraphOutput
Returns a response object which responds to the following methods:
-
#id => String
-
#name => String
-
#arn => String
-
#status => String
-
#status_reason => String
-
#create_time => Time
-
#provisioned_memory => Integer
-
#endpoint => String
-
#public_connectivity => Boolean
-
#vector_search_configuration => Types::VectorSearchConfiguration
-
#replica_count => Integer
-
#kms_key_identifier => String
-
#source_snapshot_id => String
-
#deletion_protection => Boolean
-
#build_number => String
274 275 276 |
# File 'lib/aws-sdk-neptunegraph/waiters.rb', line 274 def wait(params = {}) @waiter.wait(client: @client, params: params) end |