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(java.lang.String message)
Constructs a new KMSAccessDeniedException with the specified error
message.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getType()
Returns the value of the type property for this object.
|
void |
setType(java.lang.String type)
Sets the value of type
|
getErrorCode, getErrorMessage, getErrorType, getMessage, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setRequestId, setServiceName, setStatusCodeisRetryablepublic KMSAccessDeniedException(java.lang.String message)
message - Describes the error encountered.public java.lang.String getType()
public void setType(java.lang.String type)
type - The new value for the type property for this object.Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.