code: def _get_kms_key_arn(kms_client, alias):
      try:
          response = kms_client.describe_key(KeyId="alias/" + alias)
          return response["KeyMetadata"]["Arn"]
      except kms_client.exceptions.NotFoundException:
          return None
  
file_path: sagemaker-python-sdk/tests/integ/kms_utils.py
imports: from __future__ import absolute_import
  import contextlib
  import json
  from sagemaker import utils
label_desc: Use image node_id 1 for calling a global function with example usage: _get_kms_key_arn(kms_client, alias) and returns: response, None