@Generated(value="software.amazon.awssdk:codegen") public final class AccessDeniedForDependencyException extends OrganizationsException implements ToCopyableBuilder<AccessDeniedForDependencyException.Builder,AccessDeniedForDependencyException>
The operation you attempted requires you to have the iam:CreateServiceLinkedRole so that Organizations
can create the required service-linked role. You do not 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.
|
static Class<? extends AccessDeniedForDependencyException.Builder> |
serializableBuilderClass() |
AccessDeniedForDependencyException.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 AccessDeniedForDependencyException.Builder toBuilder()
AwsServiceExceptionAwsServiceException.Builder initialized with the properties of this AwsServiceException.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 © 2017 Amazon Web Services, Inc. All Rights Reserved.