@Generated(value="software.amazon.awssdk:codegen") public final class UnmatchedPolicyPermissionException extends RamException implements ToCopyableBuilder<UnmatchedPolicyPermissionException.Builder,UnmatchedPolicyPermissionException>
There isn't an existing managed permission defined in RAM that has the same IAM permissions as the resource-based policy attached to the resource. You should first run PromotePermissionCreatedFromPolicy to create that managed permission.
| Modifier and Type | Class and Description |
|---|---|
static interface |
UnmatchedPolicyPermissionException.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UnmatchedPolicyPermissionException.Builder |
builder() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends UnmatchedPolicyPermissionException.Builder> |
serializableBuilderClass() |
UnmatchedPolicyPermissionException.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 UnmatchedPolicyPermissionException.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UnmatchedPolicyPermissionException.Builder,UnmatchedPolicyPermissionException>toBuilder in class RamExceptionpublic static UnmatchedPolicyPermissionException.Builder builder()
public static Class<? extends UnmatchedPolicyPermissionException.Builder> serializableBuilderClass()
Copyright © 2023. All rights reserved.