AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the StartPipelineExecution operation. Starts the specified pipeline. Specifically, it begins processing the latest commit to the source location specified as part of the pipeline.
Namespace: Amazon.CodePipeline.Model
Assembly: AWSSDK.CodePipeline.dll
Version: 3.x.y.z
public class StartPipelineExecutionRequest : AmazonCodePipelineRequest IAmazonWebServiceRequest
The StartPipelineExecutionRequest type exposes the following members
Name | Description | |
---|---|---|
StartPipelineExecutionRequest() |
Name | Type | Description | |
---|---|---|---|
ClientRequestToken | System.String |
Gets and sets the property ClientRequestToken. The system-generated unique ID used to identify a unique execution request. |
|
Name | System.String |
Gets and sets the property Name. The name of the pipeline to start. |
|
SourceRevisions | System.Collections.Generic.List<Amazon.CodePipeline.Model.SourceRevisionOverride> |
Gets and sets the property SourceRevisions. A list that allows you to specify, or override, the source revision for a pipeline execution that's being started. A source revision is the version with all the changes to your application code, or source artifact, for the pipeline execution. |
|
Variables | System.Collections.Generic.List<Amazon.CodePipeline.Model.PipelineVariable> |
Gets and sets the property Variables.
A list that overrides pipeline variables for a pipeline execution that's being started.
Variable names must match |
This example runs the latest revision present in the source stage of a pipeline through the pipeline named "MyFirstPipeline".
var client = new AmazonCodePipelineClient(); var response = client.StartPipelineExecution(new StartPipelineExecutionRequest { Name = "MyFirstPipeline" }); string pipelineExecutionId = response.PipelineExecutionId;
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5