FraudDetector / Client / get_kms_encryption_key

get_kms_encryption_key#

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

Request Syntax

response = client.get_kms_encryption_key()
Return type:

dict

Returns:

Response Syntax

{
    'kmsKey': {
        'kmsEncryptionKeyArn': 'string'
    }
}

Response Structure

  • (dict) –

    • kmsKey (dict) –

      The KMS encryption key.

      • kmsEncryptionKeyArn (string) –

        The encryption key ARN.

Exceptions

  • FraudDetector.Client.exceptions.ResourceNotFoundException

  • FraudDetector.Client.exceptions.InternalServerException

  • FraudDetector.Client.exceptions.ThrottlingException

  • FraudDetector.Client.exceptions.AccessDeniedException