def scale_streaming_endpoint(access_token, streaming_endpoint_id, scale_units):
path = '<STR_LIT>'<EOL>full_path = '<STR_LIT>'.join([path, "<STR_LIT>", streaming_endpoint_id, "<STR_LIT>", "<STR_LIT>"])<EOL>full_path_encoded = urllib.parse.quote(full_path, safe='<STR_LIT>')<EOL>endpoint = '<STR_LIT>'.join([ams_rest_endpoint, full_path_encoded])<EOL>body = '<STR_LIT>' + str(scale_units) + '<STR_LIT>'<EOL>return do_ams_post(endpoint, full_path_encoded, body, access_token)<EOL>
Scale Media Service Streaming Endpoint.

    Args:
        access_token (str): A valid Azure authentication token.
        streaming_endpoint_id (str): A Media Service Streaming Endpoint ID.
        scale_units (str): A Media Service Scale Units Number.

    Returns:
        HTTP response. JSON body.