@Generated(value="software.amazon.awssdk:codegen") public final class InvalidEventSelectorsException extends CloudTrailException implements ToCopyableBuilder<InvalidEventSelectorsException.Builder,InvalidEventSelectorsException>
This exception is thrown when the PutEventSelectors operation is called with a number of event selectors
or data resources that is not valid. The combination of event selectors and data resources is not valid. A trail can
have up to 5 event selectors. 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 a valid value for a parameter. For example, specifying the ReadWriteType parameter with a value
of read-only is invalid.
| Modifier and Type | Class and Description |
|---|---|
static interface |
InvalidEventSelectorsException.Builder |
| Modifier and Type | Method and Description |
|---|---|
static InvalidEventSelectorsException.Builder |
builder() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends InvalidEventSelectorsException.Builder> |
serializableBuilderClass() |
InvalidEventSelectorsException.Builder |
toBuilder()
Create a
AwsServiceException.Builder initialized with the properties of this AwsServiceException. |
awsErrorDetails, getMessage, isClockSkewException, isThrottlingExceptionrequestId, statusCoderetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitcopypublic InvalidEventSelectorsException.Builder toBuilder()
AwsServiceExceptionAwsServiceException.Builder initialized with the properties of this AwsServiceException.toBuilder in interface ToCopyableBuilder<InvalidEventSelectorsException.Builder,InvalidEventSelectorsException>toBuilder in class CloudTrailExceptionpublic static InvalidEventSelectorsException.Builder builder()
public static Class<? extends InvalidEventSelectorsException.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.