@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AccessDeniedForDependencyException extends AWSShieldException
In order to grant the necessary access to the Shield Response Team (SRT) the user submitting the request must have
the iam:PassRole
permission. This error indicates the user did not have the appropriate permissions. For
more information, see Granting
a User Permissions to Pass a Role to an Amazon Web Services Service.
AmazonServiceException.ErrorType
Constructor and Description |
---|
AccessDeniedForDependencyException(String message)
Constructs a new AccessDeniedForDependencyException with the specified error message.
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getProxyHost, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setProxyHost, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public AccessDeniedForDependencyException(String message)
message
- Describes the error encountered.