crew_launcher_aws_batch_terminate: Terminate an AWS Batch job.

View source: R/crew_launcher_aws_batch.R

crew_launcher_aws_batch_terminateR Documentation

Terminate an AWS Batch job.

Description

Not a user-side function. For internal use only.

Usage

crew_launcher_aws_batch_terminate(args_client, job_id)

Arguments

args_client

Named list of arguments to paws.compute::batch().

job_id

Character of length 1, ID of the AWS Batch job to terminate.

Details

This utility is its own separate exported function specific to the launcher and not shared with the job definition or monitor classes. It generates the paws.compute::batch() client within itself instead of a method inside the class. This is all because it needs to run on a separate local worker process and it needs to accept exportable arguments.

Value

HTTP response from submitting the job.


crew.aws.batch documentation built on June 9, 2025, 5:09 p.m.