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.
revisionId
revisionUrl
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);
GetPipelineStateCommandInput for command's input shape.
input
GetPipelineStateCommandOutput for command's response shape.
response
config for CodePipelineClient's config shape.
config
Returns information about the state of a pipeline, including the stages and actions.
Values returned in the
revisionId
andrevisionUrl
fields indicate the source revision information, such as the commit ID, for the current state.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);
GetPipelineStateCommandInput for command's
input
shape.GetPipelineStateCommandOutput for command's
response
shape.config for CodePipelineClient's
config
shape.