:doc:`CodePipeline <../../codepipeline>` / Client / put_action_revision

*******************
put_action_revision
*******************



.. py:method:: CodePipeline.Client.put_action_revision(**kwargs)

  

  Provides information to CodePipeline about new revisions to a source.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutActionRevision>`_  


  **Request Syntax**
  ::

    response = client.put_action_revision(
        pipelineName='string',
        stageName='string',
        actionName='string',
        actionRevision={
            'revisionId': 'string',
            'revisionChangeId': 'string',
            'created': datetime(2015, 1, 1)
        }
    )
    
  :type pipelineName: string
  :param pipelineName: **[REQUIRED]** 

    The name of the pipeline that starts processing the revision to the source.

    

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

    The name of the stage that contains the action that acts on the revision.

    

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

    The name of the action that processes the revision.

    

  
  :type actionRevision: dict
  :param actionRevision: **[REQUIRED]** 

    Represents information about the version (or revision) of an action.

    

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

      The system-generated unique ID that identifies the revision number of the action.

      

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

      The unique identifier of the change that set the state to this revision (for example, a deployment ID or timestamp).

      

    
    - **created** *(datetime) --* **[REQUIRED]** 

      The date and time when the most recent version of the action was created, in timestamp format.

      

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

    
    ::

      {
          'newRevision': True|False,
          'pipelineExecutionId': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 

      Represents the output of a ``PutActionRevision`` action.

      
      

      - **newRevision** *(boolean) --* 

        Indicates whether the artifact revision was previously used in an execution of the specified pipeline.

        
      

      - **pipelineExecutionId** *(string) --* 

        The ID of the current workflow state of the pipeline.

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

  
  *   :py:class:`CodePipeline.Client.exceptions.StageNotFoundException`

  
  *   :py:class:`CodePipeline.Client.exceptions.ActionNotFoundException`

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

  
  *   :py:class:`CodePipeline.Client.exceptions.ConcurrentPipelineExecutionsLimitExceededException`

  