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.

SourceRevision

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

type SourceRevision struct { ActionName *string `locationName:"actionName" min:"1" type:"string" required:"true"` RevisionId *string `locationName:"revisionId" min:"1" type:"string"` RevisionSummary *string `locationName:"revisionSummary" min:"1" type:"string"` RevisionUrl *string `locationName:"revisionUrl" min:"1" type:"string"` }

Information about the version (or revision) of a source artifact that initiated a pipeline execution.

ActionName

Type: *string

The name of the action that processed the revision to the source artifact.

ActionName is a required field

RevisionId

Type: *string

The system-generated unique ID that identifies the revision number of the artifact.

RevisionSummary

Type: *string

Summary information about the most recent revision of the artifact. For GitHub and AWS CodeCommit repositories, the commit message. For Amazon S3 buckets or actions, the user-provided content of a codepipeline-artifact-revision-summary key specified in the object metadata.

RevisionUrl

Type: *string

The commit ID for the artifact revision. For artifacts stored in GitHub or AWS CodeCommit repositories, the commit ID is linked to a commit details page.

Method

GoString

func (s SourceRevision) GoString() string

GoString returns the string representation

SetActionName

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

SetActionName sets the ActionName field's value.

SetRevisionId

func (s *SourceRevision) SetRevisionId(v string) *SourceRevision

SetRevisionId sets the RevisionId field's value.

SetRevisionSummary

func (s *SourceRevision) SetRevisionSummary(v string) *SourceRevision

SetRevisionSummary sets the RevisionSummary field's value.

SetRevisionUrl

func (s *SourceRevision) SetRevisionUrl(v string) *SourceRevision

SetRevisionUrl sets the RevisionUrl field's value.

String

func (s SourceRevision) String() string

String returns the string representation

On this page: