:doc:`Lambda <../../lambda>` / Client / send_durable_execution_callback_failure

***************************************
send_durable_execution_callback_failure
***************************************



.. py:method:: Lambda.Client.send_durable_execution_callback_failure(**kwargs)

  

  Sends a failure response for a callback operation in a durable execution. Use this API when an external system cannot complete a callback operation successfully.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/SendDurableExecutionCallbackFailure>`_  


  **Request Syntax**
  ::

    response = client.send_durable_execution_callback_failure(
        CallbackId='string',
        Error={
            'ErrorMessage': 'string',
            'ErrorType': 'string',
            'ErrorData': 'string',
            'StackTrace': [
                'string',
            ]
        }
    )
    
  :type CallbackId: string
  :param CallbackId: **[REQUIRED]** 

    The unique identifier for the callback operation.

    

  
  :type Error: dict
  :param Error: 

    Error details describing why the callback operation failed.

    

  
    - **ErrorMessage** *(string) --* 

      A human-readable error message.

      

    
    - **ErrorType** *(string) --* 

      The error type.

      

    
    - **ErrorData** *(string) --* 

      Machine-readable error data.

      

    
    - **StackTrace** *(list) --* 

      Stack trace information for the error.

      

    
      - *(string) --* 

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`Lambda.Client.exceptions.InvalidParameterValueException`

  
  *   :py:class:`Lambda.Client.exceptions.TooManyRequestsException`

  
  *   :py:class:`Lambda.Client.exceptions.ServiceException`

  
  *   :py:class:`Lambda.Client.exceptions.CallbackTimeoutException`

  