@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class KMSNotFoundException extends AWSLambdaException
Lambda was unable to decrypt the environment variables because the KMS key was not found. Check the function's KMS key settings.
AmazonServiceException.ErrorType
Constructor and Description |
---|
KMSNotFoundException(String message)
Constructs a new KMSNotFoundException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
String |
getType() |
void |
setType(String type) |
KMSNotFoundException |
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 KMSNotFoundException(String message)
message
- Describes the error encountered.public void setType(String type)
type
- public String getType()
public KMSNotFoundException withType(String type)
type
- Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.