code: def create_asset_delivery_policy(access_token, ams_account, key_delivery_url):
      '''Create Media Service Asset Delivery Policy.
  
      Args:
          access_token (str): A valid Azure authentication token.
          ams_account (str): Media Service Account.
  
      Returns:
          HTTP response. JSON body.
      '''
      path = '/AssetDeliveryPolicies'
      endpoint = ''.join([ams_rest_endpoint, path])
      body = '{ \
  		"Name":"AssetDeliveryPolicy", \
  		"AssetDeliveryProtocol":"4", \
  		"AssetDeliveryPolicyType":"3", \
  		"AssetDeliveryConfiguration":"[{ \
  			\\"Key\\":\\"2\\", \
  			\\"Value\\":\\"' + key_delivery_url + '\\"}]" \
  	}'
      return do_ams_post(endpoint, path, body, access_tokenf create_asset_delivery_policy(access_token, ams_account, key_delivery_url):
      '''Create Media Service Asset Delivery Policy.
  
      Args:
          access_token (str): A valid Azure authentication token.
          ams_account (str): Media Service Account.
  
      Returns:
          HTTP response. JSON body.
      '''
      path = '/AssetDeliveryPolicies'
      endpoint = ''.join([ams_rest_endpoint, path])
      body = '{ \
  		"Name":"AssetDeliveryPolicy", \
  		"AssetDeliveryProtocol":"4", \
  		"AssetDeliveryPolicyType":"3", \
  		"AssetDeliveryConfiguration":"[{ \
  			\\"Key\\":\\"2\\", \
  			\\"Value\\":\\"' + key_delivery_url + '\\"}]" \
  	}'
      return do_ams_post(endpoint, path, body, access_token)
docs: Create Media Service Asset Delivery Policy.
  
      Args:
          access_token (str): A valid Azure authentication token.
          ams_account (str): Media Service Account.
  
      Returns:
          HTTP response. JSON body.