Class: Aws::Lambda::Types::PreconditionFailedException
- Inherits:
- 
      Struct
      
        - Object
- Struct
- Aws::Lambda::Types::PreconditionFailedException
 
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-lambda/types.rb
Overview
The RevisionId provided does not match the latest RevisionId for the Lambda function or alias.
- 
**For AddPermission and RemovePermission API operations:** Call ‘GetPolicy` to retrieve the latest RevisionId for your resource. 
- 
**For all other API operations:** Call ‘GetFunction` or `GetAlias` to retrieve the latest RevisionId for your resource. 
Constant Summary collapse
- SENSITIVE =
- [] 
Instance Attribute Summary collapse
- 
  
    
      #message  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The exception message. 
- 
  
    
      #type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The exception type. 
Instance Attribute Details
#message ⇒ String
The exception message.
| 4891 4892 4893 4894 4895 4896 | # File 'lib/aws-sdk-lambda/types.rb', line 4891 class PreconditionFailedException < Struct.new( :type, :message) SENSITIVE = [] include Aws::Structure end | 
#type ⇒ String
The exception type.
| 4891 4892 4893 4894 4895 4896 | # File 'lib/aws-sdk-lambda/types.rb', line 4891 class PreconditionFailedException < Struct.new( :type, :message) SENSITIVE = [] include Aws::Structure end |