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.

PutFileOutput

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

type PutFileOutput struct { BlobId *string `locationName:"blobId" type:"string" required:"true"` CommitId *string `locationName:"commitId" type:"string" required:"true"` TreeId *string `locationName:"treeId" type:"string" required:"true"` }

BlobId

Type: *string

The ID of the blob, which is its SHA-1 pointer.

BlobId is a required field

CommitId

Type: *string

The full SHA of the commit that contains this file change.

CommitId is a required field

TreeId

Type: *string

The full SHA-1 pointer of the tree information for the commit that contains this file change.

TreeId is a required field

Method

GoString

func (s PutFileOutput) GoString() string

GoString returns the string representation

SetBlobId

func (s *PutFileOutput) SetBlobId(v string) *PutFileOutput

SetBlobId sets the BlobId field's value.

SetCommitId

func (s *PutFileOutput) SetCommitId(v string) *PutFileOutput

SetCommitId sets the CommitId field's value.

SetTreeId

func (s *PutFileOutput) SetTreeId(v string) *PutFileOutput

SetTreeId sets the TreeId field's value.

String

func (s PutFileOutput) String() string

String returns the string representation

On this page: