@Generated(value="software.amazon.awssdk:codegen") public final class ConstraintViolationException extends ResourceGroupsTaggingApiException implements ToCopyableBuilder<ConstraintViolationException.Builder,ConstraintViolationException>
The request was denied because performing this operation violates a constraint.
Some of the reasons in the following list might not apply to this specific operation.
You must meet the prerequisites for using tag policies. For information, see Prerequisites and Permissions for Using Tag Policies in the AWS Organizations User Guide.
You must enable the tag policies service principal (tagpolicies.tag.amazonaws.com
) to integrate with AWS
Organizations For information, see EnableAWSServiceAccess.
You must have a tag policy attached to the organization root, an OU, or an account.
Modifier and Type | Class and Description |
---|---|
static interface |
ConstraintViolationException.Builder |
Modifier and Type | Method and Description |
---|---|
static ConstraintViolationException.Builder |
builder() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ConstraintViolationException.Builder> |
serializableBuilderClass() |
ConstraintViolationException.Builder |
toBuilder()
Create a
AwsServiceException.Builder initialized with the properties of this AwsServiceException . |
awsErrorDetails, getMessage, isClockSkewException, isThrottlingException
extendedRequestId, requestId, statusCode
create, retryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
copy
equalsBySdkFields
public ConstraintViolationException.Builder toBuilder()
AwsServiceException
AwsServiceException.Builder
initialized with the properties of this AwsServiceException
.toBuilder
in interface ToCopyableBuilder<ConstraintViolationException.Builder,ConstraintViolationException>
toBuilder
in class ResourceGroupsTaggingApiException
public static ConstraintViolationException.Builder builder()
public static Class<? extends ConstraintViolationException.Builder> serializableBuilderClass()
Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.