register_batch_job#

register_batch_job(job_definition: dict) str[source]#

Register job definition to AWS Batch.

If a definition for the given job definition name already exists, and the contents of the definition are not changed, then the method will return the existing job definition ARN rather than creating a new revision.

Parameters:

job_definition – Batch job definition.

Returns:

Job definition ARN.