@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 Create an event data store.
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, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic NotOrganizationMasterAccountException(String message)
message - Describes the error encountered.Copyright © 2022. All rights reserved.