private function stopExecution(string $jobId, string $executionArn): void
    {
        try {
            $this->sfnClient->stopExecution([
                'executionArn' => $executionArn,
                'cause'        => 'canceled',
            ]);
        } catch (\Throwable $t) {
            $this->logger->error(
                'Failed to stopExecution of [{execution_arn}] for [{job_id}].',
                [
                    'exception'     => $t,
                    'execution_arn' => $executionArn,
                    'job_id'        => $jobId,
                ]
            );
        }
    }
private function stopExecution(string $jobId, string $executionArn): void
    {
        try {
            $this->sfnClient->stopExecution([
                'executionArn' => $executionArn,
                'cause'        => 'canceled',
            ]);
        } catch (\Throwable $t) {
            $this->logger->error(
                'Failed to stopExecution of [{execution_arn}] for [{job_id}].',
                [
                    'exception'     => $t,
                    'execution_arn' => $executionArn,
                    'job_id'        => $jobId,
                ]
            );
        }
    }
private function stopExecution ( string $ jobId , string $ executionArn ) : void { try { $ this -> sfnClient -> stopExecution ( [ 'executionArn' => $ executionArn , 'cause' => 'canceled' , ] ) ; } catch ( \ Throwable $ t ) { $ this -> logger -> error ( 'Failed to stopExecution of [{execution_arn}] for [{job_id}].' , [ 'exception' => $ t , 'execution_arn' => $ executionArn , 'job_id' => $ jobId , ] ) ; } }
I know you hurtin' and worryin', I can feel it on you,
but you oughta quit on it now. Because I want it over
and done. I do. I'm tired, boss.

@param string $jobId
@param string $executionArn
I know you hurtin and worryin I can feel it on you but you oughta quit on it now . Because I want it over and done . I do . I m tired boss .