@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CustomKeyStoreHasCMKsException extends AWSKMSException
The request was rejected because the custom key store contains AWS KMS customer master keys (CMKs). After verifying that you do not need to use the CMKs, use the ScheduleKeyDeletion operation to delete the CMKs. After they are deleted, you can delete the custom key store.
AmazonServiceException.ErrorType| Constructor and Description | 
|---|
CustomKeyStoreHasCMKsException(String message)
Constructs a new CustomKeyStoreHasCMKsException 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 CustomKeyStoreHasCMKsException(String message)
message - Describes the error encountered.Copyright © 2020. All rights reserved.