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.

CreateCommitOutput

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

type CreateCommitOutput struct { CommitId *string `locationName:"commitId" type:"string"` FilesAdded []*FileMetadata `locationName:"filesAdded" type:"list"` FilesDeleted []*FileMetadata `locationName:"filesDeleted" type:"list"` FilesUpdated []*FileMetadata `locationName:"filesUpdated" type:"list"` TreeId *string `locationName:"treeId" type:"string"` }

CommitId

Type: *string

The full commit ID of the commit that contains your committed file changes.

FilesAdded

A file that will be added, updated, or deleted as part of a commit.

FilesDeleted

A file that will be added, updated, or deleted as part of a commit.

FilesUpdated

A file that will be added, updated, or deleted as part of a commit.

TreeId

Type: *string

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

Method

GoString

func (s CreateCommitOutput) GoString() string

GoString returns the string representation

SetCommitId

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

SetCommitId sets the CommitId field's value.

SetFilesAdded

func (s *CreateCommitOutput) SetFilesAdded(v []*FileMetadata) *CreateCommitOutput

SetFilesAdded sets the FilesAdded field's value.

SetFilesDeleted

func (s *CreateCommitOutput) SetFilesDeleted(v []*FileMetadata) *CreateCommitOutput

SetFilesDeleted sets the FilesDeleted field's value.

SetFilesUpdated

func (s *CreateCommitOutput) SetFilesUpdated(v []*FileMetadata) *CreateCommitOutput

SetFilesUpdated sets the FilesUpdated field's value.

SetTreeId

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

SetTreeId sets the TreeId field's value.

String

func (s CreateCommitOutput) String() string

String returns the string representation

On this page: