Class InsufficientCloudWatchLogsResourcePolicyException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- software.amazon.awssdk.core.exception.SdkException
-
- software.amazon.awssdk.core.exception.SdkServiceException
-
- software.amazon.awssdk.awscore.exception.AwsServiceException
-
- software.amazon.awssdk.services.route53.model.Route53Exception
-
- software.amazon.awssdk.services.route53.model.InsufficientCloudWatchLogsResourcePolicyException
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<InsufficientCloudWatchLogsResourcePolicyException.Builder,InsufficientCloudWatchLogsResourcePolicyException>
@Generated("software.amazon.awssdk:codegen") public final class InsufficientCloudWatchLogsResourcePolicyException extends Route53Exception implements ToCopyableBuilder<InsufficientCloudWatchLogsResourcePolicyException.Builder,InsufficientCloudWatchLogsResourcePolicyException>
Amazon Route 53 doesn't have the permissions required to create log streams and send query logs to log streams. Possible causes include the following:
-
There is no resource policy that specifies the log group ARN in the value for
Resource. -
The resource policy that includes the log group ARN in the value for
Resourcedoesn't have the necessary permissions. -
The resource policy hasn't finished propagating yet.
-
The Key management service (KMS) key you specified doesn’t exist or it can’t be used with the log group associated with query log. Update or provide a resource policy to grant permissions for the KMS key.
-
The Key management service (KMS) key you specified is marked as disabled for the log group associated with query log. Update or provide a resource policy to grant permissions for the KMS key.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceInsufficientCloudWatchLogsResourcePolicyException.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InsufficientCloudWatchLogsResourcePolicyException.Builderbuilder()List<SdkField<?>>sdkFields()static Class<? extends InsufficientCloudWatchLogsResourcePolicyException.Builder>serializableBuilderClass()InsufficientCloudWatchLogsResourcePolicyException.BuildertoBuilder()-
Methods inherited from class software.amazon.awssdk.awscore.exception.AwsServiceException
awsErrorDetails, getMessage, isClockSkewException, isThrottlingException
-
Methods inherited from class software.amazon.awssdk.core.exception.SdkServiceException
extendedRequestId, requestId, statusCode
-
Methods inherited from class software.amazon.awssdk.core.exception.SdkException
create, retryable
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
toBuilder
public InsufficientCloudWatchLogsResourcePolicyException.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<InsufficientCloudWatchLogsResourcePolicyException.Builder,InsufficientCloudWatchLogsResourcePolicyException>- Overrides:
toBuilderin classRoute53Exception
-
builder
public static InsufficientCloudWatchLogsResourcePolicyException.Builder builder()
-
serializableBuilderClass
public static Class<? extends InsufficientCloudWatchLogsResourcePolicyException.Builder> serializableBuilderClass()
-
-