@Generated(value="software.amazon.awssdk:codegen") public final class AccessDeniedForDependencyException extends ShieldException implements ToCopyableBuilder<AccessDeniedForDependencyException.Builder,AccessDeniedForDependencyException>
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.
Modifier and Type | Class and Description |
---|---|
static interface |
AccessDeniedForDependencyException.Builder |
Modifier and Type | Method and Description |
---|---|
static AccessDeniedForDependencyException.Builder |
builder() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends AccessDeniedForDependencyException.Builder> |
serializableBuilderClass() |
AccessDeniedForDependencyException.Builder |
toBuilder()
Create a
AwsServiceException.Builder initialized with the properties of this AwsServiceException . |
awsErrorDetails, getMessage, isClockSkewException, isThrottlingException
requestId, statusCode
retryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
copy
public AccessDeniedForDependencyException.Builder toBuilder()
AwsServiceException
AwsServiceException.Builder
initialized with the properties of this AwsServiceException
.toBuilder
in interface ToCopyableBuilder<AccessDeniedForDependencyException.Builder,AccessDeniedForDependencyException>
toBuilder
in class ShieldException
public static AccessDeniedForDependencyException.Builder builder()
public static Class<? extends AccessDeniedForDependencyException.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.