code: @Override
      public ListKeyPoliciesResult listKeyPolicies(ListKeyPoliciesRequest request) {
          request = beforeClientExecution(request);
          return executeListKeyPolicies(request);
      }
docs: <p>
  Gets the names of the key policies that are attached to a customer master key (CMK). This operation is designed
  to get policy names that you can use in a <a>GetKeyPolicy</a> operation. However, the only valid policy name is
  <code>default</code>. You cannot perform this operation on a CMK in a different AWS account.
  </p>
  
  @param listKeyPoliciesRequest
  @return Result of the ListKeyPolicies 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 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.ListKeyPolicies
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListKeyPolicies" target="_top">AWS API
  Documentation</a>