@Override
    public EnableKeyResult enableKey(EnableKeyRequest request) {
        request = beforeClientExecution(request);
        return executeEnableKey(request);
    }
@ Override public EnableKeyResult enableKey ( EnableKeyRequest request ) { request = beforeClientExecution ( request ) ; return executeEnableKey ( request ) ; }
<p>
Sets the key state of a customer master key (CMK) to enabled. This allows you to use the CMK for cryptographic
operations. You cannot perform this operation on a CMK in a different AWS account.
</p>
<p>
The result of this operation varies with the key state of the CMK. For details, see <a
href="http://docs.aws.amazon.com/kms/latest/developerguide/key-state.html">How Key State Affects Use of a
Customer Master Key</a> in the <i>AWS Key Management Service Developer Guide</i>.
</p>

@param enableKeyRequest
@return Result of the EnableKey operation returned by the service.
@throws NotFoundException
The request was rejected because the specified entity or resource could not be found.
@throws InvalidArnException
The request was rejected because a specified ARN was not valid.
@throws DependencyTimeoutException
The system timed out while trying to fulfill the request. The request can be retried.
@throws KMSInternalException
The request was rejected because an internal exception occurred. The request can be retried.
@throws LimitExceededException
The request was rejected because a limit was exceeded. For more information, see <a
href="http://docs.aws.amazon.com/kms/latest/developerguide/limits.html">Limits</a> in the <i>AWS Key
Management Service Developer Guide</i>.
@throws KMSInvalidStateException
The request was rejected because the state of the specified resource is not valid for this request.</p>
<p>
For more information about how key state affects the use of a CMK, see <a
href="http://docs.aws.amazon.com/kms/latest/developerguide/key-state.html">How Key State Affects Use of a
Customer Master Key</a> in the <i>AWS Key Management Service Developer Guide</i>.
@sample AWSKMS.EnableKey
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/EnableKey" target="_top">AWS API
Documentation</a>