@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AccessDeniedException extends AmazonQuickSightException
You don't have access to this item. The provided credentials couldn't be validated. You might not be authorized to carry out the request. Make sure that your account is authorized to use the Amazon QuickSight service, that your policies have the correct permissions, and that you are using the correct credentials.
AmazonServiceException.ErrorType| Constructor and Description |
|---|
AccessDeniedException(String message)
Constructs a new AccessDeniedException with the specified error message.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getRequestId()
The Amazon Web Services request ID for this request.
|
void |
setRequestId(String requestId)
The Amazon Web Services request ID for this request.
|
AccessDeniedException |
withRequestId(String requestId)
The Amazon Web Services request ID for this request.
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getProxyHost, getRawResponse, getRawResponseContent, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setProxyHost, setRawResponse, setRawResponseContent, setServiceName, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic AccessDeniedException(String message)
message - Describes the error encountered.public void setRequestId(String requestId)
The Amazon Web Services request ID for this request.
setRequestId in class AmazonServiceExceptionrequestId - The Amazon Web Services request ID for this request.public String getRequestId()
The Amazon Web Services request ID for this request.
getRequestId in class AmazonServiceExceptionpublic AccessDeniedException withRequestId(String requestId)
The Amazon Web Services request ID for this request.
requestId - The Amazon Web Services request ID for this request.