:doc:`CloudHSM <../../cloudhsm>` / Client / list_luna_clients

*****************
list_luna_clients
*****************



.. py:method:: CloudHSM.Client.list_luna_clients(**kwargs)

  

  This is documentation for **AWS CloudHSM Classic**. For more information, see `AWS CloudHSM Classic FAQs <http://aws.amazon.com/cloudhsm/faqs-classic/>`__, the `AWS CloudHSM Classic User Guide <https://docs.aws.amazon.com/cloudhsm/classic/userguide/>`__, and the `AWS CloudHSM Classic API Reference <https://docs.aws.amazon.com/cloudhsm/classic/APIReference/>`__.

   

  **For information about the current version of AWS CloudHSM**, see `AWS CloudHSM <http://aws.amazon.com/cloudhsm/>`__, the `AWS CloudHSM User Guide <https://docs.aws.amazon.com/cloudhsm/latest/userguide/>`__, and the `AWS CloudHSM API Reference <https://docs.aws.amazon.com/cloudhsm/latest/APIReference/>`__.

   

  Lists all of the clients.

   

  This operation supports pagination with the use of the ``NextToken`` member. If more results are available, the ``NextToken`` member of the response contains a token that you pass in the next call to ``ListLunaClients`` to retrieve the next set of items.

  

  .. danger::

        This operation is deprecated and may not function as expected. This operation should not be used going forward and is only kept for the purpose of backwards compatiblity.


  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/ListLunaClients>`_  


  **Request Syntax**
  ::

    response = client.list_luna_clients(
        NextToken='string'
    )
    
  :type NextToken: string
  :param NextToken: 

    The ``NextToken`` value from a previous call to ``ListLunaClients``. Pass null if this is the first call.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'ClientList': [
              'string',
          ],
          'NextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **ClientList** *(list) --* 

        The list of clients.

        
        

        - *(string) --* 
    
      

      - **NextToken** *(string) --* 

        If not null, more results are available. Pass this to ``ListLunaClients`` to retrieve the next set of items.

        
  
  **Exceptions**
  
  *   :py:class:`CloudHSM.Client.exceptions.CloudHsmServiceException`

  
  *   :py:class:`CloudHSM.Client.exceptions.CloudHsmInternalException`

  
  *   :py:class:`CloudHSM.Client.exceptions.InvalidRequestException`

  