@Generated(value="software.amazon.awssdk:codegen") public 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()
Take this object and create a builder that contains all of the current property values of this object.
|
additionalThrottlingCondition, isClockSkewException
errorCode, errorCode, errorMessage, errorMessage, errorType, errorType, getMessage, headers, headers, isThrottlingException, rawResponse, rawResponse, requestId, requestId, serviceName, serviceName, statusCode, 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()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<AccessDeniedForDependencyException.Builder,AccessDeniedForDependencyException>
public 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()
.
AccessDeniedForDependencyExceptionReason
public 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()
.
AccessDeniedForDependencyExceptionReason
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.