:doc:`DataPipeline <../../datapipeline>` / Client / activate_pipeline

*****************
activate_pipeline
*****************



.. py:method:: DataPipeline.Client.activate_pipeline(**kwargs)

  

  Validates the specified pipeline and starts processing pipeline tasks. If the pipeline does not pass validation, activation fails.

   

  If you need to pause the pipeline to investigate an issue with a component, such as a data source or script, call  DeactivatePipeline.

   

  To activate a finished pipeline, modify the end date for the pipeline and then activate it.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/ActivatePipeline>`_  


  **Request Syntax**
  ::

    response = client.activate_pipeline(
        pipelineId='string',
        parameterValues=[
            {
                'id': 'string',
                'stringValue': 'string'
            },
        ],
        startTimestamp=datetime(2015, 1, 1)
    )
    
  :type pipelineId: string
  :param pipelineId: **[REQUIRED]** 

    The ID of the pipeline.

    

  
  :type parameterValues: list
  :param parameterValues: 

    A list of parameter values to pass to the pipeline at activation.

    

  
    - *(dict) --* 

      A value or list of parameter values.

      

    
      - **id** *(string) --* **[REQUIRED]** 

        The ID of the parameter value.

        

      
      - **stringValue** *(string) --* **[REQUIRED]** 

        The field value, expressed as a String.

        

      
    

  :type startTimestamp: datetime
  :param startTimestamp: 

    The date and time to resume the pipeline. By default, the pipeline resumes from the last completed execution.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 

      Contains the output of ActivatePipeline.

      
  
  **Exceptions**
  
  *   :py:class:`DataPipeline.Client.exceptions.PipelineNotFoundException`

  
  *   :py:class:`DataPipeline.Client.exceptions.PipelineDeletedException`

  
  *   :py:class:`DataPipeline.Client.exceptions.InternalServiceError`

  
  *   :py:class:`DataPipeline.Client.exceptions.InvalidRequestException`

  