Class: Aws::NeptuneGraph::Waiters::PrivateGraphEndpointDeleted
- Inherits:
-
Object
- Object
- Aws::NeptuneGraph::Waiters::PrivateGraphEndpointDeleted
- Defined in:
- gems/aws-sdk-neptunegraph/lib/aws-sdk-neptunegraph/waiters.rb
Overview
Wait until PrivateGraphEndpoint is Deleted
Instance Method Summary collapse
-
#initialize(options) ⇒ PrivateGraphEndpointDeleted
constructor
A new instance of PrivateGraphEndpointDeleted.
-
#wait(params = {}) ⇒ Types::GetPrivateGraphEndpointOutput
Returns a response object which responds to the following methods:.
Constructor Details
#initialize(options) ⇒ PrivateGraphEndpointDeleted
Returns a new instance of PrivateGraphEndpointDeleted.
441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 |
# File 'gems/aws-sdk-neptunegraph/lib/aws-sdk-neptunegraph/waiters.rb', line 441 def initialize() @client = .fetch(:client) @waiter = Aws::Waiters::Waiter.new({ max_attempts: 180, delay: 10, poller: Aws::Waiters::Poller.new( operation_name: :get_private_graph_endpoint, acceptors: [ { "matcher" => "path", "argument" => "status != 'DELETING'", "state" => "failure", "expected" => true }, { "matcher" => "error", "state" => "success", "expected" => "ResourceNotFoundException" } ] ) }.merge()) end |
Instance Method Details
#wait(params = {}) ⇒ Types::GetPrivateGraphEndpointOutput
Returns a response object which responds to the following methods:
- #vpc_id => String
- #subnet_ids => Array<String>
- #status => String
- #vpc_endpoint_id => String
467 468 469 |
# File 'gems/aws-sdk-neptunegraph/lib/aws-sdk-neptunegraph/waiters.rb', line 467 def wait(params = {}) @waiter.wait(client: @client, params: params) end |