Stops the specified pipeline execution. You choose to either stop the pipeline
execution by completing in-progress actions without starting subsequent actions, or by
abandoning in-progress actions. While completing or abandoning in-progress actions, the
pipeline execution is in a Stopping state. After all in-progress actions
are completed or abandoned, the pipeline execution is in a Stopped
state.
example
Use a bare-bones client and the command you need to make an API call.
Stops the specified pipeline execution. You choose to either stop the pipeline execution by completing in-progress actions without starting subsequent actions, or by abandoning in-progress actions. While completing or abandoning in-progress actions, the pipeline execution is in a
Stopping
state. After all in-progress actions are completed or abandoned, the pipeline execution is in aStopped
state.Use a bare-bones client and the command you need to make an API call.
import { CodePipelineClient, StopPipelineExecutionCommand } from "@aws-sdk/client-codepipeline"; // ES Modules import // const { CodePipelineClient, StopPipelineExecutionCommand } = require("@aws-sdk/client-codepipeline"); // CommonJS import const client = new CodePipelineClient(config); const command = new StopPipelineExecutionCommand(input); const response = await client.send(command);
StopPipelineExecutionCommandInput for command's
input
shape.StopPipelineExecutionCommandOutput for command's
response
shape.config for CodePipelineClient's
config
shape.