@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 operation 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()
The exception type.
|
void |
setType(String type)
The exception type.
|
PreconditionFailedException |
withType(String type)
The exception type.
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getProxyHost, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setProxyHost, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic PreconditionFailedException(String message)
message - Describes the error encountered.public void setType(String type)
The exception type.
type - The exception type.public String getType()
The exception type.
public PreconditionFailedException withType(String type)
The exception type.
type - The exception type.