def StartModel()

in lab2/inference_client/edge_agent_pb2_grpc.py [0:0]


    def StartModel(self, request, context):
        """
        Starts a model running on an AWS IoT Greengrass Version 2 core device.
        It might take a while for the model to start running. To check the current
        status call DescribeModel. The model is running if the Status field is RUNNING.
        The number of models that you can run concurrently depends on the
        hardware specification of your core device.

        Status Codes:
        0. OK - The model is starting.
        2. UNKNOWN - An unknown error has occurred.
        3. INVALID_ARGUMENT - One or more input parameters is invalid.
        Check the error message for more details.
        5. NOT_FOUND - A model with the supplied name wasn't found.
        8. RESOURCE_EXHAUSTED - There isn't enough resources to perform this operation.
        For example, there is isn't enough memory to load the model.
        Check the error message for more details.
        9. FAILED_PRECONDITION - The method was called for model that is not
        in the STOPPED or FAILED state.
        13. INTERNAL - An internal error has occurred.

        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')