@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NotOrganizationMasterAccountException extends AWSCloudTrailException
This exception is thrown when the Amazon Web Services account making the request to create or update an organization trail or event data store is not the management account for an organization in Organizations. For more information, see Prepare For Creating a Trail For Your Organization or Organization event data stores.
AmazonServiceException.ErrorType
Constructor and Description |
---|
NotOrganizationMasterAccountException(String message)
Constructs a new NotOrganizationMasterAccountException 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 NotOrganizationMasterAccountException(String message)
message
- Describes the error encountered.