CodePipeline.Client.
put_action_revision
(**kwargs)¶Provides information to AWS 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)
}
)
[REQUIRED]
The name of the pipeline that starts processing the revision to the source.
[REQUIRED]
The name of the stage that contains the action that acts on the revision.
[REQUIRED]
The name of the action that processes the revision.
[REQUIRED]
Represents information about the version (or revision) of an action.
The system-generated unique ID that identifies the revision number of the action.
The unique identifier of the change that set the state to this revision (for example, a deployment ID or timestamp).
The date and time when the most recent version of the action was created, in timestamp format.
dict
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
CodePipeline.Client.exceptions.PipelineNotFoundException
CodePipeline.Client.exceptions.StageNotFoundException
CodePipeline.Client.exceptions.ActionNotFoundException
CodePipeline.Client.exceptions.ValidationException