AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Class: Aws::Lambda::Types::PreconditionFailedException

Inherits:
Struct
  • Object
show all
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. Call the GetFunction or the GetAlias API to retrieve the latest RevisionId for your resource.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#messageString

The exception message.

Returns:

  • (String)


4023
4024
4025
4026
4027
4028
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 4023

class PreconditionFailedException < Struct.new(
  :type,
  :message)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

The exception type.

Returns:

  • (String)


4023
4024
4025
4026
4027
4028
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 4023

class PreconditionFailedException < Struct.new(
  :type,
  :message)
  SENSITIVE = []
  include Aws::Structure
end