docstr: Decrypts the given ciphertext using AWS KMS
  
  See:
    https://docs.aws.amazon.com/kms/latest/APIReference/API_Decrypt.html
  
  Args:
      ciphertext (str): The raw, encrypted data to be decrypted
      region (str): AWS region
  
  Returns:
      string: The decrypted plaintext
  
  Raises:
      ClientError
docstr_tok: ["Decrypts","the","given","ciphertext","using","AWS","KMS","See",":","https",":","\/\/docs.aws.amazon.com\/kms\/latest\/APIReference\/API_Decrypt.html","Args",":","ciphertext","(","str",")",":","The","raw",",","encrypted","data","to","be","decrypted","region","(","str",")",":","AWS","region","Returns",":","string",":","The","decrypted","plaintext","Raises",":","ClientError"]
code: def decrypt(ciphertext, region):
      """Decrypts the given ciphertext using AWS KMS
  
      See:
        https://docs.aws.amazon.com/kms/latest/APIReference/API_Decrypt.html
  
      Args:
          ciphertext (str): The raw, encrypted data to be decrypted
          region (str): AWS region
  
      Returns:
          string: The decrypted plaintext
  
      Raises:
          ClientError
      """
      try:
          client = boto3.client(
              "kms", config=default_config(region=region)
          )
          response = client.decrypt(CiphertextBlob=ciphertext)
          return response["Plaintext"]
      except ClientError:
          LOGGER.error("An error occurred during KMS decryption")
          raise
  
file_path: streamalert/streamalert/shared/helpers/aws_api_client.py
imports: import json
  import boto3
  from botocore.exceptions import ClientError
  from streamalert.shared.helpers.boto import default_config
  from streamalert.shared.logger import get_logger
label_desc: Use image node_id 2 for calling the AwsKms obj's underlying member method code with example usage: obj.decrypt(ciphertext, region) and returns: response