:doc:`SageMaker <../../sagemaker>` / Client / send_pipeline_execution_step_failure

************************************
send_pipeline_execution_step_failure
************************************



.. py:method:: SageMaker.Client.send_pipeline_execution_step_failure(**kwargs)

  

  Notifies the pipeline that the execution of a callback step failed, along with a message describing why. When a callback step is run, the pipeline generates a callback token and includes the token in a message sent to Amazon Simple Queue Service (Amazon SQS).

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/SendPipelineExecutionStepFailure>`_  


  **Request Syntax**
  ::

    response = client.send_pipeline_execution_step_failure(
        CallbackToken='string',
        FailureReason='string',
        ClientRequestToken='string'
    )
    
  :type CallbackToken: string
  :param CallbackToken: **[REQUIRED]** 

    The pipeline generated token from the Amazon SQS queue.

    

  
  :type FailureReason: string
  :param FailureReason: 

    A message describing why the step failed.

    

  
  :type ClientRequestToken: string
  :param ClientRequestToken: 

    A unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An idempotent operation completes no more than one time.

    This field is autopopulated if not provided.

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

    
    ::

      {
          'PipelineExecutionArn': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **PipelineExecutionArn** *(string) --* 

        The Amazon Resource Name (ARN) of the pipeline execution.

        
  
  **Exceptions**
  
  *   :py:class:`SageMaker.Client.exceptions.ConflictException`

  
  *   :py:class:`SageMaker.Client.exceptions.ResourceNotFound`

  
  *   :py:class:`SageMaker.Client.exceptions.ResourceLimitExceeded`

  