def create_streaming_endpoint(access_token, name, description="<STR_LIT>",scale_units="<STR_LIT:1>"):
path = '<STR_LIT>'<EOL>endpoint = '<STR_LIT>'.join([ams_rest_endpoint, path])<EOL>body = '<STR_LIT>' + name + '<STR_LIT>' + description + '<STR_LIT>' + scale_units + '", \ rossSiteAccessPolicies":{ \ ClientAccessPolicy":"<access-policy><cross-domain-access><policy><allow-from http-request-headers=\\"*\\"><domain uri=\\"http://*\\" /></allow-from><grant-to><resource path=\\"/\\" include-subpaths=\\"false\\" /></grant-to></policy></cross-domain-access></access-policy>", \ CrossDomainPolicy":"<?xml version=\\"1.0\\"?><!DOCTYPE cross-domain-policy SYSTEM \\"http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd\\"><cross-domain-policy><allow-access-from domain=\\"*\\" /></cross-domain-policy>" \ \return do_ams_post(endpoint, path, body, access_token)<EOL>
Create Media Service Streaming Endpoint.

    Args:
        access_token (str): A valid Azure authentication token.
        name (str): A Media Service Streaming Endpoint Name.
        description (str): A Media Service Streaming Endpoint Description.
        scale_units (str): A Media Service Scale Units Number.

    Returns:
        HTTP response. JSON body.