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.

PutApprovalResultInput

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

type PutApprovalResultInput struct { ActionName *string `locationName:"actionName" min:"1" type:"string" required:"true"` PipelineName *string `locationName:"pipelineName" min:"1" type:"string" required:"true"` Result *ApprovalResult `locationName:"result" type:"structure" required:"true"` StageName *string `locationName:"stageName" min:"1" type:"string" required:"true"` Token *string `locationName:"token" type:"string" required:"true"` }

Represents the input of a PutApprovalResult action.

ActionName

Type: *string

The name of the action for which approval is requested.

ActionName is a required field

PipelineName

Type: *string

The name of the pipeline that contains the action.

PipelineName is a required field

Result

Represents information about the result of an approval request.

StageName

Type: *string

The name of the stage that contains the action.

StageName is a required field

Token

Type: *string

The system-generated token used to identify a unique approval request. The token for each open approval request can be obtained using the GetPipelineState action and is used to validate that the approval request corresponding to this token is still valid.

Token is a required field

Method

GoString

func (s PutApprovalResultInput) GoString() string

GoString returns the string representation

SetActionName

func (s *PutApprovalResultInput) SetActionName(v string) *PutApprovalResultInput

SetActionName sets the ActionName field's value.

SetPipelineName

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

SetPipelineName sets the PipelineName field's value.

SetResult

func (s *PutApprovalResultInput) SetResult(v *ApprovalResult) *PutApprovalResultInput

SetResult sets the Result field's value.

SetStageName

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

SetStageName sets the StageName field's value.

SetToken

func (s *PutApprovalResultInput) SetToken(v string) *PutApprovalResultInput

SetToken sets the Token field's value.

String

func (s PutApprovalResultInput) String() string

String returns the string representation

Validate

func (s *PutApprovalResultInput) Validate() error

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

On this page: