@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PreconditionFailedException extends AWSLambdaException
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.
AmazonServiceException.ErrorType
Constructor and Description |
---|
PreconditionFailedException(String message)
Constructs a new PreconditionFailedException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
String |
getType()
|
void |
setType(String type)
|
PreconditionFailedException |
withType(String type)
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public PreconditionFailedException(String message)
message
- Describes the error encountered.public void setType(String type)
type
- public String getType()
public PreconditionFailedException withType(String type)
type
- Copyright © 2018. All rights reserved.