:doc:`CloudWatchEvidently <../../evidently>` / Client / start_experiment

****************
start_experiment
****************



.. py:method:: CloudWatchEvidently.Client.start_experiment(**kwargs)

  

  Starts an existing experiment. To create an experiment, use `CreateExperiment <https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_CreateExperiment.html>`__.

  

  .. danger::

        This operation is deprecated and may not function as expected. This operation should not be used going forward and is only kept for the purpose of backwards compatiblity.


  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/StartExperiment>`_  


  **Request Syntax**
  ::

    response = client.start_experiment(
        analysisCompleteTime=datetime(2015, 1, 1),
        experiment='string',
        project='string'
    )
    
  :type analysisCompleteTime: datetime
  :param analysisCompleteTime: **[REQUIRED]** 

    The date and time to end the experiment. This must be no more than 30 days after the experiment starts.

    

  
  :type experiment: string
  :param experiment: **[REQUIRED]** 

    The name of the experiment to start.

    

  
  :type project: string
  :param project: **[REQUIRED]** 

    The name or ARN of the project that contains the experiment to start.

    

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

    
    ::

      {
          'startedTime': datetime(2015, 1, 1)
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **startedTime** *(datetime) --* 

        A timestamp that indicates when the experiment started.

        
  
  **Exceptions**
  
  *   :py:class:`CloudWatchEvidently.Client.exceptions.ThrottlingException`

  
  *   :py:class:`CloudWatchEvidently.Client.exceptions.ValidationException`

  
  *   :py:class:`CloudWatchEvidently.Client.exceptions.ConflictException`

  
  *   :py:class:`CloudWatchEvidently.Client.exceptions.ServiceQuotaExceededException`

  
  *   :py:class:`CloudWatchEvidently.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`CloudWatchEvidently.Client.exceptions.AccessDeniedException`

  