@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PolicyTypeNotAvailableForOrganizationException extends AWSOrganizationsException
You can't use the specified policy type with the feature set currently enabled for this organization. For example, you can enable SCPs only after you enable all features in the organization. For more information, see Managing AWS Organizations Policiesin the AWS Organizations User Guide.
AmazonServiceException.ErrorType| Constructor and Description |
|---|
PolicyTypeNotAvailableForOrganizationException(String message)
Constructs a new PolicyTypeNotAvailableForOrganizationException 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 PolicyTypeNotAvailableForOrganizationException(String message)
message - Describes the error encountered.