@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, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public AccessDeniedException(String message)
message
- Describes the error encountered.public void setRequestId(String requestId)
The AWS request id for this request.
setRequestId
in class AmazonServiceException
requestId
- The AWS request id for this request.public String getRequestId()
The AWS request id for this request.
getRequestId
in class AmazonServiceException
public 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.