code: def get_key_delivery_url(access_token, ck_id, key_type):
      '''Get Media Services Key Delivery URL.
  
      Args:
          access_token (str): A valid Azure authentication token.
          ck_id (str): A Media Service Content Key ID.
          key_type (str): A Media Service key Type.
  
      Returns:
          HTTP response. JSON body.
      '''
      path = '/ContentKeys'
      full_path = ''.join([path, "('", ck_id, "')", "/GetKeyDeliveryUrl"])
      endpoint = ''.join([ams_rest_endpoint, full_path])
      body = '{"keyDeliveryType": "' + key_type + '"}'
      return do_ams_post(endpoint, full_path, body, access_tokenf get_key_delivery_url(access_token, ck_id, key_type):
      '''Get Media Services Key Delivery URL.
  
      Args:
          access_token (str): A valid Azure authentication token.
          ck_id (str): A Media Service Content Key ID.
          key_type (str): A Media Service key Type.
  
      Returns:
          HTTP response. JSON body.
      '''
      path = '/ContentKeys'
      full_path = ''.join([path, "('", ck_id, "')", "/GetKeyDeliveryUrl"])
      endpoint = ''.join([ams_rest_endpoint, full_path])
      body = '{"keyDeliveryType": "' + key_type + '"}'
      return do_ams_post(endpoint, full_path, body, access_token)
docs: Get Media Services Key Delivery URL.
  
      Args:
          access_token (str): A valid Azure authentication token.
          ck_id (str): A Media Service Content Key ID.
          key_type (str): A Media Service key Type.
  
      Returns:
          HTTP response. JSON body.