@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InsufficientCloudWatchLogsResourcePolicyException extends AmazonRoute53Exception
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 Resource
doesn'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.
AmazonServiceException.ErrorType
Constructor and Description |
---|
InsufficientCloudWatchLogsResourcePolicyException(String message)
Constructs a new InsufficientCloudWatchLogsResourcePolicyException with the specified error message.
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getProxyHost, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setProxyHost, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InsufficientCloudWatchLogsResourcePolicyException(String message)
message
- Describes the error encountered.