@Generated(value="software.amazon.awssdk:codegen") public final class CloudTrailArnInvalidException extends CloudTrailException implements ToCopyableBuilder<CloudTrailArnInvalidException.Builder,CloudTrailArnInvalidException>
This exception is thrown when an operation is called with a trail ARN that is not valid. The following is the format of a trail ARN.
arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
This exception is also thrown when you call AddTags or RemoveTags on a trail, event data
store, or channel with a resource ARN that is not valid.
The following is the format of an event data store ARN:
arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE
The following is the format of a channel ARN:
arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890
| Modifier and Type | Class and Description |
|---|---|
static interface |
CloudTrailArnInvalidException.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CloudTrailArnInvalidException.Builder |
builder() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CloudTrailArnInvalidException.Builder> |
serializableBuilderClass() |
CloudTrailArnInvalidException.Builder |
toBuilder() |
awsErrorDetails, getMessage, isClockSkewException, isThrottlingExceptionextendedRequestId, requestId, statusCodecreate, retryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcopyequalsBySdkFieldspublic CloudTrailArnInvalidException.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CloudTrailArnInvalidException.Builder,CloudTrailArnInvalidException>toBuilder in class CloudTrailExceptionpublic static CloudTrailArnInvalidException.Builder builder()
public static Class<? extends CloudTrailArnInvalidException.Builder> serializableBuilderClass()
Copyright © 2023. All rights reserved.