@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CloudTrailAccessNotEnabledException extends AWSCloudTrailException
This exception is thrown when trusted access has not been enabled between CloudTrail and Organizations. For more information, see Enabling Trusted Access with Other Amazon Web Services Services and Prepare For Creating a Trail For Your Organization.
AmazonServiceException.ErrorType| Constructor and Description |
|---|
CloudTrailAccessNotEnabledException(String message)
Constructs a new CloudTrailAccessNotEnabledException 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, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic CloudTrailAccessNotEnabledException(String message)
message - Describes the error encountered.Copyright © 2024. All rights reserved.