Class: Aws::Lambda::Types::PreconditionFailedException
- Inherits:
-
Struct
- Object
- Struct
- Aws::Lambda::Types::PreconditionFailedException
- Defined in:
- gems/aws-sdk-lambda/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
orGetAlias
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.
5040 5041 5042 5043 5044 5045 |
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 5040 class PreconditionFailedException < Struct.new( :type, :message) SENSITIVE = [] include Aws::Structure end |
#type ⇒ String
The exception type.
5040 5041 5042 5043 5044 5045 |
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 5040 class PreconditionFailedException < Struct.new( :type, :message) SENSITIVE = [] include Aws::Structure end |