public class KMSInvalidStateException extends AmazonServiceException
Lambda was unable to decrypt the environment variables because the KMS key used is in an invalid state for Decrypt. Please check the function's KMS key settings.
AmazonServiceException.ErrorType
Constructor and Description |
---|
KMSInvalidStateException(String message)
Constructs a new KMSInvalidStateException with the specified error
message.
|
Modifier and Type | Method and Description |
---|---|
String |
getType()
Returns the value of the type property for this object.
|
void |
setType(String type)
Sets the value of type
|
getErrorCode, getErrorMessage, getErrorType, getMessage, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setRequestId, setServiceName, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public KMSInvalidStateException(String message)
message
- Describes the error encountered.Copyright © 2017. All rights reserved.