:doc:`Batch <../../batch>` / Client / deregister_job_definition

*************************
deregister_job_definition
*************************



.. py:method:: Batch.Client.deregister_job_definition(**kwargs)

  

  Deregisters an Batch job definition. Job definitions are permanently deleted after 180 days.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DeregisterJobDefinition>`_  


  **Request Syntax**
  ::

    response = client.deregister_job_definition(
        jobDefinition='string'
    )
    
  :type jobDefinition: string
  :param jobDefinition: **[REQUIRED]** 

    The name and revision ( ``name:revision``) or full Amazon Resource Name (ARN) of the job definition to deregister.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`Batch.Client.exceptions.ClientException`

  
  *   :py:class:`Batch.Client.exceptions.ServerException`

  

  **Examples**

  This example deregisters a job definition called sleep10.
  ::

    response = client.deregister_job_definition(
        jobDefinition='sleep10',
    )
    
    print(response)

  
  Expected Output:
  ::

    {
        'ResponseMetadata': {
            '...': '...',
        },
    }

  