Class: Aws::NeptuneGraph::Waiters::GraphDeleted
- Inherits:
-
Object
- Object
- Aws::NeptuneGraph::Waiters::GraphDeleted
- Defined in:
- gems/aws-sdk-neptunegraph/lib/aws-sdk-neptunegraph/waiters.rb
Overview
Wait until Graph is Deleted
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.
143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 |
# File 'gems/aws-sdk-neptunegraph/lib/aws-sdk-neptunegraph/waiters.rb', line 143 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 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
169 170 171 |
# File 'gems/aws-sdk-neptunegraph/lib/aws-sdk-neptunegraph/waiters.rb', line 169 def wait(params = {}) @waiter.wait(client: @client, params: params) end |