@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InvalidInsightSelectorsException extends AWSCloudTrailException
For PutInsightSelectors, this exception is thrown when the formatting or syntax of the
InsightSelectors JSON statement is not valid, or the specified InsightType in the
InsightSelectors statement is not valid. Valid values for InsightType are
ApiCallRateInsight and ApiErrorRateInsight. To enable Insights on an event data store, the
destination event data store specified by the InsightsDestination parameter must log Insights events and
the source event data store specified by the EventDataStore parameter must log management events.
For UpdateEventDataStore, this exception is thrown if Insights are enabled on the event data store and
the updated advanced event selectors are not compatible with the configured InsightSelectors. If the
InsightSelectors includes an InsightType of ApiCallRateInsight, the source
event data store must log write management events. If the InsightSelectors includes an
InsightType of ApiErrorRateInsight, the source event data store must log management events.
AmazonServiceException.ErrorType| Constructor and Description |
|---|
InvalidInsightSelectorsException(String message)
Constructs a new InvalidInsightSelectorsException 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, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic InvalidInsightSelectorsException(String message)
message - Describes the error encountered.