CodePipeline / Client / put_action_revision
put_action_revision#
- CodePipeline.Client.put_action_revision(**kwargs)#
Provides information to CodePipeline about new revisions to a source.
See also: AWS API Documentation
Request Syntax
response = client.put_action_revision( pipelineName='string', stageName='string', actionName='string', actionRevision={ 'revisionId': 'string', 'revisionChangeId': 'string', 'created': datetime(2015, 1, 1) } )
- Parameters:
pipelineName (string) –
[REQUIRED]
The name of the pipeline that starts processing the revision to the source.
stageName (string) –
[REQUIRED]
The name of the stage that contains the action that acts on the revision.
actionName (string) –
[REQUIRED]
The name of the action that processes the revision.
actionRevision (dict) –
[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.
- Return type:
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