Class: Aws::Transfer::Errors::ResourceNotFoundException
- Inherits:
 - 
      ServiceError
      
        
- Object
 - ServiceError
 - Aws::Transfer::Errors::ResourceNotFoundException
 
 
- Defined in:
 - lib/aws-sdk-transfer/errors.rb
 
Instance Method Summary collapse
- 
  
    
      #initialize(context, message, data = Aws::EmptyStructure.new)  ⇒ ResourceNotFoundException 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of ResourceNotFoundException.
 - #message ⇒ String
 - #resource ⇒ String
 - #resource_type ⇒ String
 
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ResourceNotFoundException
Returns a new instance of ResourceNotFoundException.
      151 152 153  | 
    
      # File 'lib/aws-sdk-transfer/errors.rb', line 151 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end  | 
  
Instance Method Details
#message ⇒ String
      156 157 158  | 
    
      # File 'lib/aws-sdk-transfer/errors.rb', line 156 def @message || @data[:message] end  | 
  
#resource ⇒ String
      161 162 163  | 
    
      # File 'lib/aws-sdk-transfer/errors.rb', line 161 def resource @data[:resource] end  | 
  
#resource_type ⇒ String
      166 167 168  | 
    
      # File 'lib/aws-sdk-transfer/errors.rb', line 166 def resource_type @data[:resource_type] end  |