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)


5040
5041
5042
5043
5044
5045
# File 'lib/aws-sdk-lambda/types.rb', line 5040

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

#typeString

The exception type.

Returns:

  • (String)


5040
5041
5042
5043
5044
5045
# File 'lib/aws-sdk-lambda/types.rb', line 5040

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