Options
All
  • Public
  • Public/Protected
  • All
Menu

Class StopPipelineExecutionCommand

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.

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);
see

StopPipelineExecutionCommandInput for command's input shape.

see

StopPipelineExecutionCommandOutput for command's response shape.

see

config for CodePipelineClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: StopPipelineExecutionCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions