@Generated(value="software.amazon.awssdk:codegen") public final class AccessDeniedForDependencyException extends OrganizationsException implements ToCopyableBuilder<AccessDeniedForDependencyException.Builder,AccessDeniedForDependencyException>
The operation that you attempted requires you to have the iam:CreateServiceLinkedRole for
organizations.amazonaws.com permission so that Organizations can create the required service-linked
role. You don't have that permission.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AccessDeniedForDependencyException.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AccessDeniedForDependencyException.Builder |
builder() |
AccessDeniedForDependencyExceptionReason |
reason()
Returns the value of the Reason property for this object.
|
String |
reasonAsString()
Returns the value of the Reason property for this object.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AccessDeniedForDependencyException.Builder> |
serializableBuilderClass() |
AccessDeniedForDependencyException.Builder |
toBuilder() |
awsErrorDetails, getMessage, isClockSkewException, isThrottlingExceptionextendedRequestId, requestId, statusCodecreate, retryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcopyequalsBySdkFieldspublic AccessDeniedForDependencyException.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AccessDeniedForDependencyException.Builder,AccessDeniedForDependencyException>toBuilder in class OrganizationsExceptionpublic static AccessDeniedForDependencyException.Builder builder()
public static Class<? extends AccessDeniedForDependencyException.Builder> serializableBuilderClass()
public AccessDeniedForDependencyExceptionReason reason()
If the service returns an enum value that is not available in the current SDK version, reason will
return AccessDeniedForDependencyExceptionReason.UNKNOWN_TO_SDK_VERSION. The raw value returned by the
service is available from reasonAsString().
AccessDeniedForDependencyExceptionReasonpublic String reasonAsString()
If the service returns an enum value that is not available in the current SDK version, reason will
return AccessDeniedForDependencyExceptionReason.UNKNOWN_TO_SDK_VERSION. The raw value returned by the
service is available from reasonAsString().
AccessDeniedForDependencyExceptionReasonCopyright © 2023. All rights reserved.