Send message that the job step is complete using payload data.
        Raises ValueError if used for StoreJobOutputPayload message type.
        :param job_request_payload: StageJobPayload|RunJobPayload payload from complete job

def job_step_complete(self, job_request_payload):
        """
        Send message that the job step is complete using payload data.
        Raises ValueError if used for StoreJobOutputPayload message type.
        :param job_request_payload: StageJobPayload|RunJobPayload payload from complete job
        """
        if job_request_payload.success_command == JobCommands.STORE_JOB_OUTPUT_COMPLETE:
            raise ValueError("Programmer error use use job_step_store_output_complete instead.")
        payload = JobStepCompletePayload(job_request_payload)
        self.send(job_request_payload.success_command, payload)