def __init__(self, routing_list, lambda_runner, static_dir=None, port=None, host=None, stderr=None):
super(LocalApigwService, self).__init__(lambda_runner.is_debugging(), port=port, host=host)<EOL>self.routing_list = routing_list<EOL>self.lambda_runner = lambda_runner<EOL>self.static_dir = static_dir<EOL>self._dict_of_routes = {}<EOL>self.stderr = stderr<EOL>
Creates an ApiGatewayService

Parameters
----------
routing_list list(ApiGatewayCallModel)
    A list of the Model that represent the service paths to create.
lambda_runner samcli.commands.local.lib.local_lambda.LocalLambdaRunner
    The Lambda runner class capable of invoking the function
static_dir str
    Directory from which to serve static files
port int
    Optional. port for the service to start listening on
    Defaults to 3000
host str
    Optional. host to start the service on
    Defaults to '127.0.0.1
stderr samcli.lib.utils.stream_writer.StreamWriter
    Optional stream writer where the stderr from Docker container should be written to