Class: Aws::EC2::Waiters::VolumeDeleted
- Inherits:
 - 
      Object
      
        
- Object
 - Aws::EC2::Waiters::VolumeDeleted
 
 
- Defined in:
 - lib/aws-sdk-ec2/waiters.rb
 
Instance Attribute Summary collapse
- #waiter ⇒ Object readonly private
 
Instance Method Summary collapse
- 
  
    
      #initialize(options)  ⇒ VolumeDeleted 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of VolumeDeleted.
 - 
  
    
      #wait(params = {})  ⇒ Types::DescribeVolumesResult 
    
    
  
  
  
  
  
  
  
  
  
    
Returns a response object which responds to the following methods:.
 
Constructor Details
#initialize(options) ⇒ VolumeDeleted
Returns a new instance of VolumeDeleted.
      1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402  | 
    
      # File 'lib/aws-sdk-ec2/waiters.rb', line 1380 def initialize() @client = .fetch(:client) @waiter = Aws::Waiters::Waiter.new({ max_attempts: 40, delay: 15, poller: Aws::Waiters::Poller.new( operation_name: :describe_volumes, acceptors: [ { "expected" => "deleted", "matcher" => "pathAll", "state" => "success", "argument" => "volumes[].state" }, { "matcher" => "error", "expected" => "InvalidVolume.NotFound", "state" => "success" } ] ) }.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.
      1411 1412 1413  | 
    
      # File 'lib/aws-sdk-ec2/waiters.rb', line 1411 def waiter @waiter end  | 
  
Instance Method Details
#wait(params = {}) ⇒ Types::DescribeVolumesResult
Returns a response object which responds to the following methods:
- 
#next_token => String
 - 
#volumes => Array<Types::Volume>
 
      1406 1407 1408  | 
    
      # File 'lib/aws-sdk-ec2/waiters.rb', line 1406 def wait(params = {}) @waiter.wait(client: @client, params: params) end  |