@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AccessDeniedForDependencyException extends AWSShieldException
In order to grant the necessary access to the DDoS Response Team, the user submitting AssociateDRTRole
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 AWS Service.
AmazonServiceException.ErrorType
Constructor and Description |
---|
AccessDeniedForDependencyException(String message)
Constructs a new AccessDeniedForDependencyException with the specified error message.
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, 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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.