@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AccessDeniedException extends AmazonQuickSightException
You don't have access to this. The provided credentials couldn't be validated. You might not be authorized to carry out the request. Ensure 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 access keys.
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 AWS request id for this request.
|
void |
setRequestId(String requestId)
The AWS request id for this request.
|
AccessDeniedException |
withRequestId(String requestId)
The AWS request id for this request.
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getRawResponse, getRawResponseContent, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, 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 AWS request id for this request.
setRequestId in class AmazonServiceExceptionrequestId - The AWS request id for this request.public String getRequestId()
The AWS request id for this request.
getRequestId in class AmazonServiceExceptionpublic AccessDeniedException withRequestId(String requestId)
The AWS request id for this request.
requestId - The AWS request id for this request.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.