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

******************
create_luna_client
******************



.. py:method:: CloudHSM.Client.create_luna_client(**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/>`__.

   

  Creates an HSM client.

  

  .. 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/CreateLunaClient>`_  


  **Request Syntax**
  ::

    response = client.create_luna_client(
        Label='string',
        Certificate='string'
    )
    
  :type Label: string
  :param Label: 

    The label for the client.

    

  
  :type Certificate: string
  :param Certificate: **[REQUIRED]** 

    The contents of a Base64-Encoded X.509 v3 certificate to be installed on the HSMs used by this client.

    

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

    
    ::

      {
          'ClientArn': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 

      Contains the output of the  CreateLunaClient action.

      
      

      - **ClientArn** *(string) --* 

        The ARN of the client.

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

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

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

  