AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

DisableStageTransitionInput

import "github.com/aws/aws-sdk-go/service/codepipeline"

type DisableStageTransitionInput struct { PipelineName *string `locationName:"pipelineName" min:"1" type:"string" required:"true"` Reason *string `locationName:"reason" min:"1" type:"string" required:"true"` StageName *string `locationName:"stageName" min:"1" type:"string" required:"true"` TransitionType *string `locationName:"transitionType" type:"string" required:"true" enum:"StageTransitionType"` }

Represents the input of a DisableStageTransition action.

PipelineName

Type: *string

The name of the pipeline in which you want to disable the flow of artifacts from one stage to another.

PipelineName is a required field

Reason

Type: *string

The reason given to the user why a stage is disabled, such as waiting for manual approval or manual tests. This message is displayed in the pipeline console UI.

Reason is a required field

StageName

Type: *string

The name of the stage where you want to disable the inbound or outbound transition of artifacts.

StageName is a required field

TransitionType

Type: *string

Specifies whether artifacts will be prevented from transitioning into the stage and being processed by the actions in that stage (inbound), or prevented from transitioning from the stage after they have been processed by the actions in that stage (outbound).

TransitionType is a required field

Method

GoString

func (s DisableStageTransitionInput) GoString() string

GoString returns the string representation

SetPipelineName

func (s *DisableStageTransitionInput) SetPipelineName(v string) *DisableStageTransitionInput

SetPipelineName sets the PipelineName field's value.

SetReason

func (s *DisableStageTransitionInput) SetReason(v string) *DisableStageTransitionInput

SetReason sets the Reason field's value.

SetStageName

func (s *DisableStageTransitionInput) SetStageName(v string) *DisableStageTransitionInput

SetStageName sets the StageName field's value.

SetTransitionType

func (s *DisableStageTransitionInput) SetTransitionType(v string) *DisableStageTransitionInput

SetTransitionType sets the TransitionType field's value.

String

func (s DisableStageTransitionInput) String() string

String returns the string representation

Validate

func (s *DisableStageTransitionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: