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.

CurrentRevision

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

type CurrentRevision struct { ChangeIdentifier *string `locationName:"changeIdentifier" min:"1" type:"string" required:"true"` Created *time.Time `locationName:"created" type:"timestamp"` Revision *string `locationName:"revision" min:"1" type:"string" required:"true"` RevisionSummary *string `locationName:"revisionSummary" min:"1" type:"string"` }

Represents information about a current revision.

ChangeIdentifier

Type: *string

The change identifier for the current revision.

ChangeIdentifier is a required field

Created

Type: *time.Time

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

Revision

Type: *string

The revision ID of the current version of an artifact.

Revision is a required field

RevisionSummary

Type: *string

The summary of the most recent revision of the artifact.

Method

GoString

func (s CurrentRevision) GoString() string

GoString returns the string representation

SetChangeIdentifier

func (s *CurrentRevision) SetChangeIdentifier(v string) *CurrentRevision

SetChangeIdentifier sets the ChangeIdentifier field's value.

SetCreated

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

SetCreated sets the Created field's value.

SetRevision

func (s *CurrentRevision) SetRevision(v string) *CurrentRevision

SetRevision sets the Revision field's value.

SetRevisionSummary

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

SetRevisionSummary sets the RevisionSummary field's value.

String

func (s CurrentRevision) String() string

String returns the string representation

Validate

func (s *CurrentRevision) Validate() error

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

On this page: