:doc:`Comprehend <../../comprehend>` / Client / stop_pii_entities_detection_job

*******************************
stop_pii_entities_detection_job
*******************************



.. py:method:: Comprehend.Client.stop_pii_entities_detection_job(**kwargs)

  

  Stops a PII entities detection job in progress.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StopPiiEntitiesDetectionJob>`_  


  **Request Syntax**
  ::

    response = client.stop_pii_entities_detection_job(
        JobId='string'
    )
    
  :type JobId: string
  :param JobId: **[REQUIRED]** 

    The identifier of the PII entities detection job to stop.

    

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

    
    ::

      {
          'JobId': 'string',
          'JobStatus': 'SUBMITTED'|'IN_PROGRESS'|'COMPLETED'|'FAILED'|'STOP_REQUESTED'|'STOPPED'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **JobId** *(string) --* 

        The identifier of the PII entities detection job to stop.

        
      

      - **JobStatus** *(string) --* 

        The status of the PII entities detection job.

        
  
  **Exceptions**
  
  *   :py:class:`Comprehend.Client.exceptions.InvalidRequestException`

  
  *   :py:class:`Comprehend.Client.exceptions.JobNotFoundException`

  
  *   :py:class:`Comprehend.Client.exceptions.InternalServerException`

  