Class PreconditionFailedException

All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<PreconditionFailedException.Builder,PreconditionFailedException>

@Generated("software.amazon.awssdk:codegen") public final class PreconditionFailedException extends LambdaException implements ToCopyableBuilder<PreconditionFailedException.Builder,PreconditionFailedException>

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.

See Also: