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

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#messageString

The exception message.

Returns:

  • (String)


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

#typeString

The exception type.

Returns:

  • (String)


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