Class InvalidInsightSelectorsException
- 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.cloudtrail.model.CloudTrailException
-
- software.amazon.awssdk.services.cloudtrail.model.InvalidInsightSelectorsException
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<InvalidInsightSelectorsException.Builder,InvalidInsightSelectorsException>
@Generated("software.amazon.awssdk:codegen") public final class InvalidInsightSelectorsException extends CloudTrailException implements ToCopyableBuilder<InvalidInsightSelectorsException.Builder,InvalidInsightSelectorsException>
For
PutInsightSelectors, this exception is thrown when the formatting or syntax of theInsightSelectorsJSON statement is not valid, or the specifiedInsightTypein theInsightSelectorsstatement is not valid. Valid values forInsightTypeareApiCallRateInsightandApiErrorRateInsight. To enable Insights on an event data store, the destination event data store specified by theInsightsDestinationparameter must log Insights events and the source event data store specified by theEventDataStoreparameter 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 configuredInsightSelectors. If theInsightSelectorsincludes anInsightTypeofApiCallRateInsight, the source event data store must logwritemanagement events. If theInsightSelectorsincludes anInsightTypeofApiErrorRateInsight, the source event data store must log management events.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceInvalidInsightSelectorsException.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InvalidInsightSelectorsException.Builderbuilder()List<SdkField<?>>sdkFields()static Class<? extends InvalidInsightSelectorsException.Builder>serializableBuilderClass()InvalidInsightSelectorsException.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 InvalidInsightSelectorsException.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<InvalidInsightSelectorsException.Builder,InvalidInsightSelectorsException>- Overrides:
toBuilderin classCloudTrailException
-
builder
public static InvalidInsightSelectorsException.Builder builder()
-
serializableBuilderClass
public static Class<? extends InvalidInsightSelectorsException.Builder> serializableBuilderClass()
-
-