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.

GetFolderInput

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

type GetFolderInput struct { CommitSpecifier *string `locationName:"commitSpecifier" type:"string"` FolderPath *string `locationName:"folderPath" type:"string" required:"true"` RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"` }

CommitSpecifier

Type: *string

A fully-qualified reference used to identify a commit that contains the version of the folder's content to return. A fully-qualified reference can be a commit ID, branch name, tag, or reference such as HEAD. If no specifier is provided, the folder content will be returned as it exists in the HEAD commit.

FolderPath

Type: *string

The fully-qualified path to the folder whose contents will be returned, including the folder name. For example, /examples is a fully-qualified path to a folder named examples that was created off of the root directory (/) of a repository.

FolderPath is a required field

RepositoryName

Type: *string

The name of the repository.

RepositoryName is a required field

Method

GoString

func (s GetFolderInput) GoString() string

GoString returns the string representation

SetCommitSpecifier

func (s *GetFolderInput) SetCommitSpecifier(v string) *GetFolderInput

SetCommitSpecifier sets the CommitSpecifier field's value.

SetFolderPath

func (s *GetFolderInput) SetFolderPath(v string) *GetFolderInput

SetFolderPath sets the FolderPath field's value.

SetRepositoryName

func (s *GetFolderInput) SetRepositoryName(v string) *GetFolderInput

SetRepositoryName sets the RepositoryName field's value.

String

func (s GetFolderInput) String() string

String returns the string representation

Validate

func (s *GetFolderInput) Validate() error

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

On this page: