Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GetPipelineStateCommand

Returns information about the state of a pipeline, including the stages and actions.

Values returned in the revisionId and revisionUrl fields indicate the source revision information, such as the commit ID, for the current state.

example

Use a bare-bones client and the command you need to make an API call.

import { CodePipelineClient, GetPipelineStateCommand } from "@aws-sdk/client-codepipeline"; // ES Modules import
// const { CodePipelineClient, GetPipelineStateCommand } = require("@aws-sdk/client-codepipeline"); // CommonJS import
const client = new CodePipelineClient(config);
const command = new GetPipelineStateCommand(input);
const response = await client.send(command);
see

GetPipelineStateCommandInput for command's input shape.

see

GetPipelineStateCommandOutput for command's response shape.

see

config for CodePipelineClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: GetPipelineStateCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions