Class InvalidEventSelectorsException
- 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.InvalidEventSelectorsException
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<InvalidEventSelectorsException.Builder,InvalidEventSelectorsException>
@Generated("software.amazon.awssdk:codegen") public final class InvalidEventSelectorsException extends CloudTrailException implements ToCopyableBuilder<InvalidEventSelectorsException.Builder,InvalidEventSelectorsException>
This exception is thrown when the
PutEventSelectorsoperation is called with a number of event selectors, advanced event selectors, or data resources that is not valid. The combination of event selectors or advanced event selectors and data resources is not valid. A trail can have up to 5 event selectors. If a trail uses advanced event selectors, a maximum of 500 total values for all conditions in all advanced event selectors is allowed. A trail is limited to 250 data resources. These data resources can be distributed across event selectors, but the overall total cannot exceed 250.You can:
-
Specify a valid number of event selectors (1 to 5) for a trail.
-
Specify a valid number of data resources (1 to 250) for an event selector. The limit of number of resources on an individual event selector is configurable up to 250. However, this upper limit is allowed only if the total number of data resources does not exceed 250 across all event selectors for a trail.
-
Specify up to 500 values for all conditions in all advanced event selectors for a trail.
-
Specify a valid value for a parameter. For example, specifying the
ReadWriteTypeparameter with a value ofread-onlyis not valid.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceInvalidEventSelectorsException.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InvalidEventSelectorsException.Builderbuilder()List<SdkField<?>>sdkFields()static Class<? extends InvalidEventSelectorsException.Builder>serializableBuilderClass()InvalidEventSelectorsException.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, isRetryableException, 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 InvalidEventSelectorsException.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<InvalidEventSelectorsException.Builder,InvalidEventSelectorsException>- Overrides:
toBuilderin classCloudTrailException
-
builder
public static InvalidEventSelectorsException.Builder builder()
-
serializableBuilderClass
public static Class<? extends InvalidEventSelectorsException.Builder> serializableBuilderClass()
-
-