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.

ArtifactRevision

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

type ArtifactRevision struct { Created *time.Time `locationName:"created" type:"timestamp"` Name *string `locationName:"name" min:"1" type:"string"` RevisionChangeIdentifier *string `locationName:"revisionChangeIdentifier" min:"1" type:"string"` RevisionId *string `locationName:"revisionId" min:"1" type:"string"` RevisionSummary *string `locationName:"revisionSummary" min:"1" type:"string"` RevisionUrl *string `locationName:"revisionUrl" min:"1" type:"string"` }

Represents revision details of an artifact.

Created

Type: *time.Time

The date and time when the most recent revision of the artifact was created, in timestamp format.

Name

Type: *string

The name of an artifact. This name might be system-generated, such as "MyApp", or might be defined by the user when an action is created.

RevisionChangeIdentifier

Type: *string

An additional identifier for a revision, such as a commit date or, for artifacts stored in Amazon S3 buckets, the ETag value.

RevisionId

Type: *string

The revision ID 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 ArtifactRevision) GoString() string

GoString returns the string representation

SetCreated

func (s *ArtifactRevision) SetCreated(v time.Time) *ArtifactRevision

SetCreated sets the Created field's value.

SetName

func (s *ArtifactRevision) SetName(v string) *ArtifactRevision

SetName sets the Name field's value.

SetRevisionChangeIdentifier

func (s *ArtifactRevision) SetRevisionChangeIdentifier(v string) *ArtifactRevision

SetRevisionChangeIdentifier sets the RevisionChangeIdentifier field's value.

SetRevisionId

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

SetRevisionId sets the RevisionId field's value.

SetRevisionSummary

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

SetRevisionSummary sets the RevisionSummary field's value.

SetRevisionUrl

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

SetRevisionUrl sets the RevisionUrl field's value.

String

func (s ArtifactRevision) String() string

String returns the string representation

On this page: