Batch / Client / terminate_service_job
terminate_service_job¶
- Batch.Client.terminate_service_job(**kwargs)¶
Terminates a service job in a job queue.
See also: AWS API Documentation
Request Syntax
response = client.terminate_service_job( jobId='string', reason='string' )
- Parameters:
jobId (string) –
[REQUIRED]
The service job ID of the service job to terminate.
reason (string) –
[REQUIRED]
A message to attach to the service job that explains the reason for canceling it. This message is returned by
DescribeServiceJob
operations on the service job.
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions