@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceARNNotValidException extends AWSCloudTrailException
This exception is thrown when the provided resource does not exist, or the ARN format of the resource is not valid.
The following is the valid format for a resource ARN:
arn:aws:cloudtrail:us-east-2:123456789012:channel/MyChannel
.
AmazonServiceException.ErrorType
Constructor and Description |
---|
ResourceARNNotValidException(String message)
Constructs a new ResourceARNNotValidException 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 ResourceARNNotValidException(String message)
message
- Describes the error encountered.