@Generated(value="software.amazon.awssdk:codegen") public final class AccessDeniedException extends OrganizationsException implements ToCopyableBuilder<AccessDeniedException.Builder,AccessDeniedException>
You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AccessDeniedException.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AccessDeniedException.Builder |
builder() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends AccessDeniedException.Builder> |
serializableBuilderClass() |
AccessDeniedException.Builder |
toBuilder()
Create a
AwsServiceException.Builder initialized with the properties of this AwsServiceException. |
awsErrorDetails, getMessage, isClockSkewException, isThrottlingExceptionrequestId, statusCoderetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitcopypublic AccessDeniedException.Builder toBuilder()
AwsServiceExceptionAwsServiceException.Builder initialized with the properties of this AwsServiceException.toBuilder in interface ToCopyableBuilder<AccessDeniedException.Builder,AccessDeniedException>toBuilder in class OrganizationsExceptionpublic static AccessDeniedException.Builder builder()
public static Class<? extends AccessDeniedException.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.