Class: Aws::EC2::Waiters::VpnConnectionDeleted
- Inherits:
 - 
      Object
      
        
- Object
 - Aws::EC2::Waiters::VpnConnectionDeleted
 
 
- Defined in:
 - lib/aws-sdk-ec2/waiters.rb
 
Instance Attribute Summary collapse
- #waiter ⇒ Object readonly private
 
Instance Method Summary collapse
- 
  
    
      #initialize(options)  ⇒ VpnConnectionDeleted 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of VpnConnectionDeleted.
 - 
  
    
      #wait(params = {})  ⇒ Types::DescribeVpnConnectionsResult 
    
    
  
  
  
  
  
  
  
  
  
    
Returns a response object which responds to the following methods:.
 
Constructor Details
#initialize(options) ⇒ VpnConnectionDeleted
Returns a new instance of VpnConnectionDeleted.
      1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703  | 
    
      # File 'lib/aws-sdk-ec2/waiters.rb', line 1680 def initialize() @client = .fetch(:client) @waiter = Aws::Waiters::Waiter.new({ max_attempts: 40, delay: 15, poller: Aws::Waiters::Poller.new( operation_name: :describe_vpn_connections, acceptors: [ { "expected" => "deleted", "matcher" => "pathAll", "state" => "success", "argument" => "vpn_connections[].state" }, { "expected" => "pending", "matcher" => "pathAny", "state" => "failure", "argument" => "vpn_connections[].state" } ] ) }.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.
      1712 1713 1714  | 
    
      # File 'lib/aws-sdk-ec2/waiters.rb', line 1712 def waiter @waiter end  | 
  
Instance Method Details
#wait(params = {}) ⇒ Types::DescribeVpnConnectionsResult
Returns a response object which responds to the following methods:
- 
#vpn_connections => Array<Types::VpnConnection>
 
      1707 1708 1709  | 
    
      # File 'lib/aws-sdk-ec2/waiters.rb', line 1707 def wait(params = {}) @waiter.wait(client: @client, params: params) end  |