@Override
    public DescribeCustomKeyStoresResult describeCustomKeyStores(DescribeCustomKeyStoresRequest request) {
        request = beforeClientExecution(request);
        return executeDescribeCustomKeyStores(request);
    }
@ Override public DescribeCustomKeyStoresResult describeCustomKeyStores ( DescribeCustomKeyStoresRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeCustomKeyStores ( request ) ; }
<p>
Gets information about <a
href="http://docs.aws.amazon.com/kms/latest/developerguide/key-store-overview.html">custom key stores</a> in the
account and region.
</p>
<p>
This operation is part of the <a
href="http://docs.aws.amazon.com/kms/latest/developerguide/custom-key-store-overview.html">Custom Key Store
feature</a> feature in AWS KMS, which combines the convenience and extensive integration of AWS KMS with the
isolation and control of a single-tenant key store.
</p>
<p>
By default, this operation returns information about all custom key stores in the account and region. To get only
information about a particular custom key store, use either the <code>CustomKeyStoreName</code> or
<code>CustomKeyStoreId</code> parameter (but not both).
</p>
<p>
To determine whether the custom key store is connected to its AWS CloudHSM cluster, use the
<code>ConnectionState</code> element in the response. If an attempt to connect the custom key store failed, the
<code>ConnectionState</code> value is <code>FAILED</code> and the <code>ConnectionErrorCode</code> element in the
response indicates the cause of the failure. For help interpreting the <code>ConnectionErrorCode</code>, see
<a>CustomKeyStoresListEntry</a>.
</p>
<p>
Custom key stores have a <code>DISCONNECTED</code> connection state if the key store has never been connected or
you use the <a>DisconnectCustomKeyStore</a> operation to disconnect it. If your custom key store state is
<code>CONNECTED</code> but you are having trouble using it, make sure that its associated AWS CloudHSM cluster is
active and contains the minimum number of HSMs required for the operation, if any.
</p>
<p>
For help repairing your custom key store, see the <a
href="http://docs.aws.amazon.com/kms/latest/developerguide/fix-keystore-html">Troubleshooting Custom Key
Stores</a> topic in the <i>AWS Key Management Service Developer Guide</i>.
</p>

@param describeCustomKeyStoresRequest
@return Result of the DescribeCustomKeyStores operation returned by the service.
@throws CustomKeyStoreNotFoundException
The request was rejected because AWS KMS cannot find a custom key store with the specified key store name
or ID.
@throws KMSInternalException
The request was rejected because an internal exception occurred. The request can be retried.
@sample AWSKMS.DescribeCustomKeyStores
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DescribeCustomKeyStores" target="_top">AWS
API Documentation</a>