:doc:`FraudDetector <../../frauddetector>` / Client / get_kms_encryption_key

**********************
get_kms_encryption_key
**********************



.. py:method:: FraudDetector.Client.get_kms_encryption_key()

  

  Gets the encryption key if a KMS key has been specified to be used to encrypt content in Amazon Fraud Detector.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetKMSEncryptionKey>`_  


  **Request Syntax**

  ::

    response = client.get_kms_encryption_key()
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'kmsKey': {
              'kmsEncryptionKeyArn': 'string'
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **kmsKey** *(dict) --* 

        The KMS encryption key.

        
        

        - **kmsEncryptionKeyArn** *(string) --* 

          The encryption key ARN.

          
    
  
  **Exceptions**
  
  *   :py:class:`FraudDetector.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`FraudDetector.Client.exceptions.InternalServerException`

  
  *   :py:class:`FraudDetector.Client.exceptions.ThrottlingException`

  
  *   :py:class:`FraudDetector.Client.exceptions.AccessDeniedException`

  