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.

Artifact

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

type Artifact struct { Location *ArtifactLocation `locationName:"location" type:"structure"` Name *string `locationName:"name" min:"1" type:"string"` Revision *string `locationName:"revision" min:"1" type:"string"` }

Represents information about an artifact that will be worked upon by actions in the pipeline.

Location

Represents information about the location of an artifact.

Name

Type: *string

The artifact's name.

Revision

Type: *string

The artifact's revision ID. Depending on the type of object, this could be a commit ID (GitHub) or a revision ID (Amazon S3).

Method

GoString

func (s Artifact) GoString() string

GoString returns the string representation

SetLocation

func (s *Artifact) SetLocation(v *ArtifactLocation) *Artifact

SetLocation sets the Location field's value.

SetName

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

SetName sets the Name field's value.

SetRevision

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

SetRevision sets the Revision field's value.

String

func (s Artifact) String() string

String returns the string representation

On this page: