code: def create_sas_locator(access_token, asset_id, accesspolicy_id):
      '''Create Media Service SAS Locator.
  
      Args:
          access_token (str): A valid Azure authentication token.
          asset_id (str): Media Service Asset ID.
          accesspolicy_id (str): Media Service Access Policy ID.
  
      Returns:
          HTTP response. JSON body.
      '''
      path = '/Locators'
      endpoint = ''.join([ams_rest_endpoint, path])
      body = '{ \
  		"AccessPolicyId":"' + accesspolicy_id + '", \
  		"AssetId":"' + asset_id + '", \
  		"Type":1 \
  	}'
      return do_ams_post(endpoint, path, body, access_tokenf create_sas_locator(access_token, asset_id, accesspolicy_id):
      '''Create Media Service SAS Locator.
  
      Args:
          access_token (str): A valid Azure authentication token.
          asset_id (str): Media Service Asset ID.
          accesspolicy_id (str): Media Service Access Policy ID.
  
      Returns:
          HTTP response. JSON body.
      '''
      path = '/Locators'
      endpoint = ''.join([ams_rest_endpoint, path])
      body = '{ \
  		"AccessPolicyId":"' + accesspolicy_id + '", \
  		"AssetId":"' + asset_id + '", \
  		"Type":1 \
  	}'
      return do_ams_post(endpoint, path, body, access_token)
docs: Create Media Service SAS Locator.
  
      Args:
          access_token (str): A valid Azure authentication token.
          asset_id (str): Media Service Asset ID.
          accesspolicy_id (str): Media Service Access Policy ID.
  
      Returns:
          HTTP response. JSON body.