public class AccessDeniedException extends AmazonServiceException
You aren't authorized to perform the action. Use the Amazon Resource Name (ARN) of an authorized user or IAM role to perform the operation.
AmazonServiceException.ErrorType| Constructor and Description |
|---|
AccessDeniedException(java.lang.String message)
Constructs a new AccessDeniedException with the specified error message.
|
getErrorCode, getErrorMessage, getErrorType, getMessage, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setRequestId, setServiceName, setStatusCodeisRetryableCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.