:doc:`LakeFormation <../../lakeformation>` / Client / extend_transaction

******************
extend_transaction
******************



.. py:method:: LakeFormation.Client.extend_transaction(**kwargs)

  

  Indicates to the service that the specified transaction is still active and should not be treated as idle and aborted.

   

  Write transactions that remain idle for a long period are automatically aborted unless explicitly extended.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/ExtendTransaction>`_  


  **Request Syntax**
  ::

    response = client.extend_transaction(
        TransactionId='string'
    )
    
  :type TransactionId: string
  :param TransactionId: 

    The transaction to extend.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`LakeFormation.Client.exceptions.InvalidInputException`

  
  *   :py:class:`LakeFormation.Client.exceptions.EntityNotFoundException`

  
  *   :py:class:`LakeFormation.Client.exceptions.InternalServiceException`

  
  *   :py:class:`LakeFormation.Client.exceptions.OperationTimeoutException`

  
  *   :py:class:`LakeFormation.Client.exceptions.TransactionCommittedException`

  
  *   :py:class:`LakeFormation.Client.exceptions.TransactionCanceledException`

  
  *   :py:class:`LakeFormation.Client.exceptions.TransactionCommitInProgressException`

  