public class KMSAccessDeniedException extends AmazonServiceException
Lambda was unable to decrypt the environment variables because KMS access was denied. Check the Lambda function's KMS permissions.
AmazonServiceException.ErrorType| Constructor and Description |
|---|
KMSAccessDeniedException(String message)
Constructs a new KMSAccessDeniedException 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, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic KMSAccessDeniedException(String message)
message - Describes the error encountered.Copyright © 2018. All rights reserved.