@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CloudTrailARNInvalidException extends AWSCloudTrailException
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:12345678910:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE
The following is the format of a channel ARN:
arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890
AmazonServiceException.ErrorType
Constructor and Description |
---|
CloudTrailARNInvalidException(String message)
Constructs a new CloudTrailARNInvalidException 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, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public CloudTrailARNInvalidException(String message)
message
- Describes the error encountered.