Thanks to visit codestin.com
Credit goes to docs.aws.amazon.com

putJobFailureResult

Represents the failure of a job as returned to the pipeline by a job worker. Used for custom actions only.