@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NotOrganizationMasterAccountException extends AWSCloudTrailException
This exception is thrown when the AWS account making the request to create or update an organization trail is not the master account for an organization in AWS Organizations. For more information, see Prepare For Creating a Trail For Your Organization.
AmazonServiceException.ErrorType| Constructor and Description |
|---|
NotOrganizationMasterAccountException(String message)
Constructs a new NotOrganizationMasterAccountException with the specified error message.
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, 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 © 2019. All rights reserved.